OSDN Git Service

* gcc.c-torture/compile/20031023-4.c: Don't XFAIL on SPARC64.
[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 LIBUNWIND_FLAG 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-libunwind-exceptions
859                           force use of libunwind for exceptions
860                           [default=no]
861   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
862                           [default=$is_hosted]
863   --enable-cstdio=PACKAGE use target-specific I/O package
864                           [default=stdio]
865   --enable-clocale[=MODEL]
866                           use MODEL for target locale package
867                           [default=auto]
868   --enable-nls            use Native Language Support (default)
869   --enable-cheaders=KIND  construct "C" headers for g++
870                           [default=$c_model]
871   --enable-c-mbchar       enable multibyte (wide) characters
872                           [default=yes]
873   --enable-c99            turns on ISO/IEC 9899:1999 support
874                           [default=yes]
875   --enable-long-long      enables I/O support for 'long long'
876                           [default=yes]
877   --enable-concept-checks use Boost-derived template checks [default=no]
878   --enable-libstdcxx-debug-flags=FLAGS
879                           pass compiler FLAGS when building debug library
880                           [default="-g3 -O0"]
881   --enable-libstdcxx-debug
882                           build extra debug library [default=no]
883   --enable-cxx-flags=FLAGS
884                           pass compiler FLAGS when building library
885                           [default=]
886   --enable-symvers=STYLE  enables symbol versioning of the shared library
887                           [default=yes]
888   --enable-version-specific-runtime-libs
889                           Specify that runtime libraries should be installed
890                           in a compiler-specific directory
891
892 Optional Packages:
893   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
894   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
895   --with-target-subdir=SUBDIR
896                           configuring in a subdirectory
897   --with-cross-host=HOST  configuring with a cross compiler
898   --with-newlib           assume newlib as a system C library
899   --with-gnu-ld           assume the C compiler uses GNU ld default=no
900   --with-pic              try to use only PIC/non-PIC objects default=use both
901   --with-gxx-include-dir=DIR
902                           installation directory for include files
903
904 Some influential environment variables:
905   CC          C compiler command
906   CFLAGS      C compiler flags
907   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
908               nonstandard directory <lib dir>
909   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
910               headers in a nonstandard directory <include dir>
911   CXX         C++ compiler command
912   CXXFLAGS    C++ compiler flags
913   CXXCPP      C++ preprocessor
914   CPP         C preprocessor
915
916 Use these variables to override the choices made by `configure' or to help
917 it to find libraries and programs with nonstandard names/locations.
918
919 _ACEOF
920 fi
921
922 if test "$ac_init_help" = "recursive"; then
923   # If there are subdirs, report their specific --help.
924   ac_popdir=`pwd`
925   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926     test -d $ac_dir || continue
927     ac_builddir=.
928
929 if test "$ac_dir" != .; then
930   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931   # A "../" for each directory in $ac_dir_suffix.
932   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 else
934   ac_dir_suffix= ac_top_builddir=
935 fi
936
937 case $srcdir in
938   .)  # No --srcdir option.  We are building in place.
939     ac_srcdir=.
940     if test -z "$ac_top_builddir"; then
941        ac_top_srcdir=.
942     else
943        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
944     fi ;;
945   [\\/]* | ?:[\\/]* )  # Absolute path.
946     ac_srcdir=$srcdir$ac_dir_suffix;
947     ac_top_srcdir=$srcdir ;;
948   *) # Relative path.
949     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950     ac_top_srcdir=$ac_top_builddir$srcdir ;;
951 esac
952 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
953 # absolute.
954 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
955 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958
959     cd $ac_dir
960     # Check for guested configure; otherwise get Cygnus style configure.
961     if test -f $ac_srcdir/configure.gnu; then
962       echo
963       $SHELL $ac_srcdir/configure.gnu  --help=recursive
964     elif test -f $ac_srcdir/configure; then
965       echo
966       $SHELL $ac_srcdir/configure  --help=recursive
967     elif test -f $ac_srcdir/configure.ac ||
968            test -f $ac_srcdir/configure.in; then
969       echo
970       $ac_configure --help
971     else
972       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973     fi
974     cd $ac_popdir
975   done
976 fi
977
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
980   cat <<\_ACEOF
981 package-unused configure version-unused
982 generated by GNU Autoconf 2.57
983
984 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
985 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
988 _ACEOF
989   exit 0
990 fi
991 exec 5>config.log
992 cat >&5 <<_ACEOF
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
995
996 It was created by package-unused $as_me version-unused, which was
997 generated by GNU Autoconf 2.57.  Invocation command line was
998
999   $ $0 $@
1000
1001 _ACEOF
1002 {
1003 cat <<_ASUNAME
1004 ## --------- ##
1005 ## Platform. ##
1006 ## --------- ##
1007
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1013
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1016
1017 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1018 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1021 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1022 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1023 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1024
1025 _ASUNAME
1026
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 for as_dir in $PATH
1029 do
1030   IFS=$as_save_IFS
1031   test -z "$as_dir" && as_dir=.
1032   echo "PATH: $as_dir"
1033 done
1034
1035 } >&5
1036
1037 cat >&5 <<_ACEOF
1038
1039
1040 ## ----------- ##
1041 ## Core tests. ##
1042 ## ----------- ##
1043
1044 _ACEOF
1045
1046
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_configure_args=
1053 ac_configure_args0=
1054 ac_configure_args1=
1055 ac_sep=
1056 ac_must_keep_next=false
1057 for ac_pass in 1 2
1058 do
1059   for ac_arg
1060   do
1061     case $ac_arg in
1062     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064     | -silent | --silent | --silen | --sile | --sil)
1065       continue ;;
1066     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068     esac
1069     case $ac_pass in
1070     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071     2)
1072       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073       if test $ac_must_keep_next = true; then
1074         ac_must_keep_next=false # Got value, back to normal.
1075       else
1076         case $ac_arg in
1077           *=* | --config-cache | -C | -disable-* | --disable-* \
1078           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080           | -with-* | --with-* | -without-* | --without-* | --x)
1081             case "$ac_configure_args0 " in
1082               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083             esac
1084             ;;
1085           -* ) ac_must_keep_next=true ;;
1086         esac
1087       fi
1088       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089       # Get rid of the leading space.
1090       ac_sep=" "
1091       ;;
1092     esac
1093   done
1094 done
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log.  We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104   # Save into config.log some information that might help in debugging.
1105   {
1106     echo
1107
1108     cat <<\_ASBOX
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1112 _ASBOX
1113     echo
1114     # The following way of writing the cache mishandles newlines in values,
1115 {
1116   (set) 2>&1 |
1117     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118     *ac_space=\ *)
1119       sed -n \
1120         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122       ;;
1123     *)
1124       sed -n \
1125         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126       ;;
1127     esac;
1128 }
1129     echo
1130
1131     cat <<\_ASBOX
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1135 _ASBOX
1136     echo
1137     for ac_var in $ac_subst_vars
1138     do
1139       eval ac_val=$`echo $ac_var`
1140       echo "$ac_var='"'"'$ac_val'"'"'"
1141     done | sort
1142     echo
1143
1144     if test -n "$ac_subst_files"; then
1145       cat <<\_ASBOX
1146 ## ------------- ##
1147 ## Output files. ##
1148 ## ------------- ##
1149 _ASBOX
1150       echo
1151       for ac_var in $ac_subst_files
1152       do
1153         eval ac_val=$`echo $ac_var`
1154         echo "$ac_var='"'"'$ac_val'"'"'"
1155       done | sort
1156       echo
1157     fi
1158
1159     if test -s confdefs.h; then
1160       cat <<\_ASBOX
1161 ## ----------- ##
1162 ## confdefs.h. ##
1163 ## ----------- ##
1164 _ASBOX
1165       echo
1166       sed "/^$/d" confdefs.h | sort
1167       echo
1168     fi
1169     test "$ac_signal" != 0 &&
1170       echo "$as_me: caught signal $ac_signal"
1171     echo "$as_me: exit $exit_status"
1172   } >&5
1173   rm -f core core.* *.core &&
1174   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175     exit $exit_status
1176      ' 0
1177 for ac_signal in 1 2 13 15; do
1178   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 done
1180 ac_signal=0
1181
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 echo >confdefs.h
1186
1187 # Predefined preprocessor variables.
1188
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 _ACEOF
1192
1193
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 _ACEOF
1197
1198
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 _ACEOF
1202
1203
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 _ACEOF
1207
1208
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 _ACEOF
1212
1213
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217   if test "x$prefix" != xNONE; then
1218     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219   else
1220     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221   fi
1222 fi
1223 for ac_site_file in $CONFIG_SITE; do
1224   if test -r "$ac_site_file"; then
1225     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227     sed 's/^/| /' "$ac_site_file" >&5
1228     . "$ac_site_file"
1229   fi
1230 done
1231
1232 if test -r "$cache_file"; then
1233   # Some versions of bash will fail to source /dev/null (special
1234   # files actually), so we avoid doing that.
1235   if test -f "$cache_file"; then
1236     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1238     case $cache_file in
1239       [\\/]* | ?:[\\/]* ) . $cache_file;;
1240       *)                      . ./$cache_file;;
1241     esac
1242   fi
1243 else
1244   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1246   >$cache_file
1247 fi
1248
1249 # Check that the precious variables saved in the cache have kept the same
1250 # value.
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255   eval ac_new_set=\$ac_env_${ac_var}_set
1256   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257   eval ac_new_val="\$ac_env_${ac_var}_value"
1258   case $ac_old_set,$ac_new_set in
1259     set,)
1260       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262       ac_cache_corrupted=: ;;
1263     ,set)
1264       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266       ac_cache_corrupted=: ;;
1267     ,);;
1268     *)
1269       if test "x$ac_old_val" != "x$ac_new_val"; then
1270         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1273 echo "$as_me:   former value:  $ac_old_val" >&2;}
1274         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1275 echo "$as_me:   current value: $ac_new_val" >&2;}
1276         ac_cache_corrupted=:
1277       fi;;
1278   esac
1279   # Pass precious variables to config.status.
1280   if test "$ac_new_set" = set; then
1281     case $ac_new_val in
1282     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284     *) ac_arg=$ac_var=$ac_new_val ;;
1285     esac
1286     case " $ac_configure_args " in
1287       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1288       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289     esac
1290   fi
1291 done
1292 if $ac_cache_corrupted; then
1293   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297    { (exit 1); exit 1; }; }
1298 fi
1299
1300 ac_ext=c
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333           ac_config_headers="$ac_config_headers config.h"
1334
1335
1336 # This works around the fact that libtool configuration may change LD
1337 # for this particular configuration, but some shells, instead of
1338 # keeping the changes in LD private, export them just because LD is
1339 # exported.  Only used at the end of this file.
1340 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1341
1342 # For libtool versioning info, format is CURRENT:REVISION:AGE
1343 libtool_VERSION=6:0:0
1344
1345
1346 # Find the rest of the source tree framework.
1347
1348   # Sets up multi_basedir, which is srcdir/.. plus the usual
1349   # "multi_source_toprel_bottom_adjust" lunacy as needed.
1350   # Default to --enable-multilib
1351 # Check whether --enable-multilib or --disable-multilib was given.
1352 if test "${enable_multilib+set}" = set; then
1353   enableval="$enable_multilib"
1354   case "$enableval" in
1355   yes) multilib=yes ;;
1356   no)  multilib=no ;;
1357   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1358 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1359    { (exit 1); exit 1; }; } ;;
1360  esac
1361 else
1362   multilib=yes
1363 fi;
1364
1365 # We may get other options which we leave undocumented:
1366 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1367 # See config-ml.in if you want the gory details.
1368
1369 if test "$srcdir" = "."; then
1370   if test "$with_target_subdir" != "."; then
1371     multi_basedir="$srcdir/$with_multisrctop../.."
1372   else
1373     multi_basedir="$srcdir/$with_multisrctop.."
1374   fi
1375 else
1376   multi_basedir="$srcdir/.."
1377 fi
1378
1379
1380           ac_config_commands="$ac_config_commands default-1"
1381
1382
1383   # The generated code is exactly the same, except that automake's looks in
1384   # ".. $srcdir/.." and autoconf's looks in multi_basedir.  Apparently other
1385   # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1386   # know what they are or what the other differences might be (and they keep
1387   # changing anyhow).
1388   #
1389   # Looking in multi_basedir seems smarter, so actually execute that branch.
1390   if false; then
1391     # this is for automake
1392     ac_aux_dir=
1393 for ac_dir in .. $srcdir/..; do
1394   if test -f $ac_dir/install-sh; then
1395     ac_aux_dir=$ac_dir
1396     ac_install_sh="$ac_aux_dir/install-sh -c"
1397     break
1398   elif test -f $ac_dir/install.sh; then
1399     ac_aux_dir=$ac_dir
1400     ac_install_sh="$ac_aux_dir/install.sh -c"
1401     break
1402   elif test -f $ac_dir/shtool; then
1403     ac_aux_dir=$ac_dir
1404     ac_install_sh="$ac_aux_dir/shtool install -c"
1405     break
1406   fi
1407 done
1408 if test -z "$ac_aux_dir"; then
1409   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1410 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1411    { (exit 1); exit 1; }; }
1412 fi
1413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1415 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416
1417   else
1418     # this is for autoconf
1419     ac_aux_dir=
1420 for ac_dir in ${multi_basedir}; do
1421   if test -f $ac_dir/install-sh; then
1422     ac_aux_dir=$ac_dir
1423     ac_install_sh="$ac_aux_dir/install-sh -c"
1424     break
1425   elif test -f $ac_dir/install.sh; then
1426     ac_aux_dir=$ac_dir
1427     ac_install_sh="$ac_aux_dir/install.sh -c"
1428     break
1429   elif test -f $ac_dir/shtool; then
1430     ac_aux_dir=$ac_dir
1431     ac_install_sh="$ac_aux_dir/shtool install -c"
1432     break
1433   fi
1434 done
1435 if test -z "$ac_aux_dir"; then
1436   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1437 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1438    { (exit 1); exit 1; }; }
1439 fi
1440 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1441 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1442 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1443
1444   fi
1445
1446
1447
1448 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1449 #
1450 # You will slowly go insane if you do not grok the following fact:  when
1451 # building v3 as part of the compiler, the top-level /target/ becomes the
1452 # library's /host/.  configure then causes --target to default to --host,
1453 # exactly like any other package using autoconf.  Therefore, 'target' and
1454 # 'host' will always be the same.  This makes sense both for native and
1455 # cross compilers, just think about it for a little while.  :-)
1456 #
1457 # Also, if v3 is being configured as part of a cross compiler, the top-level
1458 # configure script will pass the "real" host as $with_cross_host.
1459 #
1460 # Do not delete or change the following two lines.  For why, see
1461 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1462 # Make sure we can run config.sub.
1463 $ac_config_sub sun4 >/dev/null 2>&1 ||
1464   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1465 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1466    { (exit 1); exit 1; }; }
1467
1468 echo "$as_me:$LINENO: checking build system type" >&5
1469 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1470 if test "${ac_cv_build+set}" = set; then
1471   echo $ECHO_N "(cached) $ECHO_C" >&6
1472 else
1473   ac_cv_build_alias=$build_alias
1474 test -z "$ac_cv_build_alias" &&
1475   ac_cv_build_alias=`$ac_config_guess`
1476 test -z "$ac_cv_build_alias" &&
1477   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1478 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1479    { (exit 1); exit 1; }; }
1480 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1481   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1482 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1483    { (exit 1); exit 1; }; }
1484
1485 fi
1486 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1487 echo "${ECHO_T}$ac_cv_build" >&6
1488 build=$ac_cv_build
1489 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1490 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1491 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1492
1493
1494 echo "$as_me:$LINENO: checking host system type" >&5
1495 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1496 if test "${ac_cv_host+set}" = set; then
1497   echo $ECHO_N "(cached) $ECHO_C" >&6
1498 else
1499   ac_cv_host_alias=$host_alias
1500 test -z "$ac_cv_host_alias" &&
1501   ac_cv_host_alias=$ac_cv_build_alias
1502 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1503   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1504 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1505    { (exit 1); exit 1; }; }
1506
1507 fi
1508 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1509 echo "${ECHO_T}$ac_cv_host" >&6
1510 host=$ac_cv_host
1511 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1512 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1513 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1514
1515
1516 echo "$as_me:$LINENO: checking target system type" >&5
1517 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1518 if test "${ac_cv_target+set}" = set; then
1519   echo $ECHO_N "(cached) $ECHO_C" >&6
1520 else
1521   ac_cv_target_alias=$target_alias
1522 test "x$ac_cv_target_alias" = "x" &&
1523   ac_cv_target_alias=$ac_cv_host_alias
1524 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1525   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1526 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1527    { (exit 1); exit 1; }; }
1528
1529 fi
1530 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1531 echo "${ECHO_T}$ac_cv_target" >&6
1532 target=$ac_cv_target
1533 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1534 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1535 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1536
1537
1538 # The aliases save the names the user supplied, while $host etc.
1539 # will get canonicalized.
1540 test -n "$target_alias" &&
1541   test "$program_prefix$program_suffix$program_transform_name" = \
1542     NONENONEs,x,x, &&
1543   program_prefix=${target_alias}-
1544 target_alias=${target_alias-$host_alias}
1545
1546 # Handy for debugging:
1547 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1548
1549 if test "$build" != "$host"; then
1550   # We are being configured with some form of cross compiler.
1551   GLIBCXX_IS_NATIVE=false
1552
1553 else
1554   GLIBCXX_IS_NATIVE=true
1555 fi
1556
1557 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1558 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1559 #  1.x:  minimum required version
1560 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1561 #              of other PACKAGE_* variables will, however, and there's nothing
1562 #              we can do about that; they come from AC_INIT).
1563 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1564 #            file in the top srcdir, etc, etc), so stop complaining.
1565 #  no-dependencies:  turns off auto dependency generation (just for now)
1566 #  -Wall:  turns on all automake warnings
1567 am__api_version="1.7"
1568 # Find a good install program.  We prefer a C program (faster),
1569 # so one script is as good as another.  But avoid the broken or
1570 # incompatible versions:
1571 # SysV /etc/install, /usr/sbin/install
1572 # SunOS /usr/etc/install
1573 # IRIX /sbin/install
1574 # AIX /bin/install
1575 # AmigaOS /C/install, which installs bootblocks on floppy discs
1576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584   echo $ECHO_N "(cached) $ECHO_C" >&6
1585 else
1586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587 for as_dir in $PATH
1588 do
1589   IFS=$as_save_IFS
1590   test -z "$as_dir" && as_dir=.
1591   # Account for people who put trailing slashes in PATH elements.
1592 case $as_dir/ in
1593   ./ | .// | /cC/* | \
1594   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1595   /usr/ucb/* ) ;;
1596   *)
1597     # OSF1 and SCO ODT 3.0 have their own names for install.
1598     # Don't use installbsd from OSF since it installs stuff as root
1599     # by default.
1600     for ac_prog in ginstall scoinst install; do
1601       for ac_exec_ext in '' $ac_executable_extensions; do
1602         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603           if test $ac_prog = install &&
1604             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605             # AIX install.  It has an incompatible calling convention.
1606             :
1607           elif test $ac_prog = install &&
1608             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609             # program-specific install script used by HP pwplus--don't use.
1610             :
1611           else
1612             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1613             break 3
1614           fi
1615         fi
1616       done
1617     done
1618     ;;
1619 esac
1620 done
1621
1622
1623 fi
1624   if test "${ac_cv_path_install+set}" = set; then
1625     INSTALL=$ac_cv_path_install
1626   else
1627     # As a last resort, use the slow shell script.  We don't cache a
1628     # path for INSTALL within a source directory, because that will
1629     # break other packages using the cache if that directory is
1630     # removed, or if the path is relative.
1631     INSTALL=$ac_install_sh
1632   fi
1633 fi
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1636
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1640
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1642
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1644
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1647 # Just in case
1648 sleep 1
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments.  Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1654 # directory).
1655 if (
1656    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657    if test "$*" = "X"; then
1658       # -L didn't work.
1659       set X `ls -t $srcdir/configure conftest.file`
1660    fi
1661    rm -f conftest.file
1662    if test "$*" != "X $srcdir/configure conftest.file" \
1663       && test "$*" != "X conftest.file $srcdir/configure"; then
1664
1665       # If neither matched, then we have a broken ls.  This can happen
1666       # if, for instance, CONFIG_SHELL is bash and it inherits a
1667       # broken ls alias from the environment.  This has actually
1668       # happened.  Such a system could not be considered "sane".
1669       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1672 alias in your environment" >&2;}
1673    { (exit 1); exit 1; }; }
1674    fi
1675
1676    test "$2" = conftest.file
1677    )
1678 then
1679    # Ok.
1680    :
1681 else
1682    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686    { (exit 1); exit 1; }; }
1687 fi
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $.  echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1699 _ACEOF
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1701 rm conftest.sed
1702
1703
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir=`cd $ac_aux_dir && pwd`
1706
1707 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710   am_missing_run="$MISSING --run "
1711 else
1712   am_missing_run=
1713   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1715 fi
1716
1717 for ac_prog in gawk mawk nawk awk
1718 do
1719   # Extract the first word of "$ac_prog", so it can be a program name with args.
1720 set dummy $ac_prog; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_AWK+set}" = set; then
1724   echo $ECHO_N "(cached) $ECHO_C" >&6
1725 else
1726   if test -n "$AWK"; then
1727   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1728 else
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 for as_dir in $PATH
1731 do
1732   IFS=$as_save_IFS
1733   test -z "$as_dir" && as_dir=.
1734   for ac_exec_ext in '' $ac_executable_extensions; do
1735   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736     ac_cv_prog_AWK="$ac_prog"
1737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738     break 2
1739   fi
1740 done
1741 done
1742
1743 fi
1744 fi
1745 AWK=$ac_cv_prog_AWK
1746 if test -n "$AWK"; then
1747   echo "$as_me:$LINENO: result: $AWK" >&5
1748 echo "${ECHO_T}$AWK" >&6
1749 else
1750   echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1752 fi
1753
1754   test -n "$AWK" && break
1755 done
1756
1757 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1759 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1760 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1761   echo $ECHO_N "(cached) $ECHO_C" >&6
1762 else
1763   cat >conftest.make <<\_ACEOF
1764 all:
1765         @echo 'ac_maketemp="$(MAKE)"'
1766 _ACEOF
1767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1768 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1769 if test -n "$ac_maketemp"; then
1770   eval ac_cv_prog_make_${ac_make}_set=yes
1771 else
1772   eval ac_cv_prog_make_${ac_make}_set=no
1773 fi
1774 rm -f conftest.make
1775 fi
1776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1777   echo "$as_me:$LINENO: result: yes" >&5
1778 echo "${ECHO_T}yes" >&6
1779   SET_MAKE=
1780 else
1781   echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1783   SET_MAKE="MAKE=${MAKE-make}"
1784 fi
1785
1786 rm -rf .tst 2>/dev/null
1787 mkdir .tst 2>/dev/null
1788 if test -d .tst; then
1789   am__leading_dot=.
1790 else
1791   am__leading_dot=_
1792 fi
1793 rmdir .tst 2>/dev/null
1794
1795  # test to see if srcdir already configured
1796 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1797    test -f $srcdir/config.status; then
1798   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1799 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1800    { (exit 1); exit 1; }; }
1801 fi
1802
1803 # test whether we have cygpath
1804 if test -z "$CYGPATH_W"; then
1805   if (cygpath --version) >/dev/null 2>/dev/null; then
1806     CYGPATH_W='cygpath -w'
1807   else
1808     CYGPATH_W=echo
1809   fi
1810 fi
1811
1812
1813 # Define the identity of the package.
1814  PACKAGE='libstdc++'
1815  VERSION='version-unused'
1816
1817
1818 # Some tools Automake needs.
1819
1820 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1821
1822
1823 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1824
1825
1826 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1827
1828
1829 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1830
1831
1832 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1833
1834
1835 AMTAR=${AMTAR-"${am_missing_run}tar"}
1836
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1838
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'.  However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844   if test -n "$ac_tool_prefix"; then
1845   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   if test -n "$STRIP"; then
1853   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858   IFS=$as_save_IFS
1859   test -z "$as_dir" && as_dir=.
1860   for ac_exec_ext in '' $ac_executable_extensions; do
1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864     break 2
1865   fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873   echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876   echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 fi
1881 if test -z "$ac_cv_prog_STRIP"; then
1882   ac_ct_STRIP=$STRIP
1883   # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888   echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890   if test -n "$ac_ct_STRIP"; then
1891   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896   IFS=$as_save_IFS
1897   test -z "$as_dir" && as_dir=.
1898   for ac_exec_ext in '' $ac_executable_extensions; do
1899   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900     ac_cv_prog_ac_ct_STRIP="strip"
1901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902     break 2
1903   fi
1904 done
1905 done
1906
1907   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1908 fi
1909 fi
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915   echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919   STRIP=$ac_ct_STRIP
1920 else
1921   STRIP="$ac_cv_prog_STRIP"
1922 fi
1923
1924 fi
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1926
1927 # We need awk for the "check" target.  The system "awk" is bad on
1928 # some platforms.
1929
1930
1931
1932
1933 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1934 # up critical shell variables.
1935
1936   # Keep these sync'd with the list in Makefile.am.  The first provides an
1937   # expandable list at autoconf time; the second provides an expandable list
1938   # (i.e., shell variable) at configure time.
1939
1940   SUBDIRS='include libmath libsupc++ src po testsuite'
1941
1942   # These need to be absolute paths, yet at the same time need to
1943   # canonicalize only relative paths, because then amd will not unmount
1944   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1945   glibcxx_builddir=`${PWDCMD-pwd}`
1946   case $srcdir in
1947     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1948     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1949   esac
1950   toplevel_srcdir=${glibcxx_srcdir}/..
1951
1952
1953
1954
1955   # We use these options to decide which functions to include.  They are
1956   # set from the top level.
1957
1958 # Check whether --with-target-subdir or --without-target-subdir was given.
1959 if test "${with_target_subdir+set}" = set; then
1960   withval="$with_target_subdir"
1961
1962 fi;
1963
1964
1965 # Check whether --with-cross-host or --without-cross-host was given.
1966 if test "${with_cross_host+set}" = set; then
1967   withval="$with_cross_host"
1968
1969 fi;
1970
1971
1972 # Check whether --with-newlib or --without-newlib was given.
1973 if test "${with_newlib+set}" = set; then
1974   withval="$with_newlib"
1975
1976 fi;
1977
1978   # We're almost certainly being configured before anything else which uses
1979   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1980   # we not cache the value of CXX that we "discover" here, because it's set
1981   # to something unique for us and libjava.  Other target libraries need to
1982   # find CXX for themselves.  We yank the rug out from under the normal AC_*
1983   # process by sneakily renaming the cache variable.  This also lets us debug
1984   # the value of "our" CXX in postmortems.
1985   #
1986   # We must also force CXX to /not/ be a precious variable, otherwise the
1987   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
1988   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
1989   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1990   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1991   #
1992   # -fno-builtin must be present here so that a non-conflicting form of
1993   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1994
1995
1996
1997
1998   save_CXXFLAGS="$CXXFLAGS"
1999   CXXFLAGS="$CXXFLAGS -fno-builtin"
2000   ac_ext=c
2001 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2005 if test -n "$ac_tool_prefix"; then
2006   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2007 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2008 echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011   echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013   if test -n "$CC"; then
2014   ac_cv_prog_CC="$CC" # Let the user override the test.
2015 else
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 for as_dir in $PATH
2018 do
2019   IFS=$as_save_IFS
2020   test -z "$as_dir" && as_dir=.
2021   for ac_exec_ext in '' $ac_executable_extensions; do
2022   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2024     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025     break 2
2026   fi
2027 done
2028 done
2029
2030 fi
2031 fi
2032 CC=$ac_cv_prog_CC
2033 if test -n "$CC"; then
2034   echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2036 else
2037   echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2039 fi
2040
2041 fi
2042 if test -z "$ac_cv_prog_CC"; then
2043   ac_ct_CC=$CC
2044   # Extract the first word of "gcc", so it can be a program name with args.
2045 set dummy gcc; ac_word=$2
2046 echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2049   echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051   if test -n "$ac_ct_CC"; then
2052   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2056 do
2057   IFS=$as_save_IFS
2058   test -z "$as_dir" && as_dir=.
2059   for ac_exec_ext in '' $ac_executable_extensions; do
2060   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2061     ac_cv_prog_ac_ct_CC="gcc"
2062     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063     break 2
2064   fi
2065 done
2066 done
2067
2068 fi
2069 fi
2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2071 if test -n "$ac_ct_CC"; then
2072   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2073 echo "${ECHO_T}$ac_ct_CC" >&6
2074 else
2075   echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6
2077 fi
2078
2079   CC=$ac_ct_CC
2080 else
2081   CC="$ac_cv_prog_CC"
2082 fi
2083
2084 if test -z "$CC"; then
2085   if test -n "$ac_tool_prefix"; then
2086   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2087 set dummy ${ac_tool_prefix}cc; ac_word=$2
2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090 if test "${ac_cv_prog_CC+set}" = set; then
2091   echo $ECHO_N "(cached) $ECHO_C" >&6
2092 else
2093   if test -n "$CC"; then
2094   ac_cv_prog_CC="$CC" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2098 do
2099   IFS=$as_save_IFS
2100   test -z "$as_dir" && as_dir=.
2101   for ac_exec_ext in '' $ac_executable_extensions; do
2102   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103     ac_cv_prog_CC="${ac_tool_prefix}cc"
2104     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105     break 2
2106   fi
2107 done
2108 done
2109
2110 fi
2111 fi
2112 CC=$ac_cv_prog_CC
2113 if test -n "$CC"; then
2114   echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6
2116 else
2117   echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2119 fi
2120
2121 fi
2122 if test -z "$ac_cv_prog_CC"; then
2123   ac_ct_CC=$CC
2124   # Extract the first word of "cc", so it can be a program name with args.
2125 set dummy cc; ac_word=$2
2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2129   echo $ECHO_N "(cached) $ECHO_C" >&6
2130 else
2131   if test -n "$ac_ct_CC"; then
2132   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2133 else
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 for as_dir in $PATH
2136 do
2137   IFS=$as_save_IFS
2138   test -z "$as_dir" && as_dir=.
2139   for ac_exec_ext in '' $ac_executable_extensions; do
2140   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141     ac_cv_prog_ac_ct_CC="cc"
2142     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143     break 2
2144   fi
2145 done
2146 done
2147
2148 fi
2149 fi
2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2151 if test -n "$ac_ct_CC"; then
2152   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153 echo "${ECHO_T}$ac_ct_CC" >&6
2154 else
2155   echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6
2157 fi
2158
2159   CC=$ac_ct_CC
2160 else
2161   CC="$ac_cv_prog_CC"
2162 fi
2163
2164 fi
2165 if test -z "$CC"; then
2166   # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171   echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173   if test -n "$CC"; then
2174   ac_cv_prog_CC="$CC" # Let the user override the test.
2175 else
2176   ac_prog_rejected=no
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2179 do
2180   IFS=$as_save_IFS
2181   test -z "$as_dir" && as_dir=.
2182   for ac_exec_ext in '' $ac_executable_extensions; do
2183   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2184     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185        ac_prog_rejected=yes
2186        continue
2187      fi
2188     ac_cv_prog_CC="cc"
2189     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2190     break 2
2191   fi
2192 done
2193 done
2194
2195 if test $ac_prog_rejected = yes; then
2196   # We found a bogon in the path, so make sure we never use it.
2197   set dummy $ac_cv_prog_CC
2198   shift
2199   if test $# != 0; then
2200     # We chose a different compiler from the bogus one.
2201     # However, it has the same basename, so the bogon will be chosen
2202     # first if we set CC to just the basename; use the full file name.
2203     shift
2204     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2205   fi
2206 fi
2207 fi
2208 fi
2209 CC=$ac_cv_prog_CC
2210 if test -n "$CC"; then
2211   echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6
2213 else
2214   echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2216 fi
2217
2218 fi
2219 if test -z "$CC"; then
2220   if test -n "$ac_tool_prefix"; then
2221   for ac_prog in cl
2222   do
2223     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_CC+set}" = set; then
2228   echo $ECHO_N "(cached) $ECHO_C" >&6
2229 else
2230   if test -n "$CC"; then
2231   ac_cv_prog_CC="$CC" # Let the user override the test.
2232 else
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2235 do
2236   IFS=$as_save_IFS
2237   test -z "$as_dir" && as_dir=.
2238   for ac_exec_ext in '' $ac_executable_extensions; do
2239   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242     break 2
2243   fi
2244 done
2245 done
2246
2247 fi
2248 fi
2249 CC=$ac_cv_prog_CC
2250 if test -n "$CC"; then
2251   echo "$as_me:$LINENO: result: $CC" >&5
2252 echo "${ECHO_T}$CC" >&6
2253 else
2254   echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2256 fi
2257
2258     test -n "$CC" && break
2259   done
2260 fi
2261 if test -z "$CC"; then
2262   ac_ct_CC=$CC
2263   for ac_prog in cl
2264 do
2265   # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2270   echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272   if test -n "$ac_ct_CC"; then
2273   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2277 do
2278   IFS=$as_save_IFS
2279   test -z "$as_dir" && as_dir=.
2280   for ac_exec_ext in '' $ac_executable_extensions; do
2281   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282     ac_cv_prog_ac_ct_CC="$ac_prog"
2283     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284     break 2
2285   fi
2286 done
2287 done
2288
2289 fi
2290 fi
2291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2292 if test -n "$ac_ct_CC"; then
2293   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2294 echo "${ECHO_T}$ac_ct_CC" >&6
2295 else
2296   echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2298 fi
2299
2300   test -n "$ac_ct_CC" && break
2301 done
2302
2303   CC=$ac_ct_CC
2304 fi
2305
2306 fi
2307
2308
2309 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2310 See \`config.log' for more details." >&5
2311 echo "$as_me: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&2;}
2313    { (exit 1); exit 1; }; }
2314
2315 # Provide some information about the compiler.
2316 echo "$as_me:$LINENO:" \
2317      "checking for C compiler version" >&5
2318 ac_compiler=`set X $ac_compile; echo $2`
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2320   (eval $ac_compiler --version </dev/null >&5) 2>&5
2321   ac_status=$?
2322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323   (exit $ac_status); }
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2325   (eval $ac_compiler -v </dev/null >&5) 2>&5
2326   ac_status=$?
2327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328   (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2330   (eval $ac_compiler -V </dev/null >&5) 2>&5
2331   ac_status=$?
2332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333   (exit $ac_status); }
2334
2335 cat >conftest.$ac_ext <<_ACEOF
2336 #line $LINENO "configure"
2337 /* confdefs.h.  */
2338 _ACEOF
2339 cat confdefs.h >>conftest.$ac_ext
2340 cat >>conftest.$ac_ext <<_ACEOF
2341 /* end confdefs.h.  */
2342
2343 int
2344 main ()
2345 {
2346
2347   ;
2348   return 0;
2349 }
2350 _ACEOF
2351 # FIXME: Cleanup?
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2353   (eval $ac_link) 2>&5
2354   ac_status=$?
2355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356   (exit $ac_status); }; then
2357   gcc_no_link=no
2358 else
2359   gcc_no_link=yes
2360 fi
2361
2362 if test x$gcc_no_link = xyes; then
2363   # Setting cross_compile will disable run tests; it will
2364   # also disable AC_CHECK_FILE but that's generally
2365   # correct if we can't link.
2366   cross_compiling=yes
2367   EXEEXT=
2368 else
2369   cat >conftest.$ac_ext <<_ACEOF
2370 #line $LINENO "configure"
2371 /* confdefs.h.  */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h.  */
2376
2377 int
2378 main ()
2379 {
2380
2381   ;
2382   return 0;
2383 }
2384 _ACEOF
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2389 # of exeext.
2390 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2391 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394   (eval $ac_link_default) 2>&5
2395   ac_status=$?
2396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397   (exit $ac_status); }; then
2398   # Find the output, starting from the most likely.  This scheme is
2399 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # resort.
2401
2402 # Be careful to initialize this variable, since it used to be cached.
2403 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404 ac_cv_exeext=
2405 # b.out is created by i960 compilers.
2406 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2407 do
2408   test -f "$ac_file" || continue
2409   case $ac_file in
2410     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2411         ;;
2412     conftest.$ac_ext )
2413         # This is the source file.
2414         ;;
2415     [ab].out )
2416         # We found the default executable, but exeext='' is most
2417         # certainly right.
2418         break;;
2419     *.* )
2420         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421         # FIXME: I believe we export ac_cv_exeext for Libtool,
2422         # but it would be cool to find out if it's true.  Does anybody
2423         # maintain Libtool? --akim.
2424         export ac_cv_exeext
2425         break;;
2426     * )
2427         break;;
2428   esac
2429 done
2430 else
2431   echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2433
2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: C compiler cannot create executables
2437 See \`config.log' for more details." >&2;}
2438    { (exit 77); exit 77; }; }
2439 fi
2440
2441 ac_exeext=$ac_cv_exeext
2442 echo "$as_me:$LINENO: result: $ac_file" >&5
2443 echo "${ECHO_T}$ac_file" >&6
2444
2445 # Check the compiler produces executables we can run.  If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450 # If not cross compiling, check that we can run a simple program.
2451 if test "$cross_compiling" != yes; then
2452   if { ac_try='./$ac_file'
2453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454   (eval $ac_try) 2>&5
2455   ac_status=$?
2456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457   (exit $ac_status); }; }; then
2458     cross_compiling=no
2459   else
2460     if test "$cross_compiling" = maybe; then
2461         cross_compiling=yes
2462     else
2463         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot run C compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details." >&2;}
2469    { (exit 1); exit 1; }; }
2470     fi
2471   fi
2472 fi
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2475
2476 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477 ac_clean_files=$ac_clean_files_save
2478 # Check the compiler produces executables we can run.  If not, either
2479 # the compiler is broken, or we cross compile.
2480 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483 echo "${ECHO_T}$cross_compiling" >&6
2484
2485 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488   (eval $ac_link) 2>&5
2489   ac_status=$?
2490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491   (exit $ac_status); }; then
2492   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 # `rm'.
2496 for ac_file in conftest.exe conftest conftest.*; do
2497   test -f "$ac_file" || continue
2498   case $ac_file in
2499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501           export ac_cv_exeext
2502           break;;
2503     * ) break;;
2504   esac
2505 done
2506 else
2507   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511    { (exit 1); exit 1; }; }
2512 fi
2513
2514 rm -f conftest$ac_cv_exeext
2515 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6
2517
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2520 ac_exeext=$EXEEXT
2521 fi
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525   echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527   cat >conftest.$ac_ext <<_ACEOF
2528 #line $LINENO "configure"
2529 /* confdefs.h.  */
2530 _ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h.  */
2534
2535 int
2536 main ()
2537 {
2538
2539   ;
2540   return 0;
2541 }
2542 _ACEOF
2543 rm -f conftest.o conftest.obj
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545   (eval $ac_compile) 2>&5
2546   ac_status=$?
2547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548   (exit $ac_status); }; then
2549   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2550   case $ac_file in
2551     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2552     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2553        break;;
2554   esac
2555 done
2556 else
2557   echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2559
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564    { (exit 1); exit 1; }; }
2565 fi
2566
2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2568 fi
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT=$ac_cv_objext
2572 ac_objext=$OBJEXT
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2576   echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578   cat >conftest.$ac_ext <<_ACEOF
2579 #line $LINENO "configure"
2580 /* confdefs.h.  */
2581 _ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h.  */
2585
2586 int
2587 main ()
2588 {
2589 #ifndef __GNUC__
2590        choke me
2591 #endif
2592
2593   ;
2594   return 0;
2595 }
2596 _ACEOF
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599   (eval $ac_compile) 2>&5
2600   ac_status=$?
2601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602   (exit $ac_status); } &&
2603          { ac_try='test -s conftest.$ac_objext'
2604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605   (eval $ac_try) 2>&5
2606   ac_status=$?
2607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608   (exit $ac_status); }; }; then
2609   ac_compiler_gnu=yes
2610 else
2611   echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2613
2614 ac_compiler_gnu=no
2615 fi
2616 rm -f conftest.$ac_objext conftest.$ac_ext
2617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2618
2619 fi
2620 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2621 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2622 GCC=`test $ac_compiler_gnu = yes && echo yes`
2623 ac_test_CFLAGS=${CFLAGS+set}
2624 ac_save_CFLAGS=$CFLAGS
2625 CFLAGS="-g"
2626 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2628 if test "${ac_cv_prog_cc_g+set}" = set; then
2629   echo $ECHO_N "(cached) $ECHO_C" >&6
2630 else
2631   cat >conftest.$ac_ext <<_ACEOF
2632 #line $LINENO "configure"
2633 /* confdefs.h.  */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h.  */
2638
2639 int
2640 main ()
2641 {
2642
2643   ;
2644   return 0;
2645 }
2646 _ACEOF
2647 rm -f conftest.$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649   (eval $ac_compile) 2>&5
2650   ac_status=$?
2651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652   (exit $ac_status); } &&
2653          { ac_try='test -s conftest.$ac_objext'
2654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655   (eval $ac_try) 2>&5
2656   ac_status=$?
2657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658   (exit $ac_status); }; }; then
2659   ac_cv_prog_cc_g=yes
2660 else
2661   echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2663
2664 ac_cv_prog_cc_g=no
2665 fi
2666 rm -f conftest.$ac_objext conftest.$ac_ext
2667 fi
2668 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2670 if test "$ac_test_CFLAGS" = set; then
2671   CFLAGS=$ac_save_CFLAGS
2672 elif test $ac_cv_prog_cc_g = yes; then
2673   if test "$GCC" = yes; then
2674     CFLAGS="-g -O2"
2675   else
2676     CFLAGS="-g"
2677   fi
2678 else
2679   if test "$GCC" = yes; then
2680     CFLAGS="-O2"
2681   else
2682     CFLAGS=
2683   fi
2684 fi
2685 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2686 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2687 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2688   echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690   ac_cv_prog_cc_stdc=no
2691 ac_save_CC=$CC
2692 cat >conftest.$ac_ext <<_ACEOF
2693 #line $LINENO "configure"
2694 /* confdefs.h.  */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h.  */
2699 #include <stdarg.h>
2700 #include <stdio.h>
2701 #include <sys/types.h>
2702 #include <sys/stat.h>
2703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2704 struct buf { int x; };
2705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2706 static char *e (p, i)
2707      char **p;
2708      int i;
2709 {
2710   return p[i];
2711 }
2712 static char *f (char * (*g) (char **, int), char **p, ...)
2713 {
2714   char *s;
2715   va_list v;
2716   va_start (v,p);
2717   s = g (p, va_arg (v,int));
2718   va_end (v);
2719   return s;
2720 }
2721 int test (int i, double x);
2722 struct s1 {int (*f) (int a);};
2723 struct s2 {int (*f) (double a);};
2724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2725 int argc;
2726 char **argv;
2727 int
2728 main ()
2729 {
2730 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2731   ;
2732   return 0;
2733 }
2734 _ACEOF
2735 # Don't try gcc -ansi; that turns off useful extensions and
2736 # breaks some systems' header files.
2737 # AIX                   -qlanglvl=ansi
2738 # Ultrix and OSF/1      -std1
2739 # HP-UX 10.20 and later -Ae
2740 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2741 # SVR4                  -Xc -D__EXTENSIONS__
2742 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2743 do
2744   CC="$ac_save_CC $ac_arg"
2745   rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747   (eval $ac_compile) 2>&5
2748   ac_status=$?
2749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750   (exit $ac_status); } &&
2751          { ac_try='test -s conftest.$ac_objext'
2752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753   (eval $ac_try) 2>&5
2754   ac_status=$?
2755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756   (exit $ac_status); }; }; then
2757   ac_cv_prog_cc_stdc=$ac_arg
2758 break
2759 else
2760   echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2762
2763 fi
2764 rm -f conftest.$ac_objext
2765 done
2766 rm -f conftest.$ac_ext conftest.$ac_objext
2767 CC=$ac_save_CC
2768
2769 fi
2770
2771 case "x$ac_cv_prog_cc_stdc" in
2772   x|xno)
2773     echo "$as_me:$LINENO: result: none needed" >&5
2774 echo "${ECHO_T}none needed" >&6 ;;
2775   *)
2776     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778     CC="$CC $ac_cv_prog_cc_stdc" ;;
2779 esac
2780
2781 # Some people use a C++ compiler to compile C.  Since we use `exit',
2782 # in C++ we need to declare it.  In case someone uses the same compiler
2783 # for both compiling C and C++ we need to have the C++ compiler decide
2784 # the declaration of exit, since it's the most demanding environment.
2785 cat >conftest.$ac_ext <<_ACEOF
2786 #ifndef __cplusplus
2787   choke me
2788 #endif
2789 _ACEOF
2790 rm -f conftest.$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792   (eval $ac_compile) 2>&5
2793   ac_status=$?
2794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795   (exit $ac_status); } &&
2796          { ac_try='test -s conftest.$ac_objext'
2797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798   (eval $ac_try) 2>&5
2799   ac_status=$?
2800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801   (exit $ac_status); }; }; then
2802   for ac_declaration in \
2803    ''\
2804    '#include <stdlib.h>' \
2805    'extern "C" void std::exit (int) throw (); using std::exit;' \
2806    'extern "C" void std::exit (int); using std::exit;' \
2807    'extern "C" void exit (int) throw ();' \
2808    'extern "C" void exit (int);' \
2809    'void exit (int);'
2810 do
2811   cat >conftest.$ac_ext <<_ACEOF
2812 #line $LINENO "configure"
2813 /* confdefs.h.  */
2814 _ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h.  */
2818 #include <stdlib.h>
2819 $ac_declaration
2820 int
2821 main ()
2822 {
2823 exit (42);
2824   ;
2825   return 0;
2826 }
2827 _ACEOF
2828 rm -f conftest.$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830   (eval $ac_compile) 2>&5
2831   ac_status=$?
2832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833   (exit $ac_status); } &&
2834          { ac_try='test -s conftest.$ac_objext'
2835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836   (eval $ac_try) 2>&5
2837   ac_status=$?
2838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839   (exit $ac_status); }; }; then
2840   :
2841 else
2842   echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 continue
2846 fi
2847 rm -f conftest.$ac_objext conftest.$ac_ext
2848   cat >conftest.$ac_ext <<_ACEOF
2849 #line $LINENO "configure"
2850 /* confdefs.h.  */
2851 _ACEOF
2852 cat confdefs.h >>conftest.$ac_ext
2853 cat >>conftest.$ac_ext <<_ACEOF
2854 /* end confdefs.h.  */
2855 $ac_declaration
2856 int
2857 main ()
2858 {
2859 exit (42);
2860   ;
2861   return 0;
2862 }
2863 _ACEOF
2864 rm -f conftest.$ac_objext
2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2866   (eval $ac_compile) 2>&5
2867   ac_status=$?
2868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869   (exit $ac_status); } &&
2870          { ac_try='test -s conftest.$ac_objext'
2871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872   (eval $ac_try) 2>&5
2873   ac_status=$?
2874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875   (exit $ac_status); }; }; then
2876   break
2877 else
2878   echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2880
2881 fi
2882 rm -f conftest.$ac_objext conftest.$ac_ext
2883 done
2884 rm -f conftest*
2885 if test -n "$ac_declaration"; then
2886   echo '#ifdef __cplusplus' >>confdefs.h
2887   echo $ac_declaration      >>confdefs.h
2888   echo '#endif'             >>confdefs.h
2889 fi
2890
2891 else
2892   echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2894
2895 fi
2896 rm -f conftest.$ac_objext conftest.$ac_ext
2897 ac_ext=c
2898 ac_cpp='$CPP $CPPFLAGS'
2899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2902
2903   ac_ext=cc
2904 ac_cpp='$CXXCPP $CPPFLAGS'
2905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2908 if test -n "$ac_tool_prefix"; then
2909   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2910   do
2911     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2916   echo $ECHO_N "(cached) $ECHO_C" >&6
2917 else
2918   if test -n "$CXX"; then
2919   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2920 else
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 for as_dir in $PATH
2923 do
2924   IFS=$as_save_IFS
2925   test -z "$as_dir" && as_dir=.
2926   for ac_exec_ext in '' $ac_executable_extensions; do
2927   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2930     break 2
2931   fi
2932 done
2933 done
2934
2935 fi
2936 fi
2937 CXX=$glibcxx_cv_prog_CXX
2938 if test -n "$CXX"; then
2939   echo "$as_me:$LINENO: result: $CXX" >&5
2940 echo "${ECHO_T}$CXX" >&6
2941 else
2942   echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2944 fi
2945
2946     test -n "$CXX" && break
2947   done
2948 fi
2949 if test -z "$CXX"; then
2950   ac_ct_CXX=$CXX
2951   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2952 do
2953   # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2958   echo $ECHO_N "(cached) $ECHO_C" >&6
2959 else
2960   if test -n "$ac_ct_CXX"; then
2961   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2962 else
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2965 do
2966   IFS=$as_save_IFS
2967   test -z "$as_dir" && as_dir=.
2968   for ac_exec_ext in '' $ac_executable_extensions; do
2969   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970     ac_cv_prog_ac_ct_CXX="$ac_prog"
2971     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2972     break 2
2973   fi
2974 done
2975 done
2976
2977 fi
2978 fi
2979 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2980 if test -n "$ac_ct_CXX"; then
2981   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2982 echo "${ECHO_T}$ac_ct_CXX" >&6
2983 else
2984   echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2986 fi
2987
2988   test -n "$ac_ct_CXX" && break
2989 done
2990 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2991
2992   CXX=$ac_ct_CXX
2993 fi
2994
2995
2996 # Provide some information about the compiler.
2997 echo "$as_me:$LINENO:" \
2998      "checking for C++ compiler version" >&5
2999 ac_compiler=`set X $ac_compile; echo $2`
3000 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3001   (eval $ac_compiler --version </dev/null >&5) 2>&5
3002   ac_status=$?
3003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004   (exit $ac_status); }
3005 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3006   (eval $ac_compiler -v </dev/null >&5) 2>&5
3007   ac_status=$?
3008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009   (exit $ac_status); }
3010 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3011   (eval $ac_compiler -V </dev/null >&5) 2>&5
3012   ac_status=$?
3013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014   (exit $ac_status); }
3015
3016 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3017 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3018 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3019   echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021   cat >conftest.$ac_ext <<_ACEOF
3022 #line $LINENO "configure"
3023 /* confdefs.h.  */
3024 _ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h.  */
3028
3029 int
3030 main ()
3031 {
3032 #ifndef __GNUC__
3033        choke me
3034 #endif
3035
3036   ;
3037   return 0;
3038 }
3039 _ACEOF
3040 rm -f conftest.$ac_objext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042   (eval $ac_compile) 2>&5
3043   ac_status=$?
3044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045   (exit $ac_status); } &&
3046          { ac_try='test -s conftest.$ac_objext'
3047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048   (eval $ac_try) 2>&5
3049   ac_status=$?
3050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051   (exit $ac_status); }; }; then
3052   ac_compiler_gnu=yes
3053 else
3054   echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3056
3057 ac_compiler_gnu=no
3058 fi
3059 rm -f conftest.$ac_objext conftest.$ac_ext
3060 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3061
3062 fi
3063 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3064 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3065 GXX=`test $ac_compiler_gnu = yes && echo yes`
3066 ac_test_CXXFLAGS=${CXXFLAGS+set}
3067 ac_save_CXXFLAGS=$CXXFLAGS
3068 CXXFLAGS="-g"
3069 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3070 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3071 if test "${ac_cv_prog_cxx_g+set}" = set; then
3072   echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074   cat >conftest.$ac_ext <<_ACEOF
3075 #line $LINENO "configure"
3076 /* confdefs.h.  */
3077 _ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h.  */
3081
3082 int
3083 main ()
3084 {
3085
3086   ;
3087   return 0;
3088 }
3089 _ACEOF
3090 rm -f conftest.$ac_objext
3091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3092   (eval $ac_compile) 2>&5
3093   ac_status=$?
3094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095   (exit $ac_status); } &&
3096          { ac_try='test -s conftest.$ac_objext'
3097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098   (eval $ac_try) 2>&5
3099   ac_status=$?
3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101   (exit $ac_status); }; }; then
3102   ac_cv_prog_cxx_g=yes
3103 else
3104   echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3106
3107 ac_cv_prog_cxx_g=no
3108 fi
3109 rm -f conftest.$ac_objext conftest.$ac_ext
3110 fi
3111 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3112 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3113 if test "$ac_test_CXXFLAGS" = set; then
3114   CXXFLAGS=$ac_save_CXXFLAGS
3115 elif test $ac_cv_prog_cxx_g = yes; then
3116   if test "$GXX" = yes; then
3117     CXXFLAGS="-g -O2"
3118   else
3119     CXXFLAGS="-g"
3120   fi
3121 else
3122   if test "$GXX" = yes; then
3123     CXXFLAGS="-O2"
3124   else
3125     CXXFLAGS=
3126   fi
3127 fi
3128 for ac_declaration in \
3129    ''\
3130    '#include <stdlib.h>' \
3131    'extern "C" void std::exit (int) throw (); using std::exit;' \
3132    'extern "C" void std::exit (int); using std::exit;' \
3133    'extern "C" void exit (int) throw ();' \
3134    'extern "C" void exit (int);' \
3135    'void exit (int);'
3136 do
3137   cat >conftest.$ac_ext <<_ACEOF
3138 #line $LINENO "configure"
3139 /* confdefs.h.  */
3140 _ACEOF
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h.  */
3144 #include <stdlib.h>
3145 $ac_declaration
3146 int
3147 main ()
3148 {
3149 exit (42);
3150   ;
3151   return 0;
3152 }
3153 _ACEOF
3154 rm -f conftest.$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156   (eval $ac_compile) 2>&5
3157   ac_status=$?
3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159   (exit $ac_status); } &&
3160          { ac_try='test -s conftest.$ac_objext'
3161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162   (eval $ac_try) 2>&5
3163   ac_status=$?
3164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165   (exit $ac_status); }; }; then
3166   :
3167 else
3168   echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3170
3171 continue
3172 fi
3173 rm -f conftest.$ac_objext conftest.$ac_ext
3174   cat >conftest.$ac_ext <<_ACEOF
3175 #line $LINENO "configure"
3176 /* confdefs.h.  */
3177 _ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h.  */
3181 $ac_declaration
3182 int
3183 main ()
3184 {
3185 exit (42);
3186   ;
3187   return 0;
3188 }
3189 _ACEOF
3190 rm -f conftest.$ac_objext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192   (eval $ac_compile) 2>&5
3193   ac_status=$?
3194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195   (exit $ac_status); } &&
3196          { ac_try='test -s conftest.$ac_objext'
3197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198   (eval $ac_try) 2>&5
3199   ac_status=$?
3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201   (exit $ac_status); }; }; then
3202   break
3203 else
3204   echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3206
3207 fi
3208 rm -f conftest.$ac_objext conftest.$ac_ext
3209 done
3210 rm -f conftest*
3211 if test -n "$ac_declaration"; then
3212   echo '#ifdef __cplusplus' >>confdefs.h
3213   echo $ac_declaration      >>confdefs.h
3214   echo '#endif'             >>confdefs.h
3215 fi
3216
3217 ac_ext=c
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3222
3223   CXXFLAGS="$save_CXXFLAGS"
3224
3225
3226
3227
3228   # For directory versioning (e.g., headers) and other variables.
3229   echo "$as_me:$LINENO: checking for GCC version number" >&5
3230 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3231   gcc_version=`$CXX -dumpversion`
3232   echo "$as_me:$LINENO: result: $gcc_version" >&5
3233 echo "${ECHO_T}$gcc_version" >&6
3234
3235   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3236   # available).  Uncomment the next line to force a particular method.
3237   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3238 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3239 LN_S=$as_ln_s
3240 if test "$LN_S" = "ln -s"; then
3241   echo "$as_me:$LINENO: result: yes" >&5
3242 echo "${ECHO_T}yes" >&6
3243 else
3244   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3245 echo "${ECHO_T}no, using $LN_S" >&6
3246 fi
3247
3248   #LN_S='cp -p'
3249
3250   if test -n "$ac_tool_prefix"; then
3251   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3252 set dummy ${ac_tool_prefix}as; ac_word=$2
3253 echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3255 if test "${ac_cv_prog_AS+set}" = set; then
3256   echo $ECHO_N "(cached) $ECHO_C" >&6
3257 else
3258   if test -n "$AS"; then
3259   ac_cv_prog_AS="$AS" # Let the user override the test.
3260 else
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for as_dir in $PATH
3263 do
3264   IFS=$as_save_IFS
3265   test -z "$as_dir" && as_dir=.
3266   for ac_exec_ext in '' $ac_executable_extensions; do
3267   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268     ac_cv_prog_AS="${ac_tool_prefix}as"
3269     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270     break 2
3271   fi
3272 done
3273 done
3274
3275 fi
3276 fi
3277 AS=$ac_cv_prog_AS
3278 if test -n "$AS"; then
3279   echo "$as_me:$LINENO: result: $AS" >&5
3280 echo "${ECHO_T}$AS" >&6
3281 else
3282   echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3284 fi
3285
3286 fi
3287 if test -z "$ac_cv_prog_AS"; then
3288   ac_ct_AS=$AS
3289   # Extract the first word of "as", so it can be a program name with args.
3290 set dummy as; ac_word=$2
3291 echo "$as_me:$LINENO: checking for $ac_word" >&5
3292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3293 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3294   echo $ECHO_N "(cached) $ECHO_C" >&6
3295 else
3296   if test -n "$ac_ct_AS"; then
3297   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302   IFS=$as_save_IFS
3303   test -z "$as_dir" && as_dir=.
3304   for ac_exec_ext in '' $ac_executable_extensions; do
3305   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306     ac_cv_prog_ac_ct_AS="as"
3307     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3308     break 2
3309   fi
3310 done
3311 done
3312
3313 fi
3314 fi
3315 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3316 if test -n "$ac_ct_AS"; then
3317   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3318 echo "${ECHO_T}$ac_ct_AS" >&6
3319 else
3320   echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6
3322 fi
3323
3324   AS=$ac_ct_AS
3325 else
3326   AS="$ac_cv_prog_AS"
3327 fi
3328
3329   if test -n "$ac_tool_prefix"; then
3330   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3331 set dummy ${ac_tool_prefix}ar; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_AR+set}" = set; then
3335   echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337   if test -n "$AR"; then
3338   ac_cv_prog_AR="$AR" # Let the user override the test.
3339 else
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 for as_dir in $PATH
3342 do
3343   IFS=$as_save_IFS
3344   test -z "$as_dir" && as_dir=.
3345   for ac_exec_ext in '' $ac_executable_extensions; do
3346   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347     ac_cv_prog_AR="${ac_tool_prefix}ar"
3348     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349     break 2
3350   fi
3351 done
3352 done
3353
3354 fi
3355 fi
3356 AR=$ac_cv_prog_AR
3357 if test -n "$AR"; then
3358   echo "$as_me:$LINENO: result: $AR" >&5
3359 echo "${ECHO_T}$AR" >&6
3360 else
3361   echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3363 fi
3364
3365 fi
3366 if test -z "$ac_cv_prog_AR"; then
3367   ac_ct_AR=$AR
3368   # Extract the first word of "ar", so it can be a program name with args.
3369 set dummy ar; ac_word=$2
3370 echo "$as_me:$LINENO: checking for $ac_word" >&5
3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3372 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3373   echo $ECHO_N "(cached) $ECHO_C" >&6
3374 else
3375   if test -n "$ac_ct_AR"; then
3376   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3380 do
3381   IFS=$as_save_IFS
3382   test -z "$as_dir" && as_dir=.
3383   for ac_exec_ext in '' $ac_executable_extensions; do
3384   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385     ac_cv_prog_ac_ct_AR="ar"
3386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3387     break 2
3388   fi
3389 done
3390 done
3391
3392 fi
3393 fi
3394 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3395 if test -n "$ac_ct_AR"; then
3396   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3397 echo "${ECHO_T}$ac_ct_AR" >&6
3398 else
3399   echo "$as_me:$LINENO: result: no" >&5
3400 echo "${ECHO_T}no" >&6
3401 fi
3402
3403   AR=$ac_ct_AR
3404 else
3405   AR="$ac_cv_prog_AR"
3406 fi
3407
3408   if test -n "$ac_tool_prefix"; then
3409   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3410 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3411 echo "$as_me:$LINENO: checking for $ac_word" >&5
3412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3413 if test "${ac_cv_prog_RANLIB+set}" = set; then
3414   echo $ECHO_N "(cached) $ECHO_C" >&6
3415 else
3416   if test -n "$RANLIB"; then
3417   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3418 else
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 for as_dir in $PATH
3421 do
3422   IFS=$as_save_IFS
3423   test -z "$as_dir" && as_dir=.
3424   for ac_exec_ext in '' $ac_executable_extensions; do
3425   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3426     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3427     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3428     break 2
3429   fi
3430 done
3431 done
3432
3433 fi
3434 fi
3435 RANLIB=$ac_cv_prog_RANLIB
3436 if test -n "$RANLIB"; then
3437   echo "$as_me:$LINENO: result: $RANLIB" >&5
3438 echo "${ECHO_T}$RANLIB" >&6
3439 else
3440   echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442 fi
3443
3444 fi
3445 if test -z "$ac_cv_prog_RANLIB"; then
3446   ac_ct_RANLIB=$RANLIB
3447   # Extract the first word of "ranlib", so it can be a program name with args.
3448 set dummy ranlib; ac_word=$2
3449 echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3451 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3452   echo $ECHO_N "(cached) $ECHO_C" >&6
3453 else
3454   if test -n "$ac_ct_RANLIB"; then
3455   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3456 else
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 for as_dir in $PATH
3459 do
3460   IFS=$as_save_IFS
3461   test -z "$as_dir" && as_dir=.
3462   for ac_exec_ext in '' $ac_executable_extensions; do
3463   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464     ac_cv_prog_ac_ct_RANLIB="ranlib"
3465     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466     break 2
3467   fi
3468 done
3469 done
3470
3471   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3472 fi
3473 fi
3474 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3475 if test -n "$ac_ct_RANLIB"; then
3476   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3477 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3478 else
3479   echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3481 fi
3482
3483   RANLIB=$ac_ct_RANLIB
3484 else
3485   RANLIB="$ac_cv_prog_RANLIB"
3486 fi
3487
3488
3489   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3490 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3491     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3492 if test "${enable_maintainer_mode+set}" = set; then
3493   enableval="$enable_maintainer_mode"
3494   USE_MAINTAINER_MODE=$enableval
3495 else
3496   USE_MAINTAINER_MODE=no
3497 fi;
3498   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3499 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3500
3501
3502 if test $USE_MAINTAINER_MODE = yes; then
3503   MAINTAINER_MODE_TRUE=
3504   MAINTAINER_MODE_FALSE='#'
3505 else
3506   MAINTAINER_MODE_TRUE='#'
3507   MAINTAINER_MODE_FALSE=
3508 fi
3509
3510   MAINT=$MAINTAINER_MODE_TRUE
3511
3512
3513
3514   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3515   # which are themselves conditionally expanded.
3516   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3517   ## other macros from doing the same.  This should be automated.)  -pme
3518   need_libmath=no
3519   enable_wchar_t=no
3520   #enable_libstdcxx_debug=no
3521   #enable_libstdcxx_pch=no
3522   #enable_cheaders=c
3523   #c_compatibility=no
3524   #enable_abi_check=no
3525   #enable_symvers=no
3526   #enable_hosted_libstdcxx=yes
3527
3528   # Find platform-specific directories containing configuration info.
3529   # Also possibly modify flags used elsewhere, as needed by the platform.
3530
3531   . $glibcxx_srcdir/configure.host
3532   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3533 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3534   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3535 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3536
3537
3538
3539 #AC_MSG_NOTICE([====== Starting libtool configuration])
3540
3541 # Check whether --enable-shared or --disable-shared was given.
3542 if test "${enable_shared+set}" = set; then
3543   enableval="$enable_shared"
3544   p=${PACKAGE-default}
3545 case $enableval in
3546 yes) enable_shared=yes ;;
3547 no) enable_shared=no ;;
3548 *)
3549   enable_shared=no
3550   # Look at the argument we got.  We use all the common list separators.
3551   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3552   for pkg in $enableval; do
3553     if test "X$pkg" = "X$p"; then
3554       enable_shared=yes
3555     fi
3556   done
3557   IFS="$ac_save_ifs"
3558   ;;
3559 esac
3560 else
3561   enable_shared=yes
3562 fi;
3563 # Check whether --enable-static or --disable-static was given.
3564 if test "${enable_static+set}" = set; then
3565   enableval="$enable_static"
3566   p=${PACKAGE-default}
3567 case $enableval in
3568 yes) enable_static=yes ;;
3569 no) enable_static=no ;;
3570 *)
3571   enable_static=no
3572   # Look at the argument we got.  We use all the common list separators.
3573   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3574   for pkg in $enableval; do
3575     if test "X$pkg" = "X$p"; then
3576       enable_static=yes
3577     fi
3578   done
3579   IFS="$ac_save_ifs"
3580   ;;
3581 esac
3582 else
3583   enable_static=yes
3584 fi;
3585 # Check whether --enable-fast-install or --disable-fast-install was given.
3586 if test "${enable_fast_install+set}" = set; then
3587   enableval="$enable_fast_install"
3588   p=${PACKAGE-default}
3589 case $enableval in
3590 yes) enable_fast_install=yes ;;
3591 no) enable_fast_install=no ;;
3592 *)
3593   enable_fast_install=no
3594   # Look at the argument we got.  We use all the common list separators.
3595   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3596   for pkg in $enableval; do
3597     if test "X$pkg" = "X$p"; then
3598       enable_fast_install=yes
3599     fi
3600   done
3601   IFS="$ac_save_ifs"
3602   ;;
3603 esac
3604 else
3605   enable_fast_install=yes
3606 fi;
3607
3608 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3609 if test "${with_gnu_ld+set}" = set; then
3610   withval="$with_gnu_ld"
3611   test "$withval" = no || with_gnu_ld=yes
3612 else
3613   with_gnu_ld=no
3614 fi;
3615 ac_prog=ld
3616 if test "$GCC" = yes; then
3617   # Check if gcc -print-prog-name=ld gives a path.
3618   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3619 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3620   case $host in
3621   *-*-mingw*)
3622     # gcc leaves a trailing carriage return which upsets mingw
3623     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3624   *)
3625     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3626   esac
3627   case $ac_prog in
3628     # Accept absolute paths.
3629     [\\/]* | [A-Za-z]:[\\/]*)
3630       re_direlt='/[^/][^/]*/\.\./'
3631       # Canonicalize the path of ld
3632       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3633       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3634         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3635       done
3636       test -z "$LD" && LD="$ac_prog"
3637       ;;
3638   "")
3639     # If it fails, then pretend we aren't using GCC.
3640     ac_prog=ld
3641     ;;
3642   *)
3643     # If it is relative, then search for the first ld in PATH.
3644     with_gnu_ld=unknown
3645     ;;
3646   esac
3647 elif test "$with_gnu_ld" = yes; then
3648   echo "$as_me:$LINENO: checking for GNU ld" >&5
3649 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3650 else
3651   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3652 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3653 fi
3654 if test "${lt_cv_path_LD+set}" = set; then
3655   echo $ECHO_N "(cached) $ECHO_C" >&6
3656 else
3657   if test -z "$LD"; then
3658   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3659   for ac_dir in $PATH; do
3660     test -z "$ac_dir" && ac_dir=.
3661     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3662       lt_cv_path_LD="$ac_dir/$ac_prog"
3663       # Check to see if the program is GNU ld.  I'd rather use --version,
3664       # but apparently some GNU ld's only accept -v.
3665       # Break only if it was the GNU/non-GNU ld that we prefer.
3666       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3667         test "$with_gnu_ld" != no && break
3668       else
3669         test "$with_gnu_ld" != yes && break
3670       fi
3671     fi
3672   done
3673   IFS="$ac_save_ifs"
3674 else
3675   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3676 fi
3677 fi
3678
3679 LD="$lt_cv_path_LD"
3680 if test -n "$LD"; then
3681   echo "$as_me:$LINENO: result: $LD" >&5
3682 echo "${ECHO_T}$LD" >&6
3683 else
3684   echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3686 fi
3687 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3688 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3689    { (exit 1); exit 1; }; }
3690 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3691 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3692 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3693   echo $ECHO_N "(cached) $ECHO_C" >&6
3694 else
3695   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3696 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3697   lt_cv_prog_gnu_ld=yes
3698 else
3699   lt_cv_prog_gnu_ld=no
3700 fi
3701 fi
3702 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3703 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3704 with_gnu_ld=$lt_cv_prog_gnu_ld
3705
3706
3707 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3708 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3709 if test "${lt_cv_ld_reload_flag+set}" = set; then
3710   echo $ECHO_N "(cached) $ECHO_C" >&6
3711 else
3712   lt_cv_ld_reload_flag='-r'
3713 fi
3714 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3715 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3716 reload_flag=$lt_cv_ld_reload_flag
3717 test -n "$reload_flag" && reload_flag=" $reload_flag"
3718
3719 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3720 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3721 if test "${lt_cv_path_NM+set}" = set; then
3722   echo $ECHO_N "(cached) $ECHO_C" >&6
3723 else
3724   if test -n "$NM"; then
3725   # Let the user override the test.
3726   lt_cv_path_NM="$NM"
3727 else
3728   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3729   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3730     test -z "$ac_dir" && ac_dir=.
3731     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3732     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3733       # Check to see if the nm accepts a BSD-compat flag.
3734       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3735       #   nm: unknown option "B" ignored
3736       # Tru64's nm complains that /dev/null is an invalid object file
3737       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3738         lt_cv_path_NM="$tmp_nm -B"
3739         break
3740       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3741         lt_cv_path_NM="$tmp_nm -p"
3742         break
3743       else
3744         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3745         continue # so that we can try to find one that supports BSD flags
3746       fi
3747     fi
3748   done
3749   IFS="$ac_save_ifs"
3750   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3751 fi
3752 fi
3753
3754 NM="$lt_cv_path_NM"
3755 echo "$as_me:$LINENO: result: $NM" >&5
3756 echo "${ECHO_T}$NM" >&6
3757
3758 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3759 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3760 if test "${lt_cv_deplibs_check_method+set}" = set; then
3761   echo $ECHO_N "(cached) $ECHO_C" >&6
3762 else
3763   lt_cv_file_magic_cmd='$MAGIC_CMD'
3764 lt_cv_file_magic_test_file=
3765 lt_cv_deplibs_check_method='unknown'
3766 # Need to set the preceding variable on all platforms that support
3767 # interlibrary dependencies.
3768 # 'none' -- dependencies not supported.
3769 # `unknown' -- same as none, but documents that we really don't know.
3770 # 'pass_all' -- all dependencies passed with no checks.
3771 # 'test_compile' -- check by making test program.
3772 # 'file_magic [regex]' -- check by looking for files in library path
3773 # which responds to the $file_magic_cmd with a given egrep regex.
3774 # If you have `file' or equivalent on your system and you're not sure
3775 # whether `pass_all' will *always* work, you probably want this one.
3776
3777 case $host_os in
3778 aix*)
3779   lt_cv_deplibs_check_method=pass_all
3780   ;;
3781
3782 beos*)
3783   lt_cv_deplibs_check_method=pass_all
3784   ;;
3785
3786 bsdi4*)
3787   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3788   lt_cv_file_magic_cmd='/usr/bin/file -L'
3789   lt_cv_file_magic_test_file=/shlib/libc.so
3790   ;;
3791
3792 cygwin* | mingw* |pw32*)
3793   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3794   lt_cv_file_magic_cmd='$OBJDUMP -f'
3795   ;;
3796
3797 darwin* | rhapsody*)
3798   # this will be overwritten by pass_all, but leave it in just in case
3799   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3800   lt_cv_file_magic_cmd='/usr/bin/file -L'
3801   case "$host_os" in
3802   rhapsody* | darwin1.012)
3803     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3804     ;;
3805   *) # Darwin 1.3 on
3806     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3807     ;;
3808   esac
3809   lt_cv_deplibs_check_method=pass_all
3810   ;;
3811
3812 freebsd* )
3813   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3814     case $host_cpu in
3815     i*86 )
3816       # Not sure whether the presence of OpenBSD here was a mistake.
3817       # Let's accept both of them until this is cleared up.
3818       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3819       lt_cv_file_magic_cmd=/usr/bin/file
3820       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3821       ;;
3822     esac
3823   else
3824     lt_cv_deplibs_check_method=pass_all
3825   fi
3826   ;;
3827
3828 gnu*)
3829   lt_cv_deplibs_check_method=pass_all
3830   ;;
3831
3832 hpux10.20*|hpux11*)
3833   case $host_cpu in
3834   hppa*)
3835     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3836     lt_cv_file_magic_cmd=/usr/bin/file
3837     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3838     ;;
3839   ia64*)
3840     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3841     lt_cv_file_magic_cmd=/usr/bin/file
3842     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3843     ;;
3844   esac
3845   ;;
3846
3847 irix5* | irix6*)
3848   case $host_os in
3849   irix5*)
3850     # this will be overridden with pass_all, but let us keep it just in case
3851     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3852     ;;
3853   *)
3854     case $LD in
3855     *-32|*"-32 ") libmagic=32-bit;;
3856     *-n32|*"-n32 ") libmagic=N32;;
3857     *-64|*"-64 ") libmagic=64-bit;;
3858     *) libmagic=never-match;;
3859     esac
3860     # this will be overridden with pass_all, but let us keep it just in case
3861     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3862     ;;
3863   esac
3864   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3865   lt_cv_deplibs_check_method=pass_all
3866   ;;
3867
3868 # This must be Linux ELF.
3869 linux-gnu*)
3870   case $host_cpu in
3871   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3872     lt_cv_deplibs_check_method=pass_all ;;
3873   *)
3874     # glibc up to 2.1.1 does not perform some relocations on ARM
3875     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3876   esac
3877   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3878   ;;
3879
3880 netbsd*)
3881   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3882     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3883   else
3884     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3885   fi
3886   ;;
3887
3888 newsos6)
3889   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3890   lt_cv_file_magic_cmd=/usr/bin/file
3891   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3892   ;;
3893
3894 osf3* | osf4* | osf5*)
3895   # this will be overridden with pass_all, but let us keep it just in case
3896   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3897   lt_cv_file_magic_test_file=/shlib/libc.so
3898   lt_cv_deplibs_check_method=pass_all
3899   ;;
3900
3901 sco3.2v5*)
3902   lt_cv_deplibs_check_method=pass_all
3903   ;;
3904
3905 solaris*)
3906   lt_cv_deplibs_check_method=pass_all
3907   lt_cv_file_magic_test_file=/lib/libc.so
3908   ;;
3909
3910 sysv5uw[78]* | sysv4*uw2*)
3911   lt_cv_deplibs_check_method=pass_all
3912   ;;
3913
3914 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3915   case $host_vendor in
3916   ncr)
3917     lt_cv_deplibs_check_method=pass_all
3918     ;;
3919   motorola)
3920     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]'
3921     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3922     ;;
3923   esac
3924   ;;
3925 esac
3926
3927 fi
3928 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3929 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3930 file_magic_cmd=$lt_cv_file_magic_cmd
3931 deplibs_check_method=$lt_cv_deplibs_check_method
3932
3933
3934
3935
3936
3937 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3938
3939 # Only perform the check for file, if the check method requires it
3940 case $deplibs_check_method in
3941 file_magic*)
3942   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3943     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3944 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3945 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3946   echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948   case $MAGIC_CMD in
3949   /*)
3950   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3951   ;;
3952   ?:/*)
3953   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3954   ;;
3955   *)
3956   ac_save_MAGIC_CMD="$MAGIC_CMD"
3957   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3958   ac_dummy="/usr/bin:$PATH"
3959   for ac_dir in $ac_dummy; do
3960     test -z "$ac_dir" && ac_dir=.
3961     if test -f $ac_dir/${ac_tool_prefix}file; then
3962       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3963       if test -n "$file_magic_test_file"; then
3964         case $deplibs_check_method in
3965         "file_magic "*)
3966           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3967           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3968           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3969             egrep "$file_magic_regex" > /dev/null; then
3970             :
3971           else
3972             cat <<EOF 1>&2
3973
3974 *** Warning: the command libtool uses to detect shared libraries,
3975 *** $file_magic_cmd, produces output that libtool cannot recognize.
3976 *** The result is that libtool may fail to recognize shared libraries
3977 *** as such.  This will affect the creation of libtool libraries that
3978 *** depend on shared libraries, but programs linked with such libtool
3979 *** libraries will work regardless of this problem.  Nevertheless, you
3980 *** may want to report the problem to your system manager and/or to
3981 *** bug-libtool@gnu.org
3982
3983 EOF
3984           fi ;;
3985         esac
3986       fi
3987       break
3988     fi
3989   done
3990   IFS="$ac_save_ifs"
3991   MAGIC_CMD="$ac_save_MAGIC_CMD"
3992   ;;
3993 esac
3994 fi
3995
3996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3997 if test -n "$MAGIC_CMD"; then
3998   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3999 echo "${ECHO_T}$MAGIC_CMD" >&6
4000 else
4001   echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4003 fi
4004
4005 if test -z "$lt_cv_path_MAGIC_CMD"; then
4006   if test -n "$ac_tool_prefix"; then
4007     echo "$as_me:$LINENO: checking for file" >&5
4008 echo $ECHO_N "checking for file... $ECHO_C" >&6
4009 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4010   echo $ECHO_N "(cached) $ECHO_C" >&6
4011 else
4012   case $MAGIC_CMD in
4013   /*)
4014   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4015   ;;
4016   ?:/*)
4017   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4018   ;;
4019   *)
4020   ac_save_MAGIC_CMD="$MAGIC_CMD"
4021   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4022   ac_dummy="/usr/bin:$PATH"
4023   for ac_dir in $ac_dummy; do
4024     test -z "$ac_dir" && ac_dir=.
4025     if test -f $ac_dir/file; then
4026       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4027       if test -n "$file_magic_test_file"; then
4028         case $deplibs_check_method in
4029         "file_magic "*)
4030           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4031           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4032           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4033             egrep "$file_magic_regex" > /dev/null; then
4034             :
4035           else
4036             cat <<EOF 1>&2
4037
4038 *** Warning: the command libtool uses to detect shared libraries,
4039 *** $file_magic_cmd, produces output that libtool cannot recognize.
4040 *** The result is that libtool may fail to recognize shared libraries
4041 *** as such.  This will affect the creation of libtool libraries that
4042 *** depend on shared libraries, but programs linked with such libtool
4043 *** libraries will work regardless of this problem.  Nevertheless, you
4044 *** may want to report the problem to your system manager and/or to
4045 *** bug-libtool@gnu.org
4046
4047 EOF
4048           fi ;;
4049         esac
4050       fi
4051       break
4052     fi
4053   done
4054   IFS="$ac_save_ifs"
4055   MAGIC_CMD="$ac_save_MAGIC_CMD"
4056   ;;
4057 esac
4058 fi
4059
4060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4061 if test -n "$MAGIC_CMD"; then
4062   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4063 echo "${ECHO_T}$MAGIC_CMD" >&6
4064 else
4065   echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4067 fi
4068
4069   else
4070     MAGIC_CMD=:
4071   fi
4072 fi
4073
4074   fi
4075   ;;
4076 esac
4077
4078 if test -n "$ac_tool_prefix"; then
4079   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4081 echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4083 if test "${ac_cv_prog_RANLIB+set}" = set; then
4084   echo $ECHO_N "(cached) $ECHO_C" >&6
4085 else
4086   if test -n "$RANLIB"; then
4087   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4088 else
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4091 do
4092   IFS=$as_save_IFS
4093   test -z "$as_dir" && as_dir=.
4094   for ac_exec_ext in '' $ac_executable_extensions; do
4095   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4097     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4098     break 2
4099   fi
4100 done
4101 done
4102
4103 fi
4104 fi
4105 RANLIB=$ac_cv_prog_RANLIB
4106 if test -n "$RANLIB"; then
4107   echo "$as_me:$LINENO: result: $RANLIB" >&5
4108 echo "${ECHO_T}$RANLIB" >&6
4109 else
4110   echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4112 fi
4113
4114 fi
4115 if test -z "$ac_cv_prog_RANLIB"; then
4116   ac_ct_RANLIB=$RANLIB
4117   # Extract the first word of "ranlib", so it can be a program name with args.
4118 set dummy ranlib; ac_word=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4122   echo $ECHO_N "(cached) $ECHO_C" >&6
4123 else
4124   if test -n "$ac_ct_RANLIB"; then
4125   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4126 else
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 for as_dir in $PATH
4129 do
4130   IFS=$as_save_IFS
4131   test -z "$as_dir" && as_dir=.
4132   for ac_exec_ext in '' $ac_executable_extensions; do
4133   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134     ac_cv_prog_ac_ct_RANLIB="ranlib"
4135     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136     break 2
4137   fi
4138 done
4139 done
4140
4141   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4142 fi
4143 fi
4144 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4145 if test -n "$ac_ct_RANLIB"; then
4146   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4147 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4148 else
4149   echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4151 fi
4152
4153   RANLIB=$ac_ct_RANLIB
4154 else
4155   RANLIB="$ac_cv_prog_RANLIB"
4156 fi
4157
4158 if test -n "$ac_tool_prefix"; then
4159   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4160 set dummy ${ac_tool_prefix}strip; ac_word=$2
4161 echo "$as_me:$LINENO: checking for $ac_word" >&5
4162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4163 if test "${ac_cv_prog_STRIP+set}" = set; then
4164   echo $ECHO_N "(cached) $ECHO_C" >&6
4165 else
4166   if test -n "$STRIP"; then
4167   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4168 else
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 for as_dir in $PATH
4171 do
4172   IFS=$as_save_IFS
4173   test -z "$as_dir" && as_dir=.
4174   for ac_exec_ext in '' $ac_executable_extensions; do
4175   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4177     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4178     break 2
4179   fi
4180 done
4181 done
4182
4183 fi
4184 fi
4185 STRIP=$ac_cv_prog_STRIP
4186 if test -n "$STRIP"; then
4187   echo "$as_me:$LINENO: result: $STRIP" >&5
4188 echo "${ECHO_T}$STRIP" >&6
4189 else
4190   echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194 fi
4195 if test -z "$ac_cv_prog_STRIP"; then
4196   ac_ct_STRIP=$STRIP
4197   # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip; ac_word=$2
4199 echo "$as_me:$LINENO: checking for $ac_word" >&5
4200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4201 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4202   echo $ECHO_N "(cached) $ECHO_C" >&6
4203 else
4204   if test -n "$ac_ct_STRIP"; then
4205   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4206 else
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4209 do
4210   IFS=$as_save_IFS
4211   test -z "$as_dir" && as_dir=.
4212   for ac_exec_ext in '' $ac_executable_extensions; do
4213   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214     ac_cv_prog_ac_ct_STRIP="strip"
4215     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4216     break 2
4217   fi
4218 done
4219 done
4220
4221   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4222 fi
4223 fi
4224 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4225 if test -n "$ac_ct_STRIP"; then
4226   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4227 echo "${ECHO_T}$ac_ct_STRIP" >&6
4228 else
4229   echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4231 fi
4232
4233   STRIP=$ac_ct_STRIP
4234 else
4235   STRIP="$ac_cv_prog_STRIP"
4236 fi
4237
4238
4239 # Check for any special flags to pass to ltconfig.
4240 libtool_flags="--cache-file=$cache_file"
4241 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4242 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4243 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4244 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4245 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4246
4247
4248 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4249 if test "${enable_libtool_lock+set}" = set; then
4250   enableval="$enable_libtool_lock"
4251
4252 fi;
4253 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4254 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4255
4256
4257 # Check whether --with-pic or --without-pic was given.
4258 if test "${with_pic+set}" = set; then
4259   withval="$with_pic"
4260   pic_mode="$withval"
4261 else
4262   pic_mode=default
4263 fi;
4264 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4265 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4266
4267 # Some flags need to be propagated to the compiler or linker for good
4268 # libtool support.
4269 case $host in
4270 *-*-irix6*)
4271   # Find out which ABI we are using.
4272   echo '#line 4272 "configure"' > conftest.$ac_ext
4273   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4274   (eval $ac_compile) 2>&5
4275   ac_status=$?
4276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277   (exit $ac_status); }; then
4278    if test "$lt_cv_prog_gnu_ld" = yes; then
4279     case `/usr/bin/file conftest.$ac_objext` in
4280     *32-bit*)
4281       LD="${LD-ld} -melf32bsmip"
4282       ;;
4283     *N32*)
4284       LD="${LD-ld} -melf32bmipn32"
4285       ;;
4286     *64-bit*)
4287       LD="${LD-ld} -melf64bmip"
4288       ;;
4289     esac
4290    else
4291     case `/usr/bin/file conftest.$ac_objext` in
4292     *32-bit*)
4293       LD="${LD-ld} -32"
4294       ;;
4295     *N32*)
4296       LD="${LD-ld} -n32"
4297       ;;
4298     *64-bit*)
4299       LD="${LD-ld} -64"
4300       ;;
4301     esac
4302    fi
4303   fi
4304   rm -rf conftest*
4305   ;;
4306
4307 ia64-*-hpux*)
4308   # Find out which ABI we are using.
4309   echo 'int i;' > conftest.$ac_ext
4310   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4311   (eval $ac_compile) 2>&5
4312   ac_status=$?
4313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314   (exit $ac_status); }; then
4315     case "`/usr/bin/file conftest.o`" in
4316     *ELF-32*)
4317       HPUX_IA64_MODE="32"
4318       ;;
4319     *ELF-64*)
4320       HPUX_IA64_MODE="64"
4321       ;;
4322     esac
4323   fi
4324   rm -rf conftest*
4325   ;;
4326
4327 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4328   # Find out which ABI we are using.
4329   echo 'int i;' > conftest.$ac_ext
4330   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4331   (eval $ac_compile) 2>&5
4332   ac_status=$?
4333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334   (exit $ac_status); }; then
4335     case "`/usr/bin/file conftest.o`" in
4336     *32-bit*)
4337       case $host in
4338         x86_64-*linux*)
4339           LD="${LD-ld} -m elf_i386"
4340           ;;
4341         ppc64-*linux*|powerpc64-*linux*)
4342           LD="${LD-ld} -m elf32ppclinux"
4343           ;;
4344         s390x-*linux*)
4345           LD="${LD-ld} -m elf_s390"
4346           ;;
4347         sparc64-*linux*)
4348           LD="${LD-ld} -m elf32_sparc"
4349           ;;
4350       esac
4351       ;;
4352     *64-bit*)
4353       case $host in
4354         x86_64-*linux*)
4355           LD="${LD-ld} -m elf_x86_64"
4356           ;;
4357         ppc*-*linux*|powerpc*-*linux*)
4358           LD="${LD-ld} -m elf64ppc"
4359           ;;
4360         s390*-*linux*)
4361           LD="${LD-ld} -m elf64_s390"
4362           ;;
4363         sparc*-*linux*)
4364           LD="${LD-ld} -m elf64_sparc"
4365           ;;
4366       esac
4367       ;;
4368     esac
4369   fi
4370   rm -rf conftest*
4371   ;;
4372
4373 *-*-sco3.2v5*)
4374   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4375   SAVE_CFLAGS="$CFLAGS"
4376   CFLAGS="$CFLAGS -belf"
4377   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4378 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4379 if test "${lt_cv_cc_needs_belf+set}" = set; then
4380   echo $ECHO_N "(cached) $ECHO_C" >&6
4381 else
4382
4383
4384      ac_ext=c
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389
4390      if test x$gcc_no_link = xyes; then
4391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4393    { (exit 1); exit 1; }; }
4394 fi
4395 cat >conftest.$ac_ext <<_ACEOF
4396 #line $LINENO "configure"
4397 /* confdefs.h.  */
4398 _ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h.  */
4402
4403 int
4404 main ()
4405 {
4406
4407   ;
4408   return 0;
4409 }
4410 _ACEOF
4411 rm -f conftest.$ac_objext conftest$ac_exeext
4412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4413   (eval $ac_link) 2>&5
4414   ac_status=$?
4415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416   (exit $ac_status); } &&
4417          { ac_try='test -s conftest$ac_exeext'
4418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4419   (eval $ac_try) 2>&5
4420   ac_status=$?
4421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422   (exit $ac_status); }; }; then
4423   lt_cv_cc_needs_belf=yes
4424 else
4425   echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4427
4428 lt_cv_cc_needs_belf=no
4429 fi
4430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4431      ac_ext=c
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436
4437 fi
4438 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4439 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4440   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4441     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4442     CFLAGS="$SAVE_CFLAGS"
4443   fi
4444   ;;
4445
4446
4447 esac
4448
4449
4450 # Save cache, so that ltconfig can load it
4451 cat >confcache <<\_ACEOF
4452 # This file is a shell script that caches the results of configure
4453 # tests run on this system so they can be shared between configure
4454 # scripts and configure runs, see configure's option --config-cache.
4455 # It is not useful on other systems.  If it contains results you don't
4456 # want to keep, you may remove or edit it.
4457 #
4458 # config.status only pays attention to the cache file if you give it
4459 # the --recheck option to rerun configure.
4460 #
4461 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4462 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4463 # following values.
4464
4465 _ACEOF
4466
4467 # The following way of writing the cache mishandles newlines in values,
4468 # but we know of no workaround that is simple, portable, and efficient.
4469 # So, don't put newlines in cache variables' values.
4470 # Ultrix sh set writes to stderr and can't be redirected directly,
4471 # and sets the high bit in the cache file unless we assign to the vars.
4472 {
4473   (set) 2>&1 |
4474     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4475     *ac_space=\ *)
4476       # `set' does not quote correctly, so add quotes (double-quote
4477       # substitution turns \\\\ into \\, and sed turns \\ into \).
4478       sed -n \
4479         "s/'/'\\\\''/g;
4480           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4481       ;;
4482     *)
4483       # `set' quotes correctly as required by POSIX, so do not add quotes.
4484       sed -n \
4485         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4486       ;;
4487     esac;
4488 } |
4489   sed '
4490      t clear
4491      : clear
4492      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4493      t end
4494      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4495      : end' >>confcache
4496 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4497   if test -w $cache_file; then
4498     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4499     cat confcache >$cache_file
4500   else
4501     echo "not updating unwritable cache $cache_file"
4502   fi
4503 fi
4504 rm -f confcache
4505
4506 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4507 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4508 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4509 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4510 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4511 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4512 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4513 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4514 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4515 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4516 echo "$as_me: error: libtool configure failed" >&2;}
4517    { (exit 1); exit 1; }; }
4518
4519 # Reload cache, that may have been modified by ltconfig
4520 if test -r "$cache_file"; then
4521   # Some versions of bash will fail to source /dev/null (special
4522   # files actually), so we avoid doing that.
4523   if test -f "$cache_file"; then
4524     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4525 echo "$as_me: loading cache $cache_file" >&6;}
4526     case $cache_file in
4527       [\\/]* | ?:[\\/]* ) . $cache_file;;
4528       *)                      . ./$cache_file;;
4529     esac
4530   fi
4531 else
4532   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4533 echo "$as_me: creating cache $cache_file" >&6;}
4534   >$cache_file
4535 fi
4536
4537
4538 # This can be used to rebuild libtool when needed
4539 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4540
4541 # Always use our own libtool.
4542 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4543
4544 # Redirect the config.log output again, so that the ltconfig log is not
4545 # clobbered by the next message.
4546 exec 5>>./config.log
4547
4548 ac_ext=cc
4549 ac_cpp='$CXXCPP $CPPFLAGS'
4550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4553 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4554 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4555 if test -z "$CXXCPP"; then
4556   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4557   echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559       # Double quotes because CXXCPP needs to be expanded
4560     for CXXCPP in "$CXX -E" "/lib/cpp"
4561     do
4562       ac_preproc_ok=false
4563 for ac_cxx_preproc_warn_flag in '' yes
4564 do
4565   # Use a header file that comes with gcc, so configuring glibc
4566   # with a fresh cross-compiler works.
4567   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4568   # <limits.h> exists even on freestanding compilers.
4569   # On the NeXT, cc -E runs the code through the compiler's parser,
4570   # not just through cpp. "Syntax error" is here to catch this case.
4571   cat >conftest.$ac_ext <<_ACEOF
4572 #line $LINENO "configure"
4573 /* confdefs.h.  */
4574 _ACEOF
4575 cat confdefs.h >>conftest.$ac_ext
4576 cat >>conftest.$ac_ext <<_ACEOF
4577 /* end confdefs.h.  */
4578 #ifdef __STDC__
4579 # include <limits.h>
4580 #else
4581 # include <assert.h>
4582 #endif
4583                      Syntax error
4584 _ACEOF
4585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4586   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4587   ac_status=$?
4588   grep -v '^ *+' conftest.er1 >conftest.err
4589   rm -f conftest.er1
4590   cat conftest.err >&5
4591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592   (exit $ac_status); } >/dev/null; then
4593   if test -s conftest.err; then
4594     ac_cpp_err=$ac_cxx_preproc_warn_flag
4595   else
4596     ac_cpp_err=
4597   fi
4598 else
4599   ac_cpp_err=yes
4600 fi
4601 if test -z "$ac_cpp_err"; then
4602   :
4603 else
4604   echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4606
4607   # Broken: fails on valid input.
4608 continue
4609 fi
4610 rm -f conftest.err conftest.$ac_ext
4611
4612   # OK, works on sane cases.  Now check whether non-existent headers
4613   # can be detected and how.
4614   cat >conftest.$ac_ext <<_ACEOF
4615 #line $LINENO "configure"
4616 /* confdefs.h.  */
4617 _ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h.  */
4621 #include <ac_nonexistent.h>
4622 _ACEOF
4623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4624   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4625   ac_status=$?
4626   grep -v '^ *+' conftest.er1 >conftest.err
4627   rm -f conftest.er1
4628   cat conftest.err >&5
4629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630   (exit $ac_status); } >/dev/null; then
4631   if test -s conftest.err; then
4632     ac_cpp_err=$ac_cxx_preproc_warn_flag
4633   else
4634     ac_cpp_err=
4635   fi
4636 else
4637   ac_cpp_err=yes
4638 fi
4639 if test -z "$ac_cpp_err"; then
4640   # Broken: success on invalid input.
4641 continue
4642 else
4643   echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4645
4646   # Passes both tests.
4647 ac_preproc_ok=:
4648 break
4649 fi
4650 rm -f conftest.err conftest.$ac_ext
4651
4652 done
4653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4654 rm -f conftest.err conftest.$ac_ext
4655 if $ac_preproc_ok; then
4656   break
4657 fi
4658
4659     done
4660     ac_cv_prog_CXXCPP=$CXXCPP
4661
4662 fi
4663   CXXCPP=$ac_cv_prog_CXXCPP
4664 else
4665   ac_cv_prog_CXXCPP=$CXXCPP
4666 fi
4667 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4668 echo "${ECHO_T}$CXXCPP" >&6
4669 ac_preproc_ok=false
4670 for ac_cxx_preproc_warn_flag in '' yes
4671 do
4672   # Use a header file that comes with gcc, so configuring glibc
4673   # with a fresh cross-compiler works.
4674   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4675   # <limits.h> exists even on freestanding compilers.
4676   # On the NeXT, cc -E runs the code through the compiler's parser,
4677   # not just through cpp. "Syntax error" is here to catch this case.
4678   cat >conftest.$ac_ext <<_ACEOF
4679 #line $LINENO "configure"
4680 /* confdefs.h.  */
4681 _ACEOF
4682 cat confdefs.h >>conftest.$ac_ext
4683 cat >>conftest.$ac_ext <<_ACEOF
4684 /* end confdefs.h.  */
4685 #ifdef __STDC__
4686 # include <limits.h>
4687 #else
4688 # include <assert.h>
4689 #endif
4690                      Syntax error
4691 _ACEOF
4692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4694   ac_status=$?
4695   grep -v '^ *+' conftest.er1 >conftest.err
4696   rm -f conftest.er1
4697   cat conftest.err >&5
4698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699   (exit $ac_status); } >/dev/null; then
4700   if test -s conftest.err; then
4701     ac_cpp_err=$ac_cxx_preproc_warn_flag
4702   else
4703     ac_cpp_err=
4704   fi
4705 else
4706   ac_cpp_err=yes
4707 fi
4708 if test -z "$ac_cpp_err"; then
4709   :
4710 else
4711   echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.$ac_ext >&5
4713
4714   # Broken: fails on valid input.
4715 continue
4716 fi
4717 rm -f conftest.err conftest.$ac_ext
4718
4719   # OK, works on sane cases.  Now check whether non-existent headers
4720   # can be detected and how.
4721   cat >conftest.$ac_ext <<_ACEOF
4722 #line $LINENO "configure"
4723 /* confdefs.h.  */
4724 _ACEOF
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h.  */
4728 #include <ac_nonexistent.h>
4729 _ACEOF
4730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4731   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4732   ac_status=$?
4733   grep -v '^ *+' conftest.er1 >conftest.err
4734   rm -f conftest.er1
4735   cat conftest.err >&5
4736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737   (exit $ac_status); } >/dev/null; then
4738   if test -s conftest.err; then
4739     ac_cpp_err=$ac_cxx_preproc_warn_flag
4740   else
4741     ac_cpp_err=
4742   fi
4743 else
4744   ac_cpp_err=yes
4745 fi
4746 if test -z "$ac_cpp_err"; then
4747   # Broken: success on invalid input.
4748 continue
4749 else
4750   echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4752
4753   # Passes both tests.
4754 ac_preproc_ok=:
4755 break
4756 fi
4757 rm -f conftest.err conftest.$ac_ext
4758
4759 done
4760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4761 rm -f conftest.err conftest.$ac_ext
4762 if $ac_preproc_ok; then
4763   :
4764 else
4765   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4766 See \`config.log' for more details." >&5
4767 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4768 See \`config.log' for more details." >&2;}
4769    { (exit 1); exit 1; }; }
4770 fi
4771
4772 ac_ext=c
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777
4778
4779
4780 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4781 lt_save_CC="$CC"
4782 lt_save_CFLAGS="$CFLAGS"
4783 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4784 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4785 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4786 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4787 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4788 deplibs_check_method="$deplibs_check_method" \
4789 file_magic_cmd="$file_magic_cmd" \
4790 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4791 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4792 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4793 echo "$as_me: error: libtool tag configuration failed" >&2;}
4794    { (exit 1); exit 1; }; }
4795 CC="$lt_save_CC"
4796 CFLAGS="$lt_save_CFLAGS"
4797
4798 # Redirect the config.log output again, so that the ltconfig log is not
4799 # clobbered by the next message.
4800 exec 5>>./config.log
4801
4802
4803
4804
4805
4806
4807
4808
4809 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4810
4811 # Possibly disable most of the library.
4812 ## XXX Consider skipping unncessary tests altogether in this case, rather
4813 ## than just ignoring the results.  Faster /and/ more correct, win win.
4814
4815   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4816 if test "${enable_hosted_libstdcxx+set}" = set; then
4817   enableval="$enable_hosted_libstdcxx"
4818
4819 else
4820   enable_hosted_libstdcxx=yes
4821 fi;
4822   if test "$enable_hosted_libstdcxx" = no; then
4823     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4824 echo "$as_me: Only freestanding libraries will be built" >&6;}
4825     is_hosted=no
4826     hosted_define=0
4827     enable_abi_check=no
4828     enable_libstdcxx_pch=no
4829   else
4830     is_hosted=yes
4831     hosted_define=1
4832   fi
4833
4834
4835 cat >>confdefs.h <<_ACEOF
4836 #define _GLIBCXX_HOSTED $hosted_define
4837 _ACEOF
4838
4839
4840
4841 # Check for support bits and g++ features that don't require linking.
4842
4843   echo "$as_me:$LINENO: checking for exception model to use" >&5
4844 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4845
4846
4847   ac_ext=cc
4848 ac_cpp='$CXXCPP $CPPFLAGS'
4849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4852
4853    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4854 if test "${enable_sjlj_exceptions+set}" = set; then
4855   enableval="$enable_sjlj_exceptions"
4856
4857       case "$enableval" in
4858        yes|no|auto) ;;
4859        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4860 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4861    { (exit 1); exit 1; }; } ;;
4862                           esac
4863
4864 else
4865   enable_sjlj_exceptions=auto
4866 fi;
4867
4868
4869   if test $enable_sjlj_exceptions = auto; then
4870     # Botheration.  Now we've got to detect the exception model.  Link tests
4871     # against libgcc.a are problematic since we've not been given proper -L
4872     # bits for single-tree newlib and libgloss.
4873     #
4874     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4875     cat > conftest.$ac_ext << EOF
4876 #line 4876 "configure"
4877 struct S { ~S(); };
4878 void bar();
4879 void foo()
4880 {
4881   S s;
4882   bar();
4883 }
4884 EOF
4885     old_CXXFLAGS="$CXXFLAGS"
4886     CXXFLAGS=-S
4887     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4888   (eval $ac_compile) 2>&5
4889   ac_status=$?
4890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891   (exit $ac_status); }; then
4892       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4893         enable_sjlj_exceptions=yes
4894       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4895         enable_sjlj_exceptions=no
4896       fi
4897     fi
4898     CXXFLAGS="$old_CXXFLAGS"
4899     rm -f conftest*
4900   fi
4901
4902   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
4903   # to two different models.
4904   case $enable_sjlj_exceptions in
4905     yes)
4906
4907 cat >>confdefs.h <<\_ACEOF
4908 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4909 _ACEOF
4910
4911       ac_exception_model_name=sjlj
4912       ;;
4913     no)
4914       ac_exception_model_name="call frame"
4915       ;;
4916     *)
4917       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4918 echo "$as_me: error: unable to detect exception model" >&2;}
4919    { (exit 1); exit 1; }; }
4920       ;;
4921   esac
4922  ac_ext=c
4923 ac_cpp='$CPP $CPPFLAGS'
4924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927
4928  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4929 echo "${ECHO_T}$ac_exception_model_name" >&6
4930
4931
4932   echo "$as_me:$LINENO: checking for use of libunwind" >&5
4933 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4934    # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4935 if test "${enable_libunwind_exceptions+set}" = set; then
4936   enableval="$enable_libunwind_exceptions"
4937
4938       case "$enableval" in
4939        yes|no) ;;
4940        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4941 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4942    { (exit 1); exit 1; }; } ;;
4943       esac
4944
4945 else
4946   enable_libunwind_exceptions=no
4947 fi;
4948
4949   echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4950 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4951   if test $enable_libunwind_exceptions = yes; then
4952     LIBUNWIND_FLAG="-lunwind"
4953   else
4954     LIBUNWIND_FLAG=""
4955   fi
4956
4957
4958
4959   echo "$as_me:$LINENO: checking for enabled PCH" >&5
4960 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4961    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4962 if test "${enable_libstdcxx_pch+set}" = set; then
4963   enableval="$enable_libstdcxx_pch"
4964
4965       case "$enableval" in
4966        yes|no) ;;
4967        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4968 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4969    { (exit 1); exit 1; }; } ;;
4970       esac
4971
4972 else
4973   enable_libstdcxx_pch=$is_hosted
4974 fi;
4975
4976   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4977 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4978
4979   if test $enable_libstdcxx_pch = yes; then
4980     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4981 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4982 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4983   echo $ECHO_N "(cached) $ECHO_C" >&6
4984 else
4985   ac_save_CXXFLAGS="$CXXFLAGS"
4986        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4987
4988
4989        ac_ext=cc
4990 ac_cpp='$CXXCPP $CPPFLAGS'
4991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4994
4995        echo '#include <math.h>' > conftest.h
4996        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4997                           -o conftest.h.gch 1>&5 2>&1 &&
4998                 echo '#error "pch failed"' > conftest.h &&
4999           echo '#include "conftest.h"' > conftest.cc &&
5000                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5001        then
5002          glibcxx_cv_prog_CXX_pch=yes
5003        else
5004          glibcxx_cv_prog_CXX_pch=no
5005        fi
5006        rm -f conftest*
5007        CXXFLAGS=$ac_save_CXXFLAGS
5008        ac_ext=c
5009 ac_cpp='$CPP $CPPFLAGS'
5010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5013
5014
5015 fi
5016 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5017 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5018     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5019   fi
5020
5021
5022   if test $enable_libstdcxx_pch = yes; then
5023     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5024   else
5025     glibcxx_PCHFLAGS=""
5026   fi
5027
5028
5029
5030 # Enable all the variable C++ runtime options.
5031 # NB: C_MBCHAR must come early.
5032
5033   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5034 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5035    # Check whether --enable-cstdio or --disable-cstdio was given.
5036 if test "${enable_cstdio+set}" = set; then
5037   enableval="$enable_cstdio"
5038
5039       case "$enableval" in
5040        stdio) ;;
5041        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5042 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5043    { (exit 1); exit 1; }; } ;;
5044                           esac
5045
5046 else
5047   enable_cstdio=stdio
5048 fi;
5049
5050
5051   # Now that libio has been removed, you can have any color you want as long
5052   # as it's black.  This is one big no-op until other packages are added, but
5053   # showing the framework never hurts.
5054   case ${enable_cstdio} in
5055     stdio)
5056       CSTDIO_H=config/io/c_io_stdio.h
5057       BASIC_FILE_H=config/io/basic_file_stdio.h
5058       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5059       echo "$as_me:$LINENO: result: stdio" >&5
5060 echo "${ECHO_T}stdio" >&6
5061       ;;
5062   esac
5063
5064
5065
5066
5067
5068 ac_ext=c
5069 ac_cpp='$CPP $CPPFLAGS'
5070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5075 # On Suns, sometimes $CPP names a directory.
5076 if test -n "$CPP" && test -d "$CPP"; then
5077   CPP=
5078 fi
5079 if test -z "$CPP"; then
5080   if test "${ac_cv_prog_CPP+set}" = set; then
5081   echo $ECHO_N "(cached) $ECHO_C" >&6
5082 else
5083       # Double quotes because CPP needs to be expanded
5084     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5085     do
5086       ac_preproc_ok=false
5087 for ac_c_preproc_warn_flag in '' yes
5088 do
5089   # Use a header file that comes with gcc, so configuring glibc
5090   # with a fresh cross-compiler works.
5091   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5092   # <limits.h> exists even on freestanding compilers.
5093   # On the NeXT, cc -E runs the code through the compiler's parser,
5094   # not just through cpp. "Syntax error" is here to catch this case.
5095   cat >conftest.$ac_ext <<_ACEOF
5096 #line $LINENO "configure"
5097 /* confdefs.h.  */
5098 _ACEOF
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h.  */
5102 #ifdef __STDC__
5103 # include <limits.h>
5104 #else
5105 # include <assert.h>
5106 #endif
5107                      Syntax error
5108 _ACEOF
5109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5110   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5111   ac_status=$?
5112   grep -v '^ *+' conftest.er1 >conftest.err
5113   rm -f conftest.er1
5114   cat conftest.err >&5
5115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116   (exit $ac_status); } >/dev/null; then
5117   if test -s conftest.err; then
5118     ac_cpp_err=$ac_c_preproc_warn_flag
5119   else
5120     ac_cpp_err=
5121   fi
5122 else
5123   ac_cpp_err=yes
5124 fi
5125 if test -z "$ac_cpp_err"; then
5126   :
5127 else
5128   echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5130
5131   # Broken: fails on valid input.
5132 continue
5133 fi
5134 rm -f conftest.err conftest.$ac_ext
5135
5136   # OK, works on sane cases.  Now check whether non-existent headers
5137   # can be detected and how.
5138   cat >conftest.$ac_ext <<_ACEOF
5139 #line $LINENO "configure"
5140 /* confdefs.h.  */
5141 _ACEOF
5142 cat confdefs.h >>conftest.$ac_ext
5143 cat >>conftest.$ac_ext <<_ACEOF
5144 /* end confdefs.h.  */
5145 #include <ac_nonexistent.h>
5146 _ACEOF
5147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5148   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5149   ac_status=$?
5150   grep -v '^ *+' conftest.er1 >conftest.err
5151   rm -f conftest.er1
5152   cat conftest.err >&5
5153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154   (exit $ac_status); } >/dev/null; then
5155   if test -s conftest.err; then
5156     ac_cpp_err=$ac_c_preproc_warn_flag
5157   else
5158     ac_cpp_err=
5159   fi
5160 else
5161   ac_cpp_err=yes
5162 fi
5163 if test -z "$ac_cpp_err"; then
5164   # Broken: success on invalid input.
5165 continue
5166 else
5167   echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.$ac_ext >&5
5169
5170   # Passes both tests.
5171 ac_preproc_ok=:
5172 break
5173 fi
5174 rm -f conftest.err conftest.$ac_ext
5175
5176 done
5177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5178 rm -f conftest.err conftest.$ac_ext
5179 if $ac_preproc_ok; then
5180   break
5181 fi
5182
5183     done
5184     ac_cv_prog_CPP=$CPP
5185
5186 fi
5187   CPP=$ac_cv_prog_CPP
5188 else
5189   ac_cv_prog_CPP=$CPP
5190 fi
5191 echo "$as_me:$LINENO: result: $CPP" >&5
5192 echo "${ECHO_T}$CPP" >&6
5193 ac_preproc_ok=false
5194 for ac_c_preproc_warn_flag in '' yes
5195 do
5196   # Use a header file that comes with gcc, so configuring glibc
5197   # with a fresh cross-compiler works.
5198   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5199   # <limits.h> exists even on freestanding compilers.
5200   # On the NeXT, cc -E runs the code through the compiler's parser,
5201   # not just through cpp. "Syntax error" is here to catch this case.
5202   cat >conftest.$ac_ext <<_ACEOF
5203 #line $LINENO "configure"
5204 /* confdefs.h.  */
5205 _ACEOF
5206 cat confdefs.h >>conftest.$ac_ext
5207 cat >>conftest.$ac_ext <<_ACEOF
5208 /* end confdefs.h.  */
5209 #ifdef __STDC__
5210 # include <limits.h>
5211 #else
5212 # include <assert.h>
5213 #endif
5214                      Syntax error
5215 _ACEOF
5216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5217   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5218   ac_status=$?
5219   grep -v '^ *+' conftest.er1 >conftest.err
5220   rm -f conftest.er1
5221   cat conftest.err >&5
5222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223   (exit $ac_status); } >/dev/null; then
5224   if test -s conftest.err; then
5225     ac_cpp_err=$ac_c_preproc_warn_flag
5226   else
5227     ac_cpp_err=
5228   fi
5229 else
5230   ac_cpp_err=yes
5231 fi
5232 if test -z "$ac_cpp_err"; then
5233   :
5234 else
5235   echo "$as_me: failed program was:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5237
5238   # Broken: fails on valid input.
5239 continue
5240 fi
5241 rm -f conftest.err conftest.$ac_ext
5242
5243   # OK, works on sane cases.  Now check whether non-existent headers
5244   # can be detected and how.
5245   cat >conftest.$ac_ext <<_ACEOF
5246 #line $LINENO "configure"
5247 /* confdefs.h.  */
5248 _ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h.  */
5252 #include <ac_nonexistent.h>
5253 _ACEOF
5254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5255   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5256   ac_status=$?
5257   grep -v '^ *+' conftest.er1 >conftest.err
5258   rm -f conftest.er1
5259   cat conftest.err >&5
5260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261   (exit $ac_status); } >/dev/null; then
5262   if test -s conftest.err; then
5263     ac_cpp_err=$ac_c_preproc_warn_flag
5264   else
5265     ac_cpp_err=
5266   fi
5267 else
5268   ac_cpp_err=yes
5269 fi
5270 if test -z "$ac_cpp_err"; then
5271   # Broken: success on invalid input.
5272 continue
5273 else
5274   echo "$as_me: failed program was:" >&5
5275 sed 's/^/| /' conftest.$ac_ext >&5
5276
5277   # Passes both tests.
5278 ac_preproc_ok=:
5279 break
5280 fi
5281 rm -f conftest.err conftest.$ac_ext
5282
5283 done
5284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5285 rm -f conftest.err conftest.$ac_ext
5286 if $ac_preproc_ok; then
5287   :
5288 else
5289   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5290 See \`config.log' for more details." >&5
5291 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5292 See \`config.log' for more details." >&2;}
5293    { (exit 1); exit 1; }; }
5294 fi
5295
5296 ac_ext=c
5297 ac_cpp='$CPP $CPPFLAGS'
5298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5301
5302
5303 echo "$as_me:$LINENO: checking for egrep" >&5
5304 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5305 if test "${ac_cv_prog_egrep+set}" = set; then
5306   echo $ECHO_N "(cached) $ECHO_C" >&6
5307 else
5308   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5309     then ac_cv_prog_egrep='grep -E'
5310     else ac_cv_prog_egrep='egrep'
5311     fi
5312 fi
5313 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5314 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5315  EGREP=$ac_cv_prog_egrep
5316
5317
5318 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5319 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5320 if test "${ac_cv_header_stdc+set}" = set; then
5321   echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323   cat >conftest.$ac_ext <<_ACEOF
5324 #line $LINENO "configure"
5325 /* confdefs.h.  */
5326 _ACEOF
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h.  */
5330 #include <stdlib.h>
5331 #include <stdarg.h>
5332 #include <string.h>
5333 #include <float.h>
5334
5335 int
5336 main ()
5337 {
5338
5339   ;
5340   return 0;
5341 }
5342 _ACEOF
5343 rm -f conftest.$ac_objext
5344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5345   (eval $ac_compile) 2>&5
5346   ac_status=$?
5347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348   (exit $ac_status); } &&
5349          { ac_try='test -s conftest.$ac_objext'
5350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351   (eval $ac_try) 2>&5
5352   ac_status=$?
5353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354   (exit $ac_status); }; }; then
5355   ac_cv_header_stdc=yes
5356 else
5357   echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5359
5360 ac_cv_header_stdc=no
5361 fi
5362 rm -f conftest.$ac_objext conftest.$ac_ext
5363
5364 if test $ac_cv_header_stdc = yes; then
5365   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5366   cat >conftest.$ac_ext <<_ACEOF
5367 #line $LINENO "configure"
5368 /* confdefs.h.  */
5369 _ACEOF
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h.  */
5373 #include <string.h>
5374
5375 _ACEOF
5376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5377   $EGREP "memchr" >/dev/null 2>&1; then
5378   :
5379 else
5380   ac_cv_header_stdc=no
5381 fi
5382 rm -f conftest*
5383
5384 fi
5385
5386 if test $ac_cv_header_stdc = yes; then
5387   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5388   cat >conftest.$ac_ext <<_ACEOF
5389 #line $LINENO "configure"
5390 /* confdefs.h.  */
5391 _ACEOF
5392 cat confdefs.h >>conftest.$ac_ext
5393 cat >>conftest.$ac_ext <<_ACEOF
5394 /* end confdefs.h.  */
5395 #include <stdlib.h>
5396
5397 _ACEOF
5398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5399   $EGREP "free" >/dev/null 2>&1; then
5400   :
5401 else
5402   ac_cv_header_stdc=no
5403 fi
5404 rm -f conftest*
5405
5406 fi
5407
5408 if test $ac_cv_header_stdc = yes; then
5409   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5410   if test "$cross_compiling" = yes; then
5411   :
5412 else
5413   cat >conftest.$ac_ext <<_ACEOF
5414 #line $LINENO "configure"
5415 /* confdefs.h.  */
5416 _ACEOF
5417 cat confdefs.h >>conftest.$ac_ext
5418 cat >>conftest.$ac_ext <<_ACEOF
5419 /* end confdefs.h.  */
5420 #include <ctype.h>
5421 #if ((' ' & 0x0FF) == 0x020)
5422 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5423 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5424 #else
5425 # define ISLOWER(c) \
5426                    (('a' <= (c) && (c) <= 'i') \
5427                      || ('j' <= (c) && (c) <= 'r') \
5428                      || ('s' <= (c) && (c) <= 'z'))
5429 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5430 #endif
5431
5432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5433 int
5434 main ()
5435 {
5436   int i;
5437   for (i = 0; i < 256; i++)
5438     if (XOR (islower (i), ISLOWER (i))
5439         || toupper (i) != TOUPPER (i))
5440       exit(2);
5441   exit (0);
5442 }
5443 _ACEOF
5444 rm -f conftest$ac_exeext
5445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5446   (eval $ac_link) 2>&5
5447   ac_status=$?
5448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451   (eval $ac_try) 2>&5
5452   ac_status=$?
5453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454   (exit $ac_status); }; }; then
5455   :
5456 else
5457   echo "$as_me: program exited with status $ac_status" >&5
5458 echo "$as_me: failed program was:" >&5
5459 sed 's/^/| /' conftest.$ac_ext >&5
5460
5461 ( exit $ac_status )
5462 ac_cv_header_stdc=no
5463 fi
5464 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5465 fi
5466 fi
5467 fi
5468 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5469 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5470 if test $ac_cv_header_stdc = yes; then
5471
5472 cat >>confdefs.h <<\_ACEOF
5473 #define STDC_HEADERS 1
5474 _ACEOF
5475
5476 fi
5477
5478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5489                   inttypes.h stdint.h unistd.h
5490 do
5491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5492 echo "$as_me:$LINENO: checking for $ac_header" >&5
5493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5495   echo $ECHO_N "(cached) $ECHO_C" >&6
5496 else
5497   cat >conftest.$ac_ext <<_ACEOF
5498 #line $LINENO "configure"
5499 /* confdefs.h.  */
5500 _ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h.  */
5504 $ac_includes_default
5505
5506 #include <$ac_header>
5507 _ACEOF
5508 rm -f conftest.$ac_objext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5510   (eval $ac_compile) 2>&5
5511   ac_status=$?
5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513   (exit $ac_status); } &&
5514          { ac_try='test -s conftest.$ac_objext'
5515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516   (eval $ac_try) 2>&5
5517   ac_status=$?
5518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519   (exit $ac_status); }; }; then
5520   eval "$as_ac_Header=yes"
5521 else
5522   echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.$ac_ext >&5
5524
5525 eval "$as_ac_Header=no"
5526 fi
5527 rm -f conftest.$ac_objext conftest.$ac_ext
5528 fi
5529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5532   cat >>confdefs.h <<_ACEOF
5533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5534 _ACEOF
5535
5536 fi
5537
5538 done
5539
5540
5541
5542   echo "$as_me:$LINENO: checking for C locale to use" >&5
5543 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5544    # Check whether --enable-clocale or --disable-clocale was given.
5545 if test "${enable_clocale+set}" = set; then
5546   enableval="$enable_clocale"
5547
5548       case "$enableval" in
5549        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5550        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5551 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5552    { (exit 1); exit 1; }; } ;;
5553                           esac
5554
5555 else
5556   enable_clocale=auto
5557 fi;
5558
5559
5560   # If they didn't use this option switch, or if they specified --enable
5561   # with no specific model, we'll have to look for one.  If they
5562   # specified --disable (???), do likewise.
5563   if test $enable_clocale = no || test $enable_clocale = yes; then
5564      enable_clocale=auto
5565   fi
5566
5567   # Either a known package, or "auto"
5568   enable_clocale_flag=$enable_clocale
5569
5570   # Probe for locale support if no specific model is specified.
5571   # Default to "generic".
5572   if test $enable_clocale_flag = auto; then
5573     case x${target_os} in
5574       xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5575         cat >conftest.$ac_ext <<_ACEOF
5576 #line $LINENO "configure"
5577 /* confdefs.h.  */
5578 _ACEOF
5579 cat confdefs.h >>conftest.$ac_ext
5580 cat >>conftest.$ac_ext <<_ACEOF
5581 /* end confdefs.h.  */
5582
5583         #include <features.h>
5584         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5585           _GLIBCXX_ok
5586         #endif
5587
5588 _ACEOF
5589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5590   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5591   enable_clocale_flag=gnu
5592 else
5593   enable_clocale_flag=generic
5594 fi
5595 rm -f conftest*
5596
5597
5598         # Test for bugs early in glibc-2.2.x series
5599           if test x$enable_clocale_flag = xgnu; then
5600           if test "$cross_compiling" = yes; then
5601   enable_clocale_flag=generic
5602 else
5603   cat >conftest.$ac_ext <<_ACEOF
5604 #line $LINENO "configure"
5605 /* confdefs.h.  */
5606 _ACEOF
5607 cat confdefs.h >>conftest.$ac_ext
5608 cat >>conftest.$ac_ext <<_ACEOF
5609 /* end confdefs.h.  */
5610
5611           #define _GNU_SOURCE 1
5612           #include <locale.h>
5613           #include <string.h>
5614           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5615           extern __typeof(newlocale) __newlocale;
5616           extern __typeof(duplocale) __duplocale;
5617           extern __typeof(strcoll_l) __strcoll_l;
5618           #endif
5619           int main()
5620           {
5621               const char __one[] = "Äuglein Augmen";
5622               const char __two[] = "Äuglein";
5623               int i;
5624               int j;
5625               __locale_t        loc;
5626                __locale_t        loc_dup;
5627               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5628               loc_dup = __duplocale(loc);
5629               i = __strcoll_l(__one, __two, loc);
5630               j = __strcoll_l(__one, __two, loc_dup);
5631               return 0;
5632           }
5633
5634 _ACEOF
5635 rm -f conftest$ac_exeext
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637   (eval $ac_link) 2>&5
5638   ac_status=$?
5639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642   (eval $ac_try) 2>&5
5643   ac_status=$?
5644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645   (exit $ac_status); }; }; then
5646   enable_clocale_flag=gnu
5647 else
5648   echo "$as_me: program exited with status $ac_status" >&5
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5
5651
5652 ( exit $ac_status )
5653 enable_clocale_flag=generic
5654 fi
5655 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5656 fi
5657           fi
5658
5659         # ... at some point put __strxfrm_l tests in as well.
5660         ;;
5661       *)
5662         enable_clocale_flag=generic
5663         ;;
5664     esac
5665   fi
5666
5667   # Deal with gettext issues.  Default to not using it (=no) until we detect
5668   # support for it later.  Let the user turn it off via --e/d, but let that
5669   # default to on for easier handling.
5670   USE_NLS=no
5671   # Check whether --enable-nls or --disable-nls was given.
5672 if test "${enable_nls+set}" = set; then
5673   enableval="$enable_nls"
5674
5675 else
5676   enable_nls=yes
5677 fi;
5678
5679   # Set configure bits for specified locale package
5680   case ${enable_clocale_flag} in
5681     generic)
5682       echo "$as_me:$LINENO: result: generic" >&5
5683 echo "${ECHO_T}generic" >&6
5684
5685       CLOCALE_H=config/locale/generic/c_locale.h
5686       CLOCALE_CC=config/locale/generic/c_locale.cc
5687       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5688       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5689       CCOLLATE_CC=config/locale/generic/collate_members.cc
5690       CCTYPE_CC=config/locale/generic/ctype_members.cc
5691       CMESSAGES_H=config/locale/generic/messages_members.h
5692       CMESSAGES_CC=config/locale/generic/messages_members.cc
5693       CMONEY_CC=config/locale/generic/monetary_members.cc
5694       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5695       CTIME_H=config/locale/generic/time_members.h
5696       CTIME_CC=config/locale/generic/time_members.cc
5697       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5698       ;;
5699     gnu)
5700       echo "$as_me:$LINENO: result: gnu" >&5
5701 echo "${ECHO_T}gnu" >&6
5702
5703       # Declare intention to use gettext, and add support for specific
5704       # languages.
5705       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5706       ALL_LINGUAS="de fr"
5707
5708       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5709       # Extract the first word of "msgfmt", so it can be a program name with args.
5710 set dummy msgfmt; ac_word=$2
5711 echo "$as_me:$LINENO: checking for $ac_word" >&5
5712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5713 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5714   echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716   if test -n "$check_msgfmt"; then
5717   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5721 do
5722   IFS=$as_save_IFS
5723   test -z "$as_dir" && as_dir=.
5724   for ac_exec_ext in '' $ac_executable_extensions; do
5725   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726     ac_cv_prog_check_msgfmt="yes"
5727     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5728     break 2
5729   fi
5730 done
5731 done
5732
5733   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5734 fi
5735 fi
5736 check_msgfmt=$ac_cv_prog_check_msgfmt
5737 if test -n "$check_msgfmt"; then
5738   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5739 echo "${ECHO_T}$check_msgfmt" >&6
5740 else
5741   echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5743 fi
5744
5745       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5746         USE_NLS=yes
5747       fi
5748       # Export the build objects.
5749       for ling in $ALL_LINGUAS; do \
5750         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5751         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5752       done
5753
5754
5755
5756       CLOCALE_H=config/locale/gnu/c_locale.h
5757       CLOCALE_CC=config/locale/gnu/c_locale.cc
5758       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5759       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5760       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5761       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5762       CMESSAGES_H=config/locale/gnu/messages_members.h
5763       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5764       CMONEY_CC=config/locale/gnu/monetary_members.cc
5765       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5766       CTIME_H=config/locale/gnu/time_members.h
5767       CTIME_CC=config/locale/gnu/time_members.cc
5768       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5769       ;;
5770     ieee_1003.1-2001)
5771       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5772 echo "${ECHO_T}IEEE 1003.1" >&6
5773
5774       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5775       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5776       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5777       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5778       CCOLLATE_CC=config/locale/generic/collate_members.cc
5779       CCTYPE_CC=config/locale/generic/ctype_members.cc
5780       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5781       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5782       CMONEY_CC=config/locale/generic/monetary_members.cc
5783       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5784       CTIME_H=config/locale/generic/time_members.h
5785       CTIME_CC=config/locale/generic/time_members.cc
5786       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5787       ;;
5788   esac
5789
5790   # This is where the testsuite looks for locale catalogs, using the
5791   # -DLOCALEDIR define during testsuite compilation.
5792   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5793
5794
5795   # A standalone libintl (e.g., GNU libintl) may be in use.
5796   if test $USE_NLS = yes; then
5797
5798 for ac_header in libintl.h
5799 do
5800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5802   echo "$as_me:$LINENO: checking for $ac_header" >&5
5803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5805   echo $ECHO_N "(cached) $ECHO_C" >&6
5806 fi
5807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5809 else
5810   # Is the header compilable?
5811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5813 cat >conftest.$ac_ext <<_ACEOF
5814 #line $LINENO "configure"
5815 /* confdefs.h.  */
5816 _ACEOF
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5819 /* end confdefs.h.  */
5820 $ac_includes_default
5821 #include <$ac_header>
5822 _ACEOF
5823 rm -f conftest.$ac_objext
5824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5825   (eval $ac_compile) 2>&5
5826   ac_status=$?
5827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828   (exit $ac_status); } &&
5829          { ac_try='test -s conftest.$ac_objext'
5830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831   (eval $ac_try) 2>&5
5832   ac_status=$?
5833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834   (exit $ac_status); }; }; then
5835   ac_header_compiler=yes
5836 else
5837   echo "$as_me: failed program was:" >&5
5838 sed 's/^/| /' conftest.$ac_ext >&5
5839
5840 ac_header_compiler=no
5841 fi
5842 rm -f conftest.$ac_objext conftest.$ac_ext
5843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5844 echo "${ECHO_T}$ac_header_compiler" >&6
5845
5846 # Is the header present?
5847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5849 cat >conftest.$ac_ext <<_ACEOF
5850 #line $LINENO "configure"
5851 /* confdefs.h.  */
5852 _ACEOF
5853 cat confdefs.h >>conftest.$ac_ext
5854 cat >>conftest.$ac_ext <<_ACEOF
5855 /* end confdefs.h.  */
5856 #include <$ac_header>
5857 _ACEOF
5858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5859   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5860   ac_status=$?
5861   grep -v '^ *+' conftest.er1 >conftest.err
5862   rm -f conftest.er1
5863   cat conftest.err >&5
5864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865   (exit $ac_status); } >/dev/null; then
5866   if test -s conftest.err; then
5867     ac_cpp_err=$ac_c_preproc_warn_flag
5868   else
5869     ac_cpp_err=
5870   fi
5871 else
5872   ac_cpp_err=yes
5873 fi
5874 if test -z "$ac_cpp_err"; then
5875   ac_header_preproc=yes
5876 else
5877   echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.$ac_ext >&5
5879
5880   ac_header_preproc=no
5881 fi
5882 rm -f conftest.err conftest.$ac_ext
5883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5884 echo "${ECHO_T}$ac_header_preproc" >&6
5885
5886 # So?  What about this header?
5887 case $ac_header_compiler:$ac_header_preproc in
5888   yes:no )
5889     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5891     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5893     (
5894       cat <<\_ASBOX
5895 ## ------------------------------------ ##
5896 ## Report this to bug-autoconf@gnu.org. ##
5897 ## ------------------------------------ ##
5898 _ASBOX
5899     ) |
5900       sed "s/^/$as_me: WARNING:     /" >&2
5901     ;;
5902   no:yes )
5903     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5905     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5907     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5909     (
5910       cat <<\_ASBOX
5911 ## ------------------------------------ ##
5912 ## Report this to bug-autoconf@gnu.org. ##
5913 ## ------------------------------------ ##
5914 _ASBOX
5915     ) |
5916       sed "s/^/$as_me: WARNING:     /" >&2
5917     ;;
5918 esac
5919 echo "$as_me:$LINENO: checking for $ac_header" >&5
5920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5922   echo $ECHO_N "(cached) $ECHO_C" >&6
5923 else
5924   eval "$as_ac_Header=$ac_header_preproc"
5925 fi
5926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5928
5929 fi
5930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5931   cat >>confdefs.h <<_ACEOF
5932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5933 _ACEOF
5934
5935 else
5936   USE_NLS=no
5937 fi
5938
5939 done
5940
5941     echo "$as_me:$LINENO: checking for library containing gettext" >&5
5942 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5943 if test "${ac_cv_search_gettext+set}" = set; then
5944   echo $ECHO_N "(cached) $ECHO_C" >&6
5945 else
5946   ac_func_search_save_LIBS=$LIBS
5947 ac_cv_search_gettext=no
5948 if test x$gcc_no_link = xyes; then
5949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5951    { (exit 1); exit 1; }; }
5952 fi
5953 cat >conftest.$ac_ext <<_ACEOF
5954 #line $LINENO "configure"
5955 /* confdefs.h.  */
5956 _ACEOF
5957 cat confdefs.h >>conftest.$ac_ext
5958 cat >>conftest.$ac_ext <<_ACEOF
5959 /* end confdefs.h.  */
5960
5961 /* Override any gcc2 internal prototype to avoid an error.  */
5962 #ifdef __cplusplus
5963 extern "C"
5964 #endif
5965 /* We use char because int might match the return type of a gcc2
5966    builtin and then its argument prototype would still apply.  */
5967 char gettext ();
5968 int
5969 main ()
5970 {
5971 gettext ();
5972   ;
5973   return 0;
5974 }
5975 _ACEOF
5976 rm -f conftest.$ac_objext conftest$ac_exeext
5977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5978   (eval $ac_link) 2>&5
5979   ac_status=$?
5980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981   (exit $ac_status); } &&
5982          { ac_try='test -s conftest$ac_exeext'
5983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984   (eval $ac_try) 2>&5
5985   ac_status=$?
5986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987   (exit $ac_status); }; }; then
5988   ac_cv_search_gettext="none required"
5989 else
5990   echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5992
5993 fi
5994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5995 if test "$ac_cv_search_gettext" = no; then
5996   for ac_lib in intl; do
5997     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5998     if test x$gcc_no_link = xyes; then
5999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6001    { (exit 1); exit 1; }; }
6002 fi
6003 cat >conftest.$ac_ext <<_ACEOF
6004 #line $LINENO "configure"
6005 /* confdefs.h.  */
6006 _ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h.  */
6010
6011 /* Override any gcc2 internal prototype to avoid an error.  */
6012 #ifdef __cplusplus
6013 extern "C"
6014 #endif
6015 /* We use char because int might match the return type of a gcc2
6016    builtin and then its argument prototype would still apply.  */
6017 char gettext ();
6018 int
6019 main ()
6020 {
6021 gettext ();
6022   ;
6023   return 0;
6024 }
6025 _ACEOF
6026 rm -f conftest.$ac_objext conftest$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028   (eval $ac_link) 2>&5
6029   ac_status=$?
6030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031   (exit $ac_status); } &&
6032          { ac_try='test -s conftest$ac_exeext'
6033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034   (eval $ac_try) 2>&5
6035   ac_status=$?
6036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037   (exit $ac_status); }; }; then
6038   ac_cv_search_gettext="-l$ac_lib"
6039 break
6040 else
6041   echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.$ac_ext >&5
6043
6044 fi
6045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6046   done
6047 fi
6048 LIBS=$ac_func_search_save_LIBS
6049 fi
6050 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6051 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6052 if test "$ac_cv_search_gettext" != no; then
6053   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6054
6055 else
6056   USE_NLS=no
6057 fi
6058
6059   fi
6060   if test $USE_NLS = yes; then
6061     cat >>confdefs.h <<\_ACEOF
6062 #define _GLIBCXX_USE_NLS 1
6063 _ACEOF
6064
6065   fi
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083    # Check whether --enable-cheaders or --disable-cheaders was given.
6084 if test "${enable_cheaders+set}" = set; then
6085   enableval="$enable_cheaders"
6086
6087       case "$enableval" in
6088        c|c_std) ;;
6089        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6090 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6091    { (exit 1); exit 1; }; } ;;
6092                           esac
6093
6094 else
6095   enable_cheaders=$c_model
6096 fi;
6097
6098   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6099 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6100
6101   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6102
6103
6104
6105
6106
6107
6108    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6109 if test "${enable_c_mbchar+set}" = set; then
6110   enableval="$enable_c_mbchar"
6111
6112       case "$enableval" in
6113        yes|no) ;;
6114        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6115 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6116    { (exit 1); exit 1; }; } ;;
6117       esac
6118
6119 else
6120   enable_c_mbchar=yes
6121 fi;
6122
6123   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6124
6125
6126
6127    # Check whether --enable-c99 or --disable-c99 was given.
6128 if test "${enable_c99+set}" = set; then
6129   enableval="$enable_c99"
6130
6131       case "$enableval" in
6132        yes|no) ;;
6133        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6134 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6135    { (exit 1); exit 1; }; } ;;
6136       esac
6137
6138 else
6139   enable_c99=yes
6140 fi;
6141
6142
6143
6144
6145   ac_ext=cc
6146 ac_cpp='$CXXCPP $CPPFLAGS'
6147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6150
6151
6152   # Check for the existence of <math.h> functions used if C99 is enabled.
6153   ac_c99_math=yes;
6154   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6155 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6156   cat >conftest.$ac_ext <<_ACEOF
6157 #line $LINENO "configure"
6158 /* confdefs.h.  */
6159 _ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h.  */
6163 #include <math.h>
6164 int
6165 main ()
6166 {
6167 fpclassify(0.0);
6168   ;
6169   return 0;
6170 }
6171 _ACEOF
6172 rm -f conftest.$ac_objext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6174   (eval $ac_compile) 2>&5
6175   ac_status=$?
6176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177   (exit $ac_status); } &&
6178          { ac_try='test -s conftest.$ac_objext'
6179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180   (eval $ac_try) 2>&5
6181   ac_status=$?
6182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183   (exit $ac_status); }; }; then
6184   :
6185 else
6186   echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.$ac_ext >&5
6188
6189 ac_c99_math=no
6190 fi
6191 rm -f conftest.$ac_objext conftest.$ac_ext
6192   cat >conftest.$ac_ext <<_ACEOF
6193 #line $LINENO "configure"
6194 /* confdefs.h.  */
6195 _ACEOF
6196 cat confdefs.h >>conftest.$ac_ext
6197 cat >>conftest.$ac_ext <<_ACEOF
6198 /* end confdefs.h.  */
6199 #include <math.h>
6200 int
6201 main ()
6202 {
6203 isfinite(0.0);
6204   ;
6205   return 0;
6206 }
6207 _ACEOF
6208 rm -f conftest.$ac_objext
6209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6210   (eval $ac_compile) 2>&5
6211   ac_status=$?
6212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213   (exit $ac_status); } &&
6214          { ac_try='test -s conftest.$ac_objext'
6215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216   (eval $ac_try) 2>&5
6217   ac_status=$?
6218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219   (exit $ac_status); }; }; then
6220   :
6221 else
6222   echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.$ac_ext >&5
6224
6225 ac_c99_math=no
6226 fi
6227 rm -f conftest.$ac_objext conftest.$ac_ext
6228   cat >conftest.$ac_ext <<_ACEOF
6229 #line $LINENO "configure"
6230 /* confdefs.h.  */
6231 _ACEOF
6232 cat confdefs.h >>conftest.$ac_ext
6233 cat >>conftest.$ac_ext <<_ACEOF
6234 /* end confdefs.h.  */
6235 #include <math.h>
6236 int
6237 main ()
6238 {
6239 isinf(0.0);
6240   ;
6241   return 0;
6242 }
6243 _ACEOF
6244 rm -f conftest.$ac_objext
6245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6246   (eval $ac_compile) 2>&5
6247   ac_status=$?
6248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249   (exit $ac_status); } &&
6250          { ac_try='test -s conftest.$ac_objext'
6251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252   (eval $ac_try) 2>&5
6253   ac_status=$?
6254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255   (exit $ac_status); }; }; then
6256   :
6257 else
6258   echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.$ac_ext >&5
6260
6261 ac_c99_math=no
6262 fi
6263 rm -f conftest.$ac_objext conftest.$ac_ext
6264   cat >conftest.$ac_ext <<_ACEOF
6265 #line $LINENO "configure"
6266 /* confdefs.h.  */
6267 _ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h.  */
6271 #include <math.h>
6272 int
6273 main ()
6274 {
6275 isnan(0.0);
6276   ;
6277   return 0;
6278 }
6279 _ACEOF
6280 rm -f conftest.$ac_objext
6281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282   (eval $ac_compile) 2>&5
6283   ac_status=$?
6284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285   (exit $ac_status); } &&
6286          { ac_try='test -s conftest.$ac_objext'
6287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288   (eval $ac_try) 2>&5
6289   ac_status=$?
6290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291   (exit $ac_status); }; }; then
6292   :
6293 else
6294   echo "$as_me: failed program was:" >&5
6295 sed 's/^/| /' conftest.$ac_ext >&5
6296
6297 ac_c99_math=no
6298 fi
6299 rm -f conftest.$ac_objext conftest.$ac_ext
6300   cat >conftest.$ac_ext <<_ACEOF
6301 #line $LINENO "configure"
6302 /* confdefs.h.  */
6303 _ACEOF
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
6306 /* end confdefs.h.  */
6307 #include <math.h>
6308 int
6309 main ()
6310 {
6311 isnormal(0.0);
6312   ;
6313   return 0;
6314 }
6315 _ACEOF
6316 rm -f conftest.$ac_objext
6317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6318   (eval $ac_compile) 2>&5
6319   ac_status=$?
6320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321   (exit $ac_status); } &&
6322          { ac_try='test -s conftest.$ac_objext'
6323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324   (eval $ac_try) 2>&5
6325   ac_status=$?
6326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327   (exit $ac_status); }; }; then
6328   :
6329 else
6330   echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.$ac_ext >&5
6332
6333 ac_c99_math=no
6334 fi
6335 rm -f conftest.$ac_objext conftest.$ac_ext
6336   cat >conftest.$ac_ext <<_ACEOF
6337 #line $LINENO "configure"
6338 /* confdefs.h.  */
6339 _ACEOF
6340 cat confdefs.h >>conftest.$ac_ext
6341 cat >>conftest.$ac_ext <<_ACEOF
6342 /* end confdefs.h.  */
6343 #include <math.h>
6344 int
6345 main ()
6346 {
6347 signbit(0.0);
6348   ;
6349   return 0;
6350 }
6351 _ACEOF
6352 rm -f conftest.$ac_objext
6353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6354   (eval $ac_compile) 2>&5
6355   ac_status=$?
6356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357   (exit $ac_status); } &&
6358          { ac_try='test -s conftest.$ac_objext'
6359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360   (eval $ac_try) 2>&5
6361   ac_status=$?
6362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363   (exit $ac_status); }; }; then
6364   :
6365 else
6366   echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.$ac_ext >&5
6368
6369 ac_c99_math=no
6370 fi
6371 rm -f conftest.$ac_objext conftest.$ac_ext
6372   cat >conftest.$ac_ext <<_ACEOF
6373 #line $LINENO "configure"
6374 /* confdefs.h.  */
6375 _ACEOF
6376 cat confdefs.h >>conftest.$ac_ext
6377 cat >>conftest.$ac_ext <<_ACEOF
6378 /* end confdefs.h.  */
6379 #include <math.h>
6380 int
6381 main ()
6382 {
6383 isgreater(0.0,0.0);
6384   ;
6385   return 0;
6386 }
6387 _ACEOF
6388 rm -f conftest.$ac_objext
6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6390   (eval $ac_compile) 2>&5
6391   ac_status=$?
6392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393   (exit $ac_status); } &&
6394          { ac_try='test -s conftest.$ac_objext'
6395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396   (eval $ac_try) 2>&5
6397   ac_status=$?
6398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399   (exit $ac_status); }; }; then
6400   :
6401 else
6402   echo "$as_me: failed program was:" >&5
6403 sed 's/^/| /' conftest.$ac_ext >&5
6404
6405 ac_c99_math=no
6406 fi
6407 rm -f conftest.$ac_objext conftest.$ac_ext
6408   cat >conftest.$ac_ext <<_ACEOF
6409 #line $LINENO "configure"
6410 /* confdefs.h.  */
6411 _ACEOF
6412 cat confdefs.h >>conftest.$ac_ext
6413 cat >>conftest.$ac_ext <<_ACEOF
6414 /* end confdefs.h.  */
6415 #include <math.h>
6416 int
6417 main ()
6418 {
6419 isgreaterequal(0.0,0.0);
6420   ;
6421   return 0;
6422 }
6423 _ACEOF
6424 rm -f conftest.$ac_objext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6426   (eval $ac_compile) 2>&5
6427   ac_status=$?
6428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429   (exit $ac_status); } &&
6430          { ac_try='test -s conftest.$ac_objext'
6431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432   (eval $ac_try) 2>&5
6433   ac_status=$?
6434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435   (exit $ac_status); }; }; then
6436   :
6437 else
6438   echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6440
6441 ac_c99_math=no
6442 fi
6443 rm -f conftest.$ac_objext conftest.$ac_ext
6444   cat >conftest.$ac_ext <<_ACEOF
6445 #line $LINENO "configure"
6446 /* confdefs.h.  */
6447 _ACEOF
6448 cat confdefs.h >>conftest.$ac_ext
6449 cat >>conftest.$ac_ext <<_ACEOF
6450 /* end confdefs.h.  */
6451 #include <math.h>
6452 int
6453 main ()
6454 {
6455 isless(0.0,0.0);
6456   ;
6457   return 0;
6458 }
6459 _ACEOF
6460 rm -f conftest.$ac_objext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462   (eval $ac_compile) 2>&5
6463   ac_status=$?
6464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465   (exit $ac_status); } &&
6466          { ac_try='test -s conftest.$ac_objext'
6467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468   (eval $ac_try) 2>&5
6469   ac_status=$?
6470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471   (exit $ac_status); }; }; then
6472   :
6473 else
6474   echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6476
6477 ac_c99_math=no
6478 fi
6479 rm -f conftest.$ac_objext conftest.$ac_ext
6480   cat >conftest.$ac_ext <<_ACEOF
6481 #line $LINENO "configure"
6482 /* confdefs.h.  */
6483 _ACEOF
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h.  */
6487 #include <math.h>
6488 int
6489 main ()
6490 {
6491 islessequal(0.0,0.0);
6492   ;
6493   return 0;
6494 }
6495 _ACEOF
6496 rm -f conftest.$ac_objext
6497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6498   (eval $ac_compile) 2>&5
6499   ac_status=$?
6500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501   (exit $ac_status); } &&
6502          { ac_try='test -s conftest.$ac_objext'
6503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504   (eval $ac_try) 2>&5
6505   ac_status=$?
6506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507   (exit $ac_status); }; }; then
6508   :
6509 else
6510   echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6512
6513 ac_c99_math=no
6514 fi
6515 rm -f conftest.$ac_objext conftest.$ac_ext
6516   cat >conftest.$ac_ext <<_ACEOF
6517 #line $LINENO "configure"
6518 /* confdefs.h.  */
6519 _ACEOF
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h.  */
6523 #include <math.h>
6524 int
6525 main ()
6526 {
6527 islessgreater(0.0,0.0);
6528   ;
6529   return 0;
6530 }
6531 _ACEOF
6532 rm -f conftest.$ac_objext
6533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6534   (eval $ac_compile) 2>&5
6535   ac_status=$?
6536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537   (exit $ac_status); } &&
6538          { ac_try='test -s conftest.$ac_objext'
6539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540   (eval $ac_try) 2>&5
6541   ac_status=$?
6542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543   (exit $ac_status); }; }; then
6544   :
6545 else
6546   echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6548
6549 ac_c99_math=no
6550 fi
6551 rm -f conftest.$ac_objext conftest.$ac_ext
6552   cat >conftest.$ac_ext <<_ACEOF
6553 #line $LINENO "configure"
6554 /* confdefs.h.  */
6555 _ACEOF
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h.  */
6559 #include <math.h>
6560 int
6561 main ()
6562 {
6563 isunordered(0.0,0.0);
6564   ;
6565   return 0;
6566 }
6567 _ACEOF
6568 rm -f conftest.$ac_objext
6569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6570   (eval $ac_compile) 2>&5
6571   ac_status=$?
6572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573   (exit $ac_status); } &&
6574          { ac_try='test -s conftest.$ac_objext'
6575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6576   (eval $ac_try) 2>&5
6577   ac_status=$?
6578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579   (exit $ac_status); }; }; then
6580   :
6581 else
6582   echo "$as_me: failed program was:" >&5
6583 sed 's/^/| /' conftest.$ac_ext >&5
6584
6585 ac_c99_math=no
6586 fi
6587 rm -f conftest.$ac_objext conftest.$ac_ext
6588   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6589 echo "${ECHO_T}$ac_c99_math" >&6
6590
6591   # Check for the existence in <stdio.h> of vscanf, et. al.
6592   ac_c99_stdio=yes;
6593   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6594 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6595   cat >conftest.$ac_ext <<_ACEOF
6596 #line $LINENO "configure"
6597 /* confdefs.h.  */
6598 _ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h.  */
6602 #include <stdio.h>
6603 int
6604 main ()
6605 {
6606 snprintf("12", 0, "%i");
6607   ;
6608   return 0;
6609 }
6610 _ACEOF
6611 rm -f conftest.$ac_objext
6612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613   (eval $ac_compile) 2>&5
6614   ac_status=$?
6615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616   (exit $ac_status); } &&
6617          { ac_try='test -s conftest.$ac_objext'
6618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619   (eval $ac_try) 2>&5
6620   ac_status=$?
6621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622   (exit $ac_status); }; }; then
6623   :
6624 else
6625   echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6627
6628 ac_c99_stdio=no
6629 fi
6630 rm -f conftest.$ac_objext conftest.$ac_ext
6631   cat >conftest.$ac_ext <<_ACEOF
6632 #line $LINENO "configure"
6633 /* confdefs.h.  */
6634 _ACEOF
6635 cat confdefs.h >>conftest.$ac_ext
6636 cat >>conftest.$ac_ext <<_ACEOF
6637 /* end confdefs.h.  */
6638 #include <stdio.h>
6639                   #include <stdarg.h>
6640                   void foo(char* fmt, ...)
6641                   {va_list args; va_start(args, fmt);
6642                   vfscanf(stderr, "%i", args);}
6643 int
6644 main ()
6645 {
6646
6647   ;
6648   return 0;
6649 }
6650 _ACEOF
6651 rm -f conftest.$ac_objext
6652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6653   (eval $ac_compile) 2>&5
6654   ac_status=$?
6655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656   (exit $ac_status); } &&
6657          { ac_try='test -s conftest.$ac_objext'
6658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6659   (eval $ac_try) 2>&5
6660   ac_status=$?
6661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662   (exit $ac_status); }; }; then
6663   :
6664 else
6665   echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6667
6668 ac_c99_stdio=no
6669 fi
6670 rm -f conftest.$ac_objext conftest.$ac_ext
6671   cat >conftest.$ac_ext <<_ACEOF
6672 #line $LINENO "configure"
6673 /* confdefs.h.  */
6674 _ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h.  */
6678 #include <stdio.h>
6679                   #include <stdarg.h>
6680                   void foo(char* fmt, ...)
6681                   {va_list args; va_start(args, fmt);
6682                   vscanf("%i", args);}
6683 int
6684 main ()
6685 {
6686
6687   ;
6688   return 0;
6689 }
6690 _ACEOF
6691 rm -f conftest.$ac_objext
6692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693   (eval $ac_compile) 2>&5
6694   ac_status=$?
6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696   (exit $ac_status); } &&
6697          { ac_try='test -s conftest.$ac_objext'
6698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699   (eval $ac_try) 2>&5
6700   ac_status=$?
6701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702   (exit $ac_status); }; }; then
6703   :
6704 else
6705   echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6707
6708 ac_c99_stdio=no
6709 fi
6710 rm -f conftest.$ac_objext conftest.$ac_ext
6711   cat >conftest.$ac_ext <<_ACEOF
6712 #line $LINENO "configure"
6713 /* confdefs.h.  */
6714 _ACEOF
6715 cat confdefs.h >>conftest.$ac_ext
6716 cat >>conftest.$ac_ext <<_ACEOF
6717 /* end confdefs.h.  */
6718 #include <stdio.h>
6719                   #include <stdarg.h>
6720                   void foo(char* fmt, ...)
6721                   {va_list args; va_start(args, fmt);
6722                   vsnprintf(fmt, 0, "%i", args);}
6723 int
6724 main ()
6725 {
6726
6727   ;
6728   return 0;
6729 }
6730 _ACEOF
6731 rm -f conftest.$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733   (eval $ac_compile) 2>&5
6734   ac_status=$?
6735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736   (exit $ac_status); } &&
6737          { ac_try='test -s conftest.$ac_objext'
6738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739   (eval $ac_try) 2>&5
6740   ac_status=$?
6741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742   (exit $ac_status); }; }; then
6743   :
6744 else
6745   echo "$as_me: failed program was:" >&5
6746 sed 's/^/| /' conftest.$ac_ext >&5
6747
6748 ac_c99_stdio=no
6749 fi
6750 rm -f conftest.$ac_objext conftest.$ac_ext
6751   cat >conftest.$ac_ext <<_ACEOF
6752 #line $LINENO "configure"
6753 /* confdefs.h.  */
6754 _ACEOF
6755 cat confdefs.h >>conftest.$ac_ext
6756 cat >>conftest.$ac_ext <<_ACEOF
6757 /* end confdefs.h.  */
6758 #include <stdio.h>
6759                   #include <stdarg.h>
6760                   void foo(char* fmt, ...)
6761                   {va_list args; va_start(args, fmt);
6762                   vsscanf(fmt, "%i", args);}
6763 int
6764 main ()
6765 {
6766
6767   ;
6768   return 0;
6769 }
6770 _ACEOF
6771 rm -f conftest.$ac_objext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773   (eval $ac_compile) 2>&5
6774   ac_status=$?
6775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776   (exit $ac_status); } &&
6777          { ac_try='test -s conftest.$ac_objext'
6778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779   (eval $ac_try) 2>&5
6780   ac_status=$?
6781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782   (exit $ac_status); }; }; then
6783   :
6784 else
6785   echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6787
6788 ac_c99_stdio=no
6789 fi
6790 rm -f conftest.$ac_objext conftest.$ac_ext
6791   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6792 echo "${ECHO_T}$ac_c99_stdio" >&6
6793
6794   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6795   ac_c99_stdlib=yes;
6796   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6797 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6798   if test "${ac_c99_lldiv_t+set}" = set; then
6799   echo $ECHO_N "(cached) $ECHO_C" >&6
6800 else
6801
6802   cat >conftest.$ac_ext <<_ACEOF
6803 #line $LINENO "configure"
6804 /* confdefs.h.  */
6805 _ACEOF
6806 cat confdefs.h >>conftest.$ac_ext
6807 cat >>conftest.$ac_ext <<_ACEOF
6808 /* end confdefs.h.  */
6809 #include <stdlib.h>
6810 int
6811 main ()
6812 {
6813  lldiv_t mydivt;
6814   ;
6815   return 0;
6816 }
6817 _ACEOF
6818 rm -f conftest.$ac_objext
6819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6820   (eval $ac_compile) 2>&5
6821   ac_status=$?
6822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823   (exit $ac_status); } &&
6824          { ac_try='test -s conftest.$ac_objext'
6825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826   (eval $ac_try) 2>&5
6827   ac_status=$?
6828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829   (exit $ac_status); }; }; then
6830   ac_c99_lldiv_t=yes
6831 else
6832   echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6834
6835 ac_c99_lldiv_t=no
6836 fi
6837 rm -f conftest.$ac_objext conftest.$ac_ext
6838
6839 fi
6840
6841   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6842 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6843
6844   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6845 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6846   cat >conftest.$ac_ext <<_ACEOF
6847 #line $LINENO "configure"
6848 /* confdefs.h.  */
6849 _ACEOF
6850 cat confdefs.h >>conftest.$ac_ext
6851 cat >>conftest.$ac_ext <<_ACEOF
6852 /* end confdefs.h.  */
6853 #include <stdlib.h>
6854 int
6855 main ()
6856 {
6857 char* tmp; strtof("gnu", &tmp);
6858   ;
6859   return 0;
6860 }
6861 _ACEOF
6862 rm -f conftest.$ac_objext
6863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6864   (eval $ac_compile) 2>&5
6865   ac_status=$?
6866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867   (exit $ac_status); } &&
6868          { ac_try='test -s conftest.$ac_objext'
6869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870   (eval $ac_try) 2>&5
6871   ac_status=$?
6872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873   (exit $ac_status); }; }; then
6874   :
6875 else
6876   echo "$as_me: failed program was:" >&5
6877 sed 's/^/| /' conftest.$ac_ext >&5
6878
6879 ac_c99_stdlib=no
6880 fi
6881 rm -f conftest.$ac_objext conftest.$ac_ext
6882   cat >conftest.$ac_ext <<_ACEOF
6883 #line $LINENO "configure"
6884 /* confdefs.h.  */
6885 _ACEOF
6886 cat confdefs.h >>conftest.$ac_ext
6887 cat >>conftest.$ac_ext <<_ACEOF
6888 /* end confdefs.h.  */
6889 #include <stdlib.h>
6890 int
6891 main ()
6892 {
6893 char* tmp; strtold("gnu", &tmp);
6894   ;
6895   return 0;
6896 }
6897 _ACEOF
6898 rm -f conftest.$ac_objext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6900   (eval $ac_compile) 2>&5
6901   ac_status=$?
6902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903   (exit $ac_status); } &&
6904          { ac_try='test -s conftest.$ac_objext'
6905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906   (eval $ac_try) 2>&5
6907   ac_status=$?
6908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909   (exit $ac_status); }; }; then
6910   :
6911 else
6912   echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6914
6915 ac_c99_stdlib=no
6916 fi
6917 rm -f conftest.$ac_objext conftest.$ac_ext
6918   cat >conftest.$ac_ext <<_ACEOF
6919 #line $LINENO "configure"
6920 /* confdefs.h.  */
6921 _ACEOF
6922 cat confdefs.h >>conftest.$ac_ext
6923 cat >>conftest.$ac_ext <<_ACEOF
6924 /* end confdefs.h.  */
6925 #include <stdlib.h>
6926 int
6927 main ()
6928 {
6929 llabs(10);
6930   ;
6931   return 0;
6932 }
6933 _ACEOF
6934 rm -f conftest.$ac_objext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6936   (eval $ac_compile) 2>&5
6937   ac_status=$?
6938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939   (exit $ac_status); } &&
6940          { ac_try='test -s conftest.$ac_objext'
6941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942   (eval $ac_try) 2>&5
6943   ac_status=$?
6944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945   (exit $ac_status); }; }; then
6946   :
6947 else
6948   echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6950
6951 ac_c99_stdlib=no
6952 fi
6953 rm -f conftest.$ac_objext conftest.$ac_ext
6954   cat >conftest.$ac_ext <<_ACEOF
6955 #line $LINENO "configure"
6956 /* confdefs.h.  */
6957 _ACEOF
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h.  */
6961 #include <stdlib.h>
6962 int
6963 main ()
6964 {
6965 lldiv(10,1);
6966   ;
6967   return 0;
6968 }
6969 _ACEOF
6970 rm -f conftest.$ac_objext
6971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6972   (eval $ac_compile) 2>&5
6973   ac_status=$?
6974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975   (exit $ac_status); } &&
6976          { ac_try='test -s conftest.$ac_objext'
6977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978   (eval $ac_try) 2>&5
6979   ac_status=$?
6980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981   (exit $ac_status); }; }; then
6982   :
6983 else
6984   echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6986
6987 ac_c99_stdlib=no
6988 fi
6989 rm -f conftest.$ac_objext conftest.$ac_ext
6990   cat >conftest.$ac_ext <<_ACEOF
6991 #line $LINENO "configure"
6992 /* confdefs.h.  */
6993 _ACEOF
6994 cat confdefs.h >>conftest.$ac_ext
6995 cat >>conftest.$ac_ext <<_ACEOF
6996 /* end confdefs.h.  */
6997 #include <stdlib.h>
6998 int
6999 main ()
7000 {
7001 atoll("10");
7002   ;
7003   return 0;
7004 }
7005 _ACEOF
7006 rm -f conftest.$ac_objext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008   (eval $ac_compile) 2>&5
7009   ac_status=$?
7010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011   (exit $ac_status); } &&
7012          { ac_try='test -s conftest.$ac_objext'
7013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014   (eval $ac_try) 2>&5
7015   ac_status=$?
7016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017   (exit $ac_status); }; }; then
7018   :
7019 else
7020   echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7022
7023 ac_c99_stdlib=no
7024 fi
7025 rm -f conftest.$ac_objext conftest.$ac_ext
7026   cat >conftest.$ac_ext <<_ACEOF
7027 #line $LINENO "configure"
7028 /* confdefs.h.  */
7029 _ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h.  */
7033 #include <stdlib.h>
7034 int
7035 main ()
7036 {
7037 _Exit(0);
7038   ;
7039   return 0;
7040 }
7041 _ACEOF
7042 rm -f conftest.$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044   (eval $ac_compile) 2>&5
7045   ac_status=$?
7046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047   (exit $ac_status); } &&
7048          { ac_try='test -s conftest.$ac_objext'
7049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050   (eval $ac_try) 2>&5
7051   ac_status=$?
7052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053   (exit $ac_status); }; }; then
7054   :
7055 else
7056   echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.$ac_ext >&5
7058
7059 ac_c99_stdlib=no
7060 fi
7061 rm -f conftest.$ac_objext conftest.$ac_ext
7062   if test x"$ac_c99_lldiv_t" = x"no"; then
7063     ac_c99_stdlib=no;
7064   fi;
7065   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7066 echo "${ECHO_T}$ac_c99_stdlib" >&6
7067
7068   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7069   # XXX the wchar.h checks should be rolled into the general C99 bits.
7070   ac_c99_wchar=yes;
7071   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7072 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7073   cat >conftest.$ac_ext <<_ACEOF
7074 #line $LINENO "configure"
7075 /* confdefs.h.  */
7076 _ACEOF
7077 cat confdefs.h >>conftest.$ac_ext
7078 cat >>conftest.$ac_ext <<_ACEOF
7079 /* end confdefs.h.  */
7080 #include <wchar.h>
7081 int
7082 main ()
7083 {
7084 wcstold(L"10.0", NULL);
7085   ;
7086   return 0;
7087 }
7088 _ACEOF
7089 rm -f conftest.$ac_objext
7090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7091   (eval $ac_compile) 2>&5
7092   ac_status=$?
7093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094   (exit $ac_status); } &&
7095          { ac_try='test -s conftest.$ac_objext'
7096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097   (eval $ac_try) 2>&5
7098   ac_status=$?
7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100   (exit $ac_status); }; }; then
7101   :
7102 else
7103   echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7105
7106 ac_c99_wchar=no
7107 fi
7108 rm -f conftest.$ac_objext conftest.$ac_ext
7109   cat >conftest.$ac_ext <<_ACEOF
7110 #line $LINENO "configure"
7111 /* confdefs.h.  */
7112 _ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h.  */
7116 #include <wchar.h>
7117 int
7118 main ()
7119 {
7120 wcstoll(L"10", NULL, 10);
7121   ;
7122   return 0;
7123 }
7124 _ACEOF
7125 rm -f conftest.$ac_objext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7127   (eval $ac_compile) 2>&5
7128   ac_status=$?
7129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130   (exit $ac_status); } &&
7131          { ac_try='test -s conftest.$ac_objext'
7132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133   (eval $ac_try) 2>&5
7134   ac_status=$?
7135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136   (exit $ac_status); }; }; then
7137   :
7138 else
7139   echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.$ac_ext >&5
7141
7142 ac_c99_wchar=no
7143 fi
7144 rm -f conftest.$ac_objext conftest.$ac_ext
7145   cat >conftest.$ac_ext <<_ACEOF
7146 #line $LINENO "configure"
7147 /* confdefs.h.  */
7148 _ACEOF
7149 cat confdefs.h >>conftest.$ac_ext
7150 cat >>conftest.$ac_ext <<_ACEOF
7151 /* end confdefs.h.  */
7152 #include <wchar.h>
7153 int
7154 main ()
7155 {
7156 wcstoull(L"10", NULL, 10);
7157   ;
7158   return 0;
7159 }
7160 _ACEOF
7161 rm -f conftest.$ac_objext
7162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7163   (eval $ac_compile) 2>&5
7164   ac_status=$?
7165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166   (exit $ac_status); } &&
7167          { ac_try='test -s conftest.$ac_objext'
7168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169   (eval $ac_try) 2>&5
7170   ac_status=$?
7171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172   (exit $ac_status); }; }; then
7173   :
7174 else
7175   echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.$ac_ext >&5
7177
7178 ac_c99_wchar=no
7179 fi
7180 rm -f conftest.$ac_objext conftest.$ac_ext
7181   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7182 echo "${ECHO_T}$ac_c99_wchar" >&6
7183
7184   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7185 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7186   if test x"$ac_c99_math" = x"no" ||
7187      test x"$ac_c99_stdio" = x"no" ||
7188      test x"$ac_c99_stdlib" = x"no" ||
7189      test x"$ac_c99_wchar" = x"no"; then
7190     enable_c99=no;
7191   fi;
7192   echo "$as_me:$LINENO: result: $enable_c99" >&5
7193 echo "${ECHO_T}$enable_c99" >&6
7194
7195   # Option parsed, now set things appropriately
7196   if test x"$enable_c99" = x"yes"; then
7197     cat >>confdefs.h <<\_ACEOF
7198 #define _GLIBCXX_USE_C99 1
7199 _ACEOF
7200
7201   fi
7202
7203   ac_ext=c
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208
7209
7210
7211    # Check whether --enable-long-long or --disable-long-long was given.
7212 if test "${enable_long_long+set}" = set; then
7213   enableval="$enable_long_long"
7214
7215       case "$enableval" in
7216        yes|no) ;;
7217        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7218 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7219    { (exit 1); exit 1; }; } ;;
7220       esac
7221
7222 else
7223   enable_long_long=yes
7224 fi;
7225
7226
7227
7228
7229   ac_ext=cc
7230 ac_cpp='$CXXCPP $CPPFLAGS'
7231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7234
7235
7236   echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7237 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7238   # iostreams require strtoll, strtoull to compile
7239   cat >conftest.$ac_ext <<_ACEOF
7240 #line $LINENO "configure"
7241 /* confdefs.h.  */
7242 _ACEOF
7243 cat confdefs.h >>conftest.$ac_ext
7244 cat >>conftest.$ac_ext <<_ACEOF
7245 /* end confdefs.h.  */
7246 #include <stdlib.h>
7247 int
7248 main ()
7249 {
7250 char* tmp; strtoll("gnu", &tmp, 10);
7251   ;
7252   return 0;
7253 }
7254 _ACEOF
7255 rm -f conftest.$ac_objext
7256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7257   (eval $ac_compile) 2>&5
7258   ac_status=$?
7259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260   (exit $ac_status); } &&
7261          { ac_try='test -s conftest.$ac_objext'
7262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263   (eval $ac_try) 2>&5
7264   ac_status=$?
7265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266   (exit $ac_status); }; }; then
7267   :
7268 else
7269   echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7271
7272 enable_long_long=no
7273 fi
7274 rm -f conftest.$ac_objext conftest.$ac_ext
7275   cat >conftest.$ac_ext <<_ACEOF
7276 #line $LINENO "configure"
7277 /* confdefs.h.  */
7278 _ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h.  */
7282 #include <stdlib.h>
7283 int
7284 main ()
7285 {
7286 char* tmp; strtoull("gnu", &tmp, 10);
7287   ;
7288   return 0;
7289 }
7290 _ACEOF
7291 rm -f conftest.$ac_objext
7292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7293   (eval $ac_compile) 2>&5
7294   ac_status=$?
7295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296   (exit $ac_status); } &&
7297          { ac_try='test -s conftest.$ac_objext'
7298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7299   (eval $ac_try) 2>&5
7300   ac_status=$?
7301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302   (exit $ac_status); }; }; then
7303   :
7304 else
7305   echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.$ac_ext >&5
7307
7308 enable_long_long=no
7309 fi
7310 rm -f conftest.$ac_objext conftest.$ac_ext
7311
7312   # Option parsed, now set things appropriately
7313   if test $enable_long_long = yes; then
7314     cat >>confdefs.h <<\_ACEOF
7315 #define _GLIBCXX_USE_LONG_LONG 1
7316 _ACEOF
7317
7318   fi
7319   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7320 echo "${ECHO_T}$enable_long_long" >&6
7321
7322   ac_ext=c
7323 ac_cpp='$CPP $CPPFLAGS'
7324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7327
7328
7329
7330   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7331 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7332   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7333   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7334 echo "${ECHO_T}$target_thread_file" >&6
7335
7336   if test $target_thread_file != single; then
7337     cat >>confdefs.h <<\_ACEOF
7338 #define HAVE_GTHR_DEFAULT 1
7339 _ACEOF
7340
7341     cat >>confdefs.h <<\_ACEOF
7342 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7343 _ACEOF
7344
7345   fi
7346
7347   glibcxx_thread_h=gthr-$target_thread_file.h
7348
7349
7350
7351    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7352 if test "${enable_concept_checks+set}" = set; then
7353   enableval="$enable_concept_checks"
7354
7355       case "$enableval" in
7356        yes|no) ;;
7357        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7358 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7359    { (exit 1); exit 1; }; } ;;
7360       esac
7361
7362 else
7363   enable_concept_checks=no
7364 fi;
7365
7366   if test $enable_concept_checks = yes; then
7367     cat >>confdefs.h <<\_ACEOF
7368 #define _GLIBCXX_CONCEPT_CHECKS 1
7369 _ACEOF
7370
7371   fi
7372
7373
7374    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7375 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7376   enableval="$enable_libstdcxx_debug_flags"
7377   case "x$enable_libstdcxx_debug_flags" in
7378       xno | x)    enable_libstdcxx_debug_flags= ;;
7379       x-*)        ;;
7380       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7381 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7382    { (exit 1); exit 1; }; } ;;
7383      esac
7384 else
7385   enable_libstdcxx_debug_flags="-g3 -O0"
7386 fi;
7387
7388
7389   # Option parsed, now set things appropriately
7390   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7391
7392
7393   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7394 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7395
7396
7397   echo "$as_me:$LINENO: checking for additional debug build" >&5
7398 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7399    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7400 if test "${enable_libstdcxx_debug+set}" = set; then
7401   enableval="$enable_libstdcxx_debug"
7402
7403       case "$enableval" in
7404        yes|no) ;;
7405        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7406 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7407    { (exit 1); exit 1; }; } ;;
7408       esac
7409
7410 else
7411   enable_libstdcxx_debug=no
7412 fi;
7413
7414   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7415 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7416
7417
7418   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7419 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7420    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7421 if test "${enable_cxx_flags+set}" = set; then
7422   enableval="$enable_cxx_flags"
7423   case "x$enable_cxx_flags" in
7424       xno | x)   enable_cxx_flags= ;;
7425       x-*)       ;;
7426       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7427 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7428    { (exit 1); exit 1; }; } ;;
7429      esac
7430 else
7431   enable_cxx_flags=
7432 fi;
7433
7434
7435   # Run through flags (either default or command-line) and set anything
7436   # extra (e.g., #defines) that must accompany particular g++ options.
7437   if test -n "$enable_cxx_flags"; then
7438     for f in $enable_cxx_flags; do
7439       case "$f" in
7440         -fhonor-std)  ;;
7441         -*)  ;;
7442         *)   # and we're trying to pass /what/ exactly?
7443              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7444 echo "$as_me: error: compiler flags start with a -" >&2;}
7445    { (exit 1); exit 1; }; } ;;
7446       esac
7447     done
7448   fi
7449
7450   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7451   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7452 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7453
7454
7455
7456 # No surprises, no surprises...
7457 if test $atomicity_include_dir = cpu/generic ; then
7458   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7459 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7460   if test $target_thread_file = single; then
7461     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7462 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7463     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7464 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7465   else
7466     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7467 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7468     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7469 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7470   fi
7471 fi
7472
7473
7474 if $GLIBCXX_IS_NATIVE; then
7475
7476   # We can do more elaborate tests that assume a working linker.
7477   CANADIAN=no
7478
7479   # Check for available headers.
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7494   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7495   sys/types.h
7496 do
7497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7499   echo "$as_me:$LINENO: checking for $ac_header" >&5
7500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7502   echo $ECHO_N "(cached) $ECHO_C" >&6
7503 fi
7504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7506 else
7507   # Is the header compilable?
7508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7510 cat >conftest.$ac_ext <<_ACEOF
7511 #line $LINENO "configure"
7512 /* confdefs.h.  */
7513 _ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h.  */
7517 $ac_includes_default
7518 #include <$ac_header>
7519 _ACEOF
7520 rm -f conftest.$ac_objext
7521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7522   (eval $ac_compile) 2>&5
7523   ac_status=$?
7524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525   (exit $ac_status); } &&
7526          { ac_try='test -s conftest.$ac_objext'
7527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528   (eval $ac_try) 2>&5
7529   ac_status=$?
7530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531   (exit $ac_status); }; }; then
7532   ac_header_compiler=yes
7533 else
7534   echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.$ac_ext >&5
7536
7537 ac_header_compiler=no
7538 fi
7539 rm -f conftest.$ac_objext conftest.$ac_ext
7540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7541 echo "${ECHO_T}$ac_header_compiler" >&6
7542
7543 # Is the header present?
7544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7546 cat >conftest.$ac_ext <<_ACEOF
7547 #line $LINENO "configure"
7548 /* confdefs.h.  */
7549 _ACEOF
7550 cat confdefs.h >>conftest.$ac_ext
7551 cat >>conftest.$ac_ext <<_ACEOF
7552 /* end confdefs.h.  */
7553 #include <$ac_header>
7554 _ACEOF
7555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7556   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7557   ac_status=$?
7558   grep -v '^ *+' conftest.er1 >conftest.err
7559   rm -f conftest.er1
7560   cat conftest.err >&5
7561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562   (exit $ac_status); } >/dev/null; then
7563   if test -s conftest.err; then
7564     ac_cpp_err=$ac_c_preproc_warn_flag
7565   else
7566     ac_cpp_err=
7567   fi
7568 else
7569   ac_cpp_err=yes
7570 fi
7571 if test -z "$ac_cpp_err"; then
7572   ac_header_preproc=yes
7573 else
7574   echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7576
7577   ac_header_preproc=no
7578 fi
7579 rm -f conftest.err conftest.$ac_ext
7580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7581 echo "${ECHO_T}$ac_header_preproc" >&6
7582
7583 # So?  What about this header?
7584 case $ac_header_compiler:$ac_header_preproc in
7585   yes:no )
7586     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7588     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7590     (
7591       cat <<\_ASBOX
7592 ## ------------------------------------ ##
7593 ## Report this to bug-autoconf@gnu.org. ##
7594 ## ------------------------------------ ##
7595 _ASBOX
7596     ) |
7597       sed "s/^/$as_me: WARNING:     /" >&2
7598     ;;
7599   no:yes )
7600     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7602     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7604     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7606     (
7607       cat <<\_ASBOX
7608 ## ------------------------------------ ##
7609 ## Report this to bug-autoconf@gnu.org. ##
7610 ## ------------------------------------ ##
7611 _ASBOX
7612     ) |
7613       sed "s/^/$as_me: WARNING:     /" >&2
7614     ;;
7615 esac
7616 echo "$as_me:$LINENO: checking for $ac_header" >&5
7617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7619   echo $ECHO_N "(cached) $ECHO_C" >&6
7620 else
7621   eval "$as_ac_Header=$ac_header_preproc"
7622 fi
7623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7625
7626 fi
7627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7628   cat >>confdefs.h <<_ACEOF
7629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7630 _ACEOF
7631
7632 fi
7633
7634 done
7635
7636
7637
7638   # All these tests are for C++; save the language and the compiler flags.
7639   # The CXXFLAGS thing is suspicious, but based on similar bits previously
7640   # found in GLIBCXX_CONFIGURE.
7641
7642
7643   ac_ext=cc
7644 ac_cpp='$CXXCPP $CPPFLAGS'
7645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7648
7649   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7650   ac_save_CXXFLAGS="$CXXFLAGS"
7651
7652   # Check for maintainer-mode bits.
7653   if test x"$USE_MAINTAINER_MODE" = xno; then
7654     WERROR=''
7655   else
7656     WERROR='-Werror'
7657   fi
7658
7659   # Check for -ffunction-sections -fdata-sections
7660   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7661 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7662   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7663   cat >conftest.$ac_ext <<_ACEOF
7664 #line $LINENO "configure"
7665 /* confdefs.h.  */
7666 _ACEOF
7667 cat confdefs.h >>conftest.$ac_ext
7668 cat >>conftest.$ac_ext <<_ACEOF
7669 /* end confdefs.h.  */
7670
7671 int
7672 main ()
7673 {
7674 int foo;
7675   ;
7676   return 0;
7677 }
7678 _ACEOF
7679 rm -f conftest.$ac_objext
7680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7681   (eval $ac_compile) 2>&5
7682   ac_status=$?
7683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684   (exit $ac_status); } &&
7685          { ac_try='test -s conftest.$ac_objext'
7686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687   (eval $ac_try) 2>&5
7688   ac_status=$?
7689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690   (exit $ac_status); }; }; then
7691   ac_fdsections=yes
7692 else
7693   echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.$ac_ext >&5
7695
7696 ac_fdsections=no
7697 fi
7698 rm -f conftest.$ac_objext conftest.$ac_ext
7699   if test "$ac_test_CXXFLAGS" = set; then
7700     CXXFLAGS="$ac_save_CXXFLAGS"
7701   else
7702     # this is the suspicious part
7703     CXXFLAGS=''
7704   fi
7705   if test x"$ac_fdsections" = x"yes"; then
7706     SECTION_FLAGS='-ffunction-sections -fdata-sections'
7707   fi
7708   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7709 echo "${ECHO_T}$ac_fdsections" >&6
7710
7711   ac_ext=c
7712 ac_cpp='$CPP $CPPFLAGS'
7713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7716
7717
7718
7719
7720
7721   # If we're not using GNU ld, then there's no point in even trying these
7722   # tests.  Check for that first.  We should have already tested for gld
7723   # by now (in libtool), but require it now just to be safe...
7724   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7725   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7726
7727
7728
7729   # The name set by libtool depends on the version of libtool.  Shame on us
7730   # for depending on an impl detail, but c'est la vie.  Older versions used
7731   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7732   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7733   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
7734   # set (hence we're using an older libtool), then set it.
7735   if test x${with_gnu_ld+set} != xset; then
7736     if test x${ac_cv_prog_gnu_ld+set} != xset; then
7737       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
7738       with_gnu_ld=no
7739     else
7740       with_gnu_ld=$ac_cv_prog_gnu_ld
7741     fi
7742   fi
7743
7744   # Start by getting the version number.  I think the libtool test already
7745   # does some of this, but throws away the result.
7746
7747   ldver=`$LD --version 2>/dev/null | head -1 | \
7748          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7749
7750   glibcxx_gnu_ld_version=`echo $ldver | \
7751          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7752
7753   # Set --gc-sections.
7754   if test "$with_gnu_ld" = "notbroken"; then
7755     # GNU ld it is!  Joy and bunny rabbits!
7756
7757     # All these tests are for C++; save the language and the compiler flags.
7758     # Need to do this so that g++ won't try to link in libstdc++
7759     ac_test_CFLAGS="${CFLAGS+set}"
7760     ac_save_CFLAGS="$CFLAGS"
7761     CFLAGS='-x c++  -Wl,--gc-sections'
7762
7763     # Check for -Wl,--gc-sections
7764     # XXX This test is broken at the moment, as symbols required for linking
7765     # are now in libsupc++ (not built yet).  In addition, this test has
7766     # cored on solaris in the past.  In addition, --gc-sections doesn't
7767     # really work at the moment (keeps on discarding used sections, first
7768     # .eh_frame and now some of the glibc sections for iconv).
7769     # Bzzzzt.  Thanks for playing, maybe next time.
7770     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7771 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7772     if test "$cross_compiling" = yes; then
7773   ac_sectionLDflags=yes
7774 else
7775   cat >conftest.$ac_ext <<_ACEOF
7776 #line $LINENO "configure"
7777 /* confdefs.h.  */
7778 _ACEOF
7779 cat confdefs.h >>conftest.$ac_ext
7780 cat >>conftest.$ac_ext <<_ACEOF
7781 /* end confdefs.h.  */
7782
7783      int main(void)
7784      {
7785        try { throw 1; }
7786        catch (...) { };
7787        return 0;
7788      }
7789
7790 _ACEOF
7791 rm -f conftest$ac_exeext
7792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7793   (eval $ac_link) 2>&5
7794   ac_status=$?
7795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798   (eval $ac_try) 2>&5
7799   ac_status=$?
7800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801   (exit $ac_status); }; }; then
7802   ac_sectionLDflags=yes
7803 else
7804   echo "$as_me: program exited with status $ac_status" >&5
7805 echo "$as_me: failed program was:" >&5
7806 sed 's/^/| /' conftest.$ac_ext >&5
7807
7808 ( exit $ac_status )
7809 ac_sectionLDflags=no
7810 fi
7811 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7812 fi
7813     if test "$ac_test_CFLAGS" = set; then
7814       CFLAGS="$ac_save_CFLAGS"
7815     else
7816       # this is the suspicious part
7817       CFLAGS=''
7818     fi
7819     if test "$ac_sectionLDflags" = "yes"; then
7820       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7821     fi
7822     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7823 echo "${ECHO_T}$ac_sectionLDflags" >&6
7824   fi
7825
7826   # Set linker optimization flags.
7827   if test x"$with_gnu_ld" = x"yes"; then
7828     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7829   fi
7830
7831
7832
7833
7834
7835   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7836   ac_save_CXXFLAGS="$CXXFLAGS"
7837   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7838
7839     echo "$as_me:$LINENO: checking for sin in -lm" >&5
7840 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7841 if test "${ac_cv_lib_m_sin+set}" = set; then
7842   echo $ECHO_N "(cached) $ECHO_C" >&6
7843 else
7844   ac_check_lib_save_LIBS=$LIBS
7845 LIBS="-lm  $LIBS"
7846 if test x$gcc_no_link = xyes; then
7847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7849    { (exit 1); exit 1; }; }
7850 fi
7851 cat >conftest.$ac_ext <<_ACEOF
7852 #line $LINENO "configure"
7853 /* confdefs.h.  */
7854 _ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h.  */
7858
7859 /* Override any gcc2 internal prototype to avoid an error.  */
7860 #ifdef __cplusplus
7861 extern "C"
7862 #endif
7863 /* We use char because int might match the return type of a gcc2
7864    builtin and then its argument prototype would still apply.  */
7865 char sin ();
7866 int
7867 main ()
7868 {
7869 sin ();
7870   ;
7871   return 0;
7872 }
7873 _ACEOF
7874 rm -f conftest.$ac_objext conftest$ac_exeext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7876   (eval $ac_link) 2>&5
7877   ac_status=$?
7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879   (exit $ac_status); } &&
7880          { ac_try='test -s conftest$ac_exeext'
7881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882   (eval $ac_try) 2>&5
7883   ac_status=$?
7884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885   (exit $ac_status); }; }; then
7886   ac_cv_lib_m_sin=yes
7887 else
7888   echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.$ac_ext >&5
7890
7891 ac_cv_lib_m_sin=no
7892 fi
7893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7894 LIBS=$ac_check_lib_save_LIBS
7895 fi
7896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7897 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7898 if test $ac_cv_lib_m_sin = yes; then
7899   libm="-lm"
7900 fi
7901
7902   ac_save_LIBS="$LIBS"
7903   LIBS="$LIBS $libm"
7904
7905
7906
7907   echo "$as_me:$LINENO: checking for isinf declaration" >&5
7908 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7909   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7910     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7911   echo $ECHO_N "(cached) $ECHO_C" >&6
7912 else
7913
7914
7915
7916       ac_ext=cc
7917 ac_cpp='$CXXCPP $CPPFLAGS'
7918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7921
7922       cat >conftest.$ac_ext <<_ACEOF
7923 #line $LINENO "configure"
7924 /* confdefs.h.  */
7925 _ACEOF
7926 cat confdefs.h >>conftest.$ac_ext
7927 cat >>conftest.$ac_ext <<_ACEOF
7928 /* end confdefs.h.  */
7929 #include <math.h>
7930                       #ifdef HAVE_IEEEFP_H
7931                       #include <ieeefp.h>
7932                       #endif
7933
7934 int
7935 main ()
7936 {
7937  isinf(0);
7938   ;
7939   return 0;
7940 }
7941 _ACEOF
7942 rm -f conftest.$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944   (eval $ac_compile) 2>&5
7945   ac_status=$?
7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947   (exit $ac_status); } &&
7948          { ac_try='test -s conftest.$ac_objext'
7949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950   (eval $ac_try) 2>&5
7951   ac_status=$?
7952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953   (exit $ac_status); }; }; then
7954   glibcxx_cv_func_isinf_use=yes
7955 else
7956   echo "$as_me: failed program was:" >&5
7957 sed 's/^/| /' conftest.$ac_ext >&5
7958
7959 glibcxx_cv_func_isinf_use=no
7960 fi
7961 rm -f conftest.$ac_objext conftest.$ac_ext
7962       ac_ext=c
7963 ac_cpp='$CPP $CPPFLAGS'
7964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7967
7968
7969 fi
7970
7971   fi
7972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7973 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7974
7975   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7976
7977 for ac_func in isinf
7978 do
7979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7980 echo "$as_me:$LINENO: checking for $ac_func" >&5
7981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7982 if eval "test \"\${$as_ac_var+set}\" = set"; then
7983   echo $ECHO_N "(cached) $ECHO_C" >&6
7984 else
7985   if test x$gcc_no_link = xyes; then
7986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7988    { (exit 1); exit 1; }; }
7989 fi
7990 cat >conftest.$ac_ext <<_ACEOF
7991 #line $LINENO "configure"
7992 /* confdefs.h.  */
7993 _ACEOF
7994 cat confdefs.h >>conftest.$ac_ext
7995 cat >>conftest.$ac_ext <<_ACEOF
7996 /* end confdefs.h.  */
7997 /* System header to define __stub macros and hopefully few prototypes,
7998     which can conflict with char $ac_func (); below.
7999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8000     <limits.h> exists even on freestanding compilers.  */
8001 #ifdef __STDC__
8002 # include <limits.h>
8003 #else
8004 # include <assert.h>
8005 #endif
8006 /* Override any gcc2 internal prototype to avoid an error.  */
8007 #ifdef __cplusplus
8008 extern "C"
8009 {
8010 #endif
8011 /* We use char because int might match the return type of a gcc2
8012    builtin and then its argument prototype would still apply.  */
8013 char $ac_func ();
8014 /* The GNU C library defines this for functions which it implements
8015     to always fail with ENOSYS.  Some functions are actually named
8016     something starting with __ and the normal name is an alias.  */
8017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8018 choke me
8019 #else
8020 char (*f) () = $ac_func;
8021 #endif
8022 #ifdef __cplusplus
8023 }
8024 #endif
8025
8026 int
8027 main ()
8028 {
8029 return f != $ac_func;
8030   ;
8031   return 0;
8032 }
8033 _ACEOF
8034 rm -f conftest.$ac_objext conftest$ac_exeext
8035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8036   (eval $ac_link) 2>&5
8037   ac_status=$?
8038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039   (exit $ac_status); } &&
8040          { ac_try='test -s conftest$ac_exeext'
8041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042   (eval $ac_try) 2>&5
8043   ac_status=$?
8044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045   (exit $ac_status); }; }; then
8046   eval "$as_ac_var=yes"
8047 else
8048   echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5
8050
8051 eval "$as_ac_var=no"
8052 fi
8053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8054 fi
8055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8057 if test `eval echo '${'$as_ac_var'}'` = yes; then
8058   cat >>confdefs.h <<_ACEOF
8059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8060 _ACEOF
8061
8062 fi
8063 done
8064
8065   else
8066
8067   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8068 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8069   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8070     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8071   echo $ECHO_N "(cached) $ECHO_C" >&6
8072 else
8073
8074
8075
8076       ac_ext=cc
8077 ac_cpp='$CXXCPP $CPPFLAGS'
8078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8081
8082       cat >conftest.$ac_ext <<_ACEOF
8083 #line $LINENO "configure"
8084 /* confdefs.h.  */
8085 _ACEOF
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
8088 /* end confdefs.h.  */
8089 #include <math.h>
8090                       #ifdef HAVE_IEEEFP_H
8091                       #include <ieeefp.h>
8092                       #endif
8093
8094 int
8095 main ()
8096 {
8097  _isinf(0);
8098   ;
8099   return 0;
8100 }
8101 _ACEOF
8102 rm -f conftest.$ac_objext
8103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8104   (eval $ac_compile) 2>&5
8105   ac_status=$?
8106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107   (exit $ac_status); } &&
8108          { ac_try='test -s conftest.$ac_objext'
8109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110   (eval $ac_try) 2>&5
8111   ac_status=$?
8112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113   (exit $ac_status); }; }; then
8114   glibcxx_cv_func__isinf_use=yes
8115 else
8116   echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5
8118
8119 glibcxx_cv_func__isinf_use=no
8120 fi
8121 rm -f conftest.$ac_objext conftest.$ac_ext
8122       ac_ext=c
8123 ac_cpp='$CPP $CPPFLAGS'
8124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8127
8128
8129 fi
8130
8131   fi
8132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8133 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8134
8135     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8136
8137 for ac_func in _isinf
8138 do
8139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8140 echo "$as_me:$LINENO: checking for $ac_func" >&5
8141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8142 if eval "test \"\${$as_ac_var+set}\" = set"; then
8143   echo $ECHO_N "(cached) $ECHO_C" >&6
8144 else
8145   if test x$gcc_no_link = xyes; then
8146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8148    { (exit 1); exit 1; }; }
8149 fi
8150 cat >conftest.$ac_ext <<_ACEOF
8151 #line $LINENO "configure"
8152 /* confdefs.h.  */
8153 _ACEOF
8154 cat confdefs.h >>conftest.$ac_ext
8155 cat >>conftest.$ac_ext <<_ACEOF
8156 /* end confdefs.h.  */
8157 /* System header to define __stub macros and hopefully few prototypes,
8158     which can conflict with char $ac_func (); below.
8159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8160     <limits.h> exists even on freestanding compilers.  */
8161 #ifdef __STDC__
8162 # include <limits.h>
8163 #else
8164 # include <assert.h>
8165 #endif
8166 /* Override any gcc2 internal prototype to avoid an error.  */
8167 #ifdef __cplusplus
8168 extern "C"
8169 {
8170 #endif
8171 /* We use char because int might match the return type of a gcc2
8172    builtin and then its argument prototype would still apply.  */
8173 char $ac_func ();
8174 /* The GNU C library defines this for functions which it implements
8175     to always fail with ENOSYS.  Some functions are actually named
8176     something starting with __ and the normal name is an alias.  */
8177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8178 choke me
8179 #else
8180 char (*f) () = $ac_func;
8181 #endif
8182 #ifdef __cplusplus
8183 }
8184 #endif
8185
8186 int
8187 main ()
8188 {
8189 return f != $ac_func;
8190   ;
8191   return 0;
8192 }
8193 _ACEOF
8194 rm -f conftest.$ac_objext conftest$ac_exeext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8196   (eval $ac_link) 2>&5
8197   ac_status=$?
8198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199   (exit $ac_status); } &&
8200          { ac_try='test -s conftest$ac_exeext'
8201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202   (eval $ac_try) 2>&5
8203   ac_status=$?
8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205   (exit $ac_status); }; }; then
8206   eval "$as_ac_var=yes"
8207 else
8208   echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8210
8211 eval "$as_ac_var=no"
8212 fi
8213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8214 fi
8215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8217 if test `eval echo '${'$as_ac_var'}'` = yes; then
8218   cat >>confdefs.h <<_ACEOF
8219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8220 _ACEOF
8221
8222 fi
8223 done
8224
8225     fi
8226   fi
8227
8228
8229
8230   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8231 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8232   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8233     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8234   echo $ECHO_N "(cached) $ECHO_C" >&6
8235 else
8236
8237
8238
8239       ac_ext=cc
8240 ac_cpp='$CXXCPP $CPPFLAGS'
8241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8244
8245       cat >conftest.$ac_ext <<_ACEOF
8246 #line $LINENO "configure"
8247 /* confdefs.h.  */
8248 _ACEOF
8249 cat confdefs.h >>conftest.$ac_ext
8250 cat >>conftest.$ac_ext <<_ACEOF
8251 /* end confdefs.h.  */
8252 #include <math.h>
8253                       #ifdef HAVE_IEEEFP_H
8254                       #include <ieeefp.h>
8255                       #endif
8256
8257 int
8258 main ()
8259 {
8260  isnan(0);
8261   ;
8262   return 0;
8263 }
8264 _ACEOF
8265 rm -f conftest.$ac_objext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8267   (eval $ac_compile) 2>&5
8268   ac_status=$?
8269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270   (exit $ac_status); } &&
8271          { ac_try='test -s conftest.$ac_objext'
8272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273   (eval $ac_try) 2>&5
8274   ac_status=$?
8275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276   (exit $ac_status); }; }; then
8277   glibcxx_cv_func_isnan_use=yes
8278 else
8279   echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.$ac_ext >&5
8281
8282 glibcxx_cv_func_isnan_use=no
8283 fi
8284 rm -f conftest.$ac_objext conftest.$ac_ext
8285       ac_ext=c
8286 ac_cpp='$CPP $CPPFLAGS'
8287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8290
8291
8292 fi
8293
8294   fi
8295   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8296 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8297
8298   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8299
8300 for ac_func in isnan
8301 do
8302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8303 echo "$as_me:$LINENO: checking for $ac_func" >&5
8304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8305 if eval "test \"\${$as_ac_var+set}\" = set"; then
8306   echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else
8308   if test x$gcc_no_link = xyes; then
8309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8311    { (exit 1); exit 1; }; }
8312 fi
8313 cat >conftest.$ac_ext <<_ACEOF
8314 #line $LINENO "configure"
8315 /* confdefs.h.  */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h.  */
8320 /* System header to define __stub macros and hopefully few prototypes,
8321     which can conflict with char $ac_func (); below.
8322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8323     <limits.h> exists even on freestanding compilers.  */
8324 #ifdef __STDC__
8325 # include <limits.h>
8326 #else
8327 # include <assert.h>
8328 #endif
8329 /* Override any gcc2 internal prototype to avoid an error.  */
8330 #ifdef __cplusplus
8331 extern "C"
8332 {
8333 #endif
8334 /* We use char because int might match the return type of a gcc2
8335    builtin and then its argument prototype would still apply.  */
8336 char $ac_func ();
8337 /* The GNU C library defines this for functions which it implements
8338     to always fail with ENOSYS.  Some functions are actually named
8339     something starting with __ and the normal name is an alias.  */
8340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8341 choke me
8342 #else
8343 char (*f) () = $ac_func;
8344 #endif
8345 #ifdef __cplusplus
8346 }
8347 #endif
8348
8349 int
8350 main ()
8351 {
8352 return f != $ac_func;
8353   ;
8354   return 0;
8355 }
8356 _ACEOF
8357 rm -f conftest.$ac_objext conftest$ac_exeext
8358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8359   (eval $ac_link) 2>&5
8360   ac_status=$?
8361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362   (exit $ac_status); } &&
8363          { ac_try='test -s conftest$ac_exeext'
8364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365   (eval $ac_try) 2>&5
8366   ac_status=$?
8367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368   (exit $ac_status); }; }; then
8369   eval "$as_ac_var=yes"
8370 else
8371   echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.$ac_ext >&5
8373
8374 eval "$as_ac_var=no"
8375 fi
8376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8377 fi
8378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8380 if test `eval echo '${'$as_ac_var'}'` = yes; then
8381   cat >>confdefs.h <<_ACEOF
8382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8383 _ACEOF
8384
8385 fi
8386 done
8387
8388   else
8389
8390   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8391 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8392   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8393     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8394   echo $ECHO_N "(cached) $ECHO_C" >&6
8395 else
8396
8397
8398
8399       ac_ext=cc
8400 ac_cpp='$CXXCPP $CPPFLAGS'
8401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8404
8405       cat >conftest.$ac_ext <<_ACEOF
8406 #line $LINENO "configure"
8407 /* confdefs.h.  */
8408 _ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h.  */
8412 #include <math.h>
8413                       #ifdef HAVE_IEEEFP_H
8414                       #include <ieeefp.h>
8415                       #endif
8416
8417 int
8418 main ()
8419 {
8420  _isnan(0);
8421   ;
8422   return 0;
8423 }
8424 _ACEOF
8425 rm -f conftest.$ac_objext
8426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8427   (eval $ac_compile) 2>&5
8428   ac_status=$?
8429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430   (exit $ac_status); } &&
8431          { ac_try='test -s conftest.$ac_objext'
8432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433   (eval $ac_try) 2>&5
8434   ac_status=$?
8435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436   (exit $ac_status); }; }; then
8437   glibcxx_cv_func__isnan_use=yes
8438 else
8439   echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8441
8442 glibcxx_cv_func__isnan_use=no
8443 fi
8444 rm -f conftest.$ac_objext conftest.$ac_ext
8445       ac_ext=c
8446 ac_cpp='$CPP $CPPFLAGS'
8447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8450
8451
8452 fi
8453
8454   fi
8455   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8456 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8457
8458     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8459
8460 for ac_func in _isnan
8461 do
8462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8463 echo "$as_me:$LINENO: checking for $ac_func" >&5
8464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8465 if eval "test \"\${$as_ac_var+set}\" = set"; then
8466   echo $ECHO_N "(cached) $ECHO_C" >&6
8467 else
8468   if test x$gcc_no_link = xyes; then
8469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8471    { (exit 1); exit 1; }; }
8472 fi
8473 cat >conftest.$ac_ext <<_ACEOF
8474 #line $LINENO "configure"
8475 /* confdefs.h.  */
8476 _ACEOF
8477 cat confdefs.h >>conftest.$ac_ext
8478 cat >>conftest.$ac_ext <<_ACEOF
8479 /* end confdefs.h.  */
8480 /* System header to define __stub macros and hopefully few prototypes,
8481     which can conflict with char $ac_func (); below.
8482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8483     <limits.h> exists even on freestanding compilers.  */
8484 #ifdef __STDC__
8485 # include <limits.h>
8486 #else
8487 # include <assert.h>
8488 #endif
8489 /* Override any gcc2 internal prototype to avoid an error.  */
8490 #ifdef __cplusplus
8491 extern "C"
8492 {
8493 #endif
8494 /* We use char because int might match the return type of a gcc2
8495    builtin and then its argument prototype would still apply.  */
8496 char $ac_func ();
8497 /* The GNU C library defines this for functions which it implements
8498     to always fail with ENOSYS.  Some functions are actually named
8499     something starting with __ and the normal name is an alias.  */
8500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8501 choke me
8502 #else
8503 char (*f) () = $ac_func;
8504 #endif
8505 #ifdef __cplusplus
8506 }
8507 #endif
8508
8509 int
8510 main ()
8511 {
8512 return f != $ac_func;
8513   ;
8514   return 0;
8515 }
8516 _ACEOF
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519   (eval $ac_link) 2>&5
8520   ac_status=$?
8521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522   (exit $ac_status); } &&
8523          { ac_try='test -s conftest$ac_exeext'
8524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8525   (eval $ac_try) 2>&5
8526   ac_status=$?
8527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528   (exit $ac_status); }; }; then
8529   eval "$as_ac_var=yes"
8530 else
8531   echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8533
8534 eval "$as_ac_var=no"
8535 fi
8536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8537 fi
8538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8540 if test `eval echo '${'$as_ac_var'}'` = yes; then
8541   cat >>confdefs.h <<_ACEOF
8542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8543 _ACEOF
8544
8545 fi
8546 done
8547
8548     fi
8549   fi
8550
8551
8552
8553   echo "$as_me:$LINENO: checking for finite declaration" >&5
8554 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8555   if test x${glibcxx_cv_func_finite_use+set} != xset; then
8556     if test "${glibcxx_cv_func_finite_use+set}" = set; then
8557   echo $ECHO_N "(cached) $ECHO_C" >&6
8558 else
8559
8560
8561
8562       ac_ext=cc
8563 ac_cpp='$CXXCPP $CPPFLAGS'
8564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8567
8568       cat >conftest.$ac_ext <<_ACEOF
8569 #line $LINENO "configure"
8570 /* confdefs.h.  */
8571 _ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h.  */
8575 #include <math.h>
8576                       #ifdef HAVE_IEEEFP_H
8577                       #include <ieeefp.h>
8578                       #endif
8579
8580 int
8581 main ()
8582 {
8583  finite(0);
8584   ;
8585   return 0;
8586 }
8587 _ACEOF
8588 rm -f conftest.$ac_objext
8589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8590   (eval $ac_compile) 2>&5
8591   ac_status=$?
8592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593   (exit $ac_status); } &&
8594          { ac_try='test -s conftest.$ac_objext'
8595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596   (eval $ac_try) 2>&5
8597   ac_status=$?
8598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599   (exit $ac_status); }; }; then
8600   glibcxx_cv_func_finite_use=yes
8601 else
8602   echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.$ac_ext >&5
8604
8605 glibcxx_cv_func_finite_use=no
8606 fi
8607 rm -f conftest.$ac_objext conftest.$ac_ext
8608       ac_ext=c
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613
8614
8615 fi
8616
8617   fi
8618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8619 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8620
8621   if test x$glibcxx_cv_func_finite_use = x"yes"; then
8622
8623 for ac_func in finite
8624 do
8625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8626 echo "$as_me:$LINENO: checking for $ac_func" >&5
8627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8628 if eval "test \"\${$as_ac_var+set}\" = set"; then
8629   echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631   if test x$gcc_no_link = xyes; then
8632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8634    { (exit 1); exit 1; }; }
8635 fi
8636 cat >conftest.$ac_ext <<_ACEOF
8637 #line $LINENO "configure"
8638 /* confdefs.h.  */
8639 _ACEOF
8640 cat confdefs.h >>conftest.$ac_ext
8641 cat >>conftest.$ac_ext <<_ACEOF
8642 /* end confdefs.h.  */
8643 /* System header to define __stub macros and hopefully few prototypes,
8644     which can conflict with char $ac_func (); below.
8645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8646     <limits.h> exists even on freestanding compilers.  */
8647 #ifdef __STDC__
8648 # include <limits.h>
8649 #else
8650 # include <assert.h>
8651 #endif
8652 /* Override any gcc2 internal prototype to avoid an error.  */
8653 #ifdef __cplusplus
8654 extern "C"
8655 {
8656 #endif
8657 /* We use char because int might match the return type of a gcc2
8658    builtin and then its argument prototype would still apply.  */
8659 char $ac_func ();
8660 /* The GNU C library defines this for functions which it implements
8661     to always fail with ENOSYS.  Some functions are actually named
8662     something starting with __ and the normal name is an alias.  */
8663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8664 choke me
8665 #else
8666 char (*f) () = $ac_func;
8667 #endif
8668 #ifdef __cplusplus
8669 }
8670 #endif
8671
8672 int
8673 main ()
8674 {
8675 return f != $ac_func;
8676   ;
8677   return 0;
8678 }
8679 _ACEOF
8680 rm -f conftest.$ac_objext conftest$ac_exeext
8681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8682   (eval $ac_link) 2>&5
8683   ac_status=$?
8684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685   (exit $ac_status); } &&
8686          { ac_try='test -s conftest$ac_exeext'
8687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688   (eval $ac_try) 2>&5
8689   ac_status=$?
8690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691   (exit $ac_status); }; }; then
8692   eval "$as_ac_var=yes"
8693 else
8694   echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8696
8697 eval "$as_ac_var=no"
8698 fi
8699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8700 fi
8701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8703 if test `eval echo '${'$as_ac_var'}'` = yes; then
8704   cat >>confdefs.h <<_ACEOF
8705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8706 _ACEOF
8707
8708 fi
8709 done
8710
8711   else
8712
8713   echo "$as_me:$LINENO: checking for _finite declaration" >&5
8714 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8715   if test x${glibcxx_cv_func__finite_use+set} != xset; then
8716     if test "${glibcxx_cv_func__finite_use+set}" = set; then
8717   echo $ECHO_N "(cached) $ECHO_C" >&6
8718 else
8719
8720
8721
8722       ac_ext=cc
8723 ac_cpp='$CXXCPP $CPPFLAGS'
8724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8727
8728       cat >conftest.$ac_ext <<_ACEOF
8729 #line $LINENO "configure"
8730 /* confdefs.h.  */
8731 _ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h.  */
8735 #include <math.h>
8736                       #ifdef HAVE_IEEEFP_H
8737                       #include <ieeefp.h>
8738                       #endif
8739
8740 int
8741 main ()
8742 {
8743  _finite(0);
8744   ;
8745   return 0;
8746 }
8747 _ACEOF
8748 rm -f conftest.$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750   (eval $ac_compile) 2>&5
8751   ac_status=$?
8752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753   (exit $ac_status); } &&
8754          { ac_try='test -s conftest.$ac_objext'
8755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756   (eval $ac_try) 2>&5
8757   ac_status=$?
8758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759   (exit $ac_status); }; }; then
8760   glibcxx_cv_func__finite_use=yes
8761 else
8762   echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8764
8765 glibcxx_cv_func__finite_use=no
8766 fi
8767 rm -f conftest.$ac_objext conftest.$ac_ext
8768       ac_ext=c
8769 ac_cpp='$CPP $CPPFLAGS'
8770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8773
8774
8775 fi
8776
8777   fi
8778   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8779 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8780
8781     if test x$glibcxx_cv_func__finite_use = x"yes"; then
8782
8783 for ac_func in _finite
8784 do
8785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8786 echo "$as_me:$LINENO: checking for $ac_func" >&5
8787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8788 if eval "test \"\${$as_ac_var+set}\" = set"; then
8789   echo $ECHO_N "(cached) $ECHO_C" >&6
8790 else
8791   if test x$gcc_no_link = xyes; then
8792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8794    { (exit 1); exit 1; }; }
8795 fi
8796 cat >conftest.$ac_ext <<_ACEOF
8797 #line $LINENO "configure"
8798 /* confdefs.h.  */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h.  */
8803 /* System header to define __stub macros and hopefully few prototypes,
8804     which can conflict with char $ac_func (); below.
8805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8806     <limits.h> exists even on freestanding compilers.  */
8807 #ifdef __STDC__
8808 # include <limits.h>
8809 #else
8810 # include <assert.h>
8811 #endif
8812 /* Override any gcc2 internal prototype to avoid an error.  */
8813 #ifdef __cplusplus
8814 extern "C"
8815 {
8816 #endif
8817 /* We use char because int might match the return type of a gcc2
8818    builtin and then its argument prototype would still apply.  */
8819 char $ac_func ();
8820 /* The GNU C library defines this for functions which it implements
8821     to always fail with ENOSYS.  Some functions are actually named
8822     something starting with __ and the normal name is an alias.  */
8823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8824 choke me
8825 #else
8826 char (*f) () = $ac_func;
8827 #endif
8828 #ifdef __cplusplus
8829 }
8830 #endif
8831
8832 int
8833 main ()
8834 {
8835 return f != $ac_func;
8836   ;
8837   return 0;
8838 }
8839 _ACEOF
8840 rm -f conftest.$ac_objext conftest$ac_exeext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8842   (eval $ac_link) 2>&5
8843   ac_status=$?
8844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845   (exit $ac_status); } &&
8846          { ac_try='test -s conftest$ac_exeext'
8847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8848   (eval $ac_try) 2>&5
8849   ac_status=$?
8850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851   (exit $ac_status); }; }; then
8852   eval "$as_ac_var=yes"
8853 else
8854   echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8856
8857 eval "$as_ac_var=no"
8858 fi
8859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8860 fi
8861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8863 if test `eval echo '${'$as_ac_var'}'` = yes; then
8864   cat >>confdefs.h <<_ACEOF
8865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8866 _ACEOF
8867
8868 fi
8869 done
8870
8871     fi
8872   fi
8873
8874
8875
8876   echo "$as_me:$LINENO: checking for copysign declaration" >&5
8877 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8878   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8879     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8880   echo $ECHO_N "(cached) $ECHO_C" >&6
8881 else
8882
8883
8884
8885       ac_ext=cc
8886 ac_cpp='$CXXCPP $CPPFLAGS'
8887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8890
8891       cat >conftest.$ac_ext <<_ACEOF
8892 #line $LINENO "configure"
8893 /* confdefs.h.  */
8894 _ACEOF
8895 cat confdefs.h >>conftest.$ac_ext
8896 cat >>conftest.$ac_ext <<_ACEOF
8897 /* end confdefs.h.  */
8898 #include <math.h>
8899 int
8900 main ()
8901 {
8902  copysign(0, 0);
8903   ;
8904   return 0;
8905 }
8906 _ACEOF
8907 rm -f conftest.$ac_objext
8908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8909   (eval $ac_compile) 2>&5
8910   ac_status=$?
8911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912   (exit $ac_status); } &&
8913          { ac_try='test -s conftest.$ac_objext'
8914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915   (eval $ac_try) 2>&5
8916   ac_status=$?
8917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918   (exit $ac_status); }; }; then
8919   glibcxx_cv_func_copysign_use=yes
8920 else
8921   echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8923
8924 glibcxx_cv_func_copysign_use=no
8925 fi
8926 rm -f conftest.$ac_objext conftest.$ac_ext
8927       ac_ext=c
8928 ac_cpp='$CPP $CPPFLAGS'
8929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8932
8933
8934 fi
8935
8936   fi
8937   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8938 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8939
8940   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8941
8942 for ac_func in copysign
8943 do
8944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8945 echo "$as_me:$LINENO: checking for $ac_func" >&5
8946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8947 if eval "test \"\${$as_ac_var+set}\" = set"; then
8948   echo $ECHO_N "(cached) $ECHO_C" >&6
8949 else
8950   if test x$gcc_no_link = xyes; then
8951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8953    { (exit 1); exit 1; }; }
8954 fi
8955 cat >conftest.$ac_ext <<_ACEOF
8956 #line $LINENO "configure"
8957 /* confdefs.h.  */
8958 _ACEOF
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h.  */
8962 /* System header to define __stub macros and hopefully few prototypes,
8963     which can conflict with char $ac_func (); below.
8964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8965     <limits.h> exists even on freestanding compilers.  */
8966 #ifdef __STDC__
8967 # include <limits.h>
8968 #else
8969 # include <assert.h>
8970 #endif
8971 /* Override any gcc2 internal prototype to avoid an error.  */
8972 #ifdef __cplusplus
8973 extern "C"
8974 {
8975 #endif
8976 /* We use char because int might match the return type of a gcc2
8977    builtin and then its argument prototype would still apply.  */
8978 char $ac_func ();
8979 /* The GNU C library defines this for functions which it implements
8980     to always fail with ENOSYS.  Some functions are actually named
8981     something starting with __ and the normal name is an alias.  */
8982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8983 choke me
8984 #else
8985 char (*f) () = $ac_func;
8986 #endif
8987 #ifdef __cplusplus
8988 }
8989 #endif
8990
8991 int
8992 main ()
8993 {
8994 return f != $ac_func;
8995   ;
8996   return 0;
8997 }
8998 _ACEOF
8999 rm -f conftest.$ac_objext conftest$ac_exeext
9000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9001   (eval $ac_link) 2>&5
9002   ac_status=$?
9003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004   (exit $ac_status); } &&
9005          { ac_try='test -s conftest$ac_exeext'
9006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9007   (eval $ac_try) 2>&5
9008   ac_status=$?
9009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010   (exit $ac_status); }; }; then
9011   eval "$as_ac_var=yes"
9012 else
9013   echo "$as_me: failed program was:" >&5
9014 sed 's/^/| /' conftest.$ac_ext >&5
9015
9016 eval "$as_ac_var=no"
9017 fi
9018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9019 fi
9020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9022 if test `eval echo '${'$as_ac_var'}'` = yes; then
9023   cat >>confdefs.h <<_ACEOF
9024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9025 _ACEOF
9026
9027 fi
9028 done
9029
9030   else
9031
9032   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9033 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9034   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9035     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9036   echo $ECHO_N "(cached) $ECHO_C" >&6
9037 else
9038
9039
9040
9041       ac_ext=cc
9042 ac_cpp='$CXXCPP $CPPFLAGS'
9043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9046
9047       cat >conftest.$ac_ext <<_ACEOF
9048 #line $LINENO "configure"
9049 /* confdefs.h.  */
9050 _ACEOF
9051 cat confdefs.h >>conftest.$ac_ext
9052 cat >>conftest.$ac_ext <<_ACEOF
9053 /* end confdefs.h.  */
9054 #include <math.h>
9055 int
9056 main ()
9057 {
9058  _copysign(0, 0);
9059   ;
9060   return 0;
9061 }
9062 _ACEOF
9063 rm -f conftest.$ac_objext
9064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9065   (eval $ac_compile) 2>&5
9066   ac_status=$?
9067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068   (exit $ac_status); } &&
9069          { ac_try='test -s conftest.$ac_objext'
9070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071   (eval $ac_try) 2>&5
9072   ac_status=$?
9073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074   (exit $ac_status); }; }; then
9075   glibcxx_cv_func__copysign_use=yes
9076 else
9077   echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9079
9080 glibcxx_cv_func__copysign_use=no
9081 fi
9082 rm -f conftest.$ac_objext conftest.$ac_ext
9083       ac_ext=c
9084 ac_cpp='$CPP $CPPFLAGS'
9085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9088
9089
9090 fi
9091
9092   fi
9093   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9094 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9095
9096     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9097
9098 for ac_func in _copysign
9099 do
9100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9101 echo "$as_me:$LINENO: checking for $ac_func" >&5
9102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9103 if eval "test \"\${$as_ac_var+set}\" = set"; then
9104   echo $ECHO_N "(cached) $ECHO_C" >&6
9105 else
9106   if test x$gcc_no_link = xyes; then
9107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9109    { (exit 1); exit 1; }; }
9110 fi
9111 cat >conftest.$ac_ext <<_ACEOF
9112 #line $LINENO "configure"
9113 /* confdefs.h.  */
9114 _ACEOF
9115 cat confdefs.h >>conftest.$ac_ext
9116 cat >>conftest.$ac_ext <<_ACEOF
9117 /* end confdefs.h.  */
9118 /* System header to define __stub macros and hopefully few prototypes,
9119     which can conflict with char $ac_func (); below.
9120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9121     <limits.h> exists even on freestanding compilers.  */
9122 #ifdef __STDC__
9123 # include <limits.h>
9124 #else
9125 # include <assert.h>
9126 #endif
9127 /* Override any gcc2 internal prototype to avoid an error.  */
9128 #ifdef __cplusplus
9129 extern "C"
9130 {
9131 #endif
9132 /* We use char because int might match the return type of a gcc2
9133    builtin and then its argument prototype would still apply.  */
9134 char $ac_func ();
9135 /* The GNU C library defines this for functions which it implements
9136     to always fail with ENOSYS.  Some functions are actually named
9137     something starting with __ and the normal name is an alias.  */
9138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9139 choke me
9140 #else
9141 char (*f) () = $ac_func;
9142 #endif
9143 #ifdef __cplusplus
9144 }
9145 #endif
9146
9147 int
9148 main ()
9149 {
9150 return f != $ac_func;
9151   ;
9152   return 0;
9153 }
9154 _ACEOF
9155 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9157   (eval $ac_link) 2>&5
9158   ac_status=$?
9159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160   (exit $ac_status); } &&
9161          { ac_try='test -s conftest$ac_exeext'
9162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163   (eval $ac_try) 2>&5
9164   ac_status=$?
9165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166   (exit $ac_status); }; }; then
9167   eval "$as_ac_var=yes"
9168 else
9169   echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.$ac_ext >&5
9171
9172 eval "$as_ac_var=no"
9173 fi
9174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9175 fi
9176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9178 if test `eval echo '${'$as_ac_var'}'` = yes; then
9179   cat >>confdefs.h <<_ACEOF
9180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9181 _ACEOF
9182
9183 fi
9184 done
9185
9186     fi
9187   fi
9188
9189
9190
9191   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9192 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9193   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9194     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9195   echo $ECHO_N "(cached) $ECHO_C" >&6
9196 else
9197
9198
9199
9200       ac_ext=cc
9201 ac_cpp='$CXXCPP $CPPFLAGS'
9202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9205
9206       cat >conftest.$ac_ext <<_ACEOF
9207 #line $LINENO "configure"
9208 /* confdefs.h.  */
9209 _ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h.  */
9213 #include <math.h>
9214 int
9215 main ()
9216 {
9217  sincos(0, 0, 0);
9218   ;
9219   return 0;
9220 }
9221 _ACEOF
9222 rm -f conftest.$ac_objext
9223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9224   (eval $ac_compile) 2>&5
9225   ac_status=$?
9226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227   (exit $ac_status); } &&
9228          { ac_try='test -s conftest.$ac_objext'
9229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230   (eval $ac_try) 2>&5
9231   ac_status=$?
9232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233   (exit $ac_status); }; }; then
9234   glibcxx_cv_func_sincos_use=yes
9235 else
9236   echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.$ac_ext >&5
9238
9239 glibcxx_cv_func_sincos_use=no
9240 fi
9241 rm -f conftest.$ac_objext conftest.$ac_ext
9242       ac_ext=c
9243 ac_cpp='$CPP $CPPFLAGS'
9244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9247
9248
9249 fi
9250
9251   fi
9252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9253 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9254
9255   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9256
9257 for ac_func in sincos
9258 do
9259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9260 echo "$as_me:$LINENO: checking for $ac_func" >&5
9261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9262 if eval "test \"\${$as_ac_var+set}\" = set"; then
9263   echo $ECHO_N "(cached) $ECHO_C" >&6
9264 else
9265   if test x$gcc_no_link = xyes; then
9266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9268    { (exit 1); exit 1; }; }
9269 fi
9270 cat >conftest.$ac_ext <<_ACEOF
9271 #line $LINENO "configure"
9272 /* confdefs.h.  */
9273 _ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h.  */
9277 /* System header to define __stub macros and hopefully few prototypes,
9278     which can conflict with char $ac_func (); below.
9279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9280     <limits.h> exists even on freestanding compilers.  */
9281 #ifdef __STDC__
9282 # include <limits.h>
9283 #else
9284 # include <assert.h>
9285 #endif
9286 /* Override any gcc2 internal prototype to avoid an error.  */
9287 #ifdef __cplusplus
9288 extern "C"
9289 {
9290 #endif
9291 /* We use char because int might match the return type of a gcc2
9292    builtin and then its argument prototype would still apply.  */
9293 char $ac_func ();
9294 /* The GNU C library defines this for functions which it implements
9295     to always fail with ENOSYS.  Some functions are actually named
9296     something starting with __ and the normal name is an alias.  */
9297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9298 choke me
9299 #else
9300 char (*f) () = $ac_func;
9301 #endif
9302 #ifdef __cplusplus
9303 }
9304 #endif
9305
9306 int
9307 main ()
9308 {
9309 return f != $ac_func;
9310   ;
9311   return 0;
9312 }
9313 _ACEOF
9314 rm -f conftest.$ac_objext conftest$ac_exeext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9316   (eval $ac_link) 2>&5
9317   ac_status=$?
9318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319   (exit $ac_status); } &&
9320          { ac_try='test -s conftest$ac_exeext'
9321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322   (eval $ac_try) 2>&5
9323   ac_status=$?
9324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325   (exit $ac_status); }; }; then
9326   eval "$as_ac_var=yes"
9327 else
9328   echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9330
9331 eval "$as_ac_var=no"
9332 fi
9333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9334 fi
9335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9337 if test `eval echo '${'$as_ac_var'}'` = yes; then
9338   cat >>confdefs.h <<_ACEOF
9339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9340 _ACEOF
9341
9342 fi
9343 done
9344
9345   else
9346
9347   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9348 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9349   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9350     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9351   echo $ECHO_N "(cached) $ECHO_C" >&6
9352 else
9353
9354
9355
9356       ac_ext=cc
9357 ac_cpp='$CXXCPP $CPPFLAGS'
9358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9361
9362       cat >conftest.$ac_ext <<_ACEOF
9363 #line $LINENO "configure"
9364 /* confdefs.h.  */
9365 _ACEOF
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h.  */
9369 #include <math.h>
9370 int
9371 main ()
9372 {
9373  _sincos(0, 0, 0);
9374   ;
9375   return 0;
9376 }
9377 _ACEOF
9378 rm -f conftest.$ac_objext
9379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9380   (eval $ac_compile) 2>&5
9381   ac_status=$?
9382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383   (exit $ac_status); } &&
9384          { ac_try='test -s conftest.$ac_objext'
9385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386   (eval $ac_try) 2>&5
9387   ac_status=$?
9388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389   (exit $ac_status); }; }; then
9390   glibcxx_cv_func__sincos_use=yes
9391 else
9392   echo "$as_me: failed program was:" >&5
9393 sed 's/^/| /' conftest.$ac_ext >&5
9394
9395 glibcxx_cv_func__sincos_use=no
9396 fi
9397 rm -f conftest.$ac_objext conftest.$ac_ext
9398       ac_ext=c
9399 ac_cpp='$CPP $CPPFLAGS'
9400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9403
9404
9405 fi
9406
9407   fi
9408   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9409 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9410
9411     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9412
9413 for ac_func in _sincos
9414 do
9415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9416 echo "$as_me:$LINENO: checking for $ac_func" >&5
9417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9418 if eval "test \"\${$as_ac_var+set}\" = set"; then
9419   echo $ECHO_N "(cached) $ECHO_C" >&6
9420 else
9421   if test x$gcc_no_link = xyes; then
9422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9424    { (exit 1); exit 1; }; }
9425 fi
9426 cat >conftest.$ac_ext <<_ACEOF
9427 #line $LINENO "configure"
9428 /* confdefs.h.  */
9429 _ACEOF
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h.  */
9433 /* System header to define __stub macros and hopefully few prototypes,
9434     which can conflict with char $ac_func (); below.
9435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9436     <limits.h> exists even on freestanding compilers.  */
9437 #ifdef __STDC__
9438 # include <limits.h>
9439 #else
9440 # include <assert.h>
9441 #endif
9442 /* Override any gcc2 internal prototype to avoid an error.  */
9443 #ifdef __cplusplus
9444 extern "C"
9445 {
9446 #endif
9447 /* We use char because int might match the return type of a gcc2
9448    builtin and then its argument prototype would still apply.  */
9449 char $ac_func ();
9450 /* The GNU C library defines this for functions which it implements
9451     to always fail with ENOSYS.  Some functions are actually named
9452     something starting with __ and the normal name is an alias.  */
9453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9454 choke me
9455 #else
9456 char (*f) () = $ac_func;
9457 #endif
9458 #ifdef __cplusplus
9459 }
9460 #endif
9461
9462 int
9463 main ()
9464 {
9465 return f != $ac_func;
9466   ;
9467   return 0;
9468 }
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472   (eval $ac_link) 2>&5
9473   ac_status=$?
9474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475   (exit $ac_status); } &&
9476          { ac_try='test -s conftest$ac_exeext'
9477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478   (eval $ac_try) 2>&5
9479   ac_status=$?
9480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481   (exit $ac_status); }; }; then
9482   eval "$as_ac_var=yes"
9483 else
9484   echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9486
9487 eval "$as_ac_var=no"
9488 fi
9489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9490 fi
9491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9493 if test `eval echo '${'$as_ac_var'}'` = yes; then
9494   cat >>confdefs.h <<_ACEOF
9495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9496 _ACEOF
9497
9498 fi
9499 done
9500
9501     fi
9502   fi
9503
9504
9505
9506   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9507 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9508   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9509     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9510   echo $ECHO_N "(cached) $ECHO_C" >&6
9511 else
9512
9513
9514
9515       ac_ext=cc
9516 ac_cpp='$CXXCPP $CPPFLAGS'
9517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9520
9521       cat >conftest.$ac_ext <<_ACEOF
9522 #line $LINENO "configure"
9523 /* confdefs.h.  */
9524 _ACEOF
9525 cat confdefs.h >>conftest.$ac_ext
9526 cat >>conftest.$ac_ext <<_ACEOF
9527 /* end confdefs.h.  */
9528 #include <math.h>
9529                       #ifdef HAVE_IEEEFP_H
9530                       #include <ieeefp.h>
9531                       #endif
9532
9533 int
9534 main ()
9535 {
9536  fpclass(0);
9537   ;
9538   return 0;
9539 }
9540 _ACEOF
9541 rm -f conftest.$ac_objext
9542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9543   (eval $ac_compile) 2>&5
9544   ac_status=$?
9545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546   (exit $ac_status); } &&
9547          { ac_try='test -s conftest.$ac_objext'
9548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549   (eval $ac_try) 2>&5
9550   ac_status=$?
9551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552   (exit $ac_status); }; }; then
9553   glibcxx_cv_func_fpclass_use=yes
9554 else
9555   echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9557
9558 glibcxx_cv_func_fpclass_use=no
9559 fi
9560 rm -f conftest.$ac_objext conftest.$ac_ext
9561       ac_ext=c
9562 ac_cpp='$CPP $CPPFLAGS'
9563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9566
9567
9568 fi
9569
9570   fi
9571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9572 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9573
9574   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9575
9576 for ac_func in fpclass
9577 do
9578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9579 echo "$as_me:$LINENO: checking for $ac_func" >&5
9580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9581 if eval "test \"\${$as_ac_var+set}\" = set"; then
9582   echo $ECHO_N "(cached) $ECHO_C" >&6
9583 else
9584   if test x$gcc_no_link = xyes; then
9585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9587    { (exit 1); exit 1; }; }
9588 fi
9589 cat >conftest.$ac_ext <<_ACEOF
9590 #line $LINENO "configure"
9591 /* confdefs.h.  */
9592 _ACEOF
9593 cat confdefs.h >>conftest.$ac_ext
9594 cat >>conftest.$ac_ext <<_ACEOF
9595 /* end confdefs.h.  */
9596 /* System header to define __stub macros and hopefully few prototypes,
9597     which can conflict with char $ac_func (); below.
9598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9599     <limits.h> exists even on freestanding compilers.  */
9600 #ifdef __STDC__
9601 # include <limits.h>
9602 #else
9603 # include <assert.h>
9604 #endif
9605 /* Override any gcc2 internal prototype to avoid an error.  */
9606 #ifdef __cplusplus
9607 extern "C"
9608 {
9609 #endif
9610 /* We use char because int might match the return type of a gcc2
9611    builtin and then its argument prototype would still apply.  */
9612 char $ac_func ();
9613 /* The GNU C library defines this for functions which it implements
9614     to always fail with ENOSYS.  Some functions are actually named
9615     something starting with __ and the normal name is an alias.  */
9616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9617 choke me
9618 #else
9619 char (*f) () = $ac_func;
9620 #endif
9621 #ifdef __cplusplus
9622 }
9623 #endif
9624
9625 int
9626 main ()
9627 {
9628 return f != $ac_func;
9629   ;
9630   return 0;
9631 }
9632 _ACEOF
9633 rm -f conftest.$ac_objext conftest$ac_exeext
9634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9635   (eval $ac_link) 2>&5
9636   ac_status=$?
9637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638   (exit $ac_status); } &&
9639          { ac_try='test -s conftest$ac_exeext'
9640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641   (eval $ac_try) 2>&5
9642   ac_status=$?
9643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644   (exit $ac_status); }; }; then
9645   eval "$as_ac_var=yes"
9646 else
9647   echo "$as_me: failed program was:" >&5
9648 sed 's/^/| /' conftest.$ac_ext >&5
9649
9650 eval "$as_ac_var=no"
9651 fi
9652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9653 fi
9654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9656 if test `eval echo '${'$as_ac_var'}'` = yes; then
9657   cat >>confdefs.h <<_ACEOF
9658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9659 _ACEOF
9660
9661 fi
9662 done
9663
9664   else
9665
9666   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9667 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9668   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9669     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9670   echo $ECHO_N "(cached) $ECHO_C" >&6
9671 else
9672
9673
9674
9675       ac_ext=cc
9676 ac_cpp='$CXXCPP $CPPFLAGS'
9677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9680
9681       cat >conftest.$ac_ext <<_ACEOF
9682 #line $LINENO "configure"
9683 /* confdefs.h.  */
9684 _ACEOF
9685 cat confdefs.h >>conftest.$ac_ext
9686 cat >>conftest.$ac_ext <<_ACEOF
9687 /* end confdefs.h.  */
9688 #include <math.h>
9689                       #ifdef HAVE_IEEEFP_H
9690                       #include <ieeefp.h>
9691                       #endif
9692
9693 int
9694 main ()
9695 {
9696  _fpclass(0);
9697   ;
9698   return 0;
9699 }
9700 _ACEOF
9701 rm -f conftest.$ac_objext
9702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9703   (eval $ac_compile) 2>&5
9704   ac_status=$?
9705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706   (exit $ac_status); } &&
9707          { ac_try='test -s conftest.$ac_objext'
9708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709   (eval $ac_try) 2>&5
9710   ac_status=$?
9711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712   (exit $ac_status); }; }; then
9713   glibcxx_cv_func__fpclass_use=yes
9714 else
9715   echo "$as_me: failed program was:" >&5
9716 sed 's/^/| /' conftest.$ac_ext >&5
9717
9718 glibcxx_cv_func__fpclass_use=no
9719 fi
9720 rm -f conftest.$ac_objext conftest.$ac_ext
9721       ac_ext=c
9722 ac_cpp='$CPP $CPPFLAGS'
9723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9726
9727
9728 fi
9729
9730   fi
9731   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9732 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9733
9734     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9735
9736 for ac_func in _fpclass
9737 do
9738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9739 echo "$as_me:$LINENO: checking for $ac_func" >&5
9740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9741 if eval "test \"\${$as_ac_var+set}\" = set"; then
9742   echo $ECHO_N "(cached) $ECHO_C" >&6
9743 else
9744   if test x$gcc_no_link = xyes; then
9745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9747    { (exit 1); exit 1; }; }
9748 fi
9749 cat >conftest.$ac_ext <<_ACEOF
9750 #line $LINENO "configure"
9751 /* confdefs.h.  */
9752 _ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h.  */
9756 /* System header to define __stub macros and hopefully few prototypes,
9757     which can conflict with char $ac_func (); below.
9758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759     <limits.h> exists even on freestanding compilers.  */
9760 #ifdef __STDC__
9761 # include <limits.h>
9762 #else
9763 # include <assert.h>
9764 #endif
9765 /* Override any gcc2 internal prototype to avoid an error.  */
9766 #ifdef __cplusplus
9767 extern "C"
9768 {
9769 #endif
9770 /* We use char because int might match the return type of a gcc2
9771    builtin and then its argument prototype would still apply.  */
9772 char $ac_func ();
9773 /* The GNU C library defines this for functions which it implements
9774     to always fail with ENOSYS.  Some functions are actually named
9775     something starting with __ and the normal name is an alias.  */
9776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9777 choke me
9778 #else
9779 char (*f) () = $ac_func;
9780 #endif
9781 #ifdef __cplusplus
9782 }
9783 #endif
9784
9785 int
9786 main ()
9787 {
9788 return f != $ac_func;
9789   ;
9790   return 0;
9791 }
9792 _ACEOF
9793 rm -f conftest.$ac_objext conftest$ac_exeext
9794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9795   (eval $ac_link) 2>&5
9796   ac_status=$?
9797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798   (exit $ac_status); } &&
9799          { ac_try='test -s conftest$ac_exeext'
9800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801   (eval $ac_try) 2>&5
9802   ac_status=$?
9803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804   (exit $ac_status); }; }; then
9805   eval "$as_ac_var=yes"
9806 else
9807   echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9809
9810 eval "$as_ac_var=no"
9811 fi
9812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9813 fi
9814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9816 if test `eval echo '${'$as_ac_var'}'` = yes; then
9817   cat >>confdefs.h <<_ACEOF
9818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9819 _ACEOF
9820
9821 fi
9822 done
9823
9824     fi
9825   fi
9826
9827
9828
9829   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9830 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9831   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9832     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9833   echo $ECHO_N "(cached) $ECHO_C" >&6
9834 else
9835
9836
9837
9838       ac_ext=cc
9839 ac_cpp='$CXXCPP $CPPFLAGS'
9840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9843
9844       cat >conftest.$ac_ext <<_ACEOF
9845 #line $LINENO "configure"
9846 /* confdefs.h.  */
9847 _ACEOF
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h.  */
9851 #include <math.h>
9852                       #ifdef HAVE_IEEEFP_H
9853                       #include <ieeefp.h>
9854                       #endif
9855
9856 int
9857 main ()
9858 {
9859  qfpclass(0);
9860   ;
9861   return 0;
9862 }
9863 _ACEOF
9864 rm -f conftest.$ac_objext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9866   (eval $ac_compile) 2>&5
9867   ac_status=$?
9868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869   (exit $ac_status); } &&
9870          { ac_try='test -s conftest.$ac_objext'
9871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9872   (eval $ac_try) 2>&5
9873   ac_status=$?
9874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875   (exit $ac_status); }; }; then
9876   glibcxx_cv_func_qfpclass_use=yes
9877 else
9878   echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9880
9881 glibcxx_cv_func_qfpclass_use=no
9882 fi
9883 rm -f conftest.$ac_objext conftest.$ac_ext
9884       ac_ext=c
9885 ac_cpp='$CPP $CPPFLAGS'
9886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9889
9890
9891 fi
9892
9893   fi
9894   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9895 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9896
9897   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9898
9899 for ac_func in qfpclass
9900 do
9901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9902 echo "$as_me:$LINENO: checking for $ac_func" >&5
9903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9904 if eval "test \"\${$as_ac_var+set}\" = set"; then
9905   echo $ECHO_N "(cached) $ECHO_C" >&6
9906 else
9907   if test x$gcc_no_link = xyes; then
9908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9910    { (exit 1); exit 1; }; }
9911 fi
9912 cat >conftest.$ac_ext <<_ACEOF
9913 #line $LINENO "configure"
9914 /* confdefs.h.  */
9915 _ACEOF
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
9918 /* end confdefs.h.  */
9919 /* System header to define __stub macros and hopefully few prototypes,
9920     which can conflict with char $ac_func (); below.
9921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9922     <limits.h> exists even on freestanding compilers.  */
9923 #ifdef __STDC__
9924 # include <limits.h>
9925 #else
9926 # include <assert.h>
9927 #endif
9928 /* Override any gcc2 internal prototype to avoid an error.  */
9929 #ifdef __cplusplus
9930 extern "C"
9931 {
9932 #endif
9933 /* We use char because int might match the return type of a gcc2
9934    builtin and then its argument prototype would still apply.  */
9935 char $ac_func ();
9936 /* The GNU C library defines this for functions which it implements
9937     to always fail with ENOSYS.  Some functions are actually named
9938     something starting with __ and the normal name is an alias.  */
9939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9940 choke me
9941 #else
9942 char (*f) () = $ac_func;
9943 #endif
9944 #ifdef __cplusplus
9945 }
9946 #endif
9947
9948 int
9949 main ()
9950 {
9951 return f != $ac_func;
9952   ;
9953   return 0;
9954 }
9955 _ACEOF
9956 rm -f conftest.$ac_objext conftest$ac_exeext
9957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9958   (eval $ac_link) 2>&5
9959   ac_status=$?
9960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961   (exit $ac_status); } &&
9962          { ac_try='test -s conftest$ac_exeext'
9963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964   (eval $ac_try) 2>&5
9965   ac_status=$?
9966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967   (exit $ac_status); }; }; then
9968   eval "$as_ac_var=yes"
9969 else
9970   echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.$ac_ext >&5
9972
9973 eval "$as_ac_var=no"
9974 fi
9975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9976 fi
9977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9979 if test `eval echo '${'$as_ac_var'}'` = yes; then
9980   cat >>confdefs.h <<_ACEOF
9981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9982 _ACEOF
9983
9984 fi
9985 done
9986
9987   else
9988
9989   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9990 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9991   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9992     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9993   echo $ECHO_N "(cached) $ECHO_C" >&6
9994 else
9995
9996
9997
9998       ac_ext=cc
9999 ac_cpp='$CXXCPP $CPPFLAGS'
10000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10003
10004       cat >conftest.$ac_ext <<_ACEOF
10005 #line $LINENO "configure"
10006 /* confdefs.h.  */
10007 _ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h.  */
10011 #include <math.h>
10012                       #ifdef HAVE_IEEEFP_H
10013                       #include <ieeefp.h>
10014                       #endif
10015
10016 int
10017 main ()
10018 {
10019  _qfpclass(0);
10020   ;
10021   return 0;
10022 }
10023 _ACEOF
10024 rm -f conftest.$ac_objext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10026   (eval $ac_compile) 2>&5
10027   ac_status=$?
10028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029   (exit $ac_status); } &&
10030          { ac_try='test -s conftest.$ac_objext'
10031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032   (eval $ac_try) 2>&5
10033   ac_status=$?
10034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035   (exit $ac_status); }; }; then
10036   glibcxx_cv_func__qfpclass_use=yes
10037 else
10038   echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10040
10041 glibcxx_cv_func__qfpclass_use=no
10042 fi
10043 rm -f conftest.$ac_objext conftest.$ac_ext
10044       ac_ext=c
10045 ac_cpp='$CPP $CPPFLAGS'
10046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10049
10050
10051 fi
10052
10053   fi
10054   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10055 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10056
10057     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10058
10059 for ac_func in _qfpclass
10060 do
10061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10062 echo "$as_me:$LINENO: checking for $ac_func" >&5
10063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10064 if eval "test \"\${$as_ac_var+set}\" = set"; then
10065   echo $ECHO_N "(cached) $ECHO_C" >&6
10066 else
10067   if test x$gcc_no_link = xyes; then
10068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10070    { (exit 1); exit 1; }; }
10071 fi
10072 cat >conftest.$ac_ext <<_ACEOF
10073 #line $LINENO "configure"
10074 /* confdefs.h.  */
10075 _ACEOF
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h.  */
10079 /* System header to define __stub macros and hopefully few prototypes,
10080     which can conflict with char $ac_func (); below.
10081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10082     <limits.h> exists even on freestanding compilers.  */
10083 #ifdef __STDC__
10084 # include <limits.h>
10085 #else
10086 # include <assert.h>
10087 #endif
10088 /* Override any gcc2 internal prototype to avoid an error.  */
10089 #ifdef __cplusplus
10090 extern "C"
10091 {
10092 #endif
10093 /* We use char because int might match the return type of a gcc2
10094    builtin and then its argument prototype would still apply.  */
10095 char $ac_func ();
10096 /* The GNU C library defines this for functions which it implements
10097     to always fail with ENOSYS.  Some functions are actually named
10098     something starting with __ and the normal name is an alias.  */
10099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10100 choke me
10101 #else
10102 char (*f) () = $ac_func;
10103 #endif
10104 #ifdef __cplusplus
10105 }
10106 #endif
10107
10108 int
10109 main ()
10110 {
10111 return f != $ac_func;
10112   ;
10113   return 0;
10114 }
10115 _ACEOF
10116 rm -f conftest.$ac_objext conftest$ac_exeext
10117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10118   (eval $ac_link) 2>&5
10119   ac_status=$?
10120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121   (exit $ac_status); } &&
10122          { ac_try='test -s conftest$ac_exeext'
10123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124   (eval $ac_try) 2>&5
10125   ac_status=$?
10126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127   (exit $ac_status); }; }; then
10128   eval "$as_ac_var=yes"
10129 else
10130   echo "$as_me: failed program was:" >&5
10131 sed 's/^/| /' conftest.$ac_ext >&5
10132
10133 eval "$as_ac_var=no"
10134 fi
10135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10136 fi
10137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10139 if test `eval echo '${'$as_ac_var'}'` = yes; then
10140   cat >>confdefs.h <<_ACEOF
10141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10142 _ACEOF
10143
10144 fi
10145 done
10146
10147     fi
10148   fi
10149
10150
10151
10152   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10153 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10154   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10155     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10156   echo $ECHO_N "(cached) $ECHO_C" >&6
10157 else
10158
10159
10160
10161       ac_ext=cc
10162 ac_cpp='$CXXCPP $CPPFLAGS'
10163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10166
10167       cat >conftest.$ac_ext <<_ACEOF
10168 #line $LINENO "configure"
10169 /* confdefs.h.  */
10170 _ACEOF
10171 cat confdefs.h >>conftest.$ac_ext
10172 cat >>conftest.$ac_ext <<_ACEOF
10173 /* end confdefs.h.  */
10174 #include <math.h>
10175 int
10176 main ()
10177 {
10178  hypot(0, 0);
10179   ;
10180   return 0;
10181 }
10182 _ACEOF
10183 rm -f conftest.$ac_objext
10184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10185   (eval $ac_compile) 2>&5
10186   ac_status=$?
10187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188   (exit $ac_status); } &&
10189          { ac_try='test -s conftest.$ac_objext'
10190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191   (eval $ac_try) 2>&5
10192   ac_status=$?
10193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194   (exit $ac_status); }; }; then
10195   glibcxx_cv_func_hypot_use=yes
10196 else
10197   echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10199
10200 glibcxx_cv_func_hypot_use=no
10201 fi
10202 rm -f conftest.$ac_objext conftest.$ac_ext
10203       ac_ext=c
10204 ac_cpp='$CPP $CPPFLAGS'
10205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10208
10209
10210 fi
10211
10212   fi
10213   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10214 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10215
10216   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10217
10218 for ac_func in hypot
10219 do
10220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10221 echo "$as_me:$LINENO: checking for $ac_func" >&5
10222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10223 if eval "test \"\${$as_ac_var+set}\" = set"; then
10224   echo $ECHO_N "(cached) $ECHO_C" >&6
10225 else
10226   if test x$gcc_no_link = xyes; then
10227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10229    { (exit 1); exit 1; }; }
10230 fi
10231 cat >conftest.$ac_ext <<_ACEOF
10232 #line $LINENO "configure"
10233 /* confdefs.h.  */
10234 _ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h.  */
10238 /* System header to define __stub macros and hopefully few prototypes,
10239     which can conflict with char $ac_func (); below.
10240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10241     <limits.h> exists even on freestanding compilers.  */
10242 #ifdef __STDC__
10243 # include <limits.h>
10244 #else
10245 # include <assert.h>
10246 #endif
10247 /* Override any gcc2 internal prototype to avoid an error.  */
10248 #ifdef __cplusplus
10249 extern "C"
10250 {
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253    builtin and then its argument prototype would still apply.  */
10254 char $ac_func ();
10255 /* The GNU C library defines this for functions which it implements
10256     to always fail with ENOSYS.  Some functions are actually named
10257     something starting with __ and the normal name is an alias.  */
10258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10259 choke me
10260 #else
10261 char (*f) () = $ac_func;
10262 #endif
10263 #ifdef __cplusplus
10264 }
10265 #endif
10266
10267 int
10268 main ()
10269 {
10270 return f != $ac_func;
10271   ;
10272   return 0;
10273 }
10274 _ACEOF
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10277   (eval $ac_link) 2>&5
10278   ac_status=$?
10279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280   (exit $ac_status); } &&
10281          { ac_try='test -s conftest$ac_exeext'
10282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283   (eval $ac_try) 2>&5
10284   ac_status=$?
10285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286   (exit $ac_status); }; }; then
10287   eval "$as_ac_var=yes"
10288 else
10289   echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10291
10292 eval "$as_ac_var=no"
10293 fi
10294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10295 fi
10296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10298 if test `eval echo '${'$as_ac_var'}'` = yes; then
10299   cat >>confdefs.h <<_ACEOF
10300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10301 _ACEOF
10302
10303 fi
10304 done
10305
10306   else
10307
10308   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10309 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10310   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10311     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10312   echo $ECHO_N "(cached) $ECHO_C" >&6
10313 else
10314
10315
10316
10317       ac_ext=cc
10318 ac_cpp='$CXXCPP $CPPFLAGS'
10319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10322
10323       cat >conftest.$ac_ext <<_ACEOF
10324 #line $LINENO "configure"
10325 /* confdefs.h.  */
10326 _ACEOF
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h.  */
10330 #include <math.h>
10331 int
10332 main ()
10333 {
10334  _hypot(0, 0);
10335   ;
10336   return 0;
10337 }
10338 _ACEOF
10339 rm -f conftest.$ac_objext
10340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10341   (eval $ac_compile) 2>&5
10342   ac_status=$?
10343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344   (exit $ac_status); } &&
10345          { ac_try='test -s conftest.$ac_objext'
10346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347   (eval $ac_try) 2>&5
10348   ac_status=$?
10349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350   (exit $ac_status); }; }; then
10351   glibcxx_cv_func__hypot_use=yes
10352 else
10353   echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.$ac_ext >&5
10355
10356 glibcxx_cv_func__hypot_use=no
10357 fi
10358 rm -f conftest.$ac_objext conftest.$ac_ext
10359       ac_ext=c
10360 ac_cpp='$CPP $CPPFLAGS'
10361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10364
10365
10366 fi
10367
10368   fi
10369   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10370 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10371
10372     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10373
10374 for ac_func in _hypot
10375 do
10376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10377 echo "$as_me:$LINENO: checking for $ac_func" >&5
10378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10379 if eval "test \"\${$as_ac_var+set}\" = set"; then
10380   echo $ECHO_N "(cached) $ECHO_C" >&6
10381 else
10382   if test x$gcc_no_link = xyes; then
10383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10385    { (exit 1); exit 1; }; }
10386 fi
10387 cat >conftest.$ac_ext <<_ACEOF
10388 #line $LINENO "configure"
10389 /* confdefs.h.  */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h.  */
10394 /* System header to define __stub macros and hopefully few prototypes,
10395     which can conflict with char $ac_func (); below.
10396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10397     <limits.h> exists even on freestanding compilers.  */
10398 #ifdef __STDC__
10399 # include <limits.h>
10400 #else
10401 # include <assert.h>
10402 #endif
10403 /* Override any gcc2 internal prototype to avoid an error.  */
10404 #ifdef __cplusplus
10405 extern "C"
10406 {
10407 #endif
10408 /* We use char because int might match the return type of a gcc2
10409    builtin and then its argument prototype would still apply.  */
10410 char $ac_func ();
10411 /* The GNU C library defines this for functions which it implements
10412     to always fail with ENOSYS.  Some functions are actually named
10413     something starting with __ and the normal name is an alias.  */
10414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10415 choke me
10416 #else
10417 char (*f) () = $ac_func;
10418 #endif
10419 #ifdef __cplusplus
10420 }
10421 #endif
10422
10423 int
10424 main ()
10425 {
10426 return f != $ac_func;
10427   ;
10428   return 0;
10429 }
10430 _ACEOF
10431 rm -f conftest.$ac_objext conftest$ac_exeext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433   (eval $ac_link) 2>&5
10434   ac_status=$?
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); } &&
10437          { ac_try='test -s conftest$ac_exeext'
10438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439   (eval $ac_try) 2>&5
10440   ac_status=$?
10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442   (exit $ac_status); }; }; then
10443   eval "$as_ac_var=yes"
10444 else
10445   echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 eval "$as_ac_var=no"
10449 fi
10450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10451 fi
10452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10454 if test `eval echo '${'$as_ac_var'}'` = yes; then
10455   cat >>confdefs.h <<_ACEOF
10456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10457 _ACEOF
10458
10459 fi
10460 done
10461
10462     fi
10463   fi
10464
10465
10466
10467   echo "$as_me:$LINENO: checking for float trig functions" >&5
10468 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10469   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10470   echo $ECHO_N "(cached) $ECHO_C" >&6
10471 else
10472
10473
10474
10475     ac_ext=cc
10476 ac_cpp='$CXXCPP $CPPFLAGS'
10477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10480
10481     cat >conftest.$ac_ext <<_ACEOF
10482 #line $LINENO "configure"
10483 /* confdefs.h.  */
10484 _ACEOF
10485 cat confdefs.h >>conftest.$ac_ext
10486 cat >>conftest.$ac_ext <<_ACEOF
10487 /* end confdefs.h.  */
10488 #include <math.h>
10489 int
10490 main ()
10491 {
10492  `for x in acosf asinf atanf \
10493                                           cosf sinf tanf \
10494                                           coshf sinhf tanhf; do echo "$x (0);"; done`
10495   ;
10496   return 0;
10497 }
10498 _ACEOF
10499 rm -f conftest.$ac_objext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501   (eval $ac_compile) 2>&5
10502   ac_status=$?
10503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504   (exit $ac_status); } &&
10505          { ac_try='test -s conftest.$ac_objext'
10506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507   (eval $ac_try) 2>&5
10508   ac_status=$?
10509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510   (exit $ac_status); }; }; then
10511   glibcxx_cv_func_float_trig_use=yes
10512 else
10513   echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.$ac_ext >&5
10515
10516 glibcxx_cv_func_float_trig_use=no
10517 fi
10518 rm -f conftest.$ac_objext conftest.$ac_ext
10519     ac_ext=c
10520 ac_cpp='$CPP $CPPFLAGS'
10521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10524
10525 fi
10526
10527   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10528 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10529   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539 for ac_func in acosf asinf atanf \
10540                                           cosf sinf tanf \
10541                                           coshf sinhf tanhf
10542 do
10543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10544 echo "$as_me:$LINENO: checking for $ac_func" >&5
10545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10546 if eval "test \"\${$as_ac_var+set}\" = set"; then
10547   echo $ECHO_N "(cached) $ECHO_C" >&6
10548 else
10549   if test x$gcc_no_link = xyes; then
10550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10552    { (exit 1); exit 1; }; }
10553 fi
10554 cat >conftest.$ac_ext <<_ACEOF
10555 #line $LINENO "configure"
10556 /* confdefs.h.  */
10557 _ACEOF
10558 cat confdefs.h >>conftest.$ac_ext
10559 cat >>conftest.$ac_ext <<_ACEOF
10560 /* end confdefs.h.  */
10561 /* System header to define __stub macros and hopefully few prototypes,
10562     which can conflict with char $ac_func (); below.
10563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10564     <limits.h> exists even on freestanding compilers.  */
10565 #ifdef __STDC__
10566 # include <limits.h>
10567 #else
10568 # include <assert.h>
10569 #endif
10570 /* Override any gcc2 internal prototype to avoid an error.  */
10571 #ifdef __cplusplus
10572 extern "C"
10573 {
10574 #endif
10575 /* We use char because int might match the return type of a gcc2
10576    builtin and then its argument prototype would still apply.  */
10577 char $ac_func ();
10578 /* The GNU C library defines this for functions which it implements
10579     to always fail with ENOSYS.  Some functions are actually named
10580     something starting with __ and the normal name is an alias.  */
10581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10582 choke me
10583 #else
10584 char (*f) () = $ac_func;
10585 #endif
10586 #ifdef __cplusplus
10587 }
10588 #endif
10589
10590 int
10591 main ()
10592 {
10593 return f != $ac_func;
10594   ;
10595   return 0;
10596 }
10597 _ACEOF
10598 rm -f conftest.$ac_objext conftest$ac_exeext
10599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10600   (eval $ac_link) 2>&5
10601   ac_status=$?
10602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603   (exit $ac_status); } &&
10604          { ac_try='test -s conftest$ac_exeext'
10605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10606   (eval $ac_try) 2>&5
10607   ac_status=$?
10608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609   (exit $ac_status); }; }; then
10610   eval "$as_ac_var=yes"
10611 else
10612   echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.$ac_ext >&5
10614
10615 eval "$as_ac_var=no"
10616 fi
10617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10618 fi
10619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10621 if test `eval echo '${'$as_ac_var'}'` = yes; then
10622   cat >>confdefs.h <<_ACEOF
10623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10624 _ACEOF
10625
10626 fi
10627 done
10628
10629   fi
10630
10631
10632   echo "$as_me:$LINENO: checking for float round functions" >&5
10633 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10634   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10635   echo $ECHO_N "(cached) $ECHO_C" >&6
10636 else
10637
10638
10639
10640     ac_ext=cc
10641 ac_cpp='$CXXCPP $CPPFLAGS'
10642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10645
10646     cat >conftest.$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10648 /* confdefs.h.  */
10649 _ACEOF
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h.  */
10653 #include <math.h>
10654 int
10655 main ()
10656 {
10657  `for x in ceilf floorf; do echo "$x (0);"; done`
10658   ;
10659   return 0;
10660 }
10661 _ACEOF
10662 rm -f conftest.$ac_objext
10663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10664   (eval $ac_compile) 2>&5
10665   ac_status=$?
10666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667   (exit $ac_status); } &&
10668          { ac_try='test -s conftest.$ac_objext'
10669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670   (eval $ac_try) 2>&5
10671   ac_status=$?
10672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673   (exit $ac_status); }; }; then
10674   glibcxx_cv_func_float_round_use=yes
10675 else
10676   echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10678
10679 glibcxx_cv_func_float_round_use=no
10680 fi
10681 rm -f conftest.$ac_objext conftest.$ac_ext
10682     ac_ext=c
10683 ac_cpp='$CPP $CPPFLAGS'
10684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10687
10688 fi
10689
10690   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10691 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10692   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10693
10694
10695 for ac_func in ceilf floorf
10696 do
10697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10698 echo "$as_me:$LINENO: checking for $ac_func" >&5
10699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_var+set}\" = set"; then
10701   echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703   if test x$gcc_no_link = xyes; then
10704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706    { (exit 1); exit 1; }; }
10707 fi
10708 cat >conftest.$ac_ext <<_ACEOF
10709 #line $LINENO "configure"
10710 /* confdefs.h.  */
10711 _ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h.  */
10715 /* System header to define __stub macros and hopefully few prototypes,
10716     which can conflict with char $ac_func (); below.
10717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10718     <limits.h> exists even on freestanding compilers.  */
10719 #ifdef __STDC__
10720 # include <limits.h>
10721 #else
10722 # include <assert.h>
10723 #endif
10724 /* Override any gcc2 internal prototype to avoid an error.  */
10725 #ifdef __cplusplus
10726 extern "C"
10727 {
10728 #endif
10729 /* We use char because int might match the return type of a gcc2
10730    builtin and then its argument prototype would still apply.  */
10731 char $ac_func ();
10732 /* The GNU C library defines this for functions which it implements
10733     to always fail with ENOSYS.  Some functions are actually named
10734     something starting with __ and the normal name is an alias.  */
10735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10736 choke me
10737 #else
10738 char (*f) () = $ac_func;
10739 #endif
10740 #ifdef __cplusplus
10741 }
10742 #endif
10743
10744 int
10745 main ()
10746 {
10747 return f != $ac_func;
10748   ;
10749   return 0;
10750 }
10751 _ACEOF
10752 rm -f conftest.$ac_objext conftest$ac_exeext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10754   (eval $ac_link) 2>&5
10755   ac_status=$?
10756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757   (exit $ac_status); } &&
10758          { ac_try='test -s conftest$ac_exeext'
10759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760   (eval $ac_try) 2>&5
10761   ac_status=$?
10762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763   (exit $ac_status); }; }; then
10764   eval "$as_ac_var=yes"
10765 else
10766   echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.$ac_ext >&5
10768
10769 eval "$as_ac_var=no"
10770 fi
10771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10772 fi
10773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10775 if test `eval echo '${'$as_ac_var'}'` = yes; then
10776   cat >>confdefs.h <<_ACEOF
10777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10778 _ACEOF
10779
10780 fi
10781 done
10782
10783   fi
10784
10785
10786
10787   echo "$as_me:$LINENO: checking for expf declaration" >&5
10788 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10789   if test x${glibcxx_cv_func_expf_use+set} != xset; then
10790     if test "${glibcxx_cv_func_expf_use+set}" = set; then
10791   echo $ECHO_N "(cached) $ECHO_C" >&6
10792 else
10793
10794
10795
10796       ac_ext=cc
10797 ac_cpp='$CXXCPP $CPPFLAGS'
10798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10801
10802       cat >conftest.$ac_ext <<_ACEOF
10803 #line $LINENO "configure"
10804 /* confdefs.h.  */
10805 _ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h.  */
10809 #include <math.h>
10810                       #ifdef HAVE_IEEEFP_H
10811                       #include <ieeefp.h>
10812                       #endif
10813
10814 int
10815 main ()
10816 {
10817  expf(0);
10818   ;
10819   return 0;
10820 }
10821 _ACEOF
10822 rm -f conftest.$ac_objext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10824   (eval $ac_compile) 2>&5
10825   ac_status=$?
10826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827   (exit $ac_status); } &&
10828          { ac_try='test -s conftest.$ac_objext'
10829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10830   (eval $ac_try) 2>&5
10831   ac_status=$?
10832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833   (exit $ac_status); }; }; then
10834   glibcxx_cv_func_expf_use=yes
10835 else
10836   echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10838
10839 glibcxx_cv_func_expf_use=no
10840 fi
10841 rm -f conftest.$ac_objext conftest.$ac_ext
10842       ac_ext=c
10843 ac_cpp='$CPP $CPPFLAGS'
10844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10847
10848
10849 fi
10850
10851   fi
10852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10853 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10854
10855   if test x$glibcxx_cv_func_expf_use = x"yes"; then
10856
10857 for ac_func in expf
10858 do
10859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10860 echo "$as_me:$LINENO: checking for $ac_func" >&5
10861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10862 if eval "test \"\${$as_ac_var+set}\" = set"; then
10863   echo $ECHO_N "(cached) $ECHO_C" >&6
10864 else
10865   if test x$gcc_no_link = xyes; then
10866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10868    { (exit 1); exit 1; }; }
10869 fi
10870 cat >conftest.$ac_ext <<_ACEOF
10871 #line $LINENO "configure"
10872 /* confdefs.h.  */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h.  */
10877 /* System header to define __stub macros and hopefully few prototypes,
10878     which can conflict with char $ac_func (); below.
10879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10880     <limits.h> exists even on freestanding compilers.  */
10881 #ifdef __STDC__
10882 # include <limits.h>
10883 #else
10884 # include <assert.h>
10885 #endif
10886 /* Override any gcc2 internal prototype to avoid an error.  */
10887 #ifdef __cplusplus
10888 extern "C"
10889 {
10890 #endif
10891 /* We use char because int might match the return type of a gcc2
10892    builtin and then its argument prototype would still apply.  */
10893 char $ac_func ();
10894 /* The GNU C library defines this for functions which it implements
10895     to always fail with ENOSYS.  Some functions are actually named
10896     something starting with __ and the normal name is an alias.  */
10897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10898 choke me
10899 #else
10900 char (*f) () = $ac_func;
10901 #endif
10902 #ifdef __cplusplus
10903 }
10904 #endif
10905
10906 int
10907 main ()
10908 {
10909 return f != $ac_func;
10910   ;
10911   return 0;
10912 }
10913 _ACEOF
10914 rm -f conftest.$ac_objext conftest$ac_exeext
10915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10916   (eval $ac_link) 2>&5
10917   ac_status=$?
10918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919   (exit $ac_status); } &&
10920          { ac_try='test -s conftest$ac_exeext'
10921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922   (eval $ac_try) 2>&5
10923   ac_status=$?
10924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925   (exit $ac_status); }; }; then
10926   eval "$as_ac_var=yes"
10927 else
10928   echo "$as_me: failed program was:" >&5
10929 sed 's/^/| /' conftest.$ac_ext >&5
10930
10931 eval "$as_ac_var=no"
10932 fi
10933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10934 fi
10935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10937 if test `eval echo '${'$as_ac_var'}'` = yes; then
10938   cat >>confdefs.h <<_ACEOF
10939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10940 _ACEOF
10941
10942 fi
10943 done
10944
10945   else
10946
10947   echo "$as_me:$LINENO: checking for _expf declaration" >&5
10948 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10949   if test x${glibcxx_cv_func__expf_use+set} != xset; then
10950     if test "${glibcxx_cv_func__expf_use+set}" = set; then
10951   echo $ECHO_N "(cached) $ECHO_C" >&6
10952 else
10953
10954
10955
10956       ac_ext=cc
10957 ac_cpp='$CXXCPP $CPPFLAGS'
10958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10961
10962       cat >conftest.$ac_ext <<_ACEOF
10963 #line $LINENO "configure"
10964 /* confdefs.h.  */
10965 _ACEOF
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h.  */
10969 #include <math.h>
10970                       #ifdef HAVE_IEEEFP_H
10971                       #include <ieeefp.h>
10972                       #endif
10973
10974 int
10975 main ()
10976 {
10977  _expf(0);
10978   ;
10979   return 0;
10980 }
10981 _ACEOF
10982 rm -f conftest.$ac_objext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10984   (eval $ac_compile) 2>&5
10985   ac_status=$?
10986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987   (exit $ac_status); } &&
10988          { ac_try='test -s conftest.$ac_objext'
10989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990   (eval $ac_try) 2>&5
10991   ac_status=$?
10992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993   (exit $ac_status); }; }; then
10994   glibcxx_cv_func__expf_use=yes
10995 else
10996   echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
10998
10999 glibcxx_cv_func__expf_use=no
11000 fi
11001 rm -f conftest.$ac_objext conftest.$ac_ext
11002       ac_ext=c
11003 ac_cpp='$CPP $CPPFLAGS'
11004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11007
11008
11009 fi
11010
11011   fi
11012   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11013 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11014
11015     if test x$glibcxx_cv_func__expf_use = x"yes"; then
11016
11017 for ac_func in _expf
11018 do
11019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11020 echo "$as_me:$LINENO: checking for $ac_func" >&5
11021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11022 if eval "test \"\${$as_ac_var+set}\" = set"; then
11023   echo $ECHO_N "(cached) $ECHO_C" >&6
11024 else
11025   if test x$gcc_no_link = xyes; then
11026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11028    { (exit 1); exit 1; }; }
11029 fi
11030 cat >conftest.$ac_ext <<_ACEOF
11031 #line $LINENO "configure"
11032 /* confdefs.h.  */
11033 _ACEOF
11034 cat confdefs.h >>conftest.$ac_ext
11035 cat >>conftest.$ac_ext <<_ACEOF
11036 /* end confdefs.h.  */
11037 /* System header to define __stub macros and hopefully few prototypes,
11038     which can conflict with char $ac_func (); below.
11039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11040     <limits.h> exists even on freestanding compilers.  */
11041 #ifdef __STDC__
11042 # include <limits.h>
11043 #else
11044 # include <assert.h>
11045 #endif
11046 /* Override any gcc2 internal prototype to avoid an error.  */
11047 #ifdef __cplusplus
11048 extern "C"
11049 {
11050 #endif
11051 /* We use char because int might match the return type of a gcc2
11052    builtin and then its argument prototype would still apply.  */
11053 char $ac_func ();
11054 /* The GNU C library defines this for functions which it implements
11055     to always fail with ENOSYS.  Some functions are actually named
11056     something starting with __ and the normal name is an alias.  */
11057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11058 choke me
11059 #else
11060 char (*f) () = $ac_func;
11061 #endif
11062 #ifdef __cplusplus
11063 }
11064 #endif
11065
11066 int
11067 main ()
11068 {
11069 return f != $ac_func;
11070   ;
11071   return 0;
11072 }
11073 _ACEOF
11074 rm -f conftest.$ac_objext conftest$ac_exeext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11076   (eval $ac_link) 2>&5
11077   ac_status=$?
11078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079   (exit $ac_status); } &&
11080          { ac_try='test -s conftest$ac_exeext'
11081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082   (eval $ac_try) 2>&5
11083   ac_status=$?
11084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085   (exit $ac_status); }; }; then
11086   eval "$as_ac_var=yes"
11087 else
11088   echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.$ac_ext >&5
11090
11091 eval "$as_ac_var=no"
11092 fi
11093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11094 fi
11095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11097 if test `eval echo '${'$as_ac_var'}'` = yes; then
11098   cat >>confdefs.h <<_ACEOF
11099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11100 _ACEOF
11101
11102 fi
11103 done
11104
11105     fi
11106   fi
11107
11108
11109
11110   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11111 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11112   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11113     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11114   echo $ECHO_N "(cached) $ECHO_C" >&6
11115 else
11116
11117
11118
11119       ac_ext=cc
11120 ac_cpp='$CXXCPP $CPPFLAGS'
11121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11124
11125       cat >conftest.$ac_ext <<_ACEOF
11126 #line $LINENO "configure"
11127 /* confdefs.h.  */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h.  */
11132 #include <math.h>
11133                       #ifdef HAVE_IEEEFP_H
11134                       #include <ieeefp.h>
11135                       #endif
11136
11137 int
11138 main ()
11139 {
11140  isnanf(0);
11141   ;
11142   return 0;
11143 }
11144 _ACEOF
11145 rm -f conftest.$ac_objext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147   (eval $ac_compile) 2>&5
11148   ac_status=$?
11149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150   (exit $ac_status); } &&
11151          { ac_try='test -s conftest.$ac_objext'
11152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153   (eval $ac_try) 2>&5
11154   ac_status=$?
11155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156   (exit $ac_status); }; }; then
11157   glibcxx_cv_func_isnanf_use=yes
11158 else
11159   echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11161
11162 glibcxx_cv_func_isnanf_use=no
11163 fi
11164 rm -f conftest.$ac_objext conftest.$ac_ext
11165       ac_ext=c
11166 ac_cpp='$CPP $CPPFLAGS'
11167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11170
11171
11172 fi
11173
11174   fi
11175   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11176 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11177
11178   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11179
11180 for ac_func in isnanf
11181 do
11182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11183 echo "$as_me:$LINENO: checking for $ac_func" >&5
11184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11185 if eval "test \"\${$as_ac_var+set}\" = set"; then
11186   echo $ECHO_N "(cached) $ECHO_C" >&6
11187 else
11188   if test x$gcc_no_link = xyes; then
11189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11191    { (exit 1); exit 1; }; }
11192 fi
11193 cat >conftest.$ac_ext <<_ACEOF
11194 #line $LINENO "configure"
11195 /* confdefs.h.  */
11196 _ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h.  */
11200 /* System header to define __stub macros and hopefully few prototypes,
11201     which can conflict with char $ac_func (); below.
11202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11203     <limits.h> exists even on freestanding compilers.  */
11204 #ifdef __STDC__
11205 # include <limits.h>
11206 #else
11207 # include <assert.h>
11208 #endif
11209 /* Override any gcc2 internal prototype to avoid an error.  */
11210 #ifdef __cplusplus
11211 extern "C"
11212 {
11213 #endif
11214 /* We use char because int might match the return type of a gcc2
11215    builtin and then its argument prototype would still apply.  */
11216 char $ac_func ();
11217 /* The GNU C library defines this for functions which it implements
11218     to always fail with ENOSYS.  Some functions are actually named
11219     something starting with __ and the normal name is an alias.  */
11220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11221 choke me
11222 #else
11223 char (*f) () = $ac_func;
11224 #endif
11225 #ifdef __cplusplus
11226 }
11227 #endif
11228
11229 int
11230 main ()
11231 {
11232 return f != $ac_func;
11233   ;
11234   return 0;
11235 }
11236 _ACEOF
11237 rm -f conftest.$ac_objext conftest$ac_exeext
11238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11239   (eval $ac_link) 2>&5
11240   ac_status=$?
11241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242   (exit $ac_status); } &&
11243          { ac_try='test -s conftest$ac_exeext'
11244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245   (eval $ac_try) 2>&5
11246   ac_status=$?
11247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248   (exit $ac_status); }; }; then
11249   eval "$as_ac_var=yes"
11250 else
11251   echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11253
11254 eval "$as_ac_var=no"
11255 fi
11256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11257 fi
11258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11260 if test `eval echo '${'$as_ac_var'}'` = yes; then
11261   cat >>confdefs.h <<_ACEOF
11262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11263 _ACEOF
11264
11265 fi
11266 done
11267
11268   else
11269
11270   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11271 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11272   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11273     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11274   echo $ECHO_N "(cached) $ECHO_C" >&6
11275 else
11276
11277
11278
11279       ac_ext=cc
11280 ac_cpp='$CXXCPP $CPPFLAGS'
11281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11284
11285       cat >conftest.$ac_ext <<_ACEOF
11286 #line $LINENO "configure"
11287 /* confdefs.h.  */
11288 _ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h.  */
11292 #include <math.h>
11293                       #ifdef HAVE_IEEEFP_H
11294                       #include <ieeefp.h>
11295                       #endif
11296
11297 int
11298 main ()
11299 {
11300  _isnanf(0);
11301   ;
11302   return 0;
11303 }
11304 _ACEOF
11305 rm -f conftest.$ac_objext
11306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11307   (eval $ac_compile) 2>&5
11308   ac_status=$?
11309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310   (exit $ac_status); } &&
11311          { ac_try='test -s conftest.$ac_objext'
11312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313   (eval $ac_try) 2>&5
11314   ac_status=$?
11315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316   (exit $ac_status); }; }; then
11317   glibcxx_cv_func__isnanf_use=yes
11318 else
11319   echo "$as_me: failed program was:" >&5
11320 sed 's/^/| /' conftest.$ac_ext >&5
11321
11322 glibcxx_cv_func__isnanf_use=no
11323 fi
11324 rm -f conftest.$ac_objext conftest.$ac_ext
11325       ac_ext=c
11326 ac_cpp='$CPP $CPPFLAGS'
11327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11330
11331
11332 fi
11333
11334   fi
11335   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11336 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11337
11338     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11339
11340 for ac_func in _isnanf
11341 do
11342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11343 echo "$as_me:$LINENO: checking for $ac_func" >&5
11344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11345 if eval "test \"\${$as_ac_var+set}\" = set"; then
11346   echo $ECHO_N "(cached) $ECHO_C" >&6
11347 else
11348   if test x$gcc_no_link = xyes; then
11349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11351    { (exit 1); exit 1; }; }
11352 fi
11353 cat >conftest.$ac_ext <<_ACEOF
11354 #line $LINENO "configure"
11355 /* confdefs.h.  */
11356 _ACEOF
11357 cat confdefs.h >>conftest.$ac_ext
11358 cat >>conftest.$ac_ext <<_ACEOF
11359 /* end confdefs.h.  */
11360 /* System header to define __stub macros and hopefully few prototypes,
11361     which can conflict with char $ac_func (); below.
11362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11363     <limits.h> exists even on freestanding compilers.  */
11364 #ifdef __STDC__
11365 # include <limits.h>
11366 #else
11367 # include <assert.h>
11368 #endif
11369 /* Override any gcc2 internal prototype to avoid an error.  */
11370 #ifdef __cplusplus
11371 extern "C"
11372 {
11373 #endif
11374 /* We use char because int might match the return type of a gcc2
11375    builtin and then its argument prototype would still apply.  */
11376 char $ac_func ();
11377 /* The GNU C library defines this for functions which it implements
11378     to always fail with ENOSYS.  Some functions are actually named
11379     something starting with __ and the normal name is an alias.  */
11380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11381 choke me
11382 #else
11383 char (*f) () = $ac_func;
11384 #endif
11385 #ifdef __cplusplus
11386 }
11387 #endif
11388
11389 int
11390 main ()
11391 {
11392 return f != $ac_func;
11393   ;
11394   return 0;
11395 }
11396 _ACEOF
11397 rm -f conftest.$ac_objext conftest$ac_exeext
11398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11399   (eval $ac_link) 2>&5
11400   ac_status=$?
11401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402   (exit $ac_status); } &&
11403          { ac_try='test -s conftest$ac_exeext'
11404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405   (eval $ac_try) 2>&5
11406   ac_status=$?
11407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408   (exit $ac_status); }; }; then
11409   eval "$as_ac_var=yes"
11410 else
11411   echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.$ac_ext >&5
11413
11414 eval "$as_ac_var=no"
11415 fi
11416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11417 fi
11418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11420 if test `eval echo '${'$as_ac_var'}'` = yes; then
11421   cat >>confdefs.h <<_ACEOF
11422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11423 _ACEOF
11424
11425 fi
11426 done
11427
11428     fi
11429   fi
11430
11431
11432
11433   echo "$as_me:$LINENO: checking for isinff declaration" >&5
11434 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11435   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11436     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11437   echo $ECHO_N "(cached) $ECHO_C" >&6
11438 else
11439
11440
11441
11442       ac_ext=cc
11443 ac_cpp='$CXXCPP $CPPFLAGS'
11444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11447
11448       cat >conftest.$ac_ext <<_ACEOF
11449 #line $LINENO "configure"
11450 /* confdefs.h.  */
11451 _ACEOF
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h.  */
11455 #include <math.h>
11456                       #ifdef HAVE_IEEEFP_H
11457                       #include <ieeefp.h>
11458                       #endif
11459
11460 int
11461 main ()
11462 {
11463  isinff(0);
11464   ;
11465   return 0;
11466 }
11467 _ACEOF
11468 rm -f conftest.$ac_objext
11469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11470   (eval $ac_compile) 2>&5
11471   ac_status=$?
11472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473   (exit $ac_status); } &&
11474          { ac_try='test -s conftest.$ac_objext'
11475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476   (eval $ac_try) 2>&5
11477   ac_status=$?
11478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479   (exit $ac_status); }; }; then
11480   glibcxx_cv_func_isinff_use=yes
11481 else
11482   echo "$as_me: failed program was:" >&5
11483 sed 's/^/| /' conftest.$ac_ext >&5
11484
11485 glibcxx_cv_func_isinff_use=no
11486 fi
11487 rm -f conftest.$ac_objext conftest.$ac_ext
11488       ac_ext=c
11489 ac_cpp='$CPP $CPPFLAGS'
11490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11493
11494
11495 fi
11496
11497   fi
11498   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11499 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11500
11501   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11502
11503 for ac_func in isinff
11504 do
11505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11506 echo "$as_me:$LINENO: checking for $ac_func" >&5
11507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11508 if eval "test \"\${$as_ac_var+set}\" = set"; then
11509   echo $ECHO_N "(cached) $ECHO_C" >&6
11510 else
11511   if test x$gcc_no_link = xyes; then
11512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11514    { (exit 1); exit 1; }; }
11515 fi
11516 cat >conftest.$ac_ext <<_ACEOF
11517 #line $LINENO "configure"
11518 /* confdefs.h.  */
11519 _ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h.  */
11523 /* System header to define __stub macros and hopefully few prototypes,
11524     which can conflict with char $ac_func (); below.
11525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11526     <limits.h> exists even on freestanding compilers.  */
11527 #ifdef __STDC__
11528 # include <limits.h>
11529 #else
11530 # include <assert.h>
11531 #endif
11532 /* Override any gcc2 internal prototype to avoid an error.  */
11533 #ifdef __cplusplus
11534 extern "C"
11535 {
11536 #endif
11537 /* We use char because int might match the return type of a gcc2
11538    builtin and then its argument prototype would still apply.  */
11539 char $ac_func ();
11540 /* The GNU C library defines this for functions which it implements
11541     to always fail with ENOSYS.  Some functions are actually named
11542     something starting with __ and the normal name is an alias.  */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11544 choke me
11545 #else
11546 char (*f) () = $ac_func;
11547 #endif
11548 #ifdef __cplusplus
11549 }
11550 #endif
11551
11552 int
11553 main ()
11554 {
11555 return f != $ac_func;
11556   ;
11557   return 0;
11558 }
11559 _ACEOF
11560 rm -f conftest.$ac_objext conftest$ac_exeext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11562   (eval $ac_link) 2>&5
11563   ac_status=$?
11564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565   (exit $ac_status); } &&
11566          { ac_try='test -s conftest$ac_exeext'
11567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568   (eval $ac_try) 2>&5
11569   ac_status=$?
11570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571   (exit $ac_status); }; }; then
11572   eval "$as_ac_var=yes"
11573 else
11574   echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11576
11577 eval "$as_ac_var=no"
11578 fi
11579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11580 fi
11581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11583 if test `eval echo '${'$as_ac_var'}'` = yes; then
11584   cat >>confdefs.h <<_ACEOF
11585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11586 _ACEOF
11587
11588 fi
11589 done
11590
11591   else
11592
11593   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11594 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11595   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11596     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11597   echo $ECHO_N "(cached) $ECHO_C" >&6
11598 else
11599
11600
11601
11602       ac_ext=cc
11603 ac_cpp='$CXXCPP $CPPFLAGS'
11604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11607
11608       cat >conftest.$ac_ext <<_ACEOF
11609 #line $LINENO "configure"
11610 /* confdefs.h.  */
11611 _ACEOF
11612 cat confdefs.h >>conftest.$ac_ext
11613 cat >>conftest.$ac_ext <<_ACEOF
11614 /* end confdefs.h.  */
11615 #include <math.h>
11616                       #ifdef HAVE_IEEEFP_H
11617                       #include <ieeefp.h>
11618                       #endif
11619
11620 int
11621 main ()
11622 {
11623  _isinff(0);
11624   ;
11625   return 0;
11626 }
11627 _ACEOF
11628 rm -f conftest.$ac_objext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630   (eval $ac_compile) 2>&5
11631   ac_status=$?
11632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633   (exit $ac_status); } &&
11634          { ac_try='test -s conftest.$ac_objext'
11635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636   (eval $ac_try) 2>&5
11637   ac_status=$?
11638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639   (exit $ac_status); }; }; then
11640   glibcxx_cv_func__isinff_use=yes
11641 else
11642   echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.$ac_ext >&5
11644
11645 glibcxx_cv_func__isinff_use=no
11646 fi
11647 rm -f conftest.$ac_objext conftest.$ac_ext
11648       ac_ext=c
11649 ac_cpp='$CPP $CPPFLAGS'
11650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11653
11654
11655 fi
11656
11657   fi
11658   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11659 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11660
11661     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11662
11663 for ac_func in _isinff
11664 do
11665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11666 echo "$as_me:$LINENO: checking for $ac_func" >&5
11667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11668 if eval "test \"\${$as_ac_var+set}\" = set"; then
11669   echo $ECHO_N "(cached) $ECHO_C" >&6
11670 else
11671   if test x$gcc_no_link = xyes; then
11672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11674    { (exit 1); exit 1; }; }
11675 fi
11676 cat >conftest.$ac_ext <<_ACEOF
11677 #line $LINENO "configure"
11678 /* confdefs.h.  */
11679 _ACEOF
11680 cat confdefs.h >>conftest.$ac_ext
11681 cat >>conftest.$ac_ext <<_ACEOF
11682 /* end confdefs.h.  */
11683 /* System header to define __stub macros and hopefully few prototypes,
11684     which can conflict with char $ac_func (); below.
11685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11686     <limits.h> exists even on freestanding compilers.  */
11687 #ifdef __STDC__
11688 # include <limits.h>
11689 #else
11690 # include <assert.h>
11691 #endif
11692 /* Override any gcc2 internal prototype to avoid an error.  */
11693 #ifdef __cplusplus
11694 extern "C"
11695 {
11696 #endif
11697 /* We use char because int might match the return type of a gcc2
11698    builtin and then its argument prototype would still apply.  */
11699 char $ac_func ();
11700 /* The GNU C library defines this for functions which it implements
11701     to always fail with ENOSYS.  Some functions are actually named
11702     something starting with __ and the normal name is an alias.  */
11703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11704 choke me
11705 #else
11706 char (*f) () = $ac_func;
11707 #endif
11708 #ifdef __cplusplus
11709 }
11710 #endif
11711
11712 int
11713 main ()
11714 {
11715 return f != $ac_func;
11716   ;
11717   return 0;
11718 }
11719 _ACEOF
11720 rm -f conftest.$ac_objext conftest$ac_exeext
11721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11722   (eval $ac_link) 2>&5
11723   ac_status=$?
11724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725   (exit $ac_status); } &&
11726          { ac_try='test -s conftest$ac_exeext'
11727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728   (eval $ac_try) 2>&5
11729   ac_status=$?
11730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731   (exit $ac_status); }; }; then
11732   eval "$as_ac_var=yes"
11733 else
11734   echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11736
11737 eval "$as_ac_var=no"
11738 fi
11739 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11740 fi
11741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11743 if test `eval echo '${'$as_ac_var'}'` = yes; then
11744   cat >>confdefs.h <<_ACEOF
11745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11746 _ACEOF
11747
11748 fi
11749 done
11750
11751     fi
11752   fi
11753
11754
11755
11756   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11757 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11758   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11759     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11760   echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11762
11763
11764
11765       ac_ext=cc
11766 ac_cpp='$CXXCPP $CPPFLAGS'
11767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11770
11771       cat >conftest.$ac_ext <<_ACEOF
11772 #line $LINENO "configure"
11773 /* confdefs.h.  */
11774 _ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h.  */
11778 #include <math.h>
11779 int
11780 main ()
11781 {
11782  atan2f(0, 0);
11783   ;
11784   return 0;
11785 }
11786 _ACEOF
11787 rm -f conftest.$ac_objext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789   (eval $ac_compile) 2>&5
11790   ac_status=$?
11791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792   (exit $ac_status); } &&
11793          { ac_try='test -s conftest.$ac_objext'
11794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795   (eval $ac_try) 2>&5
11796   ac_status=$?
11797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798   (exit $ac_status); }; }; then
11799   glibcxx_cv_func_atan2f_use=yes
11800 else
11801   echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11803
11804 glibcxx_cv_func_atan2f_use=no
11805 fi
11806 rm -f conftest.$ac_objext conftest.$ac_ext
11807       ac_ext=c
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812
11813
11814 fi
11815
11816   fi
11817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11818 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11819
11820   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11821
11822 for ac_func in atan2f
11823 do
11824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11825 echo "$as_me:$LINENO: checking for $ac_func" >&5
11826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11827 if eval "test \"\${$as_ac_var+set}\" = set"; then
11828   echo $ECHO_N "(cached) $ECHO_C" >&6
11829 else
11830   if test x$gcc_no_link = xyes; then
11831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11833    { (exit 1); exit 1; }; }
11834 fi
11835 cat >conftest.$ac_ext <<_ACEOF
11836 #line $LINENO "configure"
11837 /* confdefs.h.  */
11838 _ACEOF
11839 cat confdefs.h >>conftest.$ac_ext
11840 cat >>conftest.$ac_ext <<_ACEOF
11841 /* end confdefs.h.  */
11842 /* System header to define __stub macros and hopefully few prototypes,
11843     which can conflict with char $ac_func (); below.
11844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11845     <limits.h> exists even on freestanding compilers.  */
11846 #ifdef __STDC__
11847 # include <limits.h>
11848 #else
11849 # include <assert.h>
11850 #endif
11851 /* Override any gcc2 internal prototype to avoid an error.  */
11852 #ifdef __cplusplus
11853 extern "C"
11854 {
11855 #endif
11856 /* We use char because int might match the return type of a gcc2
11857    builtin and then its argument prototype would still apply.  */
11858 char $ac_func ();
11859 /* The GNU C library defines this for functions which it implements
11860     to always fail with ENOSYS.  Some functions are actually named
11861     something starting with __ and the normal name is an alias.  */
11862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11863 choke me
11864 #else
11865 char (*f) () = $ac_func;
11866 #endif
11867 #ifdef __cplusplus
11868 }
11869 #endif
11870
11871 int
11872 main ()
11873 {
11874 return f != $ac_func;
11875   ;
11876   return 0;
11877 }
11878 _ACEOF
11879 rm -f conftest.$ac_objext conftest$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881   (eval $ac_link) 2>&5
11882   ac_status=$?
11883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884   (exit $ac_status); } &&
11885          { ac_try='test -s conftest$ac_exeext'
11886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887   (eval $ac_try) 2>&5
11888   ac_status=$?
11889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890   (exit $ac_status); }; }; then
11891   eval "$as_ac_var=yes"
11892 else
11893   echo "$as_me: failed program was:" >&5
11894 sed 's/^/| /' conftest.$ac_ext >&5
11895
11896 eval "$as_ac_var=no"
11897 fi
11898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11899 fi
11900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11902 if test `eval echo '${'$as_ac_var'}'` = yes; then
11903   cat >>confdefs.h <<_ACEOF
11904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11905 _ACEOF
11906
11907 fi
11908 done
11909
11910   else
11911
11912   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11913 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11914   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11915     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11916   echo $ECHO_N "(cached) $ECHO_C" >&6
11917 else
11918
11919
11920
11921       ac_ext=cc
11922 ac_cpp='$CXXCPP $CPPFLAGS'
11923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11926
11927       cat >conftest.$ac_ext <<_ACEOF
11928 #line $LINENO "configure"
11929 /* confdefs.h.  */
11930 _ACEOF
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h.  */
11934 #include <math.h>
11935 int
11936 main ()
11937 {
11938  _atan2f(0, 0);
11939   ;
11940   return 0;
11941 }
11942 _ACEOF
11943 rm -f conftest.$ac_objext
11944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11945   (eval $ac_compile) 2>&5
11946   ac_status=$?
11947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948   (exit $ac_status); } &&
11949          { ac_try='test -s conftest.$ac_objext'
11950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951   (eval $ac_try) 2>&5
11952   ac_status=$?
11953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954   (exit $ac_status); }; }; then
11955   glibcxx_cv_func__atan2f_use=yes
11956 else
11957   echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11959
11960 glibcxx_cv_func__atan2f_use=no
11961 fi
11962 rm -f conftest.$ac_objext conftest.$ac_ext
11963       ac_ext=c
11964 ac_cpp='$CPP $CPPFLAGS'
11965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11968
11969
11970 fi
11971
11972   fi
11973   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11974 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11975
11976     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11977
11978 for ac_func in _atan2f
11979 do
11980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11981 echo "$as_me:$LINENO: checking for $ac_func" >&5
11982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11983 if eval "test \"\${$as_ac_var+set}\" = set"; then
11984   echo $ECHO_N "(cached) $ECHO_C" >&6
11985 else
11986   if test x$gcc_no_link = xyes; then
11987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11989    { (exit 1); exit 1; }; }
11990 fi
11991 cat >conftest.$ac_ext <<_ACEOF
11992 #line $LINENO "configure"
11993 /* confdefs.h.  */
11994 _ACEOF
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h.  */
11998 /* System header to define __stub macros and hopefully few prototypes,
11999     which can conflict with char $ac_func (); below.
12000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12001     <limits.h> exists even on freestanding compilers.  */
12002 #ifdef __STDC__
12003 # include <limits.h>
12004 #else
12005 # include <assert.h>
12006 #endif
12007 /* Override any gcc2 internal prototype to avoid an error.  */
12008 #ifdef __cplusplus
12009 extern "C"
12010 {
12011 #endif
12012 /* We use char because int might match the return type of a gcc2
12013    builtin and then its argument prototype would still apply.  */
12014 char $ac_func ();
12015 /* The GNU C library defines this for functions which it implements
12016     to always fail with ENOSYS.  Some functions are actually named
12017     something starting with __ and the normal name is an alias.  */
12018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12019 choke me
12020 #else
12021 char (*f) () = $ac_func;
12022 #endif
12023 #ifdef __cplusplus
12024 }
12025 #endif
12026
12027 int
12028 main ()
12029 {
12030 return f != $ac_func;
12031   ;
12032   return 0;
12033 }
12034 _ACEOF
12035 rm -f conftest.$ac_objext conftest$ac_exeext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12037   (eval $ac_link) 2>&5
12038   ac_status=$?
12039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040   (exit $ac_status); } &&
12041          { ac_try='test -s conftest$ac_exeext'
12042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043   (eval $ac_try) 2>&5
12044   ac_status=$?
12045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046   (exit $ac_status); }; }; then
12047   eval "$as_ac_var=yes"
12048 else
12049   echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12051
12052 eval "$as_ac_var=no"
12053 fi
12054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12055 fi
12056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12058 if test `eval echo '${'$as_ac_var'}'` = yes; then
12059   cat >>confdefs.h <<_ACEOF
12060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12061 _ACEOF
12062
12063 fi
12064 done
12065
12066     fi
12067   fi
12068
12069
12070
12071   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12072 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12073   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12074     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12075   echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077
12078
12079
12080       ac_ext=cc
12081 ac_cpp='$CXXCPP $CPPFLAGS'
12082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12085
12086       cat >conftest.$ac_ext <<_ACEOF
12087 #line $LINENO "configure"
12088 /* confdefs.h.  */
12089 _ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h.  */
12093 #include <math.h>
12094                       #ifdef HAVE_IEEEFP_H
12095                       #include <ieeefp.h>
12096                       #endif
12097
12098 int
12099 main ()
12100 {
12101  fabsf(0);
12102   ;
12103   return 0;
12104 }
12105 _ACEOF
12106 rm -f conftest.$ac_objext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12108   (eval $ac_compile) 2>&5
12109   ac_status=$?
12110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111   (exit $ac_status); } &&
12112          { ac_try='test -s conftest.$ac_objext'
12113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114   (eval $ac_try) 2>&5
12115   ac_status=$?
12116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117   (exit $ac_status); }; }; then
12118   glibcxx_cv_func_fabsf_use=yes
12119 else
12120   echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.$ac_ext >&5
12122
12123 glibcxx_cv_func_fabsf_use=no
12124 fi
12125 rm -f conftest.$ac_objext conftest.$ac_ext
12126       ac_ext=c
12127 ac_cpp='$CPP $CPPFLAGS'
12128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12131
12132
12133 fi
12134
12135   fi
12136   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12137 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12138
12139   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12140
12141 for ac_func in fabsf
12142 do
12143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12144 echo "$as_me:$LINENO: checking for $ac_func" >&5
12145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12146 if eval "test \"\${$as_ac_var+set}\" = set"; then
12147   echo $ECHO_N "(cached) $ECHO_C" >&6
12148 else
12149   if test x$gcc_no_link = xyes; then
12150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12152    { (exit 1); exit 1; }; }
12153 fi
12154 cat >conftest.$ac_ext <<_ACEOF
12155 #line $LINENO "configure"
12156 /* confdefs.h.  */
12157 _ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h.  */
12161 /* System header to define __stub macros and hopefully few prototypes,
12162     which can conflict with char $ac_func (); below.
12163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12164     <limits.h> exists even on freestanding compilers.  */
12165 #ifdef __STDC__
12166 # include <limits.h>
12167 #else
12168 # include <assert.h>
12169 #endif
12170 /* Override any gcc2 internal prototype to avoid an error.  */
12171 #ifdef __cplusplus
12172 extern "C"
12173 {
12174 #endif
12175 /* We use char because int might match the return type of a gcc2
12176    builtin and then its argument prototype would still apply.  */
12177 char $ac_func ();
12178 /* The GNU C library defines this for functions which it implements
12179     to always fail with ENOSYS.  Some functions are actually named
12180     something starting with __ and the normal name is an alias.  */
12181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12182 choke me
12183 #else
12184 char (*f) () = $ac_func;
12185 #endif
12186 #ifdef __cplusplus
12187 }
12188 #endif
12189
12190 int
12191 main ()
12192 {
12193 return f != $ac_func;
12194   ;
12195   return 0;
12196 }
12197 _ACEOF
12198 rm -f conftest.$ac_objext conftest$ac_exeext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12200   (eval $ac_link) 2>&5
12201   ac_status=$?
12202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203   (exit $ac_status); } &&
12204          { ac_try='test -s conftest$ac_exeext'
12205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206   (eval $ac_try) 2>&5
12207   ac_status=$?
12208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209   (exit $ac_status); }; }; then
12210   eval "$as_ac_var=yes"
12211 else
12212   echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.$ac_ext >&5
12214
12215 eval "$as_ac_var=no"
12216 fi
12217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12218 fi
12219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12221 if test `eval echo '${'$as_ac_var'}'` = yes; then
12222   cat >>confdefs.h <<_ACEOF
12223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12224 _ACEOF
12225
12226 fi
12227 done
12228
12229   else
12230
12231   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12232 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12233   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12234     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12235   echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237
12238
12239
12240       ac_ext=cc
12241 ac_cpp='$CXXCPP $CPPFLAGS'
12242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12245
12246       cat >conftest.$ac_ext <<_ACEOF
12247 #line $LINENO "configure"
12248 /* confdefs.h.  */
12249 _ACEOF
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h.  */
12253 #include <math.h>
12254                       #ifdef HAVE_IEEEFP_H
12255                       #include <ieeefp.h>
12256                       #endif
12257
12258 int
12259 main ()
12260 {
12261  _fabsf(0);
12262   ;
12263   return 0;
12264 }
12265 _ACEOF
12266 rm -f conftest.$ac_objext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12268   (eval $ac_compile) 2>&5
12269   ac_status=$?
12270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271   (exit $ac_status); } &&
12272          { ac_try='test -s conftest.$ac_objext'
12273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274   (eval $ac_try) 2>&5
12275   ac_status=$?
12276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277   (exit $ac_status); }; }; then
12278   glibcxx_cv_func__fabsf_use=yes
12279 else
12280   echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5
12282
12283 glibcxx_cv_func__fabsf_use=no
12284 fi
12285 rm -f conftest.$ac_objext conftest.$ac_ext
12286       ac_ext=c
12287 ac_cpp='$CPP $CPPFLAGS'
12288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12291
12292
12293 fi
12294
12295   fi
12296   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12297 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12298
12299     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12300
12301 for ac_func in _fabsf
12302 do
12303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12304 echo "$as_me:$LINENO: checking for $ac_func" >&5
12305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12306 if eval "test \"\${$as_ac_var+set}\" = set"; then
12307   echo $ECHO_N "(cached) $ECHO_C" >&6
12308 else
12309   if test x$gcc_no_link = xyes; then
12310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12312    { (exit 1); exit 1; }; }
12313 fi
12314 cat >conftest.$ac_ext <<_ACEOF
12315 #line $LINENO "configure"
12316 /* confdefs.h.  */
12317 _ACEOF
12318 cat confdefs.h >>conftest.$ac_ext
12319 cat >>conftest.$ac_ext <<_ACEOF
12320 /* end confdefs.h.  */
12321 /* System header to define __stub macros and hopefully few prototypes,
12322     which can conflict with char $ac_func (); below.
12323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12324     <limits.h> exists even on freestanding compilers.  */
12325 #ifdef __STDC__
12326 # include <limits.h>
12327 #else
12328 # include <assert.h>
12329 #endif
12330 /* Override any gcc2 internal prototype to avoid an error.  */
12331 #ifdef __cplusplus
12332 extern "C"
12333 {
12334 #endif
12335 /* We use char because int might match the return type of a gcc2
12336    builtin and then its argument prototype would still apply.  */
12337 char $ac_func ();
12338 /* The GNU C library defines this for functions which it implements
12339     to always fail with ENOSYS.  Some functions are actually named
12340     something starting with __ and the normal name is an alias.  */
12341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12342 choke me
12343 #else
12344 char (*f) () = $ac_func;
12345 #endif
12346 #ifdef __cplusplus
12347 }
12348 #endif
12349
12350 int
12351 main ()
12352 {
12353 return f != $ac_func;
12354   ;
12355   return 0;
12356 }
12357 _ACEOF
12358 rm -f conftest.$ac_objext conftest$ac_exeext
12359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12360   (eval $ac_link) 2>&5
12361   ac_status=$?
12362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363   (exit $ac_status); } &&
12364          { ac_try='test -s conftest$ac_exeext'
12365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366   (eval $ac_try) 2>&5
12367   ac_status=$?
12368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369   (exit $ac_status); }; }; then
12370   eval "$as_ac_var=yes"
12371 else
12372   echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12374
12375 eval "$as_ac_var=no"
12376 fi
12377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12378 fi
12379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12381 if test `eval echo '${'$as_ac_var'}'` = yes; then
12382   cat >>confdefs.h <<_ACEOF
12383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12384 _ACEOF
12385
12386 fi
12387 done
12388
12389     fi
12390   fi
12391
12392
12393
12394   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12395 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12396   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12397     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12398   echo $ECHO_N "(cached) $ECHO_C" >&6
12399 else
12400
12401
12402
12403       ac_ext=cc
12404 ac_cpp='$CXXCPP $CPPFLAGS'
12405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12408
12409       cat >conftest.$ac_ext <<_ACEOF
12410 #line $LINENO "configure"
12411 /* confdefs.h.  */
12412 _ACEOF
12413 cat confdefs.h >>conftest.$ac_ext
12414 cat >>conftest.$ac_ext <<_ACEOF
12415 /* end confdefs.h.  */
12416 #include <math.h>
12417 int
12418 main ()
12419 {
12420  fmodf(0, 0);
12421   ;
12422   return 0;
12423 }
12424 _ACEOF
12425 rm -f conftest.$ac_objext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12427   (eval $ac_compile) 2>&5
12428   ac_status=$?
12429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430   (exit $ac_status); } &&
12431          { ac_try='test -s conftest.$ac_objext'
12432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433   (eval $ac_try) 2>&5
12434   ac_status=$?
12435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436   (exit $ac_status); }; }; then
12437   glibcxx_cv_func_fmodf_use=yes
12438 else
12439   echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12441
12442 glibcxx_cv_func_fmodf_use=no
12443 fi
12444 rm -f conftest.$ac_objext conftest.$ac_ext
12445       ac_ext=c
12446 ac_cpp='$CPP $CPPFLAGS'
12447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12450
12451
12452 fi
12453
12454   fi
12455   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12456 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12457
12458   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12459
12460 for ac_func in fmodf
12461 do
12462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12463 echo "$as_me:$LINENO: checking for $ac_func" >&5
12464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12465 if eval "test \"\${$as_ac_var+set}\" = set"; then
12466   echo $ECHO_N "(cached) $ECHO_C" >&6
12467 else
12468   if test x$gcc_no_link = xyes; then
12469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12471    { (exit 1); exit 1; }; }
12472 fi
12473 cat >conftest.$ac_ext <<_ACEOF
12474 #line $LINENO "configure"
12475 /* confdefs.h.  */
12476 _ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h.  */
12480 /* System header to define __stub macros and hopefully few prototypes,
12481     which can conflict with char $ac_func (); below.
12482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12483     <limits.h> exists even on freestanding compilers.  */
12484 #ifdef __STDC__
12485 # include <limits.h>
12486 #else
12487 # include <assert.h>
12488 #endif
12489 /* Override any gcc2 internal prototype to avoid an error.  */
12490 #ifdef __cplusplus
12491 extern "C"
12492 {
12493 #endif
12494 /* We use char because int might match the return type of a gcc2
12495    builtin and then its argument prototype would still apply.  */
12496 char $ac_func ();
12497 /* The GNU C library defines this for functions which it implements
12498     to always fail with ENOSYS.  Some functions are actually named
12499     something starting with __ and the normal name is an alias.  */
12500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12501 choke me
12502 #else
12503 char (*f) () = $ac_func;
12504 #endif
12505 #ifdef __cplusplus
12506 }
12507 #endif
12508
12509 int
12510 main ()
12511 {
12512 return f != $ac_func;
12513   ;
12514   return 0;
12515 }
12516 _ACEOF
12517 rm -f conftest.$ac_objext conftest$ac_exeext
12518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12519   (eval $ac_link) 2>&5
12520   ac_status=$?
12521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522   (exit $ac_status); } &&
12523          { ac_try='test -s conftest$ac_exeext'
12524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525   (eval $ac_try) 2>&5
12526   ac_status=$?
12527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528   (exit $ac_status); }; }; then
12529   eval "$as_ac_var=yes"
12530 else
12531   echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.$ac_ext >&5
12533
12534 eval "$as_ac_var=no"
12535 fi
12536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12537 fi
12538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12540 if test `eval echo '${'$as_ac_var'}'` = yes; then
12541   cat >>confdefs.h <<_ACEOF
12542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12543 _ACEOF
12544
12545 fi
12546 done
12547
12548   else
12549
12550   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12551 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12552   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12553     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12554   echo $ECHO_N "(cached) $ECHO_C" >&6
12555 else
12556
12557
12558
12559       ac_ext=cc
12560 ac_cpp='$CXXCPP $CPPFLAGS'
12561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12564
12565       cat >conftest.$ac_ext <<_ACEOF
12566 #line $LINENO "configure"
12567 /* confdefs.h.  */
12568 _ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h.  */
12572 #include <math.h>
12573 int
12574 main ()
12575 {
12576  _fmodf(0, 0);
12577   ;
12578   return 0;
12579 }
12580 _ACEOF
12581 rm -f conftest.$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583   (eval $ac_compile) 2>&5
12584   ac_status=$?
12585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586   (exit $ac_status); } &&
12587          { ac_try='test -s conftest.$ac_objext'
12588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589   (eval $ac_try) 2>&5
12590   ac_status=$?
12591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592   (exit $ac_status); }; }; then
12593   glibcxx_cv_func__fmodf_use=yes
12594 else
12595   echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12597
12598 glibcxx_cv_func__fmodf_use=no
12599 fi
12600 rm -f conftest.$ac_objext conftest.$ac_ext
12601       ac_ext=c
12602 ac_cpp='$CPP $CPPFLAGS'
12603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12606
12607
12608 fi
12609
12610   fi
12611   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12612 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12613
12614     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12615
12616 for ac_func in _fmodf
12617 do
12618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12619 echo "$as_me:$LINENO: checking for $ac_func" >&5
12620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_var+set}\" = set"; then
12622   echo $ECHO_N "(cached) $ECHO_C" >&6
12623 else
12624   if test x$gcc_no_link = xyes; then
12625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12627    { (exit 1); exit 1; }; }
12628 fi
12629 cat >conftest.$ac_ext <<_ACEOF
12630 #line $LINENO "configure"
12631 /* confdefs.h.  */
12632 _ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h.  */
12636 /* System header to define __stub macros and hopefully few prototypes,
12637     which can conflict with char $ac_func (); below.
12638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12639     <limits.h> exists even on freestanding compilers.  */
12640 #ifdef __STDC__
12641 # include <limits.h>
12642 #else
12643 # include <assert.h>
12644 #endif
12645 /* Override any gcc2 internal prototype to avoid an error.  */
12646 #ifdef __cplusplus
12647 extern "C"
12648 {
12649 #endif
12650 /* We use char because int might match the return type of a gcc2
12651    builtin and then its argument prototype would still apply.  */
12652 char $ac_func ();
12653 /* The GNU C library defines this for functions which it implements
12654     to always fail with ENOSYS.  Some functions are actually named
12655     something starting with __ and the normal name is an alias.  */
12656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12657 choke me
12658 #else
12659 char (*f) () = $ac_func;
12660 #endif
12661 #ifdef __cplusplus
12662 }
12663 #endif
12664
12665 int
12666 main ()
12667 {
12668 return f != $ac_func;
12669   ;
12670   return 0;
12671 }
12672 _ACEOF
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675   (eval $ac_link) 2>&5
12676   ac_status=$?
12677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678   (exit $ac_status); } &&
12679          { ac_try='test -s conftest$ac_exeext'
12680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681   (eval $ac_try) 2>&5
12682   ac_status=$?
12683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684   (exit $ac_status); }; }; then
12685   eval "$as_ac_var=yes"
12686 else
12687   echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12689
12690 eval "$as_ac_var=no"
12691 fi
12692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12693 fi
12694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12696 if test `eval echo '${'$as_ac_var'}'` = yes; then
12697   cat >>confdefs.h <<_ACEOF
12698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12699 _ACEOF
12700
12701 fi
12702 done
12703
12704     fi
12705   fi
12706
12707
12708
12709   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12710 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12711   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12712     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12713   echo $ECHO_N "(cached) $ECHO_C" >&6
12714 else
12715
12716
12717
12718       ac_ext=cc
12719 ac_cpp='$CXXCPP $CPPFLAGS'
12720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12723
12724       cat >conftest.$ac_ext <<_ACEOF
12725 #line $LINENO "configure"
12726 /* confdefs.h.  */
12727 _ACEOF
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h.  */
12731 #include <math.h>
12732 int
12733 main ()
12734 {
12735  frexpf(0, 0);
12736   ;
12737   return 0;
12738 }
12739 _ACEOF
12740 rm -f conftest.$ac_objext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742   (eval $ac_compile) 2>&5
12743   ac_status=$?
12744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745   (exit $ac_status); } &&
12746          { ac_try='test -s conftest.$ac_objext'
12747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748   (eval $ac_try) 2>&5
12749   ac_status=$?
12750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751   (exit $ac_status); }; }; then
12752   glibcxx_cv_func_frexpf_use=yes
12753 else
12754   echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12756
12757 glibcxx_cv_func_frexpf_use=no
12758 fi
12759 rm -f conftest.$ac_objext conftest.$ac_ext
12760       ac_ext=c
12761 ac_cpp='$CPP $CPPFLAGS'
12762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12765
12766
12767 fi
12768
12769   fi
12770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12771 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12772
12773   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12774
12775 for ac_func in frexpf
12776 do
12777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12778 echo "$as_me:$LINENO: checking for $ac_func" >&5
12779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12780 if eval "test \"\${$as_ac_var+set}\" = set"; then
12781   echo $ECHO_N "(cached) $ECHO_C" >&6
12782 else
12783   if test x$gcc_no_link = xyes; then
12784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12786    { (exit 1); exit 1; }; }
12787 fi
12788 cat >conftest.$ac_ext <<_ACEOF
12789 #line $LINENO "configure"
12790 /* confdefs.h.  */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h.  */
12795 /* System header to define __stub macros and hopefully few prototypes,
12796     which can conflict with char $ac_func (); below.
12797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12798     <limits.h> exists even on freestanding compilers.  */
12799 #ifdef __STDC__
12800 # include <limits.h>
12801 #else
12802 # include <assert.h>
12803 #endif
12804 /* Override any gcc2 internal prototype to avoid an error.  */
12805 #ifdef __cplusplus
12806 extern "C"
12807 {
12808 #endif
12809 /* We use char because int might match the return type of a gcc2
12810    builtin and then its argument prototype would still apply.  */
12811 char $ac_func ();
12812 /* The GNU C library defines this for functions which it implements
12813     to always fail with ENOSYS.  Some functions are actually named
12814     something starting with __ and the normal name is an alias.  */
12815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12816 choke me
12817 #else
12818 char (*f) () = $ac_func;
12819 #endif
12820 #ifdef __cplusplus
12821 }
12822 #endif
12823
12824 int
12825 main ()
12826 {
12827 return f != $ac_func;
12828   ;
12829   return 0;
12830 }
12831 _ACEOF
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12834   (eval $ac_link) 2>&5
12835   ac_status=$?
12836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837   (exit $ac_status); } &&
12838          { ac_try='test -s conftest$ac_exeext'
12839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840   (eval $ac_try) 2>&5
12841   ac_status=$?
12842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843   (exit $ac_status); }; }; then
12844   eval "$as_ac_var=yes"
12845 else
12846   echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.$ac_ext >&5
12848
12849 eval "$as_ac_var=no"
12850 fi
12851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12852 fi
12853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12855 if test `eval echo '${'$as_ac_var'}'` = yes; then
12856   cat >>confdefs.h <<_ACEOF
12857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12858 _ACEOF
12859
12860 fi
12861 done
12862
12863   else
12864
12865   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12866 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12867   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12868     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12869   echo $ECHO_N "(cached) $ECHO_C" >&6
12870 else
12871
12872
12873
12874       ac_ext=cc
12875 ac_cpp='$CXXCPP $CPPFLAGS'
12876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12879
12880       cat >conftest.$ac_ext <<_ACEOF
12881 #line $LINENO "configure"
12882 /* confdefs.h.  */
12883 _ACEOF
12884 cat confdefs.h >>conftest.$ac_ext
12885 cat >>conftest.$ac_ext <<_ACEOF
12886 /* end confdefs.h.  */
12887 #include <math.h>
12888 int
12889 main ()
12890 {
12891  _frexpf(0, 0);
12892   ;
12893   return 0;
12894 }
12895 _ACEOF
12896 rm -f conftest.$ac_objext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12898   (eval $ac_compile) 2>&5
12899   ac_status=$?
12900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901   (exit $ac_status); } &&
12902          { ac_try='test -s conftest.$ac_objext'
12903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904   (eval $ac_try) 2>&5
12905   ac_status=$?
12906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907   (exit $ac_status); }; }; then
12908   glibcxx_cv_func__frexpf_use=yes
12909 else
12910   echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12912
12913 glibcxx_cv_func__frexpf_use=no
12914 fi
12915 rm -f conftest.$ac_objext conftest.$ac_ext
12916       ac_ext=c
12917 ac_cpp='$CPP $CPPFLAGS'
12918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12921
12922
12923 fi
12924
12925   fi
12926   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12927 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12928
12929     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12930
12931 for ac_func in _frexpf
12932 do
12933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12934 echo "$as_me:$LINENO: checking for $ac_func" >&5
12935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12936 if eval "test \"\${$as_ac_var+set}\" = set"; then
12937   echo $ECHO_N "(cached) $ECHO_C" >&6
12938 else
12939   if test x$gcc_no_link = xyes; then
12940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12942    { (exit 1); exit 1; }; }
12943 fi
12944 cat >conftest.$ac_ext <<_ACEOF
12945 #line $LINENO "configure"
12946 /* confdefs.h.  */
12947 _ACEOF
12948 cat confdefs.h >>conftest.$ac_ext
12949 cat >>conftest.$ac_ext <<_ACEOF
12950 /* end confdefs.h.  */
12951 /* System header to define __stub macros and hopefully few prototypes,
12952     which can conflict with char $ac_func (); below.
12953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12954     <limits.h> exists even on freestanding compilers.  */
12955 #ifdef __STDC__
12956 # include <limits.h>
12957 #else
12958 # include <assert.h>
12959 #endif
12960 /* Override any gcc2 internal prototype to avoid an error.  */
12961 #ifdef __cplusplus
12962 extern "C"
12963 {
12964 #endif
12965 /* We use char because int might match the return type of a gcc2
12966    builtin and then its argument prototype would still apply.  */
12967 char $ac_func ();
12968 /* The GNU C library defines this for functions which it implements
12969     to always fail with ENOSYS.  Some functions are actually named
12970     something starting with __ and the normal name is an alias.  */
12971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12972 choke me
12973 #else
12974 char (*f) () = $ac_func;
12975 #endif
12976 #ifdef __cplusplus
12977 }
12978 #endif
12979
12980 int
12981 main ()
12982 {
12983 return f != $ac_func;
12984   ;
12985   return 0;
12986 }
12987 _ACEOF
12988 rm -f conftest.$ac_objext conftest$ac_exeext
12989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12990   (eval $ac_link) 2>&5
12991   ac_status=$?
12992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993   (exit $ac_status); } &&
12994          { ac_try='test -s conftest$ac_exeext'
12995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996   (eval $ac_try) 2>&5
12997   ac_status=$?
12998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999   (exit $ac_status); }; }; then
13000   eval "$as_ac_var=yes"
13001 else
13002   echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13004
13005 eval "$as_ac_var=no"
13006 fi
13007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13008 fi
13009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012   cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13014 _ACEOF
13015
13016 fi
13017 done
13018
13019     fi
13020   fi
13021
13022
13023
13024   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13025 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13026   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13027     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13028   echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030
13031
13032
13033       ac_ext=cc
13034 ac_cpp='$CXXCPP $CPPFLAGS'
13035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13038
13039       cat >conftest.$ac_ext <<_ACEOF
13040 #line $LINENO "configure"
13041 /* confdefs.h.  */
13042 _ACEOF
13043 cat confdefs.h >>conftest.$ac_ext
13044 cat >>conftest.$ac_ext <<_ACEOF
13045 /* end confdefs.h.  */
13046 #include <math.h>
13047 int
13048 main ()
13049 {
13050  hypotf(0, 0);
13051   ;
13052   return 0;
13053 }
13054 _ACEOF
13055 rm -f conftest.$ac_objext
13056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13057   (eval $ac_compile) 2>&5
13058   ac_status=$?
13059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060   (exit $ac_status); } &&
13061          { ac_try='test -s conftest.$ac_objext'
13062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063   (eval $ac_try) 2>&5
13064   ac_status=$?
13065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066   (exit $ac_status); }; }; then
13067   glibcxx_cv_func_hypotf_use=yes
13068 else
13069   echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13071
13072 glibcxx_cv_func_hypotf_use=no
13073 fi
13074 rm -f conftest.$ac_objext conftest.$ac_ext
13075       ac_ext=c
13076 ac_cpp='$CPP $CPPFLAGS'
13077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13080
13081
13082 fi
13083
13084   fi
13085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13086 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13087
13088   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13089
13090 for ac_func in hypotf
13091 do
13092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13093 echo "$as_me:$LINENO: checking for $ac_func" >&5
13094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13095 if eval "test \"\${$as_ac_var+set}\" = set"; then
13096   echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else
13098   if test x$gcc_no_link = xyes; then
13099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13101    { (exit 1); exit 1; }; }
13102 fi
13103 cat >conftest.$ac_ext <<_ACEOF
13104 #line $LINENO "configure"
13105 /* confdefs.h.  */
13106 _ACEOF
13107 cat confdefs.h >>conftest.$ac_ext
13108 cat >>conftest.$ac_ext <<_ACEOF
13109 /* end confdefs.h.  */
13110 /* System header to define __stub macros and hopefully few prototypes,
13111     which can conflict with char $ac_func (); below.
13112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13113     <limits.h> exists even on freestanding compilers.  */
13114 #ifdef __STDC__
13115 # include <limits.h>
13116 #else
13117 # include <assert.h>
13118 #endif
13119 /* Override any gcc2 internal prototype to avoid an error.  */
13120 #ifdef __cplusplus
13121 extern "C"
13122 {
13123 #endif
13124 /* We use char because int might match the return type of a gcc2
13125    builtin and then its argument prototype would still apply.  */
13126 char $ac_func ();
13127 /* The GNU C library defines this for functions which it implements
13128     to always fail with ENOSYS.  Some functions are actually named
13129     something starting with __ and the normal name is an alias.  */
13130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13131 choke me
13132 #else
13133 char (*f) () = $ac_func;
13134 #endif
13135 #ifdef __cplusplus
13136 }
13137 #endif
13138
13139 int
13140 main ()
13141 {
13142 return f != $ac_func;
13143   ;
13144   return 0;
13145 }
13146 _ACEOF
13147 rm -f conftest.$ac_objext conftest$ac_exeext
13148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13149   (eval $ac_link) 2>&5
13150   ac_status=$?
13151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152   (exit $ac_status); } &&
13153          { ac_try='test -s conftest$ac_exeext'
13154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155   (eval $ac_try) 2>&5
13156   ac_status=$?
13157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158   (exit $ac_status); }; }; then
13159   eval "$as_ac_var=yes"
13160 else
13161   echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13163
13164 eval "$as_ac_var=no"
13165 fi
13166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13167 fi
13168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13170 if test `eval echo '${'$as_ac_var'}'` = yes; then
13171   cat >>confdefs.h <<_ACEOF
13172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13173 _ACEOF
13174
13175 fi
13176 done
13177
13178   else
13179
13180   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13181 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13182   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13183     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13184   echo $ECHO_N "(cached) $ECHO_C" >&6
13185 else
13186
13187
13188
13189       ac_ext=cc
13190 ac_cpp='$CXXCPP $CPPFLAGS'
13191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13194
13195       cat >conftest.$ac_ext <<_ACEOF
13196 #line $LINENO "configure"
13197 /* confdefs.h.  */
13198 _ACEOF
13199 cat confdefs.h >>conftest.$ac_ext
13200 cat >>conftest.$ac_ext <<_ACEOF
13201 /* end confdefs.h.  */
13202 #include <math.h>
13203 int
13204 main ()
13205 {
13206  _hypotf(0, 0);
13207   ;
13208   return 0;
13209 }
13210 _ACEOF
13211 rm -f conftest.$ac_objext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13213   (eval $ac_compile) 2>&5
13214   ac_status=$?
13215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216   (exit $ac_status); } &&
13217          { ac_try='test -s conftest.$ac_objext'
13218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219   (eval $ac_try) 2>&5
13220   ac_status=$?
13221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222   (exit $ac_status); }; }; then
13223   glibcxx_cv_func__hypotf_use=yes
13224 else
13225   echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13227
13228 glibcxx_cv_func__hypotf_use=no
13229 fi
13230 rm -f conftest.$ac_objext conftest.$ac_ext
13231       ac_ext=c
13232 ac_cpp='$CPP $CPPFLAGS'
13233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13236
13237
13238 fi
13239
13240   fi
13241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13242 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13243
13244     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13245
13246 for ac_func in _hypotf
13247 do
13248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13249 echo "$as_me:$LINENO: checking for $ac_func" >&5
13250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13251 if eval "test \"\${$as_ac_var+set}\" = set"; then
13252   echo $ECHO_N "(cached) $ECHO_C" >&6
13253 else
13254   if test x$gcc_no_link = xyes; then
13255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13257    { (exit 1); exit 1; }; }
13258 fi
13259 cat >conftest.$ac_ext <<_ACEOF
13260 #line $LINENO "configure"
13261 /* confdefs.h.  */
13262 _ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h.  */
13266 /* System header to define __stub macros and hopefully few prototypes,
13267     which can conflict with char $ac_func (); below.
13268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13269     <limits.h> exists even on freestanding compilers.  */
13270 #ifdef __STDC__
13271 # include <limits.h>
13272 #else
13273 # include <assert.h>
13274 #endif
13275 /* Override any gcc2 internal prototype to avoid an error.  */
13276 #ifdef __cplusplus
13277 extern "C"
13278 {
13279 #endif
13280 /* We use char because int might match the return type of a gcc2
13281    builtin and then its argument prototype would still apply.  */
13282 char $ac_func ();
13283 /* The GNU C library defines this for functions which it implements
13284     to always fail with ENOSYS.  Some functions are actually named
13285     something starting with __ and the normal name is an alias.  */
13286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13287 choke me
13288 #else
13289 char (*f) () = $ac_func;
13290 #endif
13291 #ifdef __cplusplus
13292 }
13293 #endif
13294
13295 int
13296 main ()
13297 {
13298 return f != $ac_func;
13299   ;
13300   return 0;
13301 }
13302 _ACEOF
13303 rm -f conftest.$ac_objext conftest$ac_exeext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13305   (eval $ac_link) 2>&5
13306   ac_status=$?
13307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308   (exit $ac_status); } &&
13309          { ac_try='test -s conftest$ac_exeext'
13310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311   (eval $ac_try) 2>&5
13312   ac_status=$?
13313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314   (exit $ac_status); }; }; then
13315   eval "$as_ac_var=yes"
13316 else
13317   echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.$ac_ext >&5
13319
13320 eval "$as_ac_var=no"
13321 fi
13322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13323 fi
13324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13326 if test `eval echo '${'$as_ac_var'}'` = yes; then
13327   cat >>confdefs.h <<_ACEOF
13328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13329 _ACEOF
13330
13331 fi
13332 done
13333
13334     fi
13335   fi
13336
13337
13338
13339   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13340 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13341   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13342     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13343   echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345
13346
13347
13348       ac_ext=cc
13349 ac_cpp='$CXXCPP $CPPFLAGS'
13350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13353
13354       cat >conftest.$ac_ext <<_ACEOF
13355 #line $LINENO "configure"
13356 /* confdefs.h.  */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h.  */
13361 #include <math.h>
13362 int
13363 main ()
13364 {
13365  ldexpf(0, 0);
13366   ;
13367   return 0;
13368 }
13369 _ACEOF
13370 rm -f conftest.$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372   (eval $ac_compile) 2>&5
13373   ac_status=$?
13374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375   (exit $ac_status); } &&
13376          { ac_try='test -s conftest.$ac_objext'
13377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378   (eval $ac_try) 2>&5
13379   ac_status=$?
13380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381   (exit $ac_status); }; }; then
13382   glibcxx_cv_func_ldexpf_use=yes
13383 else
13384   echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.$ac_ext >&5
13386
13387 glibcxx_cv_func_ldexpf_use=no
13388 fi
13389 rm -f conftest.$ac_objext conftest.$ac_ext
13390       ac_ext=c
13391 ac_cpp='$CPP $CPPFLAGS'
13392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13395
13396
13397 fi
13398
13399   fi
13400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13401 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13402
13403   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13404
13405 for ac_func in ldexpf
13406 do
13407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13408 echo "$as_me:$LINENO: checking for $ac_func" >&5
13409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_var+set}\" = set"; then
13411   echo $ECHO_N "(cached) $ECHO_C" >&6
13412 else
13413   if test x$gcc_no_link = xyes; then
13414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13416    { (exit 1); exit 1; }; }
13417 fi
13418 cat >conftest.$ac_ext <<_ACEOF
13419 #line $LINENO "configure"
13420 /* confdefs.h.  */
13421 _ACEOF
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h.  */
13425 /* System header to define __stub macros and hopefully few prototypes,
13426     which can conflict with char $ac_func (); below.
13427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13428     <limits.h> exists even on freestanding compilers.  */
13429 #ifdef __STDC__
13430 # include <limits.h>
13431 #else
13432 # include <assert.h>
13433 #endif
13434 /* Override any gcc2 internal prototype to avoid an error.  */
13435 #ifdef __cplusplus
13436 extern "C"
13437 {
13438 #endif
13439 /* We use char because int might match the return type of a gcc2
13440    builtin and then its argument prototype would still apply.  */
13441 char $ac_func ();
13442 /* The GNU C library defines this for functions which it implements
13443     to always fail with ENOSYS.  Some functions are actually named
13444     something starting with __ and the normal name is an alias.  */
13445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13446 choke me
13447 #else
13448 char (*f) () = $ac_func;
13449 #endif
13450 #ifdef __cplusplus
13451 }
13452 #endif
13453
13454 int
13455 main ()
13456 {
13457 return f != $ac_func;
13458   ;
13459   return 0;
13460 }
13461 _ACEOF
13462 rm -f conftest.$ac_objext conftest$ac_exeext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13464   (eval $ac_link) 2>&5
13465   ac_status=$?
13466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467   (exit $ac_status); } &&
13468          { ac_try='test -s conftest$ac_exeext'
13469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470   (eval $ac_try) 2>&5
13471   ac_status=$?
13472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473   (exit $ac_status); }; }; then
13474   eval "$as_ac_var=yes"
13475 else
13476   echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13478
13479 eval "$as_ac_var=no"
13480 fi
13481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13482 fi
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13485 if test `eval echo '${'$as_ac_var'}'` = yes; then
13486   cat >>confdefs.h <<_ACEOF
13487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13488 _ACEOF
13489
13490 fi
13491 done
13492
13493   else
13494
13495   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13496 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13497   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13498     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13499   echo $ECHO_N "(cached) $ECHO_C" >&6
13500 else
13501
13502
13503
13504       ac_ext=cc
13505 ac_cpp='$CXXCPP $CPPFLAGS'
13506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13509
13510       cat >conftest.$ac_ext <<_ACEOF
13511 #line $LINENO "configure"
13512 /* confdefs.h.  */
13513 _ACEOF
13514 cat confdefs.h >>conftest.$ac_ext
13515 cat >>conftest.$ac_ext <<_ACEOF
13516 /* end confdefs.h.  */
13517 #include <math.h>
13518 int
13519 main ()
13520 {
13521  _ldexpf(0, 0);
13522   ;
13523   return 0;
13524 }
13525 _ACEOF
13526 rm -f conftest.$ac_objext
13527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13528   (eval $ac_compile) 2>&5
13529   ac_status=$?
13530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531   (exit $ac_status); } &&
13532          { ac_try='test -s conftest.$ac_objext'
13533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534   (eval $ac_try) 2>&5
13535   ac_status=$?
13536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537   (exit $ac_status); }; }; then
13538   glibcxx_cv_func__ldexpf_use=yes
13539 else
13540   echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.$ac_ext >&5
13542
13543 glibcxx_cv_func__ldexpf_use=no
13544 fi
13545 rm -f conftest.$ac_objext conftest.$ac_ext
13546       ac_ext=c
13547 ac_cpp='$CPP $CPPFLAGS'
13548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13551
13552
13553 fi
13554
13555   fi
13556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13557 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13558
13559     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13560
13561 for ac_func in _ldexpf
13562 do
13563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13564 echo "$as_me:$LINENO: checking for $ac_func" >&5
13565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13566 if eval "test \"\${$as_ac_var+set}\" = set"; then
13567   echo $ECHO_N "(cached) $ECHO_C" >&6
13568 else
13569   if test x$gcc_no_link = xyes; then
13570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13572    { (exit 1); exit 1; }; }
13573 fi
13574 cat >conftest.$ac_ext <<_ACEOF
13575 #line $LINENO "configure"
13576 /* confdefs.h.  */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h.  */
13581 /* System header to define __stub macros and hopefully few prototypes,
13582     which can conflict with char $ac_func (); below.
13583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13584     <limits.h> exists even on freestanding compilers.  */
13585 #ifdef __STDC__
13586 # include <limits.h>
13587 #else
13588 # include <assert.h>
13589 #endif
13590 /* Override any gcc2 internal prototype to avoid an error.  */
13591 #ifdef __cplusplus
13592 extern "C"
13593 {
13594 #endif
13595 /* We use char because int might match the return type of a gcc2
13596    builtin and then its argument prototype would still apply.  */
13597 char $ac_func ();
13598 /* The GNU C library defines this for functions which it implements
13599     to always fail with ENOSYS.  Some functions are actually named
13600     something starting with __ and the normal name is an alias.  */
13601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13602 choke me
13603 #else
13604 char (*f) () = $ac_func;
13605 #endif
13606 #ifdef __cplusplus
13607 }
13608 #endif
13609
13610 int
13611 main ()
13612 {
13613 return f != $ac_func;
13614   ;
13615   return 0;
13616 }
13617 _ACEOF
13618 rm -f conftest.$ac_objext conftest$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620   (eval $ac_link) 2>&5
13621   ac_status=$?
13622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623   (exit $ac_status); } &&
13624          { ac_try='test -s conftest$ac_exeext'
13625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626   (eval $ac_try) 2>&5
13627   ac_status=$?
13628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629   (exit $ac_status); }; }; then
13630   eval "$as_ac_var=yes"
13631 else
13632   echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13634
13635 eval "$as_ac_var=no"
13636 fi
13637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13638 fi
13639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13641 if test `eval echo '${'$as_ac_var'}'` = yes; then
13642   cat >>confdefs.h <<_ACEOF
13643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13644 _ACEOF
13645
13646 fi
13647 done
13648
13649     fi
13650   fi
13651
13652
13653
13654   echo "$as_me:$LINENO: checking for logf declaration" >&5
13655 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13656   if test x${glibcxx_cv_func_logf_use+set} != xset; then
13657     if test "${glibcxx_cv_func_logf_use+set}" = set; then
13658   echo $ECHO_N "(cached) $ECHO_C" >&6
13659 else
13660
13661
13662
13663       ac_ext=cc
13664 ac_cpp='$CXXCPP $CPPFLAGS'
13665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13668
13669       cat >conftest.$ac_ext <<_ACEOF
13670 #line $LINENO "configure"
13671 /* confdefs.h.  */
13672 _ACEOF
13673 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF
13675 /* end confdefs.h.  */
13676 #include <math.h>
13677                       #ifdef HAVE_IEEEFP_H
13678                       #include <ieeefp.h>
13679                       #endif
13680
13681 int
13682 main ()
13683 {
13684  logf(0);
13685   ;
13686   return 0;
13687 }
13688 _ACEOF
13689 rm -f conftest.$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691   (eval $ac_compile) 2>&5
13692   ac_status=$?
13693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694   (exit $ac_status); } &&
13695          { ac_try='test -s conftest.$ac_objext'
13696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697   (eval $ac_try) 2>&5
13698   ac_status=$?
13699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700   (exit $ac_status); }; }; then
13701   glibcxx_cv_func_logf_use=yes
13702 else
13703   echo "$as_me: failed program was:" >&5
13704 sed 's/^/| /' conftest.$ac_ext >&5
13705
13706 glibcxx_cv_func_logf_use=no
13707 fi
13708 rm -f conftest.$ac_objext conftest.$ac_ext
13709       ac_ext=c
13710 ac_cpp='$CPP $CPPFLAGS'
13711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13714
13715
13716 fi
13717
13718   fi
13719   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13720 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13721
13722   if test x$glibcxx_cv_func_logf_use = x"yes"; then
13723
13724 for ac_func in logf
13725 do
13726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13727 echo "$as_me:$LINENO: checking for $ac_func" >&5
13728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13729 if eval "test \"\${$as_ac_var+set}\" = set"; then
13730   echo $ECHO_N "(cached) $ECHO_C" >&6
13731 else
13732   if test x$gcc_no_link = xyes; then
13733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13735    { (exit 1); exit 1; }; }
13736 fi
13737 cat >conftest.$ac_ext <<_ACEOF
13738 #line $LINENO "configure"
13739 /* confdefs.h.  */
13740 _ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h.  */
13744 /* System header to define __stub macros and hopefully few prototypes,
13745     which can conflict with char $ac_func (); below.
13746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13747     <limits.h> exists even on freestanding compilers.  */
13748 #ifdef __STDC__
13749 # include <limits.h>
13750 #else
13751 # include <assert.h>
13752 #endif
13753 /* Override any gcc2 internal prototype to avoid an error.  */
13754 #ifdef __cplusplus
13755 extern "C"
13756 {
13757 #endif
13758 /* We use char because int might match the return type of a gcc2
13759    builtin and then its argument prototype would still apply.  */
13760 char $ac_func ();
13761 /* The GNU C library defines this for functions which it implements
13762     to always fail with ENOSYS.  Some functions are actually named
13763     something starting with __ and the normal name is an alias.  */
13764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13765 choke me
13766 #else
13767 char (*f) () = $ac_func;
13768 #endif
13769 #ifdef __cplusplus
13770 }
13771 #endif
13772
13773 int
13774 main ()
13775 {
13776 return f != $ac_func;
13777   ;
13778   return 0;
13779 }
13780 _ACEOF
13781 rm -f conftest.$ac_objext conftest$ac_exeext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13783   (eval $ac_link) 2>&5
13784   ac_status=$?
13785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786   (exit $ac_status); } &&
13787          { ac_try='test -s conftest$ac_exeext'
13788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789   (eval $ac_try) 2>&5
13790   ac_status=$?
13791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792   (exit $ac_status); }; }; then
13793   eval "$as_ac_var=yes"
13794 else
13795   echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 eval "$as_ac_var=no"
13799 fi
13800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13801 fi
13802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13804 if test `eval echo '${'$as_ac_var'}'` = yes; then
13805   cat >>confdefs.h <<_ACEOF
13806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13807 _ACEOF
13808
13809 fi
13810 done
13811
13812   else
13813
13814   echo "$as_me:$LINENO: checking for _logf declaration" >&5
13815 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13816   if test x${glibcxx_cv_func__logf_use+set} != xset; then
13817     if test "${glibcxx_cv_func__logf_use+set}" = set; then
13818   echo $ECHO_N "(cached) $ECHO_C" >&6
13819 else
13820
13821
13822
13823       ac_ext=cc
13824 ac_cpp='$CXXCPP $CPPFLAGS'
13825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13828
13829       cat >conftest.$ac_ext <<_ACEOF
13830 #line $LINENO "configure"
13831 /* confdefs.h.  */
13832 _ACEOF
13833 cat confdefs.h >>conftest.$ac_ext
13834 cat >>conftest.$ac_ext <<_ACEOF
13835 /* end confdefs.h.  */
13836 #include <math.h>
13837                       #ifdef HAVE_IEEEFP_H
13838                       #include <ieeefp.h>
13839                       #endif
13840
13841 int
13842 main ()
13843 {
13844  _logf(0);
13845   ;
13846   return 0;
13847 }
13848 _ACEOF
13849 rm -f conftest.$ac_objext
13850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13851   (eval $ac_compile) 2>&5
13852   ac_status=$?
13853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854   (exit $ac_status); } &&
13855          { ac_try='test -s conftest.$ac_objext'
13856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857   (eval $ac_try) 2>&5
13858   ac_status=$?
13859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860   (exit $ac_status); }; }; then
13861   glibcxx_cv_func__logf_use=yes
13862 else
13863   echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13865
13866 glibcxx_cv_func__logf_use=no
13867 fi
13868 rm -f conftest.$ac_objext conftest.$ac_ext
13869       ac_ext=c
13870 ac_cpp='$CPP $CPPFLAGS'
13871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13874
13875
13876 fi
13877
13878   fi
13879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13880 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13881
13882     if test x$glibcxx_cv_func__logf_use = x"yes"; then
13883
13884 for ac_func in _logf
13885 do
13886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13887 echo "$as_me:$LINENO: checking for $ac_func" >&5
13888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13889 if eval "test \"\${$as_ac_var+set}\" = set"; then
13890   echo $ECHO_N "(cached) $ECHO_C" >&6
13891 else
13892   if test x$gcc_no_link = xyes; then
13893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13895    { (exit 1); exit 1; }; }
13896 fi
13897 cat >conftest.$ac_ext <<_ACEOF
13898 #line $LINENO "configure"
13899 /* confdefs.h.  */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h.  */
13904 /* System header to define __stub macros and hopefully few prototypes,
13905     which can conflict with char $ac_func (); below.
13906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13907     <limits.h> exists even on freestanding compilers.  */
13908 #ifdef __STDC__
13909 # include <limits.h>
13910 #else
13911 # include <assert.h>
13912 #endif
13913 /* Override any gcc2 internal prototype to avoid an error.  */
13914 #ifdef __cplusplus
13915 extern "C"
13916 {
13917 #endif
13918 /* We use char because int might match the return type of a gcc2
13919    builtin and then its argument prototype would still apply.  */
13920 char $ac_func ();
13921 /* The GNU C library defines this for functions which it implements
13922     to always fail with ENOSYS.  Some functions are actually named
13923     something starting with __ and the normal name is an alias.  */
13924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13925 choke me
13926 #else
13927 char (*f) () = $ac_func;
13928 #endif
13929 #ifdef __cplusplus
13930 }
13931 #endif
13932
13933 int
13934 main ()
13935 {
13936 return f != $ac_func;
13937   ;
13938   return 0;
13939 }
13940 _ACEOF
13941 rm -f conftest.$ac_objext conftest$ac_exeext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13943   (eval $ac_link) 2>&5
13944   ac_status=$?
13945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946   (exit $ac_status); } &&
13947          { ac_try='test -s conftest$ac_exeext'
13948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949   (eval $ac_try) 2>&5
13950   ac_status=$?
13951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952   (exit $ac_status); }; }; then
13953   eval "$as_ac_var=yes"
13954 else
13955   echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.$ac_ext >&5
13957
13958 eval "$as_ac_var=no"
13959 fi
13960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13961 fi
13962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13964 if test `eval echo '${'$as_ac_var'}'` = yes; then
13965   cat >>confdefs.h <<_ACEOF
13966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13967 _ACEOF
13968
13969 fi
13970 done
13971
13972     fi
13973   fi
13974
13975
13976
13977   echo "$as_me:$LINENO: checking for log10f declaration" >&5
13978 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13979   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13980     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13981   echo $ECHO_N "(cached) $ECHO_C" >&6
13982 else
13983
13984
13985
13986       ac_ext=cc
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13991
13992       cat >conftest.$ac_ext <<_ACEOF
13993 #line $LINENO "configure"
13994 /* confdefs.h.  */
13995 _ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h.  */
13999 #include <math.h>
14000                       #ifdef HAVE_IEEEFP_H
14001                       #include <ieeefp.h>
14002                       #endif
14003
14004 int
14005 main ()
14006 {
14007  log10f(0);
14008   ;
14009   return 0;
14010 }
14011 _ACEOF
14012 rm -f conftest.$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014   (eval $ac_compile) 2>&5
14015   ac_status=$?
14016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017   (exit $ac_status); } &&
14018          { ac_try='test -s conftest.$ac_objext'
14019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020   (eval $ac_try) 2>&5
14021   ac_status=$?
14022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023   (exit $ac_status); }; }; then
14024   glibcxx_cv_func_log10f_use=yes
14025 else
14026   echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.$ac_ext >&5
14028
14029 glibcxx_cv_func_log10f_use=no
14030 fi
14031 rm -f conftest.$ac_objext conftest.$ac_ext
14032       ac_ext=c
14033 ac_cpp='$CPP $CPPFLAGS'
14034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14037
14038
14039 fi
14040
14041   fi
14042   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14043 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14044
14045   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14046
14047 for ac_func in log10f
14048 do
14049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14050 echo "$as_me:$LINENO: checking for $ac_func" >&5
14051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14052 if eval "test \"\${$as_ac_var+set}\" = set"; then
14053   echo $ECHO_N "(cached) $ECHO_C" >&6
14054 else
14055   if test x$gcc_no_link = xyes; then
14056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14058    { (exit 1); exit 1; }; }
14059 fi
14060 cat >conftest.$ac_ext <<_ACEOF
14061 #line $LINENO "configure"
14062 /* confdefs.h.  */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h.  */
14067 /* System header to define __stub macros and hopefully few prototypes,
14068     which can conflict with char $ac_func (); below.
14069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14070     <limits.h> exists even on freestanding compilers.  */
14071 #ifdef __STDC__
14072 # include <limits.h>
14073 #else
14074 # include <assert.h>
14075 #endif
14076 /* Override any gcc2 internal prototype to avoid an error.  */
14077 #ifdef __cplusplus
14078 extern "C"
14079 {
14080 #endif
14081 /* We use char because int might match the return type of a gcc2
14082    builtin and then its argument prototype would still apply.  */
14083 char $ac_func ();
14084 /* The GNU C library defines this for functions which it implements
14085     to always fail with ENOSYS.  Some functions are actually named
14086     something starting with __ and the normal name is an alias.  */
14087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14088 choke me
14089 #else
14090 char (*f) () = $ac_func;
14091 #endif
14092 #ifdef __cplusplus
14093 }
14094 #endif
14095
14096 int
14097 main ()
14098 {
14099 return f != $ac_func;
14100   ;
14101   return 0;
14102 }
14103 _ACEOF
14104 rm -f conftest.$ac_objext conftest$ac_exeext
14105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14106   (eval $ac_link) 2>&5
14107   ac_status=$?
14108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109   (exit $ac_status); } &&
14110          { ac_try='test -s conftest$ac_exeext'
14111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112   (eval $ac_try) 2>&5
14113   ac_status=$?
14114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115   (exit $ac_status); }; }; then
14116   eval "$as_ac_var=yes"
14117 else
14118   echo "$as_me: failed program was:" >&5
14119 sed 's/^/| /' conftest.$ac_ext >&5
14120
14121 eval "$as_ac_var=no"
14122 fi
14123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14124 fi
14125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14127 if test `eval echo '${'$as_ac_var'}'` = yes; then
14128   cat >>confdefs.h <<_ACEOF
14129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14130 _ACEOF
14131
14132 fi
14133 done
14134
14135   else
14136
14137   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14138 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14139   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14140     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14141   echo $ECHO_N "(cached) $ECHO_C" >&6
14142 else
14143
14144
14145
14146       ac_ext=cc
14147 ac_cpp='$CXXCPP $CPPFLAGS'
14148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14151
14152       cat >conftest.$ac_ext <<_ACEOF
14153 #line $LINENO "configure"
14154 /* confdefs.h.  */
14155 _ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h.  */
14159 #include <math.h>
14160                       #ifdef HAVE_IEEEFP_H
14161                       #include <ieeefp.h>
14162                       #endif
14163
14164 int
14165 main ()
14166 {
14167  _log10f(0);
14168   ;
14169   return 0;
14170 }
14171 _ACEOF
14172 rm -f conftest.$ac_objext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14174   (eval $ac_compile) 2>&5
14175   ac_status=$?
14176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177   (exit $ac_status); } &&
14178          { ac_try='test -s conftest.$ac_objext'
14179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180   (eval $ac_try) 2>&5
14181   ac_status=$?
14182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183   (exit $ac_status); }; }; then
14184   glibcxx_cv_func__log10f_use=yes
14185 else
14186   echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 glibcxx_cv_func__log10f_use=no
14190 fi
14191 rm -f conftest.$ac_objext conftest.$ac_ext
14192       ac_ext=c
14193 ac_cpp='$CPP $CPPFLAGS'
14194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14197
14198
14199 fi
14200
14201   fi
14202   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14203 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14204
14205     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14206
14207 for ac_func in _log10f
14208 do
14209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14210 echo "$as_me:$LINENO: checking for $ac_func" >&5
14211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14212 if eval "test \"\${$as_ac_var+set}\" = set"; then
14213   echo $ECHO_N "(cached) $ECHO_C" >&6
14214 else
14215   if test x$gcc_no_link = xyes; then
14216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14218    { (exit 1); exit 1; }; }
14219 fi
14220 cat >conftest.$ac_ext <<_ACEOF
14221 #line $LINENO "configure"
14222 /* confdefs.h.  */
14223 _ACEOF
14224 cat confdefs.h >>conftest.$ac_ext
14225 cat >>conftest.$ac_ext <<_ACEOF
14226 /* end confdefs.h.  */
14227 /* System header to define __stub macros and hopefully few prototypes,
14228     which can conflict with char $ac_func (); below.
14229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14230     <limits.h> exists even on freestanding compilers.  */
14231 #ifdef __STDC__
14232 # include <limits.h>
14233 #else
14234 # include <assert.h>
14235 #endif
14236 /* Override any gcc2 internal prototype to avoid an error.  */
14237 #ifdef __cplusplus
14238 extern "C"
14239 {
14240 #endif
14241 /* We use char because int might match the return type of a gcc2
14242    builtin and then its argument prototype would still apply.  */
14243 char $ac_func ();
14244 /* The GNU C library defines this for functions which it implements
14245     to always fail with ENOSYS.  Some functions are actually named
14246     something starting with __ and the normal name is an alias.  */
14247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14248 choke me
14249 #else
14250 char (*f) () = $ac_func;
14251 #endif
14252 #ifdef __cplusplus
14253 }
14254 #endif
14255
14256 int
14257 main ()
14258 {
14259 return f != $ac_func;
14260   ;
14261   return 0;
14262 }
14263 _ACEOF
14264 rm -f conftest.$ac_objext conftest$ac_exeext
14265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14266   (eval $ac_link) 2>&5
14267   ac_status=$?
14268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269   (exit $ac_status); } &&
14270          { ac_try='test -s conftest$ac_exeext'
14271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272   (eval $ac_try) 2>&5
14273   ac_status=$?
14274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275   (exit $ac_status); }; }; then
14276   eval "$as_ac_var=yes"
14277 else
14278   echo "$as_me: failed program was:" >&5
14279 sed 's/^/| /' conftest.$ac_ext >&5
14280
14281 eval "$as_ac_var=no"
14282 fi
14283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14284 fi
14285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14287 if test `eval echo '${'$as_ac_var'}'` = yes; then
14288   cat >>confdefs.h <<_ACEOF
14289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14290 _ACEOF
14291
14292 fi
14293 done
14294
14295     fi
14296   fi
14297
14298
14299
14300   echo "$as_me:$LINENO: checking for modff declaration" >&5
14301 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14302   if test x${glibcxx_cv_func_modff_use+set} != xset; then
14303     if test "${glibcxx_cv_func_modff_use+set}" = set; then
14304   echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306
14307
14308
14309       ac_ext=cc
14310 ac_cpp='$CXXCPP $CPPFLAGS'
14311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14314
14315       cat >conftest.$ac_ext <<_ACEOF
14316 #line $LINENO "configure"
14317 /* confdefs.h.  */
14318 _ACEOF
14319 cat confdefs.h >>conftest.$ac_ext
14320 cat >>conftest.$ac_ext <<_ACEOF
14321 /* end confdefs.h.  */
14322 #include <math.h>
14323 int
14324 main ()
14325 {
14326  modff(0, 0);
14327   ;
14328   return 0;
14329 }
14330 _ACEOF
14331 rm -f conftest.$ac_objext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14333   (eval $ac_compile) 2>&5
14334   ac_status=$?
14335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336   (exit $ac_status); } &&
14337          { ac_try='test -s conftest.$ac_objext'
14338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339   (eval $ac_try) 2>&5
14340   ac_status=$?
14341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342   (exit $ac_status); }; }; then
14343   glibcxx_cv_func_modff_use=yes
14344 else
14345   echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.$ac_ext >&5
14347
14348 glibcxx_cv_func_modff_use=no
14349 fi
14350 rm -f conftest.$ac_objext conftest.$ac_ext
14351       ac_ext=c
14352 ac_cpp='$CPP $CPPFLAGS'
14353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14356
14357
14358 fi
14359
14360   fi
14361   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14362 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14363
14364   if test x$glibcxx_cv_func_modff_use = x"yes"; then
14365
14366 for ac_func in modff
14367 do
14368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14369 echo "$as_me:$LINENO: checking for $ac_func" >&5
14370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14371 if eval "test \"\${$as_ac_var+set}\" = set"; then
14372   echo $ECHO_N "(cached) $ECHO_C" >&6
14373 else
14374   if test x$gcc_no_link = xyes; then
14375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14377    { (exit 1); exit 1; }; }
14378 fi
14379 cat >conftest.$ac_ext <<_ACEOF
14380 #line $LINENO "configure"
14381 /* confdefs.h.  */
14382 _ACEOF
14383 cat confdefs.h >>conftest.$ac_ext
14384 cat >>conftest.$ac_ext <<_ACEOF
14385 /* end confdefs.h.  */
14386 /* System header to define __stub macros and hopefully few prototypes,
14387     which can conflict with char $ac_func (); below.
14388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14389     <limits.h> exists even on freestanding compilers.  */
14390 #ifdef __STDC__
14391 # include <limits.h>
14392 #else
14393 # include <assert.h>
14394 #endif
14395 /* Override any gcc2 internal prototype to avoid an error.  */
14396 #ifdef __cplusplus
14397 extern "C"
14398 {
14399 #endif
14400 /* We use char because int might match the return type of a gcc2
14401    builtin and then its argument prototype would still apply.  */
14402 char $ac_func ();
14403 /* The GNU C library defines this for functions which it implements
14404     to always fail with ENOSYS.  Some functions are actually named
14405     something starting with __ and the normal name is an alias.  */
14406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14407 choke me
14408 #else
14409 char (*f) () = $ac_func;
14410 #endif
14411 #ifdef __cplusplus
14412 }
14413 #endif
14414
14415 int
14416 main ()
14417 {
14418 return f != $ac_func;
14419   ;
14420   return 0;
14421 }
14422 _ACEOF
14423 rm -f conftest.$ac_objext conftest$ac_exeext
14424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14425   (eval $ac_link) 2>&5
14426   ac_status=$?
14427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428   (exit $ac_status); } &&
14429          { ac_try='test -s conftest$ac_exeext'
14430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431   (eval $ac_try) 2>&5
14432   ac_status=$?
14433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434   (exit $ac_status); }; }; then
14435   eval "$as_ac_var=yes"
14436 else
14437   echo "$as_me: failed program was:" >&5
14438 sed 's/^/| /' conftest.$ac_ext >&5
14439
14440 eval "$as_ac_var=no"
14441 fi
14442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14443 fi
14444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14446 if test `eval echo '${'$as_ac_var'}'` = yes; then
14447   cat >>confdefs.h <<_ACEOF
14448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14449 _ACEOF
14450
14451 fi
14452 done
14453
14454   else
14455
14456   echo "$as_me:$LINENO: checking for _modff declaration" >&5
14457 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14458   if test x${glibcxx_cv_func__modff_use+set} != xset; then
14459     if test "${glibcxx_cv_func__modff_use+set}" = set; then
14460   echo $ECHO_N "(cached) $ECHO_C" >&6
14461 else
14462
14463
14464
14465       ac_ext=cc
14466 ac_cpp='$CXXCPP $CPPFLAGS'
14467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14470
14471       cat >conftest.$ac_ext <<_ACEOF
14472 #line $LINENO "configure"
14473 /* confdefs.h.  */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h.  */
14478 #include <math.h>
14479 int
14480 main ()
14481 {
14482  _modff(0, 0);
14483   ;
14484   return 0;
14485 }
14486 _ACEOF
14487 rm -f conftest.$ac_objext
14488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489   (eval $ac_compile) 2>&5
14490   ac_status=$?
14491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492   (exit $ac_status); } &&
14493          { ac_try='test -s conftest.$ac_objext'
14494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495   (eval $ac_try) 2>&5
14496   ac_status=$?
14497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498   (exit $ac_status); }; }; then
14499   glibcxx_cv_func__modff_use=yes
14500 else
14501   echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.$ac_ext >&5
14503
14504 glibcxx_cv_func__modff_use=no
14505 fi
14506 rm -f conftest.$ac_objext conftest.$ac_ext
14507       ac_ext=c
14508 ac_cpp='$CPP $CPPFLAGS'
14509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14512
14513
14514 fi
14515
14516   fi
14517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14518 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14519
14520     if test x$glibcxx_cv_func__modff_use = x"yes"; then
14521
14522 for ac_func in _modff
14523 do
14524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14525 echo "$as_me:$LINENO: checking for $ac_func" >&5
14526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14527 if eval "test \"\${$as_ac_var+set}\" = set"; then
14528   echo $ECHO_N "(cached) $ECHO_C" >&6
14529 else
14530   if test x$gcc_no_link = xyes; then
14531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14533    { (exit 1); exit 1; }; }
14534 fi
14535 cat >conftest.$ac_ext <<_ACEOF
14536 #line $LINENO "configure"
14537 /* confdefs.h.  */
14538 _ACEOF
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h.  */
14542 /* System header to define __stub macros and hopefully few prototypes,
14543     which can conflict with char $ac_func (); below.
14544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14545     <limits.h> exists even on freestanding compilers.  */
14546 #ifdef __STDC__
14547 # include <limits.h>
14548 #else
14549 # include <assert.h>
14550 #endif
14551 /* Override any gcc2 internal prototype to avoid an error.  */
14552 #ifdef __cplusplus
14553 extern "C"
14554 {
14555 #endif
14556 /* We use char because int might match the return type of a gcc2
14557    builtin and then its argument prototype would still apply.  */
14558 char $ac_func ();
14559 /* The GNU C library defines this for functions which it implements
14560     to always fail with ENOSYS.  Some functions are actually named
14561     something starting with __ and the normal name is an alias.  */
14562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14563 choke me
14564 #else
14565 char (*f) () = $ac_func;
14566 #endif
14567 #ifdef __cplusplus
14568 }
14569 #endif
14570
14571 int
14572 main ()
14573 {
14574 return f != $ac_func;
14575   ;
14576   return 0;
14577 }
14578 _ACEOF
14579 rm -f conftest.$ac_objext conftest$ac_exeext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14581   (eval $ac_link) 2>&5
14582   ac_status=$?
14583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584   (exit $ac_status); } &&
14585          { ac_try='test -s conftest$ac_exeext'
14586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587   (eval $ac_try) 2>&5
14588   ac_status=$?
14589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590   (exit $ac_status); }; }; then
14591   eval "$as_ac_var=yes"
14592 else
14593   echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14595
14596 eval "$as_ac_var=no"
14597 fi
14598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14599 fi
14600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14602 if test `eval echo '${'$as_ac_var'}'` = yes; then
14603   cat >>confdefs.h <<_ACEOF
14604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14605 _ACEOF
14606
14607 fi
14608 done
14609
14610     fi
14611   fi
14612
14613
14614
14615   echo "$as_me:$LINENO: checking for powf declaration" >&5
14616 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14617   if test x${glibcxx_cv_func_powf_use+set} != xset; then
14618     if test "${glibcxx_cv_func_powf_use+set}" = set; then
14619   echo $ECHO_N "(cached) $ECHO_C" >&6
14620 else
14621
14622
14623
14624       ac_ext=cc
14625 ac_cpp='$CXXCPP $CPPFLAGS'
14626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14629
14630       cat >conftest.$ac_ext <<_ACEOF
14631 #line $LINENO "configure"
14632 /* confdefs.h.  */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h.  */
14637 #include <math.h>
14638 int
14639 main ()
14640 {
14641  powf(0, 0);
14642   ;
14643   return 0;
14644 }
14645 _ACEOF
14646 rm -f conftest.$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648   (eval $ac_compile) 2>&5
14649   ac_status=$?
14650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651   (exit $ac_status); } &&
14652          { ac_try='test -s conftest.$ac_objext'
14653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654   (eval $ac_try) 2>&5
14655   ac_status=$?
14656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657   (exit $ac_status); }; }; then
14658   glibcxx_cv_func_powf_use=yes
14659 else
14660   echo "$as_me: failed program was:" >&5
14661 sed 's/^/| /' conftest.$ac_ext >&5
14662
14663 glibcxx_cv_func_powf_use=no
14664 fi
14665 rm -f conftest.$ac_objext conftest.$ac_ext
14666       ac_ext=c
14667 ac_cpp='$CPP $CPPFLAGS'
14668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14671
14672
14673 fi
14674
14675   fi
14676   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14677 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14678
14679   if test x$glibcxx_cv_func_powf_use = x"yes"; then
14680
14681 for ac_func in powf
14682 do
14683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14684 echo "$as_me:$LINENO: checking for $ac_func" >&5
14685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14686 if eval "test \"\${$as_ac_var+set}\" = set"; then
14687   echo $ECHO_N "(cached) $ECHO_C" >&6
14688 else
14689   if test x$gcc_no_link = xyes; then
14690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14692    { (exit 1); exit 1; }; }
14693 fi
14694 cat >conftest.$ac_ext <<_ACEOF
14695 #line $LINENO "configure"
14696 /* confdefs.h.  */
14697 _ACEOF
14698 cat confdefs.h >>conftest.$ac_ext
14699 cat >>conftest.$ac_ext <<_ACEOF
14700 /* end confdefs.h.  */
14701 /* System header to define __stub macros and hopefully few prototypes,
14702     which can conflict with char $ac_func (); below.
14703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14704     <limits.h> exists even on freestanding compilers.  */
14705 #ifdef __STDC__
14706 # include <limits.h>
14707 #else
14708 # include <assert.h>
14709 #endif
14710 /* Override any gcc2 internal prototype to avoid an error.  */
14711 #ifdef __cplusplus
14712 extern "C"
14713 {
14714 #endif
14715 /* We use char because int might match the return type of a gcc2
14716    builtin and then its argument prototype would still apply.  */
14717 char $ac_func ();
14718 /* The GNU C library defines this for functions which it implements
14719     to always fail with ENOSYS.  Some functions are actually named
14720     something starting with __ and the normal name is an alias.  */
14721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14722 choke me
14723 #else
14724 char (*f) () = $ac_func;
14725 #endif
14726 #ifdef __cplusplus
14727 }
14728 #endif
14729
14730 int
14731 main ()
14732 {
14733 return f != $ac_func;
14734   ;
14735   return 0;
14736 }
14737 _ACEOF
14738 rm -f conftest.$ac_objext conftest$ac_exeext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740   (eval $ac_link) 2>&5
14741   ac_status=$?
14742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743   (exit $ac_status); } &&
14744          { ac_try='test -s conftest$ac_exeext'
14745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746   (eval $ac_try) 2>&5
14747   ac_status=$?
14748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749   (exit $ac_status); }; }; then
14750   eval "$as_ac_var=yes"
14751 else
14752   echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14754
14755 eval "$as_ac_var=no"
14756 fi
14757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14758 fi
14759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14761 if test `eval echo '${'$as_ac_var'}'` = yes; then
14762   cat >>confdefs.h <<_ACEOF
14763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14764 _ACEOF
14765
14766 fi
14767 done
14768
14769   else
14770
14771   echo "$as_me:$LINENO: checking for _powf declaration" >&5
14772 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14773   if test x${glibcxx_cv_func__powf_use+set} != xset; then
14774     if test "${glibcxx_cv_func__powf_use+set}" = set; then
14775   echo $ECHO_N "(cached) $ECHO_C" >&6
14776 else
14777
14778
14779
14780       ac_ext=cc
14781 ac_cpp='$CXXCPP $CPPFLAGS'
14782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14785
14786       cat >conftest.$ac_ext <<_ACEOF
14787 #line $LINENO "configure"
14788 /* confdefs.h.  */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h.  */
14793 #include <math.h>
14794 int
14795 main ()
14796 {
14797  _powf(0, 0);
14798   ;
14799   return 0;
14800 }
14801 _ACEOF
14802 rm -f conftest.$ac_objext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14804   (eval $ac_compile) 2>&5
14805   ac_status=$?
14806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807   (exit $ac_status); } &&
14808          { ac_try='test -s conftest.$ac_objext'
14809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810   (eval $ac_try) 2>&5
14811   ac_status=$?
14812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813   (exit $ac_status); }; }; then
14814   glibcxx_cv_func__powf_use=yes
14815 else
14816   echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819 glibcxx_cv_func__powf_use=no
14820 fi
14821 rm -f conftest.$ac_objext conftest.$ac_ext
14822       ac_ext=c
14823 ac_cpp='$CPP $CPPFLAGS'
14824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14827
14828
14829 fi
14830
14831   fi
14832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14833 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14834
14835     if test x$glibcxx_cv_func__powf_use = x"yes"; then
14836
14837 for ac_func in _powf
14838 do
14839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14840 echo "$as_me:$LINENO: checking for $ac_func" >&5
14841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14842 if eval "test \"\${$as_ac_var+set}\" = set"; then
14843   echo $ECHO_N "(cached) $ECHO_C" >&6
14844 else
14845   if test x$gcc_no_link = xyes; then
14846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14848    { (exit 1); exit 1; }; }
14849 fi
14850 cat >conftest.$ac_ext <<_ACEOF
14851 #line $LINENO "configure"
14852 /* confdefs.h.  */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h.  */
14857 /* System header to define __stub macros and hopefully few prototypes,
14858     which can conflict with char $ac_func (); below.
14859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14860     <limits.h> exists even on freestanding compilers.  */
14861 #ifdef __STDC__
14862 # include <limits.h>
14863 #else
14864 # include <assert.h>
14865 #endif
14866 /* Override any gcc2 internal prototype to avoid an error.  */
14867 #ifdef __cplusplus
14868 extern "C"
14869 {
14870 #endif
14871 /* We use char because int might match the return type of a gcc2
14872    builtin and then its argument prototype would still apply.  */
14873 char $ac_func ();
14874 /* The GNU C library defines this for functions which it implements
14875     to always fail with ENOSYS.  Some functions are actually named
14876     something starting with __ and the normal name is an alias.  */
14877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14878 choke me
14879 #else
14880 char (*f) () = $ac_func;
14881 #endif
14882 #ifdef __cplusplus
14883 }
14884 #endif
14885
14886 int
14887 main ()
14888 {
14889 return f != $ac_func;
14890   ;
14891   return 0;
14892 }
14893 _ACEOF
14894 rm -f conftest.$ac_objext conftest$ac_exeext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14896   (eval $ac_link) 2>&5
14897   ac_status=$?
14898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899   (exit $ac_status); } &&
14900          { ac_try='test -s conftest$ac_exeext'
14901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902   (eval $ac_try) 2>&5
14903   ac_status=$?
14904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905   (exit $ac_status); }; }; then
14906   eval "$as_ac_var=yes"
14907 else
14908   echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14910
14911 eval "$as_ac_var=no"
14912 fi
14913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14914 fi
14915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14917 if test `eval echo '${'$as_ac_var'}'` = yes; then
14918   cat >>confdefs.h <<_ACEOF
14919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14920 _ACEOF
14921
14922 fi
14923 done
14924
14925     fi
14926   fi
14927
14928
14929
14930   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14931 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14932   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14933     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14934   echo $ECHO_N "(cached) $ECHO_C" >&6
14935 else
14936
14937
14938
14939       ac_ext=cc
14940 ac_cpp='$CXXCPP $CPPFLAGS'
14941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14944
14945       cat >conftest.$ac_ext <<_ACEOF
14946 #line $LINENO "configure"
14947 /* confdefs.h.  */
14948 _ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h.  */
14952 #include <math.h>
14953                       #ifdef HAVE_IEEEFP_H
14954                       #include <ieeefp.h>
14955                       #endif
14956
14957 int
14958 main ()
14959 {
14960  sqrtf(0);
14961   ;
14962   return 0;
14963 }
14964 _ACEOF
14965 rm -f conftest.$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967   (eval $ac_compile) 2>&5
14968   ac_status=$?
14969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970   (exit $ac_status); } &&
14971          { ac_try='test -s conftest.$ac_objext'
14972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973   (eval $ac_try) 2>&5
14974   ac_status=$?
14975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976   (exit $ac_status); }; }; then
14977   glibcxx_cv_func_sqrtf_use=yes
14978 else
14979   echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14981
14982 glibcxx_cv_func_sqrtf_use=no
14983 fi
14984 rm -f conftest.$ac_objext conftest.$ac_ext
14985       ac_ext=c
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990
14991
14992 fi
14993
14994   fi
14995   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14996 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14997
14998   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14999
15000 for ac_func in sqrtf
15001 do
15002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15003 echo "$as_me:$LINENO: checking for $ac_func" >&5
15004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15005 if eval "test \"\${$as_ac_var+set}\" = set"; then
15006   echo $ECHO_N "(cached) $ECHO_C" >&6
15007 else
15008   if test x$gcc_no_link = xyes; then
15009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15011    { (exit 1); exit 1; }; }
15012 fi
15013 cat >conftest.$ac_ext <<_ACEOF
15014 #line $LINENO "configure"
15015 /* confdefs.h.  */
15016 _ACEOF
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h.  */
15020 /* System header to define __stub macros and hopefully few prototypes,
15021     which can conflict with char $ac_func (); below.
15022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15023     <limits.h> exists even on freestanding compilers.  */
15024 #ifdef __STDC__
15025 # include <limits.h>
15026 #else
15027 # include <assert.h>
15028 #endif
15029 /* Override any gcc2 internal prototype to avoid an error.  */
15030 #ifdef __cplusplus
15031 extern "C"
15032 {
15033 #endif
15034 /* We use char because int might match the return type of a gcc2
15035    builtin and then its argument prototype would still apply.  */
15036 char $ac_func ();
15037 /* The GNU C library defines this for functions which it implements
15038     to always fail with ENOSYS.  Some functions are actually named
15039     something starting with __ and the normal name is an alias.  */
15040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15041 choke me
15042 #else
15043 char (*f) () = $ac_func;
15044 #endif
15045 #ifdef __cplusplus
15046 }
15047 #endif
15048
15049 int
15050 main ()
15051 {
15052 return f != $ac_func;
15053   ;
15054   return 0;
15055 }
15056 _ACEOF
15057 rm -f conftest.$ac_objext conftest$ac_exeext
15058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15059   (eval $ac_link) 2>&5
15060   ac_status=$?
15061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062   (exit $ac_status); } &&
15063          { ac_try='test -s conftest$ac_exeext'
15064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065   (eval $ac_try) 2>&5
15066   ac_status=$?
15067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068   (exit $ac_status); }; }; then
15069   eval "$as_ac_var=yes"
15070 else
15071   echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 eval "$as_ac_var=no"
15075 fi
15076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15077 fi
15078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15080 if test `eval echo '${'$as_ac_var'}'` = yes; then
15081   cat >>confdefs.h <<_ACEOF
15082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15083 _ACEOF
15084
15085 fi
15086 done
15087
15088   else
15089
15090   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15091 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15092   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15093     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15094   echo $ECHO_N "(cached) $ECHO_C" >&6
15095 else
15096
15097
15098
15099       ac_ext=cc
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104
15105       cat >conftest.$ac_ext <<_ACEOF
15106 #line $LINENO "configure"
15107 /* confdefs.h.  */
15108 _ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h.  */
15112 #include <math.h>
15113                       #ifdef HAVE_IEEEFP_H
15114                       #include <ieeefp.h>
15115                       #endif
15116
15117 int
15118 main ()
15119 {
15120  _sqrtf(0);
15121   ;
15122   return 0;
15123 }
15124 _ACEOF
15125 rm -f conftest.$ac_objext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15127   (eval $ac_compile) 2>&5
15128   ac_status=$?
15129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130   (exit $ac_status); } &&
15131          { ac_try='test -s conftest.$ac_objext'
15132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133   (eval $ac_try) 2>&5
15134   ac_status=$?
15135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136   (exit $ac_status); }; }; then
15137   glibcxx_cv_func__sqrtf_use=yes
15138 else
15139   echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15141
15142 glibcxx_cv_func__sqrtf_use=no
15143 fi
15144 rm -f conftest.$ac_objext conftest.$ac_ext
15145       ac_ext=c
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15150
15151
15152 fi
15153
15154   fi
15155   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15156 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15157
15158     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15159
15160 for ac_func in _sqrtf
15161 do
15162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15163 echo "$as_me:$LINENO: checking for $ac_func" >&5
15164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15165 if eval "test \"\${$as_ac_var+set}\" = set"; then
15166   echo $ECHO_N "(cached) $ECHO_C" >&6
15167 else
15168   if test x$gcc_no_link = xyes; then
15169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15171    { (exit 1); exit 1; }; }
15172 fi
15173 cat >conftest.$ac_ext <<_ACEOF
15174 #line $LINENO "configure"
15175 /* confdefs.h.  */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h.  */
15180 /* System header to define __stub macros and hopefully few prototypes,
15181     which can conflict with char $ac_func (); below.
15182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15183     <limits.h> exists even on freestanding compilers.  */
15184 #ifdef __STDC__
15185 # include <limits.h>
15186 #else
15187 # include <assert.h>
15188 #endif
15189 /* Override any gcc2 internal prototype to avoid an error.  */
15190 #ifdef __cplusplus
15191 extern "C"
15192 {
15193 #endif
15194 /* We use char because int might match the return type of a gcc2
15195    builtin and then its argument prototype would still apply.  */
15196 char $ac_func ();
15197 /* The GNU C library defines this for functions which it implements
15198     to always fail with ENOSYS.  Some functions are actually named
15199     something starting with __ and the normal name is an alias.  */
15200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15201 choke me
15202 #else
15203 char (*f) () = $ac_func;
15204 #endif
15205 #ifdef __cplusplus
15206 }
15207 #endif
15208
15209 int
15210 main ()
15211 {
15212 return f != $ac_func;
15213   ;
15214   return 0;
15215 }
15216 _ACEOF
15217 rm -f conftest.$ac_objext conftest$ac_exeext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15219   (eval $ac_link) 2>&5
15220   ac_status=$?
15221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222   (exit $ac_status); } &&
15223          { ac_try='test -s conftest$ac_exeext'
15224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225   (eval $ac_try) 2>&5
15226   ac_status=$?
15227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228   (exit $ac_status); }; }; then
15229   eval "$as_ac_var=yes"
15230 else
15231   echo "$as_me: failed program was:" >&5
15232 sed 's/^/| /' conftest.$ac_ext >&5
15233
15234 eval "$as_ac_var=no"
15235 fi
15236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15237 fi
15238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15240 if test `eval echo '${'$as_ac_var'}'` = yes; then
15241   cat >>confdefs.h <<_ACEOF
15242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15243 _ACEOF
15244
15245 fi
15246 done
15247
15248     fi
15249   fi
15250
15251
15252
15253   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15254 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15255   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15256     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15257   echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259
15260
15261
15262       ac_ext=cc
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15267
15268       cat >conftest.$ac_ext <<_ACEOF
15269 #line $LINENO "configure"
15270 /* confdefs.h.  */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h.  */
15275 #include <math.h>
15276 int
15277 main ()
15278 {
15279  sincosf(0, 0, 0);
15280   ;
15281   return 0;
15282 }
15283 _ACEOF
15284 rm -f conftest.$ac_objext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15286   (eval $ac_compile) 2>&5
15287   ac_status=$?
15288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289   (exit $ac_status); } &&
15290          { ac_try='test -s conftest.$ac_objext'
15291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292   (eval $ac_try) 2>&5
15293   ac_status=$?
15294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295   (exit $ac_status); }; }; then
15296   glibcxx_cv_func_sincosf_use=yes
15297 else
15298   echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15300
15301 glibcxx_cv_func_sincosf_use=no
15302 fi
15303 rm -f conftest.$ac_objext conftest.$ac_ext
15304       ac_ext=c
15305 ac_cpp='$CPP $CPPFLAGS'
15306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15309
15310
15311 fi
15312
15313   fi
15314   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15315 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15316
15317   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15318
15319 for ac_func in sincosf
15320 do
15321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15322 echo "$as_me:$LINENO: checking for $ac_func" >&5
15323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15324 if eval "test \"\${$as_ac_var+set}\" = set"; then
15325   echo $ECHO_N "(cached) $ECHO_C" >&6
15326 else
15327   if test x$gcc_no_link = xyes; then
15328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15330    { (exit 1); exit 1; }; }
15331 fi
15332 cat >conftest.$ac_ext <<_ACEOF
15333 #line $LINENO "configure"
15334 /* confdefs.h.  */
15335 _ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h.  */
15339 /* System header to define __stub macros and hopefully few prototypes,
15340     which can conflict with char $ac_func (); below.
15341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15342     <limits.h> exists even on freestanding compilers.  */
15343 #ifdef __STDC__
15344 # include <limits.h>
15345 #else
15346 # include <assert.h>
15347 #endif
15348 /* Override any gcc2 internal prototype to avoid an error.  */
15349 #ifdef __cplusplus
15350 extern "C"
15351 {
15352 #endif
15353 /* We use char because int might match the return type of a gcc2
15354    builtin and then its argument prototype would still apply.  */
15355 char $ac_func ();
15356 /* The GNU C library defines this for functions which it implements
15357     to always fail with ENOSYS.  Some functions are actually named
15358     something starting with __ and the normal name is an alias.  */
15359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15360 choke me
15361 #else
15362 char (*f) () = $ac_func;
15363 #endif
15364 #ifdef __cplusplus
15365 }
15366 #endif
15367
15368 int
15369 main ()
15370 {
15371 return f != $ac_func;
15372   ;
15373   return 0;
15374 }
15375 _ACEOF
15376 rm -f conftest.$ac_objext conftest$ac_exeext
15377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15378   (eval $ac_link) 2>&5
15379   ac_status=$?
15380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381   (exit $ac_status); } &&
15382          { ac_try='test -s conftest$ac_exeext'
15383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384   (eval $ac_try) 2>&5
15385   ac_status=$?
15386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387   (exit $ac_status); }; }; then
15388   eval "$as_ac_var=yes"
15389 else
15390   echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5
15392
15393 eval "$as_ac_var=no"
15394 fi
15395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15396 fi
15397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15399 if test `eval echo '${'$as_ac_var'}'` = yes; then
15400   cat >>confdefs.h <<_ACEOF
15401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15402 _ACEOF
15403
15404 fi
15405 done
15406
15407   else
15408
15409   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15410 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15411   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15412     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15413   echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415
15416
15417
15418       ac_ext=cc
15419 ac_cpp='$CXXCPP $CPPFLAGS'
15420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15423
15424       cat >conftest.$ac_ext <<_ACEOF
15425 #line $LINENO "configure"
15426 /* confdefs.h.  */
15427 _ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h.  */
15431 #include <math.h>
15432 int
15433 main ()
15434 {
15435  _sincosf(0, 0, 0);
15436   ;
15437   return 0;
15438 }
15439 _ACEOF
15440 rm -f conftest.$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442   (eval $ac_compile) 2>&5
15443   ac_status=$?
15444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445   (exit $ac_status); } &&
15446          { ac_try='test -s conftest.$ac_objext'
15447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448   (eval $ac_try) 2>&5
15449   ac_status=$?
15450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451   (exit $ac_status); }; }; then
15452   glibcxx_cv_func__sincosf_use=yes
15453 else
15454   echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15456
15457 glibcxx_cv_func__sincosf_use=no
15458 fi
15459 rm -f conftest.$ac_objext conftest.$ac_ext
15460       ac_ext=c
15461 ac_cpp='$CPP $CPPFLAGS'
15462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15465
15466
15467 fi
15468
15469   fi
15470   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15471 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15472
15473     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15474
15475 for ac_func in _sincosf
15476 do
15477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15478 echo "$as_me:$LINENO: checking for $ac_func" >&5
15479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15480 if eval "test \"\${$as_ac_var+set}\" = set"; then
15481   echo $ECHO_N "(cached) $ECHO_C" >&6
15482 else
15483   if test x$gcc_no_link = xyes; then
15484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15486    { (exit 1); exit 1; }; }
15487 fi
15488 cat >conftest.$ac_ext <<_ACEOF
15489 #line $LINENO "configure"
15490 /* confdefs.h.  */
15491 _ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h.  */
15495 /* System header to define __stub macros and hopefully few prototypes,
15496     which can conflict with char $ac_func (); below.
15497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15498     <limits.h> exists even on freestanding compilers.  */
15499 #ifdef __STDC__
15500 # include <limits.h>
15501 #else
15502 # include <assert.h>
15503 #endif
15504 /* Override any gcc2 internal prototype to avoid an error.  */
15505 #ifdef __cplusplus
15506 extern "C"
15507 {
15508 #endif
15509 /* We use char because int might match the return type of a gcc2
15510    builtin and then its argument prototype would still apply.  */
15511 char $ac_func ();
15512 /* The GNU C library defines this for functions which it implements
15513     to always fail with ENOSYS.  Some functions are actually named
15514     something starting with __ and the normal name is an alias.  */
15515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15516 choke me
15517 #else
15518 char (*f) () = $ac_func;
15519 #endif
15520 #ifdef __cplusplus
15521 }
15522 #endif
15523
15524 int
15525 main ()
15526 {
15527 return f != $ac_func;
15528   ;
15529   return 0;
15530 }
15531 _ACEOF
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15534   (eval $ac_link) 2>&5
15535   ac_status=$?
15536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537   (exit $ac_status); } &&
15538          { ac_try='test -s conftest$ac_exeext'
15539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540   (eval $ac_try) 2>&5
15541   ac_status=$?
15542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543   (exit $ac_status); }; }; then
15544   eval "$as_ac_var=yes"
15545 else
15546   echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 eval "$as_ac_var=no"
15550 fi
15551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15552 fi
15553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15555 if test `eval echo '${'$as_ac_var'}'` = yes; then
15556   cat >>confdefs.h <<_ACEOF
15557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15558 _ACEOF
15559
15560 fi
15561 done
15562
15563     fi
15564   fi
15565
15566
15567
15568   echo "$as_me:$LINENO: checking for finitef declaration" >&5
15569 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15570   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15571     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15572   echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574
15575
15576
15577       ac_ext=cc
15578 ac_cpp='$CXXCPP $CPPFLAGS'
15579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15582
15583       cat >conftest.$ac_ext <<_ACEOF
15584 #line $LINENO "configure"
15585 /* confdefs.h.  */
15586 _ACEOF
15587 cat confdefs.h >>conftest.$ac_ext
15588 cat >>conftest.$ac_ext <<_ACEOF
15589 /* end confdefs.h.  */
15590 #include <math.h>
15591                       #ifdef HAVE_IEEEFP_H
15592                       #include <ieeefp.h>
15593                       #endif
15594
15595 int
15596 main ()
15597 {
15598  finitef(0);
15599   ;
15600   return 0;
15601 }
15602 _ACEOF
15603 rm -f conftest.$ac_objext
15604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15605   (eval $ac_compile) 2>&5
15606   ac_status=$?
15607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608   (exit $ac_status); } &&
15609          { ac_try='test -s conftest.$ac_objext'
15610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611   (eval $ac_try) 2>&5
15612   ac_status=$?
15613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614   (exit $ac_status); }; }; then
15615   glibcxx_cv_func_finitef_use=yes
15616 else
15617   echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.$ac_ext >&5
15619
15620 glibcxx_cv_func_finitef_use=no
15621 fi
15622 rm -f conftest.$ac_objext conftest.$ac_ext
15623       ac_ext=c
15624 ac_cpp='$CPP $CPPFLAGS'
15625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15628
15629
15630 fi
15631
15632   fi
15633   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15634 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15635
15636   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15637
15638 for ac_func in finitef
15639 do
15640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15641 echo "$as_me:$LINENO: checking for $ac_func" >&5
15642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15643 if eval "test \"\${$as_ac_var+set}\" = set"; then
15644   echo $ECHO_N "(cached) $ECHO_C" >&6
15645 else
15646   if test x$gcc_no_link = xyes; then
15647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15649    { (exit 1); exit 1; }; }
15650 fi
15651 cat >conftest.$ac_ext <<_ACEOF
15652 #line $LINENO "configure"
15653 /* confdefs.h.  */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h.  */
15658 /* System header to define __stub macros and hopefully few prototypes,
15659     which can conflict with char $ac_func (); below.
15660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15661     <limits.h> exists even on freestanding compilers.  */
15662 #ifdef __STDC__
15663 # include <limits.h>
15664 #else
15665 # include <assert.h>
15666 #endif
15667 /* Override any gcc2 internal prototype to avoid an error.  */
15668 #ifdef __cplusplus
15669 extern "C"
15670 {
15671 #endif
15672 /* We use char because int might match the return type of a gcc2
15673    builtin and then its argument prototype would still apply.  */
15674 char $ac_func ();
15675 /* The GNU C library defines this for functions which it implements
15676     to always fail with ENOSYS.  Some functions are actually named
15677     something starting with __ and the normal name is an alias.  */
15678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15679 choke me
15680 #else
15681 char (*f) () = $ac_func;
15682 #endif
15683 #ifdef __cplusplus
15684 }
15685 #endif
15686
15687 int
15688 main ()
15689 {
15690 return f != $ac_func;
15691   ;
15692   return 0;
15693 }
15694 _ACEOF
15695 rm -f conftest.$ac_objext conftest$ac_exeext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15697   (eval $ac_link) 2>&5
15698   ac_status=$?
15699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700   (exit $ac_status); } &&
15701          { ac_try='test -s conftest$ac_exeext'
15702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703   (eval $ac_try) 2>&5
15704   ac_status=$?
15705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706   (exit $ac_status); }; }; then
15707   eval "$as_ac_var=yes"
15708 else
15709   echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15711
15712 eval "$as_ac_var=no"
15713 fi
15714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15715 fi
15716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15718 if test `eval echo '${'$as_ac_var'}'` = yes; then
15719   cat >>confdefs.h <<_ACEOF
15720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15721 _ACEOF
15722
15723 fi
15724 done
15725
15726   else
15727
15728   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15729 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15730   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15731     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15732   echo $ECHO_N "(cached) $ECHO_C" >&6
15733 else
15734
15735
15736
15737       ac_ext=cc
15738 ac_cpp='$CXXCPP $CPPFLAGS'
15739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15742
15743       cat >conftest.$ac_ext <<_ACEOF
15744 #line $LINENO "configure"
15745 /* confdefs.h.  */
15746 _ACEOF
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h.  */
15750 #include <math.h>
15751                       #ifdef HAVE_IEEEFP_H
15752                       #include <ieeefp.h>
15753                       #endif
15754
15755 int
15756 main ()
15757 {
15758  _finitef(0);
15759   ;
15760   return 0;
15761 }
15762 _ACEOF
15763 rm -f conftest.$ac_objext
15764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15765   (eval $ac_compile) 2>&5
15766   ac_status=$?
15767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768   (exit $ac_status); } &&
15769          { ac_try='test -s conftest.$ac_objext'
15770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771   (eval $ac_try) 2>&5
15772   ac_status=$?
15773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774   (exit $ac_status); }; }; then
15775   glibcxx_cv_func__finitef_use=yes
15776 else
15777   echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15779
15780 glibcxx_cv_func__finitef_use=no
15781 fi
15782 rm -f conftest.$ac_objext conftest.$ac_ext
15783       ac_ext=c
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788
15789
15790 fi
15791
15792   fi
15793   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15794 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15795
15796     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15797
15798 for ac_func in _finitef
15799 do
15800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15801 echo "$as_me:$LINENO: checking for $ac_func" >&5
15802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15803 if eval "test \"\${$as_ac_var+set}\" = set"; then
15804   echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806   if test x$gcc_no_link = xyes; then
15807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15809    { (exit 1); exit 1; }; }
15810 fi
15811 cat >conftest.$ac_ext <<_ACEOF
15812 #line $LINENO "configure"
15813 /* confdefs.h.  */
15814 _ACEOF
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h.  */
15818 /* System header to define __stub macros and hopefully few prototypes,
15819     which can conflict with char $ac_func (); below.
15820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15821     <limits.h> exists even on freestanding compilers.  */
15822 #ifdef __STDC__
15823 # include <limits.h>
15824 #else
15825 # include <assert.h>
15826 #endif
15827 /* Override any gcc2 internal prototype to avoid an error.  */
15828 #ifdef __cplusplus
15829 extern "C"
15830 {
15831 #endif
15832 /* We use char because int might match the return type of a gcc2
15833    builtin and then its argument prototype would still apply.  */
15834 char $ac_func ();
15835 /* The GNU C library defines this for functions which it implements
15836     to always fail with ENOSYS.  Some functions are actually named
15837     something starting with __ and the normal name is an alias.  */
15838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15839 choke me
15840 #else
15841 char (*f) () = $ac_func;
15842 #endif
15843 #ifdef __cplusplus
15844 }
15845 #endif
15846
15847 int
15848 main ()
15849 {
15850 return f != $ac_func;
15851   ;
15852   return 0;
15853 }
15854 _ACEOF
15855 rm -f conftest.$ac_objext conftest$ac_exeext
15856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15857   (eval $ac_link) 2>&5
15858   ac_status=$?
15859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860   (exit $ac_status); } &&
15861          { ac_try='test -s conftest$ac_exeext'
15862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863   (eval $ac_try) 2>&5
15864   ac_status=$?
15865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866   (exit $ac_status); }; }; then
15867   eval "$as_ac_var=yes"
15868 else
15869   echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15871
15872 eval "$as_ac_var=no"
15873 fi
15874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15875 fi
15876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15878 if test `eval echo '${'$as_ac_var'}'` = yes; then
15879   cat >>confdefs.h <<_ACEOF
15880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15881 _ACEOF
15882
15883 fi
15884 done
15885
15886     fi
15887   fi
15888
15889
15890
15891   echo "$as_me:$LINENO: checking for long double trig functions" >&5
15892 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15893   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15894   echo $ECHO_N "(cached) $ECHO_C" >&6
15895 else
15896
15897
15898
15899     ac_ext=cc
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15904
15905     cat >conftest.$ac_ext <<_ACEOF
15906 #line $LINENO "configure"
15907 /* confdefs.h.  */
15908 _ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h.  */
15912 #include <math.h>
15913 int
15914 main ()
15915 {
15916  `for x in acosl asinl atanl \
15917                                           cosl sinl tanl \
15918                                           coshl sinhl tanhl; do echo "$x (0);"; done`
15919   ;
15920   return 0;
15921 }
15922 _ACEOF
15923 rm -f conftest.$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925   (eval $ac_compile) 2>&5
15926   ac_status=$?
15927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928   (exit $ac_status); } &&
15929          { ac_try='test -s conftest.$ac_objext'
15930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931   (eval $ac_try) 2>&5
15932   ac_status=$?
15933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934   (exit $ac_status); }; }; then
15935   glibcxx_cv_func_long_double_trig_use=yes
15936 else
15937   echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.$ac_ext >&5
15939
15940 glibcxx_cv_func_long_double_trig_use=no
15941 fi
15942 rm -f conftest.$ac_objext conftest.$ac_ext
15943     ac_ext=c
15944 ac_cpp='$CPP $CPPFLAGS'
15945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15948
15949 fi
15950
15951   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15952 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15953   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963 for ac_func in acosl asinl atanl \
15964                                           cosl sinl tanl \
15965                                           coshl sinhl tanhl
15966 do
15967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15968 echo "$as_me:$LINENO: checking for $ac_func" >&5
15969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15970 if eval "test \"\${$as_ac_var+set}\" = set"; then
15971   echo $ECHO_N "(cached) $ECHO_C" >&6
15972 else
15973   if test x$gcc_no_link = xyes; then
15974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15976    { (exit 1); exit 1; }; }
15977 fi
15978 cat >conftest.$ac_ext <<_ACEOF
15979 #line $LINENO "configure"
15980 /* confdefs.h.  */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h.  */
15985 /* System header to define __stub macros and hopefully few prototypes,
15986     which can conflict with char $ac_func (); below.
15987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15988     <limits.h> exists even on freestanding compilers.  */
15989 #ifdef __STDC__
15990 # include <limits.h>
15991 #else
15992 # include <assert.h>
15993 #endif
15994 /* Override any gcc2 internal prototype to avoid an error.  */
15995 #ifdef __cplusplus
15996 extern "C"
15997 {
15998 #endif
15999 /* We use char because int might match the return type of a gcc2
16000    builtin and then its argument prototype would still apply.  */
16001 char $ac_func ();
16002 /* The GNU C library defines this for functions which it implements
16003     to always fail with ENOSYS.  Some functions are actually named
16004     something starting with __ and the normal name is an alias.  */
16005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16006 choke me
16007 #else
16008 char (*f) () = $ac_func;
16009 #endif
16010 #ifdef __cplusplus
16011 }
16012 #endif
16013
16014 int
16015 main ()
16016 {
16017 return f != $ac_func;
16018   ;
16019   return 0;
16020 }
16021 _ACEOF
16022 rm -f conftest.$ac_objext conftest$ac_exeext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16024   (eval $ac_link) 2>&5
16025   ac_status=$?
16026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027   (exit $ac_status); } &&
16028          { ac_try='test -s conftest$ac_exeext'
16029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030   (eval $ac_try) 2>&5
16031   ac_status=$?
16032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033   (exit $ac_status); }; }; then
16034   eval "$as_ac_var=yes"
16035 else
16036   echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16038
16039 eval "$as_ac_var=no"
16040 fi
16041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16042 fi
16043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16045 if test `eval echo '${'$as_ac_var'}'` = yes; then
16046   cat >>confdefs.h <<_ACEOF
16047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16048 _ACEOF
16049
16050 fi
16051 done
16052
16053   fi
16054
16055
16056   echo "$as_me:$LINENO: checking for long double round functions" >&5
16057 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16058   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16059   echo $ECHO_N "(cached) $ECHO_C" >&6
16060 else
16061
16062
16063
16064     ac_ext=cc
16065 ac_cpp='$CXXCPP $CPPFLAGS'
16066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16069
16070     cat >conftest.$ac_ext <<_ACEOF
16071 #line $LINENO "configure"
16072 /* confdefs.h.  */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h.  */
16077 #include <math.h>
16078 int
16079 main ()
16080 {
16081  `for x in ceill floorl; do echo "$x (0);"; done`
16082   ;
16083   return 0;
16084 }
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088   (eval $ac_compile) 2>&5
16089   ac_status=$?
16090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091   (exit $ac_status); } &&
16092          { ac_try='test -s conftest.$ac_objext'
16093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094   (eval $ac_try) 2>&5
16095   ac_status=$?
16096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097   (exit $ac_status); }; }; then
16098   glibcxx_cv_func_long_double_round_use=yes
16099 else
16100   echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16102
16103 glibcxx_cv_func_long_double_round_use=no
16104 fi
16105 rm -f conftest.$ac_objext conftest.$ac_ext
16106     ac_ext=c
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16111
16112 fi
16113
16114   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16115 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16116   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16117
16118
16119 for ac_func in ceill floorl
16120 do
16121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16122 echo "$as_me:$LINENO: checking for $ac_func" >&5
16123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16124 if eval "test \"\${$as_ac_var+set}\" = set"; then
16125   echo $ECHO_N "(cached) $ECHO_C" >&6
16126 else
16127   if test x$gcc_no_link = xyes; then
16128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16130    { (exit 1); exit 1; }; }
16131 fi
16132 cat >conftest.$ac_ext <<_ACEOF
16133 #line $LINENO "configure"
16134 /* confdefs.h.  */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h.  */
16139 /* System header to define __stub macros and hopefully few prototypes,
16140     which can conflict with char $ac_func (); below.
16141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16142     <limits.h> exists even on freestanding compilers.  */
16143 #ifdef __STDC__
16144 # include <limits.h>
16145 #else
16146 # include <assert.h>
16147 #endif
16148 /* Override any gcc2 internal prototype to avoid an error.  */
16149 #ifdef __cplusplus
16150 extern "C"
16151 {
16152 #endif
16153 /* We use char because int might match the return type of a gcc2
16154    builtin and then its argument prototype would still apply.  */
16155 char $ac_func ();
16156 /* The GNU C library defines this for functions which it implements
16157     to always fail with ENOSYS.  Some functions are actually named
16158     something starting with __ and the normal name is an alias.  */
16159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16160 choke me
16161 #else
16162 char (*f) () = $ac_func;
16163 #endif
16164 #ifdef __cplusplus
16165 }
16166 #endif
16167
16168 int
16169 main ()
16170 {
16171 return f != $ac_func;
16172   ;
16173   return 0;
16174 }
16175 _ACEOF
16176 rm -f conftest.$ac_objext conftest$ac_exeext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16178   (eval $ac_link) 2>&5
16179   ac_status=$?
16180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181   (exit $ac_status); } &&
16182          { ac_try='test -s conftest$ac_exeext'
16183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184   (eval $ac_try) 2>&5
16185   ac_status=$?
16186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187   (exit $ac_status); }; }; then
16188   eval "$as_ac_var=yes"
16189 else
16190   echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16192
16193 eval "$as_ac_var=no"
16194 fi
16195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16196 fi
16197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16199 if test `eval echo '${'$as_ac_var'}'` = yes; then
16200   cat >>confdefs.h <<_ACEOF
16201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16202 _ACEOF
16203
16204 fi
16205 done
16206
16207   fi
16208
16209
16210
16211   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16212 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16213   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16214     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16215   echo $ECHO_N "(cached) $ECHO_C" >&6
16216 else
16217
16218
16219
16220       ac_ext=cc
16221 ac_cpp='$CXXCPP $CPPFLAGS'
16222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16225
16226       cat >conftest.$ac_ext <<_ACEOF
16227 #line $LINENO "configure"
16228 /* confdefs.h.  */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h.  */
16233 #include <math.h>
16234                       #ifdef HAVE_IEEEFP_H
16235                       #include <ieeefp.h>
16236                       #endif
16237
16238 int
16239 main ()
16240 {
16241  isnanl(0);
16242   ;
16243   return 0;
16244 }
16245 _ACEOF
16246 rm -f conftest.$ac_objext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16248   (eval $ac_compile) 2>&5
16249   ac_status=$?
16250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251   (exit $ac_status); } &&
16252          { ac_try='test -s conftest.$ac_objext'
16253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254   (eval $ac_try) 2>&5
16255   ac_status=$?
16256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257   (exit $ac_status); }; }; then
16258   glibcxx_cv_func_isnanl_use=yes
16259 else
16260   echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16262
16263 glibcxx_cv_func_isnanl_use=no
16264 fi
16265 rm -f conftest.$ac_objext conftest.$ac_ext
16266       ac_ext=c
16267 ac_cpp='$CPP $CPPFLAGS'
16268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16271
16272
16273 fi
16274
16275   fi
16276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16277 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16278
16279   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16280
16281 for ac_func in isnanl
16282 do
16283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16284 echo "$as_me:$LINENO: checking for $ac_func" >&5
16285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16286 if eval "test \"\${$as_ac_var+set}\" = set"; then
16287   echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16289   if test x$gcc_no_link = xyes; then
16290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16292    { (exit 1); exit 1; }; }
16293 fi
16294 cat >conftest.$ac_ext <<_ACEOF
16295 #line $LINENO "configure"
16296 /* confdefs.h.  */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h.  */
16301 /* System header to define __stub macros and hopefully few prototypes,
16302     which can conflict with char $ac_func (); below.
16303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16304     <limits.h> exists even on freestanding compilers.  */
16305 #ifdef __STDC__
16306 # include <limits.h>
16307 #else
16308 # include <assert.h>
16309 #endif
16310 /* Override any gcc2 internal prototype to avoid an error.  */
16311 #ifdef __cplusplus
16312 extern "C"
16313 {
16314 #endif
16315 /* We use char because int might match the return type of a gcc2
16316    builtin and then its argument prototype would still apply.  */
16317 char $ac_func ();
16318 /* The GNU C library defines this for functions which it implements
16319     to always fail with ENOSYS.  Some functions are actually named
16320     something starting with __ and the normal name is an alias.  */
16321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16322 choke me
16323 #else
16324 char (*f) () = $ac_func;
16325 #endif
16326 #ifdef __cplusplus
16327 }
16328 #endif
16329
16330 int
16331 main ()
16332 {
16333 return f != $ac_func;
16334   ;
16335   return 0;
16336 }
16337 _ACEOF
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16340   (eval $ac_link) 2>&5
16341   ac_status=$?
16342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343   (exit $ac_status); } &&
16344          { ac_try='test -s conftest$ac_exeext'
16345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346   (eval $ac_try) 2>&5
16347   ac_status=$?
16348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349   (exit $ac_status); }; }; then
16350   eval "$as_ac_var=yes"
16351 else
16352   echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16354
16355 eval "$as_ac_var=no"
16356 fi
16357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16358 fi
16359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16361 if test `eval echo '${'$as_ac_var'}'` = yes; then
16362   cat >>confdefs.h <<_ACEOF
16363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16364 _ACEOF
16365
16366 fi
16367 done
16368
16369   else
16370
16371   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16372 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16373   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16374     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16375   echo $ECHO_N "(cached) $ECHO_C" >&6
16376 else
16377
16378
16379
16380       ac_ext=cc
16381 ac_cpp='$CXXCPP $CPPFLAGS'
16382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16385
16386       cat >conftest.$ac_ext <<_ACEOF
16387 #line $LINENO "configure"
16388 /* confdefs.h.  */
16389 _ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h.  */
16393 #include <math.h>
16394                       #ifdef HAVE_IEEEFP_H
16395                       #include <ieeefp.h>
16396                       #endif
16397
16398 int
16399 main ()
16400 {
16401  _isnanl(0);
16402   ;
16403   return 0;
16404 }
16405 _ACEOF
16406 rm -f conftest.$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408   (eval $ac_compile) 2>&5
16409   ac_status=$?
16410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411   (exit $ac_status); } &&
16412          { ac_try='test -s conftest.$ac_objext'
16413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414   (eval $ac_try) 2>&5
16415   ac_status=$?
16416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417   (exit $ac_status); }; }; then
16418   glibcxx_cv_func__isnanl_use=yes
16419 else
16420   echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 glibcxx_cv_func__isnanl_use=no
16424 fi
16425 rm -f conftest.$ac_objext conftest.$ac_ext
16426       ac_ext=c
16427 ac_cpp='$CPP $CPPFLAGS'
16428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16431
16432
16433 fi
16434
16435   fi
16436   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16437 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16438
16439     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16440
16441 for ac_func in _isnanl
16442 do
16443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16444 echo "$as_me:$LINENO: checking for $ac_func" >&5
16445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16446 if eval "test \"\${$as_ac_var+set}\" = set"; then
16447   echo $ECHO_N "(cached) $ECHO_C" >&6
16448 else
16449   if test x$gcc_no_link = xyes; then
16450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16452    { (exit 1); exit 1; }; }
16453 fi
16454 cat >conftest.$ac_ext <<_ACEOF
16455 #line $LINENO "configure"
16456 /* confdefs.h.  */
16457 _ACEOF
16458 cat confdefs.h >>conftest.$ac_ext
16459 cat >>conftest.$ac_ext <<_ACEOF
16460 /* end confdefs.h.  */
16461 /* System header to define __stub macros and hopefully few prototypes,
16462     which can conflict with char $ac_func (); below.
16463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16464     <limits.h> exists even on freestanding compilers.  */
16465 #ifdef __STDC__
16466 # include <limits.h>
16467 #else
16468 # include <assert.h>
16469 #endif
16470 /* Override any gcc2 internal prototype to avoid an error.  */
16471 #ifdef __cplusplus
16472 extern "C"
16473 {
16474 #endif
16475 /* We use char because int might match the return type of a gcc2
16476    builtin and then its argument prototype would still apply.  */
16477 char $ac_func ();
16478 /* The GNU C library defines this for functions which it implements
16479     to always fail with ENOSYS.  Some functions are actually named
16480     something starting with __ and the normal name is an alias.  */
16481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16482 choke me
16483 #else
16484 char (*f) () = $ac_func;
16485 #endif
16486 #ifdef __cplusplus
16487 }
16488 #endif
16489
16490 int
16491 main ()
16492 {
16493 return f != $ac_func;
16494   ;
16495   return 0;
16496 }
16497 _ACEOF
16498 rm -f conftest.$ac_objext conftest$ac_exeext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500   (eval $ac_link) 2>&5
16501   ac_status=$?
16502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503   (exit $ac_status); } &&
16504          { ac_try='test -s conftest$ac_exeext'
16505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506   (eval $ac_try) 2>&5
16507   ac_status=$?
16508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509   (exit $ac_status); }; }; then
16510   eval "$as_ac_var=yes"
16511 else
16512   echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16514
16515 eval "$as_ac_var=no"
16516 fi
16517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16518 fi
16519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16521 if test `eval echo '${'$as_ac_var'}'` = yes; then
16522   cat >>confdefs.h <<_ACEOF
16523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16524 _ACEOF
16525
16526 fi
16527 done
16528
16529     fi
16530   fi
16531
16532
16533
16534   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16535 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16536   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16537     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16538   echo $ECHO_N "(cached) $ECHO_C" >&6
16539 else
16540
16541
16542
16543       ac_ext=cc
16544 ac_cpp='$CXXCPP $CPPFLAGS'
16545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16548
16549       cat >conftest.$ac_ext <<_ACEOF
16550 #line $LINENO "configure"
16551 /* confdefs.h.  */
16552 _ACEOF
16553 cat confdefs.h >>conftest.$ac_ext
16554 cat >>conftest.$ac_ext <<_ACEOF
16555 /* end confdefs.h.  */
16556 #include <math.h>
16557                       #ifdef HAVE_IEEEFP_H
16558                       #include <ieeefp.h>
16559                       #endif
16560
16561 int
16562 main ()
16563 {
16564  isinfl(0);
16565   ;
16566   return 0;
16567 }
16568 _ACEOF
16569 rm -f conftest.$ac_objext
16570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16571   (eval $ac_compile) 2>&5
16572   ac_status=$?
16573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574   (exit $ac_status); } &&
16575          { ac_try='test -s conftest.$ac_objext'
16576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577   (eval $ac_try) 2>&5
16578   ac_status=$?
16579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580   (exit $ac_status); }; }; then
16581   glibcxx_cv_func_isinfl_use=yes
16582 else
16583   echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16585
16586 glibcxx_cv_func_isinfl_use=no
16587 fi
16588 rm -f conftest.$ac_objext conftest.$ac_ext
16589       ac_ext=c
16590 ac_cpp='$CPP $CPPFLAGS'
16591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16594
16595
16596 fi
16597
16598   fi
16599   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16600 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16601
16602   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16603
16604 for ac_func in isinfl
16605 do
16606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16607 echo "$as_me:$LINENO: checking for $ac_func" >&5
16608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16609 if eval "test \"\${$as_ac_var+set}\" = set"; then
16610   echo $ECHO_N "(cached) $ECHO_C" >&6
16611 else
16612   if test x$gcc_no_link = xyes; then
16613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16615    { (exit 1); exit 1; }; }
16616 fi
16617 cat >conftest.$ac_ext <<_ACEOF
16618 #line $LINENO "configure"
16619 /* confdefs.h.  */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h.  */
16624 /* System header to define __stub macros and hopefully few prototypes,
16625     which can conflict with char $ac_func (); below.
16626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16627     <limits.h> exists even on freestanding compilers.  */
16628 #ifdef __STDC__
16629 # include <limits.h>
16630 #else
16631 # include <assert.h>
16632 #endif
16633 /* Override any gcc2 internal prototype to avoid an error.  */
16634 #ifdef __cplusplus
16635 extern "C"
16636 {
16637 #endif
16638 /* We use char because int might match the return type of a gcc2
16639    builtin and then its argument prototype would still apply.  */
16640 char $ac_func ();
16641 /* The GNU C library defines this for functions which it implements
16642     to always fail with ENOSYS.  Some functions are actually named
16643     something starting with __ and the normal name is an alias.  */
16644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16645 choke me
16646 #else
16647 char (*f) () = $ac_func;
16648 #endif
16649 #ifdef __cplusplus
16650 }
16651 #endif
16652
16653 int
16654 main ()
16655 {
16656 return f != $ac_func;
16657   ;
16658   return 0;
16659 }
16660 _ACEOF
16661 rm -f conftest.$ac_objext conftest$ac_exeext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16663   (eval $ac_link) 2>&5
16664   ac_status=$?
16665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666   (exit $ac_status); } &&
16667          { ac_try='test -s conftest$ac_exeext'
16668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669   (eval $ac_try) 2>&5
16670   ac_status=$?
16671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672   (exit $ac_status); }; }; then
16673   eval "$as_ac_var=yes"
16674 else
16675   echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16677
16678 eval "$as_ac_var=no"
16679 fi
16680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16681 fi
16682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16684 if test `eval echo '${'$as_ac_var'}'` = yes; then
16685   cat >>confdefs.h <<_ACEOF
16686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16687 _ACEOF
16688
16689 fi
16690 done
16691
16692   else
16693
16694   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16695 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16696   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16697     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16698   echo $ECHO_N "(cached) $ECHO_C" >&6
16699 else
16700
16701
16702
16703       ac_ext=cc
16704 ac_cpp='$CXXCPP $CPPFLAGS'
16705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16708
16709       cat >conftest.$ac_ext <<_ACEOF
16710 #line $LINENO "configure"
16711 /* confdefs.h.  */
16712 _ACEOF
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h.  */
16716 #include <math.h>
16717                       #ifdef HAVE_IEEEFP_H
16718                       #include <ieeefp.h>
16719                       #endif
16720
16721 int
16722 main ()
16723 {
16724  _isinfl(0);
16725   ;
16726   return 0;
16727 }
16728 _ACEOF
16729 rm -f conftest.$ac_objext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731   (eval $ac_compile) 2>&5
16732   ac_status=$?
16733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734   (exit $ac_status); } &&
16735          { ac_try='test -s conftest.$ac_objext'
16736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737   (eval $ac_try) 2>&5
16738   ac_status=$?
16739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740   (exit $ac_status); }; }; then
16741   glibcxx_cv_func__isinfl_use=yes
16742 else
16743   echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16745
16746 glibcxx_cv_func__isinfl_use=no
16747 fi
16748 rm -f conftest.$ac_objext conftest.$ac_ext
16749       ac_ext=c
16750 ac_cpp='$CPP $CPPFLAGS'
16751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16754
16755
16756 fi
16757
16758   fi
16759   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16760 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16761
16762     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16763
16764 for ac_func in _isinfl
16765 do
16766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16767 echo "$as_me:$LINENO: checking for $ac_func" >&5
16768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16769 if eval "test \"\${$as_ac_var+set}\" = set"; then
16770   echo $ECHO_N "(cached) $ECHO_C" >&6
16771 else
16772   if test x$gcc_no_link = xyes; then
16773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16775    { (exit 1); exit 1; }; }
16776 fi
16777 cat >conftest.$ac_ext <<_ACEOF
16778 #line $LINENO "configure"
16779 /* confdefs.h.  */
16780 _ACEOF
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h.  */
16784 /* System header to define __stub macros and hopefully few prototypes,
16785     which can conflict with char $ac_func (); below.
16786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16787     <limits.h> exists even on freestanding compilers.  */
16788 #ifdef __STDC__
16789 # include <limits.h>
16790 #else
16791 # include <assert.h>
16792 #endif
16793 /* Override any gcc2 internal prototype to avoid an error.  */
16794 #ifdef __cplusplus
16795 extern "C"
16796 {
16797 #endif
16798 /* We use char because int might match the return type of a gcc2
16799    builtin and then its argument prototype would still apply.  */
16800 char $ac_func ();
16801 /* The GNU C library defines this for functions which it implements
16802     to always fail with ENOSYS.  Some functions are actually named
16803     something starting with __ and the normal name is an alias.  */
16804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16805 choke me
16806 #else
16807 char (*f) () = $ac_func;
16808 #endif
16809 #ifdef __cplusplus
16810 }
16811 #endif
16812
16813 int
16814 main ()
16815 {
16816 return f != $ac_func;
16817   ;
16818   return 0;
16819 }
16820 _ACEOF
16821 rm -f conftest.$ac_objext conftest$ac_exeext
16822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16823   (eval $ac_link) 2>&5
16824   ac_status=$?
16825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826   (exit $ac_status); } &&
16827          { ac_try='test -s conftest$ac_exeext'
16828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829   (eval $ac_try) 2>&5
16830   ac_status=$?
16831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832   (exit $ac_status); }; }; then
16833   eval "$as_ac_var=yes"
16834 else
16835   echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16837
16838 eval "$as_ac_var=no"
16839 fi
16840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16841 fi
16842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16844 if test `eval echo '${'$as_ac_var'}'` = yes; then
16845   cat >>confdefs.h <<_ACEOF
16846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16847 _ACEOF
16848
16849 fi
16850 done
16851
16852     fi
16853   fi
16854
16855
16856
16857   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16858 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16859   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16860     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16861   echo $ECHO_N "(cached) $ECHO_C" >&6
16862 else
16863
16864
16865
16866       ac_ext=cc
16867 ac_cpp='$CXXCPP $CPPFLAGS'
16868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16871
16872       cat >conftest.$ac_ext <<_ACEOF
16873 #line $LINENO "configure"
16874 /* confdefs.h.  */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h.  */
16879 #include <math.h>
16880 int
16881 main ()
16882 {
16883  copysignl(0, 0);
16884   ;
16885   return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890   (eval $ac_compile) 2>&5
16891   ac_status=$?
16892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893   (exit $ac_status); } &&
16894          { ac_try='test -s conftest.$ac_objext'
16895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896   (eval $ac_try) 2>&5
16897   ac_status=$?
16898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899   (exit $ac_status); }; }; then
16900   glibcxx_cv_func_copysignl_use=yes
16901 else
16902   echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 glibcxx_cv_func_copysignl_use=no
16906 fi
16907 rm -f conftest.$ac_objext conftest.$ac_ext
16908       ac_ext=c
16909 ac_cpp='$CPP $CPPFLAGS'
16910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16913
16914
16915 fi
16916
16917   fi
16918   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16919 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16920
16921   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16922
16923 for ac_func in copysignl
16924 do
16925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16926 echo "$as_me:$LINENO: checking for $ac_func" >&5
16927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16928 if eval "test \"\${$as_ac_var+set}\" = set"; then
16929   echo $ECHO_N "(cached) $ECHO_C" >&6
16930 else
16931   if test x$gcc_no_link = xyes; then
16932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16934    { (exit 1); exit 1; }; }
16935 fi
16936 cat >conftest.$ac_ext <<_ACEOF
16937 #line $LINENO "configure"
16938 /* confdefs.h.  */
16939 _ACEOF
16940 cat confdefs.h >>conftest.$ac_ext
16941 cat >>conftest.$ac_ext <<_ACEOF
16942 /* end confdefs.h.  */
16943 /* System header to define __stub macros and hopefully few prototypes,
16944     which can conflict with char $ac_func (); below.
16945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16946     <limits.h> exists even on freestanding compilers.  */
16947 #ifdef __STDC__
16948 # include <limits.h>
16949 #else
16950 # include <assert.h>
16951 #endif
16952 /* Override any gcc2 internal prototype to avoid an error.  */
16953 #ifdef __cplusplus
16954 extern "C"
16955 {
16956 #endif
16957 /* We use char because int might match the return type of a gcc2
16958    builtin and then its argument prototype would still apply.  */
16959 char $ac_func ();
16960 /* The GNU C library defines this for functions which it implements
16961     to always fail with ENOSYS.  Some functions are actually named
16962     something starting with __ and the normal name is an alias.  */
16963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16964 choke me
16965 #else
16966 char (*f) () = $ac_func;
16967 #endif
16968 #ifdef __cplusplus
16969 }
16970 #endif
16971
16972 int
16973 main ()
16974 {
16975 return f != $ac_func;
16976   ;
16977   return 0;
16978 }
16979 _ACEOF
16980 rm -f conftest.$ac_objext conftest$ac_exeext
16981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16982   (eval $ac_link) 2>&5
16983   ac_status=$?
16984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985   (exit $ac_status); } &&
16986          { ac_try='test -s conftest$ac_exeext'
16987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988   (eval $ac_try) 2>&5
16989   ac_status=$?
16990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991   (exit $ac_status); }; }; then
16992   eval "$as_ac_var=yes"
16993 else
16994   echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16996
16997 eval "$as_ac_var=no"
16998 fi
16999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17000 fi
17001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17003 if test `eval echo '${'$as_ac_var'}'` = yes; then
17004   cat >>confdefs.h <<_ACEOF
17005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17006 _ACEOF
17007
17008 fi
17009 done
17010
17011   else
17012
17013   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
17014 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17015   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17016     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17017   echo $ECHO_N "(cached) $ECHO_C" >&6
17018 else
17019
17020
17021
17022       ac_ext=cc
17023 ac_cpp='$CXXCPP $CPPFLAGS'
17024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17027
17028       cat >conftest.$ac_ext <<_ACEOF
17029 #line $LINENO "configure"
17030 /* confdefs.h.  */
17031 _ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h.  */
17035 #include <math.h>
17036 int
17037 main ()
17038 {
17039  _copysignl(0, 0);
17040   ;
17041   return 0;
17042 }
17043 _ACEOF
17044 rm -f conftest.$ac_objext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046   (eval $ac_compile) 2>&5
17047   ac_status=$?
17048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049   (exit $ac_status); } &&
17050          { ac_try='test -s conftest.$ac_objext'
17051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052   (eval $ac_try) 2>&5
17053   ac_status=$?
17054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055   (exit $ac_status); }; }; then
17056   glibcxx_cv_func__copysignl_use=yes
17057 else
17058   echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.$ac_ext >&5
17060
17061 glibcxx_cv_func__copysignl_use=no
17062 fi
17063 rm -f conftest.$ac_objext conftest.$ac_ext
17064       ac_ext=c
17065 ac_cpp='$CPP $CPPFLAGS'
17066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17069
17070
17071 fi
17072
17073   fi
17074   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17075 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17076
17077     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17078
17079 for ac_func in _copysignl
17080 do
17081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17082 echo "$as_me:$LINENO: checking for $ac_func" >&5
17083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17084 if eval "test \"\${$as_ac_var+set}\" = set"; then
17085   echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087   if test x$gcc_no_link = xyes; then
17088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17090    { (exit 1); exit 1; }; }
17091 fi
17092 cat >conftest.$ac_ext <<_ACEOF
17093 #line $LINENO "configure"
17094 /* confdefs.h.  */
17095 _ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h.  */
17099 /* System header to define __stub macros and hopefully few prototypes,
17100     which can conflict with char $ac_func (); below.
17101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17102     <limits.h> exists even on freestanding compilers.  */
17103 #ifdef __STDC__
17104 # include <limits.h>
17105 #else
17106 # include <assert.h>
17107 #endif
17108 /* Override any gcc2 internal prototype to avoid an error.  */
17109 #ifdef __cplusplus
17110 extern "C"
17111 {
17112 #endif
17113 /* We use char because int might match the return type of a gcc2
17114    builtin and then its argument prototype would still apply.  */
17115 char $ac_func ();
17116 /* The GNU C library defines this for functions which it implements
17117     to always fail with ENOSYS.  Some functions are actually named
17118     something starting with __ and the normal name is an alias.  */
17119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17120 choke me
17121 #else
17122 char (*f) () = $ac_func;
17123 #endif
17124 #ifdef __cplusplus
17125 }
17126 #endif
17127
17128 int
17129 main ()
17130 {
17131 return f != $ac_func;
17132   ;
17133   return 0;
17134 }
17135 _ACEOF
17136 rm -f conftest.$ac_objext conftest$ac_exeext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17138   (eval $ac_link) 2>&5
17139   ac_status=$?
17140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141   (exit $ac_status); } &&
17142          { ac_try='test -s conftest$ac_exeext'
17143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144   (eval $ac_try) 2>&5
17145   ac_status=$?
17146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147   (exit $ac_status); }; }; then
17148   eval "$as_ac_var=yes"
17149 else
17150   echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 eval "$as_ac_var=no"
17154 fi
17155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17156 fi
17157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17159 if test `eval echo '${'$as_ac_var'}'` = yes; then
17160   cat >>confdefs.h <<_ACEOF
17161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17162 _ACEOF
17163
17164 fi
17165 done
17166
17167     fi
17168   fi
17169
17170
17171
17172   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17173 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17174   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17175     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17176   echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17178
17179
17180
17181       ac_ext=cc
17182 ac_cpp='$CXXCPP $CPPFLAGS'
17183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17186
17187       cat >conftest.$ac_ext <<_ACEOF
17188 #line $LINENO "configure"
17189 /* confdefs.h.  */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h.  */
17194 #include <math.h>
17195 int
17196 main ()
17197 {
17198  atan2l(0, 0);
17199   ;
17200   return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205   (eval $ac_compile) 2>&5
17206   ac_status=$?
17207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208   (exit $ac_status); } &&
17209          { ac_try='test -s conftest.$ac_objext'
17210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211   (eval $ac_try) 2>&5
17212   ac_status=$?
17213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214   (exit $ac_status); }; }; then
17215   glibcxx_cv_func_atan2l_use=yes
17216 else
17217   echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17219
17220 glibcxx_cv_func_atan2l_use=no
17221 fi
17222 rm -f conftest.$ac_objext conftest.$ac_ext
17223       ac_ext=c
17224 ac_cpp='$CPP $CPPFLAGS'
17225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17228
17229
17230 fi
17231
17232   fi
17233   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17234 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17235
17236   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17237
17238 for ac_func in atan2l
17239 do
17240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17241 echo "$as_me:$LINENO: checking for $ac_func" >&5
17242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17243 if eval "test \"\${$as_ac_var+set}\" = set"; then
17244   echo $ECHO_N "(cached) $ECHO_C" >&6
17245 else
17246   if test x$gcc_no_link = xyes; then
17247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17249    { (exit 1); exit 1; }; }
17250 fi
17251 cat >conftest.$ac_ext <<_ACEOF
17252 #line $LINENO "configure"
17253 /* confdefs.h.  */
17254 _ACEOF
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h.  */
17258 /* System header to define __stub macros and hopefully few prototypes,
17259     which can conflict with char $ac_func (); below.
17260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17261     <limits.h> exists even on freestanding compilers.  */
17262 #ifdef __STDC__
17263 # include <limits.h>
17264 #else
17265 # include <assert.h>
17266 #endif
17267 /* Override any gcc2 internal prototype to avoid an error.  */
17268 #ifdef __cplusplus
17269 extern "C"
17270 {
17271 #endif
17272 /* We use char because int might match the return type of a gcc2
17273    builtin and then its argument prototype would still apply.  */
17274 char $ac_func ();
17275 /* The GNU C library defines this for functions which it implements
17276     to always fail with ENOSYS.  Some functions are actually named
17277     something starting with __ and the normal name is an alias.  */
17278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17279 choke me
17280 #else
17281 char (*f) () = $ac_func;
17282 #endif
17283 #ifdef __cplusplus
17284 }
17285 #endif
17286
17287 int
17288 main ()
17289 {
17290 return f != $ac_func;
17291   ;
17292   return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17297   (eval $ac_link) 2>&5
17298   ac_status=$?
17299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300   (exit $ac_status); } &&
17301          { ac_try='test -s conftest$ac_exeext'
17302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303   (eval $ac_try) 2>&5
17304   ac_status=$?
17305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306   (exit $ac_status); }; }; then
17307   eval "$as_ac_var=yes"
17308 else
17309   echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17311
17312 eval "$as_ac_var=no"
17313 fi
17314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17315 fi
17316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17318 if test `eval echo '${'$as_ac_var'}'` = yes; then
17319   cat >>confdefs.h <<_ACEOF
17320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17321 _ACEOF
17322
17323 fi
17324 done
17325
17326   else
17327
17328   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17329 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17330   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17331     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17332   echo $ECHO_N "(cached) $ECHO_C" >&6
17333 else
17334
17335
17336
17337       ac_ext=cc
17338 ac_cpp='$CXXCPP $CPPFLAGS'
17339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17342
17343       cat >conftest.$ac_ext <<_ACEOF
17344 #line $LINENO "configure"
17345 /* confdefs.h.  */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h.  */
17350 #include <math.h>
17351 int
17352 main ()
17353 {
17354  _atan2l(0, 0);
17355   ;
17356   return 0;
17357 }
17358 _ACEOF
17359 rm -f conftest.$ac_objext
17360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17361   (eval $ac_compile) 2>&5
17362   ac_status=$?
17363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364   (exit $ac_status); } &&
17365          { ac_try='test -s conftest.$ac_objext'
17366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367   (eval $ac_try) 2>&5
17368   ac_status=$?
17369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370   (exit $ac_status); }; }; then
17371   glibcxx_cv_func__atan2l_use=yes
17372 else
17373   echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17375
17376 glibcxx_cv_func__atan2l_use=no
17377 fi
17378 rm -f conftest.$ac_objext conftest.$ac_ext
17379       ac_ext=c
17380 ac_cpp='$CPP $CPPFLAGS'
17381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17384
17385
17386 fi
17387
17388   fi
17389   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17390 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17391
17392     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17393
17394 for ac_func in _atan2l
17395 do
17396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17397 echo "$as_me:$LINENO: checking for $ac_func" >&5
17398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17399 if eval "test \"\${$as_ac_var+set}\" = set"; then
17400   echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402   if test x$gcc_no_link = xyes; then
17403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17405    { (exit 1); exit 1; }; }
17406 fi
17407 cat >conftest.$ac_ext <<_ACEOF
17408 #line $LINENO "configure"
17409 /* confdefs.h.  */
17410 _ACEOF
17411 cat confdefs.h >>conftest.$ac_ext
17412 cat >>conftest.$ac_ext <<_ACEOF
17413 /* end confdefs.h.  */
17414 /* System header to define __stub macros and hopefully few prototypes,
17415     which can conflict with char $ac_func (); below.
17416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17417     <limits.h> exists even on freestanding compilers.  */
17418 #ifdef __STDC__
17419 # include <limits.h>
17420 #else
17421 # include <assert.h>
17422 #endif
17423 /* Override any gcc2 internal prototype to avoid an error.  */
17424 #ifdef __cplusplus
17425 extern "C"
17426 {
17427 #endif
17428 /* We use char because int might match the return type of a gcc2
17429    builtin and then its argument prototype would still apply.  */
17430 char $ac_func ();
17431 /* The GNU C library defines this for functions which it implements
17432     to always fail with ENOSYS.  Some functions are actually named
17433     something starting with __ and the normal name is an alias.  */
17434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17435 choke me
17436 #else
17437 char (*f) () = $ac_func;
17438 #endif
17439 #ifdef __cplusplus
17440 }
17441 #endif
17442
17443 int
17444 main ()
17445 {
17446 return f != $ac_func;
17447   ;
17448   return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext conftest$ac_exeext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17453   (eval $ac_link) 2>&5
17454   ac_status=$?
17455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456   (exit $ac_status); } &&
17457          { ac_try='test -s conftest$ac_exeext'
17458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459   (eval $ac_try) 2>&5
17460   ac_status=$?
17461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462   (exit $ac_status); }; }; then
17463   eval "$as_ac_var=yes"
17464 else
17465   echo "$as_me: failed program was:" >&5
17466 sed 's/^/| /' conftest.$ac_ext >&5
17467
17468 eval "$as_ac_var=no"
17469 fi
17470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17471 fi
17472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17474 if test `eval echo '${'$as_ac_var'}'` = yes; then
17475   cat >>confdefs.h <<_ACEOF
17476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17477 _ACEOF
17478
17479 fi
17480 done
17481
17482     fi
17483   fi
17484
17485
17486
17487   echo "$as_me:$LINENO: checking for expl declaration" >&5
17488 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17489   if test x${glibcxx_cv_func_expl_use+set} != xset; then
17490     if test "${glibcxx_cv_func_expl_use+set}" = set; then
17491   echo $ECHO_N "(cached) $ECHO_C" >&6
17492 else
17493
17494
17495
17496       ac_ext=cc
17497 ac_cpp='$CXXCPP $CPPFLAGS'
17498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17501
17502       cat >conftest.$ac_ext <<_ACEOF
17503 #line $LINENO "configure"
17504 /* confdefs.h.  */
17505 _ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h.  */
17509 #include <math.h>
17510                       #ifdef HAVE_IEEEFP_H
17511                       #include <ieeefp.h>
17512                       #endif
17513
17514 int
17515 main ()
17516 {
17517  expl(0);
17518   ;
17519   return 0;
17520 }
17521 _ACEOF
17522 rm -f conftest.$ac_objext
17523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17524   (eval $ac_compile) 2>&5
17525   ac_status=$?
17526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527   (exit $ac_status); } &&
17528          { ac_try='test -s conftest.$ac_objext'
17529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530   (eval $ac_try) 2>&5
17531   ac_status=$?
17532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533   (exit $ac_status); }; }; then
17534   glibcxx_cv_func_expl_use=yes
17535 else
17536   echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17538
17539 glibcxx_cv_func_expl_use=no
17540 fi
17541 rm -f conftest.$ac_objext conftest.$ac_ext
17542       ac_ext=c
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17547
17548
17549 fi
17550
17551   fi
17552   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17553 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17554
17555   if test x$glibcxx_cv_func_expl_use = x"yes"; then
17556
17557 for ac_func in expl
17558 do
17559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17560 echo "$as_me:$LINENO: checking for $ac_func" >&5
17561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17562 if eval "test \"\${$as_ac_var+set}\" = set"; then
17563   echo $ECHO_N "(cached) $ECHO_C" >&6
17564 else
17565   if test x$gcc_no_link = xyes; then
17566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17568    { (exit 1); exit 1; }; }
17569 fi
17570 cat >conftest.$ac_ext <<_ACEOF
17571 #line $LINENO "configure"
17572 /* confdefs.h.  */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h.  */
17577 /* System header to define __stub macros and hopefully few prototypes,
17578     which can conflict with char $ac_func (); below.
17579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17580     <limits.h> exists even on freestanding compilers.  */
17581 #ifdef __STDC__
17582 # include <limits.h>
17583 #else
17584 # include <assert.h>
17585 #endif
17586 /* Override any gcc2 internal prototype to avoid an error.  */
17587 #ifdef __cplusplus
17588 extern "C"
17589 {
17590 #endif
17591 /* We use char because int might match the return type of a gcc2
17592    builtin and then its argument prototype would still apply.  */
17593 char $ac_func ();
17594 /* The GNU C library defines this for functions which it implements
17595     to always fail with ENOSYS.  Some functions are actually named
17596     something starting with __ and the normal name is an alias.  */
17597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17598 choke me
17599 #else
17600 char (*f) () = $ac_func;
17601 #endif
17602 #ifdef __cplusplus
17603 }
17604 #endif
17605
17606 int
17607 main ()
17608 {
17609 return f != $ac_func;
17610   ;
17611   return 0;
17612 }
17613 _ACEOF
17614 rm -f conftest.$ac_objext conftest$ac_exeext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17616   (eval $ac_link) 2>&5
17617   ac_status=$?
17618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619   (exit $ac_status); } &&
17620          { ac_try='test -s conftest$ac_exeext'
17621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622   (eval $ac_try) 2>&5
17623   ac_status=$?
17624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625   (exit $ac_status); }; }; then
17626   eval "$as_ac_var=yes"
17627 else
17628   echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.$ac_ext >&5
17630
17631 eval "$as_ac_var=no"
17632 fi
17633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17634 fi
17635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17637 if test `eval echo '${'$as_ac_var'}'` = yes; then
17638   cat >>confdefs.h <<_ACEOF
17639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17640 _ACEOF
17641
17642 fi
17643 done
17644
17645   else
17646
17647   echo "$as_me:$LINENO: checking for _expl declaration" >&5
17648 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17649   if test x${glibcxx_cv_func__expl_use+set} != xset; then
17650     if test "${glibcxx_cv_func__expl_use+set}" = set; then
17651   echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else
17653
17654
17655
17656       ac_ext=cc
17657 ac_cpp='$CXXCPP $CPPFLAGS'
17658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17661
17662       cat >conftest.$ac_ext <<_ACEOF
17663 #line $LINENO "configure"
17664 /* confdefs.h.  */
17665 _ACEOF
17666 cat confdefs.h >>conftest.$ac_ext
17667 cat >>conftest.$ac_ext <<_ACEOF
17668 /* end confdefs.h.  */
17669 #include <math.h>
17670                       #ifdef HAVE_IEEEFP_H
17671                       #include <ieeefp.h>
17672                       #endif
17673
17674 int
17675 main ()
17676 {
17677  _expl(0);
17678   ;
17679   return 0;
17680 }
17681 _ACEOF
17682 rm -f conftest.$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684   (eval $ac_compile) 2>&5
17685   ac_status=$?
17686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687   (exit $ac_status); } &&
17688          { ac_try='test -s conftest.$ac_objext'
17689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690   (eval $ac_try) 2>&5
17691   ac_status=$?
17692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693   (exit $ac_status); }; }; then
17694   glibcxx_cv_func__expl_use=yes
17695 else
17696   echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 glibcxx_cv_func__expl_use=no
17700 fi
17701 rm -f conftest.$ac_objext conftest.$ac_ext
17702       ac_ext=c
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709 fi
17710
17711   fi
17712   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17713 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17714
17715     if test x$glibcxx_cv_func__expl_use = x"yes"; then
17716
17717 for ac_func in _expl
17718 do
17719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17720 echo "$as_me:$LINENO: checking for $ac_func" >&5
17721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17722 if eval "test \"\${$as_ac_var+set}\" = set"; then
17723   echo $ECHO_N "(cached) $ECHO_C" >&6
17724 else
17725   if test x$gcc_no_link = xyes; then
17726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17728    { (exit 1); exit 1; }; }
17729 fi
17730 cat >conftest.$ac_ext <<_ACEOF
17731 #line $LINENO "configure"
17732 /* confdefs.h.  */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h.  */
17737 /* System header to define __stub macros and hopefully few prototypes,
17738     which can conflict with char $ac_func (); below.
17739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17740     <limits.h> exists even on freestanding compilers.  */
17741 #ifdef __STDC__
17742 # include <limits.h>
17743 #else
17744 # include <assert.h>
17745 #endif
17746 /* Override any gcc2 internal prototype to avoid an error.  */
17747 #ifdef __cplusplus
17748 extern "C"
17749 {
17750 #endif
17751 /* We use char because int might match the return type of a gcc2
17752    builtin and then its argument prototype would still apply.  */
17753 char $ac_func ();
17754 /* The GNU C library defines this for functions which it implements
17755     to always fail with ENOSYS.  Some functions are actually named
17756     something starting with __ and the normal name is an alias.  */
17757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17758 choke me
17759 #else
17760 char (*f) () = $ac_func;
17761 #endif
17762 #ifdef __cplusplus
17763 }
17764 #endif
17765
17766 int
17767 main ()
17768 {
17769 return f != $ac_func;
17770   ;
17771   return 0;
17772 }
17773 _ACEOF
17774 rm -f conftest.$ac_objext conftest$ac_exeext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17776   (eval $ac_link) 2>&5
17777   ac_status=$?
17778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779   (exit $ac_status); } &&
17780          { ac_try='test -s conftest$ac_exeext'
17781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782   (eval $ac_try) 2>&5
17783   ac_status=$?
17784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785   (exit $ac_status); }; }; then
17786   eval "$as_ac_var=yes"
17787 else
17788   echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17790
17791 eval "$as_ac_var=no"
17792 fi
17793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17794 fi
17795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17797 if test `eval echo '${'$as_ac_var'}'` = yes; then
17798   cat >>confdefs.h <<_ACEOF
17799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17800 _ACEOF
17801
17802 fi
17803 done
17804
17805     fi
17806   fi
17807
17808
17809
17810   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17811 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17812   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17813     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17814   echo $ECHO_N "(cached) $ECHO_C" >&6
17815 else
17816
17817
17818
17819       ac_ext=cc
17820 ac_cpp='$CXXCPP $CPPFLAGS'
17821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17824
17825       cat >conftest.$ac_ext <<_ACEOF
17826 #line $LINENO "configure"
17827 /* confdefs.h.  */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h.  */
17832 #include <math.h>
17833                       #ifdef HAVE_IEEEFP_H
17834                       #include <ieeefp.h>
17835                       #endif
17836
17837 int
17838 main ()
17839 {
17840  fabsl(0);
17841   ;
17842   return 0;
17843 }
17844 _ACEOF
17845 rm -f conftest.$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847   (eval $ac_compile) 2>&5
17848   ac_status=$?
17849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850   (exit $ac_status); } &&
17851          { ac_try='test -s conftest.$ac_objext'
17852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853   (eval $ac_try) 2>&5
17854   ac_status=$?
17855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856   (exit $ac_status); }; }; then
17857   glibcxx_cv_func_fabsl_use=yes
17858 else
17859   echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17861
17862 glibcxx_cv_func_fabsl_use=no
17863 fi
17864 rm -f conftest.$ac_objext conftest.$ac_ext
17865       ac_ext=c
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870
17871
17872 fi
17873
17874   fi
17875   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17876 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17877
17878   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17879
17880 for ac_func in fabsl
17881 do
17882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17883 echo "$as_me:$LINENO: checking for $ac_func" >&5
17884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17885 if eval "test \"\${$as_ac_var+set}\" = set"; then
17886   echo $ECHO_N "(cached) $ECHO_C" >&6
17887 else
17888   if test x$gcc_no_link = xyes; then
17889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17891    { (exit 1); exit 1; }; }
17892 fi
17893 cat >conftest.$ac_ext <<_ACEOF
17894 #line $LINENO "configure"
17895 /* confdefs.h.  */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h.  */
17900 /* System header to define __stub macros and hopefully few prototypes,
17901     which can conflict with char $ac_func (); below.
17902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17903     <limits.h> exists even on freestanding compilers.  */
17904 #ifdef __STDC__
17905 # include <limits.h>
17906 #else
17907 # include <assert.h>
17908 #endif
17909 /* Override any gcc2 internal prototype to avoid an error.  */
17910 #ifdef __cplusplus
17911 extern "C"
17912 {
17913 #endif
17914 /* We use char because int might match the return type of a gcc2
17915    builtin and then its argument prototype would still apply.  */
17916 char $ac_func ();
17917 /* The GNU C library defines this for functions which it implements
17918     to always fail with ENOSYS.  Some functions are actually named
17919     something starting with __ and the normal name is an alias.  */
17920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17921 choke me
17922 #else
17923 char (*f) () = $ac_func;
17924 #endif
17925 #ifdef __cplusplus
17926 }
17927 #endif
17928
17929 int
17930 main ()
17931 {
17932 return f != $ac_func;
17933   ;
17934   return 0;
17935 }
17936 _ACEOF
17937 rm -f conftest.$ac_objext conftest$ac_exeext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17939   (eval $ac_link) 2>&5
17940   ac_status=$?
17941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942   (exit $ac_status); } &&
17943          { ac_try='test -s conftest$ac_exeext'
17944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945   (eval $ac_try) 2>&5
17946   ac_status=$?
17947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948   (exit $ac_status); }; }; then
17949   eval "$as_ac_var=yes"
17950 else
17951   echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17953
17954 eval "$as_ac_var=no"
17955 fi
17956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17957 fi
17958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17960 if test `eval echo '${'$as_ac_var'}'` = yes; then
17961   cat >>confdefs.h <<_ACEOF
17962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17963 _ACEOF
17964
17965 fi
17966 done
17967
17968   else
17969
17970   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17971 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17972   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17973     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17974   echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17976
17977
17978
17979       ac_ext=cc
17980 ac_cpp='$CXXCPP $CPPFLAGS'
17981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17984
17985       cat >conftest.$ac_ext <<_ACEOF
17986 #line $LINENO "configure"
17987 /* confdefs.h.  */
17988 _ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h.  */
17992 #include <math.h>
17993                       #ifdef HAVE_IEEEFP_H
17994                       #include <ieeefp.h>
17995                       #endif
17996
17997 int
17998 main ()
17999 {
18000  _fabsl(0);
18001   ;
18002   return 0;
18003 }
18004 _ACEOF
18005 rm -f conftest.$ac_objext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18007   (eval $ac_compile) 2>&5
18008   ac_status=$?
18009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010   (exit $ac_status); } &&
18011          { ac_try='test -s conftest.$ac_objext'
18012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013   (eval $ac_try) 2>&5
18014   ac_status=$?
18015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016   (exit $ac_status); }; }; then
18017   glibcxx_cv_func__fabsl_use=yes
18018 else
18019   echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18021
18022 glibcxx_cv_func__fabsl_use=no
18023 fi
18024 rm -f conftest.$ac_objext conftest.$ac_ext
18025       ac_ext=c
18026 ac_cpp='$CPP $CPPFLAGS'
18027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18030
18031
18032 fi
18033
18034   fi
18035   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18036 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18037
18038     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18039
18040 for ac_func in _fabsl
18041 do
18042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18043 echo "$as_me:$LINENO: checking for $ac_func" >&5
18044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18045 if eval "test \"\${$as_ac_var+set}\" = set"; then
18046   echo $ECHO_N "(cached) $ECHO_C" >&6
18047 else
18048   if test x$gcc_no_link = xyes; then
18049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18051    { (exit 1); exit 1; }; }
18052 fi
18053 cat >conftest.$ac_ext <<_ACEOF
18054 #line $LINENO "configure"
18055 /* confdefs.h.  */
18056 _ACEOF
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h.  */
18060 /* System header to define __stub macros and hopefully few prototypes,
18061     which can conflict with char $ac_func (); below.
18062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18063     <limits.h> exists even on freestanding compilers.  */
18064 #ifdef __STDC__
18065 # include <limits.h>
18066 #else
18067 # include <assert.h>
18068 #endif
18069 /* Override any gcc2 internal prototype to avoid an error.  */
18070 #ifdef __cplusplus
18071 extern "C"
18072 {
18073 #endif
18074 /* We use char because int might match the return type of a gcc2
18075    builtin and then its argument prototype would still apply.  */
18076 char $ac_func ();
18077 /* The GNU C library defines this for functions which it implements
18078     to always fail with ENOSYS.  Some functions are actually named
18079     something starting with __ and the normal name is an alias.  */
18080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18081 choke me
18082 #else
18083 char (*f) () = $ac_func;
18084 #endif
18085 #ifdef __cplusplus
18086 }
18087 #endif
18088
18089 int
18090 main ()
18091 {
18092 return f != $ac_func;
18093   ;
18094   return 0;
18095 }
18096 _ACEOF
18097 rm -f conftest.$ac_objext conftest$ac_exeext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18099   (eval $ac_link) 2>&5
18100   ac_status=$?
18101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102   (exit $ac_status); } &&
18103          { ac_try='test -s conftest$ac_exeext'
18104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105   (eval $ac_try) 2>&5
18106   ac_status=$?
18107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108   (exit $ac_status); }; }; then
18109   eval "$as_ac_var=yes"
18110 else
18111   echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18113
18114 eval "$as_ac_var=no"
18115 fi
18116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18117 fi
18118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18120 if test `eval echo '${'$as_ac_var'}'` = yes; then
18121   cat >>confdefs.h <<_ACEOF
18122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18123 _ACEOF
18124
18125 fi
18126 done
18127
18128     fi
18129   fi
18130
18131
18132
18133   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18134 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18135   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18136     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18137   echo $ECHO_N "(cached) $ECHO_C" >&6
18138 else
18139
18140
18141
18142       ac_ext=cc
18143 ac_cpp='$CXXCPP $CPPFLAGS'
18144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18147
18148       cat >conftest.$ac_ext <<_ACEOF
18149 #line $LINENO "configure"
18150 /* confdefs.h.  */
18151 _ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h.  */
18155 #include <math.h>
18156 int
18157 main ()
18158 {
18159  fmodl(0, 0);
18160   ;
18161   return 0;
18162 }
18163 _ACEOF
18164 rm -f conftest.$ac_objext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18166   (eval $ac_compile) 2>&5
18167   ac_status=$?
18168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169   (exit $ac_status); } &&
18170          { ac_try='test -s conftest.$ac_objext'
18171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172   (eval $ac_try) 2>&5
18173   ac_status=$?
18174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175   (exit $ac_status); }; }; then
18176   glibcxx_cv_func_fmodl_use=yes
18177 else
18178   echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.$ac_ext >&5
18180
18181 glibcxx_cv_func_fmodl_use=no
18182 fi
18183 rm -f conftest.$ac_objext conftest.$ac_ext
18184       ac_ext=c
18185 ac_cpp='$CPP $CPPFLAGS'
18186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18189
18190
18191 fi
18192
18193   fi
18194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18195 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18196
18197   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18198
18199 for ac_func in fmodl
18200 do
18201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18202 echo "$as_me:$LINENO: checking for $ac_func" >&5
18203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18204 if eval "test \"\${$as_ac_var+set}\" = set"; then
18205   echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207   if test x$gcc_no_link = xyes; then
18208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18210    { (exit 1); exit 1; }; }
18211 fi
18212 cat >conftest.$ac_ext <<_ACEOF
18213 #line $LINENO "configure"
18214 /* confdefs.h.  */
18215 _ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h.  */
18219 /* System header to define __stub macros and hopefully few prototypes,
18220     which can conflict with char $ac_func (); below.
18221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18222     <limits.h> exists even on freestanding compilers.  */
18223 #ifdef __STDC__
18224 # include <limits.h>
18225 #else
18226 # include <assert.h>
18227 #endif
18228 /* Override any gcc2 internal prototype to avoid an error.  */
18229 #ifdef __cplusplus
18230 extern "C"
18231 {
18232 #endif
18233 /* We use char because int might match the return type of a gcc2
18234    builtin and then its argument prototype would still apply.  */
18235 char $ac_func ();
18236 /* The GNU C library defines this for functions which it implements
18237     to always fail with ENOSYS.  Some functions are actually named
18238     something starting with __ and the normal name is an alias.  */
18239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18240 choke me
18241 #else
18242 char (*f) () = $ac_func;
18243 #endif
18244 #ifdef __cplusplus
18245 }
18246 #endif
18247
18248 int
18249 main ()
18250 {
18251 return f != $ac_func;
18252   ;
18253   return 0;
18254 }
18255 _ACEOF
18256 rm -f conftest.$ac_objext conftest$ac_exeext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258   (eval $ac_link) 2>&5
18259   ac_status=$?
18260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261   (exit $ac_status); } &&
18262          { ac_try='test -s conftest$ac_exeext'
18263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264   (eval $ac_try) 2>&5
18265   ac_status=$?
18266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267   (exit $ac_status); }; }; then
18268   eval "$as_ac_var=yes"
18269 else
18270   echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 eval "$as_ac_var=no"
18274 fi
18275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18276 fi
18277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18279 if test `eval echo '${'$as_ac_var'}'` = yes; then
18280   cat >>confdefs.h <<_ACEOF
18281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18282 _ACEOF
18283
18284 fi
18285 done
18286
18287   else
18288
18289   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18290 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18291   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18292     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18293   echo $ECHO_N "(cached) $ECHO_C" >&6
18294 else
18295
18296
18297
18298       ac_ext=cc
18299 ac_cpp='$CXXCPP $CPPFLAGS'
18300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18303
18304       cat >conftest.$ac_ext <<_ACEOF
18305 #line $LINENO "configure"
18306 /* confdefs.h.  */
18307 _ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h.  */
18311 #include <math.h>
18312 int
18313 main ()
18314 {
18315  _fmodl(0, 0);
18316   ;
18317   return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322   (eval $ac_compile) 2>&5
18323   ac_status=$?
18324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325   (exit $ac_status); } &&
18326          { ac_try='test -s conftest.$ac_objext'
18327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328   (eval $ac_try) 2>&5
18329   ac_status=$?
18330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331   (exit $ac_status); }; }; then
18332   glibcxx_cv_func__fmodl_use=yes
18333 else
18334   echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18336
18337 glibcxx_cv_func__fmodl_use=no
18338 fi
18339 rm -f conftest.$ac_objext conftest.$ac_ext
18340       ac_ext=c
18341 ac_cpp='$CPP $CPPFLAGS'
18342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18345
18346
18347 fi
18348
18349   fi
18350   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18351 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18352
18353     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18354
18355 for ac_func in _fmodl
18356 do
18357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18358 echo "$as_me:$LINENO: checking for $ac_func" >&5
18359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18360 if eval "test \"\${$as_ac_var+set}\" = set"; then
18361   echo $ECHO_N "(cached) $ECHO_C" >&6
18362 else
18363   if test x$gcc_no_link = xyes; then
18364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18366    { (exit 1); exit 1; }; }
18367 fi
18368 cat >conftest.$ac_ext <<_ACEOF
18369 #line $LINENO "configure"
18370 /* confdefs.h.  */
18371 _ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h.  */
18375 /* System header to define __stub macros and hopefully few prototypes,
18376     which can conflict with char $ac_func (); below.
18377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18378     <limits.h> exists even on freestanding compilers.  */
18379 #ifdef __STDC__
18380 # include <limits.h>
18381 #else
18382 # include <assert.h>
18383 #endif
18384 /* Override any gcc2 internal prototype to avoid an error.  */
18385 #ifdef __cplusplus
18386 extern "C"
18387 {
18388 #endif
18389 /* We use char because int might match the return type of a gcc2
18390    builtin and then its argument prototype would still apply.  */
18391 char $ac_func ();
18392 /* The GNU C library defines this for functions which it implements
18393     to always fail with ENOSYS.  Some functions are actually named
18394     something starting with __ and the normal name is an alias.  */
18395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18396 choke me
18397 #else
18398 char (*f) () = $ac_func;
18399 #endif
18400 #ifdef __cplusplus
18401 }
18402 #endif
18403
18404 int
18405 main ()
18406 {
18407 return f != $ac_func;
18408   ;
18409   return 0;
18410 }
18411 _ACEOF
18412 rm -f conftest.$ac_objext conftest$ac_exeext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414   (eval $ac_link) 2>&5
18415   ac_status=$?
18416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417   (exit $ac_status); } &&
18418          { ac_try='test -s conftest$ac_exeext'
18419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420   (eval $ac_try) 2>&5
18421   ac_status=$?
18422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423   (exit $ac_status); }; }; then
18424   eval "$as_ac_var=yes"
18425 else
18426   echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 eval "$as_ac_var=no"
18430 fi
18431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18432 fi
18433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18435 if test `eval echo '${'$as_ac_var'}'` = yes; then
18436   cat >>confdefs.h <<_ACEOF
18437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18438 _ACEOF
18439
18440 fi
18441 done
18442
18443     fi
18444   fi
18445
18446
18447
18448   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18449 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18450   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18451     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18452   echo $ECHO_N "(cached) $ECHO_C" >&6
18453 else
18454
18455
18456
18457       ac_ext=cc
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462
18463       cat >conftest.$ac_ext <<_ACEOF
18464 #line $LINENO "configure"
18465 /* confdefs.h.  */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h.  */
18470 #include <math.h>
18471 int
18472 main ()
18473 {
18474  frexpl(0, 0);
18475   ;
18476   return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481   (eval $ac_compile) 2>&5
18482   ac_status=$?
18483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484   (exit $ac_status); } &&
18485          { ac_try='test -s conftest.$ac_objext'
18486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487   (eval $ac_try) 2>&5
18488   ac_status=$?
18489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490   (exit $ac_status); }; }; then
18491   glibcxx_cv_func_frexpl_use=yes
18492 else
18493   echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18495
18496 glibcxx_cv_func_frexpl_use=no
18497 fi
18498 rm -f conftest.$ac_objext conftest.$ac_ext
18499       ac_ext=c
18500 ac_cpp='$CPP $CPPFLAGS'
18501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18504
18505
18506 fi
18507
18508   fi
18509   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18510 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18511
18512   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18513
18514 for ac_func in frexpl
18515 do
18516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18517 echo "$as_me:$LINENO: checking for $ac_func" >&5
18518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18519 if eval "test \"\${$as_ac_var+set}\" = set"; then
18520   echo $ECHO_N "(cached) $ECHO_C" >&6
18521 else
18522   if test x$gcc_no_link = xyes; then
18523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18525    { (exit 1); exit 1; }; }
18526 fi
18527 cat >conftest.$ac_ext <<_ACEOF
18528 #line $LINENO "configure"
18529 /* confdefs.h.  */
18530 _ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h.  */
18534 /* System header to define __stub macros and hopefully few prototypes,
18535     which can conflict with char $ac_func (); below.
18536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18537     <limits.h> exists even on freestanding compilers.  */
18538 #ifdef __STDC__
18539 # include <limits.h>
18540 #else
18541 # include <assert.h>
18542 #endif
18543 /* Override any gcc2 internal prototype to avoid an error.  */
18544 #ifdef __cplusplus
18545 extern "C"
18546 {
18547 #endif
18548 /* We use char because int might match the return type of a gcc2
18549    builtin and then its argument prototype would still apply.  */
18550 char $ac_func ();
18551 /* The GNU C library defines this for functions which it implements
18552     to always fail with ENOSYS.  Some functions are actually named
18553     something starting with __ and the normal name is an alias.  */
18554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18555 choke me
18556 #else
18557 char (*f) () = $ac_func;
18558 #endif
18559 #ifdef __cplusplus
18560 }
18561 #endif
18562
18563 int
18564 main ()
18565 {
18566 return f != $ac_func;
18567   ;
18568   return 0;
18569 }
18570 _ACEOF
18571 rm -f conftest.$ac_objext conftest$ac_exeext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18573   (eval $ac_link) 2>&5
18574   ac_status=$?
18575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576   (exit $ac_status); } &&
18577          { ac_try='test -s conftest$ac_exeext'
18578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579   (eval $ac_try) 2>&5
18580   ac_status=$?
18581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582   (exit $ac_status); }; }; then
18583   eval "$as_ac_var=yes"
18584 else
18585   echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18587
18588 eval "$as_ac_var=no"
18589 fi
18590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18591 fi
18592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18594 if test `eval echo '${'$as_ac_var'}'` = yes; then
18595   cat >>confdefs.h <<_ACEOF
18596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18597 _ACEOF
18598
18599 fi
18600 done
18601
18602   else
18603
18604   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18605 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18606   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18607     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18608   echo $ECHO_N "(cached) $ECHO_C" >&6
18609 else
18610
18611
18612
18613       ac_ext=cc
18614 ac_cpp='$CXXCPP $CPPFLAGS'
18615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18618
18619       cat >conftest.$ac_ext <<_ACEOF
18620 #line $LINENO "configure"
18621 /* confdefs.h.  */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h.  */
18626 #include <math.h>
18627 int
18628 main ()
18629 {
18630  _frexpl(0, 0);
18631   ;
18632   return 0;
18633 }
18634 _ACEOF
18635 rm -f conftest.$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637   (eval $ac_compile) 2>&5
18638   ac_status=$?
18639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640   (exit $ac_status); } &&
18641          { ac_try='test -s conftest.$ac_objext'
18642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643   (eval $ac_try) 2>&5
18644   ac_status=$?
18645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646   (exit $ac_status); }; }; then
18647   glibcxx_cv_func__frexpl_use=yes
18648 else
18649   echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18651
18652 glibcxx_cv_func__frexpl_use=no
18653 fi
18654 rm -f conftest.$ac_objext conftest.$ac_ext
18655       ac_ext=c
18656 ac_cpp='$CPP $CPPFLAGS'
18657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18660
18661
18662 fi
18663
18664   fi
18665   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18666 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18667
18668     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18669
18670 for ac_func in _frexpl
18671 do
18672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18673 echo "$as_me:$LINENO: checking for $ac_func" >&5
18674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18675 if eval "test \"\${$as_ac_var+set}\" = set"; then
18676   echo $ECHO_N "(cached) $ECHO_C" >&6
18677 else
18678   if test x$gcc_no_link = xyes; then
18679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18681    { (exit 1); exit 1; }; }
18682 fi
18683 cat >conftest.$ac_ext <<_ACEOF
18684 #line $LINENO "configure"
18685 /* confdefs.h.  */
18686 _ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h.  */
18690 /* System header to define __stub macros and hopefully few prototypes,
18691     which can conflict with char $ac_func (); below.
18692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18693     <limits.h> exists even on freestanding compilers.  */
18694 #ifdef __STDC__
18695 # include <limits.h>
18696 #else
18697 # include <assert.h>
18698 #endif
18699 /* Override any gcc2 internal prototype to avoid an error.  */
18700 #ifdef __cplusplus
18701 extern "C"
18702 {
18703 #endif
18704 /* We use char because int might match the return type of a gcc2
18705    builtin and then its argument prototype would still apply.  */
18706 char $ac_func ();
18707 /* The GNU C library defines this for functions which it implements
18708     to always fail with ENOSYS.  Some functions are actually named
18709     something starting with __ and the normal name is an alias.  */
18710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18711 choke me
18712 #else
18713 char (*f) () = $ac_func;
18714 #endif
18715 #ifdef __cplusplus
18716 }
18717 #endif
18718
18719 int
18720 main ()
18721 {
18722 return f != $ac_func;
18723   ;
18724   return 0;
18725 }
18726 _ACEOF
18727 rm -f conftest.$ac_objext conftest$ac_exeext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18729   (eval $ac_link) 2>&5
18730   ac_status=$?
18731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732   (exit $ac_status); } &&
18733          { ac_try='test -s conftest$ac_exeext'
18734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735   (eval $ac_try) 2>&5
18736   ac_status=$?
18737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738   (exit $ac_status); }; }; then
18739   eval "$as_ac_var=yes"
18740 else
18741   echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 eval "$as_ac_var=no"
18745 fi
18746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18747 fi
18748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18750 if test `eval echo '${'$as_ac_var'}'` = yes; then
18751   cat >>confdefs.h <<_ACEOF
18752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18753 _ACEOF
18754
18755 fi
18756 done
18757
18758     fi
18759   fi
18760
18761
18762
18763   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18764 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18765   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18766     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18767   echo $ECHO_N "(cached) $ECHO_C" >&6
18768 else
18769
18770
18771
18772       ac_ext=cc
18773 ac_cpp='$CXXCPP $CPPFLAGS'
18774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18777
18778       cat >conftest.$ac_ext <<_ACEOF
18779 #line $LINENO "configure"
18780 /* confdefs.h.  */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h.  */
18785 #include <math.h>
18786 int
18787 main ()
18788 {
18789  hypotl(0, 0);
18790   ;
18791   return 0;
18792 }
18793 _ACEOF
18794 rm -f conftest.$ac_objext
18795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18796   (eval $ac_compile) 2>&5
18797   ac_status=$?
18798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799   (exit $ac_status); } &&
18800          { ac_try='test -s conftest.$ac_objext'
18801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802   (eval $ac_try) 2>&5
18803   ac_status=$?
18804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805   (exit $ac_status); }; }; then
18806   glibcxx_cv_func_hypotl_use=yes
18807 else
18808   echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 glibcxx_cv_func_hypotl_use=no
18812 fi
18813 rm -f conftest.$ac_objext conftest.$ac_ext
18814       ac_ext=c
18815 ac_cpp='$CPP $CPPFLAGS'
18816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18819
18820
18821 fi
18822
18823   fi
18824   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18825 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18826
18827   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18828
18829 for ac_func in hypotl
18830 do
18831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18832 echo "$as_me:$LINENO: checking for $ac_func" >&5
18833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18834 if eval "test \"\${$as_ac_var+set}\" = set"; then
18835   echo $ECHO_N "(cached) $ECHO_C" >&6
18836 else
18837   if test x$gcc_no_link = xyes; then
18838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18840    { (exit 1); exit 1; }; }
18841 fi
18842 cat >conftest.$ac_ext <<_ACEOF
18843 #line $LINENO "configure"
18844 /* confdefs.h.  */
18845 _ACEOF
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h.  */
18849 /* System header to define __stub macros and hopefully few prototypes,
18850     which can conflict with char $ac_func (); below.
18851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18852     <limits.h> exists even on freestanding compilers.  */
18853 #ifdef __STDC__
18854 # include <limits.h>
18855 #else
18856 # include <assert.h>
18857 #endif
18858 /* Override any gcc2 internal prototype to avoid an error.  */
18859 #ifdef __cplusplus
18860 extern "C"
18861 {
18862 #endif
18863 /* We use char because int might match the return type of a gcc2
18864    builtin and then its argument prototype would still apply.  */
18865 char $ac_func ();
18866 /* The GNU C library defines this for functions which it implements
18867     to always fail with ENOSYS.  Some functions are actually named
18868     something starting with __ and the normal name is an alias.  */
18869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18870 choke me
18871 #else
18872 char (*f) () = $ac_func;
18873 #endif
18874 #ifdef __cplusplus
18875 }
18876 #endif
18877
18878 int
18879 main ()
18880 {
18881 return f != $ac_func;
18882   ;
18883   return 0;
18884 }
18885 _ACEOF
18886 rm -f conftest.$ac_objext conftest$ac_exeext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18888   (eval $ac_link) 2>&5
18889   ac_status=$?
18890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891   (exit $ac_status); } &&
18892          { ac_try='test -s conftest$ac_exeext'
18893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894   (eval $ac_try) 2>&5
18895   ac_status=$?
18896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897   (exit $ac_status); }; }; then
18898   eval "$as_ac_var=yes"
18899 else
18900   echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 eval "$as_ac_var=no"
18904 fi
18905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18906 fi
18907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18909 if test `eval echo '${'$as_ac_var'}'` = yes; then
18910   cat >>confdefs.h <<_ACEOF
18911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18912 _ACEOF
18913
18914 fi
18915 done
18916
18917   else
18918
18919   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18920 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18921   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18922     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18923   echo $ECHO_N "(cached) $ECHO_C" >&6
18924 else
18925
18926
18927
18928       ac_ext=cc
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18933
18934       cat >conftest.$ac_ext <<_ACEOF
18935 #line $LINENO "configure"
18936 /* confdefs.h.  */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h.  */
18941 #include <math.h>
18942 int
18943 main ()
18944 {
18945  _hypotl(0, 0);
18946   ;
18947   return 0;
18948 }
18949 _ACEOF
18950 rm -f conftest.$ac_objext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18952   (eval $ac_compile) 2>&5
18953   ac_status=$?
18954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955   (exit $ac_status); } &&
18956          { ac_try='test -s conftest.$ac_objext'
18957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958   (eval $ac_try) 2>&5
18959   ac_status=$?
18960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961   (exit $ac_status); }; }; then
18962   glibcxx_cv_func__hypotl_use=yes
18963 else
18964   echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 glibcxx_cv_func__hypotl_use=no
18968 fi
18969 rm -f conftest.$ac_objext conftest.$ac_ext
18970       ac_ext=c
18971 ac_cpp='$CPP $CPPFLAGS'
18972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18975
18976
18977 fi
18978
18979   fi
18980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18981 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18982
18983     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18984
18985 for ac_func in _hypotl
18986 do
18987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18988 echo "$as_me:$LINENO: checking for $ac_func" >&5
18989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18990 if eval "test \"\${$as_ac_var+set}\" = set"; then
18991   echo $ECHO_N "(cached) $ECHO_C" >&6
18992 else
18993   if test x$gcc_no_link = xyes; then
18994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18996    { (exit 1); exit 1; }; }
18997 fi
18998 cat >conftest.$ac_ext <<_ACEOF
18999 #line $LINENO "configure"
19000 /* confdefs.h.  */
19001 _ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h.  */
19005 /* System header to define __stub macros and hopefully few prototypes,
19006     which can conflict with char $ac_func (); below.
19007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19008     <limits.h> exists even on freestanding compilers.  */
19009 #ifdef __STDC__
19010 # include <limits.h>
19011 #else
19012 # include <assert.h>
19013 #endif
19014 /* Override any gcc2 internal prototype to avoid an error.  */
19015 #ifdef __cplusplus
19016 extern "C"
19017 {
19018 #endif
19019 /* We use char because int might match the return type of a gcc2
19020    builtin and then its argument prototype would still apply.  */
19021 char $ac_func ();
19022 /* The GNU C library defines this for functions which it implements
19023     to always fail with ENOSYS.  Some functions are actually named
19024     something starting with __ and the normal name is an alias.  */
19025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19026 choke me
19027 #else
19028 char (*f) () = $ac_func;
19029 #endif
19030 #ifdef __cplusplus
19031 }
19032 #endif
19033
19034 int
19035 main ()
19036 {
19037 return f != $ac_func;
19038   ;
19039   return 0;
19040 }
19041 _ACEOF
19042 rm -f conftest.$ac_objext conftest$ac_exeext
19043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19044   (eval $ac_link) 2>&5
19045   ac_status=$?
19046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047   (exit $ac_status); } &&
19048          { ac_try='test -s conftest$ac_exeext'
19049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050   (eval $ac_try) 2>&5
19051   ac_status=$?
19052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053   (exit $ac_status); }; }; then
19054   eval "$as_ac_var=yes"
19055 else
19056   echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19058
19059 eval "$as_ac_var=no"
19060 fi
19061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19062 fi
19063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19065 if test `eval echo '${'$as_ac_var'}'` = yes; then
19066   cat >>confdefs.h <<_ACEOF
19067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19068 _ACEOF
19069
19070 fi
19071 done
19072
19073     fi
19074   fi
19075
19076
19077
19078   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19079 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19080   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19081     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19082   echo $ECHO_N "(cached) $ECHO_C" >&6
19083 else
19084
19085
19086
19087       ac_ext=cc
19088 ac_cpp='$CXXCPP $CPPFLAGS'
19089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19092
19093       cat >conftest.$ac_ext <<_ACEOF
19094 #line $LINENO "configure"
19095 /* confdefs.h.  */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h.  */
19100 #include <math.h>
19101 int
19102 main ()
19103 {
19104  ldexpl(0, 0);
19105   ;
19106   return 0;
19107 }
19108 _ACEOF
19109 rm -f conftest.$ac_objext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19111   (eval $ac_compile) 2>&5
19112   ac_status=$?
19113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114   (exit $ac_status); } &&
19115          { ac_try='test -s conftest.$ac_objext'
19116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117   (eval $ac_try) 2>&5
19118   ac_status=$?
19119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120   (exit $ac_status); }; }; then
19121   glibcxx_cv_func_ldexpl_use=yes
19122 else
19123   echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19125
19126 glibcxx_cv_func_ldexpl_use=no
19127 fi
19128 rm -f conftest.$ac_objext conftest.$ac_ext
19129       ac_ext=c
19130 ac_cpp='$CPP $CPPFLAGS'
19131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19134
19135
19136 fi
19137
19138   fi
19139   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19140 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19141
19142   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19143
19144 for ac_func in ldexpl
19145 do
19146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19147 echo "$as_me:$LINENO: checking for $ac_func" >&5
19148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19149 if eval "test \"\${$as_ac_var+set}\" = set"; then
19150   echo $ECHO_N "(cached) $ECHO_C" >&6
19151 else
19152   if test x$gcc_no_link = xyes; then
19153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19155    { (exit 1); exit 1; }; }
19156 fi
19157 cat >conftest.$ac_ext <<_ACEOF
19158 #line $LINENO "configure"
19159 /* confdefs.h.  */
19160 _ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h.  */
19164 /* System header to define __stub macros and hopefully few prototypes,
19165     which can conflict with char $ac_func (); below.
19166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19167     <limits.h> exists even on freestanding compilers.  */
19168 #ifdef __STDC__
19169 # include <limits.h>
19170 #else
19171 # include <assert.h>
19172 #endif
19173 /* Override any gcc2 internal prototype to avoid an error.  */
19174 #ifdef __cplusplus
19175 extern "C"
19176 {
19177 #endif
19178 /* We use char because int might match the return type of a gcc2
19179    builtin and then its argument prototype would still apply.  */
19180 char $ac_func ();
19181 /* The GNU C library defines this for functions which it implements
19182     to always fail with ENOSYS.  Some functions are actually named
19183     something starting with __ and the normal name is an alias.  */
19184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19185 choke me
19186 #else
19187 char (*f) () = $ac_func;
19188 #endif
19189 #ifdef __cplusplus
19190 }
19191 #endif
19192
19193 int
19194 main ()
19195 {
19196 return f != $ac_func;
19197   ;
19198   return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest.$ac_objext conftest$ac_exeext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19203   (eval $ac_link) 2>&5
19204   ac_status=$?
19205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206   (exit $ac_status); } &&
19207          { ac_try='test -s conftest$ac_exeext'
19208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209   (eval $ac_try) 2>&5
19210   ac_status=$?
19211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212   (exit $ac_status); }; }; then
19213   eval "$as_ac_var=yes"
19214 else
19215   echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19217
19218 eval "$as_ac_var=no"
19219 fi
19220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19221 fi
19222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19224 if test `eval echo '${'$as_ac_var'}'` = yes; then
19225   cat >>confdefs.h <<_ACEOF
19226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19227 _ACEOF
19228
19229 fi
19230 done
19231
19232   else
19233
19234   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19235 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19236   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19237     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19238   echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240
19241
19242
19243       ac_ext=cc
19244 ac_cpp='$CXXCPP $CPPFLAGS'
19245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19248
19249       cat >conftest.$ac_ext <<_ACEOF
19250 #line $LINENO "configure"
19251 /* confdefs.h.  */
19252 _ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h.  */
19256 #include <math.h>
19257 int
19258 main ()
19259 {
19260  _ldexpl(0, 0);
19261   ;
19262   return 0;
19263 }
19264 _ACEOF
19265 rm -f conftest.$ac_objext
19266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19267   (eval $ac_compile) 2>&5
19268   ac_status=$?
19269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270   (exit $ac_status); } &&
19271          { ac_try='test -s conftest.$ac_objext'
19272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273   (eval $ac_try) 2>&5
19274   ac_status=$?
19275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276   (exit $ac_status); }; }; then
19277   glibcxx_cv_func__ldexpl_use=yes
19278 else
19279   echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19281
19282 glibcxx_cv_func__ldexpl_use=no
19283 fi
19284 rm -f conftest.$ac_objext conftest.$ac_ext
19285       ac_ext=c
19286 ac_cpp='$CPP $CPPFLAGS'
19287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19290
19291
19292 fi
19293
19294   fi
19295   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19296 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19297
19298     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19299
19300 for ac_func in _ldexpl
19301 do
19302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19303 echo "$as_me:$LINENO: checking for $ac_func" >&5
19304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19305 if eval "test \"\${$as_ac_var+set}\" = set"; then
19306   echo $ECHO_N "(cached) $ECHO_C" >&6
19307 else
19308   if test x$gcc_no_link = xyes; then
19309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19311    { (exit 1); exit 1; }; }
19312 fi
19313 cat >conftest.$ac_ext <<_ACEOF
19314 #line $LINENO "configure"
19315 /* confdefs.h.  */
19316 _ACEOF
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h.  */
19320 /* System header to define __stub macros and hopefully few prototypes,
19321     which can conflict with char $ac_func (); below.
19322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19323     <limits.h> exists even on freestanding compilers.  */
19324 #ifdef __STDC__
19325 # include <limits.h>
19326 #else
19327 # include <assert.h>
19328 #endif
19329 /* Override any gcc2 internal prototype to avoid an error.  */
19330 #ifdef __cplusplus
19331 extern "C"
19332 {
19333 #endif
19334 /* We use char because int might match the return type of a gcc2
19335    builtin and then its argument prototype would still apply.  */
19336 char $ac_func ();
19337 /* The GNU C library defines this for functions which it implements
19338     to always fail with ENOSYS.  Some functions are actually named
19339     something starting with __ and the normal name is an alias.  */
19340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19341 choke me
19342 #else
19343 char (*f) () = $ac_func;
19344 #endif
19345 #ifdef __cplusplus
19346 }
19347 #endif
19348
19349 int
19350 main ()
19351 {
19352 return f != $ac_func;
19353   ;
19354   return 0;
19355 }
19356 _ACEOF
19357 rm -f conftest.$ac_objext conftest$ac_exeext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19359   (eval $ac_link) 2>&5
19360   ac_status=$?
19361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362   (exit $ac_status); } &&
19363          { ac_try='test -s conftest$ac_exeext'
19364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365   (eval $ac_try) 2>&5
19366   ac_status=$?
19367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368   (exit $ac_status); }; }; then
19369   eval "$as_ac_var=yes"
19370 else
19371   echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19373
19374 eval "$as_ac_var=no"
19375 fi
19376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19377 fi
19378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19380 if test `eval echo '${'$as_ac_var'}'` = yes; then
19381   cat >>confdefs.h <<_ACEOF
19382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19383 _ACEOF
19384
19385 fi
19386 done
19387
19388     fi
19389   fi
19390
19391
19392
19393   echo "$as_me:$LINENO: checking for logl declaration" >&5
19394 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19395   if test x${glibcxx_cv_func_logl_use+set} != xset; then
19396     if test "${glibcxx_cv_func_logl_use+set}" = set; then
19397   echo $ECHO_N "(cached) $ECHO_C" >&6
19398 else
19399
19400
19401
19402       ac_ext=cc
19403 ac_cpp='$CXXCPP $CPPFLAGS'
19404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19407
19408       cat >conftest.$ac_ext <<_ACEOF
19409 #line $LINENO "configure"
19410 /* confdefs.h.  */
19411 _ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h.  */
19415 #include <math.h>
19416                       #ifdef HAVE_IEEEFP_H
19417                       #include <ieeefp.h>
19418                       #endif
19419
19420 int
19421 main ()
19422 {
19423  logl(0);
19424   ;
19425   return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430   (eval $ac_compile) 2>&5
19431   ac_status=$?
19432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433   (exit $ac_status); } &&
19434          { ac_try='test -s conftest.$ac_objext'
19435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436   (eval $ac_try) 2>&5
19437   ac_status=$?
19438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439   (exit $ac_status); }; }; then
19440   glibcxx_cv_func_logl_use=yes
19441 else
19442   echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19444
19445 glibcxx_cv_func_logl_use=no
19446 fi
19447 rm -f conftest.$ac_objext conftest.$ac_ext
19448       ac_ext=c
19449 ac_cpp='$CPP $CPPFLAGS'
19450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19453
19454
19455 fi
19456
19457   fi
19458   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19459 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19460
19461   if test x$glibcxx_cv_func_logl_use = x"yes"; then
19462
19463 for ac_func in logl
19464 do
19465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19466 echo "$as_me:$LINENO: checking for $ac_func" >&5
19467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19468 if eval "test \"\${$as_ac_var+set}\" = set"; then
19469   echo $ECHO_N "(cached) $ECHO_C" >&6
19470 else
19471   if test x$gcc_no_link = xyes; then
19472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474    { (exit 1); exit 1; }; }
19475 fi
19476 cat >conftest.$ac_ext <<_ACEOF
19477 #line $LINENO "configure"
19478 /* confdefs.h.  */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h.  */
19483 /* System header to define __stub macros and hopefully few prototypes,
19484     which can conflict with char $ac_func (); below.
19485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19486     <limits.h> exists even on freestanding compilers.  */
19487 #ifdef __STDC__
19488 # include <limits.h>
19489 #else
19490 # include <assert.h>
19491 #endif
19492 /* Override any gcc2 internal prototype to avoid an error.  */
19493 #ifdef __cplusplus
19494 extern "C"
19495 {
19496 #endif
19497 /* We use char because int might match the return type of a gcc2
19498    builtin and then its argument prototype would still apply.  */
19499 char $ac_func ();
19500 /* The GNU C library defines this for functions which it implements
19501     to always fail with ENOSYS.  Some functions are actually named
19502     something starting with __ and the normal name is an alias.  */
19503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19504 choke me
19505 #else
19506 char (*f) () = $ac_func;
19507 #endif
19508 #ifdef __cplusplus
19509 }
19510 #endif
19511
19512 int
19513 main ()
19514 {
19515 return f != $ac_func;
19516   ;
19517   return 0;
19518 }
19519 _ACEOF
19520 rm -f conftest.$ac_objext conftest$ac_exeext
19521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19522   (eval $ac_link) 2>&5
19523   ac_status=$?
19524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525   (exit $ac_status); } &&
19526          { ac_try='test -s conftest$ac_exeext'
19527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528   (eval $ac_try) 2>&5
19529   ac_status=$?
19530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531   (exit $ac_status); }; }; then
19532   eval "$as_ac_var=yes"
19533 else
19534   echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.$ac_ext >&5
19536
19537 eval "$as_ac_var=no"
19538 fi
19539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19540 fi
19541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19543 if test `eval echo '${'$as_ac_var'}'` = yes; then
19544   cat >>confdefs.h <<_ACEOF
19545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19546 _ACEOF
19547
19548 fi
19549 done
19550
19551   else
19552
19553   echo "$as_me:$LINENO: checking for _logl declaration" >&5
19554 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19555   if test x${glibcxx_cv_func__logl_use+set} != xset; then
19556     if test "${glibcxx_cv_func__logl_use+set}" = set; then
19557   echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559
19560
19561
19562       ac_ext=cc
19563 ac_cpp='$CXXCPP $CPPFLAGS'
19564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19567
19568       cat >conftest.$ac_ext <<_ACEOF
19569 #line $LINENO "configure"
19570 /* confdefs.h.  */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h.  */
19575 #include <math.h>
19576                       #ifdef HAVE_IEEEFP_H
19577                       #include <ieeefp.h>
19578                       #endif
19579
19580 int
19581 main ()
19582 {
19583  _logl(0);
19584   ;
19585   return 0;
19586 }
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590   (eval $ac_compile) 2>&5
19591   ac_status=$?
19592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593   (exit $ac_status); } &&
19594          { ac_try='test -s conftest.$ac_objext'
19595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596   (eval $ac_try) 2>&5
19597   ac_status=$?
19598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599   (exit $ac_status); }; }; then
19600   glibcxx_cv_func__logl_use=yes
19601 else
19602   echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19604
19605 glibcxx_cv_func__logl_use=no
19606 fi
19607 rm -f conftest.$ac_objext conftest.$ac_ext
19608       ac_ext=c
19609 ac_cpp='$CPP $CPPFLAGS'
19610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19613
19614
19615 fi
19616
19617   fi
19618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19619 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19620
19621     if test x$glibcxx_cv_func__logl_use = x"yes"; then
19622
19623 for ac_func in _logl
19624 do
19625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19626 echo "$as_me:$LINENO: checking for $ac_func" >&5
19627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19628 if eval "test \"\${$as_ac_var+set}\" = set"; then
19629   echo $ECHO_N "(cached) $ECHO_C" >&6
19630 else
19631   if test x$gcc_no_link = xyes; then
19632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19634    { (exit 1); exit 1; }; }
19635 fi
19636 cat >conftest.$ac_ext <<_ACEOF
19637 #line $LINENO "configure"
19638 /* confdefs.h.  */
19639 _ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h.  */
19643 /* System header to define __stub macros and hopefully few prototypes,
19644     which can conflict with char $ac_func (); below.
19645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19646     <limits.h> exists even on freestanding compilers.  */
19647 #ifdef __STDC__
19648 # include <limits.h>
19649 #else
19650 # include <assert.h>
19651 #endif
19652 /* Override any gcc2 internal prototype to avoid an error.  */
19653 #ifdef __cplusplus
19654 extern "C"
19655 {
19656 #endif
19657 /* We use char because int might match the return type of a gcc2
19658    builtin and then its argument prototype would still apply.  */
19659 char $ac_func ();
19660 /* The GNU C library defines this for functions which it implements
19661     to always fail with ENOSYS.  Some functions are actually named
19662     something starting with __ and the normal name is an alias.  */
19663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19664 choke me
19665 #else
19666 char (*f) () = $ac_func;
19667 #endif
19668 #ifdef __cplusplus
19669 }
19670 #endif
19671
19672 int
19673 main ()
19674 {
19675 return f != $ac_func;
19676   ;
19677   return 0;
19678 }
19679 _ACEOF
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19682   (eval $ac_link) 2>&5
19683   ac_status=$?
19684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685   (exit $ac_status); } &&
19686          { ac_try='test -s conftest$ac_exeext'
19687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688   (eval $ac_try) 2>&5
19689   ac_status=$?
19690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691   (exit $ac_status); }; }; then
19692   eval "$as_ac_var=yes"
19693 else
19694   echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5
19696
19697 eval "$as_ac_var=no"
19698 fi
19699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19700 fi
19701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19703 if test `eval echo '${'$as_ac_var'}'` = yes; then
19704   cat >>confdefs.h <<_ACEOF
19705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19706 _ACEOF
19707
19708 fi
19709 done
19710
19711     fi
19712   fi
19713
19714
19715
19716   echo "$as_me:$LINENO: checking for log10l declaration" >&5
19717 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19718   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19719     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19720   echo $ECHO_N "(cached) $ECHO_C" >&6
19721 else
19722
19723
19724
19725       ac_ext=cc
19726 ac_cpp='$CXXCPP $CPPFLAGS'
19727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19730
19731       cat >conftest.$ac_ext <<_ACEOF
19732 #line $LINENO "configure"
19733 /* confdefs.h.  */
19734 _ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h.  */
19738 #include <math.h>
19739                       #ifdef HAVE_IEEEFP_H
19740                       #include <ieeefp.h>
19741                       #endif
19742
19743 int
19744 main ()
19745 {
19746  log10l(0);
19747   ;
19748   return 0;
19749 }
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19753   (eval $ac_compile) 2>&5
19754   ac_status=$?
19755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756   (exit $ac_status); } &&
19757          { ac_try='test -s conftest.$ac_objext'
19758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759   (eval $ac_try) 2>&5
19760   ac_status=$?
19761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762   (exit $ac_status); }; }; then
19763   glibcxx_cv_func_log10l_use=yes
19764 else
19765   echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.$ac_ext >&5
19767
19768 glibcxx_cv_func_log10l_use=no
19769 fi
19770 rm -f conftest.$ac_objext conftest.$ac_ext
19771       ac_ext=c
19772 ac_cpp='$CPP $CPPFLAGS'
19773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19776
19777
19778 fi
19779
19780   fi
19781   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19782 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19783
19784   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19785
19786 for ac_func in log10l
19787 do
19788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19789 echo "$as_me:$LINENO: checking for $ac_func" >&5
19790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19791 if eval "test \"\${$as_ac_var+set}\" = set"; then
19792   echo $ECHO_N "(cached) $ECHO_C" >&6
19793 else
19794   if test x$gcc_no_link = xyes; then
19795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19797    { (exit 1); exit 1; }; }
19798 fi
19799 cat >conftest.$ac_ext <<_ACEOF
19800 #line $LINENO "configure"
19801 /* confdefs.h.  */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h.  */
19806 /* System header to define __stub macros and hopefully few prototypes,
19807     which can conflict with char $ac_func (); below.
19808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19809     <limits.h> exists even on freestanding compilers.  */
19810 #ifdef __STDC__
19811 # include <limits.h>
19812 #else
19813 # include <assert.h>
19814 #endif
19815 /* Override any gcc2 internal prototype to avoid an error.  */
19816 #ifdef __cplusplus
19817 extern "C"
19818 {
19819 #endif
19820 /* We use char because int might match the return type of a gcc2
19821    builtin and then its argument prototype would still apply.  */
19822 char $ac_func ();
19823 /* The GNU C library defines this for functions which it implements
19824     to always fail with ENOSYS.  Some functions are actually named
19825     something starting with __ and the normal name is an alias.  */
19826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19827 choke me
19828 #else
19829 char (*f) () = $ac_func;
19830 #endif
19831 #ifdef __cplusplus
19832 }
19833 #endif
19834
19835 int
19836 main ()
19837 {
19838 return f != $ac_func;
19839   ;
19840   return 0;
19841 }
19842 _ACEOF
19843 rm -f conftest.$ac_objext conftest$ac_exeext
19844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19845   (eval $ac_link) 2>&5
19846   ac_status=$?
19847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848   (exit $ac_status); } &&
19849          { ac_try='test -s conftest$ac_exeext'
19850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851   (eval $ac_try) 2>&5
19852   ac_status=$?
19853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854   (exit $ac_status); }; }; then
19855   eval "$as_ac_var=yes"
19856 else
19857   echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 eval "$as_ac_var=no"
19861 fi
19862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19863 fi
19864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19866 if test `eval echo '${'$as_ac_var'}'` = yes; then
19867   cat >>confdefs.h <<_ACEOF
19868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19869 _ACEOF
19870
19871 fi
19872 done
19873
19874   else
19875
19876   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19877 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19878   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19879     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19880   echo $ECHO_N "(cached) $ECHO_C" >&6
19881 else
19882
19883
19884
19885       ac_ext=cc
19886 ac_cpp='$CXXCPP $CPPFLAGS'
19887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19890
19891       cat >conftest.$ac_ext <<_ACEOF
19892 #line $LINENO "configure"
19893 /* confdefs.h.  */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h.  */
19898 #include <math.h>
19899                       #ifdef HAVE_IEEEFP_H
19900                       #include <ieeefp.h>
19901                       #endif
19902
19903 int
19904 main ()
19905 {
19906  _log10l(0);
19907   ;
19908   return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913   (eval $ac_compile) 2>&5
19914   ac_status=$?
19915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916   (exit $ac_status); } &&
19917          { ac_try='test -s conftest.$ac_objext'
19918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919   (eval $ac_try) 2>&5
19920   ac_status=$?
19921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922   (exit $ac_status); }; }; then
19923   glibcxx_cv_func__log10l_use=yes
19924 else
19925   echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928 glibcxx_cv_func__log10l_use=no
19929 fi
19930 rm -f conftest.$ac_objext conftest.$ac_ext
19931       ac_ext=c
19932 ac_cpp='$CPP $CPPFLAGS'
19933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19936
19937
19938 fi
19939
19940   fi
19941   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19942 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19943
19944     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19945
19946 for ac_func in _log10l
19947 do
19948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19949 echo "$as_me:$LINENO: checking for $ac_func" >&5
19950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19951 if eval "test \"\${$as_ac_var+set}\" = set"; then
19952   echo $ECHO_N "(cached) $ECHO_C" >&6
19953 else
19954   if test x$gcc_no_link = xyes; then
19955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19957    { (exit 1); exit 1; }; }
19958 fi
19959 cat >conftest.$ac_ext <<_ACEOF
19960 #line $LINENO "configure"
19961 /* confdefs.h.  */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h.  */
19966 /* System header to define __stub macros and hopefully few prototypes,
19967     which can conflict with char $ac_func (); below.
19968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19969     <limits.h> exists even on freestanding compilers.  */
19970 #ifdef __STDC__
19971 # include <limits.h>
19972 #else
19973 # include <assert.h>
19974 #endif
19975 /* Override any gcc2 internal prototype to avoid an error.  */
19976 #ifdef __cplusplus
19977 extern "C"
19978 {
19979 #endif
19980 /* We use char because int might match the return type of a gcc2
19981    builtin and then its argument prototype would still apply.  */
19982 char $ac_func ();
19983 /* The GNU C library defines this for functions which it implements
19984     to always fail with ENOSYS.  Some functions are actually named
19985     something starting with __ and the normal name is an alias.  */
19986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19987 choke me
19988 #else
19989 char (*f) () = $ac_func;
19990 #endif
19991 #ifdef __cplusplus
19992 }
19993 #endif
19994
19995 int
19996 main ()
19997 {
19998 return f != $ac_func;
19999   ;
20000   return 0;
20001 }
20002 _ACEOF
20003 rm -f conftest.$ac_objext conftest$ac_exeext
20004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20005   (eval $ac_link) 2>&5
20006   ac_status=$?
20007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008   (exit $ac_status); } &&
20009          { ac_try='test -s conftest$ac_exeext'
20010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011   (eval $ac_try) 2>&5
20012   ac_status=$?
20013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014   (exit $ac_status); }; }; then
20015   eval "$as_ac_var=yes"
20016 else
20017   echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20019
20020 eval "$as_ac_var=no"
20021 fi
20022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20023 fi
20024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20026 if test `eval echo '${'$as_ac_var'}'` = yes; then
20027   cat >>confdefs.h <<_ACEOF
20028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20029 _ACEOF
20030
20031 fi
20032 done
20033
20034     fi
20035   fi
20036
20037
20038
20039   echo "$as_me:$LINENO: checking for modfl declaration" >&5
20040 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20041   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20042     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20043   echo $ECHO_N "(cached) $ECHO_C" >&6
20044 else
20045
20046
20047
20048       ac_ext=cc
20049 ac_cpp='$CXXCPP $CPPFLAGS'
20050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20053
20054       cat >conftest.$ac_ext <<_ACEOF
20055 #line $LINENO "configure"
20056 /* confdefs.h.  */
20057 _ACEOF
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h.  */
20061 #include <math.h>
20062 int
20063 main ()
20064 {
20065  modfl(0, 0);
20066   ;
20067   return 0;
20068 }
20069 _ACEOF
20070 rm -f conftest.$ac_objext
20071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20072   (eval $ac_compile) 2>&5
20073   ac_status=$?
20074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075   (exit $ac_status); } &&
20076          { ac_try='test -s conftest.$ac_objext'
20077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078   (eval $ac_try) 2>&5
20079   ac_status=$?
20080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081   (exit $ac_status); }; }; then
20082   glibcxx_cv_func_modfl_use=yes
20083 else
20084   echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20086
20087 glibcxx_cv_func_modfl_use=no
20088 fi
20089 rm -f conftest.$ac_objext conftest.$ac_ext
20090       ac_ext=c
20091 ac_cpp='$CPP $CPPFLAGS'
20092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20095
20096
20097 fi
20098
20099   fi
20100   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20101 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20102
20103   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20104
20105 for ac_func in modfl
20106 do
20107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20108 echo "$as_me:$LINENO: checking for $ac_func" >&5
20109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20110 if eval "test \"\${$as_ac_var+set}\" = set"; then
20111   echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113   if test x$gcc_no_link = xyes; then
20114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20116    { (exit 1); exit 1; }; }
20117 fi
20118 cat >conftest.$ac_ext <<_ACEOF
20119 #line $LINENO "configure"
20120 /* confdefs.h.  */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h.  */
20125 /* System header to define __stub macros and hopefully few prototypes,
20126     which can conflict with char $ac_func (); below.
20127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20128     <limits.h> exists even on freestanding compilers.  */
20129 #ifdef __STDC__
20130 # include <limits.h>
20131 #else
20132 # include <assert.h>
20133 #endif
20134 /* Override any gcc2 internal prototype to avoid an error.  */
20135 #ifdef __cplusplus
20136 extern "C"
20137 {
20138 #endif
20139 /* We use char because int might match the return type of a gcc2
20140    builtin and then its argument prototype would still apply.  */
20141 char $ac_func ();
20142 /* The GNU C library defines this for functions which it implements
20143     to always fail with ENOSYS.  Some functions are actually named
20144     something starting with __ and the normal name is an alias.  */
20145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20146 choke me
20147 #else
20148 char (*f) () = $ac_func;
20149 #endif
20150 #ifdef __cplusplus
20151 }
20152 #endif
20153
20154 int
20155 main ()
20156 {
20157 return f != $ac_func;
20158   ;
20159   return 0;
20160 }
20161 _ACEOF
20162 rm -f conftest.$ac_objext conftest$ac_exeext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20164   (eval $ac_link) 2>&5
20165   ac_status=$?
20166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167   (exit $ac_status); } &&
20168          { ac_try='test -s conftest$ac_exeext'
20169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170   (eval $ac_try) 2>&5
20171   ac_status=$?
20172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173   (exit $ac_status); }; }; then
20174   eval "$as_ac_var=yes"
20175 else
20176   echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20178
20179 eval "$as_ac_var=no"
20180 fi
20181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20182 fi
20183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20185 if test `eval echo '${'$as_ac_var'}'` = yes; then
20186   cat >>confdefs.h <<_ACEOF
20187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20188 _ACEOF
20189
20190 fi
20191 done
20192
20193   else
20194
20195   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20196 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20197   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20198     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20199   echo $ECHO_N "(cached) $ECHO_C" >&6
20200 else
20201
20202
20203
20204       ac_ext=cc
20205 ac_cpp='$CXXCPP $CPPFLAGS'
20206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20209
20210       cat >conftest.$ac_ext <<_ACEOF
20211 #line $LINENO "configure"
20212 /* confdefs.h.  */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h.  */
20217 #include <math.h>
20218 int
20219 main ()
20220 {
20221  _modfl(0, 0);
20222   ;
20223   return 0;
20224 }
20225 _ACEOF
20226 rm -f conftest.$ac_objext
20227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20228   (eval $ac_compile) 2>&5
20229   ac_status=$?
20230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231   (exit $ac_status); } &&
20232          { ac_try='test -s conftest.$ac_objext'
20233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234   (eval $ac_try) 2>&5
20235   ac_status=$?
20236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237   (exit $ac_status); }; }; then
20238   glibcxx_cv_func__modfl_use=yes
20239 else
20240   echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20242
20243 glibcxx_cv_func__modfl_use=no
20244 fi
20245 rm -f conftest.$ac_objext conftest.$ac_ext
20246       ac_ext=c
20247 ac_cpp='$CPP $CPPFLAGS'
20248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20251
20252
20253 fi
20254
20255   fi
20256   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20257 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20258
20259     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20260
20261 for ac_func in _modfl
20262 do
20263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20264 echo "$as_me:$LINENO: checking for $ac_func" >&5
20265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20266 if eval "test \"\${$as_ac_var+set}\" = set"; then
20267   echo $ECHO_N "(cached) $ECHO_C" >&6
20268 else
20269   if test x$gcc_no_link = xyes; then
20270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20272    { (exit 1); exit 1; }; }
20273 fi
20274 cat >conftest.$ac_ext <<_ACEOF
20275 #line $LINENO "configure"
20276 /* confdefs.h.  */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h.  */
20281 /* System header to define __stub macros and hopefully few prototypes,
20282     which can conflict with char $ac_func (); below.
20283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20284     <limits.h> exists even on freestanding compilers.  */
20285 #ifdef __STDC__
20286 # include <limits.h>
20287 #else
20288 # include <assert.h>
20289 #endif
20290 /* Override any gcc2 internal prototype to avoid an error.  */
20291 #ifdef __cplusplus
20292 extern "C"
20293 {
20294 #endif
20295 /* We use char because int might match the return type of a gcc2
20296    builtin and then its argument prototype would still apply.  */
20297 char $ac_func ();
20298 /* The GNU C library defines this for functions which it implements
20299     to always fail with ENOSYS.  Some functions are actually named
20300     something starting with __ and the normal name is an alias.  */
20301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20302 choke me
20303 #else
20304 char (*f) () = $ac_func;
20305 #endif
20306 #ifdef __cplusplus
20307 }
20308 #endif
20309
20310 int
20311 main ()
20312 {
20313 return f != $ac_func;
20314   ;
20315   return 0;
20316 }
20317 _ACEOF
20318 rm -f conftest.$ac_objext conftest$ac_exeext
20319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20320   (eval $ac_link) 2>&5
20321   ac_status=$?
20322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323   (exit $ac_status); } &&
20324          { ac_try='test -s conftest$ac_exeext'
20325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326   (eval $ac_try) 2>&5
20327   ac_status=$?
20328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329   (exit $ac_status); }; }; then
20330   eval "$as_ac_var=yes"
20331 else
20332   echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 eval "$as_ac_var=no"
20336 fi
20337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20338 fi
20339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20341 if test `eval echo '${'$as_ac_var'}'` = yes; then
20342   cat >>confdefs.h <<_ACEOF
20343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20344 _ACEOF
20345
20346 fi
20347 done
20348
20349     fi
20350   fi
20351
20352
20353
20354   echo "$as_me:$LINENO: checking for powl declaration" >&5
20355 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20356   if test x${glibcxx_cv_func_powl_use+set} != xset; then
20357     if test "${glibcxx_cv_func_powl_use+set}" = set; then
20358   echo $ECHO_N "(cached) $ECHO_C" >&6
20359 else
20360
20361
20362
20363       ac_ext=cc
20364 ac_cpp='$CXXCPP $CPPFLAGS'
20365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20368
20369       cat >conftest.$ac_ext <<_ACEOF
20370 #line $LINENO "configure"
20371 /* confdefs.h.  */
20372 _ACEOF
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h.  */
20376 #include <math.h>
20377 int
20378 main ()
20379 {
20380  powl(0, 0);
20381   ;
20382   return 0;
20383 }
20384 _ACEOF
20385 rm -f conftest.$ac_objext
20386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20387   (eval $ac_compile) 2>&5
20388   ac_status=$?
20389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390   (exit $ac_status); } &&
20391          { ac_try='test -s conftest.$ac_objext'
20392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393   (eval $ac_try) 2>&5
20394   ac_status=$?
20395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396   (exit $ac_status); }; }; then
20397   glibcxx_cv_func_powl_use=yes
20398 else
20399   echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20401
20402 glibcxx_cv_func_powl_use=no
20403 fi
20404 rm -f conftest.$ac_objext conftest.$ac_ext
20405       ac_ext=c
20406 ac_cpp='$CPP $CPPFLAGS'
20407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20410
20411
20412 fi
20413
20414   fi
20415   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20416 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20417
20418   if test x$glibcxx_cv_func_powl_use = x"yes"; then
20419
20420 for ac_func in powl
20421 do
20422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20423 echo "$as_me:$LINENO: checking for $ac_func" >&5
20424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20425 if eval "test \"\${$as_ac_var+set}\" = set"; then
20426   echo $ECHO_N "(cached) $ECHO_C" >&6
20427 else
20428   if test x$gcc_no_link = xyes; then
20429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20431    { (exit 1); exit 1; }; }
20432 fi
20433 cat >conftest.$ac_ext <<_ACEOF
20434 #line $LINENO "configure"
20435 /* confdefs.h.  */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h.  */
20440 /* System header to define __stub macros and hopefully few prototypes,
20441     which can conflict with char $ac_func (); below.
20442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20443     <limits.h> exists even on freestanding compilers.  */
20444 #ifdef __STDC__
20445 # include <limits.h>
20446 #else
20447 # include <assert.h>
20448 #endif
20449 /* Override any gcc2 internal prototype to avoid an error.  */
20450 #ifdef __cplusplus
20451 extern "C"
20452 {
20453 #endif
20454 /* We use char because int might match the return type of a gcc2
20455    builtin and then its argument prototype would still apply.  */
20456 char $ac_func ();
20457 /* The GNU C library defines this for functions which it implements
20458     to always fail with ENOSYS.  Some functions are actually named
20459     something starting with __ and the normal name is an alias.  */
20460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20461 choke me
20462 #else
20463 char (*f) () = $ac_func;
20464 #endif
20465 #ifdef __cplusplus
20466 }
20467 #endif
20468
20469 int
20470 main ()
20471 {
20472 return f != $ac_func;
20473   ;
20474   return 0;
20475 }
20476 _ACEOF
20477 rm -f conftest.$ac_objext conftest$ac_exeext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20479   (eval $ac_link) 2>&5
20480   ac_status=$?
20481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482   (exit $ac_status); } &&
20483          { ac_try='test -s conftest$ac_exeext'
20484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485   (eval $ac_try) 2>&5
20486   ac_status=$?
20487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488   (exit $ac_status); }; }; then
20489   eval "$as_ac_var=yes"
20490 else
20491   echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 eval "$as_ac_var=no"
20495 fi
20496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20497 fi
20498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20500 if test `eval echo '${'$as_ac_var'}'` = yes; then
20501   cat >>confdefs.h <<_ACEOF
20502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20503 _ACEOF
20504
20505 fi
20506 done
20507
20508   else
20509
20510   echo "$as_me:$LINENO: checking for _powl declaration" >&5
20511 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20512   if test x${glibcxx_cv_func__powl_use+set} != xset; then
20513     if test "${glibcxx_cv_func__powl_use+set}" = set; then
20514   echo $ECHO_N "(cached) $ECHO_C" >&6
20515 else
20516
20517
20518
20519       ac_ext=cc
20520 ac_cpp='$CXXCPP $CPPFLAGS'
20521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20524
20525       cat >conftest.$ac_ext <<_ACEOF
20526 #line $LINENO "configure"
20527 /* confdefs.h.  */
20528 _ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h.  */
20532 #include <math.h>
20533 int
20534 main ()
20535 {
20536  _powl(0, 0);
20537   ;
20538   return 0;
20539 }
20540 _ACEOF
20541 rm -f conftest.$ac_objext
20542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20543   (eval $ac_compile) 2>&5
20544   ac_status=$?
20545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546   (exit $ac_status); } &&
20547          { ac_try='test -s conftest.$ac_objext'
20548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549   (eval $ac_try) 2>&5
20550   ac_status=$?
20551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552   (exit $ac_status); }; }; then
20553   glibcxx_cv_func__powl_use=yes
20554 else
20555   echo "$as_me: failed program was:" >&5
20556 sed 's/^/| /' conftest.$ac_ext >&5
20557
20558 glibcxx_cv_func__powl_use=no
20559 fi
20560 rm -f conftest.$ac_objext conftest.$ac_ext
20561       ac_ext=c
20562 ac_cpp='$CPP $CPPFLAGS'
20563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20566
20567
20568 fi
20569
20570   fi
20571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20572 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20573
20574     if test x$glibcxx_cv_func__powl_use = x"yes"; then
20575
20576 for ac_func in _powl
20577 do
20578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20579 echo "$as_me:$LINENO: checking for $ac_func" >&5
20580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20581 if eval "test \"\${$as_ac_var+set}\" = set"; then
20582   echo $ECHO_N "(cached) $ECHO_C" >&6
20583 else
20584   if test x$gcc_no_link = xyes; then
20585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20587    { (exit 1); exit 1; }; }
20588 fi
20589 cat >conftest.$ac_ext <<_ACEOF
20590 #line $LINENO "configure"
20591 /* confdefs.h.  */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h.  */
20596 /* System header to define __stub macros and hopefully few prototypes,
20597     which can conflict with char $ac_func (); below.
20598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20599     <limits.h> exists even on freestanding compilers.  */
20600 #ifdef __STDC__
20601 # include <limits.h>
20602 #else
20603 # include <assert.h>
20604 #endif
20605 /* Override any gcc2 internal prototype to avoid an error.  */
20606 #ifdef __cplusplus
20607 extern "C"
20608 {
20609 #endif
20610 /* We use char because int might match the return type of a gcc2
20611    builtin and then its argument prototype would still apply.  */
20612 char $ac_func ();
20613 /* The GNU C library defines this for functions which it implements
20614     to always fail with ENOSYS.  Some functions are actually named
20615     something starting with __ and the normal name is an alias.  */
20616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20617 choke me
20618 #else
20619 char (*f) () = $ac_func;
20620 #endif
20621 #ifdef __cplusplus
20622 }
20623 #endif
20624
20625 int
20626 main ()
20627 {
20628 return f != $ac_func;
20629   ;
20630   return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext conftest$ac_exeext
20634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20635   (eval $ac_link) 2>&5
20636   ac_status=$?
20637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638   (exit $ac_status); } &&
20639          { ac_try='test -s conftest$ac_exeext'
20640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641   (eval $ac_try) 2>&5
20642   ac_status=$?
20643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644   (exit $ac_status); }; }; then
20645   eval "$as_ac_var=yes"
20646 else
20647   echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.$ac_ext >&5
20649
20650 eval "$as_ac_var=no"
20651 fi
20652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20653 fi
20654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20656 if test `eval echo '${'$as_ac_var'}'` = yes; then
20657   cat >>confdefs.h <<_ACEOF
20658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20659 _ACEOF
20660
20661 fi
20662 done
20663
20664     fi
20665   fi
20666
20667
20668
20669   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20670 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20671   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20672     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20673   echo $ECHO_N "(cached) $ECHO_C" >&6
20674 else
20675
20676
20677
20678       ac_ext=cc
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20683
20684       cat >conftest.$ac_ext <<_ACEOF
20685 #line $LINENO "configure"
20686 /* confdefs.h.  */
20687 _ACEOF
20688 cat confdefs.h >>conftest.$ac_ext
20689 cat >>conftest.$ac_ext <<_ACEOF
20690 /* end confdefs.h.  */
20691 #include <math.h>
20692                       #ifdef HAVE_IEEEFP_H
20693                       #include <ieeefp.h>
20694                       #endif
20695
20696 int
20697 main ()
20698 {
20699  sqrtl(0);
20700   ;
20701   return 0;
20702 }
20703 _ACEOF
20704 rm -f conftest.$ac_objext
20705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20706   (eval $ac_compile) 2>&5
20707   ac_status=$?
20708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709   (exit $ac_status); } &&
20710          { ac_try='test -s conftest.$ac_objext'
20711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712   (eval $ac_try) 2>&5
20713   ac_status=$?
20714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715   (exit $ac_status); }; }; then
20716   glibcxx_cv_func_sqrtl_use=yes
20717 else
20718   echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 glibcxx_cv_func_sqrtl_use=no
20722 fi
20723 rm -f conftest.$ac_objext conftest.$ac_ext
20724       ac_ext=c
20725 ac_cpp='$CPP $CPPFLAGS'
20726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20729
20730
20731 fi
20732
20733   fi
20734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20735 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20736
20737   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20738
20739 for ac_func in sqrtl
20740 do
20741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20742 echo "$as_me:$LINENO: checking for $ac_func" >&5
20743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20744 if eval "test \"\${$as_ac_var+set}\" = set"; then
20745   echo $ECHO_N "(cached) $ECHO_C" >&6
20746 else
20747   if test x$gcc_no_link = xyes; then
20748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20750    { (exit 1); exit 1; }; }
20751 fi
20752 cat >conftest.$ac_ext <<_ACEOF
20753 #line $LINENO "configure"
20754 /* confdefs.h.  */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h.  */
20759 /* System header to define __stub macros and hopefully few prototypes,
20760     which can conflict with char $ac_func (); below.
20761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20762     <limits.h> exists even on freestanding compilers.  */
20763 #ifdef __STDC__
20764 # include <limits.h>
20765 #else
20766 # include <assert.h>
20767 #endif
20768 /* Override any gcc2 internal prototype to avoid an error.  */
20769 #ifdef __cplusplus
20770 extern "C"
20771 {
20772 #endif
20773 /* We use char because int might match the return type of a gcc2
20774    builtin and then its argument prototype would still apply.  */
20775 char $ac_func ();
20776 /* The GNU C library defines this for functions which it implements
20777     to always fail with ENOSYS.  Some functions are actually named
20778     something starting with __ and the normal name is an alias.  */
20779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20780 choke me
20781 #else
20782 char (*f) () = $ac_func;
20783 #endif
20784 #ifdef __cplusplus
20785 }
20786 #endif
20787
20788 int
20789 main ()
20790 {
20791 return f != $ac_func;
20792   ;
20793   return 0;
20794 }
20795 _ACEOF
20796 rm -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798   (eval $ac_link) 2>&5
20799   ac_status=$?
20800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801   (exit $ac_status); } &&
20802          { ac_try='test -s conftest$ac_exeext'
20803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804   (eval $ac_try) 2>&5
20805   ac_status=$?
20806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807   (exit $ac_status); }; }; then
20808   eval "$as_ac_var=yes"
20809 else
20810   echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20812
20813 eval "$as_ac_var=no"
20814 fi
20815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20816 fi
20817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20819 if test `eval echo '${'$as_ac_var'}'` = yes; then
20820   cat >>confdefs.h <<_ACEOF
20821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20822 _ACEOF
20823
20824 fi
20825 done
20826
20827   else
20828
20829   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20830 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20831   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20832     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20833   echo $ECHO_N "(cached) $ECHO_C" >&6
20834 else
20835
20836
20837
20838       ac_ext=cc
20839 ac_cpp='$CXXCPP $CPPFLAGS'
20840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20843
20844       cat >conftest.$ac_ext <<_ACEOF
20845 #line $LINENO "configure"
20846 /* confdefs.h.  */
20847 _ACEOF
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h.  */
20851 #include <math.h>
20852                       #ifdef HAVE_IEEEFP_H
20853                       #include <ieeefp.h>
20854                       #endif
20855
20856 int
20857 main ()
20858 {
20859  _sqrtl(0);
20860   ;
20861   return 0;
20862 }
20863 _ACEOF
20864 rm -f conftest.$ac_objext
20865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20866   (eval $ac_compile) 2>&5
20867   ac_status=$?
20868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869   (exit $ac_status); } &&
20870          { ac_try='test -s conftest.$ac_objext'
20871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872   (eval $ac_try) 2>&5
20873   ac_status=$?
20874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875   (exit $ac_status); }; }; then
20876   glibcxx_cv_func__sqrtl_use=yes
20877 else
20878   echo "$as_me: failed program was:" >&5
20879 sed 's/^/| /' conftest.$ac_ext >&5
20880
20881 glibcxx_cv_func__sqrtl_use=no
20882 fi
20883 rm -f conftest.$ac_objext conftest.$ac_ext
20884       ac_ext=c
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20889
20890
20891 fi
20892
20893   fi
20894   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20895 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20896
20897     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20898
20899 for ac_func in _sqrtl
20900 do
20901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20902 echo "$as_me:$LINENO: checking for $ac_func" >&5
20903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20904 if eval "test \"\${$as_ac_var+set}\" = set"; then
20905   echo $ECHO_N "(cached) $ECHO_C" >&6
20906 else
20907   if test x$gcc_no_link = xyes; then
20908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20910    { (exit 1); exit 1; }; }
20911 fi
20912 cat >conftest.$ac_ext <<_ACEOF
20913 #line $LINENO "configure"
20914 /* confdefs.h.  */
20915 _ACEOF
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h.  */
20919 /* System header to define __stub macros and hopefully few prototypes,
20920     which can conflict with char $ac_func (); below.
20921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20922     <limits.h> exists even on freestanding compilers.  */
20923 #ifdef __STDC__
20924 # include <limits.h>
20925 #else
20926 # include <assert.h>
20927 #endif
20928 /* Override any gcc2 internal prototype to avoid an error.  */
20929 #ifdef __cplusplus
20930 extern "C"
20931 {
20932 #endif
20933 /* We use char because int might match the return type of a gcc2
20934    builtin and then its argument prototype would still apply.  */
20935 char $ac_func ();
20936 /* The GNU C library defines this for functions which it implements
20937     to always fail with ENOSYS.  Some functions are actually named
20938     something starting with __ and the normal name is an alias.  */
20939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20940 choke me
20941 #else
20942 char (*f) () = $ac_func;
20943 #endif
20944 #ifdef __cplusplus
20945 }
20946 #endif
20947
20948 int
20949 main ()
20950 {
20951 return f != $ac_func;
20952   ;
20953   return 0;
20954 }
20955 _ACEOF
20956 rm -f conftest.$ac_objext conftest$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958   (eval $ac_link) 2>&5
20959   ac_status=$?
20960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961   (exit $ac_status); } &&
20962          { ac_try='test -s conftest$ac_exeext'
20963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964   (eval $ac_try) 2>&5
20965   ac_status=$?
20966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967   (exit $ac_status); }; }; then
20968   eval "$as_ac_var=yes"
20969 else
20970   echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 eval "$as_ac_var=no"
20974 fi
20975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20976 fi
20977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20979 if test `eval echo '${'$as_ac_var'}'` = yes; then
20980   cat >>confdefs.h <<_ACEOF
20981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20982 _ACEOF
20983
20984 fi
20985 done
20986
20987     fi
20988   fi
20989
20990
20991
20992   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20993 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20994   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20995     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20996   echo $ECHO_N "(cached) $ECHO_C" >&6
20997 else
20998
20999
21000
21001       ac_ext=cc
21002 ac_cpp='$CXXCPP $CPPFLAGS'
21003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21006
21007       cat >conftest.$ac_ext <<_ACEOF
21008 #line $LINENO "configure"
21009 /* confdefs.h.  */
21010 _ACEOF
21011 cat confdefs.h >>conftest.$ac_ext
21012 cat >>conftest.$ac_ext <<_ACEOF
21013 /* end confdefs.h.  */
21014 #include <math.h>
21015 int
21016 main ()
21017 {
21018  sincosl(0, 0, 0);
21019   ;
21020   return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025   (eval $ac_compile) 2>&5
21026   ac_status=$?
21027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028   (exit $ac_status); } &&
21029          { ac_try='test -s conftest.$ac_objext'
21030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031   (eval $ac_try) 2>&5
21032   ac_status=$?
21033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034   (exit $ac_status); }; }; then
21035   glibcxx_cv_func_sincosl_use=yes
21036 else
21037   echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 glibcxx_cv_func_sincosl_use=no
21041 fi
21042 rm -f conftest.$ac_objext conftest.$ac_ext
21043       ac_ext=c
21044 ac_cpp='$CPP $CPPFLAGS'
21045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21048
21049
21050 fi
21051
21052   fi
21053   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21054 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21055
21056   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21057
21058 for ac_func in sincosl
21059 do
21060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21061 echo "$as_me:$LINENO: checking for $ac_func" >&5
21062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21063 if eval "test \"\${$as_ac_var+set}\" = set"; then
21064   echo $ECHO_N "(cached) $ECHO_C" >&6
21065 else
21066   if test x$gcc_no_link = xyes; then
21067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21069    { (exit 1); exit 1; }; }
21070 fi
21071 cat >conftest.$ac_ext <<_ACEOF
21072 #line $LINENO "configure"
21073 /* confdefs.h.  */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h.  */
21078 /* System header to define __stub macros and hopefully few prototypes,
21079     which can conflict with char $ac_func (); below.
21080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081     <limits.h> exists even on freestanding compilers.  */
21082 #ifdef __STDC__
21083 # include <limits.h>
21084 #else
21085 # include <assert.h>
21086 #endif
21087 /* Override any gcc2 internal prototype to avoid an error.  */
21088 #ifdef __cplusplus
21089 extern "C"
21090 {
21091 #endif
21092 /* We use char because int might match the return type of a gcc2
21093    builtin and then its argument prototype would still apply.  */
21094 char $ac_func ();
21095 /* The GNU C library defines this for functions which it implements
21096     to always fail with ENOSYS.  Some functions are actually named
21097     something starting with __ and the normal name is an alias.  */
21098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21099 choke me
21100 #else
21101 char (*f) () = $ac_func;
21102 #endif
21103 #ifdef __cplusplus
21104 }
21105 #endif
21106
21107 int
21108 main ()
21109 {
21110 return f != $ac_func;
21111   ;
21112   return 0;
21113 }
21114 _ACEOF
21115 rm -f conftest.$ac_objext conftest$ac_exeext
21116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21117   (eval $ac_link) 2>&5
21118   ac_status=$?
21119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120   (exit $ac_status); } &&
21121          { ac_try='test -s conftest$ac_exeext'
21122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123   (eval $ac_try) 2>&5
21124   ac_status=$?
21125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126   (exit $ac_status); }; }; then
21127   eval "$as_ac_var=yes"
21128 else
21129   echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.$ac_ext >&5
21131
21132 eval "$as_ac_var=no"
21133 fi
21134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21135 fi
21136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21138 if test `eval echo '${'$as_ac_var'}'` = yes; then
21139   cat >>confdefs.h <<_ACEOF
21140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21141 _ACEOF
21142
21143 fi
21144 done
21145
21146   else
21147
21148   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21149 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21150   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21151     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21152   echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21154
21155
21156
21157       ac_ext=cc
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162
21163       cat >conftest.$ac_ext <<_ACEOF
21164 #line $LINENO "configure"
21165 /* confdefs.h.  */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h.  */
21170 #include <math.h>
21171 int
21172 main ()
21173 {
21174  _sincosl(0, 0, 0);
21175   ;
21176   return 0;
21177 }
21178 _ACEOF
21179 rm -f conftest.$ac_objext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21181   (eval $ac_compile) 2>&5
21182   ac_status=$?
21183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184   (exit $ac_status); } &&
21185          { ac_try='test -s conftest.$ac_objext'
21186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187   (eval $ac_try) 2>&5
21188   ac_status=$?
21189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190   (exit $ac_status); }; }; then
21191   glibcxx_cv_func__sincosl_use=yes
21192 else
21193   echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 glibcxx_cv_func__sincosl_use=no
21197 fi
21198 rm -f conftest.$ac_objext conftest.$ac_ext
21199       ac_ext=c
21200 ac_cpp='$CPP $CPPFLAGS'
21201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21204
21205
21206 fi
21207
21208   fi
21209   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21210 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21211
21212     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21213
21214 for ac_func in _sincosl
21215 do
21216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21217 echo "$as_me:$LINENO: checking for $ac_func" >&5
21218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21219 if eval "test \"\${$as_ac_var+set}\" = set"; then
21220   echo $ECHO_N "(cached) $ECHO_C" >&6
21221 else
21222   if test x$gcc_no_link = xyes; then
21223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21225    { (exit 1); exit 1; }; }
21226 fi
21227 cat >conftest.$ac_ext <<_ACEOF
21228 #line $LINENO "configure"
21229 /* confdefs.h.  */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h.  */
21234 /* System header to define __stub macros and hopefully few prototypes,
21235     which can conflict with char $ac_func (); below.
21236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21237     <limits.h> exists even on freestanding compilers.  */
21238 #ifdef __STDC__
21239 # include <limits.h>
21240 #else
21241 # include <assert.h>
21242 #endif
21243 /* Override any gcc2 internal prototype to avoid an error.  */
21244 #ifdef __cplusplus
21245 extern "C"
21246 {
21247 #endif
21248 /* We use char because int might match the return type of a gcc2
21249    builtin and then its argument prototype would still apply.  */
21250 char $ac_func ();
21251 /* The GNU C library defines this for functions which it implements
21252     to always fail with ENOSYS.  Some functions are actually named
21253     something starting with __ and the normal name is an alias.  */
21254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21255 choke me
21256 #else
21257 char (*f) () = $ac_func;
21258 #endif
21259 #ifdef __cplusplus
21260 }
21261 #endif
21262
21263 int
21264 main ()
21265 {
21266 return f != $ac_func;
21267   ;
21268   return 0;
21269 }
21270 _ACEOF
21271 rm -f conftest.$ac_objext conftest$ac_exeext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21273   (eval $ac_link) 2>&5
21274   ac_status=$?
21275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276   (exit $ac_status); } &&
21277          { ac_try='test -s conftest$ac_exeext'
21278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279   (eval $ac_try) 2>&5
21280   ac_status=$?
21281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282   (exit $ac_status); }; }; then
21283   eval "$as_ac_var=yes"
21284 else
21285   echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21287
21288 eval "$as_ac_var=no"
21289 fi
21290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21291 fi
21292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21294 if test `eval echo '${'$as_ac_var'}'` = yes; then
21295   cat >>confdefs.h <<_ACEOF
21296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21297 _ACEOF
21298
21299 fi
21300 done
21301
21302     fi
21303   fi
21304
21305
21306
21307   echo "$as_me:$LINENO: checking for finitel declaration" >&5
21308 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21309   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21310     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21311   echo $ECHO_N "(cached) $ECHO_C" >&6
21312 else
21313
21314
21315
21316       ac_ext=cc
21317 ac_cpp='$CXXCPP $CPPFLAGS'
21318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21321
21322       cat >conftest.$ac_ext <<_ACEOF
21323 #line $LINENO "configure"
21324 /* confdefs.h.  */
21325 _ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h.  */
21329 #include <math.h>
21330                       #ifdef HAVE_IEEEFP_H
21331                       #include <ieeefp.h>
21332                       #endif
21333
21334 int
21335 main ()
21336 {
21337  finitel(0);
21338   ;
21339   return 0;
21340 }
21341 _ACEOF
21342 rm -f conftest.$ac_objext
21343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21344   (eval $ac_compile) 2>&5
21345   ac_status=$?
21346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347   (exit $ac_status); } &&
21348          { ac_try='test -s conftest.$ac_objext'
21349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21350   (eval $ac_try) 2>&5
21351   ac_status=$?
21352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353   (exit $ac_status); }; }; then
21354   glibcxx_cv_func_finitel_use=yes
21355 else
21356   echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.$ac_ext >&5
21358
21359 glibcxx_cv_func_finitel_use=no
21360 fi
21361 rm -f conftest.$ac_objext conftest.$ac_ext
21362       ac_ext=c
21363 ac_cpp='$CPP $CPPFLAGS'
21364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21367
21368
21369 fi
21370
21371   fi
21372   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21373 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21374
21375   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21376
21377 for ac_func in finitel
21378 do
21379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21380 echo "$as_me:$LINENO: checking for $ac_func" >&5
21381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21382 if eval "test \"\${$as_ac_var+set}\" = set"; then
21383   echo $ECHO_N "(cached) $ECHO_C" >&6
21384 else
21385   if test x$gcc_no_link = xyes; then
21386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21388    { (exit 1); exit 1; }; }
21389 fi
21390 cat >conftest.$ac_ext <<_ACEOF
21391 #line $LINENO "configure"
21392 /* confdefs.h.  */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h.  */
21397 /* System header to define __stub macros and hopefully few prototypes,
21398     which can conflict with char $ac_func (); below.
21399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21400     <limits.h> exists even on freestanding compilers.  */
21401 #ifdef __STDC__
21402 # include <limits.h>
21403 #else
21404 # include <assert.h>
21405 #endif
21406 /* Override any gcc2 internal prototype to avoid an error.  */
21407 #ifdef __cplusplus
21408 extern "C"
21409 {
21410 #endif
21411 /* We use char because int might match the return type of a gcc2
21412    builtin and then its argument prototype would still apply.  */
21413 char $ac_func ();
21414 /* The GNU C library defines this for functions which it implements
21415     to always fail with ENOSYS.  Some functions are actually named
21416     something starting with __ and the normal name is an alias.  */
21417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21418 choke me
21419 #else
21420 char (*f) () = $ac_func;
21421 #endif
21422 #ifdef __cplusplus
21423 }
21424 #endif
21425
21426 int
21427 main ()
21428 {
21429 return f != $ac_func;
21430   ;
21431   return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext conftest$ac_exeext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21436   (eval $ac_link) 2>&5
21437   ac_status=$?
21438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439   (exit $ac_status); } &&
21440          { ac_try='test -s conftest$ac_exeext'
21441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442   (eval $ac_try) 2>&5
21443   ac_status=$?
21444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445   (exit $ac_status); }; }; then
21446   eval "$as_ac_var=yes"
21447 else
21448   echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21450
21451 eval "$as_ac_var=no"
21452 fi
21453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21454 fi
21455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21457 if test `eval echo '${'$as_ac_var'}'` = yes; then
21458   cat >>confdefs.h <<_ACEOF
21459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21460 _ACEOF
21461
21462 fi
21463 done
21464
21465   else
21466
21467   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21468 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21469   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21470     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21471   echo $ECHO_N "(cached) $ECHO_C" >&6
21472 else
21473
21474
21475
21476       ac_ext=cc
21477 ac_cpp='$CXXCPP $CPPFLAGS'
21478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21481
21482       cat >conftest.$ac_ext <<_ACEOF
21483 #line $LINENO "configure"
21484 /* confdefs.h.  */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h.  */
21489 #include <math.h>
21490                       #ifdef HAVE_IEEEFP_H
21491                       #include <ieeefp.h>
21492                       #endif
21493
21494 int
21495 main ()
21496 {
21497  _finitel(0);
21498   ;
21499   return 0;
21500 }
21501 _ACEOF
21502 rm -f conftest.$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504   (eval $ac_compile) 2>&5
21505   ac_status=$?
21506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507   (exit $ac_status); } &&
21508          { ac_try='test -s conftest.$ac_objext'
21509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510   (eval $ac_try) 2>&5
21511   ac_status=$?
21512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513   (exit $ac_status); }; }; then
21514   glibcxx_cv_func__finitel_use=yes
21515 else
21516   echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 glibcxx_cv_func__finitel_use=no
21520 fi
21521 rm -f conftest.$ac_objext conftest.$ac_ext
21522       ac_ext=c
21523 ac_cpp='$CPP $CPPFLAGS'
21524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21527
21528
21529 fi
21530
21531   fi
21532   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21533 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21534
21535     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21536
21537 for ac_func in _finitel
21538 do
21539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21540 echo "$as_me:$LINENO: checking for $ac_func" >&5
21541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21542 if eval "test \"\${$as_ac_var+set}\" = set"; then
21543   echo $ECHO_N "(cached) $ECHO_C" >&6
21544 else
21545   if test x$gcc_no_link = xyes; then
21546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21548    { (exit 1); exit 1; }; }
21549 fi
21550 cat >conftest.$ac_ext <<_ACEOF
21551 #line $LINENO "configure"
21552 /* confdefs.h.  */
21553 _ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h.  */
21557 /* System header to define __stub macros and hopefully few prototypes,
21558     which can conflict with char $ac_func (); below.
21559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21560     <limits.h> exists even on freestanding compilers.  */
21561 #ifdef __STDC__
21562 # include <limits.h>
21563 #else
21564 # include <assert.h>
21565 #endif
21566 /* Override any gcc2 internal prototype to avoid an error.  */
21567 #ifdef __cplusplus
21568 extern "C"
21569 {
21570 #endif
21571 /* We use char because int might match the return type of a gcc2
21572    builtin and then its argument prototype would still apply.  */
21573 char $ac_func ();
21574 /* The GNU C library defines this for functions which it implements
21575     to always fail with ENOSYS.  Some functions are actually named
21576     something starting with __ and the normal name is an alias.  */
21577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21578 choke me
21579 #else
21580 char (*f) () = $ac_func;
21581 #endif
21582 #ifdef __cplusplus
21583 }
21584 #endif
21585
21586 int
21587 main ()
21588 {
21589 return f != $ac_func;
21590   ;
21591   return 0;
21592 }
21593 _ACEOF
21594 rm -f conftest.$ac_objext conftest$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596   (eval $ac_link) 2>&5
21597   ac_status=$?
21598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599   (exit $ac_status); } &&
21600          { ac_try='test -s conftest$ac_exeext'
21601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602   (eval $ac_try) 2>&5
21603   ac_status=$?
21604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605   (exit $ac_status); }; }; then
21606   eval "$as_ac_var=yes"
21607 else
21608   echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21610
21611 eval "$as_ac_var=no"
21612 fi
21613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21614 fi
21615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21617 if test `eval echo '${'$as_ac_var'}'` = yes; then
21618   cat >>confdefs.h <<_ACEOF
21619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21620 _ACEOF
21621
21622 fi
21623 done
21624
21625     fi
21626   fi
21627
21628
21629
21630
21631   echo "$as_me:$LINENO: checking for _float trig functions" >&5
21632 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21633   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21634   echo $ECHO_N "(cached) $ECHO_C" >&6
21635 else
21636
21637
21638
21639     ac_ext=cc
21640 ac_cpp='$CXXCPP $CPPFLAGS'
21641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21644
21645     cat >conftest.$ac_ext <<_ACEOF
21646 #line $LINENO "configure"
21647 /* confdefs.h.  */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h.  */
21652 #include <math.h>
21653 int
21654 main ()
21655 {
21656  `for x in _acosf _asinf _atanf \
21657                                           _cosf _sinf _tanf \
21658                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21659   ;
21660   return 0;
21661 }
21662 _ACEOF
21663 rm -f conftest.$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665   (eval $ac_compile) 2>&5
21666   ac_status=$?
21667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668   (exit $ac_status); } &&
21669          { ac_try='test -s conftest.$ac_objext'
21670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671   (eval $ac_try) 2>&5
21672   ac_status=$?
21673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674   (exit $ac_status); }; }; then
21675   glibcxx_cv_func__float_trig_use=yes
21676 else
21677   echo "$as_me: failed program was:" >&5
21678 sed 's/^/| /' conftest.$ac_ext >&5
21679
21680 glibcxx_cv_func__float_trig_use=no
21681 fi
21682 rm -f conftest.$ac_objext conftest.$ac_ext
21683     ac_ext=c
21684 ac_cpp='$CPP $CPPFLAGS'
21685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21688
21689 fi
21690
21691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21692 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21693   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703 for ac_func in _acosf _asinf _atanf \
21704                                           _cosf _sinf _tanf \
21705                                           _coshf _sinhf _tanhf
21706 do
21707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21708 echo "$as_me:$LINENO: checking for $ac_func" >&5
21709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21710 if eval "test \"\${$as_ac_var+set}\" = set"; then
21711   echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21713   if test x$gcc_no_link = xyes; then
21714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21716    { (exit 1); exit 1; }; }
21717 fi
21718 cat >conftest.$ac_ext <<_ACEOF
21719 #line $LINENO "configure"
21720 /* confdefs.h.  */
21721 _ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h.  */
21725 /* System header to define __stub macros and hopefully few prototypes,
21726     which can conflict with char $ac_func (); below.
21727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21728     <limits.h> exists even on freestanding compilers.  */
21729 #ifdef __STDC__
21730 # include <limits.h>
21731 #else
21732 # include <assert.h>
21733 #endif
21734 /* Override any gcc2 internal prototype to avoid an error.  */
21735 #ifdef __cplusplus
21736 extern "C"
21737 {
21738 #endif
21739 /* We use char because int might match the return type of a gcc2
21740    builtin and then its argument prototype would still apply.  */
21741 char $ac_func ();
21742 /* The GNU C library defines this for functions which it implements
21743     to always fail with ENOSYS.  Some functions are actually named
21744     something starting with __ and the normal name is an alias.  */
21745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21746 choke me
21747 #else
21748 char (*f) () = $ac_func;
21749 #endif
21750 #ifdef __cplusplus
21751 }
21752 #endif
21753
21754 int
21755 main ()
21756 {
21757 return f != $ac_func;
21758   ;
21759   return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest.$ac_objext conftest$ac_exeext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21764   (eval $ac_link) 2>&5
21765   ac_status=$?
21766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767   (exit $ac_status); } &&
21768          { ac_try='test -s conftest$ac_exeext'
21769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21770   (eval $ac_try) 2>&5
21771   ac_status=$?
21772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773   (exit $ac_status); }; }; then
21774   eval "$as_ac_var=yes"
21775 else
21776   echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21778
21779 eval "$as_ac_var=no"
21780 fi
21781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21782 fi
21783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21785 if test `eval echo '${'$as_ac_var'}'` = yes; then
21786   cat >>confdefs.h <<_ACEOF
21787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21788 _ACEOF
21789
21790 fi
21791 done
21792
21793   fi
21794
21795
21796   echo "$as_me:$LINENO: checking for _float round functions" >&5
21797 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21798   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21799   echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801
21802
21803
21804     ac_ext=cc
21805 ac_cpp='$CXXCPP $CPPFLAGS'
21806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21809
21810     cat >conftest.$ac_ext <<_ACEOF
21811 #line $LINENO "configure"
21812 /* confdefs.h.  */
21813 _ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h.  */
21817 #include <math.h>
21818 int
21819 main ()
21820 {
21821  `for x in _ceilf _floorf; do echo "$x (0);"; done`
21822   ;
21823   return 0;
21824 }
21825 _ACEOF
21826 rm -f conftest.$ac_objext
21827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21828   (eval $ac_compile) 2>&5
21829   ac_status=$?
21830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831   (exit $ac_status); } &&
21832          { ac_try='test -s conftest.$ac_objext'
21833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834   (eval $ac_try) 2>&5
21835   ac_status=$?
21836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837   (exit $ac_status); }; }; then
21838   glibcxx_cv_func__float_round_use=yes
21839 else
21840   echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.$ac_ext >&5
21842
21843 glibcxx_cv_func__float_round_use=no
21844 fi
21845 rm -f conftest.$ac_objext conftest.$ac_ext
21846     ac_ext=c
21847 ac_cpp='$CPP $CPPFLAGS'
21848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21851
21852 fi
21853
21854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21855 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21856   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21857
21858
21859 for ac_func in _ceilf _floorf
21860 do
21861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21862 echo "$as_me:$LINENO: checking for $ac_func" >&5
21863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21864 if eval "test \"\${$as_ac_var+set}\" = set"; then
21865   echo $ECHO_N "(cached) $ECHO_C" >&6
21866 else
21867   if test x$gcc_no_link = xyes; then
21868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21870    { (exit 1); exit 1; }; }
21871 fi
21872 cat >conftest.$ac_ext <<_ACEOF
21873 #line $LINENO "configure"
21874 /* confdefs.h.  */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h.  */
21879 /* System header to define __stub macros and hopefully few prototypes,
21880     which can conflict with char $ac_func (); below.
21881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21882     <limits.h> exists even on freestanding compilers.  */
21883 #ifdef __STDC__
21884 # include <limits.h>
21885 #else
21886 # include <assert.h>
21887 #endif
21888 /* Override any gcc2 internal prototype to avoid an error.  */
21889 #ifdef __cplusplus
21890 extern "C"
21891 {
21892 #endif
21893 /* We use char because int might match the return type of a gcc2
21894    builtin and then its argument prototype would still apply.  */
21895 char $ac_func ();
21896 /* The GNU C library defines this for functions which it implements
21897     to always fail with ENOSYS.  Some functions are actually named
21898     something starting with __ and the normal name is an alias.  */
21899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21900 choke me
21901 #else
21902 char (*f) () = $ac_func;
21903 #endif
21904 #ifdef __cplusplus
21905 }
21906 #endif
21907
21908 int
21909 main ()
21910 {
21911 return f != $ac_func;
21912   ;
21913   return 0;
21914 }
21915 _ACEOF
21916 rm -f conftest.$ac_objext conftest$ac_exeext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21918   (eval $ac_link) 2>&5
21919   ac_status=$?
21920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921   (exit $ac_status); } &&
21922          { ac_try='test -s conftest$ac_exeext'
21923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924   (eval $ac_try) 2>&5
21925   ac_status=$?
21926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927   (exit $ac_status); }; }; then
21928   eval "$as_ac_var=yes"
21929 else
21930   echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 eval "$as_ac_var=no"
21934 fi
21935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21936 fi
21937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21939 if test `eval echo '${'$as_ac_var'}'` = yes; then
21940   cat >>confdefs.h <<_ACEOF
21941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21942 _ACEOF
21943
21944 fi
21945 done
21946
21947   fi
21948
21949
21950
21951   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21952 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21953   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21954   echo $ECHO_N "(cached) $ECHO_C" >&6
21955 else
21956
21957
21958
21959     ac_ext=cc
21960 ac_cpp='$CXXCPP $CPPFLAGS'
21961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964
21965     cat >conftest.$ac_ext <<_ACEOF
21966 #line $LINENO "configure"
21967 /* confdefs.h.  */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h.  */
21972 #include <math.h>
21973 int
21974 main ()
21975 {
21976  `for x in _acosl _asinl _atanl \
21977                                           _cosl _sinl _tanl \
21978                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21979   ;
21980   return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest.$ac_objext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21985   (eval $ac_compile) 2>&5
21986   ac_status=$?
21987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988   (exit $ac_status); } &&
21989          { ac_try='test -s conftest.$ac_objext'
21990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991   (eval $ac_try) 2>&5
21992   ac_status=$?
21993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994   (exit $ac_status); }; }; then
21995   glibcxx_cv_func__long_double_trig_use=yes
21996 else
21997   echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 glibcxx_cv_func__long_double_trig_use=no
22001 fi
22002 rm -f conftest.$ac_objext conftest.$ac_ext
22003     ac_ext=c
22004 ac_cpp='$CPP $CPPFLAGS'
22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22008
22009 fi
22010
22011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
22012 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
22013   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023 for ac_func in _acosl _asinl _atanl \
22024                                           _cosl _sinl _tanl \
22025                                           _coshl _sinhl _tanhl
22026 do
22027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22028 echo "$as_me:$LINENO: checking for $ac_func" >&5
22029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22030 if eval "test \"\${$as_ac_var+set}\" = set"; then
22031   echo $ECHO_N "(cached) $ECHO_C" >&6
22032 else
22033   if test x$gcc_no_link = xyes; then
22034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036    { (exit 1); exit 1; }; }
22037 fi
22038 cat >conftest.$ac_ext <<_ACEOF
22039 #line $LINENO "configure"
22040 /* confdefs.h.  */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h.  */
22045 /* System header to define __stub macros and hopefully few prototypes,
22046     which can conflict with char $ac_func (); below.
22047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22048     <limits.h> exists even on freestanding compilers.  */
22049 #ifdef __STDC__
22050 # include <limits.h>
22051 #else
22052 # include <assert.h>
22053 #endif
22054 /* Override any gcc2 internal prototype to avoid an error.  */
22055 #ifdef __cplusplus
22056 extern "C"
22057 {
22058 #endif
22059 /* We use char because int might match the return type of a gcc2
22060    builtin and then its argument prototype would still apply.  */
22061 char $ac_func ();
22062 /* The GNU C library defines this for functions which it implements
22063     to always fail with ENOSYS.  Some functions are actually named
22064     something starting with __ and the normal name is an alias.  */
22065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22066 choke me
22067 #else
22068 char (*f) () = $ac_func;
22069 #endif
22070 #ifdef __cplusplus
22071 }
22072 #endif
22073
22074 int
22075 main ()
22076 {
22077 return f != $ac_func;
22078   ;
22079   return 0;
22080 }
22081 _ACEOF
22082 rm -f conftest.$ac_objext conftest$ac_exeext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22084   (eval $ac_link) 2>&5
22085   ac_status=$?
22086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087   (exit $ac_status); } &&
22088          { ac_try='test -s conftest$ac_exeext'
22089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090   (eval $ac_try) 2>&5
22091   ac_status=$?
22092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093   (exit $ac_status); }; }; then
22094   eval "$as_ac_var=yes"
22095 else
22096   echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 eval "$as_ac_var=no"
22100 fi
22101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22102 fi
22103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22105 if test `eval echo '${'$as_ac_var'}'` = yes; then
22106   cat >>confdefs.h <<_ACEOF
22107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22108 _ACEOF
22109
22110 fi
22111 done
22112
22113   fi
22114
22115
22116   echo "$as_me:$LINENO: checking for _long double round functions" >&5
22117 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22118   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22119   echo $ECHO_N "(cached) $ECHO_C" >&6
22120 else
22121
22122
22123
22124     ac_ext=cc
22125 ac_cpp='$CXXCPP $CPPFLAGS'
22126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22129
22130     cat >conftest.$ac_ext <<_ACEOF
22131 #line $LINENO "configure"
22132 /* confdefs.h.  */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h.  */
22137 #include <math.h>
22138 int
22139 main ()
22140 {
22141  `for x in _ceill _floorl; do echo "$x (0);"; done`
22142   ;
22143   return 0;
22144 }
22145 _ACEOF
22146 rm -f conftest.$ac_objext
22147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22148   (eval $ac_compile) 2>&5
22149   ac_status=$?
22150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151   (exit $ac_status); } &&
22152          { ac_try='test -s conftest.$ac_objext'
22153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154   (eval $ac_try) 2>&5
22155   ac_status=$?
22156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157   (exit $ac_status); }; }; then
22158   glibcxx_cv_func__long_double_round_use=yes
22159 else
22160   echo "$as_me: failed program was:" >&5
22161 sed 's/^/| /' conftest.$ac_ext >&5
22162
22163 glibcxx_cv_func__long_double_round_use=no
22164 fi
22165 rm -f conftest.$ac_objext conftest.$ac_ext
22166     ac_ext=c
22167 ac_cpp='$CPP $CPPFLAGS'
22168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22171
22172 fi
22173
22174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22175 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22176   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22177
22178
22179 for ac_func in _ceill _floorl
22180 do
22181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 echo "$as_me:$LINENO: checking for $ac_func" >&5
22183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22184 if eval "test \"\${$as_ac_var+set}\" = set"; then
22185   echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187   if test x$gcc_no_link = xyes; then
22188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22190    { (exit 1); exit 1; }; }
22191 fi
22192 cat >conftest.$ac_ext <<_ACEOF
22193 #line $LINENO "configure"
22194 /* confdefs.h.  */
22195 _ACEOF
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h.  */
22199 /* System header to define __stub macros and hopefully few prototypes,
22200     which can conflict with char $ac_func (); below.
22201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22202     <limits.h> exists even on freestanding compilers.  */
22203 #ifdef __STDC__
22204 # include <limits.h>
22205 #else
22206 # include <assert.h>
22207 #endif
22208 /* Override any gcc2 internal prototype to avoid an error.  */
22209 #ifdef __cplusplus
22210 extern "C"
22211 {
22212 #endif
22213 /* We use char because int might match the return type of a gcc2
22214    builtin and then its argument prototype would still apply.  */
22215 char $ac_func ();
22216 /* The GNU C library defines this for functions which it implements
22217     to always fail with ENOSYS.  Some functions are actually named
22218     something starting with __ and the normal name is an alias.  */
22219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22220 choke me
22221 #else
22222 char (*f) () = $ac_func;
22223 #endif
22224 #ifdef __cplusplus
22225 }
22226 #endif
22227
22228 int
22229 main ()
22230 {
22231 return f != $ac_func;
22232   ;
22233   return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext conftest$ac_exeext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22238   (eval $ac_link) 2>&5
22239   ac_status=$?
22240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241   (exit $ac_status); } &&
22242          { ac_try='test -s conftest$ac_exeext'
22243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244   (eval $ac_try) 2>&5
22245   ac_status=$?
22246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247   (exit $ac_status); }; }; then
22248   eval "$as_ac_var=yes"
22249 else
22250   echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22252
22253 eval "$as_ac_var=no"
22254 fi
22255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22256 fi
22257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22259 if test `eval echo '${'$as_ac_var'}'` = yes; then
22260   cat >>confdefs.h <<_ACEOF
22261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22262 _ACEOF
22263
22264 fi
22265 done
22266
22267   fi
22268
22269
22270   LIBS="$ac_save_LIBS"
22271   CXXFLAGS="$ac_save_CXXFLAGS"
22272
22273
22274
22275   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22276 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22277   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22278     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22279   echo $ECHO_N "(cached) $ECHO_C" >&6
22280 else
22281
22282
22283
22284       ac_ext=cc
22285 ac_cpp='$CXXCPP $CPPFLAGS'
22286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22289
22290       cat >conftest.$ac_ext <<_ACEOF
22291 #line $LINENO "configure"
22292 /* confdefs.h.  */
22293 _ACEOF
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h.  */
22297 #include <math.h>
22298 int
22299 main ()
22300 {
22301  __builtin_abs(0);
22302   ;
22303   return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308   (eval $ac_compile) 2>&5
22309   ac_status=$?
22310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311   (exit $ac_status); } &&
22312          { ac_try='test -s conftest.$ac_objext'
22313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314   (eval $ac_try) 2>&5
22315   ac_status=$?
22316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317   (exit $ac_status); }; }; then
22318   glibcxx_cv_func___builtin_abs_use=yes
22319 else
22320   echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 glibcxx_cv_func___builtin_abs_use=no
22324 fi
22325 rm -f conftest.$ac_objext conftest.$ac_ext
22326       ac_ext=c
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22331
22332
22333 fi
22334
22335   fi
22336   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22337 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22338   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22339     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22340 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22341     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22342       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22343   echo $ECHO_N "(cached) $ECHO_C" >&6
22344 else
22345
22346         if test x$gcc_no_link = xyes; then
22347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22349    { (exit 1); exit 1; }; }
22350 fi
22351 cat >conftest.$ac_ext <<_ACEOF
22352 #line $LINENO "configure"
22353 /* confdefs.h.  */
22354 _ACEOF
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h.  */
22358 #include <math.h>
22359 int
22360 main ()
22361 {
22362  __builtin_abs(0);
22363   ;
22364   return 0;
22365 }
22366 _ACEOF
22367 rm -f conftest.$ac_objext conftest$ac_exeext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22369   (eval $ac_link) 2>&5
22370   ac_status=$?
22371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372   (exit $ac_status); } &&
22373          { ac_try='test -s conftest$ac_exeext'
22374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375   (eval $ac_try) 2>&5
22376   ac_status=$?
22377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378   (exit $ac_status); }; }; then
22379   glibcxx_cv_func___builtin_abs_link=yes
22380 else
22381   echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22383
22384 glibcxx_cv_func___builtin_abs_link=no
22385 fi
22386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22387
22388 fi
22389
22390     fi
22391     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22392 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22393     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22394       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22395       cat >>confdefs.h <<_ACEOF
22396 #define ${ac_tr_func} 1
22397 _ACEOF
22398
22399     fi
22400   fi
22401
22402
22403   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22404 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22405   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22406     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22407   echo $ECHO_N "(cached) $ECHO_C" >&6
22408 else
22409
22410
22411
22412       ac_ext=cc
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417
22418       cat >conftest.$ac_ext <<_ACEOF
22419 #line $LINENO "configure"
22420 /* confdefs.h.  */
22421 _ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h.  */
22425 #include <math.h>
22426 int
22427 main ()
22428 {
22429  __builtin_fabsf(0);
22430   ;
22431   return 0;
22432 }
22433 _ACEOF
22434 rm -f conftest.$ac_objext
22435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22436   (eval $ac_compile) 2>&5
22437   ac_status=$?
22438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439   (exit $ac_status); } &&
22440          { ac_try='test -s conftest.$ac_objext'
22441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442   (eval $ac_try) 2>&5
22443   ac_status=$?
22444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445   (exit $ac_status); }; }; then
22446   glibcxx_cv_func___builtin_fabsf_use=yes
22447 else
22448   echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.$ac_ext >&5
22450
22451 glibcxx_cv_func___builtin_fabsf_use=no
22452 fi
22453 rm -f conftest.$ac_objext conftest.$ac_ext
22454       ac_ext=c
22455 ac_cpp='$CPP $CPPFLAGS'
22456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22459
22460
22461 fi
22462
22463   fi
22464   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22465 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22466   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22467     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22468 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22469     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22470       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22471   echo $ECHO_N "(cached) $ECHO_C" >&6
22472 else
22473
22474         if test x$gcc_no_link = xyes; then
22475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22477    { (exit 1); exit 1; }; }
22478 fi
22479 cat >conftest.$ac_ext <<_ACEOF
22480 #line $LINENO "configure"
22481 /* confdefs.h.  */
22482 _ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h.  */
22486 #include <math.h>
22487 int
22488 main ()
22489 {
22490  __builtin_fabsf(0);
22491   ;
22492   return 0;
22493 }
22494 _ACEOF
22495 rm -f conftest.$ac_objext conftest$ac_exeext
22496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22497   (eval $ac_link) 2>&5
22498   ac_status=$?
22499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500   (exit $ac_status); } &&
22501          { ac_try='test -s conftest$ac_exeext'
22502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503   (eval $ac_try) 2>&5
22504   ac_status=$?
22505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506   (exit $ac_status); }; }; then
22507   glibcxx_cv_func___builtin_fabsf_link=yes
22508 else
22509   echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22511
22512 glibcxx_cv_func___builtin_fabsf_link=no
22513 fi
22514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22515
22516 fi
22517
22518     fi
22519     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22520 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22521     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22522       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22523       cat >>confdefs.h <<_ACEOF
22524 #define ${ac_tr_func} 1
22525 _ACEOF
22526
22527     fi
22528   fi
22529
22530
22531   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22532 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22533   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22534     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22535   echo $ECHO_N "(cached) $ECHO_C" >&6
22536 else
22537
22538
22539
22540       ac_ext=cc
22541 ac_cpp='$CXXCPP $CPPFLAGS'
22542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22545
22546       cat >conftest.$ac_ext <<_ACEOF
22547 #line $LINENO "configure"
22548 /* confdefs.h.  */
22549 _ACEOF
22550 cat confdefs.h >>conftest.$ac_ext
22551 cat >>conftest.$ac_ext <<_ACEOF
22552 /* end confdefs.h.  */
22553 #include <math.h>
22554 int
22555 main ()
22556 {
22557  __builtin_fabs(0);
22558   ;
22559   return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22564   (eval $ac_compile) 2>&5
22565   ac_status=$?
22566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567   (exit $ac_status); } &&
22568          { ac_try='test -s conftest.$ac_objext'
22569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570   (eval $ac_try) 2>&5
22571   ac_status=$?
22572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573   (exit $ac_status); }; }; then
22574   glibcxx_cv_func___builtin_fabs_use=yes
22575 else
22576   echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 glibcxx_cv_func___builtin_fabs_use=no
22580 fi
22581 rm -f conftest.$ac_objext conftest.$ac_ext
22582       ac_ext=c
22583 ac_cpp='$CPP $CPPFLAGS'
22584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22587
22588
22589 fi
22590
22591   fi
22592   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22593 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22594   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22595     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22596 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22597     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22598       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22599   echo $ECHO_N "(cached) $ECHO_C" >&6
22600 else
22601
22602         if test x$gcc_no_link = xyes; then
22603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22605    { (exit 1); exit 1; }; }
22606 fi
22607 cat >conftest.$ac_ext <<_ACEOF
22608 #line $LINENO "configure"
22609 /* confdefs.h.  */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h.  */
22614 #include <math.h>
22615 int
22616 main ()
22617 {
22618  __builtin_fabs(0);
22619   ;
22620   return 0;
22621 }
22622 _ACEOF
22623 rm -f conftest.$ac_objext conftest$ac_exeext
22624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22625   (eval $ac_link) 2>&5
22626   ac_status=$?
22627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628   (exit $ac_status); } &&
22629          { ac_try='test -s conftest$ac_exeext'
22630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22631   (eval $ac_try) 2>&5
22632   ac_status=$?
22633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634   (exit $ac_status); }; }; then
22635   glibcxx_cv_func___builtin_fabs_link=yes
22636 else
22637   echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22639
22640 glibcxx_cv_func___builtin_fabs_link=no
22641 fi
22642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22643
22644 fi
22645
22646     fi
22647     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22648 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22649     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22650       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22651       cat >>confdefs.h <<_ACEOF
22652 #define ${ac_tr_func} 1
22653 _ACEOF
22654
22655     fi
22656   fi
22657
22658
22659   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22660 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22661   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22662     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22663   echo $ECHO_N "(cached) $ECHO_C" >&6
22664 else
22665
22666
22667
22668       ac_ext=cc
22669 ac_cpp='$CXXCPP $CPPFLAGS'
22670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22673
22674       cat >conftest.$ac_ext <<_ACEOF
22675 #line $LINENO "configure"
22676 /* confdefs.h.  */
22677 _ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h.  */
22681 #include <math.h>
22682 int
22683 main ()
22684 {
22685  __builtin_fabsl(0);
22686   ;
22687   return 0;
22688 }
22689 _ACEOF
22690 rm -f conftest.$ac_objext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22692   (eval $ac_compile) 2>&5
22693   ac_status=$?
22694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695   (exit $ac_status); } &&
22696          { ac_try='test -s conftest.$ac_objext'
22697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698   (eval $ac_try) 2>&5
22699   ac_status=$?
22700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701   (exit $ac_status); }; }; then
22702   glibcxx_cv_func___builtin_fabsl_use=yes
22703 else
22704   echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22706
22707 glibcxx_cv_func___builtin_fabsl_use=no
22708 fi
22709 rm -f conftest.$ac_objext conftest.$ac_ext
22710       ac_ext=c
22711 ac_cpp='$CPP $CPPFLAGS'
22712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22715
22716
22717 fi
22718
22719   fi
22720   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22721 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22722   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22723     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22724 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22725     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22726       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22727   echo $ECHO_N "(cached) $ECHO_C" >&6
22728 else
22729
22730         if test x$gcc_no_link = xyes; then
22731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22733    { (exit 1); exit 1; }; }
22734 fi
22735 cat >conftest.$ac_ext <<_ACEOF
22736 #line $LINENO "configure"
22737 /* confdefs.h.  */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h.  */
22742 #include <math.h>
22743 int
22744 main ()
22745 {
22746  __builtin_fabsl(0);
22747   ;
22748   return 0;
22749 }
22750 _ACEOF
22751 rm -f conftest.$ac_objext conftest$ac_exeext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22753   (eval $ac_link) 2>&5
22754   ac_status=$?
22755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756   (exit $ac_status); } &&
22757          { ac_try='test -s conftest$ac_exeext'
22758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759   (eval $ac_try) 2>&5
22760   ac_status=$?
22761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762   (exit $ac_status); }; }; then
22763   glibcxx_cv_func___builtin_fabsl_link=yes
22764 else
22765   echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22767
22768 glibcxx_cv_func___builtin_fabsl_link=no
22769 fi
22770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22771
22772 fi
22773
22774     fi
22775     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22776 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22777     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22778       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22779       cat >>confdefs.h <<_ACEOF
22780 #define ${ac_tr_func} 1
22781 _ACEOF
22782
22783     fi
22784   fi
22785
22786
22787   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22788 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22789   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22790     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22791   echo $ECHO_N "(cached) $ECHO_C" >&6
22792 else
22793
22794
22795
22796       ac_ext=cc
22797 ac_cpp='$CXXCPP $CPPFLAGS'
22798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801
22802       cat >conftest.$ac_ext <<_ACEOF
22803 #line $LINENO "configure"
22804 /* confdefs.h.  */
22805 _ACEOF
22806 cat confdefs.h >>conftest.$ac_ext
22807 cat >>conftest.$ac_ext <<_ACEOF
22808 /* end confdefs.h.  */
22809 #include <math.h>
22810 int
22811 main ()
22812 {
22813  __builtin_labs(0);
22814   ;
22815   return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext
22819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22820   (eval $ac_compile) 2>&5
22821   ac_status=$?
22822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823   (exit $ac_status); } &&
22824          { ac_try='test -s conftest.$ac_objext'
22825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826   (eval $ac_try) 2>&5
22827   ac_status=$?
22828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829   (exit $ac_status); }; }; then
22830   glibcxx_cv_func___builtin_labs_use=yes
22831 else
22832   echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22834
22835 glibcxx_cv_func___builtin_labs_use=no
22836 fi
22837 rm -f conftest.$ac_objext conftest.$ac_ext
22838       ac_ext=c
22839 ac_cpp='$CPP $CPPFLAGS'
22840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22843
22844
22845 fi
22846
22847   fi
22848   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22849 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22850   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22851     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22852 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22853     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22854       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22855   echo $ECHO_N "(cached) $ECHO_C" >&6
22856 else
22857
22858         if test x$gcc_no_link = xyes; then
22859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22861    { (exit 1); exit 1; }; }
22862 fi
22863 cat >conftest.$ac_ext <<_ACEOF
22864 #line $LINENO "configure"
22865 /* confdefs.h.  */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h.  */
22870 #include <math.h>
22871 int
22872 main ()
22873 {
22874  __builtin_labs(0);
22875   ;
22876   return 0;
22877 }
22878 _ACEOF
22879 rm -f conftest.$ac_objext conftest$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881   (eval $ac_link) 2>&5
22882   ac_status=$?
22883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884   (exit $ac_status); } &&
22885          { ac_try='test -s conftest$ac_exeext'
22886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887   (eval $ac_try) 2>&5
22888   ac_status=$?
22889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890   (exit $ac_status); }; }; then
22891   glibcxx_cv_func___builtin_labs_link=yes
22892 else
22893   echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 glibcxx_cv_func___builtin_labs_link=no
22897 fi
22898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22899
22900 fi
22901
22902     fi
22903     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22904 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22905     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22906       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22907       cat >>confdefs.h <<_ACEOF
22908 #define ${ac_tr_func} 1
22909 _ACEOF
22910
22911     fi
22912   fi
22913
22914
22915
22916   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22917 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22918   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22919     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22920   echo $ECHO_N "(cached) $ECHO_C" >&6
22921 else
22922
22923
22924
22925       ac_ext=cc
22926 ac_cpp='$CXXCPP $CPPFLAGS'
22927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22930
22931       cat >conftest.$ac_ext <<_ACEOF
22932 #line $LINENO "configure"
22933 /* confdefs.h.  */
22934 _ACEOF
22935 cat confdefs.h >>conftest.$ac_ext
22936 cat >>conftest.$ac_ext <<_ACEOF
22937 /* end confdefs.h.  */
22938 #include <math.h>
22939 int
22940 main ()
22941 {
22942  __builtin_sqrtf(0);
22943   ;
22944   return 0;
22945 }
22946 _ACEOF
22947 rm -f conftest.$ac_objext
22948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22949   (eval $ac_compile) 2>&5
22950   ac_status=$?
22951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952   (exit $ac_status); } &&
22953          { ac_try='test -s conftest.$ac_objext'
22954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955   (eval $ac_try) 2>&5
22956   ac_status=$?
22957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958   (exit $ac_status); }; }; then
22959   glibcxx_cv_func___builtin_sqrtf_use=yes
22960 else
22961   echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.$ac_ext >&5
22963
22964 glibcxx_cv_func___builtin_sqrtf_use=no
22965 fi
22966 rm -f conftest.$ac_objext conftest.$ac_ext
22967       ac_ext=c
22968 ac_cpp='$CPP $CPPFLAGS'
22969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22972
22973
22974 fi
22975
22976   fi
22977   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22978 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22979   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22980     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22981 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22982     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22983       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22984   echo $ECHO_N "(cached) $ECHO_C" >&6
22985 else
22986
22987         if test x$gcc_no_link = xyes; then
22988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22990    { (exit 1); exit 1; }; }
22991 fi
22992 cat >conftest.$ac_ext <<_ACEOF
22993 #line $LINENO "configure"
22994 /* confdefs.h.  */
22995 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h.  */
22999 #include <math.h>
23000 int
23001 main ()
23002 {
23003  __builtin_sqrtf(0);
23004   ;
23005   return 0;
23006 }
23007 _ACEOF
23008 rm -f conftest.$ac_objext conftest$ac_exeext
23009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23010   (eval $ac_link) 2>&5
23011   ac_status=$?
23012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013   (exit $ac_status); } &&
23014          { ac_try='test -s conftest$ac_exeext'
23015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016   (eval $ac_try) 2>&5
23017   ac_status=$?
23018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019   (exit $ac_status); }; }; then
23020   glibcxx_cv_func___builtin_sqrtf_link=yes
23021 else
23022   echo "$as_me: failed program was:" >&5
23023 sed 's/^/| /' conftest.$ac_ext >&5
23024
23025 glibcxx_cv_func___builtin_sqrtf_link=no
23026 fi
23027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23028
23029 fi
23030
23031     fi
23032     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23033 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23034     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23035       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23036       cat >>confdefs.h <<_ACEOF
23037 #define ${ac_tr_func} 1
23038 _ACEOF
23039
23040     fi
23041   fi
23042
23043
23044   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23045 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23046   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23047     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23048   echo $ECHO_N "(cached) $ECHO_C" >&6
23049 else
23050
23051
23052
23053       ac_ext=cc
23054 ac_cpp='$CXXCPP $CPPFLAGS'
23055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23058
23059       cat >conftest.$ac_ext <<_ACEOF
23060 #line $LINENO "configure"
23061 /* confdefs.h.  */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h.  */
23066 #include <math.h>
23067 int
23068 main ()
23069 {
23070  __builtin_sqrt(0);
23071   ;
23072   return 0;
23073 }
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077   (eval $ac_compile) 2>&5
23078   ac_status=$?
23079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080   (exit $ac_status); } &&
23081          { ac_try='test -s conftest.$ac_objext'
23082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083   (eval $ac_try) 2>&5
23084   ac_status=$?
23085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086   (exit $ac_status); }; }; then
23087   glibcxx_cv_func___builtin_sqrt_use=yes
23088 else
23089   echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23091
23092 glibcxx_cv_func___builtin_sqrt_use=no
23093 fi
23094 rm -f conftest.$ac_objext conftest.$ac_ext
23095       ac_ext=c
23096 ac_cpp='$CPP $CPPFLAGS'
23097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23100
23101
23102 fi
23103
23104   fi
23105   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23107   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23108     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23109 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23110     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23111       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23112   echo $ECHO_N "(cached) $ECHO_C" >&6
23113 else
23114
23115         if test x$gcc_no_link = xyes; then
23116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23118    { (exit 1); exit 1; }; }
23119 fi
23120 cat >conftest.$ac_ext <<_ACEOF
23121 #line $LINENO "configure"
23122 /* confdefs.h.  */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h.  */
23127 #include <math.h>
23128 int
23129 main ()
23130 {
23131  __builtin_sqrt(0);
23132   ;
23133   return 0;
23134 }
23135 _ACEOF
23136 rm -f conftest.$ac_objext conftest$ac_exeext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23138   (eval $ac_link) 2>&5
23139   ac_status=$?
23140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141   (exit $ac_status); } &&
23142          { ac_try='test -s conftest$ac_exeext'
23143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144   (eval $ac_try) 2>&5
23145   ac_status=$?
23146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147   (exit $ac_status); }; }; then
23148   glibcxx_cv_func___builtin_sqrt_link=yes
23149 else
23150   echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23152
23153 glibcxx_cv_func___builtin_sqrt_link=no
23154 fi
23155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23156
23157 fi
23158
23159     fi
23160     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23161 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23162     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23163       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23164       cat >>confdefs.h <<_ACEOF
23165 #define ${ac_tr_func} 1
23166 _ACEOF
23167
23168     fi
23169   fi
23170
23171
23172   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23173 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23174   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23175     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23176   echo $ECHO_N "(cached) $ECHO_C" >&6
23177 else
23178
23179
23180
23181       ac_ext=cc
23182 ac_cpp='$CXXCPP $CPPFLAGS'
23183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23186
23187       cat >conftest.$ac_ext <<_ACEOF
23188 #line $LINENO "configure"
23189 /* confdefs.h.  */
23190 _ACEOF
23191 cat confdefs.h >>conftest.$ac_ext
23192 cat >>conftest.$ac_ext <<_ACEOF
23193 /* end confdefs.h.  */
23194 #include <math.h>
23195 int
23196 main ()
23197 {
23198  __builtin_sqrtl(0);
23199   ;
23200   return 0;
23201 }
23202 _ACEOF
23203 rm -f conftest.$ac_objext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23205   (eval $ac_compile) 2>&5
23206   ac_status=$?
23207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208   (exit $ac_status); } &&
23209          { ac_try='test -s conftest.$ac_objext'
23210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23211   (eval $ac_try) 2>&5
23212   ac_status=$?
23213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214   (exit $ac_status); }; }; then
23215   glibcxx_cv_func___builtin_sqrtl_use=yes
23216 else
23217   echo "$as_me: failed program was:" >&5
23218 sed 's/^/| /' conftest.$ac_ext >&5
23219
23220 glibcxx_cv_func___builtin_sqrtl_use=no
23221 fi
23222 rm -f conftest.$ac_objext conftest.$ac_ext
23223       ac_ext=c
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23228
23229
23230 fi
23231
23232   fi
23233   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23234 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23235   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23236     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23237 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23238     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23239       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23240   echo $ECHO_N "(cached) $ECHO_C" >&6
23241 else
23242
23243         if test x$gcc_no_link = xyes; then
23244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23246    { (exit 1); exit 1; }; }
23247 fi
23248 cat >conftest.$ac_ext <<_ACEOF
23249 #line $LINENO "configure"
23250 /* confdefs.h.  */
23251 _ACEOF
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h.  */
23255 #include <math.h>
23256 int
23257 main ()
23258 {
23259  __builtin_sqrtl(0);
23260   ;
23261   return 0;
23262 }
23263 _ACEOF
23264 rm -f conftest.$ac_objext conftest$ac_exeext
23265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23266   (eval $ac_link) 2>&5
23267   ac_status=$?
23268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269   (exit $ac_status); } &&
23270          { ac_try='test -s conftest$ac_exeext'
23271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272   (eval $ac_try) 2>&5
23273   ac_status=$?
23274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275   (exit $ac_status); }; }; then
23276   glibcxx_cv_func___builtin_sqrtl_link=yes
23277 else
23278   echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23280
23281 glibcxx_cv_func___builtin_sqrtl_link=no
23282 fi
23283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23284
23285 fi
23286
23287     fi
23288     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23289 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23290     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23291       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23292       cat >>confdefs.h <<_ACEOF
23293 #define ${ac_tr_func} 1
23294 _ACEOF
23295
23296     fi
23297   fi
23298
23299
23300
23301   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23302 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23303   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23304     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23305   echo $ECHO_N "(cached) $ECHO_C" >&6
23306 else
23307
23308
23309
23310       ac_ext=cc
23311 ac_cpp='$CXXCPP $CPPFLAGS'
23312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23315
23316       cat >conftest.$ac_ext <<_ACEOF
23317 #line $LINENO "configure"
23318 /* confdefs.h.  */
23319 _ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h.  */
23323 #include <math.h>
23324 int
23325 main ()
23326 {
23327  __builtin_sinf(0);
23328   ;
23329   return 0;
23330 }
23331 _ACEOF
23332 rm -f conftest.$ac_objext
23333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23334   (eval $ac_compile) 2>&5
23335   ac_status=$?
23336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337   (exit $ac_status); } &&
23338          { ac_try='test -s conftest.$ac_objext'
23339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340   (eval $ac_try) 2>&5
23341   ac_status=$?
23342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343   (exit $ac_status); }; }; then
23344   glibcxx_cv_func___builtin_sinf_use=yes
23345 else
23346   echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23348
23349 glibcxx_cv_func___builtin_sinf_use=no
23350 fi
23351 rm -f conftest.$ac_objext conftest.$ac_ext
23352       ac_ext=c
23353 ac_cpp='$CPP $CPPFLAGS'
23354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23357
23358
23359 fi
23360
23361   fi
23362   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23363 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23364   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23365     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23366 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23367     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23368       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23369   echo $ECHO_N "(cached) $ECHO_C" >&6
23370 else
23371
23372         if test x$gcc_no_link = xyes; then
23373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23375    { (exit 1); exit 1; }; }
23376 fi
23377 cat >conftest.$ac_ext <<_ACEOF
23378 #line $LINENO "configure"
23379 /* confdefs.h.  */
23380 _ACEOF
23381 cat confdefs.h >>conftest.$ac_ext
23382 cat >>conftest.$ac_ext <<_ACEOF
23383 /* end confdefs.h.  */
23384 #include <math.h>
23385 int
23386 main ()
23387 {
23388  __builtin_sinf(0);
23389   ;
23390   return 0;
23391 }
23392 _ACEOF
23393 rm -f conftest.$ac_objext conftest$ac_exeext
23394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23395   (eval $ac_link) 2>&5
23396   ac_status=$?
23397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398   (exit $ac_status); } &&
23399          { ac_try='test -s conftest$ac_exeext'
23400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401   (eval $ac_try) 2>&5
23402   ac_status=$?
23403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404   (exit $ac_status); }; }; then
23405   glibcxx_cv_func___builtin_sinf_link=yes
23406 else
23407   echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.$ac_ext >&5
23409
23410 glibcxx_cv_func___builtin_sinf_link=no
23411 fi
23412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23413
23414 fi
23415
23416     fi
23417     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23418 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23419     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23420       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23421       cat >>confdefs.h <<_ACEOF
23422 #define ${ac_tr_func} 1
23423 _ACEOF
23424
23425     fi
23426   fi
23427
23428
23429   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23430 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23431   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23432     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23433   echo $ECHO_N "(cached) $ECHO_C" >&6
23434 else
23435
23436
23437
23438       ac_ext=cc
23439 ac_cpp='$CXXCPP $CPPFLAGS'
23440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23443
23444       cat >conftest.$ac_ext <<_ACEOF
23445 #line $LINENO "configure"
23446 /* confdefs.h.  */
23447 _ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h.  */
23451 #include <math.h>
23452 int
23453 main ()
23454 {
23455  __builtin_sin(0);
23456   ;
23457   return 0;
23458 }
23459 _ACEOF
23460 rm -f conftest.$ac_objext
23461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23462   (eval $ac_compile) 2>&5
23463   ac_status=$?
23464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465   (exit $ac_status); } &&
23466          { ac_try='test -s conftest.$ac_objext'
23467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23468   (eval $ac_try) 2>&5
23469   ac_status=$?
23470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471   (exit $ac_status); }; }; then
23472   glibcxx_cv_func___builtin_sin_use=yes
23473 else
23474   echo "$as_me: failed program was:" >&5
23475 sed 's/^/| /' conftest.$ac_ext >&5
23476
23477 glibcxx_cv_func___builtin_sin_use=no
23478 fi
23479 rm -f conftest.$ac_objext conftest.$ac_ext
23480       ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487 fi
23488
23489   fi
23490   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23491 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23492   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23493     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23494 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23495     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23496       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23497   echo $ECHO_N "(cached) $ECHO_C" >&6
23498 else
23499
23500         if test x$gcc_no_link = xyes; then
23501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23503    { (exit 1); exit 1; }; }
23504 fi
23505 cat >conftest.$ac_ext <<_ACEOF
23506 #line $LINENO "configure"
23507 /* confdefs.h.  */
23508 _ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h.  */
23512 #include <math.h>
23513 int
23514 main ()
23515 {
23516  __builtin_sin(0);
23517   ;
23518   return 0;
23519 }
23520 _ACEOF
23521 rm -f conftest.$ac_objext conftest$ac_exeext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23523   (eval $ac_link) 2>&5
23524   ac_status=$?
23525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526   (exit $ac_status); } &&
23527          { ac_try='test -s conftest$ac_exeext'
23528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529   (eval $ac_try) 2>&5
23530   ac_status=$?
23531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532   (exit $ac_status); }; }; then
23533   glibcxx_cv_func___builtin_sin_link=yes
23534 else
23535   echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538 glibcxx_cv_func___builtin_sin_link=no
23539 fi
23540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23541
23542 fi
23543
23544     fi
23545     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23547     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23548       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23549       cat >>confdefs.h <<_ACEOF
23550 #define ${ac_tr_func} 1
23551 _ACEOF
23552
23553     fi
23554   fi
23555
23556
23557   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23558 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23559   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23560     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23561   echo $ECHO_N "(cached) $ECHO_C" >&6
23562 else
23563
23564
23565
23566       ac_ext=cc
23567 ac_cpp='$CXXCPP $CPPFLAGS'
23568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23571
23572       cat >conftest.$ac_ext <<_ACEOF
23573 #line $LINENO "configure"
23574 /* confdefs.h.  */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h.  */
23579 #include <math.h>
23580 int
23581 main ()
23582 {
23583  __builtin_sinl(0);
23584   ;
23585   return 0;
23586 }
23587 _ACEOF
23588 rm -f conftest.$ac_objext
23589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23590   (eval $ac_compile) 2>&5
23591   ac_status=$?
23592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593   (exit $ac_status); } &&
23594          { ac_try='test -s conftest.$ac_objext'
23595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596   (eval $ac_try) 2>&5
23597   ac_status=$?
23598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599   (exit $ac_status); }; }; then
23600   glibcxx_cv_func___builtin_sinl_use=yes
23601 else
23602   echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 glibcxx_cv_func___builtin_sinl_use=no
23606 fi
23607 rm -f conftest.$ac_objext conftest.$ac_ext
23608       ac_ext=c
23609 ac_cpp='$CPP $CPPFLAGS'
23610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23613
23614
23615 fi
23616
23617   fi
23618   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23619 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23620   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23621     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23622 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23623     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23624       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23625   echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627
23628         if test x$gcc_no_link = xyes; then
23629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23631    { (exit 1); exit 1; }; }
23632 fi
23633 cat >conftest.$ac_ext <<_ACEOF
23634 #line $LINENO "configure"
23635 /* confdefs.h.  */
23636 _ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h.  */
23640 #include <math.h>
23641 int
23642 main ()
23643 {
23644  __builtin_sinl(0);
23645   ;
23646   return 0;
23647 }
23648 _ACEOF
23649 rm -f conftest.$ac_objext conftest$ac_exeext
23650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23651   (eval $ac_link) 2>&5
23652   ac_status=$?
23653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654   (exit $ac_status); } &&
23655          { ac_try='test -s conftest$ac_exeext'
23656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657   (eval $ac_try) 2>&5
23658   ac_status=$?
23659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660   (exit $ac_status); }; }; then
23661   glibcxx_cv_func___builtin_sinl_link=yes
23662 else
23663   echo "$as_me: failed program was:" >&5
23664 sed 's/^/| /' conftest.$ac_ext >&5
23665
23666 glibcxx_cv_func___builtin_sinl_link=no
23667 fi
23668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23669
23670 fi
23671
23672     fi
23673     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23675     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23676       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23677       cat >>confdefs.h <<_ACEOF
23678 #define ${ac_tr_func} 1
23679 _ACEOF
23680
23681     fi
23682   fi
23683
23684
23685
23686   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23687 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23688   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23689     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23690   echo $ECHO_N "(cached) $ECHO_C" >&6
23691 else
23692
23693
23694
23695       ac_ext=cc
23696 ac_cpp='$CXXCPP $CPPFLAGS'
23697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23700
23701       cat >conftest.$ac_ext <<_ACEOF
23702 #line $LINENO "configure"
23703 /* confdefs.h.  */
23704 _ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h.  */
23708 #include <math.h>
23709 int
23710 main ()
23711 {
23712  __builtin_cosf(0);
23713   ;
23714   return 0;
23715 }
23716 _ACEOF
23717 rm -f conftest.$ac_objext
23718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23719   (eval $ac_compile) 2>&5
23720   ac_status=$?
23721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722   (exit $ac_status); } &&
23723          { ac_try='test -s conftest.$ac_objext'
23724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23725   (eval $ac_try) 2>&5
23726   ac_status=$?
23727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728   (exit $ac_status); }; }; then
23729   glibcxx_cv_func___builtin_cosf_use=yes
23730 else
23731   echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.$ac_ext >&5
23733
23734 glibcxx_cv_func___builtin_cosf_use=no
23735 fi
23736 rm -f conftest.$ac_objext conftest.$ac_ext
23737       ac_ext=c
23738 ac_cpp='$CPP $CPPFLAGS'
23739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23742
23743
23744 fi
23745
23746   fi
23747   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23748 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23749   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23750     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23751 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23752     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23753       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23754   echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756
23757         if test x$gcc_no_link = xyes; then
23758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23760    { (exit 1); exit 1; }; }
23761 fi
23762 cat >conftest.$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23764 /* confdefs.h.  */
23765 _ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h.  */
23769 #include <math.h>
23770 int
23771 main ()
23772 {
23773  __builtin_cosf(0);
23774   ;
23775   return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext conftest$ac_exeext
23779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23780   (eval $ac_link) 2>&5
23781   ac_status=$?
23782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783   (exit $ac_status); } &&
23784          { ac_try='test -s conftest$ac_exeext'
23785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786   (eval $ac_try) 2>&5
23787   ac_status=$?
23788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789   (exit $ac_status); }; }; then
23790   glibcxx_cv_func___builtin_cosf_link=yes
23791 else
23792   echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23794
23795 glibcxx_cv_func___builtin_cosf_link=no
23796 fi
23797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23798
23799 fi
23800
23801     fi
23802     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23803 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23804     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23805       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23806       cat >>confdefs.h <<_ACEOF
23807 #define ${ac_tr_func} 1
23808 _ACEOF
23809
23810     fi
23811   fi
23812
23813
23814   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23815 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23816   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23817     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23818   echo $ECHO_N "(cached) $ECHO_C" >&6
23819 else
23820
23821
23822
23823       ac_ext=cc
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828
23829       cat >conftest.$ac_ext <<_ACEOF
23830 #line $LINENO "configure"
23831 /* confdefs.h.  */
23832 _ACEOF
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h.  */
23836 #include <math.h>
23837 int
23838 main ()
23839 {
23840  __builtin_cos(0);
23841   ;
23842   return 0;
23843 }
23844 _ACEOF
23845 rm -f conftest.$ac_objext
23846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23847   (eval $ac_compile) 2>&5
23848   ac_status=$?
23849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850   (exit $ac_status); } &&
23851          { ac_try='test -s conftest.$ac_objext'
23852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853   (eval $ac_try) 2>&5
23854   ac_status=$?
23855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856   (exit $ac_status); }; }; then
23857   glibcxx_cv_func___builtin_cos_use=yes
23858 else
23859   echo "$as_me: failed program was:" >&5
23860 sed 's/^/| /' conftest.$ac_ext >&5
23861
23862 glibcxx_cv_func___builtin_cos_use=no
23863 fi
23864 rm -f conftest.$ac_objext conftest.$ac_ext
23865       ac_ext=c
23866 ac_cpp='$CPP $CPPFLAGS'
23867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23870
23871
23872 fi
23873
23874   fi
23875   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23876 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23877   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23878     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23879 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23880     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23881       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23882   echo $ECHO_N "(cached) $ECHO_C" >&6
23883 else
23884
23885         if test x$gcc_no_link = xyes; then
23886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23888    { (exit 1); exit 1; }; }
23889 fi
23890 cat >conftest.$ac_ext <<_ACEOF
23891 #line $LINENO "configure"
23892 /* confdefs.h.  */
23893 _ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h.  */
23897 #include <math.h>
23898 int
23899 main ()
23900 {
23901  __builtin_cos(0);
23902   ;
23903   return 0;
23904 }
23905 _ACEOF
23906 rm -f conftest.$ac_objext conftest$ac_exeext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23908   (eval $ac_link) 2>&5
23909   ac_status=$?
23910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911   (exit $ac_status); } &&
23912          { ac_try='test -s conftest$ac_exeext'
23913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914   (eval $ac_try) 2>&5
23915   ac_status=$?
23916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917   (exit $ac_status); }; }; then
23918   glibcxx_cv_func___builtin_cos_link=yes
23919 else
23920   echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.$ac_ext >&5
23922
23923 glibcxx_cv_func___builtin_cos_link=no
23924 fi
23925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23926
23927 fi
23928
23929     fi
23930     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23931 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23932     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23933       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23934       cat >>confdefs.h <<_ACEOF
23935 #define ${ac_tr_func} 1
23936 _ACEOF
23937
23938     fi
23939   fi
23940
23941
23942   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23943 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23944   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23945     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23946   echo $ECHO_N "(cached) $ECHO_C" >&6
23947 else
23948
23949
23950
23951       ac_ext=cc
23952 ac_cpp='$CXXCPP $CPPFLAGS'
23953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23956
23957       cat >conftest.$ac_ext <<_ACEOF
23958 #line $LINENO "configure"
23959 /* confdefs.h.  */
23960 _ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h.  */
23964 #include <math.h>
23965 int
23966 main ()
23967 {
23968  __builtin_cosl(0);
23969   ;
23970   return 0;
23971 }
23972 _ACEOF
23973 rm -f conftest.$ac_objext
23974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23975   (eval $ac_compile) 2>&5
23976   ac_status=$?
23977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978   (exit $ac_status); } &&
23979          { ac_try='test -s conftest.$ac_objext'
23980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981   (eval $ac_try) 2>&5
23982   ac_status=$?
23983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984   (exit $ac_status); }; }; then
23985   glibcxx_cv_func___builtin_cosl_use=yes
23986 else
23987   echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23989
23990 glibcxx_cv_func___builtin_cosl_use=no
23991 fi
23992 rm -f conftest.$ac_objext conftest.$ac_ext
23993       ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23998
23999
24000 fi
24001
24002   fi
24003   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
24004 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
24005   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
24006     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
24007 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
24008     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
24009       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
24010   echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012
24013         if test x$gcc_no_link = xyes; then
24014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24016    { (exit 1); exit 1; }; }
24017 fi
24018 cat >conftest.$ac_ext <<_ACEOF
24019 #line $LINENO "configure"
24020 /* confdefs.h.  */
24021 _ACEOF
24022 cat confdefs.h >>conftest.$ac_ext
24023 cat >>conftest.$ac_ext <<_ACEOF
24024 /* end confdefs.h.  */
24025 #include <math.h>
24026 int
24027 main ()
24028 {
24029  __builtin_cosl(0);
24030   ;
24031   return 0;
24032 }
24033 _ACEOF
24034 rm -f conftest.$ac_objext conftest$ac_exeext
24035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24036   (eval $ac_link) 2>&5
24037   ac_status=$?
24038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039   (exit $ac_status); } &&
24040          { ac_try='test -s conftest$ac_exeext'
24041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042   (eval $ac_try) 2>&5
24043   ac_status=$?
24044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045   (exit $ac_status); }; }; then
24046   glibcxx_cv_func___builtin_cosl_link=yes
24047 else
24048   echo "$as_me: failed program was:" >&5
24049 sed 's/^/| /' conftest.$ac_ext >&5
24050
24051 glibcxx_cv_func___builtin_cosl_link=no
24052 fi
24053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24054
24055 fi
24056
24057     fi
24058     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24059 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24060     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24061       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24062       cat >>confdefs.h <<_ACEOF
24063 #define ${ac_tr_func} 1
24064 _ACEOF
24065
24066     fi
24067   fi
24068
24069
24070               dummyvar=no
24071   if test x$dummyvar = x"yes"; then
24072     cat >>confdefs.h <<\_ACEOF
24073 #define HAVE___BUILTIN_ABS 1
24074 _ACEOF
24075
24076     cat >>confdefs.h <<\_ACEOF
24077 #define HAVE___BUILTIN_LABS 1
24078 _ACEOF
24079
24080     cat >>confdefs.h <<\_ACEOF
24081 #define HAVE___BUILTIN_COS 1
24082 _ACEOF
24083
24084     cat >>confdefs.h <<\_ACEOF
24085 #define HAVE___BUILTIN_COSF 1
24086 _ACEOF
24087
24088     cat >>confdefs.h <<\_ACEOF
24089 #define HAVE___BUILTIN_COSL 1
24090 _ACEOF
24091
24092     cat >>confdefs.h <<\_ACEOF
24093 #define HAVE___BUILTIN_FABS 1
24094 _ACEOF
24095
24096     cat >>confdefs.h <<\_ACEOF
24097 #define HAVE___BUILTIN_FABSF 1
24098 _ACEOF
24099
24100     cat >>confdefs.h <<\_ACEOF
24101 #define HAVE___BUILTIN_FABSL 1
24102 _ACEOF
24103
24104     cat >>confdefs.h <<\_ACEOF
24105 #define HAVE___BUILTIN_SIN 1
24106 _ACEOF
24107
24108     cat >>confdefs.h <<\_ACEOF
24109 #define HAVE___BUILTIN_SINF 1
24110 _ACEOF
24111
24112     cat >>confdefs.h <<\_ACEOF
24113 #define HAVE___BUILTIN_SINL 1
24114 _ACEOF
24115
24116     cat >>confdefs.h <<\_ACEOF
24117 #define HAVE___BUILTIN_SQRT 1
24118 _ACEOF
24119
24120     cat >>confdefs.h <<\_ACEOF
24121 #define HAVE___BUILTIN_SQRTF 1
24122 _ACEOF
24123
24124     cat >>confdefs.h <<\_ACEOF
24125 #define HAVE___BUILTIN_SQRTL 1
24126 _ACEOF
24127
24128   fi
24129
24130
24131
24132 echo "$as_me:$LINENO: checking for main in -lm" >&5
24133 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24134 if test "${ac_cv_lib_m_main+set}" = set; then
24135   echo $ECHO_N "(cached) $ECHO_C" >&6
24136 else
24137   ac_check_lib_save_LIBS=$LIBS
24138 LIBS="-lm  $LIBS"
24139 if test x$gcc_no_link = xyes; then
24140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24142    { (exit 1); exit 1; }; }
24143 fi
24144 cat >conftest.$ac_ext <<_ACEOF
24145 #line $LINENO "configure"
24146 /* confdefs.h.  */
24147 _ACEOF
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h.  */
24151
24152
24153 int
24154 main ()
24155 {
24156 main ();
24157   ;
24158   return 0;
24159 }
24160 _ACEOF
24161 rm -f conftest.$ac_objext conftest$ac_exeext
24162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24163   (eval $ac_link) 2>&5
24164   ac_status=$?
24165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166   (exit $ac_status); } &&
24167          { ac_try='test -s conftest$ac_exeext'
24168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169   (eval $ac_try) 2>&5
24170   ac_status=$?
24171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172   (exit $ac_status); }; }; then
24173   ac_cv_lib_m_main=yes
24174 else
24175   echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.$ac_ext >&5
24177
24178 ac_cv_lib_m_main=no
24179 fi
24180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24181 LIBS=$ac_check_lib_save_LIBS
24182 fi
24183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24184 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24185 if test $ac_cv_lib_m_main = yes; then
24186   cat >>confdefs.h <<_ACEOF
24187 #define HAVE_LIBM 1
24188 _ACEOF
24189
24190   LIBS="-lm $LIBS"
24191
24192 fi
24193
24194
24195
24196 for ac_func in nan copysignf
24197 do
24198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 echo "$as_me:$LINENO: checking for $ac_func" >&5
24200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24201 if eval "test \"\${$as_ac_var+set}\" = set"; then
24202   echo $ECHO_N "(cached) $ECHO_C" >&6
24203 else
24204   if test x$gcc_no_link = xyes; then
24205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24207    { (exit 1); exit 1; }; }
24208 fi
24209 cat >conftest.$ac_ext <<_ACEOF
24210 #line $LINENO "configure"
24211 /* confdefs.h.  */
24212 _ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h.  */
24216 /* System header to define __stub macros and hopefully few prototypes,
24217     which can conflict with char $ac_func (); below.
24218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24219     <limits.h> exists even on freestanding compilers.  */
24220 #ifdef __STDC__
24221 # include <limits.h>
24222 #else
24223 # include <assert.h>
24224 #endif
24225 /* Override any gcc2 internal prototype to avoid an error.  */
24226 #ifdef __cplusplus
24227 extern "C"
24228 {
24229 #endif
24230 /* We use char because int might match the return type of a gcc2
24231    builtin and then its argument prototype would still apply.  */
24232 char $ac_func ();
24233 /* The GNU C library defines this for functions which it implements
24234     to always fail with ENOSYS.  Some functions are actually named
24235     something starting with __ and the normal name is an alias.  */
24236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24237 choke me
24238 #else
24239 char (*f) () = $ac_func;
24240 #endif
24241 #ifdef __cplusplus
24242 }
24243 #endif
24244
24245 int
24246 main ()
24247 {
24248 return f != $ac_func;
24249   ;
24250   return 0;
24251 }
24252 _ACEOF
24253 rm -f conftest.$ac_objext conftest$ac_exeext
24254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24255   (eval $ac_link) 2>&5
24256   ac_status=$?
24257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258   (exit $ac_status); } &&
24259          { ac_try='test -s conftest$ac_exeext'
24260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24261   (eval $ac_try) 2>&5
24262   ac_status=$?
24263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264   (exit $ac_status); }; }; then
24265   eval "$as_ac_var=yes"
24266 else
24267   echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.$ac_ext >&5
24269
24270 eval "$as_ac_var=no"
24271 fi
24272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24273 fi
24274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24276 if test `eval echo '${'$as_ac_var'}'` = yes; then
24277   cat >>confdefs.h <<_ACEOF
24278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24279 _ACEOF
24280
24281 else
24282   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24283 fi
24284 done
24285
24286
24287
24288 for ac_func in __signbit
24289 do
24290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24291 echo "$as_me:$LINENO: checking for $ac_func" >&5
24292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24293 if eval "test \"\${$as_ac_var+set}\" = set"; then
24294   echo $ECHO_N "(cached) $ECHO_C" >&6
24295 else
24296   if test x$gcc_no_link = xyes; then
24297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24299    { (exit 1); exit 1; }; }
24300 fi
24301 cat >conftest.$ac_ext <<_ACEOF
24302 #line $LINENO "configure"
24303 /* confdefs.h.  */
24304 _ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h.  */
24308 /* System header to define __stub macros and hopefully few prototypes,
24309     which can conflict with char $ac_func (); below.
24310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24311     <limits.h> exists even on freestanding compilers.  */
24312 #ifdef __STDC__
24313 # include <limits.h>
24314 #else
24315 # include <assert.h>
24316 #endif
24317 /* Override any gcc2 internal prototype to avoid an error.  */
24318 #ifdef __cplusplus
24319 extern "C"
24320 {
24321 #endif
24322 /* We use char because int might match the return type of a gcc2
24323    builtin and then its argument prototype would still apply.  */
24324 char $ac_func ();
24325 /* The GNU C library defines this for functions which it implements
24326     to always fail with ENOSYS.  Some functions are actually named
24327     something starting with __ and the normal name is an alias.  */
24328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24329 choke me
24330 #else
24331 char (*f) () = $ac_func;
24332 #endif
24333 #ifdef __cplusplus
24334 }
24335 #endif
24336
24337 int
24338 main ()
24339 {
24340 return f != $ac_func;
24341   ;
24342   return 0;
24343 }
24344 _ACEOF
24345 rm -f conftest.$ac_objext conftest$ac_exeext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24347   (eval $ac_link) 2>&5
24348   ac_status=$?
24349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350   (exit $ac_status); } &&
24351          { ac_try='test -s conftest$ac_exeext'
24352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353   (eval $ac_try) 2>&5
24354   ac_status=$?
24355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356   (exit $ac_status); }; }; then
24357   eval "$as_ac_var=yes"
24358 else
24359   echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24361
24362 eval "$as_ac_var=no"
24363 fi
24364 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24365 fi
24366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24368 if test `eval echo '${'$as_ac_var'}'` = yes; then
24369   cat >>confdefs.h <<_ACEOF
24370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24371 _ACEOF
24372
24373 else
24374   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24375 fi
24376 done
24377
24378
24379 for ac_func in __signbitf
24380 do
24381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24382 echo "$as_me:$LINENO: checking for $ac_func" >&5
24383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24384 if eval "test \"\${$as_ac_var+set}\" = set"; then
24385   echo $ECHO_N "(cached) $ECHO_C" >&6
24386 else
24387   if test x$gcc_no_link = xyes; then
24388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24390    { (exit 1); exit 1; }; }
24391 fi
24392 cat >conftest.$ac_ext <<_ACEOF
24393 #line $LINENO "configure"
24394 /* confdefs.h.  */
24395 _ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h.  */
24399 /* System header to define __stub macros and hopefully few prototypes,
24400     which can conflict with char $ac_func (); below.
24401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24402     <limits.h> exists even on freestanding compilers.  */
24403 #ifdef __STDC__
24404 # include <limits.h>
24405 #else
24406 # include <assert.h>
24407 #endif
24408 /* Override any gcc2 internal prototype to avoid an error.  */
24409 #ifdef __cplusplus
24410 extern "C"
24411 {
24412 #endif
24413 /* We use char because int might match the return type of a gcc2
24414    builtin and then its argument prototype would still apply.  */
24415 char $ac_func ();
24416 /* The GNU C library defines this for functions which it implements
24417     to always fail with ENOSYS.  Some functions are actually named
24418     something starting with __ and the normal name is an alias.  */
24419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24420 choke me
24421 #else
24422 char (*f) () = $ac_func;
24423 #endif
24424 #ifdef __cplusplus
24425 }
24426 #endif
24427
24428 int
24429 main ()
24430 {
24431 return f != $ac_func;
24432   ;
24433   return 0;
24434 }
24435 _ACEOF
24436 rm -f conftest.$ac_objext conftest$ac_exeext
24437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24438   (eval $ac_link) 2>&5
24439   ac_status=$?
24440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441   (exit $ac_status); } &&
24442          { ac_try='test -s conftest$ac_exeext'
24443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444   (eval $ac_try) 2>&5
24445   ac_status=$?
24446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447   (exit $ac_status); }; }; then
24448   eval "$as_ac_var=yes"
24449 else
24450   echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 eval "$as_ac_var=no"
24454 fi
24455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24456 fi
24457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24459 if test `eval echo '${'$as_ac_var'}'` = yes; then
24460   cat >>confdefs.h <<_ACEOF
24461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24462 _ACEOF
24463
24464 else
24465   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24466 fi
24467 done
24468
24469
24470           if test x$ac_cv_func_copysignl = x"yes"; then
24471
24472 for ac_func in __signbitl
24473 do
24474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24475 echo "$as_me:$LINENO: checking for $ac_func" >&5
24476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24477 if eval "test \"\${$as_ac_var+set}\" = set"; then
24478   echo $ECHO_N "(cached) $ECHO_C" >&6
24479 else
24480   if test x$gcc_no_link = xyes; then
24481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24483    { (exit 1); exit 1; }; }
24484 fi
24485 cat >conftest.$ac_ext <<_ACEOF
24486 #line $LINENO "configure"
24487 /* confdefs.h.  */
24488 _ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h.  */
24492 /* System header to define __stub macros and hopefully few prototypes,
24493     which can conflict with char $ac_func (); below.
24494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24495     <limits.h> exists even on freestanding compilers.  */
24496 #ifdef __STDC__
24497 # include <limits.h>
24498 #else
24499 # include <assert.h>
24500 #endif
24501 /* Override any gcc2 internal prototype to avoid an error.  */
24502 #ifdef __cplusplus
24503 extern "C"
24504 {
24505 #endif
24506 /* We use char because int might match the return type of a gcc2
24507    builtin and then its argument prototype would still apply.  */
24508 char $ac_func ();
24509 /* The GNU C library defines this for functions which it implements
24510     to always fail with ENOSYS.  Some functions are actually named
24511     something starting with __ and the normal name is an alias.  */
24512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24513 choke me
24514 #else
24515 char (*f) () = $ac_func;
24516 #endif
24517 #ifdef __cplusplus
24518 }
24519 #endif
24520
24521 int
24522 main ()
24523 {
24524 return f != $ac_func;
24525   ;
24526   return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest.$ac_objext conftest$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531   (eval $ac_link) 2>&5
24532   ac_status=$?
24533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534   (exit $ac_status); } &&
24535          { ac_try='test -s conftest$ac_exeext'
24536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537   (eval $ac_try) 2>&5
24538   ac_status=$?
24539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540   (exit $ac_status); }; }; then
24541   eval "$as_ac_var=yes"
24542 else
24543   echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24545
24546 eval "$as_ac_var=no"
24547 fi
24548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24549 fi
24550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24552 if test `eval echo '${'$as_ac_var'}'` = yes; then
24553   cat >>confdefs.h <<_ACEOF
24554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24555 _ACEOF
24556
24557 else
24558   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24559 fi
24560 done
24561
24562   fi
24563
24564   # XXX Review this.  Nothing uses it.
24565   if test -n "$LIBMATHOBJS"; then
24566     need_libmath=yes
24567   fi
24568
24569
24570
24571   # Test wchar.h for mbstate_t, which is needed for char_traits and
24572   # others even if wchar_t support is not on.
24573   echo "$as_me:$LINENO: checking for mbstate_t" >&5
24574 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24575   cat >conftest.$ac_ext <<_ACEOF
24576 #line $LINENO "configure"
24577 /* confdefs.h.  */
24578 _ACEOF
24579 cat confdefs.h >>conftest.$ac_ext
24580 cat >>conftest.$ac_ext <<_ACEOF
24581 /* end confdefs.h.  */
24582 #include <wchar.h>
24583 int
24584 main ()
24585 {
24586 mbstate_t teststate;
24587   ;
24588   return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593   (eval $ac_compile) 2>&5
24594   ac_status=$?
24595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596   (exit $ac_status); } &&
24597          { ac_try='test -s conftest.$ac_objext'
24598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599   (eval $ac_try) 2>&5
24600   ac_status=$?
24601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602   (exit $ac_status); }; }; then
24603   have_mbstate_t=yes
24604 else
24605   echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.$ac_ext >&5
24607
24608 have_mbstate_t=no
24609 fi
24610 rm -f conftest.$ac_objext conftest.$ac_ext
24611   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24612 echo "${ECHO_T}$have_mbstate_t" >&6
24613   if test x"$have_mbstate_t" = xyes; then
24614     cat >>confdefs.h <<\_ACEOF
24615 #define HAVE_MBSTATE_T 1
24616 _ACEOF
24617
24618   fi
24619
24620   # Sanity check for existence of ISO C99 headers for extended encoding.
24621
24622 for ac_header in wchar.h
24623 do
24624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24626   echo "$as_me:$LINENO: checking for $ac_header" >&5
24627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24629   echo $ECHO_N "(cached) $ECHO_C" >&6
24630 fi
24631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24633 else
24634   # Is the header compilable?
24635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24637 cat >conftest.$ac_ext <<_ACEOF
24638 #line $LINENO "configure"
24639 /* confdefs.h.  */
24640 _ACEOF
24641 cat confdefs.h >>conftest.$ac_ext
24642 cat >>conftest.$ac_ext <<_ACEOF
24643 /* end confdefs.h.  */
24644 $ac_includes_default
24645 #include <$ac_header>
24646 _ACEOF
24647 rm -f conftest.$ac_objext
24648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24649   (eval $ac_compile) 2>&5
24650   ac_status=$?
24651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652   (exit $ac_status); } &&
24653          { ac_try='test -s conftest.$ac_objext'
24654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655   (eval $ac_try) 2>&5
24656   ac_status=$?
24657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658   (exit $ac_status); }; }; then
24659   ac_header_compiler=yes
24660 else
24661   echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664 ac_header_compiler=no
24665 fi
24666 rm -f conftest.$ac_objext conftest.$ac_ext
24667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24668 echo "${ECHO_T}$ac_header_compiler" >&6
24669
24670 # Is the header present?
24671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24673 cat >conftest.$ac_ext <<_ACEOF
24674 #line $LINENO "configure"
24675 /* confdefs.h.  */
24676 _ACEOF
24677 cat confdefs.h >>conftest.$ac_ext
24678 cat >>conftest.$ac_ext <<_ACEOF
24679 /* end confdefs.h.  */
24680 #include <$ac_header>
24681 _ACEOF
24682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24683   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24684   ac_status=$?
24685   grep -v '^ *+' conftest.er1 >conftest.err
24686   rm -f conftest.er1
24687   cat conftest.err >&5
24688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689   (exit $ac_status); } >/dev/null; then
24690   if test -s conftest.err; then
24691     ac_cpp_err=$ac_c_preproc_warn_flag
24692   else
24693     ac_cpp_err=
24694   fi
24695 else
24696   ac_cpp_err=yes
24697 fi
24698 if test -z "$ac_cpp_err"; then
24699   ac_header_preproc=yes
24700 else
24701   echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24703
24704   ac_header_preproc=no
24705 fi
24706 rm -f conftest.err conftest.$ac_ext
24707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24708 echo "${ECHO_T}$ac_header_preproc" >&6
24709
24710 # So?  What about this header?
24711 case $ac_header_compiler:$ac_header_preproc in
24712   yes:no )
24713     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24715     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24717     (
24718       cat <<\_ASBOX
24719 ## ------------------------------------ ##
24720 ## Report this to bug-autoconf@gnu.org. ##
24721 ## ------------------------------------ ##
24722 _ASBOX
24723     ) |
24724       sed "s/^/$as_me: WARNING:     /" >&2
24725     ;;
24726   no:yes )
24727     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24729     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24731     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24733     (
24734       cat <<\_ASBOX
24735 ## ------------------------------------ ##
24736 ## Report this to bug-autoconf@gnu.org. ##
24737 ## ------------------------------------ ##
24738 _ASBOX
24739     ) |
24740       sed "s/^/$as_me: WARNING:     /" >&2
24741     ;;
24742 esac
24743 echo "$as_me:$LINENO: checking for $ac_header" >&5
24744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24746   echo $ECHO_N "(cached) $ECHO_C" >&6
24747 else
24748   eval "$as_ac_Header=$ac_header_preproc"
24749 fi
24750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24752
24753 fi
24754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24755   cat >>confdefs.h <<_ACEOF
24756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24757 _ACEOF
24758  ac_has_wchar_h=yes
24759 else
24760   ac_has_wchar_h=no
24761 fi
24762
24763 done
24764
24765
24766 for ac_header in wctype.h
24767 do
24768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24770   echo "$as_me:$LINENO: checking for $ac_header" >&5
24771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24773   echo $ECHO_N "(cached) $ECHO_C" >&6
24774 fi
24775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24777 else
24778   # Is the header compilable?
24779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24781 cat >conftest.$ac_ext <<_ACEOF
24782 #line $LINENO "configure"
24783 /* confdefs.h.  */
24784 _ACEOF
24785 cat confdefs.h >>conftest.$ac_ext
24786 cat >>conftest.$ac_ext <<_ACEOF
24787 /* end confdefs.h.  */
24788 $ac_includes_default
24789 #include <$ac_header>
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793   (eval $ac_compile) 2>&5
24794   ac_status=$?
24795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796   (exit $ac_status); } &&
24797          { ac_try='test -s conftest.$ac_objext'
24798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799   (eval $ac_try) 2>&5
24800   ac_status=$?
24801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802   (exit $ac_status); }; }; then
24803   ac_header_compiler=yes
24804 else
24805   echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24807
24808 ac_header_compiler=no
24809 fi
24810 rm -f conftest.$ac_objext conftest.$ac_ext
24811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24812 echo "${ECHO_T}$ac_header_compiler" >&6
24813
24814 # Is the header present?
24815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24817 cat >conftest.$ac_ext <<_ACEOF
24818 #line $LINENO "configure"
24819 /* confdefs.h.  */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h.  */
24824 #include <$ac_header>
24825 _ACEOF
24826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24827   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24828   ac_status=$?
24829   grep -v '^ *+' conftest.er1 >conftest.err
24830   rm -f conftest.er1
24831   cat conftest.err >&5
24832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833   (exit $ac_status); } >/dev/null; then
24834   if test -s conftest.err; then
24835     ac_cpp_err=$ac_c_preproc_warn_flag
24836   else
24837     ac_cpp_err=
24838   fi
24839 else
24840   ac_cpp_err=yes
24841 fi
24842 if test -z "$ac_cpp_err"; then
24843   ac_header_preproc=yes
24844 else
24845   echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24847
24848   ac_header_preproc=no
24849 fi
24850 rm -f conftest.err conftest.$ac_ext
24851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24852 echo "${ECHO_T}$ac_header_preproc" >&6
24853
24854 # So?  What about this header?
24855 case $ac_header_compiler:$ac_header_preproc in
24856   yes:no )
24857     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24859     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24861     (
24862       cat <<\_ASBOX
24863 ## ------------------------------------ ##
24864 ## Report this to bug-autoconf@gnu.org. ##
24865 ## ------------------------------------ ##
24866 _ASBOX
24867     ) |
24868       sed "s/^/$as_me: WARNING:     /" >&2
24869     ;;
24870   no:yes )
24871     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24873     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24875     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24877     (
24878       cat <<\_ASBOX
24879 ## ------------------------------------ ##
24880 ## Report this to bug-autoconf@gnu.org. ##
24881 ## ------------------------------------ ##
24882 _ASBOX
24883     ) |
24884       sed "s/^/$as_me: WARNING:     /" >&2
24885     ;;
24886 esac
24887 echo "$as_me:$LINENO: checking for $ac_header" >&5
24888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24890   echo $ECHO_N "(cached) $ECHO_C" >&6
24891 else
24892   eval "$as_ac_Header=$ac_header_preproc"
24893 fi
24894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24896
24897 fi
24898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24899   cat >>confdefs.h <<_ACEOF
24900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24901 _ACEOF
24902  ac_has_wctype_h=yes
24903 else
24904   ac_has_wctype_h=no
24905 fi
24906
24907 done
24908
24909
24910   # Only continue checking if the ISO C99 headers exist and support is on.
24911   if test x"$ac_has_wchar_h" = xyes &&
24912      test x"$ac_has_wctype_h" = xyes &&
24913      test x"$enable_c_mbchar" != xno; then
24914
24915     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24916     # numeric_limits can instantiate type_traits<wchar_t>
24917     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24918 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24919     cat >conftest.$ac_ext <<_ACEOF
24920 #line $LINENO "configure"
24921 /* confdefs.h.  */
24922 _ACEOF
24923 cat confdefs.h >>conftest.$ac_ext
24924 cat >>conftest.$ac_ext <<_ACEOF
24925 /* end confdefs.h.  */
24926 #include <wchar.h>
24927 int
24928 main ()
24929 {
24930 int i = WCHAR_MIN; int j = WCHAR_MAX;
24931   ;
24932   return 0;
24933 }
24934 _ACEOF
24935 rm -f conftest.$ac_objext
24936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24937   (eval $ac_compile) 2>&5
24938   ac_status=$?
24939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940   (exit $ac_status); } &&
24941          { ac_try='test -s conftest.$ac_objext'
24942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943   (eval $ac_try) 2>&5
24944   ac_status=$?
24945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946   (exit $ac_status); }; }; then
24947   has_wchar_minmax=yes
24948 else
24949   echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 has_wchar_minmax=no
24953 fi
24954 rm -f conftest.$ac_objext conftest.$ac_ext
24955     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24956 echo "${ECHO_T}$has_wchar_minmax" >&6
24957
24958     # Test wchar.h for WEOF, which is what we use to determine whether
24959     # to specialize for char_traits<wchar_t> or not.
24960     echo "$as_me:$LINENO: checking for WEOF" >&5
24961 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24962     cat >conftest.$ac_ext <<_ACEOF
24963 #line $LINENO "configure"
24964 /* confdefs.h.  */
24965 _ACEOF
24966 cat confdefs.h >>conftest.$ac_ext
24967 cat >>conftest.$ac_ext <<_ACEOF
24968 /* end confdefs.h.  */
24969
24970       #include <wchar.h>
24971       #include <stddef.h>
24972 int
24973 main ()
24974 {
24975 wint_t i = WEOF;
24976   ;
24977   return 0;
24978 }
24979 _ACEOF
24980 rm -f conftest.$ac_objext
24981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24982   (eval $ac_compile) 2>&5
24983   ac_status=$?
24984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985   (exit $ac_status); } &&
24986          { ac_try='test -s conftest.$ac_objext'
24987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24988   (eval $ac_try) 2>&5
24989   ac_status=$?
24990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991   (exit $ac_status); }; }; then
24992   has_weof=yes
24993 else
24994   echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24996
24997 has_weof=no
24998 fi
24999 rm -f conftest.$ac_objext conftest.$ac_ext
25000     echo "$as_me:$LINENO: result: $has_weof" >&5
25001 echo "${ECHO_T}$has_weof" >&6
25002
25003     # Tests for wide character functions used in char_traits<wchar_t>.
25004     ac_wfuncs=yes
25005
25006
25007
25008
25009
25010
25011 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
25012 do
25013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017   echo $ECHO_N "(cached) $ECHO_C" >&6
25018 else
25019   if test x$gcc_no_link = xyes; then
25020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25022    { (exit 1); exit 1; }; }
25023 fi
25024 cat >conftest.$ac_ext <<_ACEOF
25025 #line $LINENO "configure"
25026 /* confdefs.h.  */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h.  */
25031 /* System header to define __stub macros and hopefully few prototypes,
25032     which can conflict with char $ac_func (); below.
25033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25034     <limits.h> exists even on freestanding compilers.  */
25035 #ifdef __STDC__
25036 # include <limits.h>
25037 #else
25038 # include <assert.h>
25039 #endif
25040 /* Override any gcc2 internal prototype to avoid an error.  */
25041 #ifdef __cplusplus
25042 extern "C"
25043 {
25044 #endif
25045 /* We use char because int might match the return type of a gcc2
25046    builtin and then its argument prototype would still apply.  */
25047 char $ac_func ();
25048 /* The GNU C library defines this for functions which it implements
25049     to always fail with ENOSYS.  Some functions are actually named
25050     something starting with __ and the normal name is an alias.  */
25051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25052 choke me
25053 #else
25054 char (*f) () = $ac_func;
25055 #endif
25056 #ifdef __cplusplus
25057 }
25058 #endif
25059
25060 int
25061 main ()
25062 {
25063 return f != $ac_func;
25064   ;
25065   return 0;
25066 }
25067 _ACEOF
25068 rm -f conftest.$ac_objext conftest$ac_exeext
25069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25070   (eval $ac_link) 2>&5
25071   ac_status=$?
25072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073   (exit $ac_status); } &&
25074          { ac_try='test -s conftest$ac_exeext'
25075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076   (eval $ac_try) 2>&5
25077   ac_status=$?
25078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079   (exit $ac_status); }; }; then
25080   eval "$as_ac_var=yes"
25081 else
25082   echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 eval "$as_ac_var=no"
25086 fi
25087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25088 fi
25089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25091 if test `eval echo '${'$as_ac_var'}'` = yes; then
25092   cat >>confdefs.h <<_ACEOF
25093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25094 _ACEOF
25095
25096 else
25097   ac_wfuncs=no
25098 fi
25099 done
25100
25101
25102     # Checks for names injected into std:: by the c_std headers.
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
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25150     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25151     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25152     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25153     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25154     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25155 do
25156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25157 echo "$as_me:$LINENO: checking for $ac_func" >&5
25158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25159 if eval "test \"\${$as_ac_var+set}\" = set"; then
25160   echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162   if test x$gcc_no_link = xyes; then
25163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25165    { (exit 1); exit 1; }; }
25166 fi
25167 cat >conftest.$ac_ext <<_ACEOF
25168 #line $LINENO "configure"
25169 /* confdefs.h.  */
25170 _ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h.  */
25174 /* System header to define __stub macros and hopefully few prototypes,
25175     which can conflict with char $ac_func (); below.
25176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25177     <limits.h> exists even on freestanding compilers.  */
25178 #ifdef __STDC__
25179 # include <limits.h>
25180 #else
25181 # include <assert.h>
25182 #endif
25183 /* Override any gcc2 internal prototype to avoid an error.  */
25184 #ifdef __cplusplus
25185 extern "C"
25186 {
25187 #endif
25188 /* We use char because int might match the return type of a gcc2
25189    builtin and then its argument prototype would still apply.  */
25190 char $ac_func ();
25191 /* The GNU C library defines this for functions which it implements
25192     to always fail with ENOSYS.  Some functions are actually named
25193     something starting with __ and the normal name is an alias.  */
25194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25195 choke me
25196 #else
25197 char (*f) () = $ac_func;
25198 #endif
25199 #ifdef __cplusplus
25200 }
25201 #endif
25202
25203 int
25204 main ()
25205 {
25206 return f != $ac_func;
25207   ;
25208   return 0;
25209 }
25210 _ACEOF
25211 rm -f conftest.$ac_objext conftest$ac_exeext
25212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25213   (eval $ac_link) 2>&5
25214   ac_status=$?
25215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216   (exit $ac_status); } &&
25217          { ac_try='test -s conftest$ac_exeext'
25218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219   (eval $ac_try) 2>&5
25220   ac_status=$?
25221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222   (exit $ac_status); }; }; then
25223   eval "$as_ac_var=yes"
25224 else
25225   echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.$ac_ext >&5
25227
25228 eval "$as_ac_var=no"
25229 fi
25230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25231 fi
25232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25234 if test `eval echo '${'$as_ac_var'}'` = yes; then
25235   cat >>confdefs.h <<_ACEOF
25236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25237 _ACEOF
25238
25239 else
25240   ac_wfuncs=no
25241 fi
25242 done
25243
25244
25245     # Checks for wide character functions that are not required
25246     # for basic wchar_t support.  Don't disable support if they are missing.
25247     # Injection of these is wrapped with guard macros.
25248
25249
25250
25251
25252
25253 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25254 do
25255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25256 echo "$as_me:$LINENO: checking for $ac_func" >&5
25257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25258 if eval "test \"\${$as_ac_var+set}\" = set"; then
25259   echo $ECHO_N "(cached) $ECHO_C" >&6
25260 else
25261   if test x$gcc_no_link = xyes; then
25262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25264    { (exit 1); exit 1; }; }
25265 fi
25266 cat >conftest.$ac_ext <<_ACEOF
25267 #line $LINENO "configure"
25268 /* confdefs.h.  */
25269 _ACEOF
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h.  */
25273 /* System header to define __stub macros and hopefully few prototypes,
25274     which can conflict with char $ac_func (); below.
25275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25276     <limits.h> exists even on freestanding compilers.  */
25277 #ifdef __STDC__
25278 # include <limits.h>
25279 #else
25280 # include <assert.h>
25281 #endif
25282 /* Override any gcc2 internal prototype to avoid an error.  */
25283 #ifdef __cplusplus
25284 extern "C"
25285 {
25286 #endif
25287 /* We use char because int might match the return type of a gcc2
25288    builtin and then its argument prototype would still apply.  */
25289 char $ac_func ();
25290 /* The GNU C library defines this for functions which it implements
25291     to always fail with ENOSYS.  Some functions are actually named
25292     something starting with __ and the normal name is an alias.  */
25293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25294 choke me
25295 #else
25296 char (*f) () = $ac_func;
25297 #endif
25298 #ifdef __cplusplus
25299 }
25300 #endif
25301
25302 int
25303 main ()
25304 {
25305 return f != $ac_func;
25306   ;
25307   return 0;
25308 }
25309 _ACEOF
25310 rm -f conftest.$ac_objext conftest$ac_exeext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312   (eval $ac_link) 2>&5
25313   ac_status=$?
25314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315   (exit $ac_status); } &&
25316          { ac_try='test -s conftest$ac_exeext'
25317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318   (eval $ac_try) 2>&5
25319   ac_status=$?
25320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321   (exit $ac_status); }; }; then
25322   eval "$as_ac_var=yes"
25323 else
25324   echo "$as_me: failed program was:" >&5
25325 sed 's/^/| /' conftest.$ac_ext >&5
25326
25327 eval "$as_ac_var=no"
25328 fi
25329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25330 fi
25331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25333 if test `eval echo '${'$as_ac_var'}'` = yes; then
25334   cat >>confdefs.h <<_ACEOF
25335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25336 _ACEOF
25337
25338 fi
25339 done
25340
25341
25342     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25343 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25344     if test x"$has_weof" = xyes &&
25345        test x"$has_wchar_minmax" = xyes &&
25346        test x"$ac_wfuncs" = xyes;
25347     then
25348       ac_isoC99_wchar_t=yes
25349     else
25350       ac_isoC99_wchar_t=no
25351     fi
25352     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25353 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25354
25355     # Use iconv for wchar_t to char conversions. As such, check for
25356     # X/Open Portability Guide, version 2 features (XPG2).
25357     if test "${ac_cv_header_iconv_h+set}" = set; then
25358   echo "$as_me:$LINENO: checking for iconv.h" >&5
25359 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25360 if test "${ac_cv_header_iconv_h+set}" = set; then
25361   echo $ECHO_N "(cached) $ECHO_C" >&6
25362 fi
25363 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25364 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25365 else
25366   # Is the header compilable?
25367 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25368 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25369 cat >conftest.$ac_ext <<_ACEOF
25370 #line $LINENO "configure"
25371 /* confdefs.h.  */
25372 _ACEOF
25373 cat confdefs.h >>conftest.$ac_ext
25374 cat >>conftest.$ac_ext <<_ACEOF
25375 /* end confdefs.h.  */
25376 $ac_includes_default
25377 #include <iconv.h>
25378 _ACEOF
25379 rm -f conftest.$ac_objext
25380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25381   (eval $ac_compile) 2>&5
25382   ac_status=$?
25383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384   (exit $ac_status); } &&
25385          { ac_try='test -s conftest.$ac_objext'
25386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387   (eval $ac_try) 2>&5
25388   ac_status=$?
25389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390   (exit $ac_status); }; }; then
25391   ac_header_compiler=yes
25392 else
25393   echo "$as_me: failed program was:" >&5
25394 sed 's/^/| /' conftest.$ac_ext >&5
25395
25396 ac_header_compiler=no
25397 fi
25398 rm -f conftest.$ac_objext conftest.$ac_ext
25399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25400 echo "${ECHO_T}$ac_header_compiler" >&6
25401
25402 # Is the header present?
25403 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25404 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25405 cat >conftest.$ac_ext <<_ACEOF
25406 #line $LINENO "configure"
25407 /* confdefs.h.  */
25408 _ACEOF
25409 cat confdefs.h >>conftest.$ac_ext
25410 cat >>conftest.$ac_ext <<_ACEOF
25411 /* end confdefs.h.  */
25412 #include <iconv.h>
25413 _ACEOF
25414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25415   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25416   ac_status=$?
25417   grep -v '^ *+' conftest.er1 >conftest.err
25418   rm -f conftest.er1
25419   cat conftest.err >&5
25420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421   (exit $ac_status); } >/dev/null; then
25422   if test -s conftest.err; then
25423     ac_cpp_err=$ac_c_preproc_warn_flag
25424   else
25425     ac_cpp_err=
25426   fi
25427 else
25428   ac_cpp_err=yes
25429 fi
25430 if test -z "$ac_cpp_err"; then
25431   ac_header_preproc=yes
25432 else
25433   echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25435
25436   ac_header_preproc=no
25437 fi
25438 rm -f conftest.err conftest.$ac_ext
25439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25440 echo "${ECHO_T}$ac_header_preproc" >&6
25441
25442 # So?  What about this header?
25443 case $ac_header_compiler:$ac_header_preproc in
25444   yes:no )
25445     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25446 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25447     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25448 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25449     (
25450       cat <<\_ASBOX
25451 ## ------------------------------------ ##
25452 ## Report this to bug-autoconf@gnu.org. ##
25453 ## ------------------------------------ ##
25454 _ASBOX
25455     ) |
25456       sed "s/^/$as_me: WARNING:     /" >&2
25457     ;;
25458   no:yes )
25459     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25460 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25461     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25462 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25463     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25464 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25465     (
25466       cat <<\_ASBOX
25467 ## ------------------------------------ ##
25468 ## Report this to bug-autoconf@gnu.org. ##
25469 ## ------------------------------------ ##
25470 _ASBOX
25471     ) |
25472       sed "s/^/$as_me: WARNING:     /" >&2
25473     ;;
25474 esac
25475 echo "$as_me:$LINENO: checking for iconv.h" >&5
25476 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25477 if test "${ac_cv_header_iconv_h+set}" = set; then
25478   echo $ECHO_N "(cached) $ECHO_C" >&6
25479 else
25480   ac_cv_header_iconv_h=$ac_header_preproc
25481 fi
25482 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25483 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25484
25485 fi
25486 if test $ac_cv_header_iconv_h = yes; then
25487   ac_has_iconv_h=yes
25488 else
25489   ac_has_iconv_h=no
25490 fi
25491
25492
25493     if test "${ac_cv_header_langinfo_h+set}" = set; then
25494   echo "$as_me:$LINENO: checking for langinfo.h" >&5
25495 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25496 if test "${ac_cv_header_langinfo_h+set}" = set; then
25497   echo $ECHO_N "(cached) $ECHO_C" >&6
25498 fi
25499 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25500 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25501 else
25502   # Is the header compilable?
25503 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25504 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25505 cat >conftest.$ac_ext <<_ACEOF
25506 #line $LINENO "configure"
25507 /* confdefs.h.  */
25508 _ACEOF
25509 cat confdefs.h >>conftest.$ac_ext
25510 cat >>conftest.$ac_ext <<_ACEOF
25511 /* end confdefs.h.  */
25512 $ac_includes_default
25513 #include <langinfo.h>
25514 _ACEOF
25515 rm -f conftest.$ac_objext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25517   (eval $ac_compile) 2>&5
25518   ac_status=$?
25519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520   (exit $ac_status); } &&
25521          { ac_try='test -s conftest.$ac_objext'
25522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523   (eval $ac_try) 2>&5
25524   ac_status=$?
25525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526   (exit $ac_status); }; }; then
25527   ac_header_compiler=yes
25528 else
25529   echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25531
25532 ac_header_compiler=no
25533 fi
25534 rm -f conftest.$ac_objext conftest.$ac_ext
25535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25536 echo "${ECHO_T}$ac_header_compiler" >&6
25537
25538 # Is the header present?
25539 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25540 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25541 cat >conftest.$ac_ext <<_ACEOF
25542 #line $LINENO "configure"
25543 /* confdefs.h.  */
25544 _ACEOF
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h.  */
25548 #include <langinfo.h>
25549 _ACEOF
25550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25551   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25552   ac_status=$?
25553   grep -v '^ *+' conftest.er1 >conftest.err
25554   rm -f conftest.er1
25555   cat conftest.err >&5
25556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557   (exit $ac_status); } >/dev/null; then
25558   if test -s conftest.err; then
25559     ac_cpp_err=$ac_c_preproc_warn_flag
25560   else
25561     ac_cpp_err=
25562   fi
25563 else
25564   ac_cpp_err=yes
25565 fi
25566 if test -z "$ac_cpp_err"; then
25567   ac_header_preproc=yes
25568 else
25569   echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25571
25572   ac_header_preproc=no
25573 fi
25574 rm -f conftest.err conftest.$ac_ext
25575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25576 echo "${ECHO_T}$ac_header_preproc" >&6
25577
25578 # So?  What about this header?
25579 case $ac_header_compiler:$ac_header_preproc in
25580   yes:no )
25581     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25582 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25583     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25584 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25585     (
25586       cat <<\_ASBOX
25587 ## ------------------------------------ ##
25588 ## Report this to bug-autoconf@gnu.org. ##
25589 ## ------------------------------------ ##
25590 _ASBOX
25591     ) |
25592       sed "s/^/$as_me: WARNING:     /" >&2
25593     ;;
25594   no:yes )
25595     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25596 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25597     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25598 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25599     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25600 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25601     (
25602       cat <<\_ASBOX
25603 ## ------------------------------------ ##
25604 ## Report this to bug-autoconf@gnu.org. ##
25605 ## ------------------------------------ ##
25606 _ASBOX
25607     ) |
25608       sed "s/^/$as_me: WARNING:     /" >&2
25609     ;;
25610 esac
25611 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25612 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25613 if test "${ac_cv_header_langinfo_h+set}" = set; then
25614   echo $ECHO_N "(cached) $ECHO_C" >&6
25615 else
25616   ac_cv_header_langinfo_h=$ac_header_preproc
25617 fi
25618 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25619 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25620
25621 fi
25622 if test $ac_cv_header_langinfo_h = yes; then
25623   ac_has_langinfo_h=yes
25624 else
25625   ac_has_langinfo_h=no
25626 fi
25627
25628
25629
25630     # Check for existence of libiconv.a providing XPG2 wchar_t support.
25631     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25632 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25633 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25634   echo $ECHO_N "(cached) $ECHO_C" >&6
25635 else
25636   ac_check_lib_save_LIBS=$LIBS
25637 LIBS="-liconv  $LIBS"
25638 if test x$gcc_no_link = xyes; then
25639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25641    { (exit 1); exit 1; }; }
25642 fi
25643 cat >conftest.$ac_ext <<_ACEOF
25644 #line $LINENO "configure"
25645 /* confdefs.h.  */
25646 _ACEOF
25647 cat confdefs.h >>conftest.$ac_ext
25648 cat >>conftest.$ac_ext <<_ACEOF
25649 /* end confdefs.h.  */
25650
25651 /* Override any gcc2 internal prototype to avoid an error.  */
25652 #ifdef __cplusplus
25653 extern "C"
25654 #endif
25655 /* We use char because int might match the return type of a gcc2
25656    builtin and then its argument prototype would still apply.  */
25657 char iconv ();
25658 int
25659 main ()
25660 {
25661 iconv ();
25662   ;
25663   return 0;
25664 }
25665 _ACEOF
25666 rm -f conftest.$ac_objext conftest$ac_exeext
25667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25668   (eval $ac_link) 2>&5
25669   ac_status=$?
25670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25671   (exit $ac_status); } &&
25672          { ac_try='test -s conftest$ac_exeext'
25673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25674   (eval $ac_try) 2>&5
25675   ac_status=$?
25676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677   (exit $ac_status); }; }; then
25678   ac_cv_lib_iconv_iconv=yes
25679 else
25680   echo "$as_me: failed program was:" >&5
25681 sed 's/^/| /' conftest.$ac_ext >&5
25682
25683 ac_cv_lib_iconv_iconv=no
25684 fi
25685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25686 LIBS=$ac_check_lib_save_LIBS
25687 fi
25688 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25689 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25690 if test $ac_cv_lib_iconv_iconv = yes; then
25691   libiconv="-liconv"
25692 fi
25693
25694     ac_save_LIBS="$LIBS"
25695     LIBS="$LIBS $libiconv"
25696
25697
25698
25699
25700
25701 for ac_func in iconv_open iconv_close iconv nl_langinfo
25702 do
25703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25704 echo "$as_me:$LINENO: checking for $ac_func" >&5
25705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25706 if eval "test \"\${$as_ac_var+set}\" = set"; then
25707   echo $ECHO_N "(cached) $ECHO_C" >&6
25708 else
25709   if test x$gcc_no_link = xyes; then
25710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25712    { (exit 1); exit 1; }; }
25713 fi
25714 cat >conftest.$ac_ext <<_ACEOF
25715 #line $LINENO "configure"
25716 /* confdefs.h.  */
25717 _ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h.  */
25721 /* System header to define __stub macros and hopefully few prototypes,
25722     which can conflict with char $ac_func (); below.
25723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25724     <limits.h> exists even on freestanding compilers.  */
25725 #ifdef __STDC__
25726 # include <limits.h>
25727 #else
25728 # include <assert.h>
25729 #endif
25730 /* Override any gcc2 internal prototype to avoid an error.  */
25731 #ifdef __cplusplus
25732 extern "C"
25733 {
25734 #endif
25735 /* We use char because int might match the return type of a gcc2
25736    builtin and then its argument prototype would still apply.  */
25737 char $ac_func ();
25738 /* The GNU C library defines this for functions which it implements
25739     to always fail with ENOSYS.  Some functions are actually named
25740     something starting with __ and the normal name is an alias.  */
25741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25742 choke me
25743 #else
25744 char (*f) () = $ac_func;
25745 #endif
25746 #ifdef __cplusplus
25747 }
25748 #endif
25749
25750 int
25751 main ()
25752 {
25753 return f != $ac_func;
25754   ;
25755   return 0;
25756 }
25757 _ACEOF
25758 rm -f conftest.$ac_objext conftest$ac_exeext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25760   (eval $ac_link) 2>&5
25761   ac_status=$?
25762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763   (exit $ac_status); } &&
25764          { ac_try='test -s conftest$ac_exeext'
25765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766   (eval $ac_try) 2>&5
25767   ac_status=$?
25768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769   (exit $ac_status); }; }; then
25770   eval "$as_ac_var=yes"
25771 else
25772   echo "$as_me: failed program was:" >&5
25773 sed 's/^/| /' conftest.$ac_ext >&5
25774
25775 eval "$as_ac_var=no"
25776 fi
25777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25778 fi
25779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25781 if test `eval echo '${'$as_ac_var'}'` = yes; then
25782   cat >>confdefs.h <<_ACEOF
25783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25784 _ACEOF
25785  ac_XPG2funcs=yes
25786 else
25787   ac_XPG2funcs=no
25788 fi
25789 done
25790
25791
25792     LIBS="$ac_save_LIBS"
25793
25794     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25795 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25796     if test x"$ac_has_iconv_h" = xyes &&
25797        test x"$ac_has_langinfo_h" = xyes &&
25798        test x"$ac_XPG2funcs" = xyes;
25799     then
25800       ac_XPG2_wchar_t=yes
25801     else
25802       ac_XPG2_wchar_t=no
25803     fi
25804     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25805 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25806
25807     # At the moment, only enable wchar_t specializations if all the
25808     # above support is present.
25809     if test x"$ac_isoC99_wchar_t" = xyes &&
25810        test x"$ac_XPG2_wchar_t" = xyes;
25811     then
25812       cat >>confdefs.h <<\_ACEOF
25813 #define _GLIBCXX_USE_WCHAR_T 1
25814 _ACEOF
25815
25816       enable_wchar_t=yes
25817     fi
25818   fi
25819   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25820 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25821   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25822 echo "${ECHO_T}$enable_wchar_t" >&6
25823
25824
25825   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25826   ac_save_CXXFLAGS="$CXXFLAGS"
25827   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25828
25829
25830   echo "$as_me:$LINENO: checking for strtold declaration" >&5
25831 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25832   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25833     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25834   echo $ECHO_N "(cached) $ECHO_C" >&6
25835 else
25836
25837
25838
25839       ac_ext=cc
25840 ac_cpp='$CXXCPP $CPPFLAGS'
25841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25844
25845       cat >conftest.$ac_ext <<_ACEOF
25846 #line $LINENO "configure"
25847 /* confdefs.h.  */
25848 _ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h.  */
25852 #include <stdlib.h>
25853 int
25854 main ()
25855 {
25856  strtold(0, 0);
25857   ;
25858   return 0;
25859 }
25860 _ACEOF
25861 rm -f conftest.$ac_objext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25863   (eval $ac_compile) 2>&5
25864   ac_status=$?
25865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866   (exit $ac_status); } &&
25867          { ac_try='test -s conftest.$ac_objext'
25868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869   (eval $ac_try) 2>&5
25870   ac_status=$?
25871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872   (exit $ac_status); }; }; then
25873   glibcxx_cv_func_strtold_use=yes
25874 else
25875   echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25877
25878 glibcxx_cv_func_strtold_use=no
25879 fi
25880 rm -f conftest.$ac_objext conftest.$ac_ext
25881       ac_ext=c
25882 ac_cpp='$CPP $CPPFLAGS'
25883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25886
25887
25888 fi
25889
25890   fi
25891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25892 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25893   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25894
25895 for ac_func in strtold
25896 do
25897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25898 echo "$as_me:$LINENO: checking for $ac_func" >&5
25899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25900 if eval "test \"\${$as_ac_var+set}\" = set"; then
25901   echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903   if test x$gcc_no_link = xyes; then
25904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25906    { (exit 1); exit 1; }; }
25907 fi
25908 cat >conftest.$ac_ext <<_ACEOF
25909 #line $LINENO "configure"
25910 /* confdefs.h.  */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h.  */
25915 /* System header to define __stub macros and hopefully few prototypes,
25916     which can conflict with char $ac_func (); below.
25917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25918     <limits.h> exists even on freestanding compilers.  */
25919 #ifdef __STDC__
25920 # include <limits.h>
25921 #else
25922 # include <assert.h>
25923 #endif
25924 /* Override any gcc2 internal prototype to avoid an error.  */
25925 #ifdef __cplusplus
25926 extern "C"
25927 {
25928 #endif
25929 /* We use char because int might match the return type of a gcc2
25930    builtin and then its argument prototype would still apply.  */
25931 char $ac_func ();
25932 /* The GNU C library defines this for functions which it implements
25933     to always fail with ENOSYS.  Some functions are actually named
25934     something starting with __ and the normal name is an alias.  */
25935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25936 choke me
25937 #else
25938 char (*f) () = $ac_func;
25939 #endif
25940 #ifdef __cplusplus
25941 }
25942 #endif
25943
25944 int
25945 main ()
25946 {
25947 return f != $ac_func;
25948   ;
25949   return 0;
25950 }
25951 _ACEOF
25952 rm -f conftest.$ac_objext conftest$ac_exeext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25954   (eval $ac_link) 2>&5
25955   ac_status=$?
25956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957   (exit $ac_status); } &&
25958          { ac_try='test -s conftest$ac_exeext'
25959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960   (eval $ac_try) 2>&5
25961   ac_status=$?
25962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963   (exit $ac_status); }; }; then
25964   eval "$as_ac_var=yes"
25965 else
25966   echo "$as_me: failed program was:" >&5
25967 sed 's/^/| /' conftest.$ac_ext >&5
25968
25969 eval "$as_ac_var=no"
25970 fi
25971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25972 fi
25973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25975 if test `eval echo '${'$as_ac_var'}'` = yes; then
25976   cat >>confdefs.h <<_ACEOF
25977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25978 _ACEOF
25979
25980 fi
25981 done
25982
25983   fi
25984
25985
25986   echo "$as_me:$LINENO: checking for strtof declaration" >&5
25987 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25988   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25989     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25990   echo $ECHO_N "(cached) $ECHO_C" >&6
25991 else
25992
25993
25994
25995       ac_ext=cc
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000
26001       cat >conftest.$ac_ext <<_ACEOF
26002 #line $LINENO "configure"
26003 /* confdefs.h.  */
26004 _ACEOF
26005 cat confdefs.h >>conftest.$ac_ext
26006 cat >>conftest.$ac_ext <<_ACEOF
26007 /* end confdefs.h.  */
26008 #include <stdlib.h>
26009 int
26010 main ()
26011 {
26012  strtof(0, 0);
26013   ;
26014   return 0;
26015 }
26016 _ACEOF
26017 rm -f conftest.$ac_objext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26019   (eval $ac_compile) 2>&5
26020   ac_status=$?
26021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022   (exit $ac_status); } &&
26023          { ac_try='test -s conftest.$ac_objext'
26024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025   (eval $ac_try) 2>&5
26026   ac_status=$?
26027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028   (exit $ac_status); }; }; then
26029   glibcxx_cv_func_strtof_use=yes
26030 else
26031   echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 glibcxx_cv_func_strtof_use=no
26035 fi
26036 rm -f conftest.$ac_objext conftest.$ac_ext
26037       ac_ext=c
26038 ac_cpp='$CPP $CPPFLAGS'
26039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26042
26043
26044 fi
26045
26046   fi
26047   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
26048 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
26049   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26050
26051 for ac_func in strtof
26052 do
26053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26054 echo "$as_me:$LINENO: checking for $ac_func" >&5
26055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26056 if eval "test \"\${$as_ac_var+set}\" = set"; then
26057   echo $ECHO_N "(cached) $ECHO_C" >&6
26058 else
26059   if test x$gcc_no_link = xyes; then
26060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26062    { (exit 1); exit 1; }; }
26063 fi
26064 cat >conftest.$ac_ext <<_ACEOF
26065 #line $LINENO "configure"
26066 /* confdefs.h.  */
26067 _ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h.  */
26071 /* System header to define __stub macros and hopefully few prototypes,
26072     which can conflict with char $ac_func (); below.
26073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26074     <limits.h> exists even on freestanding compilers.  */
26075 #ifdef __STDC__
26076 # include <limits.h>
26077 #else
26078 # include <assert.h>
26079 #endif
26080 /* Override any gcc2 internal prototype to avoid an error.  */
26081 #ifdef __cplusplus
26082 extern "C"
26083 {
26084 #endif
26085 /* We use char because int might match the return type of a gcc2
26086    builtin and then its argument prototype would still apply.  */
26087 char $ac_func ();
26088 /* The GNU C library defines this for functions which it implements
26089     to always fail with ENOSYS.  Some functions are actually named
26090     something starting with __ and the normal name is an alias.  */
26091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26092 choke me
26093 #else
26094 char (*f) () = $ac_func;
26095 #endif
26096 #ifdef __cplusplus
26097 }
26098 #endif
26099
26100 int
26101 main ()
26102 {
26103 return f != $ac_func;
26104   ;
26105   return 0;
26106 }
26107 _ACEOF
26108 rm -f conftest.$ac_objext conftest$ac_exeext
26109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26110   (eval $ac_link) 2>&5
26111   ac_status=$?
26112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113   (exit $ac_status); } &&
26114          { ac_try='test -s conftest$ac_exeext'
26115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116   (eval $ac_try) 2>&5
26117   ac_status=$?
26118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119   (exit $ac_status); }; }; then
26120   eval "$as_ac_var=yes"
26121 else
26122   echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26124
26125 eval "$as_ac_var=no"
26126 fi
26127 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26128 fi
26129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26131 if test `eval echo '${'$as_ac_var'}'` = yes; then
26132   cat >>confdefs.h <<_ACEOF
26133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26134 _ACEOF
26135
26136 fi
26137 done
26138
26139   fi
26140
26141
26142   echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
26143 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
26144   if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
26145     if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
26146   echo $ECHO_N "(cached) $ECHO_C" >&6
26147 else
26148
26149
26150
26151       ac_ext=cc
26152 ac_cpp='$CXXCPP $CPPFLAGS'
26153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26156
26157       cat >conftest.$ac_ext <<_ACEOF
26158 #line $LINENO "configure"
26159 /* confdefs.h.  */
26160 _ACEOF
26161 cat confdefs.h >>conftest.$ac_ext
26162 cat >>conftest.$ac_ext <<_ACEOF
26163 /* end confdefs.h.  */
26164 #include <stdlib.h>
26165 int
26166 main ()
26167 {
26168  lrand48();
26169   ;
26170   return 0;
26171 }
26172 _ACEOF
26173 rm -f conftest.$ac_objext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26175   (eval $ac_compile) 2>&5
26176   ac_status=$?
26177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178   (exit $ac_status); } &&
26179          { ac_try='test -s conftest.$ac_objext'
26180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181   (eval $ac_try) 2>&5
26182   ac_status=$?
26183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184   (exit $ac_status); }; }; then
26185   glibcxx_cv_func_lrand48_use=yes
26186 else
26187   echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26189
26190 glibcxx_cv_func_lrand48_use=no
26191 fi
26192 rm -f conftest.$ac_objext conftest.$ac_ext
26193       ac_ext=c
26194 ac_cpp='$CPP $CPPFLAGS'
26195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26198
26199
26200 fi
26201
26202   fi
26203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
26204 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
26205   if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
26206
26207 for ac_func in lrand48
26208 do
26209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26210 echo "$as_me:$LINENO: checking for $ac_func" >&5
26211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26212 if eval "test \"\${$as_ac_var+set}\" = set"; then
26213   echo $ECHO_N "(cached) $ECHO_C" >&6
26214 else
26215   if test x$gcc_no_link = xyes; then
26216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26218    { (exit 1); exit 1; }; }
26219 fi
26220 cat >conftest.$ac_ext <<_ACEOF
26221 #line $LINENO "configure"
26222 /* confdefs.h.  */
26223 _ACEOF
26224 cat confdefs.h >>conftest.$ac_ext
26225 cat >>conftest.$ac_ext <<_ACEOF
26226 /* end confdefs.h.  */
26227 /* System header to define __stub macros and hopefully few prototypes,
26228     which can conflict with char $ac_func (); below.
26229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26230     <limits.h> exists even on freestanding compilers.  */
26231 #ifdef __STDC__
26232 # include <limits.h>
26233 #else
26234 # include <assert.h>
26235 #endif
26236 /* Override any gcc2 internal prototype to avoid an error.  */
26237 #ifdef __cplusplus
26238 extern "C"
26239 {
26240 #endif
26241 /* We use char because int might match the return type of a gcc2
26242    builtin and then its argument prototype would still apply.  */
26243 char $ac_func ();
26244 /* The GNU C library defines this for functions which it implements
26245     to always fail with ENOSYS.  Some functions are actually named
26246     something starting with __ and the normal name is an alias.  */
26247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26248 choke me
26249 #else
26250 char (*f) () = $ac_func;
26251 #endif
26252 #ifdef __cplusplus
26253 }
26254 #endif
26255
26256 int
26257 main ()
26258 {
26259 return f != $ac_func;
26260   ;
26261   return 0;
26262 }
26263 _ACEOF
26264 rm -f conftest.$ac_objext conftest$ac_exeext
26265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26266   (eval $ac_link) 2>&5
26267   ac_status=$?
26268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269   (exit $ac_status); } &&
26270          { ac_try='test -s conftest$ac_exeext'
26271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272   (eval $ac_try) 2>&5
26273   ac_status=$?
26274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275   (exit $ac_status); }; }; then
26276   eval "$as_ac_var=yes"
26277 else
26278   echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26280
26281 eval "$as_ac_var=no"
26282 fi
26283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26284 fi
26285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26287 if test `eval echo '${'$as_ac_var'}'` = yes; then
26288   cat >>confdefs.h <<_ACEOF
26289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26290 _ACEOF
26291
26292 fi
26293 done
26294
26295   fi
26296
26297
26298   CXXFLAGS="$ac_save_CXXFLAGS"
26299
26300
26301   # For showmanyc_helper().
26302
26303
26304 for ac_header in sys/ioctl.h sys/filio.h
26305 do
26306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26308   echo "$as_me:$LINENO: checking for $ac_header" >&5
26309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26311   echo $ECHO_N "(cached) $ECHO_C" >&6
26312 fi
26313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26315 else
26316   # Is the header compilable?
26317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26319 cat >conftest.$ac_ext <<_ACEOF
26320 #line $LINENO "configure"
26321 /* confdefs.h.  */
26322 _ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h.  */
26326 $ac_includes_default
26327 #include <$ac_header>
26328 _ACEOF
26329 rm -f conftest.$ac_objext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26331   (eval $ac_compile) 2>&5
26332   ac_status=$?
26333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334   (exit $ac_status); } &&
26335          { ac_try='test -s conftest.$ac_objext'
26336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337   (eval $ac_try) 2>&5
26338   ac_status=$?
26339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340   (exit $ac_status); }; }; then
26341   ac_header_compiler=yes
26342 else
26343   echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26345
26346 ac_header_compiler=no
26347 fi
26348 rm -f conftest.$ac_objext conftest.$ac_ext
26349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26350 echo "${ECHO_T}$ac_header_compiler" >&6
26351
26352 # Is the header present?
26353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26355 cat >conftest.$ac_ext <<_ACEOF
26356 #line $LINENO "configure"
26357 /* confdefs.h.  */
26358 _ACEOF
26359 cat confdefs.h >>conftest.$ac_ext
26360 cat >>conftest.$ac_ext <<_ACEOF
26361 /* end confdefs.h.  */
26362 #include <$ac_header>
26363 _ACEOF
26364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26365   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26366   ac_status=$?
26367   grep -v '^ *+' conftest.er1 >conftest.err
26368   rm -f conftest.er1
26369   cat conftest.err >&5
26370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371   (exit $ac_status); } >/dev/null; then
26372   if test -s conftest.err; then
26373     ac_cpp_err=$ac_c_preproc_warn_flag
26374   else
26375     ac_cpp_err=
26376   fi
26377 else
26378   ac_cpp_err=yes
26379 fi
26380 if test -z "$ac_cpp_err"; then
26381   ac_header_preproc=yes
26382 else
26383   echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.$ac_ext >&5
26385
26386   ac_header_preproc=no
26387 fi
26388 rm -f conftest.err conftest.$ac_ext
26389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26390 echo "${ECHO_T}$ac_header_preproc" >&6
26391
26392 # So?  What about this header?
26393 case $ac_header_compiler:$ac_header_preproc in
26394   yes:no )
26395     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26397     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26399     (
26400       cat <<\_ASBOX
26401 ## ------------------------------------ ##
26402 ## Report this to bug-autoconf@gnu.org. ##
26403 ## ------------------------------------ ##
26404 _ASBOX
26405     ) |
26406       sed "s/^/$as_me: WARNING:     /" >&2
26407     ;;
26408   no:yes )
26409     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26411     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26413     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26415     (
26416       cat <<\_ASBOX
26417 ## ------------------------------------ ##
26418 ## Report this to bug-autoconf@gnu.org. ##
26419 ## ------------------------------------ ##
26420 _ASBOX
26421     ) |
26422       sed "s/^/$as_me: WARNING:     /" >&2
26423     ;;
26424 esac
26425 echo "$as_me:$LINENO: checking for $ac_header" >&5
26426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26428   echo $ECHO_N "(cached) $ECHO_C" >&6
26429 else
26430   eval "$as_ac_Header=$ac_header_preproc"
26431 fi
26432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26434
26435 fi
26436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26437   cat >>confdefs.h <<_ACEOF
26438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26439 _ACEOF
26440
26441 fi
26442
26443 done
26444
26445
26446   if test "${glibcxx_cv_POLL+set}" = set; then
26447   echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449
26450     if test x$gcc_no_link = xyes; then
26451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26453    { (exit 1); exit 1; }; }
26454 fi
26455 cat >conftest.$ac_ext <<_ACEOF
26456 #line $LINENO "configure"
26457 /* confdefs.h.  */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h.  */
26462 #include <poll.h>
26463 int
26464 main ()
26465 {
26466 struct pollfd pfd[1];
26467        pfd[0].events = POLLIN;
26468        poll(pfd, 1, 0);
26469   ;
26470   return 0;
26471 }
26472 _ACEOF
26473 rm -f conftest.$ac_objext conftest$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475   (eval $ac_link) 2>&5
26476   ac_status=$?
26477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478   (exit $ac_status); } &&
26479          { ac_try='test -s conftest$ac_exeext'
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   glibcxx_cv_POLL=yes
26486 else
26487   echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26489
26490 glibcxx_cv_POLL=no
26491 fi
26492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26493
26494 fi
26495
26496   if test $glibcxx_cv_POLL = yes; then
26497     cat >>confdefs.h <<\_ACEOF
26498 #define HAVE_POLL 1
26499 _ACEOF
26500
26501   fi
26502
26503
26504   if test "${glibcxx_cv_S_ISREG+set}" = set; then
26505   echo $ECHO_N "(cached) $ECHO_C" >&6
26506 else
26507
26508     if test x$gcc_no_link = xyes; then
26509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26511    { (exit 1); exit 1; }; }
26512 fi
26513 cat >conftest.$ac_ext <<_ACEOF
26514 #line $LINENO "configure"
26515 /* confdefs.h.  */
26516 _ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h.  */
26520 #include <sys/stat.h>
26521 int
26522 main ()
26523 {
26524 struct stat buffer;
26525        fstat(0, &buffer);
26526        S_ISREG(buffer.st_mode);
26527   ;
26528   return 0;
26529 }
26530 _ACEOF
26531 rm -f conftest.$ac_objext conftest$ac_exeext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26533   (eval $ac_link) 2>&5
26534   ac_status=$?
26535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536   (exit $ac_status); } &&
26537          { ac_try='test -s conftest$ac_exeext'
26538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539   (eval $ac_try) 2>&5
26540   ac_status=$?
26541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542   (exit $ac_status); }; }; then
26543   glibcxx_cv_S_ISREG=yes
26544 else
26545   echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26547
26548 glibcxx_cv_S_ISREG=no
26549 fi
26550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26551
26552 fi
26553
26554   if test "${glibcxx_cv_S_IFREG+set}" = set; then
26555   echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26557
26558     if test x$gcc_no_link = xyes; then
26559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26561    { (exit 1); exit 1; }; }
26562 fi
26563 cat >conftest.$ac_ext <<_ACEOF
26564 #line $LINENO "configure"
26565 /* confdefs.h.  */
26566 _ACEOF
26567 cat confdefs.h >>conftest.$ac_ext
26568 cat >>conftest.$ac_ext <<_ACEOF
26569 /* end confdefs.h.  */
26570 #include <sys/stat.h>
26571 int
26572 main ()
26573 {
26574 struct stat buffer;
26575        fstat(0, &buffer);
26576        S_IFREG & buffer.st_mode;
26577   ;
26578   return 0;
26579 }
26580 _ACEOF
26581 rm -f conftest.$ac_objext conftest$ac_exeext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26583   (eval $ac_link) 2>&5
26584   ac_status=$?
26585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586   (exit $ac_status); } &&
26587          { ac_try='test -s conftest$ac_exeext'
26588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589   (eval $ac_try) 2>&5
26590   ac_status=$?
26591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592   (exit $ac_status); }; }; then
26593   glibcxx_cv_S_IFREG=yes
26594 else
26595   echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26597
26598 glibcxx_cv_S_IFREG=no
26599 fi
26600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26601
26602 fi
26603
26604   if test $glibcxx_cv_S_ISREG = yes; then
26605     cat >>confdefs.h <<\_ACEOF
26606 #define HAVE_S_ISREG 1
26607 _ACEOF
26608
26609   elif test $glibcxx_cv_S_IFREG = yes; then
26610     cat >>confdefs.h <<\_ACEOF
26611 #define HAVE_S_IFREG 1
26612 _ACEOF
26613
26614   fi
26615
26616
26617   # For xsputn_2().
26618
26619 for ac_header in sys/uio.h
26620 do
26621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26623   echo "$as_me:$LINENO: checking for $ac_header" >&5
26624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26626   echo $ECHO_N "(cached) $ECHO_C" >&6
26627 fi
26628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26630 else
26631   # Is the header compilable?
26632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26634 cat >conftest.$ac_ext <<_ACEOF
26635 #line $LINENO "configure"
26636 /* confdefs.h.  */
26637 _ACEOF
26638 cat confdefs.h >>conftest.$ac_ext
26639 cat >>conftest.$ac_ext <<_ACEOF
26640 /* end confdefs.h.  */
26641 $ac_includes_default
26642 #include <$ac_header>
26643 _ACEOF
26644 rm -f conftest.$ac_objext
26645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26646   (eval $ac_compile) 2>&5
26647   ac_status=$?
26648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649   (exit $ac_status); } &&
26650          { ac_try='test -s conftest.$ac_objext'
26651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652   (eval $ac_try) 2>&5
26653   ac_status=$?
26654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655   (exit $ac_status); }; }; then
26656   ac_header_compiler=yes
26657 else
26658   echo "$as_me: failed program was:" >&5
26659 sed 's/^/| /' conftest.$ac_ext >&5
26660
26661 ac_header_compiler=no
26662 fi
26663 rm -f conftest.$ac_objext conftest.$ac_ext
26664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26665 echo "${ECHO_T}$ac_header_compiler" >&6
26666
26667 # Is the header present?
26668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26670 cat >conftest.$ac_ext <<_ACEOF
26671 #line $LINENO "configure"
26672 /* confdefs.h.  */
26673 _ACEOF
26674 cat confdefs.h >>conftest.$ac_ext
26675 cat >>conftest.$ac_ext <<_ACEOF
26676 /* end confdefs.h.  */
26677 #include <$ac_header>
26678 _ACEOF
26679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26680   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26681   ac_status=$?
26682   grep -v '^ *+' conftest.er1 >conftest.err
26683   rm -f conftest.er1
26684   cat conftest.err >&5
26685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686   (exit $ac_status); } >/dev/null; then
26687   if test -s conftest.err; then
26688     ac_cpp_err=$ac_c_preproc_warn_flag
26689   else
26690     ac_cpp_err=
26691   fi
26692 else
26693   ac_cpp_err=yes
26694 fi
26695 if test -z "$ac_cpp_err"; then
26696   ac_header_preproc=yes
26697 else
26698   echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701   ac_header_preproc=no
26702 fi
26703 rm -f conftest.err conftest.$ac_ext
26704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26705 echo "${ECHO_T}$ac_header_preproc" >&6
26706
26707 # So?  What about this header?
26708 case $ac_header_compiler:$ac_header_preproc in
26709   yes:no )
26710     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26714     (
26715       cat <<\_ASBOX
26716 ## ------------------------------------ ##
26717 ## Report this to bug-autoconf@gnu.org. ##
26718 ## ------------------------------------ ##
26719 _ASBOX
26720     ) |
26721       sed "s/^/$as_me: WARNING:     /" >&2
26722     ;;
26723   no:yes )
26724     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26726     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26728     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26730     (
26731       cat <<\_ASBOX
26732 ## ------------------------------------ ##
26733 ## Report this to bug-autoconf@gnu.org. ##
26734 ## ------------------------------------ ##
26735 _ASBOX
26736     ) |
26737       sed "s/^/$as_me: WARNING:     /" >&2
26738     ;;
26739 esac
26740 echo "$as_me:$LINENO: checking for $ac_header" >&5
26741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26743   echo $ECHO_N "(cached) $ECHO_C" >&6
26744 else
26745   eval "$as_ac_Header=$ac_header_preproc"
26746 fi
26747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26749
26750 fi
26751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26752   cat >>confdefs.h <<_ACEOF
26753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26754 _ACEOF
26755
26756 fi
26757
26758 done
26759
26760
26761   if test "${glibcxx_cv_WRITEV+set}" = set; then
26762   echo $ECHO_N "(cached) $ECHO_C" >&6
26763 else
26764
26765     if test x$gcc_no_link = xyes; then
26766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26768    { (exit 1); exit 1; }; }
26769 fi
26770 cat >conftest.$ac_ext <<_ACEOF
26771 #line $LINENO "configure"
26772 /* confdefs.h.  */
26773 _ACEOF
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h.  */
26777 #include <sys/uio.h>
26778 int
26779 main ()
26780 {
26781 struct iovec iov[2];
26782        writev(0, iov, 0);
26783   ;
26784   return 0;
26785 }
26786 _ACEOF
26787 rm -f conftest.$ac_objext conftest$ac_exeext
26788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26789   (eval $ac_link) 2>&5
26790   ac_status=$?
26791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792   (exit $ac_status); } &&
26793          { ac_try='test -s conftest$ac_exeext'
26794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795   (eval $ac_try) 2>&5
26796   ac_status=$?
26797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798   (exit $ac_status); }; }; then
26799   glibcxx_cv_WRITEV=yes
26800 else
26801   echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.$ac_ext >&5
26803
26804 glibcxx_cv_WRITEV=no
26805 fi
26806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26807
26808 fi
26809
26810   if test $glibcxx_cv_WRITEV = yes; then
26811     cat >>confdefs.h <<\_ACEOF
26812 #define HAVE_WRITEV 1
26813 _ACEOF
26814
26815   fi
26816
26817
26818   # For the __streamoff_base_type typedef.
26819
26820   if test "${glibcxx_cv_INT64_T+set}" = set; then
26821   echo $ECHO_N "(cached) $ECHO_C" >&6
26822 else
26823
26824     cat >conftest.$ac_ext <<_ACEOF
26825 #line $LINENO "configure"
26826 /* confdefs.h.  */
26827 _ACEOF
26828 cat confdefs.h >>conftest.$ac_ext
26829 cat >>conftest.$ac_ext <<_ACEOF
26830 /* end confdefs.h.  */
26831 #include <stdint.h>
26832 int
26833 main ()
26834 {
26835 int64_t var;
26836   ;
26837   return 0;
26838 }
26839 _ACEOF
26840 rm -f conftest.$ac_objext
26841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26842   (eval $ac_compile) 2>&5
26843   ac_status=$?
26844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845   (exit $ac_status); } &&
26846          { ac_try='test -s conftest.$ac_objext'
26847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848   (eval $ac_try) 2>&5
26849   ac_status=$?
26850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851   (exit $ac_status); }; }; then
26852   glibcxx_cv_INT64_T=yes
26853 else
26854   echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 glibcxx_cv_INT64_T=no
26858 fi
26859 rm -f conftest.$ac_objext conftest.$ac_ext
26860
26861 fi
26862
26863   if test $glibcxx_cv_INT64_T = yes; then
26864     cat >>confdefs.h <<\_ACEOF
26865 #define HAVE_INT64_T 1
26866 _ACEOF
26867
26868   fi
26869
26870
26871   # For LFS support.
26872
26873
26874
26875   ac_ext=cc
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26880
26881   if test "${glibcxx_cv_LFS+set}" = set; then
26882   echo $ECHO_N "(cached) $ECHO_C" >&6
26883 else
26884
26885     if test x$gcc_no_link = xyes; then
26886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26888    { (exit 1); exit 1; }; }
26889 fi
26890 cat >conftest.$ac_ext <<_ACEOF
26891 #line $LINENO "configure"
26892 /* confdefs.h.  */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h.  */
26897 #include <unistd.h>
26898        #include <stdio.h>
26899
26900 int
26901 main ()
26902 {
26903 FILE* fp;
26904        fopen64("t", "w");
26905        fseeko64(fp, 0, SEEK_CUR);
26906        ftello64(fp);
26907        lseek64(1, 0, SEEK_CUR);
26908   ;
26909   return 0;
26910 }
26911 _ACEOF
26912 rm -f conftest.$ac_objext conftest$ac_exeext
26913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26914   (eval $ac_link) 2>&5
26915   ac_status=$?
26916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917   (exit $ac_status); } &&
26918          { ac_try='test -s conftest$ac_exeext'
26919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26920   (eval $ac_try) 2>&5
26921   ac_status=$?
26922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923   (exit $ac_status); }; }; then
26924   glibcxx_cv_LFS=yes
26925 else
26926   echo "$as_me: failed program was:" >&5
26927 sed 's/^/| /' conftest.$ac_ext >&5
26928
26929 glibcxx_cv_LFS=no
26930 fi
26931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26932
26933 fi
26934
26935   if test $glibcxx_cv_LFS = yes; then
26936     cat >>confdefs.h <<\_ACEOF
26937 #define _GLIBCXX_USE_LFS 1
26938 _ACEOF
26939
26940   fi
26941   ac_ext=c
26942 ac_cpp='$CPP $CPPFLAGS'
26943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26946
26947
26948
26949
26950   if test "${ac_cv_header_locale_h+set}" = set; then
26951   echo "$as_me:$LINENO: checking for locale.h" >&5
26952 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26953 if test "${ac_cv_header_locale_h+set}" = set; then
26954   echo $ECHO_N "(cached) $ECHO_C" >&6
26955 fi
26956 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26957 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26958 else
26959   # Is the header compilable?
26960 echo "$as_me:$LINENO: checking locale.h usability" >&5
26961 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26962 cat >conftest.$ac_ext <<_ACEOF
26963 #line $LINENO "configure"
26964 /* confdefs.h.  */
26965 _ACEOF
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h.  */
26969 $ac_includes_default
26970 #include <locale.h>
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974   (eval $ac_compile) 2>&5
26975   ac_status=$?
26976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977   (exit $ac_status); } &&
26978          { ac_try='test -s conftest.$ac_objext'
26979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980   (eval $ac_try) 2>&5
26981   ac_status=$?
26982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983   (exit $ac_status); }; }; then
26984   ac_header_compiler=yes
26985 else
26986   echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.$ac_ext >&5
26988
26989 ac_header_compiler=no
26990 fi
26991 rm -f conftest.$ac_objext conftest.$ac_ext
26992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26993 echo "${ECHO_T}$ac_header_compiler" >&6
26994
26995 # Is the header present?
26996 echo "$as_me:$LINENO: checking locale.h presence" >&5
26997 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26998 cat >conftest.$ac_ext <<_ACEOF
26999 #line $LINENO "configure"
27000 /* confdefs.h.  */
27001 _ACEOF
27002 cat confdefs.h >>conftest.$ac_ext
27003 cat >>conftest.$ac_ext <<_ACEOF
27004 /* end confdefs.h.  */
27005 #include <locale.h>
27006 _ACEOF
27007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27008   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27009   ac_status=$?
27010   grep -v '^ *+' conftest.er1 >conftest.err
27011   rm -f conftest.er1
27012   cat conftest.err >&5
27013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014   (exit $ac_status); } >/dev/null; then
27015   if test -s conftest.err; then
27016     ac_cpp_err=$ac_c_preproc_warn_flag
27017   else
27018     ac_cpp_err=
27019   fi
27020 else
27021   ac_cpp_err=yes
27022 fi
27023 if test -z "$ac_cpp_err"; then
27024   ac_header_preproc=yes
27025 else
27026   echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27028
27029   ac_header_preproc=no
27030 fi
27031 rm -f conftest.err conftest.$ac_ext
27032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27033 echo "${ECHO_T}$ac_header_preproc" >&6
27034
27035 # So?  What about this header?
27036 case $ac_header_compiler:$ac_header_preproc in
27037   yes:no )
27038     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
27039 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27040     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
27041 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
27042     (
27043       cat <<\_ASBOX
27044 ## ------------------------------------ ##
27045 ## Report this to bug-autoconf@gnu.org. ##
27046 ## ------------------------------------ ##
27047 _ASBOX
27048     ) |
27049       sed "s/^/$as_me: WARNING:     /" >&2
27050     ;;
27051   no:yes )
27052     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
27053 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
27054     { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
27055 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
27056     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
27057 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
27058     (
27059       cat <<\_ASBOX
27060 ## ------------------------------------ ##
27061 ## Report this to bug-autoconf@gnu.org. ##
27062 ## ------------------------------------ ##
27063 _ASBOX
27064     ) |
27065       sed "s/^/$as_me: WARNING:     /" >&2
27066     ;;
27067 esac
27068 echo "$as_me:$LINENO: checking for locale.h" >&5
27069 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
27070 if test "${ac_cv_header_locale_h+set}" = set; then
27071   echo $ECHO_N "(cached) $ECHO_C" >&6
27072 else
27073   ac_cv_header_locale_h=$ac_header_preproc
27074 fi
27075 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
27076 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
27077
27078 fi
27079 if test $ac_cv_header_locale_h = yes; then
27080
27081     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
27082 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
27083 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
27084   echo $ECHO_N "(cached) $ECHO_C" >&6
27085 else
27086   if test x$gcc_no_link = xyes; then
27087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27089    { (exit 1); exit 1; }; }
27090 fi
27091 cat >conftest.$ac_ext <<_ACEOF
27092 #line $LINENO "configure"
27093 /* confdefs.h.  */
27094 _ACEOF
27095 cat confdefs.h >>conftest.$ac_ext
27096 cat >>conftest.$ac_ext <<_ACEOF
27097 /* end confdefs.h.  */
27098 #include <locale.h>
27099 int
27100 main ()
27101 {
27102 return LC_MESSAGES
27103   ;
27104   return 0;
27105 }
27106 _ACEOF
27107 rm -f conftest.$ac_objext conftest$ac_exeext
27108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27109   (eval $ac_link) 2>&5
27110   ac_status=$?
27111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112   (exit $ac_status); } &&
27113          { ac_try='test -s conftest$ac_exeext'
27114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27115   (eval $ac_try) 2>&5
27116   ac_status=$?
27117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118   (exit $ac_status); }; }; then
27119   ac_cv_val_LC_MESSAGES=yes
27120 else
27121   echo "$as_me: failed program was:" >&5
27122 sed 's/^/| /' conftest.$ac_ext >&5
27123
27124 ac_cv_val_LC_MESSAGES=no
27125 fi
27126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27127 fi
27128 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
27129 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
27130     if test $ac_cv_val_LC_MESSAGES = yes; then
27131       cat >>confdefs.h <<\_ACEOF
27132 #define HAVE_LC_MESSAGES 1
27133 _ACEOF
27134
27135     fi
27136
27137 fi
27138
27139
27140
27141
27142   cat >conftest.$ac_ext <<_ACEOF
27143 #line $LINENO "configure"
27144 /* confdefs.h.  */
27145 _ACEOF
27146 cat confdefs.h >>conftest.$ac_ext
27147 cat >>conftest.$ac_ext <<_ACEOF
27148 /* end confdefs.h.  */
27149 #include <setjmp.h>
27150 int
27151 main ()
27152 {
27153 sigjmp_buf env;
27154      while (! sigsetjmp (env, 1))
27155        siglongjmp (env, 1);
27156
27157   ;
27158   return 0;
27159 }
27160 _ACEOF
27161 rm -f conftest.$ac_objext
27162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27163   (eval $ac_compile) 2>&5
27164   ac_status=$?
27165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166   (exit $ac_status); } &&
27167          { ac_try='test -s conftest.$ac_objext'
27168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169   (eval $ac_try) 2>&5
27170   ac_status=$?
27171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172   (exit $ac_status); }; }; then
27173
27174 cat >>confdefs.h <<\_ACEOF
27175 #define HAVE_SIGSETJMP 1
27176 _ACEOF
27177
27178 else
27179   echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.$ac_ext >&5
27181
27182 fi
27183 rm -f conftest.$ac_objext conftest.$ac_ext
27184
27185   if test x$gcc_no_link = xyes; then
27186   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27187     ac_cv_func_mmap_fixed_mapped=no
27188   fi
27189 fi
27190 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27191
27192
27193 for ac_header in stdlib.h unistd.h
27194 do
27195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27197   echo "$as_me:$LINENO: checking for $ac_header" >&5
27198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27200   echo $ECHO_N "(cached) $ECHO_C" >&6
27201 fi
27202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27204 else
27205   # Is the header compilable?
27206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27208 cat >conftest.$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27210 /* confdefs.h.  */
27211 _ACEOF
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h.  */
27215 $ac_includes_default
27216 #include <$ac_header>
27217 _ACEOF
27218 rm -f conftest.$ac_objext
27219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27220   (eval $ac_compile) 2>&5
27221   ac_status=$?
27222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223   (exit $ac_status); } &&
27224          { ac_try='test -s conftest.$ac_objext'
27225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226   (eval $ac_try) 2>&5
27227   ac_status=$?
27228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229   (exit $ac_status); }; }; then
27230   ac_header_compiler=yes
27231 else
27232   echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27234
27235 ac_header_compiler=no
27236 fi
27237 rm -f conftest.$ac_objext conftest.$ac_ext
27238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27239 echo "${ECHO_T}$ac_header_compiler" >&6
27240
27241 # Is the header present?
27242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27244 cat >conftest.$ac_ext <<_ACEOF
27245 #line $LINENO "configure"
27246 /* confdefs.h.  */
27247 _ACEOF
27248 cat confdefs.h >>conftest.$ac_ext
27249 cat >>conftest.$ac_ext <<_ACEOF
27250 /* end confdefs.h.  */
27251 #include <$ac_header>
27252 _ACEOF
27253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27254   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27255   ac_status=$?
27256   grep -v '^ *+' conftest.er1 >conftest.err
27257   rm -f conftest.er1
27258   cat conftest.err >&5
27259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260   (exit $ac_status); } >/dev/null; then
27261   if test -s conftest.err; then
27262     ac_cpp_err=$ac_c_preproc_warn_flag
27263   else
27264     ac_cpp_err=
27265   fi
27266 else
27267   ac_cpp_err=yes
27268 fi
27269 if test -z "$ac_cpp_err"; then
27270   ac_header_preproc=yes
27271 else
27272   echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27274
27275   ac_header_preproc=no
27276 fi
27277 rm -f conftest.err conftest.$ac_ext
27278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27279 echo "${ECHO_T}$ac_header_preproc" >&6
27280
27281 # So?  What about this header?
27282 case $ac_header_compiler:$ac_header_preproc in
27283   yes:no )
27284     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27286     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27288     (
27289       cat <<\_ASBOX
27290 ## ------------------------------------ ##
27291 ## Report this to bug-autoconf@gnu.org. ##
27292 ## ------------------------------------ ##
27293 _ASBOX
27294     ) |
27295       sed "s/^/$as_me: WARNING:     /" >&2
27296     ;;
27297   no:yes )
27298     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27300     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27302     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27304     (
27305       cat <<\_ASBOX
27306 ## ------------------------------------ ##
27307 ## Report this to bug-autoconf@gnu.org. ##
27308 ## ------------------------------------ ##
27309 _ASBOX
27310     ) |
27311       sed "s/^/$as_me: WARNING:     /" >&2
27312     ;;
27313 esac
27314 echo "$as_me:$LINENO: checking for $ac_header" >&5
27315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27317   echo $ECHO_N "(cached) $ECHO_C" >&6
27318 else
27319   eval "$as_ac_Header=$ac_header_preproc"
27320 fi
27321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27323
27324 fi
27325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27326   cat >>confdefs.h <<_ACEOF
27327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27328 _ACEOF
27329
27330 fi
27331
27332 done
27333
27334
27335 for ac_func in getpagesize
27336 do
27337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341   echo $ECHO_N "(cached) $ECHO_C" >&6
27342 else
27343   if test x$gcc_no_link = xyes; then
27344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27346    { (exit 1); exit 1; }; }
27347 fi
27348 cat >conftest.$ac_ext <<_ACEOF
27349 #line $LINENO "configure"
27350 /* confdefs.h.  */
27351 _ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h.  */
27355 /* System header to define __stub macros and hopefully few prototypes,
27356     which can conflict with char $ac_func (); below.
27357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27358     <limits.h> exists even on freestanding compilers.  */
27359 #ifdef __STDC__
27360 # include <limits.h>
27361 #else
27362 # include <assert.h>
27363 #endif
27364 /* Override any gcc2 internal prototype to avoid an error.  */
27365 #ifdef __cplusplus
27366 extern "C"
27367 {
27368 #endif
27369 /* We use char because int might match the return type of a gcc2
27370    builtin and then its argument prototype would still apply.  */
27371 char $ac_func ();
27372 /* The GNU C library defines this for functions which it implements
27373     to always fail with ENOSYS.  Some functions are actually named
27374     something starting with __ and the normal name is an alias.  */
27375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27376 choke me
27377 #else
27378 char (*f) () = $ac_func;
27379 #endif
27380 #ifdef __cplusplus
27381 }
27382 #endif
27383
27384 int
27385 main ()
27386 {
27387 return f != $ac_func;
27388   ;
27389   return 0;
27390 }
27391 _ACEOF
27392 rm -f conftest.$ac_objext conftest$ac_exeext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27394   (eval $ac_link) 2>&5
27395   ac_status=$?
27396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397   (exit $ac_status); } &&
27398          { ac_try='test -s conftest$ac_exeext'
27399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400   (eval $ac_try) 2>&5
27401   ac_status=$?
27402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403   (exit $ac_status); }; }; then
27404   eval "$as_ac_var=yes"
27405 else
27406   echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.$ac_ext >&5
27408
27409 eval "$as_ac_var=no"
27410 fi
27411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27412 fi
27413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27415 if test `eval echo '${'$as_ac_var'}'` = yes; then
27416   cat >>confdefs.h <<_ACEOF
27417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27418 _ACEOF
27419
27420 fi
27421 done
27422
27423 echo "$as_me:$LINENO: checking for working mmap" >&5
27424 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27425 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27426   echo $ECHO_N "(cached) $ECHO_C" >&6
27427 else
27428   if test "$cross_compiling" = yes; then
27429   ac_cv_func_mmap_fixed_mapped=no
27430 else
27431   cat >conftest.$ac_ext <<_ACEOF
27432 #line $LINENO "configure"
27433 /* confdefs.h.  */
27434 _ACEOF
27435 cat confdefs.h >>conftest.$ac_ext
27436 cat >>conftest.$ac_ext <<_ACEOF
27437 /* end confdefs.h.  */
27438 $ac_includes_default
27439 /* malloc might have been renamed as rpl_malloc. */
27440 #undef malloc
27441
27442 /* Thanks to Mike Haertel and Jim Avera for this test.
27443    Here is a matrix of mmap possibilities:
27444         mmap private not fixed
27445         mmap private fixed at somewhere currently unmapped
27446         mmap private fixed at somewhere already mapped
27447         mmap shared not fixed
27448         mmap shared fixed at somewhere currently unmapped
27449         mmap shared fixed at somewhere already mapped
27450    For private mappings, we should verify that changes cannot be read()
27451    back from the file, nor mmap's back from the file at a different
27452    address.  (There have been systems where private was not correctly
27453    implemented like the infamous i386 svr4.0, and systems where the
27454    VM page cache was not coherent with the file system buffer cache
27455    like early versions of FreeBSD and possibly contemporary NetBSD.)
27456    For shared mappings, we should conversely verify that changes get
27457    propagated back to all the places they're supposed to be.
27458
27459    Grep wants private fixed already mapped.
27460    The main things grep needs to know about mmap are:
27461    * does it exist and is it safe to write into the mmap'd area
27462    * how to use it (BSD variants)  */
27463
27464 #include <fcntl.h>
27465 #include <sys/mman.h>
27466
27467 #if !STDC_HEADERS && !HAVE_STDLIB_H
27468 char *malloc ();
27469 #endif
27470
27471 /* This mess was copied from the GNU getpagesize.h.  */
27472 #if !HAVE_GETPAGESIZE
27473 /* Assume that all systems that can run configure have sys/param.h.  */
27474 # if !HAVE_SYS_PARAM_H
27475 #  define HAVE_SYS_PARAM_H 1
27476 # endif
27477
27478 # ifdef _SC_PAGESIZE
27479 #  define getpagesize() sysconf(_SC_PAGESIZE)
27480 # else /* no _SC_PAGESIZE */
27481 #  if HAVE_SYS_PARAM_H
27482 #   include <sys/param.h>
27483 #   ifdef EXEC_PAGESIZE
27484 #    define getpagesize() EXEC_PAGESIZE
27485 #   else /* no EXEC_PAGESIZE */
27486 #    ifdef NBPG
27487 #     define getpagesize() NBPG * CLSIZE
27488 #     ifndef CLSIZE
27489 #      define CLSIZE 1
27490 #     endif /* no CLSIZE */
27491 #    else /* no NBPG */
27492 #     ifdef NBPC
27493 #      define getpagesize() NBPC
27494 #     else /* no NBPC */
27495 #      ifdef PAGESIZE
27496 #       define getpagesize() PAGESIZE
27497 #      endif /* PAGESIZE */
27498 #     endif /* no NBPC */
27499 #    endif /* no NBPG */
27500 #   endif /* no EXEC_PAGESIZE */
27501 #  else /* no HAVE_SYS_PARAM_H */
27502 #   define getpagesize() 8192   /* punt totally */
27503 #  endif /* no HAVE_SYS_PARAM_H */
27504 # endif /* no _SC_PAGESIZE */
27505
27506 #endif /* no HAVE_GETPAGESIZE */
27507
27508 int
27509 main ()
27510 {
27511   char *data, *data2, *data3;
27512   int i, pagesize;
27513   int fd;
27514
27515   pagesize = getpagesize ();
27516
27517   /* First, make a file with some known garbage in it. */
27518   data = (char *) malloc (pagesize);
27519   if (!data)
27520     exit (1);
27521   for (i = 0; i < pagesize; ++i)
27522     *(data + i) = rand ();
27523   umask (0);
27524   fd = creat ("conftest.mmap", 0600);
27525   if (fd < 0)
27526     exit (1);
27527   if (write (fd, data, pagesize) != pagesize)
27528     exit (1);
27529   close (fd);
27530
27531   /* Next, try to mmap the file at a fixed address which already has
27532      something else allocated at it.  If we can, also make sure that
27533      we see the same garbage.  */
27534   fd = open ("conftest.mmap", O_RDWR);
27535   if (fd < 0)
27536     exit (1);
27537   data2 = (char *) malloc (2 * pagesize);
27538   if (!data2)
27539     exit (1);
27540   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27541   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27542                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
27543     exit (1);
27544   for (i = 0; i < pagesize; ++i)
27545     if (*(data + i) != *(data2 + i))
27546       exit (1);
27547
27548   /* Finally, make sure that changes to the mapped area do not
27549      percolate back to the file as seen by read().  (This is a bug on
27550      some variants of i386 svr4.0.)  */
27551   for (i = 0; i < pagesize; ++i)
27552     *(data2 + i) = *(data2 + i) + 1;
27553   data3 = (char *) malloc (pagesize);
27554   if (!data3)
27555     exit (1);
27556   if (read (fd, data3, pagesize) != pagesize)
27557     exit (1);
27558   for (i = 0; i < pagesize; ++i)
27559     if (*(data + i) != *(data3 + i))
27560       exit (1);
27561   close (fd);
27562   exit (0);
27563 }
27564 _ACEOF
27565 rm -f conftest$ac_exeext
27566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27567   (eval $ac_link) 2>&5
27568   ac_status=$?
27569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572   (eval $ac_try) 2>&5
27573   ac_status=$?
27574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575   (exit $ac_status); }; }; then
27576   ac_cv_func_mmap_fixed_mapped=yes
27577 else
27578   echo "$as_me: program exited with status $ac_status" >&5
27579 echo "$as_me: failed program was:" >&5
27580 sed 's/^/| /' conftest.$ac_ext >&5
27581
27582 ( exit $ac_status )
27583 ac_cv_func_mmap_fixed_mapped=no
27584 fi
27585 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27586 fi
27587 fi
27588 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27589 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27590 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27591
27592 cat >>confdefs.h <<\_ACEOF
27593 #define HAVE_MMAP 1
27594 _ACEOF
27595
27596 fi
27597 rm -f conftest.mmap
27598
27599 fi
27600
27601 else
27602
27603   # This lets us hard-code the functionality we know we'll have in the cross
27604   # target environment.  "Let" is a sugar-coated word placed on an especially
27605   # dull and tedious hack, actually.
27606   #
27607   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27608   # that involve linking, can't be used:
27609   #    "cannot open sim-crt0.o"
27610   #    "cannot open crt0.o"
27611   # etc.  All this is because there currently exists no unified, consistent
27612   # way for top level CC information to be passed down to target directories:
27613   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27614   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27615   # crosses can be removed.
27616
27617   # If Canadian cross, then don't pick up tools from the build directory.
27618   # Used only in GLIBCXX_EXPORT_INCLUDES.
27619   if test -n "$with_cross_host" &&
27620      test x"$build_alias" != x"$with_cross_host" &&
27621      test x"$build" != x"$target";
27622   then
27623     CANADIAN=yes
27624   else
27625     CANADIAN=no
27626   fi
27627
27628   # Construct crosses by hand, eliminating bits that need ld...
27629   # GLIBCXX_CHECK_COMPILER_FEATURES
27630   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27631   # GLIBCXX_CHECK_MATH_SUPPORT
27632
27633   # First, test for "known" system libraries.  We may be using newlib even
27634   # on a hosted environment.
27635   if test "x${with_newlib}" = "xyes"; then
27636     os_include_dir="os/newlib"
27637     cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_HYPOT 1
27639 _ACEOF
27640
27641
27642     # GLIBCXX_CHECK_STDLIB_SUPPORT
27643     cat >>confdefs.h <<\_ACEOF
27644 #define HAVE_STRTOF 1
27645 _ACEOF
27646
27647     cat >>confdefs.h <<\_ACEOF
27648 #define HAVE_STRTOLD 1
27649 _ACEOF
27650
27651     # AC_FUNC_MMAP
27652     cat >>confdefs.h <<\_ACEOF
27653 #define HAVE_MMAP 1
27654 _ACEOF
27655
27656
27657     cat >>confdefs.h <<\_ACEOF
27658 #define HAVE_ACOSF 1
27659 _ACEOF
27660
27661     cat >>confdefs.h <<\_ACEOF
27662 #define HAVE_ASINF 1
27663 _ACEOF
27664
27665     cat >>confdefs.h <<\_ACEOF
27666 #define HAVE_ATAN2F 1
27667 _ACEOF
27668
27669     cat >>confdefs.h <<\_ACEOF
27670 #define HAVE_ATANF 1
27671 _ACEOF
27672
27673     cat >>confdefs.h <<\_ACEOF
27674 #define HAVE_CEILF 1
27675 _ACEOF
27676
27677     cat >>confdefs.h <<\_ACEOF
27678 #define HAVE_COPYSIGN 1
27679 _ACEOF
27680
27681     cat >>confdefs.h <<\_ACEOF
27682 #define HAVE_COPYSIGNF 1
27683 _ACEOF
27684
27685     cat >>confdefs.h <<\_ACEOF
27686 #define HAVE_COSF 1
27687 _ACEOF
27688
27689     cat >>confdefs.h <<\_ACEOF
27690 #define HAVE_COSHF 1
27691 _ACEOF
27692
27693     cat >>confdefs.h <<\_ACEOF
27694 #define HAVE_EXPF 1
27695 _ACEOF
27696
27697     cat >>confdefs.h <<\_ACEOF
27698 #define HAVE_FABSF 1
27699 _ACEOF
27700
27701     cat >>confdefs.h <<\_ACEOF
27702 #define HAVE_FLOORF 1
27703 _ACEOF
27704
27705     cat >>confdefs.h <<\_ACEOF
27706 #define HAVE_FMODF 1
27707 _ACEOF
27708
27709     cat >>confdefs.h <<\_ACEOF
27710 #define HAVE_FREXPF 1
27711 _ACEOF
27712
27713     cat >>confdefs.h <<\_ACEOF
27714 #define HAVE_LDEXPF 1
27715 _ACEOF
27716
27717     cat >>confdefs.h <<\_ACEOF
27718 #define HAVE_LOG10F 1
27719 _ACEOF
27720
27721     cat >>confdefs.h <<\_ACEOF
27722 #define HAVE_LOGF 1
27723 _ACEOF
27724
27725     cat >>confdefs.h <<\_ACEOF
27726 #define HAVE_MODFF 1
27727 _ACEOF
27728
27729     cat >>confdefs.h <<\_ACEOF
27730 #define HAVE_POWF 1
27731 _ACEOF
27732
27733     cat >>confdefs.h <<\_ACEOF
27734 #define HAVE_SINF 1
27735 _ACEOF
27736
27737     cat >>confdefs.h <<\_ACEOF
27738 #define HAVE_SINHF 1
27739 _ACEOF
27740
27741     cat >>confdefs.h <<\_ACEOF
27742 #define HAVE_SQRTF 1
27743 _ACEOF
27744
27745     cat >>confdefs.h <<\_ACEOF
27746 #define HAVE_TANF 1
27747 _ACEOF
27748
27749     cat >>confdefs.h <<\_ACEOF
27750 #define HAVE_TANHF 1
27751 _ACEOF
27752
27753   else
27754
27755 # Base decisions on target environment.
27756 case "${host}" in
27757   *-darwin*)
27758     # Darwin versions vary, but the linker should work in a cross environment,
27759     # so we just check for all the features here.
27760     # Check for available headers.
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27775     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27776     sys/types.h
27777 do
27778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27780   echo "$as_me:$LINENO: checking for $ac_header" >&5
27781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27783   echo $ECHO_N "(cached) $ECHO_C" >&6
27784 fi
27785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27787 else
27788   # Is the header compilable?
27789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27791 cat >conftest.$ac_ext <<_ACEOF
27792 #line $LINENO "configure"
27793 /* confdefs.h.  */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h.  */
27798 $ac_includes_default
27799 #include <$ac_header>
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_header_compiler=yes
27814 else
27815   echo "$as_me: failed program was:" >&5
27816 sed 's/^/| /' conftest.$ac_ext >&5
27817
27818 ac_header_compiler=no
27819 fi
27820 rm -f conftest.$ac_objext conftest.$ac_ext
27821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27822 echo "${ECHO_T}$ac_header_compiler" >&6
27823
27824 # Is the header present?
27825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27827 cat >conftest.$ac_ext <<_ACEOF
27828 #line $LINENO "configure"
27829 /* confdefs.h.  */
27830 _ACEOF
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h.  */
27834 #include <$ac_header>
27835 _ACEOF
27836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27837   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27838   ac_status=$?
27839   grep -v '^ *+' conftest.er1 >conftest.err
27840   rm -f conftest.er1
27841   cat conftest.err >&5
27842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843   (exit $ac_status); } >/dev/null; then
27844   if test -s conftest.err; then
27845     ac_cpp_err=$ac_c_preproc_warn_flag
27846   else
27847     ac_cpp_err=
27848   fi
27849 else
27850   ac_cpp_err=yes
27851 fi
27852 if test -z "$ac_cpp_err"; then
27853   ac_header_preproc=yes
27854 else
27855   echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27857
27858   ac_header_preproc=no
27859 fi
27860 rm -f conftest.err conftest.$ac_ext
27861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27862 echo "${ECHO_T}$ac_header_preproc" >&6
27863
27864 # So?  What about this header?
27865 case $ac_header_compiler:$ac_header_preproc in
27866   yes:no )
27867     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27869     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27871     (
27872       cat <<\_ASBOX
27873 ## ------------------------------------ ##
27874 ## Report this to bug-autoconf@gnu.org. ##
27875 ## ------------------------------------ ##
27876 _ASBOX
27877     ) |
27878       sed "s/^/$as_me: WARNING:     /" >&2
27879     ;;
27880   no:yes )
27881     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27883     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27885     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27887     (
27888       cat <<\_ASBOX
27889 ## ------------------------------------ ##
27890 ## Report this to bug-autoconf@gnu.org. ##
27891 ## ------------------------------------ ##
27892 _ASBOX
27893     ) |
27894       sed "s/^/$as_me: WARNING:     /" >&2
27895     ;;
27896 esac
27897 echo "$as_me:$LINENO: checking for $ac_header" >&5
27898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27900   echo $ECHO_N "(cached) $ECHO_C" >&6
27901 else
27902   eval "$as_ac_Header=$ac_header_preproc"
27903 fi
27904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27906
27907 fi
27908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27909   cat >>confdefs.h <<_ACEOF
27910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27911 _ACEOF
27912
27913 fi
27914
27915 done
27916
27917
27918
27919   # All these tests are for C++; save the language and the compiler flags.
27920   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27921   # found in GLIBCXX_CONFIGURE.
27922
27923
27924   ac_ext=cc
27925 ac_cpp='$CXXCPP $CPPFLAGS'
27926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27929
27930   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27931   ac_save_CXXFLAGS="$CXXFLAGS"
27932
27933   # Check for maintainer-mode bits.
27934   if test x"$USE_MAINTAINER_MODE" = xno; then
27935     WERROR=''
27936   else
27937     WERROR='-Werror'
27938   fi
27939
27940   # Check for -ffunction-sections -fdata-sections
27941   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27942 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27943   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27944   cat >conftest.$ac_ext <<_ACEOF
27945 #line $LINENO "configure"
27946 /* confdefs.h.  */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h.  */
27951
27952 int
27953 main ()
27954 {
27955 int foo;
27956   ;
27957   return 0;
27958 }
27959 _ACEOF
27960 rm -f conftest.$ac_objext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27962   (eval $ac_compile) 2>&5
27963   ac_status=$?
27964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965   (exit $ac_status); } &&
27966          { ac_try='test -s conftest.$ac_objext'
27967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968   (eval $ac_try) 2>&5
27969   ac_status=$?
27970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971   (exit $ac_status); }; }; then
27972   ac_fdsections=yes
27973 else
27974   echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27976
27977 ac_fdsections=no
27978 fi
27979 rm -f conftest.$ac_objext conftest.$ac_ext
27980   if test "$ac_test_CXXFLAGS" = set; then
27981     CXXFLAGS="$ac_save_CXXFLAGS"
27982   else
27983     # this is the suspicious part
27984     CXXFLAGS=''
27985   fi
27986   if test x"$ac_fdsections" = x"yes"; then
27987     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27988   fi
27989   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27990 echo "${ECHO_T}$ac_fdsections" >&6
27991
27992   ac_ext=c
27993 ac_cpp='$CPP $CPPFLAGS'
27994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27997
27998
27999
28000
28001     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
28002
28003   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28004   ac_save_CXXFLAGS="$CXXFLAGS"
28005   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28006
28007     echo "$as_me:$LINENO: checking for sin in -lm" >&5
28008 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28009 if test "${ac_cv_lib_m_sin+set}" = set; then
28010   echo $ECHO_N "(cached) $ECHO_C" >&6
28011 else
28012   ac_check_lib_save_LIBS=$LIBS
28013 LIBS="-lm  $LIBS"
28014 if test x$gcc_no_link = xyes; then
28015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28017    { (exit 1); exit 1; }; }
28018 fi
28019 cat >conftest.$ac_ext <<_ACEOF
28020 #line $LINENO "configure"
28021 /* confdefs.h.  */
28022 _ACEOF
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h.  */
28026
28027 /* Override any gcc2 internal prototype to avoid an error.  */
28028 #ifdef __cplusplus
28029 extern "C"
28030 #endif
28031 /* We use char because int might match the return type of a gcc2
28032    builtin and then its argument prototype would still apply.  */
28033 char sin ();
28034 int
28035 main ()
28036 {
28037 sin ();
28038   ;
28039   return 0;
28040 }
28041 _ACEOF
28042 rm -f conftest.$ac_objext conftest$ac_exeext
28043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28044   (eval $ac_link) 2>&5
28045   ac_status=$?
28046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047   (exit $ac_status); } &&
28048          { ac_try='test -s conftest$ac_exeext'
28049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050   (eval $ac_try) 2>&5
28051   ac_status=$?
28052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053   (exit $ac_status); }; }; then
28054   ac_cv_lib_m_sin=yes
28055 else
28056   echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28058
28059 ac_cv_lib_m_sin=no
28060 fi
28061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28062 LIBS=$ac_check_lib_save_LIBS
28063 fi
28064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28065 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28066 if test $ac_cv_lib_m_sin = yes; then
28067   libm="-lm"
28068 fi
28069
28070   ac_save_LIBS="$LIBS"
28071   LIBS="$LIBS $libm"
28072
28073
28074
28075   echo "$as_me:$LINENO: checking for isinf declaration" >&5
28076 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
28077   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28078     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
28079   echo $ECHO_N "(cached) $ECHO_C" >&6
28080 else
28081
28082
28083
28084       ac_ext=cc
28085 ac_cpp='$CXXCPP $CPPFLAGS'
28086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28089
28090       cat >conftest.$ac_ext <<_ACEOF
28091 #line $LINENO "configure"
28092 /* confdefs.h.  */
28093 _ACEOF
28094 cat confdefs.h >>conftest.$ac_ext
28095 cat >>conftest.$ac_ext <<_ACEOF
28096 /* end confdefs.h.  */
28097 #include <math.h>
28098                       #ifdef HAVE_IEEEFP_H
28099                       #include <ieeefp.h>
28100                       #endif
28101
28102 int
28103 main ()
28104 {
28105  isinf(0);
28106   ;
28107   return 0;
28108 }
28109 _ACEOF
28110 rm -f conftest.$ac_objext
28111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28112   (eval $ac_compile) 2>&5
28113   ac_status=$?
28114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115   (exit $ac_status); } &&
28116          { ac_try='test -s conftest.$ac_objext'
28117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118   (eval $ac_try) 2>&5
28119   ac_status=$?
28120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121   (exit $ac_status); }; }; then
28122   glibcxx_cv_func_isinf_use=yes
28123 else
28124   echo "$as_me: failed program was:" >&5
28125 sed 's/^/| /' conftest.$ac_ext >&5
28126
28127 glibcxx_cv_func_isinf_use=no
28128 fi
28129 rm -f conftest.$ac_objext conftest.$ac_ext
28130       ac_ext=c
28131 ac_cpp='$CPP $CPPFLAGS'
28132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28135
28136
28137 fi
28138
28139   fi
28140   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
28141 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
28142
28143   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28144
28145 for ac_func in isinf
28146 do
28147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28148 echo "$as_me:$LINENO: checking for $ac_func" >&5
28149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28150 if eval "test \"\${$as_ac_var+set}\" = set"; then
28151   echo $ECHO_N "(cached) $ECHO_C" >&6
28152 else
28153   if test x$gcc_no_link = xyes; then
28154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28156    { (exit 1); exit 1; }; }
28157 fi
28158 cat >conftest.$ac_ext <<_ACEOF
28159 #line $LINENO "configure"
28160 /* confdefs.h.  */
28161 _ACEOF
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h.  */
28165 /* System header to define __stub macros and hopefully few prototypes,
28166     which can conflict with char $ac_func (); below.
28167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28168     <limits.h> exists even on freestanding compilers.  */
28169 #ifdef __STDC__
28170 # include <limits.h>
28171 #else
28172 # include <assert.h>
28173 #endif
28174 /* Override any gcc2 internal prototype to avoid an error.  */
28175 #ifdef __cplusplus
28176 extern "C"
28177 {
28178 #endif
28179 /* We use char because int might match the return type of a gcc2
28180    builtin and then its argument prototype would still apply.  */
28181 char $ac_func ();
28182 /* The GNU C library defines this for functions which it implements
28183     to always fail with ENOSYS.  Some functions are actually named
28184     something starting with __ and the normal name is an alias.  */
28185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28186 choke me
28187 #else
28188 char (*f) () = $ac_func;
28189 #endif
28190 #ifdef __cplusplus
28191 }
28192 #endif
28193
28194 int
28195 main ()
28196 {
28197 return f != $ac_func;
28198   ;
28199   return 0;
28200 }
28201 _ACEOF
28202 rm -f conftest.$ac_objext conftest$ac_exeext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204   (eval $ac_link) 2>&5
28205   ac_status=$?
28206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207   (exit $ac_status); } &&
28208          { ac_try='test -s conftest$ac_exeext'
28209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210   (eval $ac_try) 2>&5
28211   ac_status=$?
28212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213   (exit $ac_status); }; }; then
28214   eval "$as_ac_var=yes"
28215 else
28216   echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28218
28219 eval "$as_ac_var=no"
28220 fi
28221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28222 fi
28223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28225 if test `eval echo '${'$as_ac_var'}'` = yes; then
28226   cat >>confdefs.h <<_ACEOF
28227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28228 _ACEOF
28229
28230 fi
28231 done
28232
28233   else
28234
28235   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28236 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28237   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28238     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28239   echo $ECHO_N "(cached) $ECHO_C" >&6
28240 else
28241
28242
28243
28244       ac_ext=cc
28245 ac_cpp='$CXXCPP $CPPFLAGS'
28246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28249
28250       cat >conftest.$ac_ext <<_ACEOF
28251 #line $LINENO "configure"
28252 /* confdefs.h.  */
28253 _ACEOF
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h.  */
28257 #include <math.h>
28258                       #ifdef HAVE_IEEEFP_H
28259                       #include <ieeefp.h>
28260                       #endif
28261
28262 int
28263 main ()
28264 {
28265  _isinf(0);
28266   ;
28267   return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28272   (eval $ac_compile) 2>&5
28273   ac_status=$?
28274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275   (exit $ac_status); } &&
28276          { ac_try='test -s conftest.$ac_objext'
28277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278   (eval $ac_try) 2>&5
28279   ac_status=$?
28280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281   (exit $ac_status); }; }; then
28282   glibcxx_cv_func__isinf_use=yes
28283 else
28284   echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.$ac_ext >&5
28286
28287 glibcxx_cv_func__isinf_use=no
28288 fi
28289 rm -f conftest.$ac_objext conftest.$ac_ext
28290       ac_ext=c
28291 ac_cpp='$CPP $CPPFLAGS'
28292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28295
28296
28297 fi
28298
28299   fi
28300   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28301 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28302
28303     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28304
28305 for ac_func in _isinf
28306 do
28307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28308 echo "$as_me:$LINENO: checking for $ac_func" >&5
28309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28310 if eval "test \"\${$as_ac_var+set}\" = set"; then
28311   echo $ECHO_N "(cached) $ECHO_C" >&6
28312 else
28313   if test x$gcc_no_link = xyes; then
28314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28316    { (exit 1); exit 1; }; }
28317 fi
28318 cat >conftest.$ac_ext <<_ACEOF
28319 #line $LINENO "configure"
28320 /* confdefs.h.  */
28321 _ACEOF
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h.  */
28325 /* System header to define __stub macros and hopefully few prototypes,
28326     which can conflict with char $ac_func (); below.
28327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28328     <limits.h> exists even on freestanding compilers.  */
28329 #ifdef __STDC__
28330 # include <limits.h>
28331 #else
28332 # include <assert.h>
28333 #endif
28334 /* Override any gcc2 internal prototype to avoid an error.  */
28335 #ifdef __cplusplus
28336 extern "C"
28337 {
28338 #endif
28339 /* We use char because int might match the return type of a gcc2
28340    builtin and then its argument prototype would still apply.  */
28341 char $ac_func ();
28342 /* The GNU C library defines this for functions which it implements
28343     to always fail with ENOSYS.  Some functions are actually named
28344     something starting with __ and the normal name is an alias.  */
28345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28346 choke me
28347 #else
28348 char (*f) () = $ac_func;
28349 #endif
28350 #ifdef __cplusplus
28351 }
28352 #endif
28353
28354 int
28355 main ()
28356 {
28357 return f != $ac_func;
28358   ;
28359   return 0;
28360 }
28361 _ACEOF
28362 rm -f conftest.$ac_objext conftest$ac_exeext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28364   (eval $ac_link) 2>&5
28365   ac_status=$?
28366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367   (exit $ac_status); } &&
28368          { ac_try='test -s conftest$ac_exeext'
28369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28370   (eval $ac_try) 2>&5
28371   ac_status=$?
28372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373   (exit $ac_status); }; }; then
28374   eval "$as_ac_var=yes"
28375 else
28376   echo "$as_me: failed program was:" >&5
28377 sed 's/^/| /' conftest.$ac_ext >&5
28378
28379 eval "$as_ac_var=no"
28380 fi
28381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28382 fi
28383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28385 if test `eval echo '${'$as_ac_var'}'` = yes; then
28386   cat >>confdefs.h <<_ACEOF
28387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28388 _ACEOF
28389
28390 fi
28391 done
28392
28393     fi
28394   fi
28395
28396
28397
28398   echo "$as_me:$LINENO: checking for isnan declaration" >&5
28399 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28400   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28401     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28402   echo $ECHO_N "(cached) $ECHO_C" >&6
28403 else
28404
28405
28406
28407       ac_ext=cc
28408 ac_cpp='$CXXCPP $CPPFLAGS'
28409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28412
28413       cat >conftest.$ac_ext <<_ACEOF
28414 #line $LINENO "configure"
28415 /* confdefs.h.  */
28416 _ACEOF
28417 cat confdefs.h >>conftest.$ac_ext
28418 cat >>conftest.$ac_ext <<_ACEOF
28419 /* end confdefs.h.  */
28420 #include <math.h>
28421                       #ifdef HAVE_IEEEFP_H
28422                       #include <ieeefp.h>
28423                       #endif
28424
28425 int
28426 main ()
28427 {
28428  isnan(0);
28429   ;
28430   return 0;
28431 }
28432 _ACEOF
28433 rm -f conftest.$ac_objext
28434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28435   (eval $ac_compile) 2>&5
28436   ac_status=$?
28437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438   (exit $ac_status); } &&
28439          { ac_try='test -s conftest.$ac_objext'
28440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441   (eval $ac_try) 2>&5
28442   ac_status=$?
28443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444   (exit $ac_status); }; }; then
28445   glibcxx_cv_func_isnan_use=yes
28446 else
28447   echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28449
28450 glibcxx_cv_func_isnan_use=no
28451 fi
28452 rm -f conftest.$ac_objext conftest.$ac_ext
28453       ac_ext=c
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28458
28459
28460 fi
28461
28462   fi
28463   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28464 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28465
28466   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28467
28468 for ac_func in isnan
28469 do
28470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471 echo "$as_me:$LINENO: checking for $ac_func" >&5
28472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473 if eval "test \"\${$as_ac_var+set}\" = set"; then
28474   echo $ECHO_N "(cached) $ECHO_C" >&6
28475 else
28476   if test x$gcc_no_link = xyes; then
28477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28479    { (exit 1); exit 1; }; }
28480 fi
28481 cat >conftest.$ac_ext <<_ACEOF
28482 #line $LINENO "configure"
28483 /* confdefs.h.  */
28484 _ACEOF
28485 cat confdefs.h >>conftest.$ac_ext
28486 cat >>conftest.$ac_ext <<_ACEOF
28487 /* end confdefs.h.  */
28488 /* System header to define __stub macros and hopefully few prototypes,
28489     which can conflict with char $ac_func (); below.
28490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28491     <limits.h> exists even on freestanding compilers.  */
28492 #ifdef __STDC__
28493 # include <limits.h>
28494 #else
28495 # include <assert.h>
28496 #endif
28497 /* Override any gcc2 internal prototype to avoid an error.  */
28498 #ifdef __cplusplus
28499 extern "C"
28500 {
28501 #endif
28502 /* We use char because int might match the return type of a gcc2
28503    builtin and then its argument prototype would still apply.  */
28504 char $ac_func ();
28505 /* The GNU C library defines this for functions which it implements
28506     to always fail with ENOSYS.  Some functions are actually named
28507     something starting with __ and the normal name is an alias.  */
28508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28509 choke me
28510 #else
28511 char (*f) () = $ac_func;
28512 #endif
28513 #ifdef __cplusplus
28514 }
28515 #endif
28516
28517 int
28518 main ()
28519 {
28520 return f != $ac_func;
28521   ;
28522   return 0;
28523 }
28524 _ACEOF
28525 rm -f conftest.$ac_objext conftest$ac_exeext
28526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28527   (eval $ac_link) 2>&5
28528   ac_status=$?
28529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530   (exit $ac_status); } &&
28531          { ac_try='test -s conftest$ac_exeext'
28532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533   (eval $ac_try) 2>&5
28534   ac_status=$?
28535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536   (exit $ac_status); }; }; then
28537   eval "$as_ac_var=yes"
28538 else
28539   echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28541
28542 eval "$as_ac_var=no"
28543 fi
28544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28545 fi
28546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28548 if test `eval echo '${'$as_ac_var'}'` = yes; then
28549   cat >>confdefs.h <<_ACEOF
28550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28551 _ACEOF
28552
28553 fi
28554 done
28555
28556   else
28557
28558   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28559 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28560   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28561     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28562   echo $ECHO_N "(cached) $ECHO_C" >&6
28563 else
28564
28565
28566
28567       ac_ext=cc
28568 ac_cpp='$CXXCPP $CPPFLAGS'
28569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28572
28573       cat >conftest.$ac_ext <<_ACEOF
28574 #line $LINENO "configure"
28575 /* confdefs.h.  */
28576 _ACEOF
28577 cat confdefs.h >>conftest.$ac_ext
28578 cat >>conftest.$ac_ext <<_ACEOF
28579 /* end confdefs.h.  */
28580 #include <math.h>
28581                       #ifdef HAVE_IEEEFP_H
28582                       #include <ieeefp.h>
28583                       #endif
28584
28585 int
28586 main ()
28587 {
28588  _isnan(0);
28589   ;
28590   return 0;
28591 }
28592 _ACEOF
28593 rm -f conftest.$ac_objext
28594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28595   (eval $ac_compile) 2>&5
28596   ac_status=$?
28597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598   (exit $ac_status); } &&
28599          { ac_try='test -s conftest.$ac_objext'
28600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601   (eval $ac_try) 2>&5
28602   ac_status=$?
28603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604   (exit $ac_status); }; }; then
28605   glibcxx_cv_func__isnan_use=yes
28606 else
28607   echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28609
28610 glibcxx_cv_func__isnan_use=no
28611 fi
28612 rm -f conftest.$ac_objext conftest.$ac_ext
28613       ac_ext=c
28614 ac_cpp='$CPP $CPPFLAGS'
28615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28618
28619
28620 fi
28621
28622   fi
28623   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28624 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28625
28626     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28627
28628 for ac_func in _isnan
28629 do
28630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28631 echo "$as_me:$LINENO: checking for $ac_func" >&5
28632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_var+set}\" = set"; then
28634   echo $ECHO_N "(cached) $ECHO_C" >&6
28635 else
28636   if test x$gcc_no_link = xyes; then
28637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639    { (exit 1); exit 1; }; }
28640 fi
28641 cat >conftest.$ac_ext <<_ACEOF
28642 #line $LINENO "configure"
28643 /* confdefs.h.  */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h.  */
28648 /* System header to define __stub macros and hopefully few prototypes,
28649     which can conflict with char $ac_func (); below.
28650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28651     <limits.h> exists even on freestanding compilers.  */
28652 #ifdef __STDC__
28653 # include <limits.h>
28654 #else
28655 # include <assert.h>
28656 #endif
28657 /* Override any gcc2 internal prototype to avoid an error.  */
28658 #ifdef __cplusplus
28659 extern "C"
28660 {
28661 #endif
28662 /* We use char because int might match the return type of a gcc2
28663    builtin and then its argument prototype would still apply.  */
28664 char $ac_func ();
28665 /* The GNU C library defines this for functions which it implements
28666     to always fail with ENOSYS.  Some functions are actually named
28667     something starting with __ and the normal name is an alias.  */
28668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28669 choke me
28670 #else
28671 char (*f) () = $ac_func;
28672 #endif
28673 #ifdef __cplusplus
28674 }
28675 #endif
28676
28677 int
28678 main ()
28679 {
28680 return f != $ac_func;
28681   ;
28682   return 0;
28683 }
28684 _ACEOF
28685 rm -f conftest.$ac_objext conftest$ac_exeext
28686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28687   (eval $ac_link) 2>&5
28688   ac_status=$?
28689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690   (exit $ac_status); } &&
28691          { ac_try='test -s conftest$ac_exeext'
28692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693   (eval $ac_try) 2>&5
28694   ac_status=$?
28695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696   (exit $ac_status); }; }; then
28697   eval "$as_ac_var=yes"
28698 else
28699   echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.$ac_ext >&5
28701
28702 eval "$as_ac_var=no"
28703 fi
28704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28705 fi
28706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28708 if test `eval echo '${'$as_ac_var'}'` = yes; then
28709   cat >>confdefs.h <<_ACEOF
28710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28711 _ACEOF
28712
28713 fi
28714 done
28715
28716     fi
28717   fi
28718
28719
28720
28721   echo "$as_me:$LINENO: checking for finite declaration" >&5
28722 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28723   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28724     if test "${glibcxx_cv_func_finite_use+set}" = set; then
28725   echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
28727
28728
28729
28730       ac_ext=cc
28731 ac_cpp='$CXXCPP $CPPFLAGS'
28732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28735
28736       cat >conftest.$ac_ext <<_ACEOF
28737 #line $LINENO "configure"
28738 /* confdefs.h.  */
28739 _ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h.  */
28743 #include <math.h>
28744                       #ifdef HAVE_IEEEFP_H
28745                       #include <ieeefp.h>
28746                       #endif
28747
28748 int
28749 main ()
28750 {
28751  finite(0);
28752   ;
28753   return 0;
28754 }
28755 _ACEOF
28756 rm -f conftest.$ac_objext
28757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28758   (eval $ac_compile) 2>&5
28759   ac_status=$?
28760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761   (exit $ac_status); } &&
28762          { ac_try='test -s conftest.$ac_objext'
28763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764   (eval $ac_try) 2>&5
28765   ac_status=$?
28766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767   (exit $ac_status); }; }; then
28768   glibcxx_cv_func_finite_use=yes
28769 else
28770   echo "$as_me: failed program was:" >&5
28771 sed 's/^/| /' conftest.$ac_ext >&5
28772
28773 glibcxx_cv_func_finite_use=no
28774 fi
28775 rm -f conftest.$ac_objext conftest.$ac_ext
28776       ac_ext=c
28777 ac_cpp='$CPP $CPPFLAGS'
28778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28781
28782
28783 fi
28784
28785   fi
28786   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28787 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28788
28789   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28790
28791 for ac_func in finite
28792 do
28793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28794 echo "$as_me:$LINENO: checking for $ac_func" >&5
28795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28796 if eval "test \"\${$as_ac_var+set}\" = set"; then
28797   echo $ECHO_N "(cached) $ECHO_C" >&6
28798 else
28799   if test x$gcc_no_link = xyes; then
28800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28802    { (exit 1); exit 1; }; }
28803 fi
28804 cat >conftest.$ac_ext <<_ACEOF
28805 #line $LINENO "configure"
28806 /* confdefs.h.  */
28807 _ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h.  */
28811 /* System header to define __stub macros and hopefully few prototypes,
28812     which can conflict with char $ac_func (); below.
28813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28814     <limits.h> exists even on freestanding compilers.  */
28815 #ifdef __STDC__
28816 # include <limits.h>
28817 #else
28818 # include <assert.h>
28819 #endif
28820 /* Override any gcc2 internal prototype to avoid an error.  */
28821 #ifdef __cplusplus
28822 extern "C"
28823 {
28824 #endif
28825 /* We use char because int might match the return type of a gcc2
28826    builtin and then its argument prototype would still apply.  */
28827 char $ac_func ();
28828 /* The GNU C library defines this for functions which it implements
28829     to always fail with ENOSYS.  Some functions are actually named
28830     something starting with __ and the normal name is an alias.  */
28831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28832 choke me
28833 #else
28834 char (*f) () = $ac_func;
28835 #endif
28836 #ifdef __cplusplus
28837 }
28838 #endif
28839
28840 int
28841 main ()
28842 {
28843 return f != $ac_func;
28844   ;
28845   return 0;
28846 }
28847 _ACEOF
28848 rm -f conftest.$ac_objext conftest$ac_exeext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28850   (eval $ac_link) 2>&5
28851   ac_status=$?
28852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853   (exit $ac_status); } &&
28854          { ac_try='test -s conftest$ac_exeext'
28855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856   (eval $ac_try) 2>&5
28857   ac_status=$?
28858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859   (exit $ac_status); }; }; then
28860   eval "$as_ac_var=yes"
28861 else
28862   echo "$as_me: failed program was:" >&5
28863 sed 's/^/| /' conftest.$ac_ext >&5
28864
28865 eval "$as_ac_var=no"
28866 fi
28867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28868 fi
28869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28871 if test `eval echo '${'$as_ac_var'}'` = yes; then
28872   cat >>confdefs.h <<_ACEOF
28873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28874 _ACEOF
28875
28876 fi
28877 done
28878
28879   else
28880
28881   echo "$as_me:$LINENO: checking for _finite declaration" >&5
28882 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28883   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28884     if test "${glibcxx_cv_func__finite_use+set}" = set; then
28885   echo $ECHO_N "(cached) $ECHO_C" >&6
28886 else
28887
28888
28889
28890       ac_ext=cc
28891 ac_cpp='$CXXCPP $CPPFLAGS'
28892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28895
28896       cat >conftest.$ac_ext <<_ACEOF
28897 #line $LINENO "configure"
28898 /* confdefs.h.  */
28899 _ACEOF
28900 cat confdefs.h >>conftest.$ac_ext
28901 cat >>conftest.$ac_ext <<_ACEOF
28902 /* end confdefs.h.  */
28903 #include <math.h>
28904                       #ifdef HAVE_IEEEFP_H
28905                       #include <ieeefp.h>
28906                       #endif
28907
28908 int
28909 main ()
28910 {
28911  _finite(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__finite_use=yes
28929 else
28930   echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28932
28933 glibcxx_cv_func__finite_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__finite_use" >&5
28947 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28948
28949     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28950
28951 for ac_func in _finite
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     fi
29040   fi
29041
29042
29043
29044   echo "$as_me:$LINENO: checking for copysign declaration" >&5
29045 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
29046   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
29047     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
29048   echo $ECHO_N "(cached) $ECHO_C" >&6
29049 else
29050
29051
29052
29053       ac_ext=cc
29054 ac_cpp='$CXXCPP $CPPFLAGS'
29055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29058
29059       cat >conftest.$ac_ext <<_ACEOF
29060 #line $LINENO "configure"
29061 /* confdefs.h.  */
29062 _ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h.  */
29066 #include <math.h>
29067 int
29068 main ()
29069 {
29070  copysign(0, 0);
29071   ;
29072   return 0;
29073 }
29074 _ACEOF
29075 rm -f conftest.$ac_objext
29076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29077   (eval $ac_compile) 2>&5
29078   ac_status=$?
29079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080   (exit $ac_status); } &&
29081          { ac_try='test -s conftest.$ac_objext'
29082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083   (eval $ac_try) 2>&5
29084   ac_status=$?
29085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086   (exit $ac_status); }; }; then
29087   glibcxx_cv_func_copysign_use=yes
29088 else
29089   echo "$as_me: failed program was:" >&5
29090 sed 's/^/| /' conftest.$ac_ext >&5
29091
29092 glibcxx_cv_func_copysign_use=no
29093 fi
29094 rm -f conftest.$ac_objext conftest.$ac_ext
29095       ac_ext=c
29096 ac_cpp='$CPP $CPPFLAGS'
29097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29100
29101
29102 fi
29103
29104   fi
29105   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
29106 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
29107
29108   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
29109
29110 for ac_func in copysign
29111 do
29112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29113 echo "$as_me:$LINENO: checking for $ac_func" >&5
29114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29115 if eval "test \"\${$as_ac_var+set}\" = set"; then
29116   echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29118   if test x$gcc_no_link = xyes; then
29119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29121    { (exit 1); exit 1; }; }
29122 fi
29123 cat >conftest.$ac_ext <<_ACEOF
29124 #line $LINENO "configure"
29125 /* confdefs.h.  */
29126 _ACEOF
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h.  */
29130 /* System header to define __stub macros and hopefully few prototypes,
29131     which can conflict with char $ac_func (); below.
29132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29133     <limits.h> exists even on freestanding compilers.  */
29134 #ifdef __STDC__
29135 # include <limits.h>
29136 #else
29137 # include <assert.h>
29138 #endif
29139 /* Override any gcc2 internal prototype to avoid an error.  */
29140 #ifdef __cplusplus
29141 extern "C"
29142 {
29143 #endif
29144 /* We use char because int might match the return type of a gcc2
29145    builtin and then its argument prototype would still apply.  */
29146 char $ac_func ();
29147 /* The GNU C library defines this for functions which it implements
29148     to always fail with ENOSYS.  Some functions are actually named
29149     something starting with __ and the normal name is an alias.  */
29150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29151 choke me
29152 #else
29153 char (*f) () = $ac_func;
29154 #endif
29155 #ifdef __cplusplus
29156 }
29157 #endif
29158
29159 int
29160 main ()
29161 {
29162 return f != $ac_func;
29163   ;
29164   return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29169   (eval $ac_link) 2>&5
29170   ac_status=$?
29171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172   (exit $ac_status); } &&
29173          { ac_try='test -s conftest$ac_exeext'
29174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175   (eval $ac_try) 2>&5
29176   ac_status=$?
29177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178   (exit $ac_status); }; }; then
29179   eval "$as_ac_var=yes"
29180 else
29181   echo "$as_me: failed program was:" >&5
29182 sed 's/^/| /' conftest.$ac_ext >&5
29183
29184 eval "$as_ac_var=no"
29185 fi
29186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29187 fi
29188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29190 if test `eval echo '${'$as_ac_var'}'` = yes; then
29191   cat >>confdefs.h <<_ACEOF
29192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29193 _ACEOF
29194
29195 fi
29196 done
29197
29198   else
29199
29200   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
29201 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
29202   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
29203     if test "${glibcxx_cv_func__copysign_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  _copysign(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__copysign_use=yes
29244 else
29245   echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 glibcxx_cv_func__copysign_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__copysign_use" >&5
29262 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29263
29264     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29265
29266 for ac_func in _copysign
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     fi
29355   fi
29356
29357
29358
29359   echo "$as_me:$LINENO: checking for sincos declaration" >&5
29360 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29361   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29362     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29363   echo $ECHO_N "(cached) $ECHO_C" >&6
29364 else
29365
29366
29367
29368       ac_ext=cc
29369 ac_cpp='$CXXCPP $CPPFLAGS'
29370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29373
29374       cat >conftest.$ac_ext <<_ACEOF
29375 #line $LINENO "configure"
29376 /* confdefs.h.  */
29377 _ACEOF
29378 cat confdefs.h >>conftest.$ac_ext
29379 cat >>conftest.$ac_ext <<_ACEOF
29380 /* end confdefs.h.  */
29381 #include <math.h>
29382 int
29383 main ()
29384 {
29385  sincos(0, 0, 0);
29386   ;
29387   return 0;
29388 }
29389 _ACEOF
29390 rm -f conftest.$ac_objext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29392   (eval $ac_compile) 2>&5
29393   ac_status=$?
29394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395   (exit $ac_status); } &&
29396          { ac_try='test -s conftest.$ac_objext'
29397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398   (eval $ac_try) 2>&5
29399   ac_status=$?
29400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401   (exit $ac_status); }; }; then
29402   glibcxx_cv_func_sincos_use=yes
29403 else
29404   echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29406
29407 glibcxx_cv_func_sincos_use=no
29408 fi
29409 rm -f conftest.$ac_objext conftest.$ac_ext
29410       ac_ext=c
29411 ac_cpp='$CPP $CPPFLAGS'
29412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29415
29416
29417 fi
29418
29419   fi
29420   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29421 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29422
29423   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29424
29425 for ac_func in sincos
29426 do
29427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29428 echo "$as_me:$LINENO: checking for $ac_func" >&5
29429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29430 if eval "test \"\${$as_ac_var+set}\" = set"; then
29431   echo $ECHO_N "(cached) $ECHO_C" >&6
29432 else
29433   if test x$gcc_no_link = xyes; then
29434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29436    { (exit 1); exit 1; }; }
29437 fi
29438 cat >conftest.$ac_ext <<_ACEOF
29439 #line $LINENO "configure"
29440 /* confdefs.h.  */
29441 _ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h.  */
29445 /* System header to define __stub macros and hopefully few prototypes,
29446     which can conflict with char $ac_func (); below.
29447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29448     <limits.h> exists even on freestanding compilers.  */
29449 #ifdef __STDC__
29450 # include <limits.h>
29451 #else
29452 # include <assert.h>
29453 #endif
29454 /* Override any gcc2 internal prototype to avoid an error.  */
29455 #ifdef __cplusplus
29456 extern "C"
29457 {
29458 #endif
29459 /* We use char because int might match the return type of a gcc2
29460    builtin and then its argument prototype would still apply.  */
29461 char $ac_func ();
29462 /* The GNU C library defines this for functions which it implements
29463     to always fail with ENOSYS.  Some functions are actually named
29464     something starting with __ and the normal name is an alias.  */
29465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29466 choke me
29467 #else
29468 char (*f) () = $ac_func;
29469 #endif
29470 #ifdef __cplusplus
29471 }
29472 #endif
29473
29474 int
29475 main ()
29476 {
29477 return f != $ac_func;
29478   ;
29479   return 0;
29480 }
29481 _ACEOF
29482 rm -f conftest.$ac_objext conftest$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484   (eval $ac_link) 2>&5
29485   ac_status=$?
29486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487   (exit $ac_status); } &&
29488          { ac_try='test -s conftest$ac_exeext'
29489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490   (eval $ac_try) 2>&5
29491   ac_status=$?
29492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493   (exit $ac_status); }; }; then
29494   eval "$as_ac_var=yes"
29495 else
29496   echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 eval "$as_ac_var=no"
29500 fi
29501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29502 fi
29503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29505 if test `eval echo '${'$as_ac_var'}'` = yes; then
29506   cat >>confdefs.h <<_ACEOF
29507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29508 _ACEOF
29509
29510 fi
29511 done
29512
29513   else
29514
29515   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29516 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29517   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29518     if test "${glibcxx_cv_func__sincos_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 int
29539 main ()
29540 {
29541  _sincos(0, 0, 0);
29542   ;
29543   return 0;
29544 }
29545 _ACEOF
29546 rm -f conftest.$ac_objext
29547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29548   (eval $ac_compile) 2>&5
29549   ac_status=$?
29550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551   (exit $ac_status); } &&
29552          { ac_try='test -s conftest.$ac_objext'
29553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554   (eval $ac_try) 2>&5
29555   ac_status=$?
29556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557   (exit $ac_status); }; }; then
29558   glibcxx_cv_func__sincos_use=yes
29559 else
29560   echo "$as_me: failed program was:" >&5
29561 sed 's/^/| /' conftest.$ac_ext >&5
29562
29563 glibcxx_cv_func__sincos_use=no
29564 fi
29565 rm -f conftest.$ac_objext conftest.$ac_ext
29566       ac_ext=c
29567 ac_cpp='$CPP $CPPFLAGS'
29568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29571
29572
29573 fi
29574
29575   fi
29576   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29577 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29578
29579     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29580
29581 for ac_func in _sincos
29582 do
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29586 if eval "test \"\${$as_ac_var+set}\" = set"; then
29587   echo $ECHO_N "(cached) $ECHO_C" >&6
29588 else
29589   if test x$gcc_no_link = xyes; then
29590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29592    { (exit 1); exit 1; }; }
29593 fi
29594 cat >conftest.$ac_ext <<_ACEOF
29595 #line $LINENO "configure"
29596 /* confdefs.h.  */
29597 _ACEOF
29598 cat confdefs.h >>conftest.$ac_ext
29599 cat >>conftest.$ac_ext <<_ACEOF
29600 /* end confdefs.h.  */
29601 /* System header to define __stub macros and hopefully few prototypes,
29602     which can conflict with char $ac_func (); below.
29603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29604     <limits.h> exists even on freestanding compilers.  */
29605 #ifdef __STDC__
29606 # include <limits.h>
29607 #else
29608 # include <assert.h>
29609 #endif
29610 /* Override any gcc2 internal prototype to avoid an error.  */
29611 #ifdef __cplusplus
29612 extern "C"
29613 {
29614 #endif
29615 /* We use char because int might match the return type of a gcc2
29616    builtin and then its argument prototype would still apply.  */
29617 char $ac_func ();
29618 /* The GNU C library defines this for functions which it implements
29619     to always fail with ENOSYS.  Some functions are actually named
29620     something starting with __ and the normal name is an alias.  */
29621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29622 choke me
29623 #else
29624 char (*f) () = $ac_func;
29625 #endif
29626 #ifdef __cplusplus
29627 }
29628 #endif
29629
29630 int
29631 main ()
29632 {
29633 return f != $ac_func;
29634   ;
29635   return 0;
29636 }
29637 _ACEOF
29638 rm -f conftest.$ac_objext conftest$ac_exeext
29639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29640   (eval $ac_link) 2>&5
29641   ac_status=$?
29642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643   (exit $ac_status); } &&
29644          { ac_try='test -s conftest$ac_exeext'
29645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29646   (eval $ac_try) 2>&5
29647   ac_status=$?
29648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649   (exit $ac_status); }; }; then
29650   eval "$as_ac_var=yes"
29651 else
29652   echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 eval "$as_ac_var=no"
29656 fi
29657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29658 fi
29659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29661 if test `eval echo '${'$as_ac_var'}'` = yes; then
29662   cat >>confdefs.h <<_ACEOF
29663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29664 _ACEOF
29665
29666 fi
29667 done
29668
29669     fi
29670   fi
29671
29672
29673
29674   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29675 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29676   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29677     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29678   echo $ECHO_N "(cached) $ECHO_C" >&6
29679 else
29680
29681
29682
29683       ac_ext=cc
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688
29689       cat >conftest.$ac_ext <<_ACEOF
29690 #line $LINENO "configure"
29691 /* confdefs.h.  */
29692 _ACEOF
29693 cat confdefs.h >>conftest.$ac_ext
29694 cat >>conftest.$ac_ext <<_ACEOF
29695 /* end confdefs.h.  */
29696 #include <math.h>
29697                       #ifdef HAVE_IEEEFP_H
29698                       #include <ieeefp.h>
29699                       #endif
29700
29701 int
29702 main ()
29703 {
29704  fpclass(0);
29705   ;
29706   return 0;
29707 }
29708 _ACEOF
29709 rm -f conftest.$ac_objext
29710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29711   (eval $ac_compile) 2>&5
29712   ac_status=$?
29713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714   (exit $ac_status); } &&
29715          { ac_try='test -s conftest.$ac_objext'
29716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29717   (eval $ac_try) 2>&5
29718   ac_status=$?
29719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720   (exit $ac_status); }; }; then
29721   glibcxx_cv_func_fpclass_use=yes
29722 else
29723   echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29725
29726 glibcxx_cv_func_fpclass_use=no
29727 fi
29728 rm -f conftest.$ac_objext conftest.$ac_ext
29729       ac_ext=c
29730 ac_cpp='$CPP $CPPFLAGS'
29731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29734
29735
29736 fi
29737
29738   fi
29739   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29740 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29741
29742   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29743
29744 for ac_func in fpclass
29745 do
29746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29747 echo "$as_me:$LINENO: checking for $ac_func" >&5
29748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29749 if eval "test \"\${$as_ac_var+set}\" = set"; then
29750   echo $ECHO_N "(cached) $ECHO_C" >&6
29751 else
29752   if test x$gcc_no_link = xyes; then
29753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29755    { (exit 1); exit 1; }; }
29756 fi
29757 cat >conftest.$ac_ext <<_ACEOF
29758 #line $LINENO "configure"
29759 /* confdefs.h.  */
29760 _ACEOF
29761 cat confdefs.h >>conftest.$ac_ext
29762 cat >>conftest.$ac_ext <<_ACEOF
29763 /* end confdefs.h.  */
29764 /* System header to define __stub macros and hopefully few prototypes,
29765     which can conflict with char $ac_func (); below.
29766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29767     <limits.h> exists even on freestanding compilers.  */
29768 #ifdef __STDC__
29769 # include <limits.h>
29770 #else
29771 # include <assert.h>
29772 #endif
29773 /* Override any gcc2 internal prototype to avoid an error.  */
29774 #ifdef __cplusplus
29775 extern "C"
29776 {
29777 #endif
29778 /* We use char because int might match the return type of a gcc2
29779    builtin and then its argument prototype would still apply.  */
29780 char $ac_func ();
29781 /* The GNU C library defines this for functions which it implements
29782     to always fail with ENOSYS.  Some functions are actually named
29783     something starting with __ and the normal name is an alias.  */
29784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29785 choke me
29786 #else
29787 char (*f) () = $ac_func;
29788 #endif
29789 #ifdef __cplusplus
29790 }
29791 #endif
29792
29793 int
29794 main ()
29795 {
29796 return f != $ac_func;
29797   ;
29798   return 0;
29799 }
29800 _ACEOF
29801 rm -f conftest.$ac_objext conftest$ac_exeext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29803   (eval $ac_link) 2>&5
29804   ac_status=$?
29805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806   (exit $ac_status); } &&
29807          { ac_try='test -s conftest$ac_exeext'
29808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29809   (eval $ac_try) 2>&5
29810   ac_status=$?
29811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812   (exit $ac_status); }; }; then
29813   eval "$as_ac_var=yes"
29814 else
29815   echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818 eval "$as_ac_var=no"
29819 fi
29820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29821 fi
29822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29824 if test `eval echo '${'$as_ac_var'}'` = yes; then
29825   cat >>confdefs.h <<_ACEOF
29826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29827 _ACEOF
29828
29829 fi
29830 done
29831
29832   else
29833
29834   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29835 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29836   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29837     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29838   echo $ECHO_N "(cached) $ECHO_C" >&6
29839 else
29840
29841
29842
29843       ac_ext=cc
29844 ac_cpp='$CXXCPP $CPPFLAGS'
29845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29848
29849       cat >conftest.$ac_ext <<_ACEOF
29850 #line $LINENO "configure"
29851 /* confdefs.h.  */
29852 _ACEOF
29853 cat confdefs.h >>conftest.$ac_ext
29854 cat >>conftest.$ac_ext <<_ACEOF
29855 /* end confdefs.h.  */
29856 #include <math.h>
29857                       #ifdef HAVE_IEEEFP_H
29858                       #include <ieeefp.h>
29859                       #endif
29860
29861 int
29862 main ()
29863 {
29864  _fpclass(0);
29865   ;
29866   return 0;
29867 }
29868 _ACEOF
29869 rm -f conftest.$ac_objext
29870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29871   (eval $ac_compile) 2>&5
29872   ac_status=$?
29873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874   (exit $ac_status); } &&
29875          { ac_try='test -s conftest.$ac_objext'
29876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877   (eval $ac_try) 2>&5
29878   ac_status=$?
29879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880   (exit $ac_status); }; }; then
29881   glibcxx_cv_func__fpclass_use=yes
29882 else
29883   echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.$ac_ext >&5
29885
29886 glibcxx_cv_func__fpclass_use=no
29887 fi
29888 rm -f conftest.$ac_objext conftest.$ac_ext
29889       ac_ext=c
29890 ac_cpp='$CPP $CPPFLAGS'
29891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29894
29895
29896 fi
29897
29898   fi
29899   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29900 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29901
29902     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29903
29904 for ac_func in _fpclass
29905 do
29906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29907 echo "$as_me:$LINENO: checking for $ac_func" >&5
29908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29909 if eval "test \"\${$as_ac_var+set}\" = set"; then
29910   echo $ECHO_N "(cached) $ECHO_C" >&6
29911 else
29912   if test x$gcc_no_link = xyes; then
29913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29915    { (exit 1); exit 1; }; }
29916 fi
29917 cat >conftest.$ac_ext <<_ACEOF
29918 #line $LINENO "configure"
29919 /* confdefs.h.  */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h.  */
29924 /* System header to define __stub macros and hopefully few prototypes,
29925     which can conflict with char $ac_func (); below.
29926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29927     <limits.h> exists even on freestanding compilers.  */
29928 #ifdef __STDC__
29929 # include <limits.h>
29930 #else
29931 # include <assert.h>
29932 #endif
29933 /* Override any gcc2 internal prototype to avoid an error.  */
29934 #ifdef __cplusplus
29935 extern "C"
29936 {
29937 #endif
29938 /* We use char because int might match the return type of a gcc2
29939    builtin and then its argument prototype would still apply.  */
29940 char $ac_func ();
29941 /* The GNU C library defines this for functions which it implements
29942     to always fail with ENOSYS.  Some functions are actually named
29943     something starting with __ and the normal name is an alias.  */
29944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29945 choke me
29946 #else
29947 char (*f) () = $ac_func;
29948 #endif
29949 #ifdef __cplusplus
29950 }
29951 #endif
29952
29953 int
29954 main ()
29955 {
29956 return f != $ac_func;
29957   ;
29958   return 0;
29959 }
29960 _ACEOF
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29963   (eval $ac_link) 2>&5
29964   ac_status=$?
29965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966   (exit $ac_status); } &&
29967          { ac_try='test -s conftest$ac_exeext'
29968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969   (eval $ac_try) 2>&5
29970   ac_status=$?
29971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972   (exit $ac_status); }; }; then
29973   eval "$as_ac_var=yes"
29974 else
29975   echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.$ac_ext >&5
29977
29978 eval "$as_ac_var=no"
29979 fi
29980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29981 fi
29982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29984 if test `eval echo '${'$as_ac_var'}'` = yes; then
29985   cat >>confdefs.h <<_ACEOF
29986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29987 _ACEOF
29988
29989 fi
29990 done
29991
29992     fi
29993   fi
29994
29995
29996
29997   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29998 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29999   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30000     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
30001   echo $ECHO_N "(cached) $ECHO_C" >&6
30002 else
30003
30004
30005
30006       ac_ext=cc
30007 ac_cpp='$CXXCPP $CPPFLAGS'
30008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30011
30012       cat >conftest.$ac_ext <<_ACEOF
30013 #line $LINENO "configure"
30014 /* confdefs.h.  */
30015 _ACEOF
30016 cat confdefs.h >>conftest.$ac_ext
30017 cat >>conftest.$ac_ext <<_ACEOF
30018 /* end confdefs.h.  */
30019 #include <math.h>
30020                       #ifdef HAVE_IEEEFP_H
30021                       #include <ieeefp.h>
30022                       #endif
30023
30024 int
30025 main ()
30026 {
30027  qfpclass(0);
30028   ;
30029   return 0;
30030 }
30031 _ACEOF
30032 rm -f conftest.$ac_objext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30034   (eval $ac_compile) 2>&5
30035   ac_status=$?
30036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037   (exit $ac_status); } &&
30038          { ac_try='test -s conftest.$ac_objext'
30039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30040   (eval $ac_try) 2>&5
30041   ac_status=$?
30042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043   (exit $ac_status); }; }; then
30044   glibcxx_cv_func_qfpclass_use=yes
30045 else
30046   echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30048
30049 glibcxx_cv_func_qfpclass_use=no
30050 fi
30051 rm -f conftest.$ac_objext conftest.$ac_ext
30052       ac_ext=c
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30057
30058
30059 fi
30060
30061   fi
30062   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
30063 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
30064
30065   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30066
30067 for ac_func in qfpclass
30068 do
30069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30070 echo "$as_me:$LINENO: checking for $ac_func" >&5
30071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30072 if eval "test \"\${$as_ac_var+set}\" = set"; then
30073   echo $ECHO_N "(cached) $ECHO_C" >&6
30074 else
30075   if test x$gcc_no_link = xyes; then
30076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30078    { (exit 1); exit 1; }; }
30079 fi
30080 cat >conftest.$ac_ext <<_ACEOF
30081 #line $LINENO "configure"
30082 /* confdefs.h.  */
30083 _ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h.  */
30087 /* System header to define __stub macros and hopefully few prototypes,
30088     which can conflict with char $ac_func (); below.
30089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30090     <limits.h> exists even on freestanding compilers.  */
30091 #ifdef __STDC__
30092 # include <limits.h>
30093 #else
30094 # include <assert.h>
30095 #endif
30096 /* Override any gcc2 internal prototype to avoid an error.  */
30097 #ifdef __cplusplus
30098 extern "C"
30099 {
30100 #endif
30101 /* We use char because int might match the return type of a gcc2
30102    builtin and then its argument prototype would still apply.  */
30103 char $ac_func ();
30104 /* The GNU C library defines this for functions which it implements
30105     to always fail with ENOSYS.  Some functions are actually named
30106     something starting with __ and the normal name is an alias.  */
30107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30108 choke me
30109 #else
30110 char (*f) () = $ac_func;
30111 #endif
30112 #ifdef __cplusplus
30113 }
30114 #endif
30115
30116 int
30117 main ()
30118 {
30119 return f != $ac_func;
30120   ;
30121   return 0;
30122 }
30123 _ACEOF
30124 rm -f conftest.$ac_objext conftest$ac_exeext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30126   (eval $ac_link) 2>&5
30127   ac_status=$?
30128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129   (exit $ac_status); } &&
30130          { ac_try='test -s conftest$ac_exeext'
30131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132   (eval $ac_try) 2>&5
30133   ac_status=$?
30134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135   (exit $ac_status); }; }; then
30136   eval "$as_ac_var=yes"
30137 else
30138   echo "$as_me: failed program was:" >&5
30139 sed 's/^/| /' conftest.$ac_ext >&5
30140
30141 eval "$as_ac_var=no"
30142 fi
30143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30144 fi
30145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30147 if test `eval echo '${'$as_ac_var'}'` = yes; then
30148   cat >>confdefs.h <<_ACEOF
30149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30150 _ACEOF
30151
30152 fi
30153 done
30154
30155   else
30156
30157   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
30158 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
30159   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30160     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
30161   echo $ECHO_N "(cached) $ECHO_C" >&6
30162 else
30163
30164
30165
30166       ac_ext=cc
30167 ac_cpp='$CXXCPP $CPPFLAGS'
30168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30171
30172       cat >conftest.$ac_ext <<_ACEOF
30173 #line $LINENO "configure"
30174 /* confdefs.h.  */
30175 _ACEOF
30176 cat confdefs.h >>conftest.$ac_ext
30177 cat >>conftest.$ac_ext <<_ACEOF
30178 /* end confdefs.h.  */
30179 #include <math.h>
30180                       #ifdef HAVE_IEEEFP_H
30181                       #include <ieeefp.h>
30182                       #endif
30183
30184 int
30185 main ()
30186 {
30187  _qfpclass(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__qfpclass_use=yes
30205 else
30206   echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.$ac_ext >&5
30208
30209 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
30223 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
30224
30225     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30226
30227 for ac_func in _qfpclass
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     fi
30316   fi
30317
30318
30319
30320   echo "$as_me:$LINENO: checking for hypot declaration" >&5
30321 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30322   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30323     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30324   echo $ECHO_N "(cached) $ECHO_C" >&6
30325 else
30326
30327
30328
30329       ac_ext=cc
30330 ac_cpp='$CXXCPP $CPPFLAGS'
30331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30334
30335       cat >conftest.$ac_ext <<_ACEOF
30336 #line $LINENO "configure"
30337 /* confdefs.h.  */
30338 _ACEOF
30339 cat confdefs.h >>conftest.$ac_ext
30340 cat >>conftest.$ac_ext <<_ACEOF
30341 /* end confdefs.h.  */
30342 #include <math.h>
30343 int
30344 main ()
30345 {
30346  hypot(0, 0);
30347   ;
30348   return 0;
30349 }
30350 _ACEOF
30351 rm -f conftest.$ac_objext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353   (eval $ac_compile) 2>&5
30354   ac_status=$?
30355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356   (exit $ac_status); } &&
30357          { ac_try='test -s conftest.$ac_objext'
30358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359   (eval $ac_try) 2>&5
30360   ac_status=$?
30361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362   (exit $ac_status); }; }; then
30363   glibcxx_cv_func_hypot_use=yes
30364 else
30365   echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30367
30368 glibcxx_cv_func_hypot_use=no
30369 fi
30370 rm -f conftest.$ac_objext conftest.$ac_ext
30371       ac_ext=c
30372 ac_cpp='$CPP $CPPFLAGS'
30373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30376
30377
30378 fi
30379
30380   fi
30381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30382 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30383
30384   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30385
30386 for ac_func in hypot
30387 do
30388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 echo "$as_me:$LINENO: checking for $ac_func" >&5
30390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30391 if eval "test \"\${$as_ac_var+set}\" = set"; then
30392   echo $ECHO_N "(cached) $ECHO_C" >&6
30393 else
30394   if test x$gcc_no_link = xyes; then
30395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30397    { (exit 1); exit 1; }; }
30398 fi
30399 cat >conftest.$ac_ext <<_ACEOF
30400 #line $LINENO "configure"
30401 /* confdefs.h.  */
30402 _ACEOF
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h.  */
30406 /* System header to define __stub macros and hopefully few prototypes,
30407     which can conflict with char $ac_func (); below.
30408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30409     <limits.h> exists even on freestanding compilers.  */
30410 #ifdef __STDC__
30411 # include <limits.h>
30412 #else
30413 # include <assert.h>
30414 #endif
30415 /* Override any gcc2 internal prototype to avoid an error.  */
30416 #ifdef __cplusplus
30417 extern "C"
30418 {
30419 #endif
30420 /* We use char because int might match the return type of a gcc2
30421    builtin and then its argument prototype would still apply.  */
30422 char $ac_func ();
30423 /* The GNU C library defines this for functions which it implements
30424     to always fail with ENOSYS.  Some functions are actually named
30425     something starting with __ and the normal name is an alias.  */
30426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30427 choke me
30428 #else
30429 char (*f) () = $ac_func;
30430 #endif
30431 #ifdef __cplusplus
30432 }
30433 #endif
30434
30435 int
30436 main ()
30437 {
30438 return f != $ac_func;
30439   ;
30440   return 0;
30441 }
30442 _ACEOF
30443 rm -f conftest.$ac_objext conftest$ac_exeext
30444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30445   (eval $ac_link) 2>&5
30446   ac_status=$?
30447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448   (exit $ac_status); } &&
30449          { ac_try='test -s conftest$ac_exeext'
30450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30451   (eval $ac_try) 2>&5
30452   ac_status=$?
30453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454   (exit $ac_status); }; }; then
30455   eval "$as_ac_var=yes"
30456 else
30457   echo "$as_me: failed program was:" >&5
30458 sed 's/^/| /' conftest.$ac_ext >&5
30459
30460 eval "$as_ac_var=no"
30461 fi
30462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30463 fi
30464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30466 if test `eval echo '${'$as_ac_var'}'` = yes; then
30467   cat >>confdefs.h <<_ACEOF
30468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30469 _ACEOF
30470
30471 fi
30472 done
30473
30474   else
30475
30476   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30477 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30478   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30479     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30480   echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482
30483
30484
30485       ac_ext=cc
30486 ac_cpp='$CXXCPP $CPPFLAGS'
30487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30490
30491       cat >conftest.$ac_ext <<_ACEOF
30492 #line $LINENO "configure"
30493 /* confdefs.h.  */
30494 _ACEOF
30495 cat confdefs.h >>conftest.$ac_ext
30496 cat >>conftest.$ac_ext <<_ACEOF
30497 /* end confdefs.h.  */
30498 #include <math.h>
30499 int
30500 main ()
30501 {
30502  _hypot(0, 0);
30503   ;
30504   return 0;
30505 }
30506 _ACEOF
30507 rm -f conftest.$ac_objext
30508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30509   (eval $ac_compile) 2>&5
30510   ac_status=$?
30511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512   (exit $ac_status); } &&
30513          { ac_try='test -s conftest.$ac_objext'
30514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515   (eval $ac_try) 2>&5
30516   ac_status=$?
30517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518   (exit $ac_status); }; }; then
30519   glibcxx_cv_func__hypot_use=yes
30520 else
30521   echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.$ac_ext >&5
30523
30524 glibcxx_cv_func__hypot_use=no
30525 fi
30526 rm -f conftest.$ac_objext conftest.$ac_ext
30527       ac_ext=c
30528 ac_cpp='$CPP $CPPFLAGS'
30529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30532
30533
30534 fi
30535
30536   fi
30537   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30538 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30539
30540     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30541
30542 for ac_func in _hypot
30543 do
30544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30545 echo "$as_me:$LINENO: checking for $ac_func" >&5
30546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30547 if eval "test \"\${$as_ac_var+set}\" = set"; then
30548   echo $ECHO_N "(cached) $ECHO_C" >&6
30549 else
30550   if test x$gcc_no_link = xyes; then
30551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30553    { (exit 1); exit 1; }; }
30554 fi
30555 cat >conftest.$ac_ext <<_ACEOF
30556 #line $LINENO "configure"
30557 /* confdefs.h.  */
30558 _ACEOF
30559 cat confdefs.h >>conftest.$ac_ext
30560 cat >>conftest.$ac_ext <<_ACEOF
30561 /* end confdefs.h.  */
30562 /* System header to define __stub macros and hopefully few prototypes,
30563     which can conflict with char $ac_func (); below.
30564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30565     <limits.h> exists even on freestanding compilers.  */
30566 #ifdef __STDC__
30567 # include <limits.h>
30568 #else
30569 # include <assert.h>
30570 #endif
30571 /* Override any gcc2 internal prototype to avoid an error.  */
30572 #ifdef __cplusplus
30573 extern "C"
30574 {
30575 #endif
30576 /* We use char because int might match the return type of a gcc2
30577    builtin and then its argument prototype would still apply.  */
30578 char $ac_func ();
30579 /* The GNU C library defines this for functions which it implements
30580     to always fail with ENOSYS.  Some functions are actually named
30581     something starting with __ and the normal name is an alias.  */
30582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30583 choke me
30584 #else
30585 char (*f) () = $ac_func;
30586 #endif
30587 #ifdef __cplusplus
30588 }
30589 #endif
30590
30591 int
30592 main ()
30593 {
30594 return f != $ac_func;
30595   ;
30596   return 0;
30597 }
30598 _ACEOF
30599 rm -f conftest.$ac_objext conftest$ac_exeext
30600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30601   (eval $ac_link) 2>&5
30602   ac_status=$?
30603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604   (exit $ac_status); } &&
30605          { ac_try='test -s conftest$ac_exeext'
30606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607   (eval $ac_try) 2>&5
30608   ac_status=$?
30609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610   (exit $ac_status); }; }; then
30611   eval "$as_ac_var=yes"
30612 else
30613   echo "$as_me: failed program was:" >&5
30614 sed 's/^/| /' conftest.$ac_ext >&5
30615
30616 eval "$as_ac_var=no"
30617 fi
30618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30619 fi
30620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30622 if test `eval echo '${'$as_ac_var'}'` = yes; then
30623   cat >>confdefs.h <<_ACEOF
30624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30625 _ACEOF
30626
30627 fi
30628 done
30629
30630     fi
30631   fi
30632
30633
30634
30635   echo "$as_me:$LINENO: checking for float trig functions" >&5
30636 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30637   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30638   echo $ECHO_N "(cached) $ECHO_C" >&6
30639 else
30640
30641
30642
30643     ac_ext=cc
30644 ac_cpp='$CXXCPP $CPPFLAGS'
30645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30648
30649     cat >conftest.$ac_ext <<_ACEOF
30650 #line $LINENO "configure"
30651 /* confdefs.h.  */
30652 _ACEOF
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h.  */
30656 #include <math.h>
30657 int
30658 main ()
30659 {
30660  `for x in acosf asinf atanf \
30661                                           cosf sinf tanf \
30662                                           coshf sinhf tanhf; do echo "$x (0);"; done`
30663   ;
30664   return 0;
30665 }
30666 _ACEOF
30667 rm -f conftest.$ac_objext
30668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30669   (eval $ac_compile) 2>&5
30670   ac_status=$?
30671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672   (exit $ac_status); } &&
30673          { ac_try='test -s conftest.$ac_objext'
30674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675   (eval $ac_try) 2>&5
30676   ac_status=$?
30677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678   (exit $ac_status); }; }; then
30679   glibcxx_cv_func_float_trig_use=yes
30680 else
30681   echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30683
30684 glibcxx_cv_func_float_trig_use=no
30685 fi
30686 rm -f conftest.$ac_objext conftest.$ac_ext
30687     ac_ext=c
30688 ac_cpp='$CPP $CPPFLAGS'
30689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30692
30693 fi
30694
30695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30696 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30697   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707 for ac_func in acosf asinf atanf \
30708                                           cosf sinf tanf \
30709                                           coshf sinhf tanhf
30710 do
30711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30712 echo "$as_me:$LINENO: checking for $ac_func" >&5
30713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30714 if eval "test \"\${$as_ac_var+set}\" = set"; then
30715   echo $ECHO_N "(cached) $ECHO_C" >&6
30716 else
30717   if test x$gcc_no_link = xyes; then
30718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30720    { (exit 1); exit 1; }; }
30721 fi
30722 cat >conftest.$ac_ext <<_ACEOF
30723 #line $LINENO "configure"
30724 /* confdefs.h.  */
30725 _ACEOF
30726 cat confdefs.h >>conftest.$ac_ext
30727 cat >>conftest.$ac_ext <<_ACEOF
30728 /* end confdefs.h.  */
30729 /* System header to define __stub macros and hopefully few prototypes,
30730     which can conflict with char $ac_func (); below.
30731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30732     <limits.h> exists even on freestanding compilers.  */
30733 #ifdef __STDC__
30734 # include <limits.h>
30735 #else
30736 # include <assert.h>
30737 #endif
30738 /* Override any gcc2 internal prototype to avoid an error.  */
30739 #ifdef __cplusplus
30740 extern "C"
30741 {
30742 #endif
30743 /* We use char because int might match the return type of a gcc2
30744    builtin and then its argument prototype would still apply.  */
30745 char $ac_func ();
30746 /* The GNU C library defines this for functions which it implements
30747     to always fail with ENOSYS.  Some functions are actually named
30748     something starting with __ and the normal name is an alias.  */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30750 choke me
30751 #else
30752 char (*f) () = $ac_func;
30753 #endif
30754 #ifdef __cplusplus
30755 }
30756 #endif
30757
30758 int
30759 main ()
30760 {
30761 return f != $ac_func;
30762   ;
30763   return 0;
30764 }
30765 _ACEOF
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768   (eval $ac_link) 2>&5
30769   ac_status=$?
30770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771   (exit $ac_status); } &&
30772          { ac_try='test -s conftest$ac_exeext'
30773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774   (eval $ac_try) 2>&5
30775   ac_status=$?
30776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777   (exit $ac_status); }; }; then
30778   eval "$as_ac_var=yes"
30779 else
30780   echo "$as_me: failed program was:" >&5
30781 sed 's/^/| /' conftest.$ac_ext >&5
30782
30783 eval "$as_ac_var=no"
30784 fi
30785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30786 fi
30787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30789 if test `eval echo '${'$as_ac_var'}'` = yes; then
30790   cat >>confdefs.h <<_ACEOF
30791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30792 _ACEOF
30793
30794 fi
30795 done
30796
30797   fi
30798
30799
30800   echo "$as_me:$LINENO: checking for float round functions" >&5
30801 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30802   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30803   echo $ECHO_N "(cached) $ECHO_C" >&6
30804 else
30805
30806
30807
30808     ac_ext=cc
30809 ac_cpp='$CXXCPP $CPPFLAGS'
30810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30813
30814     cat >conftest.$ac_ext <<_ACEOF
30815 #line $LINENO "configure"
30816 /* confdefs.h.  */
30817 _ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h.  */
30821 #include <math.h>
30822 int
30823 main ()
30824 {
30825  `for x in ceilf floorf; do echo "$x (0);"; done`
30826   ;
30827   return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30832   (eval $ac_compile) 2>&5
30833   ac_status=$?
30834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835   (exit $ac_status); } &&
30836          { ac_try='test -s conftest.$ac_objext'
30837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838   (eval $ac_try) 2>&5
30839   ac_status=$?
30840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841   (exit $ac_status); }; }; then
30842   glibcxx_cv_func_float_round_use=yes
30843 else
30844   echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.$ac_ext >&5
30846
30847 glibcxx_cv_func_float_round_use=no
30848 fi
30849 rm -f conftest.$ac_objext conftest.$ac_ext
30850     ac_ext=c
30851 ac_cpp='$CPP $CPPFLAGS'
30852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30855
30856 fi
30857
30858   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30859 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30860   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30861
30862
30863 for ac_func in ceilf floorf
30864 do
30865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30866 echo "$as_me:$LINENO: checking for $ac_func" >&5
30867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30868 if eval "test \"\${$as_ac_var+set}\" = set"; then
30869   echo $ECHO_N "(cached) $ECHO_C" >&6
30870 else
30871   if test x$gcc_no_link = xyes; then
30872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30874    { (exit 1); exit 1; }; }
30875 fi
30876 cat >conftest.$ac_ext <<_ACEOF
30877 #line $LINENO "configure"
30878 /* confdefs.h.  */
30879 _ACEOF
30880 cat confdefs.h >>conftest.$ac_ext
30881 cat >>conftest.$ac_ext <<_ACEOF
30882 /* end confdefs.h.  */
30883 /* System header to define __stub macros and hopefully few prototypes,
30884     which can conflict with char $ac_func (); below.
30885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30886     <limits.h> exists even on freestanding compilers.  */
30887 #ifdef __STDC__
30888 # include <limits.h>
30889 #else
30890 # include <assert.h>
30891 #endif
30892 /* Override any gcc2 internal prototype to avoid an error.  */
30893 #ifdef __cplusplus
30894 extern "C"
30895 {
30896 #endif
30897 /* We use char because int might match the return type of a gcc2
30898    builtin and then its argument prototype would still apply.  */
30899 char $ac_func ();
30900 /* The GNU C library defines this for functions which it implements
30901     to always fail with ENOSYS.  Some functions are actually named
30902     something starting with __ and the normal name is an alias.  */
30903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30904 choke me
30905 #else
30906 char (*f) () = $ac_func;
30907 #endif
30908 #ifdef __cplusplus
30909 }
30910 #endif
30911
30912 int
30913 main ()
30914 {
30915 return f != $ac_func;
30916   ;
30917   return 0;
30918 }
30919 _ACEOF
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30922   (eval $ac_link) 2>&5
30923   ac_status=$?
30924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925   (exit $ac_status); } &&
30926          { ac_try='test -s conftest$ac_exeext'
30927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928   (eval $ac_try) 2>&5
30929   ac_status=$?
30930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931   (exit $ac_status); }; }; then
30932   eval "$as_ac_var=yes"
30933 else
30934   echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.$ac_ext >&5
30936
30937 eval "$as_ac_var=no"
30938 fi
30939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30940 fi
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30943 if test `eval echo '${'$as_ac_var'}'` = yes; then
30944   cat >>confdefs.h <<_ACEOF
30945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30946 _ACEOF
30947
30948 fi
30949 done
30950
30951   fi
30952
30953
30954
30955   echo "$as_me:$LINENO: checking for expf declaration" >&5
30956 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30957   if test x${glibcxx_cv_func_expf_use+set} != xset; then
30958     if test "${glibcxx_cv_func_expf_use+set}" = set; then
30959   echo $ECHO_N "(cached) $ECHO_C" >&6
30960 else
30961
30962
30963
30964       ac_ext=cc
30965 ac_cpp='$CXXCPP $CPPFLAGS'
30966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969
30970       cat >conftest.$ac_ext <<_ACEOF
30971 #line $LINENO "configure"
30972 /* confdefs.h.  */
30973 _ACEOF
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h.  */
30977 #include <math.h>
30978                       #ifdef HAVE_IEEEFP_H
30979                       #include <ieeefp.h>
30980                       #endif
30981
30982 int
30983 main ()
30984 {
30985  expf(0);
30986   ;
30987   return 0;
30988 }
30989 _ACEOF
30990 rm -f conftest.$ac_objext
30991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30992   (eval $ac_compile) 2>&5
30993   ac_status=$?
30994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995   (exit $ac_status); } &&
30996          { ac_try='test -s conftest.$ac_objext'
30997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998   (eval $ac_try) 2>&5
30999   ac_status=$?
31000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001   (exit $ac_status); }; }; then
31002   glibcxx_cv_func_expf_use=yes
31003 else
31004   echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31006
31007 glibcxx_cv_func_expf_use=no
31008 fi
31009 rm -f conftest.$ac_objext conftest.$ac_ext
31010       ac_ext=c
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31015
31016
31017 fi
31018
31019   fi
31020   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
31021 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
31022
31023   if test x$glibcxx_cv_func_expf_use = x"yes"; then
31024
31025 for ac_func in expf
31026 do
31027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31028 echo "$as_me:$LINENO: checking for $ac_func" >&5
31029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31030 if eval "test \"\${$as_ac_var+set}\" = set"; then
31031   echo $ECHO_N "(cached) $ECHO_C" >&6
31032 else
31033   if test x$gcc_no_link = xyes; then
31034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31036    { (exit 1); exit 1; }; }
31037 fi
31038 cat >conftest.$ac_ext <<_ACEOF
31039 #line $LINENO "configure"
31040 /* confdefs.h.  */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h.  */
31045 /* System header to define __stub macros and hopefully few prototypes,
31046     which can conflict with char $ac_func (); below.
31047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31048     <limits.h> exists even on freestanding compilers.  */
31049 #ifdef __STDC__
31050 # include <limits.h>
31051 #else
31052 # include <assert.h>
31053 #endif
31054 /* Override any gcc2 internal prototype to avoid an error.  */
31055 #ifdef __cplusplus
31056 extern "C"
31057 {
31058 #endif
31059 /* We use char because int might match the return type of a gcc2
31060    builtin and then its argument prototype would still apply.  */
31061 char $ac_func ();
31062 /* The GNU C library defines this for functions which it implements
31063     to always fail with ENOSYS.  Some functions are actually named
31064     something starting with __ and the normal name is an alias.  */
31065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31066 choke me
31067 #else
31068 char (*f) () = $ac_func;
31069 #endif
31070 #ifdef __cplusplus
31071 }
31072 #endif
31073
31074 int
31075 main ()
31076 {
31077 return f != $ac_func;
31078   ;
31079   return 0;
31080 }
31081 _ACEOF
31082 rm -f conftest.$ac_objext conftest$ac_exeext
31083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31084   (eval $ac_link) 2>&5
31085   ac_status=$?
31086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087   (exit $ac_status); } &&
31088          { ac_try='test -s conftest$ac_exeext'
31089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090   (eval $ac_try) 2>&5
31091   ac_status=$?
31092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093   (exit $ac_status); }; }; then
31094   eval "$as_ac_var=yes"
31095 else
31096   echo "$as_me: failed program was:" >&5
31097 sed 's/^/| /' conftest.$ac_ext >&5
31098
31099 eval "$as_ac_var=no"
31100 fi
31101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31102 fi
31103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31105 if test `eval echo '${'$as_ac_var'}'` = yes; then
31106   cat >>confdefs.h <<_ACEOF
31107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31108 _ACEOF
31109
31110 fi
31111 done
31112
31113   else
31114
31115   echo "$as_me:$LINENO: checking for _expf declaration" >&5
31116 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
31117   if test x${glibcxx_cv_func__expf_use+set} != xset; then
31118     if test "${glibcxx_cv_func__expf_use+set}" = set; then
31119   echo $ECHO_N "(cached) $ECHO_C" >&6
31120 else
31121
31122
31123
31124       ac_ext=cc
31125 ac_cpp='$CXXCPP $CPPFLAGS'
31126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31129
31130       cat >conftest.$ac_ext <<_ACEOF
31131 #line $LINENO "configure"
31132 /* confdefs.h.  */
31133 _ACEOF
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h.  */
31137 #include <math.h>
31138                       #ifdef HAVE_IEEEFP_H
31139                       #include <ieeefp.h>
31140                       #endif
31141
31142 int
31143 main ()
31144 {
31145  _expf(0);
31146   ;
31147   return 0;
31148 }
31149 _ACEOF
31150 rm -f conftest.$ac_objext
31151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31152   (eval $ac_compile) 2>&5
31153   ac_status=$?
31154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155   (exit $ac_status); } &&
31156          { ac_try='test -s conftest.$ac_objext'
31157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158   (eval $ac_try) 2>&5
31159   ac_status=$?
31160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161   (exit $ac_status); }; }; then
31162   glibcxx_cv_func__expf_use=yes
31163 else
31164   echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.$ac_ext >&5
31166
31167 glibcxx_cv_func__expf_use=no
31168 fi
31169 rm -f conftest.$ac_objext conftest.$ac_ext
31170       ac_ext=c
31171 ac_cpp='$CPP $CPPFLAGS'
31172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31175
31176
31177 fi
31178
31179   fi
31180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
31181 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
31182
31183     if test x$glibcxx_cv_func__expf_use = x"yes"; then
31184
31185 for ac_func in _expf
31186 do
31187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31188 echo "$as_me:$LINENO: checking for $ac_func" >&5
31189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31190 if eval "test \"\${$as_ac_var+set}\" = set"; then
31191   echo $ECHO_N "(cached) $ECHO_C" >&6
31192 else
31193   if test x$gcc_no_link = xyes; then
31194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31196    { (exit 1); exit 1; }; }
31197 fi
31198 cat >conftest.$ac_ext <<_ACEOF
31199 #line $LINENO "configure"
31200 /* confdefs.h.  */
31201 _ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h.  */
31205 /* System header to define __stub macros and hopefully few prototypes,
31206     which can conflict with char $ac_func (); below.
31207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31208     <limits.h> exists even on freestanding compilers.  */
31209 #ifdef __STDC__
31210 # include <limits.h>
31211 #else
31212 # include <assert.h>
31213 #endif
31214 /* Override any gcc2 internal prototype to avoid an error.  */
31215 #ifdef __cplusplus
31216 extern "C"
31217 {
31218 #endif
31219 /* We use char because int might match the return type of a gcc2
31220    builtin and then its argument prototype would still apply.  */
31221 char $ac_func ();
31222 /* The GNU C library defines this for functions which it implements
31223     to always fail with ENOSYS.  Some functions are actually named
31224     something starting with __ and the normal name is an alias.  */
31225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31226 choke me
31227 #else
31228 char (*f) () = $ac_func;
31229 #endif
31230 #ifdef __cplusplus
31231 }
31232 #endif
31233
31234 int
31235 main ()
31236 {
31237 return f != $ac_func;
31238   ;
31239   return 0;
31240 }
31241 _ACEOF
31242 rm -f conftest.$ac_objext conftest$ac_exeext
31243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31244   (eval $ac_link) 2>&5
31245   ac_status=$?
31246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247   (exit $ac_status); } &&
31248          { ac_try='test -s conftest$ac_exeext'
31249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250   (eval $ac_try) 2>&5
31251   ac_status=$?
31252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253   (exit $ac_status); }; }; then
31254   eval "$as_ac_var=yes"
31255 else
31256   echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.$ac_ext >&5
31258
31259 eval "$as_ac_var=no"
31260 fi
31261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31262 fi
31263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31265 if test `eval echo '${'$as_ac_var'}'` = yes; then
31266   cat >>confdefs.h <<_ACEOF
31267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31268 _ACEOF
31269
31270 fi
31271 done
31272
31273     fi
31274   fi
31275
31276
31277
31278   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31279 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31280   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31281     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31282   echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31284
31285
31286
31287       ac_ext=cc
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292
31293       cat >conftest.$ac_ext <<_ACEOF
31294 #line $LINENO "configure"
31295 /* confdefs.h.  */
31296 _ACEOF
31297 cat confdefs.h >>conftest.$ac_ext
31298 cat >>conftest.$ac_ext <<_ACEOF
31299 /* end confdefs.h.  */
31300 #include <math.h>
31301                       #ifdef HAVE_IEEEFP_H
31302                       #include <ieeefp.h>
31303                       #endif
31304
31305 int
31306 main ()
31307 {
31308  isnanf(0);
31309   ;
31310   return 0;
31311 }
31312 _ACEOF
31313 rm -f conftest.$ac_objext
31314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31315   (eval $ac_compile) 2>&5
31316   ac_status=$?
31317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318   (exit $ac_status); } &&
31319          { ac_try='test -s conftest.$ac_objext'
31320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31321   (eval $ac_try) 2>&5
31322   ac_status=$?
31323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324   (exit $ac_status); }; }; then
31325   glibcxx_cv_func_isnanf_use=yes
31326 else
31327   echo "$as_me: failed program was:" >&5
31328 sed 's/^/| /' conftest.$ac_ext >&5
31329
31330 glibcxx_cv_func_isnanf_use=no
31331 fi
31332 rm -f conftest.$ac_objext conftest.$ac_ext
31333       ac_ext=c
31334 ac_cpp='$CPP $CPPFLAGS'
31335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31338
31339
31340 fi
31341
31342   fi
31343   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31344 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31345
31346   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31347
31348 for ac_func in isnanf
31349 do
31350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31351 echo "$as_me:$LINENO: checking for $ac_func" >&5
31352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31353 if eval "test \"\${$as_ac_var+set}\" = set"; then
31354   echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31356   if test x$gcc_no_link = xyes; then
31357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31359    { (exit 1); exit 1; }; }
31360 fi
31361 cat >conftest.$ac_ext <<_ACEOF
31362 #line $LINENO "configure"
31363 /* confdefs.h.  */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h.  */
31368 /* System header to define __stub macros and hopefully few prototypes,
31369     which can conflict with char $ac_func (); below.
31370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31371     <limits.h> exists even on freestanding compilers.  */
31372 #ifdef __STDC__
31373 # include <limits.h>
31374 #else
31375 # include <assert.h>
31376 #endif
31377 /* Override any gcc2 internal prototype to avoid an error.  */
31378 #ifdef __cplusplus
31379 extern "C"
31380 {
31381 #endif
31382 /* We use char because int might match the return type of a gcc2
31383    builtin and then its argument prototype would still apply.  */
31384 char $ac_func ();
31385 /* The GNU C library defines this for functions which it implements
31386     to always fail with ENOSYS.  Some functions are actually named
31387     something starting with __ and the normal name is an alias.  */
31388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31389 choke me
31390 #else
31391 char (*f) () = $ac_func;
31392 #endif
31393 #ifdef __cplusplus
31394 }
31395 #endif
31396
31397 int
31398 main ()
31399 {
31400 return f != $ac_func;
31401   ;
31402   return 0;
31403 }
31404 _ACEOF
31405 rm -f conftest.$ac_objext conftest$ac_exeext
31406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31407   (eval $ac_link) 2>&5
31408   ac_status=$?
31409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410   (exit $ac_status); } &&
31411          { ac_try='test -s conftest$ac_exeext'
31412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413   (eval $ac_try) 2>&5
31414   ac_status=$?
31415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416   (exit $ac_status); }; }; then
31417   eval "$as_ac_var=yes"
31418 else
31419   echo "$as_me: failed program was:" >&5
31420 sed 's/^/| /' conftest.$ac_ext >&5
31421
31422 eval "$as_ac_var=no"
31423 fi
31424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31425 fi
31426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31428 if test `eval echo '${'$as_ac_var'}'` = yes; then
31429   cat >>confdefs.h <<_ACEOF
31430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31431 _ACEOF
31432
31433 fi
31434 done
31435
31436   else
31437
31438   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31439 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31440   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31441     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31442   echo $ECHO_N "(cached) $ECHO_C" >&6
31443 else
31444
31445
31446
31447       ac_ext=cc
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31452
31453       cat >conftest.$ac_ext <<_ACEOF
31454 #line $LINENO "configure"
31455 /* confdefs.h.  */
31456 _ACEOF
31457 cat confdefs.h >>conftest.$ac_ext
31458 cat >>conftest.$ac_ext <<_ACEOF
31459 /* end confdefs.h.  */
31460 #include <math.h>
31461                       #ifdef HAVE_IEEEFP_H
31462                       #include <ieeefp.h>
31463                       #endif
31464
31465 int
31466 main ()
31467 {
31468  _isnanf(0);
31469   ;
31470   return 0;
31471 }
31472 _ACEOF
31473 rm -f conftest.$ac_objext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31475   (eval $ac_compile) 2>&5
31476   ac_status=$?
31477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478   (exit $ac_status); } &&
31479          { ac_try='test -s conftest.$ac_objext'
31480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481   (eval $ac_try) 2>&5
31482   ac_status=$?
31483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484   (exit $ac_status); }; }; then
31485   glibcxx_cv_func__isnanf_use=yes
31486 else
31487   echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.$ac_ext >&5
31489
31490 glibcxx_cv_func__isnanf_use=no
31491 fi
31492 rm -f conftest.$ac_objext conftest.$ac_ext
31493       ac_ext=c
31494 ac_cpp='$CPP $CPPFLAGS'
31495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31498
31499
31500 fi
31501
31502   fi
31503   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31504 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31505
31506     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31507
31508 for ac_func in _isnanf
31509 do
31510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31511 echo "$as_me:$LINENO: checking for $ac_func" >&5
31512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31513 if eval "test \"\${$as_ac_var+set}\" = set"; then
31514   echo $ECHO_N "(cached) $ECHO_C" >&6
31515 else
31516   if test x$gcc_no_link = xyes; then
31517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31519    { (exit 1); exit 1; }; }
31520 fi
31521 cat >conftest.$ac_ext <<_ACEOF
31522 #line $LINENO "configure"
31523 /* confdefs.h.  */
31524 _ACEOF
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h.  */
31528 /* System header to define __stub macros and hopefully few prototypes,
31529     which can conflict with char $ac_func (); below.
31530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31531     <limits.h> exists even on freestanding compilers.  */
31532 #ifdef __STDC__
31533 # include <limits.h>
31534 #else
31535 # include <assert.h>
31536 #endif
31537 /* Override any gcc2 internal prototype to avoid an error.  */
31538 #ifdef __cplusplus
31539 extern "C"
31540 {
31541 #endif
31542 /* We use char because int might match the return type of a gcc2
31543    builtin and then its argument prototype would still apply.  */
31544 char $ac_func ();
31545 /* The GNU C library defines this for functions which it implements
31546     to always fail with ENOSYS.  Some functions are actually named
31547     something starting with __ and the normal name is an alias.  */
31548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31549 choke me
31550 #else
31551 char (*f) () = $ac_func;
31552 #endif
31553 #ifdef __cplusplus
31554 }
31555 #endif
31556
31557 int
31558 main ()
31559 {
31560 return f != $ac_func;
31561   ;
31562   return 0;
31563 }
31564 _ACEOF
31565 rm -f conftest.$ac_objext conftest$ac_exeext
31566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31567   (eval $ac_link) 2>&5
31568   ac_status=$?
31569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570   (exit $ac_status); } &&
31571          { ac_try='test -s conftest$ac_exeext'
31572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573   (eval $ac_try) 2>&5
31574   ac_status=$?
31575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576   (exit $ac_status); }; }; then
31577   eval "$as_ac_var=yes"
31578 else
31579   echo "$as_me: failed program was:" >&5
31580 sed 's/^/| /' conftest.$ac_ext >&5
31581
31582 eval "$as_ac_var=no"
31583 fi
31584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31585 fi
31586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31588 if test `eval echo '${'$as_ac_var'}'` = yes; then
31589   cat >>confdefs.h <<_ACEOF
31590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31591 _ACEOF
31592
31593 fi
31594 done
31595
31596     fi
31597   fi
31598
31599
31600
31601   echo "$as_me:$LINENO: checking for isinff declaration" >&5
31602 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31603   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31604     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31605   echo $ECHO_N "(cached) $ECHO_C" >&6
31606 else
31607
31608
31609
31610       ac_ext=cc
31611 ac_cpp='$CXXCPP $CPPFLAGS'
31612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31615
31616       cat >conftest.$ac_ext <<_ACEOF
31617 #line $LINENO "configure"
31618 /* confdefs.h.  */
31619 _ACEOF
31620 cat confdefs.h >>conftest.$ac_ext
31621 cat >>conftest.$ac_ext <<_ACEOF
31622 /* end confdefs.h.  */
31623 #include <math.h>
31624                       #ifdef HAVE_IEEEFP_H
31625                       #include <ieeefp.h>
31626                       #endif
31627
31628 int
31629 main ()
31630 {
31631  isinff(0);
31632   ;
31633   return 0;
31634 }
31635 _ACEOF
31636 rm -f conftest.$ac_objext
31637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31638   (eval $ac_compile) 2>&5
31639   ac_status=$?
31640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641   (exit $ac_status); } &&
31642          { ac_try='test -s conftest.$ac_objext'
31643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644   (eval $ac_try) 2>&5
31645   ac_status=$?
31646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647   (exit $ac_status); }; }; then
31648   glibcxx_cv_func_isinff_use=yes
31649 else
31650   echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653 glibcxx_cv_func_isinff_use=no
31654 fi
31655 rm -f conftest.$ac_objext conftest.$ac_ext
31656       ac_ext=c
31657 ac_cpp='$CPP $CPPFLAGS'
31658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31661
31662
31663 fi
31664
31665   fi
31666   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31667 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31668
31669   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31670
31671 for ac_func in isinff
31672 do
31673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31674 echo "$as_me:$LINENO: checking for $ac_func" >&5
31675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31676 if eval "test \"\${$as_ac_var+set}\" = set"; then
31677   echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31679   if test x$gcc_no_link = xyes; then
31680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31682    { (exit 1); exit 1; }; }
31683 fi
31684 cat >conftest.$ac_ext <<_ACEOF
31685 #line $LINENO "configure"
31686 /* confdefs.h.  */
31687 _ACEOF
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h.  */
31691 /* System header to define __stub macros and hopefully few prototypes,
31692     which can conflict with char $ac_func (); below.
31693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31694     <limits.h> exists even on freestanding compilers.  */
31695 #ifdef __STDC__
31696 # include <limits.h>
31697 #else
31698 # include <assert.h>
31699 #endif
31700 /* Override any gcc2 internal prototype to avoid an error.  */
31701 #ifdef __cplusplus
31702 extern "C"
31703 {
31704 #endif
31705 /* We use char because int might match the return type of a gcc2
31706    builtin and then its argument prototype would still apply.  */
31707 char $ac_func ();
31708 /* The GNU C library defines this for functions which it implements
31709     to always fail with ENOSYS.  Some functions are actually named
31710     something starting with __ and the normal name is an alias.  */
31711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31712 choke me
31713 #else
31714 char (*f) () = $ac_func;
31715 #endif
31716 #ifdef __cplusplus
31717 }
31718 #endif
31719
31720 int
31721 main ()
31722 {
31723 return f != $ac_func;
31724   ;
31725   return 0;
31726 }
31727 _ACEOF
31728 rm -f conftest.$ac_objext conftest$ac_exeext
31729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31730   (eval $ac_link) 2>&5
31731   ac_status=$?
31732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733   (exit $ac_status); } &&
31734          { ac_try='test -s conftest$ac_exeext'
31735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736   (eval $ac_try) 2>&5
31737   ac_status=$?
31738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739   (exit $ac_status); }; }; then
31740   eval "$as_ac_var=yes"
31741 else
31742   echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31744
31745 eval "$as_ac_var=no"
31746 fi
31747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31748 fi
31749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31751 if test `eval echo '${'$as_ac_var'}'` = yes; then
31752   cat >>confdefs.h <<_ACEOF
31753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31754 _ACEOF
31755
31756 fi
31757 done
31758
31759   else
31760
31761   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31762 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31763   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31764     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31765   echo $ECHO_N "(cached) $ECHO_C" >&6
31766 else
31767
31768
31769
31770       ac_ext=cc
31771 ac_cpp='$CXXCPP $CPPFLAGS'
31772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31775
31776       cat >conftest.$ac_ext <<_ACEOF
31777 #line $LINENO "configure"
31778 /* confdefs.h.  */
31779 _ACEOF
31780 cat confdefs.h >>conftest.$ac_ext
31781 cat >>conftest.$ac_ext <<_ACEOF
31782 /* end confdefs.h.  */
31783 #include <math.h>
31784                       #ifdef HAVE_IEEEFP_H
31785                       #include <ieeefp.h>
31786                       #endif
31787
31788 int
31789 main ()
31790 {
31791  _isinff(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__isinff_use=yes
31809 else
31810   echo "$as_me: failed program was:" >&5
31811 sed 's/^/| /' conftest.$ac_ext >&5
31812
31813 glibcxx_cv_func__isinff_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__isinff_use" >&5
31827 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31828
31829     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31830
31831 for ac_func in _isinff
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     fi
31920   fi
31921
31922
31923
31924   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31925 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31926   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31927     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31928   echo $ECHO_N "(cached) $ECHO_C" >&6
31929 else
31930
31931
31932
31933       ac_ext=cc
31934 ac_cpp='$CXXCPP $CPPFLAGS'
31935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31938
31939       cat >conftest.$ac_ext <<_ACEOF
31940 #line $LINENO "configure"
31941 /* confdefs.h.  */
31942 _ACEOF
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h.  */
31946 #include <math.h>
31947 int
31948 main ()
31949 {
31950  atan2f(0, 0);
31951   ;
31952   return 0;
31953 }
31954 _ACEOF
31955 rm -f conftest.$ac_objext
31956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31957   (eval $ac_compile) 2>&5
31958   ac_status=$?
31959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960   (exit $ac_status); } &&
31961          { ac_try='test -s conftest.$ac_objext'
31962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963   (eval $ac_try) 2>&5
31964   ac_status=$?
31965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966   (exit $ac_status); }; }; then
31967   glibcxx_cv_func_atan2f_use=yes
31968 else
31969   echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31971
31972 glibcxx_cv_func_atan2f_use=no
31973 fi
31974 rm -f conftest.$ac_objext conftest.$ac_ext
31975       ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980
31981
31982 fi
31983
31984   fi
31985   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31986 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31987
31988   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31989
31990 for ac_func in atan2f
31991 do
31992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31993 echo "$as_me:$LINENO: checking for $ac_func" >&5
31994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31995 if eval "test \"\${$as_ac_var+set}\" = set"; then
31996   echo $ECHO_N "(cached) $ECHO_C" >&6
31997 else
31998   if test x$gcc_no_link = xyes; then
31999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32001    { (exit 1); exit 1; }; }
32002 fi
32003 cat >conftest.$ac_ext <<_ACEOF
32004 #line $LINENO "configure"
32005 /* confdefs.h.  */
32006 _ACEOF
32007 cat confdefs.h >>conftest.$ac_ext
32008 cat >>conftest.$ac_ext <<_ACEOF
32009 /* end confdefs.h.  */
32010 /* System header to define __stub macros and hopefully few prototypes,
32011     which can conflict with char $ac_func (); below.
32012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32013     <limits.h> exists even on freestanding compilers.  */
32014 #ifdef __STDC__
32015 # include <limits.h>
32016 #else
32017 # include <assert.h>
32018 #endif
32019 /* Override any gcc2 internal prototype to avoid an error.  */
32020 #ifdef __cplusplus
32021 extern "C"
32022 {
32023 #endif
32024 /* We use char because int might match the return type of a gcc2
32025    builtin and then its argument prototype would still apply.  */
32026 char $ac_func ();
32027 /* The GNU C library defines this for functions which it implements
32028     to always fail with ENOSYS.  Some functions are actually named
32029     something starting with __ and the normal name is an alias.  */
32030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32031 choke me
32032 #else
32033 char (*f) () = $ac_func;
32034 #endif
32035 #ifdef __cplusplus
32036 }
32037 #endif
32038
32039 int
32040 main ()
32041 {
32042 return f != $ac_func;
32043   ;
32044   return 0;
32045 }
32046 _ACEOF
32047 rm -f conftest.$ac_objext conftest$ac_exeext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32049   (eval $ac_link) 2>&5
32050   ac_status=$?
32051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052   (exit $ac_status); } &&
32053          { ac_try='test -s conftest$ac_exeext'
32054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055   (eval $ac_try) 2>&5
32056   ac_status=$?
32057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058   (exit $ac_status); }; }; then
32059   eval "$as_ac_var=yes"
32060 else
32061   echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064 eval "$as_ac_var=no"
32065 fi
32066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32067 fi
32068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32070 if test `eval echo '${'$as_ac_var'}'` = yes; then
32071   cat >>confdefs.h <<_ACEOF
32072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32073 _ACEOF
32074
32075 fi
32076 done
32077
32078   else
32079
32080   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
32081 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
32082   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
32083     if test "${glibcxx_cv_func__atan2f_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 int
32104 main ()
32105 {
32106  _atan2f(0, 0);
32107   ;
32108   return 0;
32109 }
32110 _ACEOF
32111 rm -f conftest.$ac_objext
32112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32113   (eval $ac_compile) 2>&5
32114   ac_status=$?
32115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116   (exit $ac_status); } &&
32117          { ac_try='test -s conftest.$ac_objext'
32118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32119   (eval $ac_try) 2>&5
32120   ac_status=$?
32121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122   (exit $ac_status); }; }; then
32123   glibcxx_cv_func__atan2f_use=yes
32124 else
32125   echo "$as_me: failed program was:" >&5
32126 sed 's/^/| /' conftest.$ac_ext >&5
32127
32128 glibcxx_cv_func__atan2f_use=no
32129 fi
32130 rm -f conftest.$ac_objext conftest.$ac_ext
32131       ac_ext=c
32132 ac_cpp='$CPP $CPPFLAGS'
32133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32136
32137
32138 fi
32139
32140   fi
32141   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
32142 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
32143
32144     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
32145
32146 for ac_func in _atan2f
32147 do
32148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32149 echo "$as_me:$LINENO: checking for $ac_func" >&5
32150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32151 if eval "test \"\${$as_ac_var+set}\" = set"; then
32152   echo $ECHO_N "(cached) $ECHO_C" >&6
32153 else
32154   if test x$gcc_no_link = xyes; then
32155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32157    { (exit 1); exit 1; }; }
32158 fi
32159 cat >conftest.$ac_ext <<_ACEOF
32160 #line $LINENO "configure"
32161 /* confdefs.h.  */
32162 _ACEOF
32163 cat confdefs.h >>conftest.$ac_ext
32164 cat >>conftest.$ac_ext <<_ACEOF
32165 /* end confdefs.h.  */
32166 /* System header to define __stub macros and hopefully few prototypes,
32167     which can conflict with char $ac_func (); below.
32168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32169     <limits.h> exists even on freestanding compilers.  */
32170 #ifdef __STDC__
32171 # include <limits.h>
32172 #else
32173 # include <assert.h>
32174 #endif
32175 /* Override any gcc2 internal prototype to avoid an error.  */
32176 #ifdef __cplusplus
32177 extern "C"
32178 {
32179 #endif
32180 /* We use char because int might match the return type of a gcc2
32181    builtin and then its argument prototype would still apply.  */
32182 char $ac_func ();
32183 /* The GNU C library defines this for functions which it implements
32184     to always fail with ENOSYS.  Some functions are actually named
32185     something starting with __ and the normal name is an alias.  */
32186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32187 choke me
32188 #else
32189 char (*f) () = $ac_func;
32190 #endif
32191 #ifdef __cplusplus
32192 }
32193 #endif
32194
32195 int
32196 main ()
32197 {
32198 return f != $ac_func;
32199   ;
32200   return 0;
32201 }
32202 _ACEOF
32203 rm -f conftest.$ac_objext conftest$ac_exeext
32204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32205   (eval $ac_link) 2>&5
32206   ac_status=$?
32207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208   (exit $ac_status); } &&
32209          { ac_try='test -s conftest$ac_exeext'
32210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211   (eval $ac_try) 2>&5
32212   ac_status=$?
32213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214   (exit $ac_status); }; }; then
32215   eval "$as_ac_var=yes"
32216 else
32217   echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32219
32220 eval "$as_ac_var=no"
32221 fi
32222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32223 fi
32224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32226 if test `eval echo '${'$as_ac_var'}'` = yes; then
32227   cat >>confdefs.h <<_ACEOF
32228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32229 _ACEOF
32230
32231 fi
32232 done
32233
32234     fi
32235   fi
32236
32237
32238
32239   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32240 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32241   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32242     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32243   echo $ECHO_N "(cached) $ECHO_C" >&6
32244 else
32245
32246
32247
32248       ac_ext=cc
32249 ac_cpp='$CXXCPP $CPPFLAGS'
32250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32253
32254       cat >conftest.$ac_ext <<_ACEOF
32255 #line $LINENO "configure"
32256 /* confdefs.h.  */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h.  */
32261 #include <math.h>
32262                       #ifdef HAVE_IEEEFP_H
32263                       #include <ieeefp.h>
32264                       #endif
32265
32266 int
32267 main ()
32268 {
32269  fabsf(0);
32270   ;
32271   return 0;
32272 }
32273 _ACEOF
32274 rm -f conftest.$ac_objext
32275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32276   (eval $ac_compile) 2>&5
32277   ac_status=$?
32278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279   (exit $ac_status); } &&
32280          { ac_try='test -s conftest.$ac_objext'
32281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282   (eval $ac_try) 2>&5
32283   ac_status=$?
32284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285   (exit $ac_status); }; }; then
32286   glibcxx_cv_func_fabsf_use=yes
32287 else
32288   echo "$as_me: failed program was:" >&5
32289 sed 's/^/| /' conftest.$ac_ext >&5
32290
32291 glibcxx_cv_func_fabsf_use=no
32292 fi
32293 rm -f conftest.$ac_objext conftest.$ac_ext
32294       ac_ext=c
32295 ac_cpp='$CPP $CPPFLAGS'
32296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32299
32300
32301 fi
32302
32303   fi
32304   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32305 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32306
32307   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32308
32309 for ac_func in fabsf
32310 do
32311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32312 echo "$as_me:$LINENO: checking for $ac_func" >&5
32313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32314 if eval "test \"\${$as_ac_var+set}\" = set"; then
32315   echo $ECHO_N "(cached) $ECHO_C" >&6
32316 else
32317   if test x$gcc_no_link = xyes; then
32318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32320    { (exit 1); exit 1; }; }
32321 fi
32322 cat >conftest.$ac_ext <<_ACEOF
32323 #line $LINENO "configure"
32324 /* confdefs.h.  */
32325 _ACEOF
32326 cat confdefs.h >>conftest.$ac_ext
32327 cat >>conftest.$ac_ext <<_ACEOF
32328 /* end confdefs.h.  */
32329 /* System header to define __stub macros and hopefully few prototypes,
32330     which can conflict with char $ac_func (); below.
32331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32332     <limits.h> exists even on freestanding compilers.  */
32333 #ifdef __STDC__
32334 # include <limits.h>
32335 #else
32336 # include <assert.h>
32337 #endif
32338 /* Override any gcc2 internal prototype to avoid an error.  */
32339 #ifdef __cplusplus
32340 extern "C"
32341 {
32342 #endif
32343 /* We use char because int might match the return type of a gcc2
32344    builtin and then its argument prototype would still apply.  */
32345 char $ac_func ();
32346 /* The GNU C library defines this for functions which it implements
32347     to always fail with ENOSYS.  Some functions are actually named
32348     something starting with __ and the normal name is an alias.  */
32349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32350 choke me
32351 #else
32352 char (*f) () = $ac_func;
32353 #endif
32354 #ifdef __cplusplus
32355 }
32356 #endif
32357
32358 int
32359 main ()
32360 {
32361 return f != $ac_func;
32362   ;
32363   return 0;
32364 }
32365 _ACEOF
32366 rm -f conftest.$ac_objext conftest$ac_exeext
32367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32368   (eval $ac_link) 2>&5
32369   ac_status=$?
32370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371   (exit $ac_status); } &&
32372          { ac_try='test -s conftest$ac_exeext'
32373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374   (eval $ac_try) 2>&5
32375   ac_status=$?
32376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377   (exit $ac_status); }; }; then
32378   eval "$as_ac_var=yes"
32379 else
32380   echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.$ac_ext >&5
32382
32383 eval "$as_ac_var=no"
32384 fi
32385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32386 fi
32387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32389 if test `eval echo '${'$as_ac_var'}'` = yes; then
32390   cat >>confdefs.h <<_ACEOF
32391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32392 _ACEOF
32393
32394 fi
32395 done
32396
32397   else
32398
32399   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32400 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32401   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32402     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32403   echo $ECHO_N "(cached) $ECHO_C" >&6
32404 else
32405
32406
32407
32408       ac_ext=cc
32409 ac_cpp='$CXXCPP $CPPFLAGS'
32410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32413
32414       cat >conftest.$ac_ext <<_ACEOF
32415 #line $LINENO "configure"
32416 /* confdefs.h.  */
32417 _ACEOF
32418 cat confdefs.h >>conftest.$ac_ext
32419 cat >>conftest.$ac_ext <<_ACEOF
32420 /* end confdefs.h.  */
32421 #include <math.h>
32422                       #ifdef HAVE_IEEEFP_H
32423                       #include <ieeefp.h>
32424                       #endif
32425
32426 int
32427 main ()
32428 {
32429  _fabsf(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__fabsf_use=yes
32447 else
32448   echo "$as_me: failed program was:" >&5
32449 sed 's/^/| /' conftest.$ac_ext >&5
32450
32451 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
32465 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32466
32467     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32468
32469 for ac_func in _fabsf
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     fi
32558   fi
32559
32560
32561
32562   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32563 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32564   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32565     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32566   echo $ECHO_N "(cached) $ECHO_C" >&6
32567 else
32568
32569
32570
32571       ac_ext=cc
32572 ac_cpp='$CXXCPP $CPPFLAGS'
32573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32576
32577       cat >conftest.$ac_ext <<_ACEOF
32578 #line $LINENO "configure"
32579 /* confdefs.h.  */
32580 _ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h.  */
32584 #include <math.h>
32585 int
32586 main ()
32587 {
32588  fmodf(0, 0);
32589   ;
32590   return 0;
32591 }
32592 _ACEOF
32593 rm -f conftest.$ac_objext
32594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32595   (eval $ac_compile) 2>&5
32596   ac_status=$?
32597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598   (exit $ac_status); } &&
32599          { ac_try='test -s conftest.$ac_objext'
32600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601   (eval $ac_try) 2>&5
32602   ac_status=$?
32603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604   (exit $ac_status); }; }; then
32605   glibcxx_cv_func_fmodf_use=yes
32606 else
32607   echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.$ac_ext >&5
32609
32610 glibcxx_cv_func_fmodf_use=no
32611 fi
32612 rm -f conftest.$ac_objext conftest.$ac_ext
32613       ac_ext=c
32614 ac_cpp='$CPP $CPPFLAGS'
32615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32618
32619
32620 fi
32621
32622   fi
32623   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32624 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32625
32626   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32627
32628 for ac_func in fmodf
32629 do
32630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32631 echo "$as_me:$LINENO: checking for $ac_func" >&5
32632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32633 if eval "test \"\${$as_ac_var+set}\" = set"; then
32634   echo $ECHO_N "(cached) $ECHO_C" >&6
32635 else
32636   if test x$gcc_no_link = xyes; then
32637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32639    { (exit 1); exit 1; }; }
32640 fi
32641 cat >conftest.$ac_ext <<_ACEOF
32642 #line $LINENO "configure"
32643 /* confdefs.h.  */
32644 _ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h.  */
32648 /* System header to define __stub macros and hopefully few prototypes,
32649     which can conflict with char $ac_func (); below.
32650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32651     <limits.h> exists even on freestanding compilers.  */
32652 #ifdef __STDC__
32653 # include <limits.h>
32654 #else
32655 # include <assert.h>
32656 #endif
32657 /* Override any gcc2 internal prototype to avoid an error.  */
32658 #ifdef __cplusplus
32659 extern "C"
32660 {
32661 #endif
32662 /* We use char because int might match the return type of a gcc2
32663    builtin and then its argument prototype would still apply.  */
32664 char $ac_func ();
32665 /* The GNU C library defines this for functions which it implements
32666     to always fail with ENOSYS.  Some functions are actually named
32667     something starting with __ and the normal name is an alias.  */
32668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32669 choke me
32670 #else
32671 char (*f) () = $ac_func;
32672 #endif
32673 #ifdef __cplusplus
32674 }
32675 #endif
32676
32677 int
32678 main ()
32679 {
32680 return f != $ac_func;
32681   ;
32682   return 0;
32683 }
32684 _ACEOF
32685 rm -f conftest.$ac_objext conftest$ac_exeext
32686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32687   (eval $ac_link) 2>&5
32688   ac_status=$?
32689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690   (exit $ac_status); } &&
32691          { ac_try='test -s conftest$ac_exeext'
32692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693   (eval $ac_try) 2>&5
32694   ac_status=$?
32695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696   (exit $ac_status); }; }; then
32697   eval "$as_ac_var=yes"
32698 else
32699   echo "$as_me: failed program was:" >&5
32700 sed 's/^/| /' conftest.$ac_ext >&5
32701
32702 eval "$as_ac_var=no"
32703 fi
32704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32705 fi
32706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32708 if test `eval echo '${'$as_ac_var'}'` = yes; then
32709   cat >>confdefs.h <<_ACEOF
32710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32711 _ACEOF
32712
32713 fi
32714 done
32715
32716   else
32717
32718   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32719 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32720   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32721     if test "${glibcxx_cv_func__fmodf_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  _fmodf(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__fmodf_use=yes
32762 else
32763   echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32765
32766 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
32780 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32781
32782     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32783
32784 for ac_func in _fmodf
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     fi
32873   fi
32874
32875
32876
32877   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32878 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32879   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32880     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32881   echo $ECHO_N "(cached) $ECHO_C" >&6
32882 else
32883
32884
32885
32886       ac_ext=cc
32887 ac_cpp='$CXXCPP $CPPFLAGS'
32888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32891
32892       cat >conftest.$ac_ext <<_ACEOF
32893 #line $LINENO "configure"
32894 /* confdefs.h.  */
32895 _ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h.  */
32899 #include <math.h>
32900 int
32901 main ()
32902 {
32903  frexpf(0, 0);
32904   ;
32905   return 0;
32906 }
32907 _ACEOF
32908 rm -f conftest.$ac_objext
32909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32910   (eval $ac_compile) 2>&5
32911   ac_status=$?
32912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913   (exit $ac_status); } &&
32914          { ac_try='test -s conftest.$ac_objext'
32915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916   (eval $ac_try) 2>&5
32917   ac_status=$?
32918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919   (exit $ac_status); }; }; then
32920   glibcxx_cv_func_frexpf_use=yes
32921 else
32922   echo "$as_me: failed program was:" >&5
32923 sed 's/^/| /' conftest.$ac_ext >&5
32924
32925 glibcxx_cv_func_frexpf_use=no
32926 fi
32927 rm -f conftest.$ac_objext conftest.$ac_ext
32928       ac_ext=c
32929 ac_cpp='$CPP $CPPFLAGS'
32930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933
32934
32935 fi
32936
32937   fi
32938   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32939 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32940
32941   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32942
32943 for ac_func in frexpf
32944 do
32945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32946 echo "$as_me:$LINENO: checking for $ac_func" >&5
32947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32948 if eval "test \"\${$as_ac_var+set}\" = set"; then
32949   echo $ECHO_N "(cached) $ECHO_C" >&6
32950 else
32951   if test x$gcc_no_link = xyes; then
32952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32954    { (exit 1); exit 1; }; }
32955 fi
32956 cat >conftest.$ac_ext <<_ACEOF
32957 #line $LINENO "configure"
32958 /* confdefs.h.  */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h.  */
32963 /* System header to define __stub macros and hopefully few prototypes,
32964     which can conflict with char $ac_func (); below.
32965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32966     <limits.h> exists even on freestanding compilers.  */
32967 #ifdef __STDC__
32968 # include <limits.h>
32969 #else
32970 # include <assert.h>
32971 #endif
32972 /* Override any gcc2 internal prototype to avoid an error.  */
32973 #ifdef __cplusplus
32974 extern "C"
32975 {
32976 #endif
32977 /* We use char because int might match the return type of a gcc2
32978    builtin and then its argument prototype would still apply.  */
32979 char $ac_func ();
32980 /* The GNU C library defines this for functions which it implements
32981     to always fail with ENOSYS.  Some functions are actually named
32982     something starting with __ and the normal name is an alias.  */
32983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32984 choke me
32985 #else
32986 char (*f) () = $ac_func;
32987 #endif
32988 #ifdef __cplusplus
32989 }
32990 #endif
32991
32992 int
32993 main ()
32994 {
32995 return f != $ac_func;
32996   ;
32997   return 0;
32998 }
32999 _ACEOF
33000 rm -f conftest.$ac_objext conftest$ac_exeext
33001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33002   (eval $ac_link) 2>&5
33003   ac_status=$?
33004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005   (exit $ac_status); } &&
33006          { ac_try='test -s conftest$ac_exeext'
33007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008   (eval $ac_try) 2>&5
33009   ac_status=$?
33010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011   (exit $ac_status); }; }; then
33012   eval "$as_ac_var=yes"
33013 else
33014   echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33016
33017 eval "$as_ac_var=no"
33018 fi
33019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33020 fi
33021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33023 if test `eval echo '${'$as_ac_var'}'` = yes; then
33024   cat >>confdefs.h <<_ACEOF
33025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33026 _ACEOF
33027
33028 fi
33029 done
33030
33031   else
33032
33033   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
33034 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
33035   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
33036     if test "${glibcxx_cv_func__frexpf_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  _frexpf(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__frexpf_use=yes
33077 else
33078   echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33080
33081 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
33095 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
33096
33097     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
33098
33099 for ac_func in _frexpf
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     fi
33188   fi
33189
33190
33191
33192   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
33193 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
33194   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33195     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
33196   echo $ECHO_N "(cached) $ECHO_C" >&6
33197 else
33198
33199
33200
33201       ac_ext=cc
33202 ac_cpp='$CXXCPP $CPPFLAGS'
33203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33206
33207       cat >conftest.$ac_ext <<_ACEOF
33208 #line $LINENO "configure"
33209 /* confdefs.h.  */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h.  */
33214 #include <math.h>
33215 int
33216 main ()
33217 {
33218  hypotf(0, 0);
33219   ;
33220   return 0;
33221 }
33222 _ACEOF
33223 rm -f conftest.$ac_objext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33225   (eval $ac_compile) 2>&5
33226   ac_status=$?
33227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228   (exit $ac_status); } &&
33229          { ac_try='test -s conftest.$ac_objext'
33230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231   (eval $ac_try) 2>&5
33232   ac_status=$?
33233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234   (exit $ac_status); }; }; then
33235   glibcxx_cv_func_hypotf_use=yes
33236 else
33237   echo "$as_me: failed program was:" >&5
33238 sed 's/^/| /' conftest.$ac_ext >&5
33239
33240 glibcxx_cv_func_hypotf_use=no
33241 fi
33242 rm -f conftest.$ac_objext conftest.$ac_ext
33243       ac_ext=c
33244 ac_cpp='$CPP $CPPFLAGS'
33245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33248
33249
33250 fi
33251
33252   fi
33253   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33254 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33255
33256   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33257
33258 for ac_func in hypotf
33259 do
33260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33261 echo "$as_me:$LINENO: checking for $ac_func" >&5
33262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33263 if eval "test \"\${$as_ac_var+set}\" = set"; then
33264   echo $ECHO_N "(cached) $ECHO_C" >&6
33265 else
33266   if test x$gcc_no_link = xyes; then
33267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33269    { (exit 1); exit 1; }; }
33270 fi
33271 cat >conftest.$ac_ext <<_ACEOF
33272 #line $LINENO "configure"
33273 /* confdefs.h.  */
33274 _ACEOF
33275 cat confdefs.h >>conftest.$ac_ext
33276 cat >>conftest.$ac_ext <<_ACEOF
33277 /* end confdefs.h.  */
33278 /* System header to define __stub macros and hopefully few prototypes,
33279     which can conflict with char $ac_func (); below.
33280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33281     <limits.h> exists even on freestanding compilers.  */
33282 #ifdef __STDC__
33283 # include <limits.h>
33284 #else
33285 # include <assert.h>
33286 #endif
33287 /* Override any gcc2 internal prototype to avoid an error.  */
33288 #ifdef __cplusplus
33289 extern "C"
33290 {
33291 #endif
33292 /* We use char because int might match the return type of a gcc2
33293    builtin and then its argument prototype would still apply.  */
33294 char $ac_func ();
33295 /* The GNU C library defines this for functions which it implements
33296     to always fail with ENOSYS.  Some functions are actually named
33297     something starting with __ and the normal name is an alias.  */
33298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33299 choke me
33300 #else
33301 char (*f) () = $ac_func;
33302 #endif
33303 #ifdef __cplusplus
33304 }
33305 #endif
33306
33307 int
33308 main ()
33309 {
33310 return f != $ac_func;
33311   ;
33312   return 0;
33313 }
33314 _ACEOF
33315 rm -f conftest.$ac_objext conftest$ac_exeext
33316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33317   (eval $ac_link) 2>&5
33318   ac_status=$?
33319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320   (exit $ac_status); } &&
33321          { ac_try='test -s conftest$ac_exeext'
33322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323   (eval $ac_try) 2>&5
33324   ac_status=$?
33325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326   (exit $ac_status); }; }; then
33327   eval "$as_ac_var=yes"
33328 else
33329   echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33331
33332 eval "$as_ac_var=no"
33333 fi
33334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33335 fi
33336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33338 if test `eval echo '${'$as_ac_var'}'` = yes; then
33339   cat >>confdefs.h <<_ACEOF
33340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33341 _ACEOF
33342
33343 fi
33344 done
33345
33346   else
33347
33348   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33349 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33350   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33351     if test "${glibcxx_cv_func__hypotf_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  _hypotf(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__hypotf_use=yes
33392 else
33393   echo "$as_me: failed program was:" >&5
33394 sed 's/^/| /' conftest.$ac_ext >&5
33395
33396 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
33410 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33411
33412     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33413
33414 for ac_func in _hypotf
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     fi
33503   fi
33504
33505
33506
33507   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33508 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33509   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33510     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33511   echo $ECHO_N "(cached) $ECHO_C" >&6
33512 else
33513
33514
33515
33516       ac_ext=cc
33517 ac_cpp='$CXXCPP $CPPFLAGS'
33518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33521
33522       cat >conftest.$ac_ext <<_ACEOF
33523 #line $LINENO "configure"
33524 /* confdefs.h.  */
33525 _ACEOF
33526 cat confdefs.h >>conftest.$ac_ext
33527 cat >>conftest.$ac_ext <<_ACEOF
33528 /* end confdefs.h.  */
33529 #include <math.h>
33530 int
33531 main ()
33532 {
33533  ldexpf(0, 0);
33534   ;
33535   return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext
33539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33540   (eval $ac_compile) 2>&5
33541   ac_status=$?
33542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543   (exit $ac_status); } &&
33544          { ac_try='test -s conftest.$ac_objext'
33545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546   (eval $ac_try) 2>&5
33547   ac_status=$?
33548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549   (exit $ac_status); }; }; then
33550   glibcxx_cv_func_ldexpf_use=yes
33551 else
33552   echo "$as_me: failed program was:" >&5
33553 sed 's/^/| /' conftest.$ac_ext >&5
33554
33555 glibcxx_cv_func_ldexpf_use=no
33556 fi
33557 rm -f conftest.$ac_objext conftest.$ac_ext
33558       ac_ext=c
33559 ac_cpp='$CPP $CPPFLAGS'
33560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33563
33564
33565 fi
33566
33567   fi
33568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33569 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33570
33571   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33572
33573 for ac_func in ldexpf
33574 do
33575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33576 echo "$as_me:$LINENO: checking for $ac_func" >&5
33577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33578 if eval "test \"\${$as_ac_var+set}\" = set"; then
33579   echo $ECHO_N "(cached) $ECHO_C" >&6
33580 else
33581   if test x$gcc_no_link = xyes; then
33582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33584    { (exit 1); exit 1; }; }
33585 fi
33586 cat >conftest.$ac_ext <<_ACEOF
33587 #line $LINENO "configure"
33588 /* confdefs.h.  */
33589 _ACEOF
33590 cat confdefs.h >>conftest.$ac_ext
33591 cat >>conftest.$ac_ext <<_ACEOF
33592 /* end confdefs.h.  */
33593 /* System header to define __stub macros and hopefully few prototypes,
33594     which can conflict with char $ac_func (); below.
33595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33596     <limits.h> exists even on freestanding compilers.  */
33597 #ifdef __STDC__
33598 # include <limits.h>
33599 #else
33600 # include <assert.h>
33601 #endif
33602 /* Override any gcc2 internal prototype to avoid an error.  */
33603 #ifdef __cplusplus
33604 extern "C"
33605 {
33606 #endif
33607 /* We use char because int might match the return type of a gcc2
33608    builtin and then its argument prototype would still apply.  */
33609 char $ac_func ();
33610 /* The GNU C library defines this for functions which it implements
33611     to always fail with ENOSYS.  Some functions are actually named
33612     something starting with __ and the normal name is an alias.  */
33613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33614 choke me
33615 #else
33616 char (*f) () = $ac_func;
33617 #endif
33618 #ifdef __cplusplus
33619 }
33620 #endif
33621
33622 int
33623 main ()
33624 {
33625 return f != $ac_func;
33626   ;
33627   return 0;
33628 }
33629 _ACEOF
33630 rm -f conftest.$ac_objext conftest$ac_exeext
33631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33632   (eval $ac_link) 2>&5
33633   ac_status=$?
33634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635   (exit $ac_status); } &&
33636          { ac_try='test -s conftest$ac_exeext'
33637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33638   (eval $ac_try) 2>&5
33639   ac_status=$?
33640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641   (exit $ac_status); }; }; then
33642   eval "$as_ac_var=yes"
33643 else
33644   echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 eval "$as_ac_var=no"
33648 fi
33649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33650 fi
33651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33653 if test `eval echo '${'$as_ac_var'}'` = yes; then
33654   cat >>confdefs.h <<_ACEOF
33655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33656 _ACEOF
33657
33658 fi
33659 done
33660
33661   else
33662
33663   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33664 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33665   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33666     if test "${glibcxx_cv_func__ldexpf_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 int
33687 main ()
33688 {
33689  _ldexpf(0, 0);
33690   ;
33691   return 0;
33692 }
33693 _ACEOF
33694 rm -f conftest.$ac_objext
33695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33696   (eval $ac_compile) 2>&5
33697   ac_status=$?
33698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699   (exit $ac_status); } &&
33700          { ac_try='test -s conftest.$ac_objext'
33701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702   (eval $ac_try) 2>&5
33703   ac_status=$?
33704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705   (exit $ac_status); }; }; then
33706   glibcxx_cv_func__ldexpf_use=yes
33707 else
33708   echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.$ac_ext >&5
33710
33711 glibcxx_cv_func__ldexpf_use=no
33712 fi
33713 rm -f conftest.$ac_objext conftest.$ac_ext
33714       ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33719
33720
33721 fi
33722
33723   fi
33724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33725 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33726
33727     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33728
33729 for ac_func in _ldexpf
33730 do
33731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33732 echo "$as_me:$LINENO: checking for $ac_func" >&5
33733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33734 if eval "test \"\${$as_ac_var+set}\" = set"; then
33735   echo $ECHO_N "(cached) $ECHO_C" >&6
33736 else
33737   if test x$gcc_no_link = xyes; then
33738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33740    { (exit 1); exit 1; }; }
33741 fi
33742 cat >conftest.$ac_ext <<_ACEOF
33743 #line $LINENO "configure"
33744 /* confdefs.h.  */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h.  */
33749 /* System header to define __stub macros and hopefully few prototypes,
33750     which can conflict with char $ac_func (); below.
33751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33752     <limits.h> exists even on freestanding compilers.  */
33753 #ifdef __STDC__
33754 # include <limits.h>
33755 #else
33756 # include <assert.h>
33757 #endif
33758 /* Override any gcc2 internal prototype to avoid an error.  */
33759 #ifdef __cplusplus
33760 extern "C"
33761 {
33762 #endif
33763 /* We use char because int might match the return type of a gcc2
33764    builtin and then its argument prototype would still apply.  */
33765 char $ac_func ();
33766 /* The GNU C library defines this for functions which it implements
33767     to always fail with ENOSYS.  Some functions are actually named
33768     something starting with __ and the normal name is an alias.  */
33769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33770 choke me
33771 #else
33772 char (*f) () = $ac_func;
33773 #endif
33774 #ifdef __cplusplus
33775 }
33776 #endif
33777
33778 int
33779 main ()
33780 {
33781 return f != $ac_func;
33782   ;
33783   return 0;
33784 }
33785 _ACEOF
33786 rm -f conftest.$ac_objext conftest$ac_exeext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33788   (eval $ac_link) 2>&5
33789   ac_status=$?
33790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791   (exit $ac_status); } &&
33792          { ac_try='test -s conftest$ac_exeext'
33793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794   (eval $ac_try) 2>&5
33795   ac_status=$?
33796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797   (exit $ac_status); }; }; then
33798   eval "$as_ac_var=yes"
33799 else
33800   echo "$as_me: failed program was:" >&5
33801 sed 's/^/| /' conftest.$ac_ext >&5
33802
33803 eval "$as_ac_var=no"
33804 fi
33805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33806 fi
33807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33809 if test `eval echo '${'$as_ac_var'}'` = yes; then
33810   cat >>confdefs.h <<_ACEOF
33811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33812 _ACEOF
33813
33814 fi
33815 done
33816
33817     fi
33818   fi
33819
33820
33821
33822   echo "$as_me:$LINENO: checking for logf declaration" >&5
33823 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33824   if test x${glibcxx_cv_func_logf_use+set} != xset; then
33825     if test "${glibcxx_cv_func_logf_use+set}" = set; then
33826   echo $ECHO_N "(cached) $ECHO_C" >&6
33827 else
33828
33829
33830
33831       ac_ext=cc
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33836
33837       cat >conftest.$ac_ext <<_ACEOF
33838 #line $LINENO "configure"
33839 /* confdefs.h.  */
33840 _ACEOF
33841 cat confdefs.h >>conftest.$ac_ext
33842 cat >>conftest.$ac_ext <<_ACEOF
33843 /* end confdefs.h.  */
33844 #include <math.h>
33845                       #ifdef HAVE_IEEEFP_H
33846                       #include <ieeefp.h>
33847                       #endif
33848
33849 int
33850 main ()
33851 {
33852  logf(0);
33853   ;
33854   return 0;
33855 }
33856 _ACEOF
33857 rm -f conftest.$ac_objext
33858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33859   (eval $ac_compile) 2>&5
33860   ac_status=$?
33861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862   (exit $ac_status); } &&
33863          { ac_try='test -s conftest.$ac_objext'
33864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33865   (eval $ac_try) 2>&5
33866   ac_status=$?
33867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868   (exit $ac_status); }; }; then
33869   glibcxx_cv_func_logf_use=yes
33870 else
33871   echo "$as_me: failed program was:" >&5
33872 sed 's/^/| /' conftest.$ac_ext >&5
33873
33874 glibcxx_cv_func_logf_use=no
33875 fi
33876 rm -f conftest.$ac_objext conftest.$ac_ext
33877       ac_ext=c
33878 ac_cpp='$CPP $CPPFLAGS'
33879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33882
33883
33884 fi
33885
33886   fi
33887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33888 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33889
33890   if test x$glibcxx_cv_func_logf_use = x"yes"; then
33891
33892 for ac_func in logf
33893 do
33894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33895 echo "$as_me:$LINENO: checking for $ac_func" >&5
33896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33897 if eval "test \"\${$as_ac_var+set}\" = set"; then
33898   echo $ECHO_N "(cached) $ECHO_C" >&6
33899 else
33900   if test x$gcc_no_link = xyes; then
33901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33903    { (exit 1); exit 1; }; }
33904 fi
33905 cat >conftest.$ac_ext <<_ACEOF
33906 #line $LINENO "configure"
33907 /* confdefs.h.  */
33908 _ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h.  */
33912 /* System header to define __stub macros and hopefully few prototypes,
33913     which can conflict with char $ac_func (); below.
33914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33915     <limits.h> exists even on freestanding compilers.  */
33916 #ifdef __STDC__
33917 # include <limits.h>
33918 #else
33919 # include <assert.h>
33920 #endif
33921 /* Override any gcc2 internal prototype to avoid an error.  */
33922 #ifdef __cplusplus
33923 extern "C"
33924 {
33925 #endif
33926 /* We use char because int might match the return type of a gcc2
33927    builtin and then its argument prototype would still apply.  */
33928 char $ac_func ();
33929 /* The GNU C library defines this for functions which it implements
33930     to always fail with ENOSYS.  Some functions are actually named
33931     something starting with __ and the normal name is an alias.  */
33932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33933 choke me
33934 #else
33935 char (*f) () = $ac_func;
33936 #endif
33937 #ifdef __cplusplus
33938 }
33939 #endif
33940
33941 int
33942 main ()
33943 {
33944 return f != $ac_func;
33945   ;
33946   return 0;
33947 }
33948 _ACEOF
33949 rm -f conftest.$ac_objext conftest$ac_exeext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33951   (eval $ac_link) 2>&5
33952   ac_status=$?
33953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954   (exit $ac_status); } &&
33955          { ac_try='test -s conftest$ac_exeext'
33956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957   (eval $ac_try) 2>&5
33958   ac_status=$?
33959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960   (exit $ac_status); }; }; then
33961   eval "$as_ac_var=yes"
33962 else
33963   echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.$ac_ext >&5
33965
33966 eval "$as_ac_var=no"
33967 fi
33968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33969 fi
33970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33972 if test `eval echo '${'$as_ac_var'}'` = yes; then
33973   cat >>confdefs.h <<_ACEOF
33974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33975 _ACEOF
33976
33977 fi
33978 done
33979
33980   else
33981
33982   echo "$as_me:$LINENO: checking for _logf declaration" >&5
33983 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33984   if test x${glibcxx_cv_func__logf_use+set} != xset; then
33985     if test "${glibcxx_cv_func__logf_use+set}" = set; then
33986   echo $ECHO_N "(cached) $ECHO_C" >&6
33987 else
33988
33989
33990
33991       ac_ext=cc
33992 ac_cpp='$CXXCPP $CPPFLAGS'
33993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33996
33997       cat >conftest.$ac_ext <<_ACEOF
33998 #line $LINENO "configure"
33999 /* confdefs.h.  */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h.  */
34004 #include <math.h>
34005                       #ifdef HAVE_IEEEFP_H
34006                       #include <ieeefp.h>
34007                       #endif
34008
34009 int
34010 main ()
34011 {
34012  _logf(0);
34013   ;
34014   return 0;
34015 }
34016 _ACEOF
34017 rm -f conftest.$ac_objext
34018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34019   (eval $ac_compile) 2>&5
34020   ac_status=$?
34021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022   (exit $ac_status); } &&
34023          { ac_try='test -s conftest.$ac_objext'
34024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025   (eval $ac_try) 2>&5
34026   ac_status=$?
34027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028   (exit $ac_status); }; }; then
34029   glibcxx_cv_func__logf_use=yes
34030 else
34031   echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34033
34034 glibcxx_cv_func__logf_use=no
34035 fi
34036 rm -f conftest.$ac_objext conftest.$ac_ext
34037       ac_ext=c
34038 ac_cpp='$CPP $CPPFLAGS'
34039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34042
34043
34044 fi
34045
34046   fi
34047   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
34048 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
34049
34050     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34051
34052 for ac_func in _logf
34053 do
34054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34055 echo "$as_me:$LINENO: checking for $ac_func" >&5
34056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34057 if eval "test \"\${$as_ac_var+set}\" = set"; then
34058   echo $ECHO_N "(cached) $ECHO_C" >&6
34059 else
34060   if test x$gcc_no_link = xyes; then
34061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34063    { (exit 1); exit 1; }; }
34064 fi
34065 cat >conftest.$ac_ext <<_ACEOF
34066 #line $LINENO "configure"
34067 /* confdefs.h.  */
34068 _ACEOF
34069 cat confdefs.h >>conftest.$ac_ext
34070 cat >>conftest.$ac_ext <<_ACEOF
34071 /* end confdefs.h.  */
34072 /* System header to define __stub macros and hopefully few prototypes,
34073     which can conflict with char $ac_func (); below.
34074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075     <limits.h> exists even on freestanding compilers.  */
34076 #ifdef __STDC__
34077 # include <limits.h>
34078 #else
34079 # include <assert.h>
34080 #endif
34081 /* Override any gcc2 internal prototype to avoid an error.  */
34082 #ifdef __cplusplus
34083 extern "C"
34084 {
34085 #endif
34086 /* We use char because int might match the return type of a gcc2
34087    builtin and then its argument prototype would still apply.  */
34088 char $ac_func ();
34089 /* The GNU C library defines this for functions which it implements
34090     to always fail with ENOSYS.  Some functions are actually named
34091     something starting with __ and the normal name is an alias.  */
34092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34093 choke me
34094 #else
34095 char (*f) () = $ac_func;
34096 #endif
34097 #ifdef __cplusplus
34098 }
34099 #endif
34100
34101 int
34102 main ()
34103 {
34104 return f != $ac_func;
34105   ;
34106   return 0;
34107 }
34108 _ACEOF
34109 rm -f conftest.$ac_objext conftest$ac_exeext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34111   (eval $ac_link) 2>&5
34112   ac_status=$?
34113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114   (exit $ac_status); } &&
34115          { ac_try='test -s conftest$ac_exeext'
34116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117   (eval $ac_try) 2>&5
34118   ac_status=$?
34119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120   (exit $ac_status); }; }; then
34121   eval "$as_ac_var=yes"
34122 else
34123   echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34125
34126 eval "$as_ac_var=no"
34127 fi
34128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34129 fi
34130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34132 if test `eval echo '${'$as_ac_var'}'` = yes; then
34133   cat >>confdefs.h <<_ACEOF
34134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34135 _ACEOF
34136
34137 fi
34138 done
34139
34140     fi
34141   fi
34142
34143
34144
34145   echo "$as_me:$LINENO: checking for log10f declaration" >&5
34146 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
34147   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34148     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
34149   echo $ECHO_N "(cached) $ECHO_C" >&6
34150 else
34151
34152
34153
34154       ac_ext=cc
34155 ac_cpp='$CXXCPP $CPPFLAGS'
34156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34159
34160       cat >conftest.$ac_ext <<_ACEOF
34161 #line $LINENO "configure"
34162 /* confdefs.h.  */
34163 _ACEOF
34164 cat confdefs.h >>conftest.$ac_ext
34165 cat >>conftest.$ac_ext <<_ACEOF
34166 /* end confdefs.h.  */
34167 #include <math.h>
34168                       #ifdef HAVE_IEEEFP_H
34169                       #include <ieeefp.h>
34170                       #endif
34171
34172 int
34173 main ()
34174 {
34175  log10f(0);
34176   ;
34177   return 0;
34178 }
34179 _ACEOF
34180 rm -f conftest.$ac_objext
34181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34182   (eval $ac_compile) 2>&5
34183   ac_status=$?
34184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185   (exit $ac_status); } &&
34186          { ac_try='test -s conftest.$ac_objext'
34187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188   (eval $ac_try) 2>&5
34189   ac_status=$?
34190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191   (exit $ac_status); }; }; then
34192   glibcxx_cv_func_log10f_use=yes
34193 else
34194   echo "$as_me: failed program was:" >&5
34195 sed 's/^/| /' conftest.$ac_ext >&5
34196
34197 glibcxx_cv_func_log10f_use=no
34198 fi
34199 rm -f conftest.$ac_objext conftest.$ac_ext
34200       ac_ext=c
34201 ac_cpp='$CPP $CPPFLAGS'
34202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205
34206
34207 fi
34208
34209   fi
34210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
34211 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
34212
34213   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34214
34215 for ac_func in log10f
34216 do
34217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34218 echo "$as_me:$LINENO: checking for $ac_func" >&5
34219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34220 if eval "test \"\${$as_ac_var+set}\" = set"; then
34221   echo $ECHO_N "(cached) $ECHO_C" >&6
34222 else
34223   if test x$gcc_no_link = xyes; then
34224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34226    { (exit 1); exit 1; }; }
34227 fi
34228 cat >conftest.$ac_ext <<_ACEOF
34229 #line $LINENO "configure"
34230 /* confdefs.h.  */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h.  */
34235 /* System header to define __stub macros and hopefully few prototypes,
34236     which can conflict with char $ac_func (); below.
34237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34238     <limits.h> exists even on freestanding compilers.  */
34239 #ifdef __STDC__
34240 # include <limits.h>
34241 #else
34242 # include <assert.h>
34243 #endif
34244 /* Override any gcc2 internal prototype to avoid an error.  */
34245 #ifdef __cplusplus
34246 extern "C"
34247 {
34248 #endif
34249 /* We use char because int might match the return type of a gcc2
34250    builtin and then its argument prototype would still apply.  */
34251 char $ac_func ();
34252 /* The GNU C library defines this for functions which it implements
34253     to always fail with ENOSYS.  Some functions are actually named
34254     something starting with __ and the normal name is an alias.  */
34255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34256 choke me
34257 #else
34258 char (*f) () = $ac_func;
34259 #endif
34260 #ifdef __cplusplus
34261 }
34262 #endif
34263
34264 int
34265 main ()
34266 {
34267 return f != $ac_func;
34268   ;
34269   return 0;
34270 }
34271 _ACEOF
34272 rm -f conftest.$ac_objext conftest$ac_exeext
34273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34274   (eval $ac_link) 2>&5
34275   ac_status=$?
34276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277   (exit $ac_status); } &&
34278          { ac_try='test -s conftest$ac_exeext'
34279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34280   (eval $ac_try) 2>&5
34281   ac_status=$?
34282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283   (exit $ac_status); }; }; then
34284   eval "$as_ac_var=yes"
34285 else
34286   echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34288
34289 eval "$as_ac_var=no"
34290 fi
34291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34292 fi
34293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34295 if test `eval echo '${'$as_ac_var'}'` = yes; then
34296   cat >>confdefs.h <<_ACEOF
34297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34298 _ACEOF
34299
34300 fi
34301 done
34302
34303   else
34304
34305   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34306 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34307   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34308     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34309   echo $ECHO_N "(cached) $ECHO_C" >&6
34310 else
34311
34312
34313
34314       ac_ext=cc
34315 ac_cpp='$CXXCPP $CPPFLAGS'
34316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34319
34320       cat >conftest.$ac_ext <<_ACEOF
34321 #line $LINENO "configure"
34322 /* confdefs.h.  */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h.  */
34327 #include <math.h>
34328                       #ifdef HAVE_IEEEFP_H
34329                       #include <ieeefp.h>
34330                       #endif
34331
34332 int
34333 main ()
34334 {
34335  _log10f(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__log10f_use=yes
34353 else
34354   echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.$ac_ext >&5
34356
34357 glibcxx_cv_func__log10f_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__log10f_use" >&5
34371 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34372
34373     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34374
34375 for ac_func in _log10f
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     fi
34464   fi
34465
34466
34467
34468   echo "$as_me:$LINENO: checking for modff declaration" >&5
34469 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34470   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34471     if test "${glibcxx_cv_func_modff_use+set}" = set; then
34472   echo $ECHO_N "(cached) $ECHO_C" >&6
34473 else
34474
34475
34476
34477       ac_ext=cc
34478 ac_cpp='$CXXCPP $CPPFLAGS'
34479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34482
34483       cat >conftest.$ac_ext <<_ACEOF
34484 #line $LINENO "configure"
34485 /* confdefs.h.  */
34486 _ACEOF
34487 cat confdefs.h >>conftest.$ac_ext
34488 cat >>conftest.$ac_ext <<_ACEOF
34489 /* end confdefs.h.  */
34490 #include <math.h>
34491 int
34492 main ()
34493 {
34494  modff(0, 0);
34495   ;
34496   return 0;
34497 }
34498 _ACEOF
34499 rm -f conftest.$ac_objext
34500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34501   (eval $ac_compile) 2>&5
34502   ac_status=$?
34503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504   (exit $ac_status); } &&
34505          { ac_try='test -s conftest.$ac_objext'
34506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34507   (eval $ac_try) 2>&5
34508   ac_status=$?
34509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510   (exit $ac_status); }; }; then
34511   glibcxx_cv_func_modff_use=yes
34512 else
34513   echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34515
34516 glibcxx_cv_func_modff_use=no
34517 fi
34518 rm -f conftest.$ac_objext conftest.$ac_ext
34519       ac_ext=c
34520 ac_cpp='$CPP $CPPFLAGS'
34521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34524
34525
34526 fi
34527
34528   fi
34529   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34530 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34531
34532   if test x$glibcxx_cv_func_modff_use = x"yes"; then
34533
34534 for ac_func in modff
34535 do
34536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34537 echo "$as_me:$LINENO: checking for $ac_func" >&5
34538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34539 if eval "test \"\${$as_ac_var+set}\" = set"; then
34540   echo $ECHO_N "(cached) $ECHO_C" >&6
34541 else
34542   if test x$gcc_no_link = xyes; then
34543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34545    { (exit 1); exit 1; }; }
34546 fi
34547 cat >conftest.$ac_ext <<_ACEOF
34548 #line $LINENO "configure"
34549 /* confdefs.h.  */
34550 _ACEOF
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h.  */
34554 /* System header to define __stub macros and hopefully few prototypes,
34555     which can conflict with char $ac_func (); below.
34556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34557     <limits.h> exists even on freestanding compilers.  */
34558 #ifdef __STDC__
34559 # include <limits.h>
34560 #else
34561 # include <assert.h>
34562 #endif
34563 /* Override any gcc2 internal prototype to avoid an error.  */
34564 #ifdef __cplusplus
34565 extern "C"
34566 {
34567 #endif
34568 /* We use char because int might match the return type of a gcc2
34569    builtin and then its argument prototype would still apply.  */
34570 char $ac_func ();
34571 /* The GNU C library defines this for functions which it implements
34572     to always fail with ENOSYS.  Some functions are actually named
34573     something starting with __ and the normal name is an alias.  */
34574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34575 choke me
34576 #else
34577 char (*f) () = $ac_func;
34578 #endif
34579 #ifdef __cplusplus
34580 }
34581 #endif
34582
34583 int
34584 main ()
34585 {
34586 return f != $ac_func;
34587   ;
34588   return 0;
34589 }
34590 _ACEOF
34591 rm -f conftest.$ac_objext conftest$ac_exeext
34592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34593   (eval $ac_link) 2>&5
34594   ac_status=$?
34595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596   (exit $ac_status); } &&
34597          { ac_try='test -s conftest$ac_exeext'
34598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34599   (eval $ac_try) 2>&5
34600   ac_status=$?
34601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602   (exit $ac_status); }; }; then
34603   eval "$as_ac_var=yes"
34604 else
34605   echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34607
34608 eval "$as_ac_var=no"
34609 fi
34610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34611 fi
34612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34614 if test `eval echo '${'$as_ac_var'}'` = yes; then
34615   cat >>confdefs.h <<_ACEOF
34616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34617 _ACEOF
34618
34619 fi
34620 done
34621
34622   else
34623
34624   echo "$as_me:$LINENO: checking for _modff declaration" >&5
34625 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34626   if test x${glibcxx_cv_func__modff_use+set} != xset; then
34627     if test "${glibcxx_cv_func__modff_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  _modff(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__modff_use=yes
34668 else
34669   echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34671
34672 glibcxx_cv_func__modff_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__modff_use" >&5
34686 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34687
34688     if test x$glibcxx_cv_func__modff_use = x"yes"; then
34689
34690 for ac_func in _modff
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     fi
34779   fi
34780
34781
34782
34783   echo "$as_me:$LINENO: checking for powf declaration" >&5
34784 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34785   if test x${glibcxx_cv_func_powf_use+set} != xset; then
34786     if test "${glibcxx_cv_func_powf_use+set}" = set; then
34787   echo $ECHO_N "(cached) $ECHO_C" >&6
34788 else
34789
34790
34791
34792       ac_ext=cc
34793 ac_cpp='$CXXCPP $CPPFLAGS'
34794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34797
34798       cat >conftest.$ac_ext <<_ACEOF
34799 #line $LINENO "configure"
34800 /* confdefs.h.  */
34801 _ACEOF
34802 cat confdefs.h >>conftest.$ac_ext
34803 cat >>conftest.$ac_ext <<_ACEOF
34804 /* end confdefs.h.  */
34805 #include <math.h>
34806 int
34807 main ()
34808 {
34809  powf(0, 0);
34810   ;
34811   return 0;
34812 }
34813 _ACEOF
34814 rm -f conftest.$ac_objext
34815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34816   (eval $ac_compile) 2>&5
34817   ac_status=$?
34818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819   (exit $ac_status); } &&
34820          { ac_try='test -s conftest.$ac_objext'
34821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34822   (eval $ac_try) 2>&5
34823   ac_status=$?
34824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825   (exit $ac_status); }; }; then
34826   glibcxx_cv_func_powf_use=yes
34827 else
34828   echo "$as_me: failed program was:" >&5
34829 sed 's/^/| /' conftest.$ac_ext >&5
34830
34831 glibcxx_cv_func_powf_use=no
34832 fi
34833 rm -f conftest.$ac_objext conftest.$ac_ext
34834       ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839
34840
34841 fi
34842
34843   fi
34844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34845 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34846
34847   if test x$glibcxx_cv_func_powf_use = x"yes"; then
34848
34849 for ac_func in powf
34850 do
34851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34852 echo "$as_me:$LINENO: checking for $ac_func" >&5
34853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34854 if eval "test \"\${$as_ac_var+set}\" = set"; then
34855   echo $ECHO_N "(cached) $ECHO_C" >&6
34856 else
34857   if test x$gcc_no_link = xyes; then
34858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34860    { (exit 1); exit 1; }; }
34861 fi
34862 cat >conftest.$ac_ext <<_ACEOF
34863 #line $LINENO "configure"
34864 /* confdefs.h.  */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h.  */
34869 /* System header to define __stub macros and hopefully few prototypes,
34870     which can conflict with char $ac_func (); below.
34871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34872     <limits.h> exists even on freestanding compilers.  */
34873 #ifdef __STDC__
34874 # include <limits.h>
34875 #else
34876 # include <assert.h>
34877 #endif
34878 /* Override any gcc2 internal prototype to avoid an error.  */
34879 #ifdef __cplusplus
34880 extern "C"
34881 {
34882 #endif
34883 /* We use char because int might match the return type of a gcc2
34884    builtin and then its argument prototype would still apply.  */
34885 char $ac_func ();
34886 /* The GNU C library defines this for functions which it implements
34887     to always fail with ENOSYS.  Some functions are actually named
34888     something starting with __ and the normal name is an alias.  */
34889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34890 choke me
34891 #else
34892 char (*f) () = $ac_func;
34893 #endif
34894 #ifdef __cplusplus
34895 }
34896 #endif
34897
34898 int
34899 main ()
34900 {
34901 return f != $ac_func;
34902   ;
34903   return 0;
34904 }
34905 _ACEOF
34906 rm -f conftest.$ac_objext conftest$ac_exeext
34907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34908   (eval $ac_link) 2>&5
34909   ac_status=$?
34910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911   (exit $ac_status); } &&
34912          { ac_try='test -s conftest$ac_exeext'
34913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914   (eval $ac_try) 2>&5
34915   ac_status=$?
34916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917   (exit $ac_status); }; }; then
34918   eval "$as_ac_var=yes"
34919 else
34920   echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.$ac_ext >&5
34922
34923 eval "$as_ac_var=no"
34924 fi
34925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34926 fi
34927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34929 if test `eval echo '${'$as_ac_var'}'` = yes; then
34930   cat >>confdefs.h <<_ACEOF
34931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34932 _ACEOF
34933
34934 fi
34935 done
34936
34937   else
34938
34939   echo "$as_me:$LINENO: checking for _powf declaration" >&5
34940 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34941   if test x${glibcxx_cv_func__powf_use+set} != xset; then
34942     if test "${glibcxx_cv_func__powf_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 int
34963 main ()
34964 {
34965  _powf(0, 0);
34966   ;
34967   return 0;
34968 }
34969 _ACEOF
34970 rm -f conftest.$ac_objext
34971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34972   (eval $ac_compile) 2>&5
34973   ac_status=$?
34974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975   (exit $ac_status); } &&
34976          { ac_try='test -s conftest.$ac_objext'
34977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978   (eval $ac_try) 2>&5
34979   ac_status=$?
34980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981   (exit $ac_status); }; }; then
34982   glibcxx_cv_func__powf_use=yes
34983 else
34984   echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.$ac_ext >&5
34986
34987 glibcxx_cv_func__powf_use=no
34988 fi
34989 rm -f conftest.$ac_objext conftest.$ac_ext
34990       ac_ext=c
34991 ac_cpp='$CPP $CPPFLAGS'
34992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34995
34996
34997 fi
34998
34999   fi
35000   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
35001 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
35002
35003     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35004
35005 for ac_func in _powf
35006 do
35007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35008 echo "$as_me:$LINENO: checking for $ac_func" >&5
35009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35010 if eval "test \"\${$as_ac_var+set}\" = set"; then
35011   echo $ECHO_N "(cached) $ECHO_C" >&6
35012 else
35013   if test x$gcc_no_link = xyes; then
35014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35016    { (exit 1); exit 1; }; }
35017 fi
35018 cat >conftest.$ac_ext <<_ACEOF
35019 #line $LINENO "configure"
35020 /* confdefs.h.  */
35021 _ACEOF
35022 cat confdefs.h >>conftest.$ac_ext
35023 cat >>conftest.$ac_ext <<_ACEOF
35024 /* end confdefs.h.  */
35025 /* System header to define __stub macros and hopefully few prototypes,
35026     which can conflict with char $ac_func (); below.
35027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35028     <limits.h> exists even on freestanding compilers.  */
35029 #ifdef __STDC__
35030 # include <limits.h>
35031 #else
35032 # include <assert.h>
35033 #endif
35034 /* Override any gcc2 internal prototype to avoid an error.  */
35035 #ifdef __cplusplus
35036 extern "C"
35037 {
35038 #endif
35039 /* We use char because int might match the return type of a gcc2
35040    builtin and then its argument prototype would still apply.  */
35041 char $ac_func ();
35042 /* The GNU C library defines this for functions which it implements
35043     to always fail with ENOSYS.  Some functions are actually named
35044     something starting with __ and the normal name is an alias.  */
35045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35046 choke me
35047 #else
35048 char (*f) () = $ac_func;
35049 #endif
35050 #ifdef __cplusplus
35051 }
35052 #endif
35053
35054 int
35055 main ()
35056 {
35057 return f != $ac_func;
35058   ;
35059   return 0;
35060 }
35061 _ACEOF
35062 rm -f conftest.$ac_objext conftest$ac_exeext
35063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35064   (eval $ac_link) 2>&5
35065   ac_status=$?
35066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067   (exit $ac_status); } &&
35068          { ac_try='test -s conftest$ac_exeext'
35069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35070   (eval $ac_try) 2>&5
35071   ac_status=$?
35072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073   (exit $ac_status); }; }; then
35074   eval "$as_ac_var=yes"
35075 else
35076   echo "$as_me: failed program was:" >&5
35077 sed 's/^/| /' conftest.$ac_ext >&5
35078
35079 eval "$as_ac_var=no"
35080 fi
35081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35082 fi
35083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35085 if test `eval echo '${'$as_ac_var'}'` = yes; then
35086   cat >>confdefs.h <<_ACEOF
35087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35088 _ACEOF
35089
35090 fi
35091 done
35092
35093     fi
35094   fi
35095
35096
35097
35098   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
35099 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
35100   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35101     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
35102   echo $ECHO_N "(cached) $ECHO_C" >&6
35103 else
35104
35105
35106
35107       ac_ext=cc
35108 ac_cpp='$CXXCPP $CPPFLAGS'
35109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35112
35113       cat >conftest.$ac_ext <<_ACEOF
35114 #line $LINENO "configure"
35115 /* confdefs.h.  */
35116 _ACEOF
35117 cat confdefs.h >>conftest.$ac_ext
35118 cat >>conftest.$ac_ext <<_ACEOF
35119 /* end confdefs.h.  */
35120 #include <math.h>
35121                       #ifdef HAVE_IEEEFP_H
35122                       #include <ieeefp.h>
35123                       #endif
35124
35125 int
35126 main ()
35127 {
35128  sqrtf(0);
35129   ;
35130   return 0;
35131 }
35132 _ACEOF
35133 rm -f conftest.$ac_objext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35135   (eval $ac_compile) 2>&5
35136   ac_status=$?
35137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138   (exit $ac_status); } &&
35139          { ac_try='test -s conftest.$ac_objext'
35140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35141   (eval $ac_try) 2>&5
35142   ac_status=$?
35143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144   (exit $ac_status); }; }; then
35145   glibcxx_cv_func_sqrtf_use=yes
35146 else
35147   echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35149
35150 glibcxx_cv_func_sqrtf_use=no
35151 fi
35152 rm -f conftest.$ac_objext conftest.$ac_ext
35153       ac_ext=c
35154 ac_cpp='$CPP $CPPFLAGS'
35155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35158
35159
35160 fi
35161
35162   fi
35163   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
35164 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
35165
35166   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35167
35168 for ac_func in sqrtf
35169 do
35170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35171 echo "$as_me:$LINENO: checking for $ac_func" >&5
35172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35173 if eval "test \"\${$as_ac_var+set}\" = set"; then
35174   echo $ECHO_N "(cached) $ECHO_C" >&6
35175 else
35176   if test x$gcc_no_link = xyes; then
35177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35179    { (exit 1); exit 1; }; }
35180 fi
35181 cat >conftest.$ac_ext <<_ACEOF
35182 #line $LINENO "configure"
35183 /* confdefs.h.  */
35184 _ACEOF
35185 cat confdefs.h >>conftest.$ac_ext
35186 cat >>conftest.$ac_ext <<_ACEOF
35187 /* end confdefs.h.  */
35188 /* System header to define __stub macros and hopefully few prototypes,
35189     which can conflict with char $ac_func (); below.
35190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35191     <limits.h> exists even on freestanding compilers.  */
35192 #ifdef __STDC__
35193 # include <limits.h>
35194 #else
35195 # include <assert.h>
35196 #endif
35197 /* Override any gcc2 internal prototype to avoid an error.  */
35198 #ifdef __cplusplus
35199 extern "C"
35200 {
35201 #endif
35202 /* We use char because int might match the return type of a gcc2
35203    builtin and then its argument prototype would still apply.  */
35204 char $ac_func ();
35205 /* The GNU C library defines this for functions which it implements
35206     to always fail with ENOSYS.  Some functions are actually named
35207     something starting with __ and the normal name is an alias.  */
35208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35209 choke me
35210 #else
35211 char (*f) () = $ac_func;
35212 #endif
35213 #ifdef __cplusplus
35214 }
35215 #endif
35216
35217 int
35218 main ()
35219 {
35220 return f != $ac_func;
35221   ;
35222   return 0;
35223 }
35224 _ACEOF
35225 rm -f conftest.$ac_objext conftest$ac_exeext
35226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35227   (eval $ac_link) 2>&5
35228   ac_status=$?
35229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230   (exit $ac_status); } &&
35231          { ac_try='test -s conftest$ac_exeext'
35232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233   (eval $ac_try) 2>&5
35234   ac_status=$?
35235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236   (exit $ac_status); }; }; then
35237   eval "$as_ac_var=yes"
35238 else
35239   echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.$ac_ext >&5
35241
35242 eval "$as_ac_var=no"
35243 fi
35244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35245 fi
35246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35248 if test `eval echo '${'$as_ac_var'}'` = yes; then
35249   cat >>confdefs.h <<_ACEOF
35250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35251 _ACEOF
35252
35253 fi
35254 done
35255
35256   else
35257
35258   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35259 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35260   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35261     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35262   echo $ECHO_N "(cached) $ECHO_C" >&6
35263 else
35264
35265
35266
35267       ac_ext=cc
35268 ac_cpp='$CXXCPP $CPPFLAGS'
35269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35272
35273       cat >conftest.$ac_ext <<_ACEOF
35274 #line $LINENO "configure"
35275 /* confdefs.h.  */
35276 _ACEOF
35277 cat confdefs.h >>conftest.$ac_ext
35278 cat >>conftest.$ac_ext <<_ACEOF
35279 /* end confdefs.h.  */
35280 #include <math.h>
35281                       #ifdef HAVE_IEEEFP_H
35282                       #include <ieeefp.h>
35283                       #endif
35284
35285 int
35286 main ()
35287 {
35288  _sqrtf(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__sqrtf_use=yes
35306 else
35307   echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35309
35310 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
35324 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35325
35326     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35327
35328 for ac_func in _sqrtf
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     fi
35417   fi
35418
35419
35420
35421   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35422 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35423   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35424     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35425   echo $ECHO_N "(cached) $ECHO_C" >&6
35426 else
35427
35428
35429
35430       ac_ext=cc
35431 ac_cpp='$CXXCPP $CPPFLAGS'
35432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35435
35436       cat >conftest.$ac_ext <<_ACEOF
35437 #line $LINENO "configure"
35438 /* confdefs.h.  */
35439 _ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h.  */
35443 #include <math.h>
35444 int
35445 main ()
35446 {
35447  sincosf(0, 0, 0);
35448   ;
35449   return 0;
35450 }
35451 _ACEOF
35452 rm -f conftest.$ac_objext
35453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35454   (eval $ac_compile) 2>&5
35455   ac_status=$?
35456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457   (exit $ac_status); } &&
35458          { ac_try='test -s conftest.$ac_objext'
35459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460   (eval $ac_try) 2>&5
35461   ac_status=$?
35462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463   (exit $ac_status); }; }; then
35464   glibcxx_cv_func_sincosf_use=yes
35465 else
35466   echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35468
35469 glibcxx_cv_func_sincosf_use=no
35470 fi
35471 rm -f conftest.$ac_objext conftest.$ac_ext
35472       ac_ext=c
35473 ac_cpp='$CPP $CPPFLAGS'
35474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35477
35478
35479 fi
35480
35481   fi
35482   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35483 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35484
35485   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35486
35487 for ac_func in sincosf
35488 do
35489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35490 echo "$as_me:$LINENO: checking for $ac_func" >&5
35491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35492 if eval "test \"\${$as_ac_var+set}\" = set"; then
35493   echo $ECHO_N "(cached) $ECHO_C" >&6
35494 else
35495   if test x$gcc_no_link = xyes; then
35496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35498    { (exit 1); exit 1; }; }
35499 fi
35500 cat >conftest.$ac_ext <<_ACEOF
35501 #line $LINENO "configure"
35502 /* confdefs.h.  */
35503 _ACEOF
35504 cat confdefs.h >>conftest.$ac_ext
35505 cat >>conftest.$ac_ext <<_ACEOF
35506 /* end confdefs.h.  */
35507 /* System header to define __stub macros and hopefully few prototypes,
35508     which can conflict with char $ac_func (); below.
35509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35510     <limits.h> exists even on freestanding compilers.  */
35511 #ifdef __STDC__
35512 # include <limits.h>
35513 #else
35514 # include <assert.h>
35515 #endif
35516 /* Override any gcc2 internal prototype to avoid an error.  */
35517 #ifdef __cplusplus
35518 extern "C"
35519 {
35520 #endif
35521 /* We use char because int might match the return type of a gcc2
35522    builtin and then its argument prototype would still apply.  */
35523 char $ac_func ();
35524 /* The GNU C library defines this for functions which it implements
35525     to always fail with ENOSYS.  Some functions are actually named
35526     something starting with __ and the normal name is an alias.  */
35527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35528 choke me
35529 #else
35530 char (*f) () = $ac_func;
35531 #endif
35532 #ifdef __cplusplus
35533 }
35534 #endif
35535
35536 int
35537 main ()
35538 {
35539 return f != $ac_func;
35540   ;
35541   return 0;
35542 }
35543 _ACEOF
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35546   (eval $ac_link) 2>&5
35547   ac_status=$?
35548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549   (exit $ac_status); } &&
35550          { ac_try='test -s conftest$ac_exeext'
35551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552   (eval $ac_try) 2>&5
35553   ac_status=$?
35554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555   (exit $ac_status); }; }; then
35556   eval "$as_ac_var=yes"
35557 else
35558   echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.$ac_ext >&5
35560
35561 eval "$as_ac_var=no"
35562 fi
35563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35564 fi
35565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35567 if test `eval echo '${'$as_ac_var'}'` = yes; then
35568   cat >>confdefs.h <<_ACEOF
35569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35570 _ACEOF
35571
35572 fi
35573 done
35574
35575   else
35576
35577   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35578 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35579   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35580     if test "${glibcxx_cv_func__sincosf_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 int
35601 main ()
35602 {
35603  _sincosf(0, 0, 0);
35604   ;
35605   return 0;
35606 }
35607 _ACEOF
35608 rm -f conftest.$ac_objext
35609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35610   (eval $ac_compile) 2>&5
35611   ac_status=$?
35612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613   (exit $ac_status); } &&
35614          { ac_try='test -s conftest.$ac_objext'
35615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616   (eval $ac_try) 2>&5
35617   ac_status=$?
35618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619   (exit $ac_status); }; }; then
35620   glibcxx_cv_func__sincosf_use=yes
35621 else
35622   echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625 glibcxx_cv_func__sincosf_use=no
35626 fi
35627 rm -f conftest.$ac_objext conftest.$ac_ext
35628       ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633
35634
35635 fi
35636
35637   fi
35638   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35639 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35640
35641     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35642
35643 for ac_func in _sincosf
35644 do
35645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35646 echo "$as_me:$LINENO: checking for $ac_func" >&5
35647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35648 if eval "test \"\${$as_ac_var+set}\" = set"; then
35649   echo $ECHO_N "(cached) $ECHO_C" >&6
35650 else
35651   if test x$gcc_no_link = xyes; then
35652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35654    { (exit 1); exit 1; }; }
35655 fi
35656 cat >conftest.$ac_ext <<_ACEOF
35657 #line $LINENO "configure"
35658 /* confdefs.h.  */
35659 _ACEOF
35660 cat confdefs.h >>conftest.$ac_ext
35661 cat >>conftest.$ac_ext <<_ACEOF
35662 /* end confdefs.h.  */
35663 /* System header to define __stub macros and hopefully few prototypes,
35664     which can conflict with char $ac_func (); below.
35665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35666     <limits.h> exists even on freestanding compilers.  */
35667 #ifdef __STDC__
35668 # include <limits.h>
35669 #else
35670 # include <assert.h>
35671 #endif
35672 /* Override any gcc2 internal prototype to avoid an error.  */
35673 #ifdef __cplusplus
35674 extern "C"
35675 {
35676 #endif
35677 /* We use char because int might match the return type of a gcc2
35678    builtin and then its argument prototype would still apply.  */
35679 char $ac_func ();
35680 /* The GNU C library defines this for functions which it implements
35681     to always fail with ENOSYS.  Some functions are actually named
35682     something starting with __ and the normal name is an alias.  */
35683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35684 choke me
35685 #else
35686 char (*f) () = $ac_func;
35687 #endif
35688 #ifdef __cplusplus
35689 }
35690 #endif
35691
35692 int
35693 main ()
35694 {
35695 return f != $ac_func;
35696   ;
35697   return 0;
35698 }
35699 _ACEOF
35700 rm -f conftest.$ac_objext conftest$ac_exeext
35701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35702   (eval $ac_link) 2>&5
35703   ac_status=$?
35704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705   (exit $ac_status); } &&
35706          { ac_try='test -s conftest$ac_exeext'
35707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708   (eval $ac_try) 2>&5
35709   ac_status=$?
35710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711   (exit $ac_status); }; }; then
35712   eval "$as_ac_var=yes"
35713 else
35714   echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35716
35717 eval "$as_ac_var=no"
35718 fi
35719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35720 fi
35721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35723 if test `eval echo '${'$as_ac_var'}'` = yes; then
35724   cat >>confdefs.h <<_ACEOF
35725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35726 _ACEOF
35727
35728 fi
35729 done
35730
35731     fi
35732   fi
35733
35734
35735
35736   echo "$as_me:$LINENO: checking for finitef declaration" >&5
35737 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35738   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35739     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35740   echo $ECHO_N "(cached) $ECHO_C" >&6
35741 else
35742
35743
35744
35745       ac_ext=cc
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35750
35751       cat >conftest.$ac_ext <<_ACEOF
35752 #line $LINENO "configure"
35753 /* confdefs.h.  */
35754 _ACEOF
35755 cat confdefs.h >>conftest.$ac_ext
35756 cat >>conftest.$ac_ext <<_ACEOF
35757 /* end confdefs.h.  */
35758 #include <math.h>
35759                       #ifdef HAVE_IEEEFP_H
35760                       #include <ieeefp.h>
35761                       #endif
35762
35763 int
35764 main ()
35765 {
35766  finitef(0);
35767   ;
35768   return 0;
35769 }
35770 _ACEOF
35771 rm -f conftest.$ac_objext
35772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35773   (eval $ac_compile) 2>&5
35774   ac_status=$?
35775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35776   (exit $ac_status); } &&
35777          { ac_try='test -s conftest.$ac_objext'
35778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35779   (eval $ac_try) 2>&5
35780   ac_status=$?
35781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35782   (exit $ac_status); }; }; then
35783   glibcxx_cv_func_finitef_use=yes
35784 else
35785   echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35787
35788 glibcxx_cv_func_finitef_use=no
35789 fi
35790 rm -f conftest.$ac_objext conftest.$ac_ext
35791       ac_ext=c
35792 ac_cpp='$CPP $CPPFLAGS'
35793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35796
35797
35798 fi
35799
35800   fi
35801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35802 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35803
35804   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35805
35806 for ac_func in finitef
35807 do
35808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35809 echo "$as_me:$LINENO: checking for $ac_func" >&5
35810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35811 if eval "test \"\${$as_ac_var+set}\" = set"; then
35812   echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814   if test x$gcc_no_link = xyes; then
35815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35817    { (exit 1); exit 1; }; }
35818 fi
35819 cat >conftest.$ac_ext <<_ACEOF
35820 #line $LINENO "configure"
35821 /* confdefs.h.  */
35822 _ACEOF
35823 cat confdefs.h >>conftest.$ac_ext
35824 cat >>conftest.$ac_ext <<_ACEOF
35825 /* end confdefs.h.  */
35826 /* System header to define __stub macros and hopefully few prototypes,
35827     which can conflict with char $ac_func (); below.
35828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35829     <limits.h> exists even on freestanding compilers.  */
35830 #ifdef __STDC__
35831 # include <limits.h>
35832 #else
35833 # include <assert.h>
35834 #endif
35835 /* Override any gcc2 internal prototype to avoid an error.  */
35836 #ifdef __cplusplus
35837 extern "C"
35838 {
35839 #endif
35840 /* We use char because int might match the return type of a gcc2
35841    builtin and then its argument prototype would still apply.  */
35842 char $ac_func ();
35843 /* The GNU C library defines this for functions which it implements
35844     to always fail with ENOSYS.  Some functions are actually named
35845     something starting with __ and the normal name is an alias.  */
35846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35847 choke me
35848 #else
35849 char (*f) () = $ac_func;
35850 #endif
35851 #ifdef __cplusplus
35852 }
35853 #endif
35854
35855 int
35856 main ()
35857 {
35858 return f != $ac_func;
35859   ;
35860   return 0;
35861 }
35862 _ACEOF
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35865   (eval $ac_link) 2>&5
35866   ac_status=$?
35867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868   (exit $ac_status); } &&
35869          { ac_try='test -s conftest$ac_exeext'
35870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871   (eval $ac_try) 2>&5
35872   ac_status=$?
35873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874   (exit $ac_status); }; }; then
35875   eval "$as_ac_var=yes"
35876 else
35877   echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35879
35880 eval "$as_ac_var=no"
35881 fi
35882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35883 fi
35884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35886 if test `eval echo '${'$as_ac_var'}'` = yes; then
35887   cat >>confdefs.h <<_ACEOF
35888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35889 _ACEOF
35890
35891 fi
35892 done
35893
35894   else
35895
35896   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35897 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35898   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35899     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35900   echo $ECHO_N "(cached) $ECHO_C" >&6
35901 else
35902
35903
35904
35905       ac_ext=cc
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910
35911       cat >conftest.$ac_ext <<_ACEOF
35912 #line $LINENO "configure"
35913 /* confdefs.h.  */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h.  */
35918 #include <math.h>
35919                       #ifdef HAVE_IEEEFP_H
35920                       #include <ieeefp.h>
35921                       #endif
35922
35923 int
35924 main ()
35925 {
35926  _finitef(0);
35927   ;
35928   return 0;
35929 }
35930 _ACEOF
35931 rm -f conftest.$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933   (eval $ac_compile) 2>&5
35934   ac_status=$?
35935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936   (exit $ac_status); } &&
35937          { ac_try='test -s conftest.$ac_objext'
35938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35939   (eval $ac_try) 2>&5
35940   ac_status=$?
35941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942   (exit $ac_status); }; }; then
35943   glibcxx_cv_func__finitef_use=yes
35944 else
35945   echo "$as_me: failed program was:" >&5
35946 sed 's/^/| /' conftest.$ac_ext >&5
35947
35948 glibcxx_cv_func__finitef_use=no
35949 fi
35950 rm -f conftest.$ac_objext conftest.$ac_ext
35951       ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35956
35957
35958 fi
35959
35960   fi
35961   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35962 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35963
35964     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35965
35966 for ac_func in _finitef
35967 do
35968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 echo "$as_me:$LINENO: checking for $ac_func" >&5
35970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35971 if eval "test \"\${$as_ac_var+set}\" = set"; then
35972   echo $ECHO_N "(cached) $ECHO_C" >&6
35973 else
35974   if test x$gcc_no_link = xyes; then
35975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35977    { (exit 1); exit 1; }; }
35978 fi
35979 cat >conftest.$ac_ext <<_ACEOF
35980 #line $LINENO "configure"
35981 /* confdefs.h.  */
35982 _ACEOF
35983 cat confdefs.h >>conftest.$ac_ext
35984 cat >>conftest.$ac_ext <<_ACEOF
35985 /* end confdefs.h.  */
35986 /* System header to define __stub macros and hopefully few prototypes,
35987     which can conflict with char $ac_func (); below.
35988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35989     <limits.h> exists even on freestanding compilers.  */
35990 #ifdef __STDC__
35991 # include <limits.h>
35992 #else
35993 # include <assert.h>
35994 #endif
35995 /* Override any gcc2 internal prototype to avoid an error.  */
35996 #ifdef __cplusplus
35997 extern "C"
35998 {
35999 #endif
36000 /* We use char because int might match the return type of a gcc2
36001    builtin and then its argument prototype would still apply.  */
36002 char $ac_func ();
36003 /* The GNU C library defines this for functions which it implements
36004     to always fail with ENOSYS.  Some functions are actually named
36005     something starting with __ and the normal name is an alias.  */
36006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36007 choke me
36008 #else
36009 char (*f) () = $ac_func;
36010 #endif
36011 #ifdef __cplusplus
36012 }
36013 #endif
36014
36015 int
36016 main ()
36017 {
36018 return f != $ac_func;
36019   ;
36020   return 0;
36021 }
36022 _ACEOF
36023 rm -f conftest.$ac_objext conftest$ac_exeext
36024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36025   (eval $ac_link) 2>&5
36026   ac_status=$?
36027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028   (exit $ac_status); } &&
36029          { ac_try='test -s conftest$ac_exeext'
36030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031   (eval $ac_try) 2>&5
36032   ac_status=$?
36033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034   (exit $ac_status); }; }; then
36035   eval "$as_ac_var=yes"
36036 else
36037   echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 eval "$as_ac_var=no"
36041 fi
36042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36043 fi
36044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36046 if test `eval echo '${'$as_ac_var'}'` = yes; then
36047   cat >>confdefs.h <<_ACEOF
36048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36049 _ACEOF
36050
36051 fi
36052 done
36053
36054     fi
36055   fi
36056
36057
36058
36059   echo "$as_me:$LINENO: checking for long double trig functions" >&5
36060 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
36061   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
36062   echo $ECHO_N "(cached) $ECHO_C" >&6
36063 else
36064
36065
36066
36067     ac_ext=cc
36068 ac_cpp='$CXXCPP $CPPFLAGS'
36069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36072
36073     cat >conftest.$ac_ext <<_ACEOF
36074 #line $LINENO "configure"
36075 /* confdefs.h.  */
36076 _ACEOF
36077 cat confdefs.h >>conftest.$ac_ext
36078 cat >>conftest.$ac_ext <<_ACEOF
36079 /* end confdefs.h.  */
36080 #include <math.h>
36081 int
36082 main ()
36083 {
36084  `for x in acosl asinl atanl \
36085                                           cosl sinl tanl \
36086                                           coshl sinhl tanhl; do echo "$x (0);"; done`
36087   ;
36088   return 0;
36089 }
36090 _ACEOF
36091 rm -f conftest.$ac_objext
36092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36093   (eval $ac_compile) 2>&5
36094   ac_status=$?
36095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096   (exit $ac_status); } &&
36097          { ac_try='test -s conftest.$ac_objext'
36098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099   (eval $ac_try) 2>&5
36100   ac_status=$?
36101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102   (exit $ac_status); }; }; then
36103   glibcxx_cv_func_long_double_trig_use=yes
36104 else
36105   echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108 glibcxx_cv_func_long_double_trig_use=no
36109 fi
36110 rm -f conftest.$ac_objext conftest.$ac_ext
36111     ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116
36117 fi
36118
36119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
36120 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
36121   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131 for ac_func in acosl asinl atanl \
36132                                           cosl sinl tanl \
36133                                           coshl sinhl tanhl
36134 do
36135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36136 echo "$as_me:$LINENO: checking for $ac_func" >&5
36137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36138 if eval "test \"\${$as_ac_var+set}\" = set"; then
36139   echo $ECHO_N "(cached) $ECHO_C" >&6
36140 else
36141   if test x$gcc_no_link = xyes; then
36142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36144    { (exit 1); exit 1; }; }
36145 fi
36146 cat >conftest.$ac_ext <<_ACEOF
36147 #line $LINENO "configure"
36148 /* confdefs.h.  */
36149 _ACEOF
36150 cat confdefs.h >>conftest.$ac_ext
36151 cat >>conftest.$ac_ext <<_ACEOF
36152 /* end confdefs.h.  */
36153 /* System header to define __stub macros and hopefully few prototypes,
36154     which can conflict with char $ac_func (); below.
36155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36156     <limits.h> exists even on freestanding compilers.  */
36157 #ifdef __STDC__
36158 # include <limits.h>
36159 #else
36160 # include <assert.h>
36161 #endif
36162 /* Override any gcc2 internal prototype to avoid an error.  */
36163 #ifdef __cplusplus
36164 extern "C"
36165 {
36166 #endif
36167 /* We use char because int might match the return type of a gcc2
36168    builtin and then its argument prototype would still apply.  */
36169 char $ac_func ();
36170 /* The GNU C library defines this for functions which it implements
36171     to always fail with ENOSYS.  Some functions are actually named
36172     something starting with __ and the normal name is an alias.  */
36173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36174 choke me
36175 #else
36176 char (*f) () = $ac_func;
36177 #endif
36178 #ifdef __cplusplus
36179 }
36180 #endif
36181
36182 int
36183 main ()
36184 {
36185 return f != $ac_func;
36186   ;
36187   return 0;
36188 }
36189 _ACEOF
36190 rm -f conftest.$ac_objext conftest$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192   (eval $ac_link) 2>&5
36193   ac_status=$?
36194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195   (exit $ac_status); } &&
36196          { ac_try='test -s conftest$ac_exeext'
36197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198   (eval $ac_try) 2>&5
36199   ac_status=$?
36200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201   (exit $ac_status); }; }; then
36202   eval "$as_ac_var=yes"
36203 else
36204   echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36206
36207 eval "$as_ac_var=no"
36208 fi
36209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36210 fi
36211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214   cat >>confdefs.h <<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36216 _ACEOF
36217
36218 fi
36219 done
36220
36221   fi
36222
36223
36224   echo "$as_me:$LINENO: checking for long double round functions" >&5
36225 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
36226   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
36227   echo $ECHO_N "(cached) $ECHO_C" >&6
36228 else
36229
36230
36231
36232     ac_ext=cc
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237
36238     cat >conftest.$ac_ext <<_ACEOF
36239 #line $LINENO "configure"
36240 /* confdefs.h.  */
36241 _ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h.  */
36245 #include <math.h>
36246 int
36247 main ()
36248 {
36249  `for x in ceill floorl; do echo "$x (0);"; done`
36250   ;
36251   return 0;
36252 }
36253 _ACEOF
36254 rm -f conftest.$ac_objext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36256   (eval $ac_compile) 2>&5
36257   ac_status=$?
36258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259   (exit $ac_status); } &&
36260          { ac_try='test -s conftest.$ac_objext'
36261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36262   (eval $ac_try) 2>&5
36263   ac_status=$?
36264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265   (exit $ac_status); }; }; then
36266   glibcxx_cv_func_long_double_round_use=yes
36267 else
36268   echo "$as_me: failed program was:" >&5
36269 sed 's/^/| /' conftest.$ac_ext >&5
36270
36271 glibcxx_cv_func_long_double_round_use=no
36272 fi
36273 rm -f conftest.$ac_objext conftest.$ac_ext
36274     ac_ext=c
36275 ac_cpp='$CPP $CPPFLAGS'
36276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36279
36280 fi
36281
36282   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36283 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36284   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36285
36286
36287 for ac_func in ceill floorl
36288 do
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36292 if eval "test \"\${$as_ac_var+set}\" = set"; then
36293   echo $ECHO_N "(cached) $ECHO_C" >&6
36294 else
36295   if test x$gcc_no_link = xyes; then
36296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36298    { (exit 1); exit 1; }; }
36299 fi
36300 cat >conftest.$ac_ext <<_ACEOF
36301 #line $LINENO "configure"
36302 /* confdefs.h.  */
36303 _ACEOF
36304 cat confdefs.h >>conftest.$ac_ext
36305 cat >>conftest.$ac_ext <<_ACEOF
36306 /* end confdefs.h.  */
36307 /* System header to define __stub macros and hopefully few prototypes,
36308     which can conflict with char $ac_func (); below.
36309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36310     <limits.h> exists even on freestanding compilers.  */
36311 #ifdef __STDC__
36312 # include <limits.h>
36313 #else
36314 # include <assert.h>
36315 #endif
36316 /* Override any gcc2 internal prototype to avoid an error.  */
36317 #ifdef __cplusplus
36318 extern "C"
36319 {
36320 #endif
36321 /* We use char because int might match the return type of a gcc2
36322    builtin and then its argument prototype would still apply.  */
36323 char $ac_func ();
36324 /* The GNU C library defines this for functions which it implements
36325     to always fail with ENOSYS.  Some functions are actually named
36326     something starting with __ and the normal name is an alias.  */
36327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36328 choke me
36329 #else
36330 char (*f) () = $ac_func;
36331 #endif
36332 #ifdef __cplusplus
36333 }
36334 #endif
36335
36336 int
36337 main ()
36338 {
36339 return f != $ac_func;
36340   ;
36341   return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext conftest$ac_exeext
36345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36346   (eval $ac_link) 2>&5
36347   ac_status=$?
36348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349   (exit $ac_status); } &&
36350          { ac_try='test -s conftest$ac_exeext'
36351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352   (eval $ac_try) 2>&5
36353   ac_status=$?
36354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355   (exit $ac_status); }; }; then
36356   eval "$as_ac_var=yes"
36357 else
36358   echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36360
36361 eval "$as_ac_var=no"
36362 fi
36363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36364 fi
36365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36367 if test `eval echo '${'$as_ac_var'}'` = yes; then
36368   cat >>confdefs.h <<_ACEOF
36369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36370 _ACEOF
36371
36372 fi
36373 done
36374
36375   fi
36376
36377
36378
36379   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36380 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36381   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36382     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36383   echo $ECHO_N "(cached) $ECHO_C" >&6
36384 else
36385
36386
36387
36388       ac_ext=cc
36389 ac_cpp='$CXXCPP $CPPFLAGS'
36390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36393
36394       cat >conftest.$ac_ext <<_ACEOF
36395 #line $LINENO "configure"
36396 /* confdefs.h.  */
36397 _ACEOF
36398 cat confdefs.h >>conftest.$ac_ext
36399 cat >>conftest.$ac_ext <<_ACEOF
36400 /* end confdefs.h.  */
36401 #include <math.h>
36402                       #ifdef HAVE_IEEEFP_H
36403                       #include <ieeefp.h>
36404                       #endif
36405
36406 int
36407 main ()
36408 {
36409  isnanl(0);
36410   ;
36411   return 0;
36412 }
36413 _ACEOF
36414 rm -f conftest.$ac_objext
36415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36416   (eval $ac_compile) 2>&5
36417   ac_status=$?
36418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419   (exit $ac_status); } &&
36420          { ac_try='test -s conftest.$ac_objext'
36421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422   (eval $ac_try) 2>&5
36423   ac_status=$?
36424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425   (exit $ac_status); }; }; then
36426   glibcxx_cv_func_isnanl_use=yes
36427 else
36428   echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.$ac_ext >&5
36430
36431 glibcxx_cv_func_isnanl_use=no
36432 fi
36433 rm -f conftest.$ac_objext conftest.$ac_ext
36434       ac_ext=c
36435 ac_cpp='$CPP $CPPFLAGS'
36436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36439
36440
36441 fi
36442
36443   fi
36444   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36445 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36446
36447   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36448
36449 for ac_func in isnanl
36450 do
36451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36452 echo "$as_me:$LINENO: checking for $ac_func" >&5
36453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36454 if eval "test \"\${$as_ac_var+set}\" = set"; then
36455   echo $ECHO_N "(cached) $ECHO_C" >&6
36456 else
36457   if test x$gcc_no_link = xyes; then
36458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36460    { (exit 1); exit 1; }; }
36461 fi
36462 cat >conftest.$ac_ext <<_ACEOF
36463 #line $LINENO "configure"
36464 /* confdefs.h.  */
36465 _ACEOF
36466 cat confdefs.h >>conftest.$ac_ext
36467 cat >>conftest.$ac_ext <<_ACEOF
36468 /* end confdefs.h.  */
36469 /* System header to define __stub macros and hopefully few prototypes,
36470     which can conflict with char $ac_func (); below.
36471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36472     <limits.h> exists even on freestanding compilers.  */
36473 #ifdef __STDC__
36474 # include <limits.h>
36475 #else
36476 # include <assert.h>
36477 #endif
36478 /* Override any gcc2 internal prototype to avoid an error.  */
36479 #ifdef __cplusplus
36480 extern "C"
36481 {
36482 #endif
36483 /* We use char because int might match the return type of a gcc2
36484    builtin and then its argument prototype would still apply.  */
36485 char $ac_func ();
36486 /* The GNU C library defines this for functions which it implements
36487     to always fail with ENOSYS.  Some functions are actually named
36488     something starting with __ and the normal name is an alias.  */
36489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36490 choke me
36491 #else
36492 char (*f) () = $ac_func;
36493 #endif
36494 #ifdef __cplusplus
36495 }
36496 #endif
36497
36498 int
36499 main ()
36500 {
36501 return f != $ac_func;
36502   ;
36503   return 0;
36504 }
36505 _ACEOF
36506 rm -f conftest.$ac_objext conftest$ac_exeext
36507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36508   (eval $ac_link) 2>&5
36509   ac_status=$?
36510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511   (exit $ac_status); } &&
36512          { ac_try='test -s conftest$ac_exeext'
36513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514   (eval $ac_try) 2>&5
36515   ac_status=$?
36516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517   (exit $ac_status); }; }; then
36518   eval "$as_ac_var=yes"
36519 else
36520   echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36522
36523 eval "$as_ac_var=no"
36524 fi
36525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36526 fi
36527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36529 if test `eval echo '${'$as_ac_var'}'` = yes; then
36530   cat >>confdefs.h <<_ACEOF
36531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537   else
36538
36539   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36540 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36541   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36542     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36543   echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545
36546
36547
36548       ac_ext=cc
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553
36554       cat >conftest.$ac_ext <<_ACEOF
36555 #line $LINENO "configure"
36556 /* confdefs.h.  */
36557 _ACEOF
36558 cat confdefs.h >>conftest.$ac_ext
36559 cat >>conftest.$ac_ext <<_ACEOF
36560 /* end confdefs.h.  */
36561 #include <math.h>
36562                       #ifdef HAVE_IEEEFP_H
36563                       #include <ieeefp.h>
36564                       #endif
36565
36566 int
36567 main ()
36568 {
36569  _isnanl(0);
36570   ;
36571   return 0;
36572 }
36573 _ACEOF
36574 rm -f conftest.$ac_objext
36575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36576   (eval $ac_compile) 2>&5
36577   ac_status=$?
36578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579   (exit $ac_status); } &&
36580          { ac_try='test -s conftest.$ac_objext'
36581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36582   (eval $ac_try) 2>&5
36583   ac_status=$?
36584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585   (exit $ac_status); }; }; then
36586   glibcxx_cv_func__isnanl_use=yes
36587 else
36588   echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36590
36591 glibcxx_cv_func__isnanl_use=no
36592 fi
36593 rm -f conftest.$ac_objext conftest.$ac_ext
36594       ac_ext=c
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36599
36600
36601 fi
36602
36603   fi
36604   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36605 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36606
36607     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36608
36609 for ac_func in _isnanl
36610 do
36611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36612 echo "$as_me:$LINENO: checking for $ac_func" >&5
36613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36614 if eval "test \"\${$as_ac_var+set}\" = set"; then
36615   echo $ECHO_N "(cached) $ECHO_C" >&6
36616 else
36617   if test x$gcc_no_link = xyes; then
36618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36620    { (exit 1); exit 1; }; }
36621 fi
36622 cat >conftest.$ac_ext <<_ACEOF
36623 #line $LINENO "configure"
36624 /* confdefs.h.  */
36625 _ACEOF
36626 cat confdefs.h >>conftest.$ac_ext
36627 cat >>conftest.$ac_ext <<_ACEOF
36628 /* end confdefs.h.  */
36629 /* System header to define __stub macros and hopefully few prototypes,
36630     which can conflict with char $ac_func (); below.
36631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36632     <limits.h> exists even on freestanding compilers.  */
36633 #ifdef __STDC__
36634 # include <limits.h>
36635 #else
36636 # include <assert.h>
36637 #endif
36638 /* Override any gcc2 internal prototype to avoid an error.  */
36639 #ifdef __cplusplus
36640 extern "C"
36641 {
36642 #endif
36643 /* We use char because int might match the return type of a gcc2
36644    builtin and then its argument prototype would still apply.  */
36645 char $ac_func ();
36646 /* The GNU C library defines this for functions which it implements
36647     to always fail with ENOSYS.  Some functions are actually named
36648     something starting with __ and the normal name is an alias.  */
36649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36650 choke me
36651 #else
36652 char (*f) () = $ac_func;
36653 #endif
36654 #ifdef __cplusplus
36655 }
36656 #endif
36657
36658 int
36659 main ()
36660 {
36661 return f != $ac_func;
36662   ;
36663   return 0;
36664 }
36665 _ACEOF
36666 rm -f conftest.$ac_objext conftest$ac_exeext
36667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36668   (eval $ac_link) 2>&5
36669   ac_status=$?
36670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671   (exit $ac_status); } &&
36672          { ac_try='test -s conftest$ac_exeext'
36673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674   (eval $ac_try) 2>&5
36675   ac_status=$?
36676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677   (exit $ac_status); }; }; then
36678   eval "$as_ac_var=yes"
36679 else
36680   echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.$ac_ext >&5
36682
36683 eval "$as_ac_var=no"
36684 fi
36685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36686 fi
36687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36689 if test `eval echo '${'$as_ac_var'}'` = yes; then
36690   cat >>confdefs.h <<_ACEOF
36691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36692 _ACEOF
36693
36694 fi
36695 done
36696
36697     fi
36698   fi
36699
36700
36701
36702   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36703 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36704   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36705     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36706   echo $ECHO_N "(cached) $ECHO_C" >&6
36707 else
36708
36709
36710
36711       ac_ext=cc
36712 ac_cpp='$CXXCPP $CPPFLAGS'
36713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36716
36717       cat >conftest.$ac_ext <<_ACEOF
36718 #line $LINENO "configure"
36719 /* confdefs.h.  */
36720 _ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h.  */
36724 #include <math.h>
36725                       #ifdef HAVE_IEEEFP_H
36726                       #include <ieeefp.h>
36727                       #endif
36728
36729 int
36730 main ()
36731 {
36732  isinfl(0);
36733   ;
36734   return 0;
36735 }
36736 _ACEOF
36737 rm -f conftest.$ac_objext
36738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36739   (eval $ac_compile) 2>&5
36740   ac_status=$?
36741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742   (exit $ac_status); } &&
36743          { ac_try='test -s conftest.$ac_objext'
36744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745   (eval $ac_try) 2>&5
36746   ac_status=$?
36747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748   (exit $ac_status); }; }; then
36749   glibcxx_cv_func_isinfl_use=yes
36750 else
36751   echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 glibcxx_cv_func_isinfl_use=no
36755 fi
36756 rm -f conftest.$ac_objext conftest.$ac_ext
36757       ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762
36763
36764 fi
36765
36766   fi
36767   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36768 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36769
36770   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36771
36772 for ac_func in isinfl
36773 do
36774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36775 echo "$as_me:$LINENO: checking for $ac_func" >&5
36776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36777 if eval "test \"\${$as_ac_var+set}\" = set"; then
36778   echo $ECHO_N "(cached) $ECHO_C" >&6
36779 else
36780   if test x$gcc_no_link = xyes; then
36781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36783    { (exit 1); exit 1; }; }
36784 fi
36785 cat >conftest.$ac_ext <<_ACEOF
36786 #line $LINENO "configure"
36787 /* confdefs.h.  */
36788 _ACEOF
36789 cat confdefs.h >>conftest.$ac_ext
36790 cat >>conftest.$ac_ext <<_ACEOF
36791 /* end confdefs.h.  */
36792 /* System header to define __stub macros and hopefully few prototypes,
36793     which can conflict with char $ac_func (); below.
36794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36795     <limits.h> exists even on freestanding compilers.  */
36796 #ifdef __STDC__
36797 # include <limits.h>
36798 #else
36799 # include <assert.h>
36800 #endif
36801 /* Override any gcc2 internal prototype to avoid an error.  */
36802 #ifdef __cplusplus
36803 extern "C"
36804 {
36805 #endif
36806 /* We use char because int might match the return type of a gcc2
36807    builtin and then its argument prototype would still apply.  */
36808 char $ac_func ();
36809 /* The GNU C library defines this for functions which it implements
36810     to always fail with ENOSYS.  Some functions are actually named
36811     something starting with __ and the normal name is an alias.  */
36812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36813 choke me
36814 #else
36815 char (*f) () = $ac_func;
36816 #endif
36817 #ifdef __cplusplus
36818 }
36819 #endif
36820
36821 int
36822 main ()
36823 {
36824 return f != $ac_func;
36825   ;
36826   return 0;
36827 }
36828 _ACEOF
36829 rm -f conftest.$ac_objext conftest$ac_exeext
36830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36831   (eval $ac_link) 2>&5
36832   ac_status=$?
36833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36834   (exit $ac_status); } &&
36835          { ac_try='test -s conftest$ac_exeext'
36836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36837   (eval $ac_try) 2>&5
36838   ac_status=$?
36839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36840   (exit $ac_status); }; }; then
36841   eval "$as_ac_var=yes"
36842 else
36843   echo "$as_me: failed program was:" >&5
36844 sed 's/^/| /' conftest.$ac_ext >&5
36845
36846 eval "$as_ac_var=no"
36847 fi
36848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36849 fi
36850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36852 if test `eval echo '${'$as_ac_var'}'` = yes; then
36853   cat >>confdefs.h <<_ACEOF
36854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36855 _ACEOF
36856
36857 fi
36858 done
36859
36860   else
36861
36862   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36863 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36864   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36865     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36866   echo $ECHO_N "(cached) $ECHO_C" >&6
36867 else
36868
36869
36870
36871       ac_ext=cc
36872 ac_cpp='$CXXCPP $CPPFLAGS'
36873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876
36877       cat >conftest.$ac_ext <<_ACEOF
36878 #line $LINENO "configure"
36879 /* confdefs.h.  */
36880 _ACEOF
36881 cat confdefs.h >>conftest.$ac_ext
36882 cat >>conftest.$ac_ext <<_ACEOF
36883 /* end confdefs.h.  */
36884 #include <math.h>
36885                       #ifdef HAVE_IEEEFP_H
36886                       #include <ieeefp.h>
36887                       #endif
36888
36889 int
36890 main ()
36891 {
36892  _isinfl(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__isinfl_use=yes
36910 else
36911   echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36913
36914 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
36928 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36929
36930     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36931
36932 for ac_func in _isinfl
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     fi
37021   fi
37022
37023
37024
37025   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
37026 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
37027   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
37028     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
37029   echo $ECHO_N "(cached) $ECHO_C" >&6
37030 else
37031
37032
37033
37034       ac_ext=cc
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37039
37040       cat >conftest.$ac_ext <<_ACEOF
37041 #line $LINENO "configure"
37042 /* confdefs.h.  */
37043 _ACEOF
37044 cat confdefs.h >>conftest.$ac_ext
37045 cat >>conftest.$ac_ext <<_ACEOF
37046 /* end confdefs.h.  */
37047 #include <math.h>
37048 int
37049 main ()
37050 {
37051  copysignl(0, 0);
37052   ;
37053   return 0;
37054 }
37055 _ACEOF
37056 rm -f conftest.$ac_objext
37057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37058   (eval $ac_compile) 2>&5
37059   ac_status=$?
37060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061   (exit $ac_status); } &&
37062          { ac_try='test -s conftest.$ac_objext'
37063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064   (eval $ac_try) 2>&5
37065   ac_status=$?
37066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067   (exit $ac_status); }; }; then
37068   glibcxx_cv_func_copysignl_use=yes
37069 else
37070   echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073 glibcxx_cv_func_copysignl_use=no
37074 fi
37075 rm -f conftest.$ac_objext conftest.$ac_ext
37076       ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081
37082
37083 fi
37084
37085   fi
37086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
37087 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
37088
37089   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
37090
37091 for ac_func in copysignl
37092 do
37093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37094 echo "$as_me:$LINENO: checking for $ac_func" >&5
37095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37096 if eval "test \"\${$as_ac_var+set}\" = set"; then
37097   echo $ECHO_N "(cached) $ECHO_C" >&6
37098 else
37099   if test x$gcc_no_link = xyes; then
37100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37102    { (exit 1); exit 1; }; }
37103 fi
37104 cat >conftest.$ac_ext <<_ACEOF
37105 #line $LINENO "configure"
37106 /* confdefs.h.  */
37107 _ACEOF
37108 cat confdefs.h >>conftest.$ac_ext
37109 cat >>conftest.$ac_ext <<_ACEOF
37110 /* end confdefs.h.  */
37111 /* System header to define __stub macros and hopefully few prototypes,
37112     which can conflict with char $ac_func (); below.
37113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37114     <limits.h> exists even on freestanding compilers.  */
37115 #ifdef __STDC__
37116 # include <limits.h>
37117 #else
37118 # include <assert.h>
37119 #endif
37120 /* Override any gcc2 internal prototype to avoid an error.  */
37121 #ifdef __cplusplus
37122 extern "C"
37123 {
37124 #endif
37125 /* We use char because int might match the return type of a gcc2
37126    builtin and then its argument prototype would still apply.  */
37127 char $ac_func ();
37128 /* The GNU C library defines this for functions which it implements
37129     to always fail with ENOSYS.  Some functions are actually named
37130     something starting with __ and the normal name is an alias.  */
37131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37132 choke me
37133 #else
37134 char (*f) () = $ac_func;
37135 #endif
37136 #ifdef __cplusplus
37137 }
37138 #endif
37139
37140 int
37141 main ()
37142 {
37143 return f != $ac_func;
37144   ;
37145   return 0;
37146 }
37147 _ACEOF
37148 rm -f conftest.$ac_objext conftest$ac_exeext
37149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37150   (eval $ac_link) 2>&5
37151   ac_status=$?
37152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153   (exit $ac_status); } &&
37154          { ac_try='test -s conftest$ac_exeext'
37155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37156   (eval $ac_try) 2>&5
37157   ac_status=$?
37158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159   (exit $ac_status); }; }; then
37160   eval "$as_ac_var=yes"
37161 else
37162   echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.$ac_ext >&5
37164
37165 eval "$as_ac_var=no"
37166 fi
37167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37168 fi
37169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37171 if test `eval echo '${'$as_ac_var'}'` = yes; then
37172   cat >>confdefs.h <<_ACEOF
37173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37174 _ACEOF
37175
37176 fi
37177 done
37178
37179   else
37180
37181   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
37182 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
37183   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
37184     if test "${glibcxx_cv_func__copysignl_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  _copysignl(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__copysignl_use=yes
37225 else
37226   echo "$as_me: failed program was:" >&5
37227 sed 's/^/| /' conftest.$ac_ext >&5
37228
37229 glibcxx_cv_func__copysignl_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__copysignl_use" >&5
37243 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37244
37245     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37246
37247 for ac_func in _copysignl
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     fi
37336   fi
37337
37338
37339
37340   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37341 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37342   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37343     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37344   echo $ECHO_N "(cached) $ECHO_C" >&6
37345 else
37346
37347
37348
37349       ac_ext=cc
37350 ac_cpp='$CXXCPP $CPPFLAGS'
37351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37354
37355       cat >conftest.$ac_ext <<_ACEOF
37356 #line $LINENO "configure"
37357 /* confdefs.h.  */
37358 _ACEOF
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h.  */
37362 #include <math.h>
37363 int
37364 main ()
37365 {
37366  atan2l(0, 0);
37367   ;
37368   return 0;
37369 }
37370 _ACEOF
37371 rm -f conftest.$ac_objext
37372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37373   (eval $ac_compile) 2>&5
37374   ac_status=$?
37375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376   (exit $ac_status); } &&
37377          { ac_try='test -s conftest.$ac_objext'
37378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37379   (eval $ac_try) 2>&5
37380   ac_status=$?
37381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382   (exit $ac_status); }; }; then
37383   glibcxx_cv_func_atan2l_use=yes
37384 else
37385   echo "$as_me: failed program was:" >&5
37386 sed 's/^/| /' conftest.$ac_ext >&5
37387
37388 glibcxx_cv_func_atan2l_use=no
37389 fi
37390 rm -f conftest.$ac_objext conftest.$ac_ext
37391       ac_ext=c
37392 ac_cpp='$CPP $CPPFLAGS'
37393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37396
37397
37398 fi
37399
37400   fi
37401   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37402 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37403
37404   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37405
37406 for ac_func in atan2l
37407 do
37408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37409 echo "$as_me:$LINENO: checking for $ac_func" >&5
37410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37411 if eval "test \"\${$as_ac_var+set}\" = set"; then
37412   echo $ECHO_N "(cached) $ECHO_C" >&6
37413 else
37414   if test x$gcc_no_link = xyes; then
37415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37417    { (exit 1); exit 1; }; }
37418 fi
37419 cat >conftest.$ac_ext <<_ACEOF
37420 #line $LINENO "configure"
37421 /* confdefs.h.  */
37422 _ACEOF
37423 cat confdefs.h >>conftest.$ac_ext
37424 cat >>conftest.$ac_ext <<_ACEOF
37425 /* end confdefs.h.  */
37426 /* System header to define __stub macros and hopefully few prototypes,
37427     which can conflict with char $ac_func (); below.
37428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37429     <limits.h> exists even on freestanding compilers.  */
37430 #ifdef __STDC__
37431 # include <limits.h>
37432 #else
37433 # include <assert.h>
37434 #endif
37435 /* Override any gcc2 internal prototype to avoid an error.  */
37436 #ifdef __cplusplus
37437 extern "C"
37438 {
37439 #endif
37440 /* We use char because int might match the return type of a gcc2
37441    builtin and then its argument prototype would still apply.  */
37442 char $ac_func ();
37443 /* The GNU C library defines this for functions which it implements
37444     to always fail with ENOSYS.  Some functions are actually named
37445     something starting with __ and the normal name is an alias.  */
37446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37447 choke me
37448 #else
37449 char (*f) () = $ac_func;
37450 #endif
37451 #ifdef __cplusplus
37452 }
37453 #endif
37454
37455 int
37456 main ()
37457 {
37458 return f != $ac_func;
37459   ;
37460   return 0;
37461 }
37462 _ACEOF
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37465   (eval $ac_link) 2>&5
37466   ac_status=$?
37467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468   (exit $ac_status); } &&
37469          { ac_try='test -s conftest$ac_exeext'
37470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471   (eval $ac_try) 2>&5
37472   ac_status=$?
37473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474   (exit $ac_status); }; }; then
37475   eval "$as_ac_var=yes"
37476 else
37477   echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37479
37480 eval "$as_ac_var=no"
37481 fi
37482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37483 fi
37484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37486 if test `eval echo '${'$as_ac_var'}'` = yes; then
37487   cat >>confdefs.h <<_ACEOF
37488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37489 _ACEOF
37490
37491 fi
37492 done
37493
37494   else
37495
37496   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37497 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37498   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37499     if test "${glibcxx_cv_func__atan2l_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 int
37520 main ()
37521 {
37522  _atan2l(0, 0);
37523   ;
37524   return 0;
37525 }
37526 _ACEOF
37527 rm -f conftest.$ac_objext
37528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37529   (eval $ac_compile) 2>&5
37530   ac_status=$?
37531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37532   (exit $ac_status); } &&
37533          { ac_try='test -s conftest.$ac_objext'
37534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37535   (eval $ac_try) 2>&5
37536   ac_status=$?
37537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538   (exit $ac_status); }; }; then
37539   glibcxx_cv_func__atan2l_use=yes
37540 else
37541   echo "$as_me: failed program was:" >&5
37542 sed 's/^/| /' conftest.$ac_ext >&5
37543
37544 glibcxx_cv_func__atan2l_use=no
37545 fi
37546 rm -f conftest.$ac_objext conftest.$ac_ext
37547       ac_ext=c
37548 ac_cpp='$CPP $CPPFLAGS'
37549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37552
37553
37554 fi
37555
37556   fi
37557   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37558 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37559
37560     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37561
37562 for ac_func in _atan2l
37563 do
37564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37565 echo "$as_me:$LINENO: checking for $ac_func" >&5
37566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37567 if eval "test \"\${$as_ac_var+set}\" = set"; then
37568   echo $ECHO_N "(cached) $ECHO_C" >&6
37569 else
37570   if test x$gcc_no_link = xyes; then
37571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37573    { (exit 1); exit 1; }; }
37574 fi
37575 cat >conftest.$ac_ext <<_ACEOF
37576 #line $LINENO "configure"
37577 /* confdefs.h.  */
37578 _ACEOF
37579 cat confdefs.h >>conftest.$ac_ext
37580 cat >>conftest.$ac_ext <<_ACEOF
37581 /* end confdefs.h.  */
37582 /* System header to define __stub macros and hopefully few prototypes,
37583     which can conflict with char $ac_func (); below.
37584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37585     <limits.h> exists even on freestanding compilers.  */
37586 #ifdef __STDC__
37587 # include <limits.h>
37588 #else
37589 # include <assert.h>
37590 #endif
37591 /* Override any gcc2 internal prototype to avoid an error.  */
37592 #ifdef __cplusplus
37593 extern "C"
37594 {
37595 #endif
37596 /* We use char because int might match the return type of a gcc2
37597    builtin and then its argument prototype would still apply.  */
37598 char $ac_func ();
37599 /* The GNU C library defines this for functions which it implements
37600     to always fail with ENOSYS.  Some functions are actually named
37601     something starting with __ and the normal name is an alias.  */
37602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37603 choke me
37604 #else
37605 char (*f) () = $ac_func;
37606 #endif
37607 #ifdef __cplusplus
37608 }
37609 #endif
37610
37611 int
37612 main ()
37613 {
37614 return f != $ac_func;
37615   ;
37616   return 0;
37617 }
37618 _ACEOF
37619 rm -f conftest.$ac_objext conftest$ac_exeext
37620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37621   (eval $ac_link) 2>&5
37622   ac_status=$?
37623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624   (exit $ac_status); } &&
37625          { ac_try='test -s conftest$ac_exeext'
37626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627   (eval $ac_try) 2>&5
37628   ac_status=$?
37629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630   (exit $ac_status); }; }; then
37631   eval "$as_ac_var=yes"
37632 else
37633   echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.$ac_ext >&5
37635
37636 eval "$as_ac_var=no"
37637 fi
37638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37639 fi
37640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37642 if test `eval echo '${'$as_ac_var'}'` = yes; then
37643   cat >>confdefs.h <<_ACEOF
37644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37645 _ACEOF
37646
37647 fi
37648 done
37649
37650     fi
37651   fi
37652
37653
37654
37655   echo "$as_me:$LINENO: checking for expl declaration" >&5
37656 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37657   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37658     if test "${glibcxx_cv_func_expl_use+set}" = set; then
37659   echo $ECHO_N "(cached) $ECHO_C" >&6
37660 else
37661
37662
37663
37664       ac_ext=cc
37665 ac_cpp='$CXXCPP $CPPFLAGS'
37666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37669
37670       cat >conftest.$ac_ext <<_ACEOF
37671 #line $LINENO "configure"
37672 /* confdefs.h.  */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h.  */
37677 #include <math.h>
37678                       #ifdef HAVE_IEEEFP_H
37679                       #include <ieeefp.h>
37680                       #endif
37681
37682 int
37683 main ()
37684 {
37685  expl(0);
37686   ;
37687   return 0;
37688 }
37689 _ACEOF
37690 rm -f conftest.$ac_objext
37691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37692   (eval $ac_compile) 2>&5
37693   ac_status=$?
37694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695   (exit $ac_status); } &&
37696          { ac_try='test -s conftest.$ac_objext'
37697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698   (eval $ac_try) 2>&5
37699   ac_status=$?
37700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701   (exit $ac_status); }; }; then
37702   glibcxx_cv_func_expl_use=yes
37703 else
37704   echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 glibcxx_cv_func_expl_use=no
37708 fi
37709 rm -f conftest.$ac_objext conftest.$ac_ext
37710       ac_ext=c
37711 ac_cpp='$CPP $CPPFLAGS'
37712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37715
37716
37717 fi
37718
37719   fi
37720   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37721 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37722
37723   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37724
37725 for ac_func in expl
37726 do
37727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37728 echo "$as_me:$LINENO: checking for $ac_func" >&5
37729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37730 if eval "test \"\${$as_ac_var+set}\" = set"; then
37731   echo $ECHO_N "(cached) $ECHO_C" >&6
37732 else
37733   if test x$gcc_no_link = xyes; then
37734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37736    { (exit 1); exit 1; }; }
37737 fi
37738 cat >conftest.$ac_ext <<_ACEOF
37739 #line $LINENO "configure"
37740 /* confdefs.h.  */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h.  */
37745 /* System header to define __stub macros and hopefully few prototypes,
37746     which can conflict with char $ac_func (); below.
37747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37748     <limits.h> exists even on freestanding compilers.  */
37749 #ifdef __STDC__
37750 # include <limits.h>
37751 #else
37752 # include <assert.h>
37753 #endif
37754 /* Override any gcc2 internal prototype to avoid an error.  */
37755 #ifdef __cplusplus
37756 extern "C"
37757 {
37758 #endif
37759 /* We use char because int might match the return type of a gcc2
37760    builtin and then its argument prototype would still apply.  */
37761 char $ac_func ();
37762 /* The GNU C library defines this for functions which it implements
37763     to always fail with ENOSYS.  Some functions are actually named
37764     something starting with __ and the normal name is an alias.  */
37765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37766 choke me
37767 #else
37768 char (*f) () = $ac_func;
37769 #endif
37770 #ifdef __cplusplus
37771 }
37772 #endif
37773
37774 int
37775 main ()
37776 {
37777 return f != $ac_func;
37778   ;
37779   return 0;
37780 }
37781 _ACEOF
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37784   (eval $ac_link) 2>&5
37785   ac_status=$?
37786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787   (exit $ac_status); } &&
37788          { ac_try='test -s conftest$ac_exeext'
37789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790   (eval $ac_try) 2>&5
37791   ac_status=$?
37792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793   (exit $ac_status); }; }; then
37794   eval "$as_ac_var=yes"
37795 else
37796   echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37798
37799 eval "$as_ac_var=no"
37800 fi
37801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37802 fi
37803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37805 if test `eval echo '${'$as_ac_var'}'` = yes; then
37806   cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37808 _ACEOF
37809
37810 fi
37811 done
37812
37813   else
37814
37815   echo "$as_me:$LINENO: checking for _expl declaration" >&5
37816 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37817   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37818     if test "${glibcxx_cv_func__expl_use+set}" = set; then
37819   echo $ECHO_N "(cached) $ECHO_C" >&6
37820 else
37821
37822
37823
37824       ac_ext=cc
37825 ac_cpp='$CXXCPP $CPPFLAGS'
37826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37829
37830       cat >conftest.$ac_ext <<_ACEOF
37831 #line $LINENO "configure"
37832 /* confdefs.h.  */
37833 _ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h.  */
37837 #include <math.h>
37838                       #ifdef HAVE_IEEEFP_H
37839                       #include <ieeefp.h>
37840                       #endif
37841
37842 int
37843 main ()
37844 {
37845  _expl(0);
37846   ;
37847   return 0;
37848 }
37849 _ACEOF
37850 rm -f conftest.$ac_objext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37852   (eval $ac_compile) 2>&5
37853   ac_status=$?
37854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855   (exit $ac_status); } &&
37856          { ac_try='test -s conftest.$ac_objext'
37857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858   (eval $ac_try) 2>&5
37859   ac_status=$?
37860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861   (exit $ac_status); }; }; then
37862   glibcxx_cv_func__expl_use=yes
37863 else
37864   echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37866
37867 glibcxx_cv_func__expl_use=no
37868 fi
37869 rm -f conftest.$ac_objext conftest.$ac_ext
37870       ac_ext=c
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37875
37876
37877 fi
37878
37879   fi
37880   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37881 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37882
37883     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37884
37885 for ac_func in _expl
37886 do
37887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37888 echo "$as_me:$LINENO: checking for $ac_func" >&5
37889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37890 if eval "test \"\${$as_ac_var+set}\" = set"; then
37891   echo $ECHO_N "(cached) $ECHO_C" >&6
37892 else
37893   if test x$gcc_no_link = xyes; then
37894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37896    { (exit 1); exit 1; }; }
37897 fi
37898 cat >conftest.$ac_ext <<_ACEOF
37899 #line $LINENO "configure"
37900 /* confdefs.h.  */
37901 _ACEOF
37902 cat confdefs.h >>conftest.$ac_ext
37903 cat >>conftest.$ac_ext <<_ACEOF
37904 /* end confdefs.h.  */
37905 /* System header to define __stub macros and hopefully few prototypes,
37906     which can conflict with char $ac_func (); below.
37907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37908     <limits.h> exists even on freestanding compilers.  */
37909 #ifdef __STDC__
37910 # include <limits.h>
37911 #else
37912 # include <assert.h>
37913 #endif
37914 /* Override any gcc2 internal prototype to avoid an error.  */
37915 #ifdef __cplusplus
37916 extern "C"
37917 {
37918 #endif
37919 /* We use char because int might match the return type of a gcc2
37920    builtin and then its argument prototype would still apply.  */
37921 char $ac_func ();
37922 /* The GNU C library defines this for functions which it implements
37923     to always fail with ENOSYS.  Some functions are actually named
37924     something starting with __ and the normal name is an alias.  */
37925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37926 choke me
37927 #else
37928 char (*f) () = $ac_func;
37929 #endif
37930 #ifdef __cplusplus
37931 }
37932 #endif
37933
37934 int
37935 main ()
37936 {
37937 return f != $ac_func;
37938   ;
37939   return 0;
37940 }
37941 _ACEOF
37942 rm -f conftest.$ac_objext conftest$ac_exeext
37943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37944   (eval $ac_link) 2>&5
37945   ac_status=$?
37946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947   (exit $ac_status); } &&
37948          { ac_try='test -s conftest$ac_exeext'
37949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950   (eval $ac_try) 2>&5
37951   ac_status=$?
37952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953   (exit $ac_status); }; }; then
37954   eval "$as_ac_var=yes"
37955 else
37956   echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37958
37959 eval "$as_ac_var=no"
37960 fi
37961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37962 fi
37963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37965 if test `eval echo '${'$as_ac_var'}'` = yes; then
37966   cat >>confdefs.h <<_ACEOF
37967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37968 _ACEOF
37969
37970 fi
37971 done
37972
37973     fi
37974   fi
37975
37976
37977
37978   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37979 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37980   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37981     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37982   echo $ECHO_N "(cached) $ECHO_C" >&6
37983 else
37984
37985
37986
37987       ac_ext=cc
37988 ac_cpp='$CXXCPP $CPPFLAGS'
37989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37992
37993       cat >conftest.$ac_ext <<_ACEOF
37994 #line $LINENO "configure"
37995 /* confdefs.h.  */
37996 _ACEOF
37997 cat confdefs.h >>conftest.$ac_ext
37998 cat >>conftest.$ac_ext <<_ACEOF
37999 /* end confdefs.h.  */
38000 #include <math.h>
38001                       #ifdef HAVE_IEEEFP_H
38002                       #include <ieeefp.h>
38003                       #endif
38004
38005 int
38006 main ()
38007 {
38008  fabsl(0);
38009   ;
38010   return 0;
38011 }
38012 _ACEOF
38013 rm -f conftest.$ac_objext
38014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38015   (eval $ac_compile) 2>&5
38016   ac_status=$?
38017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018   (exit $ac_status); } &&
38019          { ac_try='test -s conftest.$ac_objext'
38020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38021   (eval $ac_try) 2>&5
38022   ac_status=$?
38023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024   (exit $ac_status); }; }; then
38025   glibcxx_cv_func_fabsl_use=yes
38026 else
38027   echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38029
38030 glibcxx_cv_func_fabsl_use=no
38031 fi
38032 rm -f conftest.$ac_objext conftest.$ac_ext
38033       ac_ext=c
38034 ac_cpp='$CPP $CPPFLAGS'
38035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38038
38039
38040 fi
38041
38042   fi
38043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
38044 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
38045
38046   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38047
38048 for ac_func in fabsl
38049 do
38050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38051 echo "$as_me:$LINENO: checking for $ac_func" >&5
38052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38053 if eval "test \"\${$as_ac_var+set}\" = set"; then
38054   echo $ECHO_N "(cached) $ECHO_C" >&6
38055 else
38056   if test x$gcc_no_link = xyes; then
38057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38059    { (exit 1); exit 1; }; }
38060 fi
38061 cat >conftest.$ac_ext <<_ACEOF
38062 #line $LINENO "configure"
38063 /* confdefs.h.  */
38064 _ACEOF
38065 cat confdefs.h >>conftest.$ac_ext
38066 cat >>conftest.$ac_ext <<_ACEOF
38067 /* end confdefs.h.  */
38068 /* System header to define __stub macros and hopefully few prototypes,
38069     which can conflict with char $ac_func (); below.
38070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38071     <limits.h> exists even on freestanding compilers.  */
38072 #ifdef __STDC__
38073 # include <limits.h>
38074 #else
38075 # include <assert.h>
38076 #endif
38077 /* Override any gcc2 internal prototype to avoid an error.  */
38078 #ifdef __cplusplus
38079 extern "C"
38080 {
38081 #endif
38082 /* We use char because int might match the return type of a gcc2
38083    builtin and then its argument prototype would still apply.  */
38084 char $ac_func ();
38085 /* The GNU C library defines this for functions which it implements
38086     to always fail with ENOSYS.  Some functions are actually named
38087     something starting with __ and the normal name is an alias.  */
38088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38089 choke me
38090 #else
38091 char (*f) () = $ac_func;
38092 #endif
38093 #ifdef __cplusplus
38094 }
38095 #endif
38096
38097 int
38098 main ()
38099 {
38100 return f != $ac_func;
38101   ;
38102   return 0;
38103 }
38104 _ACEOF
38105 rm -f conftest.$ac_objext conftest$ac_exeext
38106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38107   (eval $ac_link) 2>&5
38108   ac_status=$?
38109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110   (exit $ac_status); } &&
38111          { ac_try='test -s conftest$ac_exeext'
38112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113   (eval $ac_try) 2>&5
38114   ac_status=$?
38115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116   (exit $ac_status); }; }; then
38117   eval "$as_ac_var=yes"
38118 else
38119   echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 eval "$as_ac_var=no"
38123 fi
38124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38125 fi
38126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38128 if test `eval echo '${'$as_ac_var'}'` = yes; then
38129   cat >>confdefs.h <<_ACEOF
38130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38131 _ACEOF
38132
38133 fi
38134 done
38135
38136   else
38137
38138   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
38139 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
38140   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38141     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
38142   echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38144
38145
38146
38147       ac_ext=cc
38148 ac_cpp='$CXXCPP $CPPFLAGS'
38149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38152
38153       cat >conftest.$ac_ext <<_ACEOF
38154 #line $LINENO "configure"
38155 /* confdefs.h.  */
38156 _ACEOF
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h.  */
38160 #include <math.h>
38161                       #ifdef HAVE_IEEEFP_H
38162                       #include <ieeefp.h>
38163                       #endif
38164
38165 int
38166 main ()
38167 {
38168  _fabsl(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__fabsl_use=yes
38186 else
38187   echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38189
38190 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
38204 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
38205
38206     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38207
38208 for ac_func in _fabsl
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     fi
38297   fi
38298
38299
38300
38301   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38302 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38303   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38304     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38305   echo $ECHO_N "(cached) $ECHO_C" >&6
38306 else
38307
38308
38309
38310       ac_ext=cc
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38315
38316       cat >conftest.$ac_ext <<_ACEOF
38317 #line $LINENO "configure"
38318 /* confdefs.h.  */
38319 _ACEOF
38320 cat confdefs.h >>conftest.$ac_ext
38321 cat >>conftest.$ac_ext <<_ACEOF
38322 /* end confdefs.h.  */
38323 #include <math.h>
38324 int
38325 main ()
38326 {
38327  fmodl(0, 0);
38328   ;
38329   return 0;
38330 }
38331 _ACEOF
38332 rm -f conftest.$ac_objext
38333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38334   (eval $ac_compile) 2>&5
38335   ac_status=$?
38336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337   (exit $ac_status); } &&
38338          { ac_try='test -s conftest.$ac_objext'
38339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340   (eval $ac_try) 2>&5
38341   ac_status=$?
38342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343   (exit $ac_status); }; }; then
38344   glibcxx_cv_func_fmodl_use=yes
38345 else
38346   echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349 glibcxx_cv_func_fmodl_use=no
38350 fi
38351 rm -f conftest.$ac_objext conftest.$ac_ext
38352       ac_ext=c
38353 ac_cpp='$CPP $CPPFLAGS'
38354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38357
38358
38359 fi
38360
38361   fi
38362   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38363 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38364
38365   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38366
38367 for ac_func in fmodl
38368 do
38369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38370 echo "$as_me:$LINENO: checking for $ac_func" >&5
38371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38372 if eval "test \"\${$as_ac_var+set}\" = set"; then
38373   echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375   if test x$gcc_no_link = xyes; then
38376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38378    { (exit 1); exit 1; }; }
38379 fi
38380 cat >conftest.$ac_ext <<_ACEOF
38381 #line $LINENO "configure"
38382 /* confdefs.h.  */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h.  */
38387 /* System header to define __stub macros and hopefully few prototypes,
38388     which can conflict with char $ac_func (); below.
38389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38390     <limits.h> exists even on freestanding compilers.  */
38391 #ifdef __STDC__
38392 # include <limits.h>
38393 #else
38394 # include <assert.h>
38395 #endif
38396 /* Override any gcc2 internal prototype to avoid an error.  */
38397 #ifdef __cplusplus
38398 extern "C"
38399 {
38400 #endif
38401 /* We use char because int might match the return type of a gcc2
38402    builtin and then its argument prototype would still apply.  */
38403 char $ac_func ();
38404 /* The GNU C library defines this for functions which it implements
38405     to always fail with ENOSYS.  Some functions are actually named
38406     something starting with __ and the normal name is an alias.  */
38407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38408 choke me
38409 #else
38410 char (*f) () = $ac_func;
38411 #endif
38412 #ifdef __cplusplus
38413 }
38414 #endif
38415
38416 int
38417 main ()
38418 {
38419 return f != $ac_func;
38420   ;
38421   return 0;
38422 }
38423 _ACEOF
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38426   (eval $ac_link) 2>&5
38427   ac_status=$?
38428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429   (exit $ac_status); } &&
38430          { ac_try='test -s conftest$ac_exeext'
38431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432   (eval $ac_try) 2>&5
38433   ac_status=$?
38434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435   (exit $ac_status); }; }; then
38436   eval "$as_ac_var=yes"
38437 else
38438   echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38440
38441 eval "$as_ac_var=no"
38442 fi
38443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38444 fi
38445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38447 if test `eval echo '${'$as_ac_var'}'` = yes; then
38448   cat >>confdefs.h <<_ACEOF
38449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38450 _ACEOF
38451
38452 fi
38453 done
38454
38455   else
38456
38457   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38458 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38459   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38460     if test "${glibcxx_cv_func__fmodl_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  _fmodl(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__fmodl_use=yes
38501 else
38502   echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38504
38505 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
38519 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38520
38521     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38522
38523 for ac_func in _fmodl
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     fi
38612   fi
38613
38614
38615
38616   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38617 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38618   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38619     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38620   echo $ECHO_N "(cached) $ECHO_C" >&6
38621 else
38622
38623
38624
38625       ac_ext=cc
38626 ac_cpp='$CXXCPP $CPPFLAGS'
38627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38630
38631       cat >conftest.$ac_ext <<_ACEOF
38632 #line $LINENO "configure"
38633 /* confdefs.h.  */
38634 _ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h.  */
38638 #include <math.h>
38639 int
38640 main ()
38641 {
38642  frexpl(0, 0);
38643   ;
38644   return 0;
38645 }
38646 _ACEOF
38647 rm -f conftest.$ac_objext
38648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38649   (eval $ac_compile) 2>&5
38650   ac_status=$?
38651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652   (exit $ac_status); } &&
38653          { ac_try='test -s conftest.$ac_objext'
38654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38655   (eval $ac_try) 2>&5
38656   ac_status=$?
38657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658   (exit $ac_status); }; }; then
38659   glibcxx_cv_func_frexpl_use=yes
38660 else
38661   echo "$as_me: failed program was:" >&5
38662 sed 's/^/| /' conftest.$ac_ext >&5
38663
38664 glibcxx_cv_func_frexpl_use=no
38665 fi
38666 rm -f conftest.$ac_objext conftest.$ac_ext
38667       ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38672
38673
38674 fi
38675
38676   fi
38677   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38678 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38679
38680   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38681
38682 for ac_func in frexpl
38683 do
38684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38685 echo "$as_me:$LINENO: checking for $ac_func" >&5
38686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38687 if eval "test \"\${$as_ac_var+set}\" = set"; then
38688   echo $ECHO_N "(cached) $ECHO_C" >&6
38689 else
38690   if test x$gcc_no_link = xyes; then
38691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38693    { (exit 1); exit 1; }; }
38694 fi
38695 cat >conftest.$ac_ext <<_ACEOF
38696 #line $LINENO "configure"
38697 /* confdefs.h.  */
38698 _ACEOF
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h.  */
38702 /* System header to define __stub macros and hopefully few prototypes,
38703     which can conflict with char $ac_func (); below.
38704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38705     <limits.h> exists even on freestanding compilers.  */
38706 #ifdef __STDC__
38707 # include <limits.h>
38708 #else
38709 # include <assert.h>
38710 #endif
38711 /* Override any gcc2 internal prototype to avoid an error.  */
38712 #ifdef __cplusplus
38713 extern "C"
38714 {
38715 #endif
38716 /* We use char because int might match the return type of a gcc2
38717    builtin and then its argument prototype would still apply.  */
38718 char $ac_func ();
38719 /* The GNU C library defines this for functions which it implements
38720     to always fail with ENOSYS.  Some functions are actually named
38721     something starting with __ and the normal name is an alias.  */
38722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38723 choke me
38724 #else
38725 char (*f) () = $ac_func;
38726 #endif
38727 #ifdef __cplusplus
38728 }
38729 #endif
38730
38731 int
38732 main ()
38733 {
38734 return f != $ac_func;
38735   ;
38736   return 0;
38737 }
38738 _ACEOF
38739 rm -f conftest.$ac_objext conftest$ac_exeext
38740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38741   (eval $ac_link) 2>&5
38742   ac_status=$?
38743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744   (exit $ac_status); } &&
38745          { ac_try='test -s conftest$ac_exeext'
38746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38747   (eval $ac_try) 2>&5
38748   ac_status=$?
38749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750   (exit $ac_status); }; }; then
38751   eval "$as_ac_var=yes"
38752 else
38753   echo "$as_me: failed program was:" >&5
38754 sed 's/^/| /' conftest.$ac_ext >&5
38755
38756 eval "$as_ac_var=no"
38757 fi
38758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38759 fi
38760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38762 if test `eval echo '${'$as_ac_var'}'` = yes; then
38763   cat >>confdefs.h <<_ACEOF
38764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38765 _ACEOF
38766
38767 fi
38768 done
38769
38770   else
38771
38772   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38773 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38774   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38775     if test "${glibcxx_cv_func__frexpl_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  _frexpl(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__frexpl_use=yes
38816 else
38817   echo "$as_me: failed program was:" >&5
38818 sed 's/^/| /' conftest.$ac_ext >&5
38819
38820 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
38834 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38835
38836     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38837
38838 for ac_func in _frexpl
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     fi
38927   fi
38928
38929
38930
38931   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38932 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38933   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38934     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38935   echo $ECHO_N "(cached) $ECHO_C" >&6
38936 else
38937
38938
38939
38940       ac_ext=cc
38941 ac_cpp='$CXXCPP $CPPFLAGS'
38942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38945
38946       cat >conftest.$ac_ext <<_ACEOF
38947 #line $LINENO "configure"
38948 /* confdefs.h.  */
38949 _ACEOF
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h.  */
38953 #include <math.h>
38954 int
38955 main ()
38956 {
38957  hypotl(0, 0);
38958   ;
38959   return 0;
38960 }
38961 _ACEOF
38962 rm -f conftest.$ac_objext
38963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38964   (eval $ac_compile) 2>&5
38965   ac_status=$?
38966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967   (exit $ac_status); } &&
38968          { ac_try='test -s conftest.$ac_objext'
38969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38970   (eval $ac_try) 2>&5
38971   ac_status=$?
38972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973   (exit $ac_status); }; }; then
38974   glibcxx_cv_func_hypotl_use=yes
38975 else
38976   echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979 glibcxx_cv_func_hypotl_use=no
38980 fi
38981 rm -f conftest.$ac_objext conftest.$ac_ext
38982       ac_ext=c
38983 ac_cpp='$CPP $CPPFLAGS'
38984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38987
38988
38989 fi
38990
38991   fi
38992   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38993 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38994
38995   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38996
38997 for ac_func in hypotl
38998 do
38999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39000 echo "$as_me:$LINENO: checking for $ac_func" >&5
39001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39002 if eval "test \"\${$as_ac_var+set}\" = set"; then
39003   echo $ECHO_N "(cached) $ECHO_C" >&6
39004 else
39005   if test x$gcc_no_link = xyes; then
39006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39008    { (exit 1); exit 1; }; }
39009 fi
39010 cat >conftest.$ac_ext <<_ACEOF
39011 #line $LINENO "configure"
39012 /* confdefs.h.  */
39013 _ACEOF
39014 cat confdefs.h >>conftest.$ac_ext
39015 cat >>conftest.$ac_ext <<_ACEOF
39016 /* end confdefs.h.  */
39017 /* System header to define __stub macros and hopefully few prototypes,
39018     which can conflict with char $ac_func (); below.
39019     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39020     <limits.h> exists even on freestanding compilers.  */
39021 #ifdef __STDC__
39022 # include <limits.h>
39023 #else
39024 # include <assert.h>
39025 #endif
39026 /* Override any gcc2 internal prototype to avoid an error.  */
39027 #ifdef __cplusplus
39028 extern "C"
39029 {
39030 #endif
39031 /* We use char because int might match the return type of a gcc2
39032    builtin and then its argument prototype would still apply.  */
39033 char $ac_func ();
39034 /* The GNU C library defines this for functions which it implements
39035     to always fail with ENOSYS.  Some functions are actually named
39036     something starting with __ and the normal name is an alias.  */
39037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39038 choke me
39039 #else
39040 char (*f) () = $ac_func;
39041 #endif
39042 #ifdef __cplusplus
39043 }
39044 #endif
39045
39046 int
39047 main ()
39048 {
39049 return f != $ac_func;
39050   ;
39051   return 0;
39052 }
39053 _ACEOF
39054 rm -f conftest.$ac_objext conftest$ac_exeext
39055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39056   (eval $ac_link) 2>&5
39057   ac_status=$?
39058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059   (exit $ac_status); } &&
39060          { ac_try='test -s conftest$ac_exeext'
39061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062   (eval $ac_try) 2>&5
39063   ac_status=$?
39064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065   (exit $ac_status); }; }; then
39066   eval "$as_ac_var=yes"
39067 else
39068   echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39070
39071 eval "$as_ac_var=no"
39072 fi
39073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39074 fi
39075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39077 if test `eval echo '${'$as_ac_var'}'` = yes; then
39078   cat >>confdefs.h <<_ACEOF
39079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39080 _ACEOF
39081
39082 fi
39083 done
39084
39085   else
39086
39087   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
39088 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
39089   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39090     if test "${glibcxx_cv_func__hypotl_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  _hypotl(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__hypotl_use=yes
39131 else
39132   echo "$as_me: failed program was:" >&5
39133 sed 's/^/| /' conftest.$ac_ext >&5
39134
39135 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
39149 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
39150
39151     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39152
39153 for ac_func in _hypotl
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     fi
39242   fi
39243
39244
39245
39246   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39247 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39248   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39249     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39250   echo $ECHO_N "(cached) $ECHO_C" >&6
39251 else
39252
39253
39254
39255       ac_ext=cc
39256 ac_cpp='$CXXCPP $CPPFLAGS'
39257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39260
39261       cat >conftest.$ac_ext <<_ACEOF
39262 #line $LINENO "configure"
39263 /* confdefs.h.  */
39264 _ACEOF
39265 cat confdefs.h >>conftest.$ac_ext
39266 cat >>conftest.$ac_ext <<_ACEOF
39267 /* end confdefs.h.  */
39268 #include <math.h>
39269 int
39270 main ()
39271 {
39272  ldexpl(0, 0);
39273   ;
39274   return 0;
39275 }
39276 _ACEOF
39277 rm -f conftest.$ac_objext
39278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39279   (eval $ac_compile) 2>&5
39280   ac_status=$?
39281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282   (exit $ac_status); } &&
39283          { ac_try='test -s conftest.$ac_objext'
39284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285   (eval $ac_try) 2>&5
39286   ac_status=$?
39287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288   (exit $ac_status); }; }; then
39289   glibcxx_cv_func_ldexpl_use=yes
39290 else
39291   echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39293
39294 glibcxx_cv_func_ldexpl_use=no
39295 fi
39296 rm -f conftest.$ac_objext conftest.$ac_ext
39297       ac_ext=c
39298 ac_cpp='$CPP $CPPFLAGS'
39299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39302
39303
39304 fi
39305
39306   fi
39307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39308 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39309
39310   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39311
39312 for ac_func in ldexpl
39313 do
39314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39315 echo "$as_me:$LINENO: checking for $ac_func" >&5
39316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39317 if eval "test \"\${$as_ac_var+set}\" = set"; then
39318   echo $ECHO_N "(cached) $ECHO_C" >&6
39319 else
39320   if test x$gcc_no_link = xyes; then
39321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39323    { (exit 1); exit 1; }; }
39324 fi
39325 cat >conftest.$ac_ext <<_ACEOF
39326 #line $LINENO "configure"
39327 /* confdefs.h.  */
39328 _ACEOF
39329 cat confdefs.h >>conftest.$ac_ext
39330 cat >>conftest.$ac_ext <<_ACEOF
39331 /* end confdefs.h.  */
39332 /* System header to define __stub macros and hopefully few prototypes,
39333     which can conflict with char $ac_func (); below.
39334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39335     <limits.h> exists even on freestanding compilers.  */
39336 #ifdef __STDC__
39337 # include <limits.h>
39338 #else
39339 # include <assert.h>
39340 #endif
39341 /* Override any gcc2 internal prototype to avoid an error.  */
39342 #ifdef __cplusplus
39343 extern "C"
39344 {
39345 #endif
39346 /* We use char because int might match the return type of a gcc2
39347    builtin and then its argument prototype would still apply.  */
39348 char $ac_func ();
39349 /* The GNU C library defines this for functions which it implements
39350     to always fail with ENOSYS.  Some functions are actually named
39351     something starting with __ and the normal name is an alias.  */
39352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39353 choke me
39354 #else
39355 char (*f) () = $ac_func;
39356 #endif
39357 #ifdef __cplusplus
39358 }
39359 #endif
39360
39361 int
39362 main ()
39363 {
39364 return f != $ac_func;
39365   ;
39366   return 0;
39367 }
39368 _ACEOF
39369 rm -f conftest.$ac_objext conftest$ac_exeext
39370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39371   (eval $ac_link) 2>&5
39372   ac_status=$?
39373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374   (exit $ac_status); } &&
39375          { ac_try='test -s conftest$ac_exeext'
39376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377   (eval $ac_try) 2>&5
39378   ac_status=$?
39379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380   (exit $ac_status); }; }; then
39381   eval "$as_ac_var=yes"
39382 else
39383   echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386 eval "$as_ac_var=no"
39387 fi
39388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39389 fi
39390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39392 if test `eval echo '${'$as_ac_var'}'` = yes; then
39393   cat >>confdefs.h <<_ACEOF
39394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39395 _ACEOF
39396
39397 fi
39398 done
39399
39400   else
39401
39402   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39403 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39404   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39405     if test "${glibcxx_cv_func__ldexpl_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 int
39426 main ()
39427 {
39428  _ldexpl(0, 0);
39429   ;
39430   return 0;
39431 }
39432 _ACEOF
39433 rm -f conftest.$ac_objext
39434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39435   (eval $ac_compile) 2>&5
39436   ac_status=$?
39437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438   (exit $ac_status); } &&
39439          { ac_try='test -s conftest.$ac_objext'
39440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39441   (eval $ac_try) 2>&5
39442   ac_status=$?
39443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444   (exit $ac_status); }; }; then
39445   glibcxx_cv_func__ldexpl_use=yes
39446 else
39447   echo "$as_me: failed program was:" >&5
39448 sed 's/^/| /' conftest.$ac_ext >&5
39449
39450 glibcxx_cv_func__ldexpl_use=no
39451 fi
39452 rm -f conftest.$ac_objext conftest.$ac_ext
39453       ac_ext=c
39454 ac_cpp='$CPP $CPPFLAGS'
39455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39458
39459
39460 fi
39461
39462   fi
39463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39464 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39465
39466     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39467
39468 for ac_func in _ldexpl
39469 do
39470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39471 echo "$as_me:$LINENO: checking for $ac_func" >&5
39472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39473 if eval "test \"\${$as_ac_var+set}\" = set"; then
39474   echo $ECHO_N "(cached) $ECHO_C" >&6
39475 else
39476   if test x$gcc_no_link = xyes; then
39477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39479    { (exit 1); exit 1; }; }
39480 fi
39481 cat >conftest.$ac_ext <<_ACEOF
39482 #line $LINENO "configure"
39483 /* confdefs.h.  */
39484 _ACEOF
39485 cat confdefs.h >>conftest.$ac_ext
39486 cat >>conftest.$ac_ext <<_ACEOF
39487 /* end confdefs.h.  */
39488 /* System header to define __stub macros and hopefully few prototypes,
39489     which can conflict with char $ac_func (); below.
39490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39491     <limits.h> exists even on freestanding compilers.  */
39492 #ifdef __STDC__
39493 # include <limits.h>
39494 #else
39495 # include <assert.h>
39496 #endif
39497 /* Override any gcc2 internal prototype to avoid an error.  */
39498 #ifdef __cplusplus
39499 extern "C"
39500 {
39501 #endif
39502 /* We use char because int might match the return type of a gcc2
39503    builtin and then its argument prototype would still apply.  */
39504 char $ac_func ();
39505 /* The GNU C library defines this for functions which it implements
39506     to always fail with ENOSYS.  Some functions are actually named
39507     something starting with __ and the normal name is an alias.  */
39508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39509 choke me
39510 #else
39511 char (*f) () = $ac_func;
39512 #endif
39513 #ifdef __cplusplus
39514 }
39515 #endif
39516
39517 int
39518 main ()
39519 {
39520 return f != $ac_func;
39521   ;
39522   return 0;
39523 }
39524 _ACEOF
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39527   (eval $ac_link) 2>&5
39528   ac_status=$?
39529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530   (exit $ac_status); } &&
39531          { ac_try='test -s conftest$ac_exeext'
39532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533   (eval $ac_try) 2>&5
39534   ac_status=$?
39535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536   (exit $ac_status); }; }; then
39537   eval "$as_ac_var=yes"
39538 else
39539   echo "$as_me: failed program was:" >&5
39540 sed 's/^/| /' conftest.$ac_ext >&5
39541
39542 eval "$as_ac_var=no"
39543 fi
39544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39545 fi
39546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39548 if test `eval echo '${'$as_ac_var'}'` = yes; then
39549   cat >>confdefs.h <<_ACEOF
39550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39551 _ACEOF
39552
39553 fi
39554 done
39555
39556     fi
39557   fi
39558
39559
39560
39561   echo "$as_me:$LINENO: checking for logl declaration" >&5
39562 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39563   if test x${glibcxx_cv_func_logl_use+set} != xset; then
39564     if test "${glibcxx_cv_func_logl_use+set}" = set; then
39565   echo $ECHO_N "(cached) $ECHO_C" >&6
39566 else
39567
39568
39569
39570       ac_ext=cc
39571 ac_cpp='$CXXCPP $CPPFLAGS'
39572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39575
39576       cat >conftest.$ac_ext <<_ACEOF
39577 #line $LINENO "configure"
39578 /* confdefs.h.  */
39579 _ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h.  */
39583 #include <math.h>
39584                       #ifdef HAVE_IEEEFP_H
39585                       #include <ieeefp.h>
39586                       #endif
39587
39588 int
39589 main ()
39590 {
39591  logl(0);
39592   ;
39593   return 0;
39594 }
39595 _ACEOF
39596 rm -f conftest.$ac_objext
39597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39598   (eval $ac_compile) 2>&5
39599   ac_status=$?
39600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39601   (exit $ac_status); } &&
39602          { ac_try='test -s conftest.$ac_objext'
39603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39604   (eval $ac_try) 2>&5
39605   ac_status=$?
39606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607   (exit $ac_status); }; }; then
39608   glibcxx_cv_func_logl_use=yes
39609 else
39610   echo "$as_me: failed program was:" >&5
39611 sed 's/^/| /' conftest.$ac_ext >&5
39612
39613 glibcxx_cv_func_logl_use=no
39614 fi
39615 rm -f conftest.$ac_objext conftest.$ac_ext
39616       ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621
39622
39623 fi
39624
39625   fi
39626   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39627 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39628
39629   if test x$glibcxx_cv_func_logl_use = x"yes"; then
39630
39631 for ac_func in logl
39632 do
39633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39634 echo "$as_me:$LINENO: checking for $ac_func" >&5
39635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39636 if eval "test \"\${$as_ac_var+set}\" = set"; then
39637   echo $ECHO_N "(cached) $ECHO_C" >&6
39638 else
39639   if test x$gcc_no_link = xyes; then
39640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39642    { (exit 1); exit 1; }; }
39643 fi
39644 cat >conftest.$ac_ext <<_ACEOF
39645 #line $LINENO "configure"
39646 /* confdefs.h.  */
39647 _ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h.  */
39651 /* System header to define __stub macros and hopefully few prototypes,
39652     which can conflict with char $ac_func (); below.
39653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39654     <limits.h> exists even on freestanding compilers.  */
39655 #ifdef __STDC__
39656 # include <limits.h>
39657 #else
39658 # include <assert.h>
39659 #endif
39660 /* Override any gcc2 internal prototype to avoid an error.  */
39661 #ifdef __cplusplus
39662 extern "C"
39663 {
39664 #endif
39665 /* We use char because int might match the return type of a gcc2
39666    builtin and then its argument prototype would still apply.  */
39667 char $ac_func ();
39668 /* The GNU C library defines this for functions which it implements
39669     to always fail with ENOSYS.  Some functions are actually named
39670     something starting with __ and the normal name is an alias.  */
39671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39672 choke me
39673 #else
39674 char (*f) () = $ac_func;
39675 #endif
39676 #ifdef __cplusplus
39677 }
39678 #endif
39679
39680 int
39681 main ()
39682 {
39683 return f != $ac_func;
39684   ;
39685   return 0;
39686 }
39687 _ACEOF
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39690   (eval $ac_link) 2>&5
39691   ac_status=$?
39692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693   (exit $ac_status); } &&
39694          { ac_try='test -s conftest$ac_exeext'
39695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696   (eval $ac_try) 2>&5
39697   ac_status=$?
39698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699   (exit $ac_status); }; }; then
39700   eval "$as_ac_var=yes"
39701 else
39702   echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39704
39705 eval "$as_ac_var=no"
39706 fi
39707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39708 fi
39709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39711 if test `eval echo '${'$as_ac_var'}'` = yes; then
39712   cat >>confdefs.h <<_ACEOF
39713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39714 _ACEOF
39715
39716 fi
39717 done
39718
39719   else
39720
39721   echo "$as_me:$LINENO: checking for _logl declaration" >&5
39722 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39723   if test x${glibcxx_cv_func__logl_use+set} != xset; then
39724     if test "${glibcxx_cv_func__logl_use+set}" = set; then
39725   echo $ECHO_N "(cached) $ECHO_C" >&6
39726 else
39727
39728
39729
39730       ac_ext=cc
39731 ac_cpp='$CXXCPP $CPPFLAGS'
39732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39735
39736       cat >conftest.$ac_ext <<_ACEOF
39737 #line $LINENO "configure"
39738 /* confdefs.h.  */
39739 _ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h.  */
39743 #include <math.h>
39744                       #ifdef HAVE_IEEEFP_H
39745                       #include <ieeefp.h>
39746                       #endif
39747
39748 int
39749 main ()
39750 {
39751  _logl(0);
39752   ;
39753   return 0;
39754 }
39755 _ACEOF
39756 rm -f conftest.$ac_objext
39757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39758   (eval $ac_compile) 2>&5
39759   ac_status=$?
39760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761   (exit $ac_status); } &&
39762          { ac_try='test -s conftest.$ac_objext'
39763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764   (eval $ac_try) 2>&5
39765   ac_status=$?
39766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767   (exit $ac_status); }; }; then
39768   glibcxx_cv_func__logl_use=yes
39769 else
39770   echo "$as_me: failed program was:" >&5
39771 sed 's/^/| /' conftest.$ac_ext >&5
39772
39773 glibcxx_cv_func__logl_use=no
39774 fi
39775 rm -f conftest.$ac_objext conftest.$ac_ext
39776       ac_ext=c
39777 ac_cpp='$CPP $CPPFLAGS'
39778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39781
39782
39783 fi
39784
39785   fi
39786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39787 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39788
39789     if test x$glibcxx_cv_func__logl_use = x"yes"; then
39790
39791 for ac_func in _logl
39792 do
39793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39794 echo "$as_me:$LINENO: checking for $ac_func" >&5
39795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39796 if eval "test \"\${$as_ac_var+set}\" = set"; then
39797   echo $ECHO_N "(cached) $ECHO_C" >&6
39798 else
39799   if test x$gcc_no_link = xyes; then
39800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39802    { (exit 1); exit 1; }; }
39803 fi
39804 cat >conftest.$ac_ext <<_ACEOF
39805 #line $LINENO "configure"
39806 /* confdefs.h.  */
39807 _ACEOF
39808 cat confdefs.h >>conftest.$ac_ext
39809 cat >>conftest.$ac_ext <<_ACEOF
39810 /* end confdefs.h.  */
39811 /* System header to define __stub macros and hopefully few prototypes,
39812     which can conflict with char $ac_func (); below.
39813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39814     <limits.h> exists even on freestanding compilers.  */
39815 #ifdef __STDC__
39816 # include <limits.h>
39817 #else
39818 # include <assert.h>
39819 #endif
39820 /* Override any gcc2 internal prototype to avoid an error.  */
39821 #ifdef __cplusplus
39822 extern "C"
39823 {
39824 #endif
39825 /* We use char because int might match the return type of a gcc2
39826    builtin and then its argument prototype would still apply.  */
39827 char $ac_func ();
39828 /* The GNU C library defines this for functions which it implements
39829     to always fail with ENOSYS.  Some functions are actually named
39830     something starting with __ and the normal name is an alias.  */
39831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39832 choke me
39833 #else
39834 char (*f) () = $ac_func;
39835 #endif
39836 #ifdef __cplusplus
39837 }
39838 #endif
39839
39840 int
39841 main ()
39842 {
39843 return f != $ac_func;
39844   ;
39845   return 0;
39846 }
39847 _ACEOF
39848 rm -f conftest.$ac_objext conftest$ac_exeext
39849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39850   (eval $ac_link) 2>&5
39851   ac_status=$?
39852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853   (exit $ac_status); } &&
39854          { ac_try='test -s conftest$ac_exeext'
39855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39856   (eval $ac_try) 2>&5
39857   ac_status=$?
39858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859   (exit $ac_status); }; }; then
39860   eval "$as_ac_var=yes"
39861 else
39862   echo "$as_me: failed program was:" >&5
39863 sed 's/^/| /' conftest.$ac_ext >&5
39864
39865 eval "$as_ac_var=no"
39866 fi
39867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39868 fi
39869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39871 if test `eval echo '${'$as_ac_var'}'` = yes; then
39872   cat >>confdefs.h <<_ACEOF
39873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39874 _ACEOF
39875
39876 fi
39877 done
39878
39879     fi
39880   fi
39881
39882
39883
39884   echo "$as_me:$LINENO: checking for log10l declaration" >&5
39885 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39886   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39887     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39888   echo $ECHO_N "(cached) $ECHO_C" >&6
39889 else
39890
39891
39892
39893       ac_ext=cc
39894 ac_cpp='$CXXCPP $CPPFLAGS'
39895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39898
39899       cat >conftest.$ac_ext <<_ACEOF
39900 #line $LINENO "configure"
39901 /* confdefs.h.  */
39902 _ACEOF
39903 cat confdefs.h >>conftest.$ac_ext
39904 cat >>conftest.$ac_ext <<_ACEOF
39905 /* end confdefs.h.  */
39906 #include <math.h>
39907                       #ifdef HAVE_IEEEFP_H
39908                       #include <ieeefp.h>
39909                       #endif
39910
39911 int
39912 main ()
39913 {
39914  log10l(0);
39915   ;
39916   return 0;
39917 }
39918 _ACEOF
39919 rm -f conftest.$ac_objext
39920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39921   (eval $ac_compile) 2>&5
39922   ac_status=$?
39923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924   (exit $ac_status); } &&
39925          { ac_try='test -s conftest.$ac_objext'
39926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39927   (eval $ac_try) 2>&5
39928   ac_status=$?
39929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930   (exit $ac_status); }; }; then
39931   glibcxx_cv_func_log10l_use=yes
39932 else
39933   echo "$as_me: failed program was:" >&5
39934 sed 's/^/| /' conftest.$ac_ext >&5
39935
39936 glibcxx_cv_func_log10l_use=no
39937 fi
39938 rm -f conftest.$ac_objext conftest.$ac_ext
39939       ac_ext=c
39940 ac_cpp='$CPP $CPPFLAGS'
39941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39944
39945
39946 fi
39947
39948   fi
39949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39950 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39951
39952   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39953
39954 for ac_func in log10l
39955 do
39956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39957 echo "$as_me:$LINENO: checking for $ac_func" >&5
39958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39959 if eval "test \"\${$as_ac_var+set}\" = set"; then
39960   echo $ECHO_N "(cached) $ECHO_C" >&6
39961 else
39962   if test x$gcc_no_link = xyes; then
39963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39965    { (exit 1); exit 1; }; }
39966 fi
39967 cat >conftest.$ac_ext <<_ACEOF
39968 #line $LINENO "configure"
39969 /* confdefs.h.  */
39970 _ACEOF
39971 cat confdefs.h >>conftest.$ac_ext
39972 cat >>conftest.$ac_ext <<_ACEOF
39973 /* end confdefs.h.  */
39974 /* System header to define __stub macros and hopefully few prototypes,
39975     which can conflict with char $ac_func (); below.
39976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39977     <limits.h> exists even on freestanding compilers.  */
39978 #ifdef __STDC__
39979 # include <limits.h>
39980 #else
39981 # include <assert.h>
39982 #endif
39983 /* Override any gcc2 internal prototype to avoid an error.  */
39984 #ifdef __cplusplus
39985 extern "C"
39986 {
39987 #endif
39988 /* We use char because int might match the return type of a gcc2
39989    builtin and then its argument prototype would still apply.  */
39990 char $ac_func ();
39991 /* The GNU C library defines this for functions which it implements
39992     to always fail with ENOSYS.  Some functions are actually named
39993     something starting with __ and the normal name is an alias.  */
39994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39995 choke me
39996 #else
39997 char (*f) () = $ac_func;
39998 #endif
39999 #ifdef __cplusplus
40000 }
40001 #endif
40002
40003 int
40004 main ()
40005 {
40006 return f != $ac_func;
40007   ;
40008   return 0;
40009 }
40010 _ACEOF
40011 rm -f conftest.$ac_objext conftest$ac_exeext
40012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40013   (eval $ac_link) 2>&5
40014   ac_status=$?
40015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016   (exit $ac_status); } &&
40017          { ac_try='test -s conftest$ac_exeext'
40018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019   (eval $ac_try) 2>&5
40020   ac_status=$?
40021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022   (exit $ac_status); }; }; then
40023   eval "$as_ac_var=yes"
40024 else
40025   echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40027
40028 eval "$as_ac_var=no"
40029 fi
40030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40031 fi
40032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40034 if test `eval echo '${'$as_ac_var'}'` = yes; then
40035   cat >>confdefs.h <<_ACEOF
40036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40037 _ACEOF
40038
40039 fi
40040 done
40041
40042   else
40043
40044   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
40045 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
40046   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40047     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
40048   echo $ECHO_N "(cached) $ECHO_C" >&6
40049 else
40050
40051
40052
40053       ac_ext=cc
40054 ac_cpp='$CXXCPP $CPPFLAGS'
40055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40058
40059       cat >conftest.$ac_ext <<_ACEOF
40060 #line $LINENO "configure"
40061 /* confdefs.h.  */
40062 _ACEOF
40063 cat confdefs.h >>conftest.$ac_ext
40064 cat >>conftest.$ac_ext <<_ACEOF
40065 /* end confdefs.h.  */
40066 #include <math.h>
40067                       #ifdef HAVE_IEEEFP_H
40068                       #include <ieeefp.h>
40069                       #endif
40070
40071 int
40072 main ()
40073 {
40074  _log10l(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__log10l_use=yes
40092 else
40093   echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40095
40096 glibcxx_cv_func__log10l_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__log10l_use" >&5
40110 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
40111
40112     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40113
40114 for ac_func in _log10l
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     fi
40203   fi
40204
40205
40206
40207   echo "$as_me:$LINENO: checking for modfl declaration" >&5
40208 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
40209   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40210     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
40211   echo $ECHO_N "(cached) $ECHO_C" >&6
40212 else
40213
40214
40215
40216       ac_ext=cc
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40221
40222       cat >conftest.$ac_ext <<_ACEOF
40223 #line $LINENO "configure"
40224 /* confdefs.h.  */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h.  */
40229 #include <math.h>
40230 int
40231 main ()
40232 {
40233  modfl(0, 0);
40234   ;
40235   return 0;
40236 }
40237 _ACEOF
40238 rm -f conftest.$ac_objext
40239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40240   (eval $ac_compile) 2>&5
40241   ac_status=$?
40242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243   (exit $ac_status); } &&
40244          { ac_try='test -s conftest.$ac_objext'
40245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246   (eval $ac_try) 2>&5
40247   ac_status=$?
40248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249   (exit $ac_status); }; }; then
40250   glibcxx_cv_func_modfl_use=yes
40251 else
40252   echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40254
40255 glibcxx_cv_func_modfl_use=no
40256 fi
40257 rm -f conftest.$ac_objext conftest.$ac_ext
40258       ac_ext=c
40259 ac_cpp='$CPP $CPPFLAGS'
40260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40263
40264
40265 fi
40266
40267   fi
40268   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40269 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40270
40271   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40272
40273 for ac_func in modfl
40274 do
40275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40276 echo "$as_me:$LINENO: checking for $ac_func" >&5
40277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40278 if eval "test \"\${$as_ac_var+set}\" = set"; then
40279   echo $ECHO_N "(cached) $ECHO_C" >&6
40280 else
40281   if test x$gcc_no_link = xyes; then
40282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40284    { (exit 1); exit 1; }; }
40285 fi
40286 cat >conftest.$ac_ext <<_ACEOF
40287 #line $LINENO "configure"
40288 /* confdefs.h.  */
40289 _ACEOF
40290 cat confdefs.h >>conftest.$ac_ext
40291 cat >>conftest.$ac_ext <<_ACEOF
40292 /* end confdefs.h.  */
40293 /* System header to define __stub macros and hopefully few prototypes,
40294     which can conflict with char $ac_func (); below.
40295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40296     <limits.h> exists even on freestanding compilers.  */
40297 #ifdef __STDC__
40298 # include <limits.h>
40299 #else
40300 # include <assert.h>
40301 #endif
40302 /* Override any gcc2 internal prototype to avoid an error.  */
40303 #ifdef __cplusplus
40304 extern "C"
40305 {
40306 #endif
40307 /* We use char because int might match the return type of a gcc2
40308    builtin and then its argument prototype would still apply.  */
40309 char $ac_func ();
40310 /* The GNU C library defines this for functions which it implements
40311     to always fail with ENOSYS.  Some functions are actually named
40312     something starting with __ and the normal name is an alias.  */
40313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40314 choke me
40315 #else
40316 char (*f) () = $ac_func;
40317 #endif
40318 #ifdef __cplusplus
40319 }
40320 #endif
40321
40322 int
40323 main ()
40324 {
40325 return f != $ac_func;
40326   ;
40327   return 0;
40328 }
40329 _ACEOF
40330 rm -f conftest.$ac_objext conftest$ac_exeext
40331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40332   (eval $ac_link) 2>&5
40333   ac_status=$?
40334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335   (exit $ac_status); } &&
40336          { ac_try='test -s conftest$ac_exeext'
40337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40338   (eval $ac_try) 2>&5
40339   ac_status=$?
40340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341   (exit $ac_status); }; }; then
40342   eval "$as_ac_var=yes"
40343 else
40344   echo "$as_me: failed program was:" >&5
40345 sed 's/^/| /' conftest.$ac_ext >&5
40346
40347 eval "$as_ac_var=no"
40348 fi
40349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40350 fi
40351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40353 if test `eval echo '${'$as_ac_var'}'` = yes; then
40354   cat >>confdefs.h <<_ACEOF
40355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40356 _ACEOF
40357
40358 fi
40359 done
40360
40361   else
40362
40363   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40364 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40365   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40366     if test "${glibcxx_cv_func__modfl_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  _modfl(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__modfl_use=yes
40407 else
40408   echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.$ac_ext >&5
40410
40411 glibcxx_cv_func__modfl_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__modfl_use" >&5
40425 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40426
40427     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40428
40429 for ac_func in _modfl
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     fi
40518   fi
40519
40520
40521
40522   echo "$as_me:$LINENO: checking for powl declaration" >&5
40523 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40524   if test x${glibcxx_cv_func_powl_use+set} != xset; then
40525     if test "${glibcxx_cv_func_powl_use+set}" = set; then
40526   echo $ECHO_N "(cached) $ECHO_C" >&6
40527 else
40528
40529
40530
40531       ac_ext=cc
40532 ac_cpp='$CXXCPP $CPPFLAGS'
40533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40536
40537       cat >conftest.$ac_ext <<_ACEOF
40538 #line $LINENO "configure"
40539 /* confdefs.h.  */
40540 _ACEOF
40541 cat confdefs.h >>conftest.$ac_ext
40542 cat >>conftest.$ac_ext <<_ACEOF
40543 /* end confdefs.h.  */
40544 #include <math.h>
40545 int
40546 main ()
40547 {
40548  powl(0, 0);
40549   ;
40550   return 0;
40551 }
40552 _ACEOF
40553 rm -f conftest.$ac_objext
40554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40555   (eval $ac_compile) 2>&5
40556   ac_status=$?
40557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558   (exit $ac_status); } &&
40559          { ac_try='test -s conftest.$ac_objext'
40560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561   (eval $ac_try) 2>&5
40562   ac_status=$?
40563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564   (exit $ac_status); }; }; then
40565   glibcxx_cv_func_powl_use=yes
40566 else
40567   echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.$ac_ext >&5
40569
40570 glibcxx_cv_func_powl_use=no
40571 fi
40572 rm -f conftest.$ac_objext conftest.$ac_ext
40573       ac_ext=c
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578
40579
40580 fi
40581
40582   fi
40583   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40584 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40585
40586   if test x$glibcxx_cv_func_powl_use = x"yes"; then
40587
40588 for ac_func in powl
40589 do
40590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40591 echo "$as_me:$LINENO: checking for $ac_func" >&5
40592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40593 if eval "test \"\${$as_ac_var+set}\" = set"; then
40594   echo $ECHO_N "(cached) $ECHO_C" >&6
40595 else
40596   if test x$gcc_no_link = xyes; then
40597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40599    { (exit 1); exit 1; }; }
40600 fi
40601 cat >conftest.$ac_ext <<_ACEOF
40602 #line $LINENO "configure"
40603 /* confdefs.h.  */
40604 _ACEOF
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h.  */
40608 /* System header to define __stub macros and hopefully few prototypes,
40609     which can conflict with char $ac_func (); below.
40610     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40611     <limits.h> exists even on freestanding compilers.  */
40612 #ifdef __STDC__
40613 # include <limits.h>
40614 #else
40615 # include <assert.h>
40616 #endif
40617 /* Override any gcc2 internal prototype to avoid an error.  */
40618 #ifdef __cplusplus
40619 extern "C"
40620 {
40621 #endif
40622 /* We use char because int might match the return type of a gcc2
40623    builtin and then its argument prototype would still apply.  */
40624 char $ac_func ();
40625 /* The GNU C library defines this for functions which it implements
40626     to always fail with ENOSYS.  Some functions are actually named
40627     something starting with __ and the normal name is an alias.  */
40628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40629 choke me
40630 #else
40631 char (*f) () = $ac_func;
40632 #endif
40633 #ifdef __cplusplus
40634 }
40635 #endif
40636
40637 int
40638 main ()
40639 {
40640 return f != $ac_func;
40641   ;
40642   return 0;
40643 }
40644 _ACEOF
40645 rm -f conftest.$ac_objext conftest$ac_exeext
40646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40647   (eval $ac_link) 2>&5
40648   ac_status=$?
40649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650   (exit $ac_status); } &&
40651          { ac_try='test -s conftest$ac_exeext'
40652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40653   (eval $ac_try) 2>&5
40654   ac_status=$?
40655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40656   (exit $ac_status); }; }; then
40657   eval "$as_ac_var=yes"
40658 else
40659   echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.$ac_ext >&5
40661
40662 eval "$as_ac_var=no"
40663 fi
40664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40665 fi
40666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40668 if test `eval echo '${'$as_ac_var'}'` = yes; then
40669   cat >>confdefs.h <<_ACEOF
40670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40671 _ACEOF
40672
40673 fi
40674 done
40675
40676   else
40677
40678   echo "$as_me:$LINENO: checking for _powl declaration" >&5
40679 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40680   if test x${glibcxx_cv_func__powl_use+set} != xset; then
40681     if test "${glibcxx_cv_func__powl_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 int
40702 main ()
40703 {
40704  _powl(0, 0);
40705   ;
40706   return 0;
40707 }
40708 _ACEOF
40709 rm -f conftest.$ac_objext
40710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40711   (eval $ac_compile) 2>&5
40712   ac_status=$?
40713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714   (exit $ac_status); } &&
40715          { ac_try='test -s conftest.$ac_objext'
40716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717   (eval $ac_try) 2>&5
40718   ac_status=$?
40719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720   (exit $ac_status); }; }; then
40721   glibcxx_cv_func__powl_use=yes
40722 else
40723   echo "$as_me: failed program was:" >&5
40724 sed 's/^/| /' conftest.$ac_ext >&5
40725
40726 glibcxx_cv_func__powl_use=no
40727 fi
40728 rm -f conftest.$ac_objext conftest.$ac_ext
40729       ac_ext=c
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40734
40735
40736 fi
40737
40738   fi
40739   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40740 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40741
40742     if test x$glibcxx_cv_func__powl_use = x"yes"; then
40743
40744 for ac_func in _powl
40745 do
40746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40747 echo "$as_me:$LINENO: checking for $ac_func" >&5
40748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40749 if eval "test \"\${$as_ac_var+set}\" = set"; then
40750   echo $ECHO_N "(cached) $ECHO_C" >&6
40751 else
40752   if test x$gcc_no_link = xyes; then
40753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40755    { (exit 1); exit 1; }; }
40756 fi
40757 cat >conftest.$ac_ext <<_ACEOF
40758 #line $LINENO "configure"
40759 /* confdefs.h.  */
40760 _ACEOF
40761 cat confdefs.h >>conftest.$ac_ext
40762 cat >>conftest.$ac_ext <<_ACEOF
40763 /* end confdefs.h.  */
40764 /* System header to define __stub macros and hopefully few prototypes,
40765     which can conflict with char $ac_func (); below.
40766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40767     <limits.h> exists even on freestanding compilers.  */
40768 #ifdef __STDC__
40769 # include <limits.h>
40770 #else
40771 # include <assert.h>
40772 #endif
40773 /* Override any gcc2 internal prototype to avoid an error.  */
40774 #ifdef __cplusplus
40775 extern "C"
40776 {
40777 #endif
40778 /* We use char because int might match the return type of a gcc2
40779    builtin and then its argument prototype would still apply.  */
40780 char $ac_func ();
40781 /* The GNU C library defines this for functions which it implements
40782     to always fail with ENOSYS.  Some functions are actually named
40783     something starting with __ and the normal name is an alias.  */
40784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40785 choke me
40786 #else
40787 char (*f) () = $ac_func;
40788 #endif
40789 #ifdef __cplusplus
40790 }
40791 #endif
40792
40793 int
40794 main ()
40795 {
40796 return f != $ac_func;
40797   ;
40798   return 0;
40799 }
40800 _ACEOF
40801 rm -f conftest.$ac_objext conftest$ac_exeext
40802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40803   (eval $ac_link) 2>&5
40804   ac_status=$?
40805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40806   (exit $ac_status); } &&
40807          { ac_try='test -s conftest$ac_exeext'
40808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40809   (eval $ac_try) 2>&5
40810   ac_status=$?
40811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812   (exit $ac_status); }; }; then
40813   eval "$as_ac_var=yes"
40814 else
40815   echo "$as_me: failed program was:" >&5
40816 sed 's/^/| /' conftest.$ac_ext >&5
40817
40818 eval "$as_ac_var=no"
40819 fi
40820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40821 fi
40822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40824 if test `eval echo '${'$as_ac_var'}'` = yes; then
40825   cat >>confdefs.h <<_ACEOF
40826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40827 _ACEOF
40828
40829 fi
40830 done
40831
40832     fi
40833   fi
40834
40835
40836
40837   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40838 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40839   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40840     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40841   echo $ECHO_N "(cached) $ECHO_C" >&6
40842 else
40843
40844
40845
40846       ac_ext=cc
40847 ac_cpp='$CXXCPP $CPPFLAGS'
40848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40851
40852       cat >conftest.$ac_ext <<_ACEOF
40853 #line $LINENO "configure"
40854 /* confdefs.h.  */
40855 _ACEOF
40856 cat confdefs.h >>conftest.$ac_ext
40857 cat >>conftest.$ac_ext <<_ACEOF
40858 /* end confdefs.h.  */
40859 #include <math.h>
40860                       #ifdef HAVE_IEEEFP_H
40861                       #include <ieeefp.h>
40862                       #endif
40863
40864 int
40865 main ()
40866 {
40867  sqrtl(0);
40868   ;
40869   return 0;
40870 }
40871 _ACEOF
40872 rm -f conftest.$ac_objext
40873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40874   (eval $ac_compile) 2>&5
40875   ac_status=$?
40876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877   (exit $ac_status); } &&
40878          { ac_try='test -s conftest.$ac_objext'
40879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40880   (eval $ac_try) 2>&5
40881   ac_status=$?
40882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883   (exit $ac_status); }; }; then
40884   glibcxx_cv_func_sqrtl_use=yes
40885 else
40886   echo "$as_me: failed program was:" >&5
40887 sed 's/^/| /' conftest.$ac_ext >&5
40888
40889 glibcxx_cv_func_sqrtl_use=no
40890 fi
40891 rm -f conftest.$ac_objext conftest.$ac_ext
40892       ac_ext=c
40893 ac_cpp='$CPP $CPPFLAGS'
40894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40897
40898
40899 fi
40900
40901   fi
40902   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40903 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40904
40905   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40906
40907 for ac_func in sqrtl
40908 do
40909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40910 echo "$as_me:$LINENO: checking for $ac_func" >&5
40911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40912 if eval "test \"\${$as_ac_var+set}\" = set"; then
40913   echo $ECHO_N "(cached) $ECHO_C" >&6
40914 else
40915   if test x$gcc_no_link = xyes; then
40916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40918    { (exit 1); exit 1; }; }
40919 fi
40920 cat >conftest.$ac_ext <<_ACEOF
40921 #line $LINENO "configure"
40922 /* confdefs.h.  */
40923 _ACEOF
40924 cat confdefs.h >>conftest.$ac_ext
40925 cat >>conftest.$ac_ext <<_ACEOF
40926 /* end confdefs.h.  */
40927 /* System header to define __stub macros and hopefully few prototypes,
40928     which can conflict with char $ac_func (); below.
40929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40930     <limits.h> exists even on freestanding compilers.  */
40931 #ifdef __STDC__
40932 # include <limits.h>
40933 #else
40934 # include <assert.h>
40935 #endif
40936 /* Override any gcc2 internal prototype to avoid an error.  */
40937 #ifdef __cplusplus
40938 extern "C"
40939 {
40940 #endif
40941 /* We use char because int might match the return type of a gcc2
40942    builtin and then its argument prototype would still apply.  */
40943 char $ac_func ();
40944 /* The GNU C library defines this for functions which it implements
40945     to always fail with ENOSYS.  Some functions are actually named
40946     something starting with __ and the normal name is an alias.  */
40947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40948 choke me
40949 #else
40950 char (*f) () = $ac_func;
40951 #endif
40952 #ifdef __cplusplus
40953 }
40954 #endif
40955
40956 int
40957 main ()
40958 {
40959 return f != $ac_func;
40960   ;
40961   return 0;
40962 }
40963 _ACEOF
40964 rm -f conftest.$ac_objext conftest$ac_exeext
40965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40966   (eval $ac_link) 2>&5
40967   ac_status=$?
40968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969   (exit $ac_status); } &&
40970          { ac_try='test -s conftest$ac_exeext'
40971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972   (eval $ac_try) 2>&5
40973   ac_status=$?
40974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975   (exit $ac_status); }; }; then
40976   eval "$as_ac_var=yes"
40977 else
40978   echo "$as_me: failed program was:" >&5
40979 sed 's/^/| /' conftest.$ac_ext >&5
40980
40981 eval "$as_ac_var=no"
40982 fi
40983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40984 fi
40985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40987 if test `eval echo '${'$as_ac_var'}'` = yes; then
40988   cat >>confdefs.h <<_ACEOF
40989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40990 _ACEOF
40991
40992 fi
40993 done
40994
40995   else
40996
40997   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40998 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40999   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41000     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
41001   echo $ECHO_N "(cached) $ECHO_C" >&6
41002 else
41003
41004
41005
41006       ac_ext=cc
41007 ac_cpp='$CXXCPP $CPPFLAGS'
41008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41011
41012       cat >conftest.$ac_ext <<_ACEOF
41013 #line $LINENO "configure"
41014 /* confdefs.h.  */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h.  */
41019 #include <math.h>
41020                       #ifdef HAVE_IEEEFP_H
41021                       #include <ieeefp.h>
41022                       #endif
41023
41024 int
41025 main ()
41026 {
41027  _sqrtl(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__sqrtl_use=yes
41045 else
41046   echo "$as_me: failed program was:" >&5
41047 sed 's/^/| /' conftest.$ac_ext >&5
41048
41049 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
41063 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
41064
41065     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41066
41067 for ac_func in _sqrtl
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     fi
41156   fi
41157
41158
41159
41160   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
41161 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
41162   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41163     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
41164   echo $ECHO_N "(cached) $ECHO_C" >&6
41165 else
41166
41167
41168
41169       ac_ext=cc
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41174
41175       cat >conftest.$ac_ext <<_ACEOF
41176 #line $LINENO "configure"
41177 /* confdefs.h.  */
41178 _ACEOF
41179 cat confdefs.h >>conftest.$ac_ext
41180 cat >>conftest.$ac_ext <<_ACEOF
41181 /* end confdefs.h.  */
41182 #include <math.h>
41183 int
41184 main ()
41185 {
41186  sincosl(0, 0, 0);
41187   ;
41188   return 0;
41189 }
41190 _ACEOF
41191 rm -f conftest.$ac_objext
41192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41193   (eval $ac_compile) 2>&5
41194   ac_status=$?
41195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196   (exit $ac_status); } &&
41197          { ac_try='test -s conftest.$ac_objext'
41198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199   (eval $ac_try) 2>&5
41200   ac_status=$?
41201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202   (exit $ac_status); }; }; then
41203   glibcxx_cv_func_sincosl_use=yes
41204 else
41205   echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.$ac_ext >&5
41207
41208 glibcxx_cv_func_sincosl_use=no
41209 fi
41210 rm -f conftest.$ac_objext conftest.$ac_ext
41211       ac_ext=c
41212 ac_cpp='$CPP $CPPFLAGS'
41213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41216
41217
41218 fi
41219
41220   fi
41221   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
41222 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
41223
41224   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41225
41226 for ac_func in sincosl
41227 do
41228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41229 echo "$as_me:$LINENO: checking for $ac_func" >&5
41230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41231 if eval "test \"\${$as_ac_var+set}\" = set"; then
41232   echo $ECHO_N "(cached) $ECHO_C" >&6
41233 else
41234   if test x$gcc_no_link = xyes; then
41235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41237    { (exit 1); exit 1; }; }
41238 fi
41239 cat >conftest.$ac_ext <<_ACEOF
41240 #line $LINENO "configure"
41241 /* confdefs.h.  */
41242 _ACEOF
41243 cat confdefs.h >>conftest.$ac_ext
41244 cat >>conftest.$ac_ext <<_ACEOF
41245 /* end confdefs.h.  */
41246 /* System header to define __stub macros and hopefully few prototypes,
41247     which can conflict with char $ac_func (); below.
41248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41249     <limits.h> exists even on freestanding compilers.  */
41250 #ifdef __STDC__
41251 # include <limits.h>
41252 #else
41253 # include <assert.h>
41254 #endif
41255 /* Override any gcc2 internal prototype to avoid an error.  */
41256 #ifdef __cplusplus
41257 extern "C"
41258 {
41259 #endif
41260 /* We use char because int might match the return type of a gcc2
41261    builtin and then its argument prototype would still apply.  */
41262 char $ac_func ();
41263 /* The GNU C library defines this for functions which it implements
41264     to always fail with ENOSYS.  Some functions are actually named
41265     something starting with __ and the normal name is an alias.  */
41266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41267 choke me
41268 #else
41269 char (*f) () = $ac_func;
41270 #endif
41271 #ifdef __cplusplus
41272 }
41273 #endif
41274
41275 int
41276 main ()
41277 {
41278 return f != $ac_func;
41279   ;
41280   return 0;
41281 }
41282 _ACEOF
41283 rm -f conftest.$ac_objext conftest$ac_exeext
41284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41285   (eval $ac_link) 2>&5
41286   ac_status=$?
41287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288   (exit $ac_status); } &&
41289          { ac_try='test -s conftest$ac_exeext'
41290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41291   (eval $ac_try) 2>&5
41292   ac_status=$?
41293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294   (exit $ac_status); }; }; then
41295   eval "$as_ac_var=yes"
41296 else
41297   echo "$as_me: failed program was:" >&5
41298 sed 's/^/| /' conftest.$ac_ext >&5
41299
41300 eval "$as_ac_var=no"
41301 fi
41302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41303 fi
41304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41306 if test `eval echo '${'$as_ac_var'}'` = yes; then
41307   cat >>confdefs.h <<_ACEOF
41308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41309 _ACEOF
41310
41311 fi
41312 done
41313
41314   else
41315
41316   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41317 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41318   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41319     if test "${glibcxx_cv_func__sincosl_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 int
41340 main ()
41341 {
41342  _sincosl(0, 0, 0);
41343   ;
41344   return 0;
41345 }
41346 _ACEOF
41347 rm -f conftest.$ac_objext
41348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41349   (eval $ac_compile) 2>&5
41350   ac_status=$?
41351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352   (exit $ac_status); } &&
41353          { ac_try='test -s conftest.$ac_objext'
41354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355   (eval $ac_try) 2>&5
41356   ac_status=$?
41357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358   (exit $ac_status); }; }; then
41359   glibcxx_cv_func__sincosl_use=yes
41360 else
41361   echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41363
41364 glibcxx_cv_func__sincosl_use=no
41365 fi
41366 rm -f conftest.$ac_objext conftest.$ac_ext
41367       ac_ext=c
41368 ac_cpp='$CPP $CPPFLAGS'
41369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41372
41373
41374 fi
41375
41376   fi
41377   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41378 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41379
41380     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41381
41382 for ac_func in _sincosl
41383 do
41384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41385 echo "$as_me:$LINENO: checking for $ac_func" >&5
41386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41387 if eval "test \"\${$as_ac_var+set}\" = set"; then
41388   echo $ECHO_N "(cached) $ECHO_C" >&6
41389 else
41390   if test x$gcc_no_link = xyes; then
41391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41393    { (exit 1); exit 1; }; }
41394 fi
41395 cat >conftest.$ac_ext <<_ACEOF
41396 #line $LINENO "configure"
41397 /* confdefs.h.  */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h.  */
41402 /* System header to define __stub macros and hopefully few prototypes,
41403     which can conflict with char $ac_func (); below.
41404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41405     <limits.h> exists even on freestanding compilers.  */
41406 #ifdef __STDC__
41407 # include <limits.h>
41408 #else
41409 # include <assert.h>
41410 #endif
41411 /* Override any gcc2 internal prototype to avoid an error.  */
41412 #ifdef __cplusplus
41413 extern "C"
41414 {
41415 #endif
41416 /* We use char because int might match the return type of a gcc2
41417    builtin and then its argument prototype would still apply.  */
41418 char $ac_func ();
41419 /* The GNU C library defines this for functions which it implements
41420     to always fail with ENOSYS.  Some functions are actually named
41421     something starting with __ and the normal name is an alias.  */
41422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41423 choke me
41424 #else
41425 char (*f) () = $ac_func;
41426 #endif
41427 #ifdef __cplusplus
41428 }
41429 #endif
41430
41431 int
41432 main ()
41433 {
41434 return f != $ac_func;
41435   ;
41436   return 0;
41437 }
41438 _ACEOF
41439 rm -f conftest.$ac_objext conftest$ac_exeext
41440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41441   (eval $ac_link) 2>&5
41442   ac_status=$?
41443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444   (exit $ac_status); } &&
41445          { ac_try='test -s conftest$ac_exeext'
41446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41447   (eval $ac_try) 2>&5
41448   ac_status=$?
41449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450   (exit $ac_status); }; }; then
41451   eval "$as_ac_var=yes"
41452 else
41453   echo "$as_me: failed program was:" >&5
41454 sed 's/^/| /' conftest.$ac_ext >&5
41455
41456 eval "$as_ac_var=no"
41457 fi
41458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41459 fi
41460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41462 if test `eval echo '${'$as_ac_var'}'` = yes; then
41463   cat >>confdefs.h <<_ACEOF
41464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41465 _ACEOF
41466
41467 fi
41468 done
41469
41470     fi
41471   fi
41472
41473
41474
41475   echo "$as_me:$LINENO: checking for finitel declaration" >&5
41476 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41477   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41478     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41479   echo $ECHO_N "(cached) $ECHO_C" >&6
41480 else
41481
41482
41483
41484       ac_ext=cc
41485 ac_cpp='$CXXCPP $CPPFLAGS'
41486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41489
41490       cat >conftest.$ac_ext <<_ACEOF
41491 #line $LINENO "configure"
41492 /* confdefs.h.  */
41493 _ACEOF
41494 cat confdefs.h >>conftest.$ac_ext
41495 cat >>conftest.$ac_ext <<_ACEOF
41496 /* end confdefs.h.  */
41497 #include <math.h>
41498                       #ifdef HAVE_IEEEFP_H
41499                       #include <ieeefp.h>
41500                       #endif
41501
41502 int
41503 main ()
41504 {
41505  finitel(0);
41506   ;
41507   return 0;
41508 }
41509 _ACEOF
41510 rm -f conftest.$ac_objext
41511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41512   (eval $ac_compile) 2>&5
41513   ac_status=$?
41514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515   (exit $ac_status); } &&
41516          { ac_try='test -s conftest.$ac_objext'
41517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518   (eval $ac_try) 2>&5
41519   ac_status=$?
41520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521   (exit $ac_status); }; }; then
41522   glibcxx_cv_func_finitel_use=yes
41523 else
41524   echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.$ac_ext >&5
41526
41527 glibcxx_cv_func_finitel_use=no
41528 fi
41529 rm -f conftest.$ac_objext conftest.$ac_ext
41530       ac_ext=c
41531 ac_cpp='$CPP $CPPFLAGS'
41532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41535
41536
41537 fi
41538
41539   fi
41540   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41541 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41542
41543   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41544
41545 for ac_func in finitel
41546 do
41547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41548 echo "$as_me:$LINENO: checking for $ac_func" >&5
41549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41550 if eval "test \"\${$as_ac_var+set}\" = set"; then
41551   echo $ECHO_N "(cached) $ECHO_C" >&6
41552 else
41553   if test x$gcc_no_link = xyes; then
41554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41556    { (exit 1); exit 1; }; }
41557 fi
41558 cat >conftest.$ac_ext <<_ACEOF
41559 #line $LINENO "configure"
41560 /* confdefs.h.  */
41561 _ACEOF
41562 cat confdefs.h >>conftest.$ac_ext
41563 cat >>conftest.$ac_ext <<_ACEOF
41564 /* end confdefs.h.  */
41565 /* System header to define __stub macros and hopefully few prototypes,
41566     which can conflict with char $ac_func (); below.
41567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41568     <limits.h> exists even on freestanding compilers.  */
41569 #ifdef __STDC__
41570 # include <limits.h>
41571 #else
41572 # include <assert.h>
41573 #endif
41574 /* Override any gcc2 internal prototype to avoid an error.  */
41575 #ifdef __cplusplus
41576 extern "C"
41577 {
41578 #endif
41579 /* We use char because int might match the return type of a gcc2
41580    builtin and then its argument prototype would still apply.  */
41581 char $ac_func ();
41582 /* The GNU C library defines this for functions which it implements
41583     to always fail with ENOSYS.  Some functions are actually named
41584     something starting with __ and the normal name is an alias.  */
41585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41586 choke me
41587 #else
41588 char (*f) () = $ac_func;
41589 #endif
41590 #ifdef __cplusplus
41591 }
41592 #endif
41593
41594 int
41595 main ()
41596 {
41597 return f != $ac_func;
41598   ;
41599   return 0;
41600 }
41601 _ACEOF
41602 rm -f conftest.$ac_objext conftest$ac_exeext
41603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41604   (eval $ac_link) 2>&5
41605   ac_status=$?
41606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607   (exit $ac_status); } &&
41608          { ac_try='test -s conftest$ac_exeext'
41609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41610   (eval $ac_try) 2>&5
41611   ac_status=$?
41612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613   (exit $ac_status); }; }; then
41614   eval "$as_ac_var=yes"
41615 else
41616   echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.$ac_ext >&5
41618
41619 eval "$as_ac_var=no"
41620 fi
41621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41622 fi
41623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41625 if test `eval echo '${'$as_ac_var'}'` = yes; then
41626   cat >>confdefs.h <<_ACEOF
41627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41628 _ACEOF
41629
41630 fi
41631 done
41632
41633   else
41634
41635   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41636 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41637   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41638     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41639   echo $ECHO_N "(cached) $ECHO_C" >&6
41640 else
41641
41642
41643
41644       ac_ext=cc
41645 ac_cpp='$CXXCPP $CPPFLAGS'
41646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41649
41650       cat >conftest.$ac_ext <<_ACEOF
41651 #line $LINENO "configure"
41652 /* confdefs.h.  */
41653 _ACEOF
41654 cat confdefs.h >>conftest.$ac_ext
41655 cat >>conftest.$ac_ext <<_ACEOF
41656 /* end confdefs.h.  */
41657 #include <math.h>
41658                       #ifdef HAVE_IEEEFP_H
41659                       #include <ieeefp.h>
41660                       #endif
41661
41662 int
41663 main ()
41664 {
41665  _finitel(0);
41666   ;
41667   return 0;
41668 }
41669 _ACEOF
41670 rm -f conftest.$ac_objext
41671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41672   (eval $ac_compile) 2>&5
41673   ac_status=$?
41674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675   (exit $ac_status); } &&
41676          { ac_try='test -s conftest.$ac_objext'
41677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41678   (eval $ac_try) 2>&5
41679   ac_status=$?
41680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681   (exit $ac_status); }; }; then
41682   glibcxx_cv_func__finitel_use=yes
41683 else
41684   echo "$as_me: failed program was:" >&5
41685 sed 's/^/| /' conftest.$ac_ext >&5
41686
41687 glibcxx_cv_func__finitel_use=no
41688 fi
41689 rm -f conftest.$ac_objext conftest.$ac_ext
41690       ac_ext=c
41691 ac_cpp='$CPP $CPPFLAGS'
41692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41695
41696
41697 fi
41698
41699   fi
41700   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41701 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41702
41703     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41704
41705 for ac_func in _finitel
41706 do
41707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41708 echo "$as_me:$LINENO: checking for $ac_func" >&5
41709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41710 if eval "test \"\${$as_ac_var+set}\" = set"; then
41711   echo $ECHO_N "(cached) $ECHO_C" >&6
41712 else
41713   if test x$gcc_no_link = xyes; then
41714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41716    { (exit 1); exit 1; }; }
41717 fi
41718 cat >conftest.$ac_ext <<_ACEOF
41719 #line $LINENO "configure"
41720 /* confdefs.h.  */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h.  */
41725 /* System header to define __stub macros and hopefully few prototypes,
41726     which can conflict with char $ac_func (); below.
41727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41728     <limits.h> exists even on freestanding compilers.  */
41729 #ifdef __STDC__
41730 # include <limits.h>
41731 #else
41732 # include <assert.h>
41733 #endif
41734 /* Override any gcc2 internal prototype to avoid an error.  */
41735 #ifdef __cplusplus
41736 extern "C"
41737 {
41738 #endif
41739 /* We use char because int might match the return type of a gcc2
41740    builtin and then its argument prototype would still apply.  */
41741 char $ac_func ();
41742 /* The GNU C library defines this for functions which it implements
41743     to always fail with ENOSYS.  Some functions are actually named
41744     something starting with __ and the normal name is an alias.  */
41745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41746 choke me
41747 #else
41748 char (*f) () = $ac_func;
41749 #endif
41750 #ifdef __cplusplus
41751 }
41752 #endif
41753
41754 int
41755 main ()
41756 {
41757 return f != $ac_func;
41758   ;
41759   return 0;
41760 }
41761 _ACEOF
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41764   (eval $ac_link) 2>&5
41765   ac_status=$?
41766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767   (exit $ac_status); } &&
41768          { ac_try='test -s conftest$ac_exeext'
41769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41770   (eval $ac_try) 2>&5
41771   ac_status=$?
41772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773   (exit $ac_status); }; }; then
41774   eval "$as_ac_var=yes"
41775 else
41776   echo "$as_me: failed program was:" >&5
41777 sed 's/^/| /' conftest.$ac_ext >&5
41778
41779 eval "$as_ac_var=no"
41780 fi
41781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41782 fi
41783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41785 if test `eval echo '${'$as_ac_var'}'` = yes; then
41786   cat >>confdefs.h <<_ACEOF
41787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41788 _ACEOF
41789
41790 fi
41791 done
41792
41793     fi
41794   fi
41795
41796
41797
41798
41799   echo "$as_me:$LINENO: checking for _float trig functions" >&5
41800 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41801   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41802   echo $ECHO_N "(cached) $ECHO_C" >&6
41803 else
41804
41805
41806
41807     ac_ext=cc
41808 ac_cpp='$CXXCPP $CPPFLAGS'
41809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41812
41813     cat >conftest.$ac_ext <<_ACEOF
41814 #line $LINENO "configure"
41815 /* confdefs.h.  */
41816 _ACEOF
41817 cat confdefs.h >>conftest.$ac_ext
41818 cat >>conftest.$ac_ext <<_ACEOF
41819 /* end confdefs.h.  */
41820 #include <math.h>
41821 int
41822 main ()
41823 {
41824  `for x in _acosf _asinf _atanf \
41825                                           _cosf _sinf _tanf \
41826                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41827   ;
41828   return 0;
41829 }
41830 _ACEOF
41831 rm -f conftest.$ac_objext
41832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41833   (eval $ac_compile) 2>&5
41834   ac_status=$?
41835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836   (exit $ac_status); } &&
41837          { ac_try='test -s conftest.$ac_objext'
41838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839   (eval $ac_try) 2>&5
41840   ac_status=$?
41841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842   (exit $ac_status); }; }; then
41843   glibcxx_cv_func__float_trig_use=yes
41844 else
41845   echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41847
41848 glibcxx_cv_func__float_trig_use=no
41849 fi
41850 rm -f conftest.$ac_objext conftest.$ac_ext
41851     ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856
41857 fi
41858
41859   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41860 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41861   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871 for ac_func in _acosf _asinf _atanf \
41872                                           _cosf _sinf _tanf \
41873                                           _coshf _sinhf _tanhf
41874 do
41875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41876 echo "$as_me:$LINENO: checking for $ac_func" >&5
41877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41878 if eval "test \"\${$as_ac_var+set}\" = set"; then
41879   echo $ECHO_N "(cached) $ECHO_C" >&6
41880 else
41881   if test x$gcc_no_link = xyes; then
41882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41884    { (exit 1); exit 1; }; }
41885 fi
41886 cat >conftest.$ac_ext <<_ACEOF
41887 #line $LINENO "configure"
41888 /* confdefs.h.  */
41889 _ACEOF
41890 cat confdefs.h >>conftest.$ac_ext
41891 cat >>conftest.$ac_ext <<_ACEOF
41892 /* end confdefs.h.  */
41893 /* System header to define __stub macros and hopefully few prototypes,
41894     which can conflict with char $ac_func (); below.
41895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41896     <limits.h> exists even on freestanding compilers.  */
41897 #ifdef __STDC__
41898 # include <limits.h>
41899 #else
41900 # include <assert.h>
41901 #endif
41902 /* Override any gcc2 internal prototype to avoid an error.  */
41903 #ifdef __cplusplus
41904 extern "C"
41905 {
41906 #endif
41907 /* We use char because int might match the return type of a gcc2
41908    builtin and then its argument prototype would still apply.  */
41909 char $ac_func ();
41910 /* The GNU C library defines this for functions which it implements
41911     to always fail with ENOSYS.  Some functions are actually named
41912     something starting with __ and the normal name is an alias.  */
41913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41914 choke me
41915 #else
41916 char (*f) () = $ac_func;
41917 #endif
41918 #ifdef __cplusplus
41919 }
41920 #endif
41921
41922 int
41923 main ()
41924 {
41925 return f != $ac_func;
41926   ;
41927   return 0;
41928 }
41929 _ACEOF
41930 rm -f conftest.$ac_objext conftest$ac_exeext
41931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41932   (eval $ac_link) 2>&5
41933   ac_status=$?
41934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41935   (exit $ac_status); } &&
41936          { ac_try='test -s conftest$ac_exeext'
41937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41938   (eval $ac_try) 2>&5
41939   ac_status=$?
41940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941   (exit $ac_status); }; }; then
41942   eval "$as_ac_var=yes"
41943 else
41944   echo "$as_me: failed program was:" >&5
41945 sed 's/^/| /' conftest.$ac_ext >&5
41946
41947 eval "$as_ac_var=no"
41948 fi
41949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41950 fi
41951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41953 if test `eval echo '${'$as_ac_var'}'` = yes; then
41954   cat >>confdefs.h <<_ACEOF
41955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41956 _ACEOF
41957
41958 fi
41959 done
41960
41961   fi
41962
41963
41964   echo "$as_me:$LINENO: checking for _float round functions" >&5
41965 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41966   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41967   echo $ECHO_N "(cached) $ECHO_C" >&6
41968 else
41969
41970
41971
41972     ac_ext=cc
41973 ac_cpp='$CXXCPP $CPPFLAGS'
41974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41977
41978     cat >conftest.$ac_ext <<_ACEOF
41979 #line $LINENO "configure"
41980 /* confdefs.h.  */
41981 _ACEOF
41982 cat confdefs.h >>conftest.$ac_ext
41983 cat >>conftest.$ac_ext <<_ACEOF
41984 /* end confdefs.h.  */
41985 #include <math.h>
41986 int
41987 main ()
41988 {
41989  `for x in _ceilf _floorf; do echo "$x (0);"; done`
41990   ;
41991   return 0;
41992 }
41993 _ACEOF
41994 rm -f conftest.$ac_objext
41995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41996   (eval $ac_compile) 2>&5
41997   ac_status=$?
41998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999   (exit $ac_status); } &&
42000          { ac_try='test -s conftest.$ac_objext'
42001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002   (eval $ac_try) 2>&5
42003   ac_status=$?
42004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005   (exit $ac_status); }; }; then
42006   glibcxx_cv_func__float_round_use=yes
42007 else
42008   echo "$as_me: failed program was:" >&5
42009 sed 's/^/| /' conftest.$ac_ext >&5
42010
42011 glibcxx_cv_func__float_round_use=no
42012 fi
42013 rm -f conftest.$ac_objext conftest.$ac_ext
42014     ac_ext=c
42015 ac_cpp='$CPP $CPPFLAGS'
42016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42019
42020 fi
42021
42022   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
42023 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
42024   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42025
42026
42027 for ac_func in _ceilf _floorf
42028 do
42029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42030 echo "$as_me:$LINENO: checking for $ac_func" >&5
42031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42032 if eval "test \"\${$as_ac_var+set}\" = set"; then
42033   echo $ECHO_N "(cached) $ECHO_C" >&6
42034 else
42035   if test x$gcc_no_link = xyes; then
42036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42038    { (exit 1); exit 1; }; }
42039 fi
42040 cat >conftest.$ac_ext <<_ACEOF
42041 #line $LINENO "configure"
42042 /* confdefs.h.  */
42043 _ACEOF
42044 cat confdefs.h >>conftest.$ac_ext
42045 cat >>conftest.$ac_ext <<_ACEOF
42046 /* end confdefs.h.  */
42047 /* System header to define __stub macros and hopefully few prototypes,
42048     which can conflict with char $ac_func (); below.
42049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42050     <limits.h> exists even on freestanding compilers.  */
42051 #ifdef __STDC__
42052 # include <limits.h>
42053 #else
42054 # include <assert.h>
42055 #endif
42056 /* Override any gcc2 internal prototype to avoid an error.  */
42057 #ifdef __cplusplus
42058 extern "C"
42059 {
42060 #endif
42061 /* We use char because int might match the return type of a gcc2
42062    builtin and then its argument prototype would still apply.  */
42063 char $ac_func ();
42064 /* The GNU C library defines this for functions which it implements
42065     to always fail with ENOSYS.  Some functions are actually named
42066     something starting with __ and the normal name is an alias.  */
42067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42068 choke me
42069 #else
42070 char (*f) () = $ac_func;
42071 #endif
42072 #ifdef __cplusplus
42073 }
42074 #endif
42075
42076 int
42077 main ()
42078 {
42079 return f != $ac_func;
42080   ;
42081   return 0;
42082 }
42083 _ACEOF
42084 rm -f conftest.$ac_objext conftest$ac_exeext
42085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42086   (eval $ac_link) 2>&5
42087   ac_status=$?
42088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42089   (exit $ac_status); } &&
42090          { ac_try='test -s conftest$ac_exeext'
42091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42092   (eval $ac_try) 2>&5
42093   ac_status=$?
42094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095   (exit $ac_status); }; }; then
42096   eval "$as_ac_var=yes"
42097 else
42098   echo "$as_me: failed program was:" >&5
42099 sed 's/^/| /' conftest.$ac_ext >&5
42100
42101 eval "$as_ac_var=no"
42102 fi
42103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42104 fi
42105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42107 if test `eval echo '${'$as_ac_var'}'` = yes; then
42108   cat >>confdefs.h <<_ACEOF
42109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42110 _ACEOF
42111
42112 fi
42113 done
42114
42115   fi
42116
42117
42118
42119   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42120 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42121   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42122   echo $ECHO_N "(cached) $ECHO_C" >&6
42123 else
42124
42125
42126
42127     ac_ext=cc
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42132
42133     cat >conftest.$ac_ext <<_ACEOF
42134 #line $LINENO "configure"
42135 /* confdefs.h.  */
42136 _ACEOF
42137 cat confdefs.h >>conftest.$ac_ext
42138 cat >>conftest.$ac_ext <<_ACEOF
42139 /* end confdefs.h.  */
42140 #include <math.h>
42141 int
42142 main ()
42143 {
42144  `for x in _acosl _asinl _atanl \
42145                                           _cosl _sinl _tanl \
42146                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
42147   ;
42148   return 0;
42149 }
42150 _ACEOF
42151 rm -f conftest.$ac_objext
42152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42153   (eval $ac_compile) 2>&5
42154   ac_status=$?
42155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156   (exit $ac_status); } &&
42157          { ac_try='test -s conftest.$ac_objext'
42158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42159   (eval $ac_try) 2>&5
42160   ac_status=$?
42161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162   (exit $ac_status); }; }; then
42163   glibcxx_cv_func__long_double_trig_use=yes
42164 else
42165   echo "$as_me: failed program was:" >&5
42166 sed 's/^/| /' conftest.$ac_ext >&5
42167
42168 glibcxx_cv_func__long_double_trig_use=no
42169 fi
42170 rm -f conftest.$ac_objext conftest.$ac_ext
42171     ac_ext=c
42172 ac_cpp='$CPP $CPPFLAGS'
42173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42176
42177 fi
42178
42179   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42180 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42181   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191 for ac_func in _acosl _asinl _atanl \
42192                                           _cosl _sinl _tanl \
42193                                           _coshl _sinhl _tanhl
42194 do
42195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42196 echo "$as_me:$LINENO: checking for $ac_func" >&5
42197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42198 if eval "test \"\${$as_ac_var+set}\" = set"; then
42199   echo $ECHO_N "(cached) $ECHO_C" >&6
42200 else
42201   if test x$gcc_no_link = xyes; then
42202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42204    { (exit 1); exit 1; }; }
42205 fi
42206 cat >conftest.$ac_ext <<_ACEOF
42207 #line $LINENO "configure"
42208 /* confdefs.h.  */
42209 _ACEOF
42210 cat confdefs.h >>conftest.$ac_ext
42211 cat >>conftest.$ac_ext <<_ACEOF
42212 /* end confdefs.h.  */
42213 /* System header to define __stub macros and hopefully few prototypes,
42214     which can conflict with char $ac_func (); below.
42215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42216     <limits.h> exists even on freestanding compilers.  */
42217 #ifdef __STDC__
42218 # include <limits.h>
42219 #else
42220 # include <assert.h>
42221 #endif
42222 /* Override any gcc2 internal prototype to avoid an error.  */
42223 #ifdef __cplusplus
42224 extern "C"
42225 {
42226 #endif
42227 /* We use char because int might match the return type of a gcc2
42228    builtin and then its argument prototype would still apply.  */
42229 char $ac_func ();
42230 /* The GNU C library defines this for functions which it implements
42231     to always fail with ENOSYS.  Some functions are actually named
42232     something starting with __ and the normal name is an alias.  */
42233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42234 choke me
42235 #else
42236 char (*f) () = $ac_func;
42237 #endif
42238 #ifdef __cplusplus
42239 }
42240 #endif
42241
42242 int
42243 main ()
42244 {
42245 return f != $ac_func;
42246   ;
42247   return 0;
42248 }
42249 _ACEOF
42250 rm -f conftest.$ac_objext conftest$ac_exeext
42251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42252   (eval $ac_link) 2>&5
42253   ac_status=$?
42254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255   (exit $ac_status); } &&
42256          { ac_try='test -s conftest$ac_exeext'
42257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42258   (eval $ac_try) 2>&5
42259   ac_status=$?
42260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42261   (exit $ac_status); }; }; then
42262   eval "$as_ac_var=yes"
42263 else
42264   echo "$as_me: failed program was:" >&5
42265 sed 's/^/| /' conftest.$ac_ext >&5
42266
42267 eval "$as_ac_var=no"
42268 fi
42269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42270 fi
42271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42273 if test `eval echo '${'$as_ac_var'}'` = yes; then
42274   cat >>confdefs.h <<_ACEOF
42275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42276 _ACEOF
42277
42278 fi
42279 done
42280
42281   fi
42282
42283
42284   echo "$as_me:$LINENO: checking for _long double round functions" >&5
42285 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42286   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42287   echo $ECHO_N "(cached) $ECHO_C" >&6
42288 else
42289
42290
42291
42292     ac_ext=cc
42293 ac_cpp='$CXXCPP $CPPFLAGS'
42294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42297
42298     cat >conftest.$ac_ext <<_ACEOF
42299 #line $LINENO "configure"
42300 /* confdefs.h.  */
42301 _ACEOF
42302 cat confdefs.h >>conftest.$ac_ext
42303 cat >>conftest.$ac_ext <<_ACEOF
42304 /* end confdefs.h.  */
42305 #include <math.h>
42306 int
42307 main ()
42308 {
42309  `for x in _ceill _floorl; do echo "$x (0);"; done`
42310   ;
42311   return 0;
42312 }
42313 _ACEOF
42314 rm -f conftest.$ac_objext
42315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42316   (eval $ac_compile) 2>&5
42317   ac_status=$?
42318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319   (exit $ac_status); } &&
42320          { ac_try='test -s conftest.$ac_objext'
42321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322   (eval $ac_try) 2>&5
42323   ac_status=$?
42324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325   (exit $ac_status); }; }; then
42326   glibcxx_cv_func__long_double_round_use=yes
42327 else
42328   echo "$as_me: failed program was:" >&5
42329 sed 's/^/| /' conftest.$ac_ext >&5
42330
42331 glibcxx_cv_func__long_double_round_use=no
42332 fi
42333 rm -f conftest.$ac_objext conftest.$ac_ext
42334     ac_ext=c
42335 ac_cpp='$CPP $CPPFLAGS'
42336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42339
42340 fi
42341
42342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42343 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42344   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42345
42346
42347 for ac_func in _ceill _floorl
42348 do
42349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42350 echo "$as_me:$LINENO: checking for $ac_func" >&5
42351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42352 if eval "test \"\${$as_ac_var+set}\" = set"; then
42353   echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355   if test x$gcc_no_link = xyes; then
42356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42358    { (exit 1); exit 1; }; }
42359 fi
42360 cat >conftest.$ac_ext <<_ACEOF
42361 #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 /* System header to define __stub macros and hopefully few prototypes,
42368     which can conflict with char $ac_func (); below.
42369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42370     <limits.h> exists even on freestanding compilers.  */
42371 #ifdef __STDC__
42372 # include <limits.h>
42373 #else
42374 # include <assert.h>
42375 #endif
42376 /* Override any gcc2 internal prototype to avoid an error.  */
42377 #ifdef __cplusplus
42378 extern "C"
42379 {
42380 #endif
42381 /* We use char because int might match the return type of a gcc2
42382    builtin and then its argument prototype would still apply.  */
42383 char $ac_func ();
42384 /* The GNU C library defines this for functions which it implements
42385     to always fail with ENOSYS.  Some functions are actually named
42386     something starting with __ and the normal name is an alias.  */
42387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42388 choke me
42389 #else
42390 char (*f) () = $ac_func;
42391 #endif
42392 #ifdef __cplusplus
42393 }
42394 #endif
42395
42396 int
42397 main ()
42398 {
42399 return f != $ac_func;
42400   ;
42401   return 0;
42402 }
42403 _ACEOF
42404 rm -f conftest.$ac_objext conftest$ac_exeext
42405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42406   (eval $ac_link) 2>&5
42407   ac_status=$?
42408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409   (exit $ac_status); } &&
42410          { ac_try='test -s conftest$ac_exeext'
42411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412   (eval $ac_try) 2>&5
42413   ac_status=$?
42414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415   (exit $ac_status); }; }; then
42416   eval "$as_ac_var=yes"
42417 else
42418   echo "$as_me: failed program was:" >&5
42419 sed 's/^/| /' conftest.$ac_ext >&5
42420
42421 eval "$as_ac_var=no"
42422 fi
42423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42424 fi
42425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42427 if test `eval echo '${'$as_ac_var'}'` = yes; then
42428   cat >>confdefs.h <<_ACEOF
42429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42430 _ACEOF
42431
42432 fi
42433 done
42434
42435   fi
42436
42437
42438   LIBS="$ac_save_LIBS"
42439   CXXFLAGS="$ac_save_CXXFLAGS"
42440
42441
42442
42443   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42444 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42445   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42446     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42447   echo $ECHO_N "(cached) $ECHO_C" >&6
42448 else
42449
42450
42451
42452       ac_ext=cc
42453 ac_cpp='$CXXCPP $CPPFLAGS'
42454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42457
42458       cat >conftest.$ac_ext <<_ACEOF
42459 #line $LINENO "configure"
42460 /* confdefs.h.  */
42461 _ACEOF
42462 cat confdefs.h >>conftest.$ac_ext
42463 cat >>conftest.$ac_ext <<_ACEOF
42464 /* end confdefs.h.  */
42465 #include <math.h>
42466 int
42467 main ()
42468 {
42469  __builtin_abs(0);
42470   ;
42471   return 0;
42472 }
42473 _ACEOF
42474 rm -f conftest.$ac_objext
42475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42476   (eval $ac_compile) 2>&5
42477   ac_status=$?
42478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479   (exit $ac_status); } &&
42480          { ac_try='test -s conftest.$ac_objext'
42481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42482   (eval $ac_try) 2>&5
42483   ac_status=$?
42484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485   (exit $ac_status); }; }; then
42486   glibcxx_cv_func___builtin_abs_use=yes
42487 else
42488   echo "$as_me: failed program was:" >&5
42489 sed 's/^/| /' conftest.$ac_ext >&5
42490
42491 glibcxx_cv_func___builtin_abs_use=no
42492 fi
42493 rm -f conftest.$ac_objext conftest.$ac_ext
42494       ac_ext=c
42495 ac_cpp='$CPP $CPPFLAGS'
42496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499
42500
42501 fi
42502
42503   fi
42504   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42505 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42506   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42507     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42508 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42509     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42510       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42511   echo $ECHO_N "(cached) $ECHO_C" >&6
42512 else
42513
42514         if test x$gcc_no_link = xyes; then
42515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42517    { (exit 1); exit 1; }; }
42518 fi
42519 cat >conftest.$ac_ext <<_ACEOF
42520 #line $LINENO "configure"
42521 /* confdefs.h.  */
42522 _ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h.  */
42526 #include <math.h>
42527 int
42528 main ()
42529 {
42530  __builtin_abs(0);
42531   ;
42532   return 0;
42533 }
42534 _ACEOF
42535 rm -f conftest.$ac_objext conftest$ac_exeext
42536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42537   (eval $ac_link) 2>&5
42538   ac_status=$?
42539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540   (exit $ac_status); } &&
42541          { ac_try='test -s conftest$ac_exeext'
42542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42543   (eval $ac_try) 2>&5
42544   ac_status=$?
42545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546   (exit $ac_status); }; }; then
42547   glibcxx_cv_func___builtin_abs_link=yes
42548 else
42549   echo "$as_me: failed program was:" >&5
42550 sed 's/^/| /' conftest.$ac_ext >&5
42551
42552 glibcxx_cv_func___builtin_abs_link=no
42553 fi
42554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42555
42556 fi
42557
42558     fi
42559     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42560 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42561     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42562       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42563       cat >>confdefs.h <<_ACEOF
42564 #define ${ac_tr_func} 1
42565 _ACEOF
42566
42567     fi
42568   fi
42569
42570
42571   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42572 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42573   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42574     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42575   echo $ECHO_N "(cached) $ECHO_C" >&6
42576 else
42577
42578
42579
42580       ac_ext=cc
42581 ac_cpp='$CXXCPP $CPPFLAGS'
42582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42585
42586       cat >conftest.$ac_ext <<_ACEOF
42587 #line $LINENO "configure"
42588 /* confdefs.h.  */
42589 _ACEOF
42590 cat confdefs.h >>conftest.$ac_ext
42591 cat >>conftest.$ac_ext <<_ACEOF
42592 /* end confdefs.h.  */
42593 #include <math.h>
42594 int
42595 main ()
42596 {
42597  __builtin_fabsf(0);
42598   ;
42599   return 0;
42600 }
42601 _ACEOF
42602 rm -f conftest.$ac_objext
42603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42604   (eval $ac_compile) 2>&5
42605   ac_status=$?
42606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607   (exit $ac_status); } &&
42608          { ac_try='test -s conftest.$ac_objext'
42609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42610   (eval $ac_try) 2>&5
42611   ac_status=$?
42612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613   (exit $ac_status); }; }; then
42614   glibcxx_cv_func___builtin_fabsf_use=yes
42615 else
42616   echo "$as_me: failed program was:" >&5
42617 sed 's/^/| /' conftest.$ac_ext >&5
42618
42619 glibcxx_cv_func___builtin_fabsf_use=no
42620 fi
42621 rm -f conftest.$ac_objext conftest.$ac_ext
42622       ac_ext=c
42623 ac_cpp='$CPP $CPPFLAGS'
42624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42627
42628
42629 fi
42630
42631   fi
42632   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42633 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42634   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42635     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42636 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42637     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42638       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42639   echo $ECHO_N "(cached) $ECHO_C" >&6
42640 else
42641
42642         if test x$gcc_no_link = xyes; then
42643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42645    { (exit 1); exit 1; }; }
42646 fi
42647 cat >conftest.$ac_ext <<_ACEOF
42648 #line $LINENO "configure"
42649 /* confdefs.h.  */
42650 _ACEOF
42651 cat confdefs.h >>conftest.$ac_ext
42652 cat >>conftest.$ac_ext <<_ACEOF
42653 /* end confdefs.h.  */
42654 #include <math.h>
42655 int
42656 main ()
42657 {
42658  __builtin_fabsf(0);
42659   ;
42660   return 0;
42661 }
42662 _ACEOF
42663 rm -f conftest.$ac_objext conftest$ac_exeext
42664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42665   (eval $ac_link) 2>&5
42666   ac_status=$?
42667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668   (exit $ac_status); } &&
42669          { ac_try='test -s conftest$ac_exeext'
42670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42671   (eval $ac_try) 2>&5
42672   ac_status=$?
42673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42674   (exit $ac_status); }; }; then
42675   glibcxx_cv_func___builtin_fabsf_link=yes
42676 else
42677   echo "$as_me: failed program was:" >&5
42678 sed 's/^/| /' conftest.$ac_ext >&5
42679
42680 glibcxx_cv_func___builtin_fabsf_link=no
42681 fi
42682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42683
42684 fi
42685
42686     fi
42687     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42688 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42689     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42690       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42691       cat >>confdefs.h <<_ACEOF
42692 #define ${ac_tr_func} 1
42693 _ACEOF
42694
42695     fi
42696   fi
42697
42698
42699   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42700 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42701   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42702     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42703   echo $ECHO_N "(cached) $ECHO_C" >&6
42704 else
42705
42706
42707
42708       ac_ext=cc
42709 ac_cpp='$CXXCPP $CPPFLAGS'
42710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713
42714       cat >conftest.$ac_ext <<_ACEOF
42715 #line $LINENO "configure"
42716 /* confdefs.h.  */
42717 _ACEOF
42718 cat confdefs.h >>conftest.$ac_ext
42719 cat >>conftest.$ac_ext <<_ACEOF
42720 /* end confdefs.h.  */
42721 #include <math.h>
42722 int
42723 main ()
42724 {
42725  __builtin_fabs(0);
42726   ;
42727   return 0;
42728 }
42729 _ACEOF
42730 rm -f conftest.$ac_objext
42731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42732   (eval $ac_compile) 2>&5
42733   ac_status=$?
42734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735   (exit $ac_status); } &&
42736          { ac_try='test -s conftest.$ac_objext'
42737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42738   (eval $ac_try) 2>&5
42739   ac_status=$?
42740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741   (exit $ac_status); }; }; then
42742   glibcxx_cv_func___builtin_fabs_use=yes
42743 else
42744   echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42746
42747 glibcxx_cv_func___builtin_fabs_use=no
42748 fi
42749 rm -f conftest.$ac_objext conftest.$ac_ext
42750       ac_ext=c
42751 ac_cpp='$CPP $CPPFLAGS'
42752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42755
42756
42757 fi
42758
42759   fi
42760   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42761 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42762   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42763     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42764 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42765     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42766       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42767   echo $ECHO_N "(cached) $ECHO_C" >&6
42768 else
42769
42770         if test x$gcc_no_link = xyes; then
42771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42773    { (exit 1); exit 1; }; }
42774 fi
42775 cat >conftest.$ac_ext <<_ACEOF
42776 #line $LINENO "configure"
42777 /* confdefs.h.  */
42778 _ACEOF
42779 cat confdefs.h >>conftest.$ac_ext
42780 cat >>conftest.$ac_ext <<_ACEOF
42781 /* end confdefs.h.  */
42782 #include <math.h>
42783 int
42784 main ()
42785 {
42786  __builtin_fabs(0);
42787   ;
42788   return 0;
42789 }
42790 _ACEOF
42791 rm -f conftest.$ac_objext conftest$ac_exeext
42792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42793   (eval $ac_link) 2>&5
42794   ac_status=$?
42795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42796   (exit $ac_status); } &&
42797          { ac_try='test -s conftest$ac_exeext'
42798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42799   (eval $ac_try) 2>&5
42800   ac_status=$?
42801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802   (exit $ac_status); }; }; then
42803   glibcxx_cv_func___builtin_fabs_link=yes
42804 else
42805   echo "$as_me: failed program was:" >&5
42806 sed 's/^/| /' conftest.$ac_ext >&5
42807
42808 glibcxx_cv_func___builtin_fabs_link=no
42809 fi
42810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42811
42812 fi
42813
42814     fi
42815     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42816 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42817     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42818       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42819       cat >>confdefs.h <<_ACEOF
42820 #define ${ac_tr_func} 1
42821 _ACEOF
42822
42823     fi
42824   fi
42825
42826
42827   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42828 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42829   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42830     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42831   echo $ECHO_N "(cached) $ECHO_C" >&6
42832 else
42833
42834
42835
42836       ac_ext=cc
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42841
42842       cat >conftest.$ac_ext <<_ACEOF
42843 #line $LINENO "configure"
42844 /* confdefs.h.  */
42845 _ACEOF
42846 cat confdefs.h >>conftest.$ac_ext
42847 cat >>conftest.$ac_ext <<_ACEOF
42848 /* end confdefs.h.  */
42849 #include <math.h>
42850 int
42851 main ()
42852 {
42853  __builtin_fabsl(0);
42854   ;
42855   return 0;
42856 }
42857 _ACEOF
42858 rm -f conftest.$ac_objext
42859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42860   (eval $ac_compile) 2>&5
42861   ac_status=$?
42862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863   (exit $ac_status); } &&
42864          { ac_try='test -s conftest.$ac_objext'
42865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42866   (eval $ac_try) 2>&5
42867   ac_status=$?
42868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869   (exit $ac_status); }; }; then
42870   glibcxx_cv_func___builtin_fabsl_use=yes
42871 else
42872   echo "$as_me: failed program was:" >&5
42873 sed 's/^/| /' conftest.$ac_ext >&5
42874
42875 glibcxx_cv_func___builtin_fabsl_use=no
42876 fi
42877 rm -f conftest.$ac_objext conftest.$ac_ext
42878       ac_ext=c
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42883
42884
42885 fi
42886
42887   fi
42888   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42889 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42890   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42891     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42892 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42893     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42894       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42895   echo $ECHO_N "(cached) $ECHO_C" >&6
42896 else
42897
42898         if test x$gcc_no_link = xyes; then
42899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42901    { (exit 1); exit 1; }; }
42902 fi
42903 cat >conftest.$ac_ext <<_ACEOF
42904 #line $LINENO "configure"
42905 /* confdefs.h.  */
42906 _ACEOF
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h.  */
42910 #include <math.h>
42911 int
42912 main ()
42913 {
42914  __builtin_fabsl(0);
42915   ;
42916   return 0;
42917 }
42918 _ACEOF
42919 rm -f conftest.$ac_objext conftest$ac_exeext
42920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42921   (eval $ac_link) 2>&5
42922   ac_status=$?
42923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924   (exit $ac_status); } &&
42925          { ac_try='test -s conftest$ac_exeext'
42926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42927   (eval $ac_try) 2>&5
42928   ac_status=$?
42929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42930   (exit $ac_status); }; }; then
42931   glibcxx_cv_func___builtin_fabsl_link=yes
42932 else
42933   echo "$as_me: failed program was:" >&5
42934 sed 's/^/| /' conftest.$ac_ext >&5
42935
42936 glibcxx_cv_func___builtin_fabsl_link=no
42937 fi
42938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42939
42940 fi
42941
42942     fi
42943     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42944 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42945     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42946       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42947       cat >>confdefs.h <<_ACEOF
42948 #define ${ac_tr_func} 1
42949 _ACEOF
42950
42951     fi
42952   fi
42953
42954
42955   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42956 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42957   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42958     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42959   echo $ECHO_N "(cached) $ECHO_C" >&6
42960 else
42961
42962
42963
42964       ac_ext=cc
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969
42970       cat >conftest.$ac_ext <<_ACEOF
42971 #line $LINENO "configure"
42972 /* confdefs.h.  */
42973 _ACEOF
42974 cat confdefs.h >>conftest.$ac_ext
42975 cat >>conftest.$ac_ext <<_ACEOF
42976 /* end confdefs.h.  */
42977 #include <math.h>
42978 int
42979 main ()
42980 {
42981  __builtin_labs(0);
42982   ;
42983   return 0;
42984 }
42985 _ACEOF
42986 rm -f conftest.$ac_objext
42987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42988   (eval $ac_compile) 2>&5
42989   ac_status=$?
42990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991   (exit $ac_status); } &&
42992          { ac_try='test -s conftest.$ac_objext'
42993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42994   (eval $ac_try) 2>&5
42995   ac_status=$?
42996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997   (exit $ac_status); }; }; then
42998   glibcxx_cv_func___builtin_labs_use=yes
42999 else
43000   echo "$as_me: failed program was:" >&5
43001 sed 's/^/| /' conftest.$ac_ext >&5
43002
43003 glibcxx_cv_func___builtin_labs_use=no
43004 fi
43005 rm -f conftest.$ac_objext conftest.$ac_ext
43006       ac_ext=c
43007 ac_cpp='$CPP $CPPFLAGS'
43008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43011
43012
43013 fi
43014
43015   fi
43016   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
43017 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
43018   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
43019     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
43020 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
43021     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
43022       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
43023   echo $ECHO_N "(cached) $ECHO_C" >&6
43024 else
43025
43026         if test x$gcc_no_link = xyes; then
43027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43029    { (exit 1); exit 1; }; }
43030 fi
43031 cat >conftest.$ac_ext <<_ACEOF
43032 #line $LINENO "configure"
43033 /* confdefs.h.  */
43034 _ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h.  */
43038 #include <math.h>
43039 int
43040 main ()
43041 {
43042  __builtin_labs(0);
43043   ;
43044   return 0;
43045 }
43046 _ACEOF
43047 rm -f conftest.$ac_objext conftest$ac_exeext
43048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43049   (eval $ac_link) 2>&5
43050   ac_status=$?
43051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052   (exit $ac_status); } &&
43053          { ac_try='test -s conftest$ac_exeext'
43054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055   (eval $ac_try) 2>&5
43056   ac_status=$?
43057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058   (exit $ac_status); }; }; then
43059   glibcxx_cv_func___builtin_labs_link=yes
43060 else
43061   echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.$ac_ext >&5
43063
43064 glibcxx_cv_func___builtin_labs_link=no
43065 fi
43066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43067
43068 fi
43069
43070     fi
43071     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
43072 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
43073     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
43074       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43075       cat >>confdefs.h <<_ACEOF
43076 #define ${ac_tr_func} 1
43077 _ACEOF
43078
43079     fi
43080   fi
43081
43082
43083
43084   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
43085 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
43086   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
43087     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
43088   echo $ECHO_N "(cached) $ECHO_C" >&6
43089 else
43090
43091
43092
43093       ac_ext=cc
43094 ac_cpp='$CXXCPP $CPPFLAGS'
43095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43098
43099       cat >conftest.$ac_ext <<_ACEOF
43100 #line $LINENO "configure"
43101 /* confdefs.h.  */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h.  */
43106 #include <math.h>
43107 int
43108 main ()
43109 {
43110  __builtin_sqrtf(0);
43111   ;
43112   return 0;
43113 }
43114 _ACEOF
43115 rm -f conftest.$ac_objext
43116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43117   (eval $ac_compile) 2>&5
43118   ac_status=$?
43119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120   (exit $ac_status); } &&
43121          { ac_try='test -s conftest.$ac_objext'
43122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43123   (eval $ac_try) 2>&5
43124   ac_status=$?
43125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126   (exit $ac_status); }; }; then
43127   glibcxx_cv_func___builtin_sqrtf_use=yes
43128 else
43129   echo "$as_me: failed program was:" >&5
43130 sed 's/^/| /' conftest.$ac_ext >&5
43131
43132 glibcxx_cv_func___builtin_sqrtf_use=no
43133 fi
43134 rm -f conftest.$ac_objext conftest.$ac_ext
43135       ac_ext=c
43136 ac_cpp='$CPP $CPPFLAGS'
43137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43140
43141
43142 fi
43143
43144   fi
43145   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
43146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
43147   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
43148     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
43149 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
43150     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
43151       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
43152   echo $ECHO_N "(cached) $ECHO_C" >&6
43153 else
43154
43155         if test x$gcc_no_link = xyes; then
43156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43158    { (exit 1); exit 1; }; }
43159 fi
43160 cat >conftest.$ac_ext <<_ACEOF
43161 #line $LINENO "configure"
43162 /* confdefs.h.  */
43163 _ACEOF
43164 cat confdefs.h >>conftest.$ac_ext
43165 cat >>conftest.$ac_ext <<_ACEOF
43166 /* end confdefs.h.  */
43167 #include <math.h>
43168 int
43169 main ()
43170 {
43171  __builtin_sqrtf(0);
43172   ;
43173   return 0;
43174 }
43175 _ACEOF
43176 rm -f conftest.$ac_objext conftest$ac_exeext
43177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43178   (eval $ac_link) 2>&5
43179   ac_status=$?
43180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181   (exit $ac_status); } &&
43182          { ac_try='test -s conftest$ac_exeext'
43183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43184   (eval $ac_try) 2>&5
43185   ac_status=$?
43186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187   (exit $ac_status); }; }; then
43188   glibcxx_cv_func___builtin_sqrtf_link=yes
43189 else
43190   echo "$as_me: failed program was:" >&5
43191 sed 's/^/| /' conftest.$ac_ext >&5
43192
43193 glibcxx_cv_func___builtin_sqrtf_link=no
43194 fi
43195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43196
43197 fi
43198
43199     fi
43200     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
43201 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
43202     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
43203       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43204       cat >>confdefs.h <<_ACEOF
43205 #define ${ac_tr_func} 1
43206 _ACEOF
43207
43208     fi
43209   fi
43210
43211
43212   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
43213 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
43214   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
43215     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
43216   echo $ECHO_N "(cached) $ECHO_C" >&6
43217 else
43218
43219
43220
43221       ac_ext=cc
43222 ac_cpp='$CXXCPP $CPPFLAGS'
43223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43226
43227       cat >conftest.$ac_ext <<_ACEOF
43228 #line $LINENO "configure"
43229 /* confdefs.h.  */
43230 _ACEOF
43231 cat confdefs.h >>conftest.$ac_ext
43232 cat >>conftest.$ac_ext <<_ACEOF
43233 /* end confdefs.h.  */
43234 #include <math.h>
43235 int
43236 main ()
43237 {
43238  __builtin_sqrt(0);
43239   ;
43240   return 0;
43241 }
43242 _ACEOF
43243 rm -f conftest.$ac_objext
43244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43245   (eval $ac_compile) 2>&5
43246   ac_status=$?
43247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248   (exit $ac_status); } &&
43249          { ac_try='test -s conftest.$ac_objext'
43250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251   (eval $ac_try) 2>&5
43252   ac_status=$?
43253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254   (exit $ac_status); }; }; then
43255   glibcxx_cv_func___builtin_sqrt_use=yes
43256 else
43257   echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43259
43260 glibcxx_cv_func___builtin_sqrt_use=no
43261 fi
43262 rm -f conftest.$ac_objext conftest.$ac_ext
43263       ac_ext=c
43264 ac_cpp='$CPP $CPPFLAGS'
43265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43268
43269
43270 fi
43271
43272   fi
43273   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43275   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43276     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43277 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43278     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43279       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43280   echo $ECHO_N "(cached) $ECHO_C" >&6
43281 else
43282
43283         if test x$gcc_no_link = xyes; then
43284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43286    { (exit 1); exit 1; }; }
43287 fi
43288 cat >conftest.$ac_ext <<_ACEOF
43289 #line $LINENO "configure"
43290 /* confdefs.h.  */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h.  */
43295 #include <math.h>
43296 int
43297 main ()
43298 {
43299  __builtin_sqrt(0);
43300   ;
43301   return 0;
43302 }
43303 _ACEOF
43304 rm -f conftest.$ac_objext conftest$ac_exeext
43305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43306   (eval $ac_link) 2>&5
43307   ac_status=$?
43308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309   (exit $ac_status); } &&
43310          { ac_try='test -s conftest$ac_exeext'
43311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43312   (eval $ac_try) 2>&5
43313   ac_status=$?
43314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43315   (exit $ac_status); }; }; then
43316   glibcxx_cv_func___builtin_sqrt_link=yes
43317 else
43318   echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.$ac_ext >&5
43320
43321 glibcxx_cv_func___builtin_sqrt_link=no
43322 fi
43323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43324
43325 fi
43326
43327     fi
43328     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43329 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43330     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43331       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43332       cat >>confdefs.h <<_ACEOF
43333 #define ${ac_tr_func} 1
43334 _ACEOF
43335
43336     fi
43337   fi
43338
43339
43340   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43341 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43342   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43343     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43344   echo $ECHO_N "(cached) $ECHO_C" >&6
43345 else
43346
43347
43348
43349       ac_ext=cc
43350 ac_cpp='$CXXCPP $CPPFLAGS'
43351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43354
43355       cat >conftest.$ac_ext <<_ACEOF
43356 #line $LINENO "configure"
43357 /* confdefs.h.  */
43358 _ACEOF
43359 cat confdefs.h >>conftest.$ac_ext
43360 cat >>conftest.$ac_ext <<_ACEOF
43361 /* end confdefs.h.  */
43362 #include <math.h>
43363 int
43364 main ()
43365 {
43366  __builtin_sqrtl(0);
43367   ;
43368   return 0;
43369 }
43370 _ACEOF
43371 rm -f conftest.$ac_objext
43372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43373   (eval $ac_compile) 2>&5
43374   ac_status=$?
43375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376   (exit $ac_status); } &&
43377          { ac_try='test -s conftest.$ac_objext'
43378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379   (eval $ac_try) 2>&5
43380   ac_status=$?
43381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382   (exit $ac_status); }; }; then
43383   glibcxx_cv_func___builtin_sqrtl_use=yes
43384 else
43385   echo "$as_me: failed program was:" >&5
43386 sed 's/^/| /' conftest.$ac_ext >&5
43387
43388 glibcxx_cv_func___builtin_sqrtl_use=no
43389 fi
43390 rm -f conftest.$ac_objext conftest.$ac_ext
43391       ac_ext=c
43392 ac_cpp='$CPP $CPPFLAGS'
43393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43396
43397
43398 fi
43399
43400   fi
43401   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43402 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43403   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43404     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43405 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43406     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43407       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43408   echo $ECHO_N "(cached) $ECHO_C" >&6
43409 else
43410
43411         if test x$gcc_no_link = xyes; then
43412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43414    { (exit 1); exit 1; }; }
43415 fi
43416 cat >conftest.$ac_ext <<_ACEOF
43417 #line $LINENO "configure"
43418 /* confdefs.h.  */
43419 _ACEOF
43420 cat confdefs.h >>conftest.$ac_ext
43421 cat >>conftest.$ac_ext <<_ACEOF
43422 /* end confdefs.h.  */
43423 #include <math.h>
43424 int
43425 main ()
43426 {
43427  __builtin_sqrtl(0);
43428   ;
43429   return 0;
43430 }
43431 _ACEOF
43432 rm -f conftest.$ac_objext conftest$ac_exeext
43433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43434   (eval $ac_link) 2>&5
43435   ac_status=$?
43436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437   (exit $ac_status); } &&
43438          { ac_try='test -s conftest$ac_exeext'
43439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440   (eval $ac_try) 2>&5
43441   ac_status=$?
43442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443   (exit $ac_status); }; }; then
43444   glibcxx_cv_func___builtin_sqrtl_link=yes
43445 else
43446   echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43448
43449 glibcxx_cv_func___builtin_sqrtl_link=no
43450 fi
43451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43452
43453 fi
43454
43455     fi
43456     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43458     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43459       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43460       cat >>confdefs.h <<_ACEOF
43461 #define ${ac_tr_func} 1
43462 _ACEOF
43463
43464     fi
43465   fi
43466
43467
43468
43469   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43470 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43471   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43472     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43473   echo $ECHO_N "(cached) $ECHO_C" >&6
43474 else
43475
43476
43477
43478       ac_ext=cc
43479 ac_cpp='$CXXCPP $CPPFLAGS'
43480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43483
43484       cat >conftest.$ac_ext <<_ACEOF
43485 #line $LINENO "configure"
43486 /* confdefs.h.  */
43487 _ACEOF
43488 cat confdefs.h >>conftest.$ac_ext
43489 cat >>conftest.$ac_ext <<_ACEOF
43490 /* end confdefs.h.  */
43491 #include <math.h>
43492 int
43493 main ()
43494 {
43495  __builtin_sinf(0);
43496   ;
43497   return 0;
43498 }
43499 _ACEOF
43500 rm -f conftest.$ac_objext
43501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43502   (eval $ac_compile) 2>&5
43503   ac_status=$?
43504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505   (exit $ac_status); } &&
43506          { ac_try='test -s conftest.$ac_objext'
43507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508   (eval $ac_try) 2>&5
43509   ac_status=$?
43510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511   (exit $ac_status); }; }; then
43512   glibcxx_cv_func___builtin_sinf_use=yes
43513 else
43514   echo "$as_me: failed program was:" >&5
43515 sed 's/^/| /' conftest.$ac_ext >&5
43516
43517 glibcxx_cv_func___builtin_sinf_use=no
43518 fi
43519 rm -f conftest.$ac_objext conftest.$ac_ext
43520       ac_ext=c
43521 ac_cpp='$CPP $CPPFLAGS'
43522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43525
43526
43527 fi
43528
43529   fi
43530   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43531 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43532   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43533     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43534 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43535     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43536       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43537   echo $ECHO_N "(cached) $ECHO_C" >&6
43538 else
43539
43540         if test x$gcc_no_link = xyes; then
43541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43543    { (exit 1); exit 1; }; }
43544 fi
43545 cat >conftest.$ac_ext <<_ACEOF
43546 #line $LINENO "configure"
43547 /* confdefs.h.  */
43548 _ACEOF
43549 cat confdefs.h >>conftest.$ac_ext
43550 cat >>conftest.$ac_ext <<_ACEOF
43551 /* end confdefs.h.  */
43552 #include <math.h>
43553 int
43554 main ()
43555 {
43556  __builtin_sinf(0);
43557   ;
43558   return 0;
43559 }
43560 _ACEOF
43561 rm -f conftest.$ac_objext conftest$ac_exeext
43562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43563   (eval $ac_link) 2>&5
43564   ac_status=$?
43565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566   (exit $ac_status); } &&
43567          { ac_try='test -s conftest$ac_exeext'
43568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569   (eval $ac_try) 2>&5
43570   ac_status=$?
43571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572   (exit $ac_status); }; }; then
43573   glibcxx_cv_func___builtin_sinf_link=yes
43574 else
43575   echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43577
43578 glibcxx_cv_func___builtin_sinf_link=no
43579 fi
43580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43581
43582 fi
43583
43584     fi
43585     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43586 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43587     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43588       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43589       cat >>confdefs.h <<_ACEOF
43590 #define ${ac_tr_func} 1
43591 _ACEOF
43592
43593     fi
43594   fi
43595
43596
43597   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43598 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43599   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43600     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43601   echo $ECHO_N "(cached) $ECHO_C" >&6
43602 else
43603
43604
43605
43606       ac_ext=cc
43607 ac_cpp='$CXXCPP $CPPFLAGS'
43608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43611
43612       cat >conftest.$ac_ext <<_ACEOF
43613 #line $LINENO "configure"
43614 /* confdefs.h.  */
43615 _ACEOF
43616 cat confdefs.h >>conftest.$ac_ext
43617 cat >>conftest.$ac_ext <<_ACEOF
43618 /* end confdefs.h.  */
43619 #include <math.h>
43620 int
43621 main ()
43622 {
43623  __builtin_sin(0);
43624   ;
43625   return 0;
43626 }
43627 _ACEOF
43628 rm -f conftest.$ac_objext
43629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43630   (eval $ac_compile) 2>&5
43631   ac_status=$?
43632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633   (exit $ac_status); } &&
43634          { ac_try='test -s conftest.$ac_objext'
43635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43636   (eval $ac_try) 2>&5
43637   ac_status=$?
43638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639   (exit $ac_status); }; }; then
43640   glibcxx_cv_func___builtin_sin_use=yes
43641 else
43642   echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43644
43645 glibcxx_cv_func___builtin_sin_use=no
43646 fi
43647 rm -f conftest.$ac_objext conftest.$ac_ext
43648       ac_ext=c
43649 ac_cpp='$CPP $CPPFLAGS'
43650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43653
43654
43655 fi
43656
43657   fi
43658   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43660   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43661     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43662 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43663     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43664       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43665   echo $ECHO_N "(cached) $ECHO_C" >&6
43666 else
43667
43668         if test x$gcc_no_link = xyes; then
43669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43671    { (exit 1); exit 1; }; }
43672 fi
43673 cat >conftest.$ac_ext <<_ACEOF
43674 #line $LINENO "configure"
43675 /* confdefs.h.  */
43676 _ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h.  */
43680 #include <math.h>
43681 int
43682 main ()
43683 {
43684  __builtin_sin(0);
43685   ;
43686   return 0;
43687 }
43688 _ACEOF
43689 rm -f conftest.$ac_objext conftest$ac_exeext
43690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43691   (eval $ac_link) 2>&5
43692   ac_status=$?
43693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43694   (exit $ac_status); } &&
43695          { ac_try='test -s conftest$ac_exeext'
43696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43697   (eval $ac_try) 2>&5
43698   ac_status=$?
43699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700   (exit $ac_status); }; }; then
43701   glibcxx_cv_func___builtin_sin_link=yes
43702 else
43703   echo "$as_me: failed program was:" >&5
43704 sed 's/^/| /' conftest.$ac_ext >&5
43705
43706 glibcxx_cv_func___builtin_sin_link=no
43707 fi
43708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43709
43710 fi
43711
43712     fi
43713     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43714 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43715     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43716       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43717       cat >>confdefs.h <<_ACEOF
43718 #define ${ac_tr_func} 1
43719 _ACEOF
43720
43721     fi
43722   fi
43723
43724
43725   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43726 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43727   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43728     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43729   echo $ECHO_N "(cached) $ECHO_C" >&6
43730 else
43731
43732
43733
43734       ac_ext=cc
43735 ac_cpp='$CXXCPP $CPPFLAGS'
43736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43739
43740       cat >conftest.$ac_ext <<_ACEOF
43741 #line $LINENO "configure"
43742 /* confdefs.h.  */
43743 _ACEOF
43744 cat confdefs.h >>conftest.$ac_ext
43745 cat >>conftest.$ac_ext <<_ACEOF
43746 /* end confdefs.h.  */
43747 #include <math.h>
43748 int
43749 main ()
43750 {
43751  __builtin_sinl(0);
43752   ;
43753   return 0;
43754 }
43755 _ACEOF
43756 rm -f conftest.$ac_objext
43757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43758   (eval $ac_compile) 2>&5
43759   ac_status=$?
43760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761   (exit $ac_status); } &&
43762          { ac_try='test -s conftest.$ac_objext'
43763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764   (eval $ac_try) 2>&5
43765   ac_status=$?
43766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767   (exit $ac_status); }; }; then
43768   glibcxx_cv_func___builtin_sinl_use=yes
43769 else
43770   echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43772
43773 glibcxx_cv_func___builtin_sinl_use=no
43774 fi
43775 rm -f conftest.$ac_objext conftest.$ac_ext
43776       ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781
43782
43783 fi
43784
43785   fi
43786   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43787 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43788   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43789     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43790 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43791     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43792       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43793   echo $ECHO_N "(cached) $ECHO_C" >&6
43794 else
43795
43796         if test x$gcc_no_link = xyes; then
43797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43799    { (exit 1); exit 1; }; }
43800 fi
43801 cat >conftest.$ac_ext <<_ACEOF
43802 #line $LINENO "configure"
43803 /* confdefs.h.  */
43804 _ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h.  */
43808 #include <math.h>
43809 int
43810 main ()
43811 {
43812  __builtin_sinl(0);
43813   ;
43814   return 0;
43815 }
43816 _ACEOF
43817 rm -f conftest.$ac_objext conftest$ac_exeext
43818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43819   (eval $ac_link) 2>&5
43820   ac_status=$?
43821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822   (exit $ac_status); } &&
43823          { ac_try='test -s conftest$ac_exeext'
43824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43825   (eval $ac_try) 2>&5
43826   ac_status=$?
43827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828   (exit $ac_status); }; }; then
43829   glibcxx_cv_func___builtin_sinl_link=yes
43830 else
43831   echo "$as_me: failed program was:" >&5
43832 sed 's/^/| /' conftest.$ac_ext >&5
43833
43834 glibcxx_cv_func___builtin_sinl_link=no
43835 fi
43836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43837
43838 fi
43839
43840     fi
43841     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43842 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43843     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43844       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43845       cat >>confdefs.h <<_ACEOF
43846 #define ${ac_tr_func} 1
43847 _ACEOF
43848
43849     fi
43850   fi
43851
43852
43853
43854   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43855 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43856   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43857     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43858   echo $ECHO_N "(cached) $ECHO_C" >&6
43859 else
43860
43861
43862
43863       ac_ext=cc
43864 ac_cpp='$CXXCPP $CPPFLAGS'
43865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43868
43869       cat >conftest.$ac_ext <<_ACEOF
43870 #line $LINENO "configure"
43871 /* confdefs.h.  */
43872 _ACEOF
43873 cat confdefs.h >>conftest.$ac_ext
43874 cat >>conftest.$ac_ext <<_ACEOF
43875 /* end confdefs.h.  */
43876 #include <math.h>
43877 int
43878 main ()
43879 {
43880  __builtin_cosf(0);
43881   ;
43882   return 0;
43883 }
43884 _ACEOF
43885 rm -f conftest.$ac_objext
43886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43887   (eval $ac_compile) 2>&5
43888   ac_status=$?
43889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890   (exit $ac_status); } &&
43891          { ac_try='test -s conftest.$ac_objext'
43892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893   (eval $ac_try) 2>&5
43894   ac_status=$?
43895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896   (exit $ac_status); }; }; then
43897   glibcxx_cv_func___builtin_cosf_use=yes
43898 else
43899   echo "$as_me: failed program was:" >&5
43900 sed 's/^/| /' conftest.$ac_ext >&5
43901
43902 glibcxx_cv_func___builtin_cosf_use=no
43903 fi
43904 rm -f conftest.$ac_objext conftest.$ac_ext
43905       ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910
43911
43912 fi
43913
43914   fi
43915   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43916 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43917   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43918     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43919 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43920     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43921       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43922   echo $ECHO_N "(cached) $ECHO_C" >&6
43923 else
43924
43925         if test x$gcc_no_link = xyes; then
43926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43928    { (exit 1); exit 1; }; }
43929 fi
43930 cat >conftest.$ac_ext <<_ACEOF
43931 #line $LINENO "configure"
43932 /* confdefs.h.  */
43933 _ACEOF
43934 cat confdefs.h >>conftest.$ac_ext
43935 cat >>conftest.$ac_ext <<_ACEOF
43936 /* end confdefs.h.  */
43937 #include <math.h>
43938 int
43939 main ()
43940 {
43941  __builtin_cosf(0);
43942   ;
43943   return 0;
43944 }
43945 _ACEOF
43946 rm -f conftest.$ac_objext conftest$ac_exeext
43947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43948   (eval $ac_link) 2>&5
43949   ac_status=$?
43950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951   (exit $ac_status); } &&
43952          { ac_try='test -s conftest$ac_exeext'
43953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43954   (eval $ac_try) 2>&5
43955   ac_status=$?
43956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43957   (exit $ac_status); }; }; then
43958   glibcxx_cv_func___builtin_cosf_link=yes
43959 else
43960   echo "$as_me: failed program was:" >&5
43961 sed 's/^/| /' conftest.$ac_ext >&5
43962
43963 glibcxx_cv_func___builtin_cosf_link=no
43964 fi
43965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43966
43967 fi
43968
43969     fi
43970     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43971 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43972     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43973       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43974       cat >>confdefs.h <<_ACEOF
43975 #define ${ac_tr_func} 1
43976 _ACEOF
43977
43978     fi
43979   fi
43980
43981
43982   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43983 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43984   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43985     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43986   echo $ECHO_N "(cached) $ECHO_C" >&6
43987 else
43988
43989
43990
43991       ac_ext=cc
43992 ac_cpp='$CXXCPP $CPPFLAGS'
43993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43996
43997       cat >conftest.$ac_ext <<_ACEOF
43998 #line $LINENO "configure"
43999 /* confdefs.h.  */
44000 _ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h.  */
44004 #include <math.h>
44005 int
44006 main ()
44007 {
44008  __builtin_cos(0);
44009   ;
44010   return 0;
44011 }
44012 _ACEOF
44013 rm -f conftest.$ac_objext
44014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44015   (eval $ac_compile) 2>&5
44016   ac_status=$?
44017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018   (exit $ac_status); } &&
44019          { ac_try='test -s conftest.$ac_objext'
44020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44021   (eval $ac_try) 2>&5
44022   ac_status=$?
44023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024   (exit $ac_status); }; }; then
44025   glibcxx_cv_func___builtin_cos_use=yes
44026 else
44027   echo "$as_me: failed program was:" >&5
44028 sed 's/^/| /' conftest.$ac_ext >&5
44029
44030 glibcxx_cv_func___builtin_cos_use=no
44031 fi
44032 rm -f conftest.$ac_objext conftest.$ac_ext
44033       ac_ext=c
44034 ac_cpp='$CPP $CPPFLAGS'
44035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44038
44039
44040 fi
44041
44042   fi
44043   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
44044 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
44045   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
44046     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
44047 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
44048     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
44049       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
44050   echo $ECHO_N "(cached) $ECHO_C" >&6
44051 else
44052
44053         if test x$gcc_no_link = xyes; then
44054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44056    { (exit 1); exit 1; }; }
44057 fi
44058 cat >conftest.$ac_ext <<_ACEOF
44059 #line $LINENO "configure"
44060 /* confdefs.h.  */
44061 _ACEOF
44062 cat confdefs.h >>conftest.$ac_ext
44063 cat >>conftest.$ac_ext <<_ACEOF
44064 /* end confdefs.h.  */
44065 #include <math.h>
44066 int
44067 main ()
44068 {
44069  __builtin_cos(0);
44070   ;
44071   return 0;
44072 }
44073 _ACEOF
44074 rm -f conftest.$ac_objext conftest$ac_exeext
44075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44076   (eval $ac_link) 2>&5
44077   ac_status=$?
44078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079   (exit $ac_status); } &&
44080          { ac_try='test -s conftest$ac_exeext'
44081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082   (eval $ac_try) 2>&5
44083   ac_status=$?
44084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085   (exit $ac_status); }; }; then
44086   glibcxx_cv_func___builtin_cos_link=yes
44087 else
44088   echo "$as_me: failed program was:" >&5
44089 sed 's/^/| /' conftest.$ac_ext >&5
44090
44091 glibcxx_cv_func___builtin_cos_link=no
44092 fi
44093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44094
44095 fi
44096
44097     fi
44098     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
44099 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
44100     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
44101       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44102       cat >>confdefs.h <<_ACEOF
44103 #define ${ac_tr_func} 1
44104 _ACEOF
44105
44106     fi
44107   fi
44108
44109
44110   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
44111 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
44112   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
44113     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
44114   echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116
44117
44118
44119       ac_ext=cc
44120 ac_cpp='$CXXCPP $CPPFLAGS'
44121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44124
44125       cat >conftest.$ac_ext <<_ACEOF
44126 #line $LINENO "configure"
44127 /* confdefs.h.  */
44128 _ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h.  */
44132 #include <math.h>
44133 int
44134 main ()
44135 {
44136  __builtin_cosl(0);
44137   ;
44138   return 0;
44139 }
44140 _ACEOF
44141 rm -f conftest.$ac_objext
44142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44143   (eval $ac_compile) 2>&5
44144   ac_status=$?
44145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146   (exit $ac_status); } &&
44147          { ac_try='test -s conftest.$ac_objext'
44148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149   (eval $ac_try) 2>&5
44150   ac_status=$?
44151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152   (exit $ac_status); }; }; then
44153   glibcxx_cv_func___builtin_cosl_use=yes
44154 else
44155   echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44157
44158 glibcxx_cv_func___builtin_cosl_use=no
44159 fi
44160 rm -f conftest.$ac_objext conftest.$ac_ext
44161       ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166
44167
44168 fi
44169
44170   fi
44171   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
44172 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
44173   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
44174     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
44175 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
44176     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
44177       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
44178   echo $ECHO_N "(cached) $ECHO_C" >&6
44179 else
44180
44181         if test x$gcc_no_link = xyes; then
44182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44184    { (exit 1); exit 1; }; }
44185 fi
44186 cat >conftest.$ac_ext <<_ACEOF
44187 #line $LINENO "configure"
44188 /* confdefs.h.  */
44189 _ACEOF
44190 cat confdefs.h >>conftest.$ac_ext
44191 cat >>conftest.$ac_ext <<_ACEOF
44192 /* end confdefs.h.  */
44193 #include <math.h>
44194 int
44195 main ()
44196 {
44197  __builtin_cosl(0);
44198   ;
44199   return 0;
44200 }
44201 _ACEOF
44202 rm -f conftest.$ac_objext conftest$ac_exeext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44204   (eval $ac_link) 2>&5
44205   ac_status=$?
44206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44207   (exit $ac_status); } &&
44208          { ac_try='test -s conftest$ac_exeext'
44209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44210   (eval $ac_try) 2>&5
44211   ac_status=$?
44212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213   (exit $ac_status); }; }; then
44214   glibcxx_cv_func___builtin_cosl_link=yes
44215 else
44216   echo "$as_me: failed program was:" >&5
44217 sed 's/^/| /' conftest.$ac_ext >&5
44218
44219 glibcxx_cv_func___builtin_cosl_link=no
44220 fi
44221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44222
44223 fi
44224
44225     fi
44226     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44227 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44228     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44229       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44230       cat >>confdefs.h <<_ACEOF
44231 #define ${ac_tr_func} 1
44232 _ACEOF
44233
44234     fi
44235   fi
44236
44237
44238               dummyvar=no
44239   if test x$dummyvar = x"yes"; then
44240     cat >>confdefs.h <<\_ACEOF
44241 #define HAVE___BUILTIN_ABS 1
44242 _ACEOF
44243
44244     cat >>confdefs.h <<\_ACEOF
44245 #define HAVE___BUILTIN_LABS 1
44246 _ACEOF
44247
44248     cat >>confdefs.h <<\_ACEOF
44249 #define HAVE___BUILTIN_COS 1
44250 _ACEOF
44251
44252     cat >>confdefs.h <<\_ACEOF
44253 #define HAVE___BUILTIN_COSF 1
44254 _ACEOF
44255
44256     cat >>confdefs.h <<\_ACEOF
44257 #define HAVE___BUILTIN_COSL 1
44258 _ACEOF
44259
44260     cat >>confdefs.h <<\_ACEOF
44261 #define HAVE___BUILTIN_FABS 1
44262 _ACEOF
44263
44264     cat >>confdefs.h <<\_ACEOF
44265 #define HAVE___BUILTIN_FABSF 1
44266 _ACEOF
44267
44268     cat >>confdefs.h <<\_ACEOF
44269 #define HAVE___BUILTIN_FABSL 1
44270 _ACEOF
44271
44272     cat >>confdefs.h <<\_ACEOF
44273 #define HAVE___BUILTIN_SIN 1
44274 _ACEOF
44275
44276     cat >>confdefs.h <<\_ACEOF
44277 #define HAVE___BUILTIN_SINF 1
44278 _ACEOF
44279
44280     cat >>confdefs.h <<\_ACEOF
44281 #define HAVE___BUILTIN_SINL 1
44282 _ACEOF
44283
44284     cat >>confdefs.h <<\_ACEOF
44285 #define HAVE___BUILTIN_SQRT 1
44286 _ACEOF
44287
44288     cat >>confdefs.h <<\_ACEOF
44289 #define HAVE___BUILTIN_SQRTF 1
44290 _ACEOF
44291
44292     cat >>confdefs.h <<\_ACEOF
44293 #define HAVE___BUILTIN_SQRTL 1
44294 _ACEOF
44295
44296   fi
44297
44298
44299
44300 echo "$as_me:$LINENO: checking for main in -lm" >&5
44301 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44302 if test "${ac_cv_lib_m_main+set}" = set; then
44303   echo $ECHO_N "(cached) $ECHO_C" >&6
44304 else
44305   ac_check_lib_save_LIBS=$LIBS
44306 LIBS="-lm  $LIBS"
44307 if test x$gcc_no_link = xyes; then
44308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44310    { (exit 1); exit 1; }; }
44311 fi
44312 cat >conftest.$ac_ext <<_ACEOF
44313 #line $LINENO "configure"
44314 /* confdefs.h.  */
44315 _ACEOF
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h.  */
44319
44320
44321 int
44322 main ()
44323 {
44324 main ();
44325   ;
44326   return 0;
44327 }
44328 _ACEOF
44329 rm -f conftest.$ac_objext conftest$ac_exeext
44330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44331   (eval $ac_link) 2>&5
44332   ac_status=$?
44333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334   (exit $ac_status); } &&
44335          { ac_try='test -s conftest$ac_exeext'
44336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44337   (eval $ac_try) 2>&5
44338   ac_status=$?
44339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340   (exit $ac_status); }; }; then
44341   ac_cv_lib_m_main=yes
44342 else
44343   echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44345
44346 ac_cv_lib_m_main=no
44347 fi
44348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44349 LIBS=$ac_check_lib_save_LIBS
44350 fi
44351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44352 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44353 if test $ac_cv_lib_m_main = yes; then
44354   cat >>confdefs.h <<_ACEOF
44355 #define HAVE_LIBM 1
44356 _ACEOF
44357
44358   LIBS="-lm $LIBS"
44359
44360 fi
44361
44362
44363
44364 for ac_func in nan copysignf
44365 do
44366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44367 echo "$as_me:$LINENO: checking for $ac_func" >&5
44368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44369 if eval "test \"\${$as_ac_var+set}\" = set"; then
44370   echo $ECHO_N "(cached) $ECHO_C" >&6
44371 else
44372   if test x$gcc_no_link = xyes; then
44373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44375    { (exit 1); exit 1; }; }
44376 fi
44377 cat >conftest.$ac_ext <<_ACEOF
44378 #line $LINENO "configure"
44379 /* confdefs.h.  */
44380 _ACEOF
44381 cat confdefs.h >>conftest.$ac_ext
44382 cat >>conftest.$ac_ext <<_ACEOF
44383 /* end confdefs.h.  */
44384 /* System header to define __stub macros and hopefully few prototypes,
44385     which can conflict with char $ac_func (); below.
44386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44387     <limits.h> exists even on freestanding compilers.  */
44388 #ifdef __STDC__
44389 # include <limits.h>
44390 #else
44391 # include <assert.h>
44392 #endif
44393 /* Override any gcc2 internal prototype to avoid an error.  */
44394 #ifdef __cplusplus
44395 extern "C"
44396 {
44397 #endif
44398 /* We use char because int might match the return type of a gcc2
44399    builtin and then its argument prototype would still apply.  */
44400 char $ac_func ();
44401 /* The GNU C library defines this for functions which it implements
44402     to always fail with ENOSYS.  Some functions are actually named
44403     something starting with __ and the normal name is an alias.  */
44404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44405 choke me
44406 #else
44407 char (*f) () = $ac_func;
44408 #endif
44409 #ifdef __cplusplus
44410 }
44411 #endif
44412
44413 int
44414 main ()
44415 {
44416 return f != $ac_func;
44417   ;
44418   return 0;
44419 }
44420 _ACEOF
44421 rm -f conftest.$ac_objext conftest$ac_exeext
44422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44423   (eval $ac_link) 2>&5
44424   ac_status=$?
44425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426   (exit $ac_status); } &&
44427          { ac_try='test -s conftest$ac_exeext'
44428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429   (eval $ac_try) 2>&5
44430   ac_status=$?
44431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432   (exit $ac_status); }; }; then
44433   eval "$as_ac_var=yes"
44434 else
44435   echo "$as_me: failed program was:" >&5
44436 sed 's/^/| /' conftest.$ac_ext >&5
44437
44438 eval "$as_ac_var=no"
44439 fi
44440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44441 fi
44442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44444 if test `eval echo '${'$as_ac_var'}'` = yes; then
44445   cat >>confdefs.h <<_ACEOF
44446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44447 _ACEOF
44448
44449 else
44450   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44451 fi
44452 done
44453
44454
44455
44456 for ac_func in __signbit
44457 do
44458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44459 echo "$as_me:$LINENO: checking for $ac_func" >&5
44460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44461 if eval "test \"\${$as_ac_var+set}\" = set"; then
44462   echo $ECHO_N "(cached) $ECHO_C" >&6
44463 else
44464   if test x$gcc_no_link = xyes; then
44465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44467    { (exit 1); exit 1; }; }
44468 fi
44469 cat >conftest.$ac_ext <<_ACEOF
44470 #line $LINENO "configure"
44471 /* confdefs.h.  */
44472 _ACEOF
44473 cat confdefs.h >>conftest.$ac_ext
44474 cat >>conftest.$ac_ext <<_ACEOF
44475 /* end confdefs.h.  */
44476 /* System header to define __stub macros and hopefully few prototypes,
44477     which can conflict with char $ac_func (); below.
44478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44479     <limits.h> exists even on freestanding compilers.  */
44480 #ifdef __STDC__
44481 # include <limits.h>
44482 #else
44483 # include <assert.h>
44484 #endif
44485 /* Override any gcc2 internal prototype to avoid an error.  */
44486 #ifdef __cplusplus
44487 extern "C"
44488 {
44489 #endif
44490 /* We use char because int might match the return type of a gcc2
44491    builtin and then its argument prototype would still apply.  */
44492 char $ac_func ();
44493 /* The GNU C library defines this for functions which it implements
44494     to always fail with ENOSYS.  Some functions are actually named
44495     something starting with __ and the normal name is an alias.  */
44496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44497 choke me
44498 #else
44499 char (*f) () = $ac_func;
44500 #endif
44501 #ifdef __cplusplus
44502 }
44503 #endif
44504
44505 int
44506 main ()
44507 {
44508 return f != $ac_func;
44509   ;
44510   return 0;
44511 }
44512 _ACEOF
44513 rm -f conftest.$ac_objext conftest$ac_exeext
44514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44515   (eval $ac_link) 2>&5
44516   ac_status=$?
44517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518   (exit $ac_status); } &&
44519          { ac_try='test -s conftest$ac_exeext'
44520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521   (eval $ac_try) 2>&5
44522   ac_status=$?
44523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524   (exit $ac_status); }; }; then
44525   eval "$as_ac_var=yes"
44526 else
44527   echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44529
44530 eval "$as_ac_var=no"
44531 fi
44532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44533 fi
44534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44536 if test `eval echo '${'$as_ac_var'}'` = yes; then
44537   cat >>confdefs.h <<_ACEOF
44538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44539 _ACEOF
44540
44541 else
44542   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44543 fi
44544 done
44545
44546
44547 for ac_func in __signbitf
44548 do
44549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44550 echo "$as_me:$LINENO: checking for $ac_func" >&5
44551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44552 if eval "test \"\${$as_ac_var+set}\" = set"; then
44553   echo $ECHO_N "(cached) $ECHO_C" >&6
44554 else
44555   if test x$gcc_no_link = xyes; then
44556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44558    { (exit 1); exit 1; }; }
44559 fi
44560 cat >conftest.$ac_ext <<_ACEOF
44561 #line $LINENO "configure"
44562 /* confdefs.h.  */
44563 _ACEOF
44564 cat confdefs.h >>conftest.$ac_ext
44565 cat >>conftest.$ac_ext <<_ACEOF
44566 /* end confdefs.h.  */
44567 /* System header to define __stub macros and hopefully few prototypes,
44568     which can conflict with char $ac_func (); below.
44569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44570     <limits.h> exists even on freestanding compilers.  */
44571 #ifdef __STDC__
44572 # include <limits.h>
44573 #else
44574 # include <assert.h>
44575 #endif
44576 /* Override any gcc2 internal prototype to avoid an error.  */
44577 #ifdef __cplusplus
44578 extern "C"
44579 {
44580 #endif
44581 /* We use char because int might match the return type of a gcc2
44582    builtin and then its argument prototype would still apply.  */
44583 char $ac_func ();
44584 /* The GNU C library defines this for functions which it implements
44585     to always fail with ENOSYS.  Some functions are actually named
44586     something starting with __ and the normal name is an alias.  */
44587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44588 choke me
44589 #else
44590 char (*f) () = $ac_func;
44591 #endif
44592 #ifdef __cplusplus
44593 }
44594 #endif
44595
44596 int
44597 main ()
44598 {
44599 return f != $ac_func;
44600   ;
44601   return 0;
44602 }
44603 _ACEOF
44604 rm -f conftest.$ac_objext conftest$ac_exeext
44605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44606   (eval $ac_link) 2>&5
44607   ac_status=$?
44608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609   (exit $ac_status); } &&
44610          { ac_try='test -s conftest$ac_exeext'
44611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44612   (eval $ac_try) 2>&5
44613   ac_status=$?
44614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615   (exit $ac_status); }; }; then
44616   eval "$as_ac_var=yes"
44617 else
44618   echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.$ac_ext >&5
44620
44621 eval "$as_ac_var=no"
44622 fi
44623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44624 fi
44625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44627 if test `eval echo '${'$as_ac_var'}'` = yes; then
44628   cat >>confdefs.h <<_ACEOF
44629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44630 _ACEOF
44631
44632 else
44633   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44634 fi
44635 done
44636
44637
44638           if test x$ac_cv_func_copysignl = x"yes"; then
44639
44640 for ac_func in __signbitl
44641 do
44642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44643 echo "$as_me:$LINENO: checking for $ac_func" >&5
44644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44645 if eval "test \"\${$as_ac_var+set}\" = set"; then
44646   echo $ECHO_N "(cached) $ECHO_C" >&6
44647 else
44648   if test x$gcc_no_link = xyes; then
44649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44651    { (exit 1); exit 1; }; }
44652 fi
44653 cat >conftest.$ac_ext <<_ACEOF
44654 #line $LINENO "configure"
44655 /* confdefs.h.  */
44656 _ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h.  */
44660 /* System header to define __stub macros and hopefully few prototypes,
44661     which can conflict with char $ac_func (); below.
44662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44663     <limits.h> exists even on freestanding compilers.  */
44664 #ifdef __STDC__
44665 # include <limits.h>
44666 #else
44667 # include <assert.h>
44668 #endif
44669 /* Override any gcc2 internal prototype to avoid an error.  */
44670 #ifdef __cplusplus
44671 extern "C"
44672 {
44673 #endif
44674 /* We use char because int might match the return type of a gcc2
44675    builtin and then its argument prototype would still apply.  */
44676 char $ac_func ();
44677 /* The GNU C library defines this for functions which it implements
44678     to always fail with ENOSYS.  Some functions are actually named
44679     something starting with __ and the normal name is an alias.  */
44680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44681 choke me
44682 #else
44683 char (*f) () = $ac_func;
44684 #endif
44685 #ifdef __cplusplus
44686 }
44687 #endif
44688
44689 int
44690 main ()
44691 {
44692 return f != $ac_func;
44693   ;
44694   return 0;
44695 }
44696 _ACEOF
44697 rm -f conftest.$ac_objext conftest$ac_exeext
44698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44699   (eval $ac_link) 2>&5
44700   ac_status=$?
44701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702   (exit $ac_status); } &&
44703          { ac_try='test -s conftest$ac_exeext'
44704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705   (eval $ac_try) 2>&5
44706   ac_status=$?
44707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708   (exit $ac_status); }; }; then
44709   eval "$as_ac_var=yes"
44710 else
44711   echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44713
44714 eval "$as_ac_var=no"
44715 fi
44716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44717 fi
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721   cat >>confdefs.h <<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44723 _ACEOF
44724
44725 else
44726   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44727 fi
44728 done
44729
44730   fi
44731
44732   # XXX Review this.  Nothing uses it.
44733   if test -n "$LIBMATHOBJS"; then
44734     need_libmath=yes
44735   fi
44736
44737
44738
44739   # Test wchar.h for mbstate_t, which is needed for char_traits and
44740   # others even if wchar_t support is not on.
44741   echo "$as_me:$LINENO: checking for mbstate_t" >&5
44742 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44743   cat >conftest.$ac_ext <<_ACEOF
44744 #line $LINENO "configure"
44745 /* confdefs.h.  */
44746 _ACEOF
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h.  */
44750 #include <wchar.h>
44751 int
44752 main ()
44753 {
44754 mbstate_t teststate;
44755   ;
44756   return 0;
44757 }
44758 _ACEOF
44759 rm -f conftest.$ac_objext
44760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44761   (eval $ac_compile) 2>&5
44762   ac_status=$?
44763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764   (exit $ac_status); } &&
44765          { ac_try='test -s conftest.$ac_objext'
44766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44767   (eval $ac_try) 2>&5
44768   ac_status=$?
44769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44770   (exit $ac_status); }; }; then
44771   have_mbstate_t=yes
44772 else
44773   echo "$as_me: failed program was:" >&5
44774 sed 's/^/| /' conftest.$ac_ext >&5
44775
44776 have_mbstate_t=no
44777 fi
44778 rm -f conftest.$ac_objext conftest.$ac_ext
44779   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44780 echo "${ECHO_T}$have_mbstate_t" >&6
44781   if test x"$have_mbstate_t" = xyes; then
44782     cat >>confdefs.h <<\_ACEOF
44783 #define HAVE_MBSTATE_T 1
44784 _ACEOF
44785
44786   fi
44787
44788   # Sanity check for existence of ISO C99 headers for extended encoding.
44789
44790 for ac_header in wchar.h
44791 do
44792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44794   echo "$as_me:$LINENO: checking for $ac_header" >&5
44795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44797   echo $ECHO_N "(cached) $ECHO_C" >&6
44798 fi
44799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44801 else
44802   # Is the header compilable?
44803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44805 cat >conftest.$ac_ext <<_ACEOF
44806 #line $LINENO "configure"
44807 /* confdefs.h.  */
44808 _ACEOF
44809 cat confdefs.h >>conftest.$ac_ext
44810 cat >>conftest.$ac_ext <<_ACEOF
44811 /* end confdefs.h.  */
44812 $ac_includes_default
44813 #include <$ac_header>
44814 _ACEOF
44815 rm -f conftest.$ac_objext
44816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44817   (eval $ac_compile) 2>&5
44818   ac_status=$?
44819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820   (exit $ac_status); } &&
44821          { ac_try='test -s conftest.$ac_objext'
44822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823   (eval $ac_try) 2>&5
44824   ac_status=$?
44825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826   (exit $ac_status); }; }; then
44827   ac_header_compiler=yes
44828 else
44829   echo "$as_me: failed program was:" >&5
44830 sed 's/^/| /' conftest.$ac_ext >&5
44831
44832 ac_header_compiler=no
44833 fi
44834 rm -f conftest.$ac_objext conftest.$ac_ext
44835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44836 echo "${ECHO_T}$ac_header_compiler" >&6
44837
44838 # Is the header present?
44839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44841 cat >conftest.$ac_ext <<_ACEOF
44842 #line $LINENO "configure"
44843 /* confdefs.h.  */
44844 _ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h.  */
44848 #include <$ac_header>
44849 _ACEOF
44850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44851   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44852   ac_status=$?
44853   grep -v '^ *+' conftest.er1 >conftest.err
44854   rm -f conftest.er1
44855   cat conftest.err >&5
44856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857   (exit $ac_status); } >/dev/null; then
44858   if test -s conftest.err; then
44859     ac_cpp_err=$ac_c_preproc_warn_flag
44860   else
44861     ac_cpp_err=
44862   fi
44863 else
44864   ac_cpp_err=yes
44865 fi
44866 if test -z "$ac_cpp_err"; then
44867   ac_header_preproc=yes
44868 else
44869   echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.$ac_ext >&5
44871
44872   ac_header_preproc=no
44873 fi
44874 rm -f conftest.err conftest.$ac_ext
44875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44876 echo "${ECHO_T}$ac_header_preproc" >&6
44877
44878 # So?  What about this header?
44879 case $ac_header_compiler:$ac_header_preproc in
44880   yes:no )
44881     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44883     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44885     (
44886       cat <<\_ASBOX
44887 ## ------------------------------------ ##
44888 ## Report this to bug-autoconf@gnu.org. ##
44889 ## ------------------------------------ ##
44890 _ASBOX
44891     ) |
44892       sed "s/^/$as_me: WARNING:     /" >&2
44893     ;;
44894   no:yes )
44895     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44897     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44899     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44901     (
44902       cat <<\_ASBOX
44903 ## ------------------------------------ ##
44904 ## Report this to bug-autoconf@gnu.org. ##
44905 ## ------------------------------------ ##
44906 _ASBOX
44907     ) |
44908       sed "s/^/$as_me: WARNING:     /" >&2
44909     ;;
44910 esac
44911 echo "$as_me:$LINENO: checking for $ac_header" >&5
44912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44914   echo $ECHO_N "(cached) $ECHO_C" >&6
44915 else
44916   eval "$as_ac_Header=$ac_header_preproc"
44917 fi
44918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44920
44921 fi
44922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44923   cat >>confdefs.h <<_ACEOF
44924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44925 _ACEOF
44926  ac_has_wchar_h=yes
44927 else
44928   ac_has_wchar_h=no
44929 fi
44930
44931 done
44932
44933
44934 for ac_header in wctype.h
44935 do
44936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44938   echo "$as_me:$LINENO: checking for $ac_header" >&5
44939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44941   echo $ECHO_N "(cached) $ECHO_C" >&6
44942 fi
44943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44945 else
44946   # Is the header compilable?
44947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44949 cat >conftest.$ac_ext <<_ACEOF
44950 #line $LINENO "configure"
44951 /* confdefs.h.  */
44952 _ACEOF
44953 cat confdefs.h >>conftest.$ac_ext
44954 cat >>conftest.$ac_ext <<_ACEOF
44955 /* end confdefs.h.  */
44956 $ac_includes_default
44957 #include <$ac_header>
44958 _ACEOF
44959 rm -f conftest.$ac_objext
44960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44961   (eval $ac_compile) 2>&5
44962   ac_status=$?
44963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964   (exit $ac_status); } &&
44965          { ac_try='test -s conftest.$ac_objext'
44966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967   (eval $ac_try) 2>&5
44968   ac_status=$?
44969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970   (exit $ac_status); }; }; then
44971   ac_header_compiler=yes
44972 else
44973   echo "$as_me: failed program was:" >&5
44974 sed 's/^/| /' conftest.$ac_ext >&5
44975
44976 ac_header_compiler=no
44977 fi
44978 rm -f conftest.$ac_objext conftest.$ac_ext
44979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44980 echo "${ECHO_T}$ac_header_compiler" >&6
44981
44982 # Is the header present?
44983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44985 cat >conftest.$ac_ext <<_ACEOF
44986 #line $LINENO "configure"
44987 /* confdefs.h.  */
44988 _ACEOF
44989 cat confdefs.h >>conftest.$ac_ext
44990 cat >>conftest.$ac_ext <<_ACEOF
44991 /* end confdefs.h.  */
44992 #include <$ac_header>
44993 _ACEOF
44994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44995   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44996   ac_status=$?
44997   grep -v '^ *+' conftest.er1 >conftest.err
44998   rm -f conftest.er1
44999   cat conftest.err >&5
45000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45001   (exit $ac_status); } >/dev/null; then
45002   if test -s conftest.err; then
45003     ac_cpp_err=$ac_c_preproc_warn_flag
45004   else
45005     ac_cpp_err=
45006   fi
45007 else
45008   ac_cpp_err=yes
45009 fi
45010 if test -z "$ac_cpp_err"; then
45011   ac_header_preproc=yes
45012 else
45013   echo "$as_me: failed program was:" >&5
45014 sed 's/^/| /' conftest.$ac_ext >&5
45015
45016   ac_header_preproc=no
45017 fi
45018 rm -f conftest.err conftest.$ac_ext
45019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45020 echo "${ECHO_T}$ac_header_preproc" >&6
45021
45022 # So?  What about this header?
45023 case $ac_header_compiler:$ac_header_preproc in
45024   yes:no )
45025     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45027     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45029     (
45030       cat <<\_ASBOX
45031 ## ------------------------------------ ##
45032 ## Report this to bug-autoconf@gnu.org. ##
45033 ## ------------------------------------ ##
45034 _ASBOX
45035     ) |
45036       sed "s/^/$as_me: WARNING:     /" >&2
45037     ;;
45038   no:yes )
45039     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45041     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45043     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45045     (
45046       cat <<\_ASBOX
45047 ## ------------------------------------ ##
45048 ## Report this to bug-autoconf@gnu.org. ##
45049 ## ------------------------------------ ##
45050 _ASBOX
45051     ) |
45052       sed "s/^/$as_me: WARNING:     /" >&2
45053     ;;
45054 esac
45055 echo "$as_me:$LINENO: checking for $ac_header" >&5
45056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45058   echo $ECHO_N "(cached) $ECHO_C" >&6
45059 else
45060   eval "$as_ac_Header=$ac_header_preproc"
45061 fi
45062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45064
45065 fi
45066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45067   cat >>confdefs.h <<_ACEOF
45068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45069 _ACEOF
45070  ac_has_wctype_h=yes
45071 else
45072   ac_has_wctype_h=no
45073 fi
45074
45075 done
45076
45077
45078   # Only continue checking if the ISO C99 headers exist and support is on.
45079   if test x"$ac_has_wchar_h" = xyes &&
45080      test x"$ac_has_wctype_h" = xyes &&
45081      test x"$enable_c_mbchar" != xno; then
45082
45083     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
45084     # numeric_limits can instantiate type_traits<wchar_t>
45085     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
45086 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
45087     cat >conftest.$ac_ext <<_ACEOF
45088 #line $LINENO "configure"
45089 /* confdefs.h.  */
45090 _ACEOF
45091 cat confdefs.h >>conftest.$ac_ext
45092 cat >>conftest.$ac_ext <<_ACEOF
45093 /* end confdefs.h.  */
45094 #include <wchar.h>
45095 int
45096 main ()
45097 {
45098 int i = WCHAR_MIN; int j = WCHAR_MAX;
45099   ;
45100   return 0;
45101 }
45102 _ACEOF
45103 rm -f conftest.$ac_objext
45104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45105   (eval $ac_compile) 2>&5
45106   ac_status=$?
45107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108   (exit $ac_status); } &&
45109          { ac_try='test -s conftest.$ac_objext'
45110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45111   (eval $ac_try) 2>&5
45112   ac_status=$?
45113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114   (exit $ac_status); }; }; then
45115   has_wchar_minmax=yes
45116 else
45117   echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.$ac_ext >&5
45119
45120 has_wchar_minmax=no
45121 fi
45122 rm -f conftest.$ac_objext conftest.$ac_ext
45123     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
45124 echo "${ECHO_T}$has_wchar_minmax" >&6
45125
45126     # Test wchar.h for WEOF, which is what we use to determine whether
45127     # to specialize for char_traits<wchar_t> or not.
45128     echo "$as_me:$LINENO: checking for WEOF" >&5
45129 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
45130     cat >conftest.$ac_ext <<_ACEOF
45131 #line $LINENO "configure"
45132 /* confdefs.h.  */
45133 _ACEOF
45134 cat confdefs.h >>conftest.$ac_ext
45135 cat >>conftest.$ac_ext <<_ACEOF
45136 /* end confdefs.h.  */
45137
45138       #include <wchar.h>
45139       #include <stddef.h>
45140 int
45141 main ()
45142 {
45143 wint_t i = WEOF;
45144   ;
45145   return 0;
45146 }
45147 _ACEOF
45148 rm -f conftest.$ac_objext
45149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45150   (eval $ac_compile) 2>&5
45151   ac_status=$?
45152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45153   (exit $ac_status); } &&
45154          { ac_try='test -s conftest.$ac_objext'
45155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45156   (eval $ac_try) 2>&5
45157   ac_status=$?
45158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159   (exit $ac_status); }; }; then
45160   has_weof=yes
45161 else
45162   echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45164
45165 has_weof=no
45166 fi
45167 rm -f conftest.$ac_objext conftest.$ac_ext
45168     echo "$as_me:$LINENO: result: $has_weof" >&5
45169 echo "${ECHO_T}$has_weof" >&6
45170
45171     # Tests for wide character functions used in char_traits<wchar_t>.
45172     ac_wfuncs=yes
45173
45174
45175
45176
45177
45178
45179 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
45180 do
45181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45182 echo "$as_me:$LINENO: checking for $ac_func" >&5
45183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45184 if eval "test \"\${$as_ac_var+set}\" = set"; then
45185   echo $ECHO_N "(cached) $ECHO_C" >&6
45186 else
45187   if test x$gcc_no_link = xyes; then
45188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45190    { (exit 1); exit 1; }; }
45191 fi
45192 cat >conftest.$ac_ext <<_ACEOF
45193 #line $LINENO "configure"
45194 /* confdefs.h.  */
45195 _ACEOF
45196 cat confdefs.h >>conftest.$ac_ext
45197 cat >>conftest.$ac_ext <<_ACEOF
45198 /* end confdefs.h.  */
45199 /* System header to define __stub macros and hopefully few prototypes,
45200     which can conflict with char $ac_func (); below.
45201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45202     <limits.h> exists even on freestanding compilers.  */
45203 #ifdef __STDC__
45204 # include <limits.h>
45205 #else
45206 # include <assert.h>
45207 #endif
45208 /* Override any gcc2 internal prototype to avoid an error.  */
45209 #ifdef __cplusplus
45210 extern "C"
45211 {
45212 #endif
45213 /* We use char because int might match the return type of a gcc2
45214    builtin and then its argument prototype would still apply.  */
45215 char $ac_func ();
45216 /* The GNU C library defines this for functions which it implements
45217     to always fail with ENOSYS.  Some functions are actually named
45218     something starting with __ and the normal name is an alias.  */
45219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45220 choke me
45221 #else
45222 char (*f) () = $ac_func;
45223 #endif
45224 #ifdef __cplusplus
45225 }
45226 #endif
45227
45228 int
45229 main ()
45230 {
45231 return f != $ac_func;
45232   ;
45233   return 0;
45234 }
45235 _ACEOF
45236 rm -f conftest.$ac_objext conftest$ac_exeext
45237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45238   (eval $ac_link) 2>&5
45239   ac_status=$?
45240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241   (exit $ac_status); } &&
45242          { ac_try='test -s conftest$ac_exeext'
45243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45244   (eval $ac_try) 2>&5
45245   ac_status=$?
45246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45247   (exit $ac_status); }; }; then
45248   eval "$as_ac_var=yes"
45249 else
45250   echo "$as_me: failed program was:" >&5
45251 sed 's/^/| /' conftest.$ac_ext >&5
45252
45253 eval "$as_ac_var=no"
45254 fi
45255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45256 fi
45257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45259 if test `eval echo '${'$as_ac_var'}'` = yes; then
45260   cat >>confdefs.h <<_ACEOF
45261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45262 _ACEOF
45263
45264 else
45265   ac_wfuncs=no
45266 fi
45267 done
45268
45269
45270     # Checks for names injected into std:: by the c_std headers.
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45318     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45319     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45320     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45321     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45322     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45323 do
45324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45325 echo "$as_me:$LINENO: checking for $ac_func" >&5
45326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45327 if eval "test \"\${$as_ac_var+set}\" = set"; then
45328   echo $ECHO_N "(cached) $ECHO_C" >&6
45329 else
45330   if test x$gcc_no_link = xyes; then
45331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45333    { (exit 1); exit 1; }; }
45334 fi
45335 cat >conftest.$ac_ext <<_ACEOF
45336 #line $LINENO "configure"
45337 /* confdefs.h.  */
45338 _ACEOF
45339 cat confdefs.h >>conftest.$ac_ext
45340 cat >>conftest.$ac_ext <<_ACEOF
45341 /* end confdefs.h.  */
45342 /* System header to define __stub macros and hopefully few prototypes,
45343     which can conflict with char $ac_func (); below.
45344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45345     <limits.h> exists even on freestanding compilers.  */
45346 #ifdef __STDC__
45347 # include <limits.h>
45348 #else
45349 # include <assert.h>
45350 #endif
45351 /* Override any gcc2 internal prototype to avoid an error.  */
45352 #ifdef __cplusplus
45353 extern "C"
45354 {
45355 #endif
45356 /* We use char because int might match the return type of a gcc2
45357    builtin and then its argument prototype would still apply.  */
45358 char $ac_func ();
45359 /* The GNU C library defines this for functions which it implements
45360     to always fail with ENOSYS.  Some functions are actually named
45361     something starting with __ and the normal name is an alias.  */
45362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45363 choke me
45364 #else
45365 char (*f) () = $ac_func;
45366 #endif
45367 #ifdef __cplusplus
45368 }
45369 #endif
45370
45371 int
45372 main ()
45373 {
45374 return f != $ac_func;
45375   ;
45376   return 0;
45377 }
45378 _ACEOF
45379 rm -f conftest.$ac_objext conftest$ac_exeext
45380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45381   (eval $ac_link) 2>&5
45382   ac_status=$?
45383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384   (exit $ac_status); } &&
45385          { ac_try='test -s conftest$ac_exeext'
45386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45387   (eval $ac_try) 2>&5
45388   ac_status=$?
45389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45390   (exit $ac_status); }; }; then
45391   eval "$as_ac_var=yes"
45392 else
45393   echo "$as_me: failed program was:" >&5
45394 sed 's/^/| /' conftest.$ac_ext >&5
45395
45396 eval "$as_ac_var=no"
45397 fi
45398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45399 fi
45400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45402 if test `eval echo '${'$as_ac_var'}'` = yes; then
45403   cat >>confdefs.h <<_ACEOF
45404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45405 _ACEOF
45406
45407 else
45408   ac_wfuncs=no
45409 fi
45410 done
45411
45412
45413     # Checks for wide character functions that are not required
45414     # for basic wchar_t support.  Don't disable support if they are missing.
45415     # Injection of these is wrapped with guard macros.
45416
45417
45418
45419
45420
45421 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45422 do
45423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45424 echo "$as_me:$LINENO: checking for $ac_func" >&5
45425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45426 if eval "test \"\${$as_ac_var+set}\" = set"; then
45427   echo $ECHO_N "(cached) $ECHO_C" >&6
45428 else
45429   if test x$gcc_no_link = xyes; then
45430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45432    { (exit 1); exit 1; }; }
45433 fi
45434 cat >conftest.$ac_ext <<_ACEOF
45435 #line $LINENO "configure"
45436 /* confdefs.h.  */
45437 _ACEOF
45438 cat confdefs.h >>conftest.$ac_ext
45439 cat >>conftest.$ac_ext <<_ACEOF
45440 /* end confdefs.h.  */
45441 /* System header to define __stub macros and hopefully few prototypes,
45442     which can conflict with char $ac_func (); below.
45443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45444     <limits.h> exists even on freestanding compilers.  */
45445 #ifdef __STDC__
45446 # include <limits.h>
45447 #else
45448 # include <assert.h>
45449 #endif
45450 /* Override any gcc2 internal prototype to avoid an error.  */
45451 #ifdef __cplusplus
45452 extern "C"
45453 {
45454 #endif
45455 /* We use char because int might match the return type of a gcc2
45456    builtin and then its argument prototype would still apply.  */
45457 char $ac_func ();
45458 /* The GNU C library defines this for functions which it implements
45459     to always fail with ENOSYS.  Some functions are actually named
45460     something starting with __ and the normal name is an alias.  */
45461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45462 choke me
45463 #else
45464 char (*f) () = $ac_func;
45465 #endif
45466 #ifdef __cplusplus
45467 }
45468 #endif
45469
45470 int
45471 main ()
45472 {
45473 return f != $ac_func;
45474   ;
45475   return 0;
45476 }
45477 _ACEOF
45478 rm -f conftest.$ac_objext conftest$ac_exeext
45479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45480   (eval $ac_link) 2>&5
45481   ac_status=$?
45482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45483   (exit $ac_status); } &&
45484          { ac_try='test -s conftest$ac_exeext'
45485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45486   (eval $ac_try) 2>&5
45487   ac_status=$?
45488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45489   (exit $ac_status); }; }; then
45490   eval "$as_ac_var=yes"
45491 else
45492   echo "$as_me: failed program was:" >&5
45493 sed 's/^/| /' conftest.$ac_ext >&5
45494
45495 eval "$as_ac_var=no"
45496 fi
45497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45498 fi
45499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45501 if test `eval echo '${'$as_ac_var'}'` = yes; then
45502   cat >>confdefs.h <<_ACEOF
45503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45504 _ACEOF
45505
45506 fi
45507 done
45508
45509
45510     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45511 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45512     if test x"$has_weof" = xyes &&
45513        test x"$has_wchar_minmax" = xyes &&
45514        test x"$ac_wfuncs" = xyes;
45515     then
45516       ac_isoC99_wchar_t=yes
45517     else
45518       ac_isoC99_wchar_t=no
45519     fi
45520     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45521 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45522
45523     # Use iconv for wchar_t to char conversions. As such, check for
45524     # X/Open Portability Guide, version 2 features (XPG2).
45525     if test "${ac_cv_header_iconv_h+set}" = set; then
45526   echo "$as_me:$LINENO: checking for iconv.h" >&5
45527 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45528 if test "${ac_cv_header_iconv_h+set}" = set; then
45529   echo $ECHO_N "(cached) $ECHO_C" >&6
45530 fi
45531 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45532 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45533 else
45534   # Is the header compilable?
45535 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45536 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45537 cat >conftest.$ac_ext <<_ACEOF
45538 #line $LINENO "configure"
45539 /* confdefs.h.  */
45540 _ACEOF
45541 cat confdefs.h >>conftest.$ac_ext
45542 cat >>conftest.$ac_ext <<_ACEOF
45543 /* end confdefs.h.  */
45544 $ac_includes_default
45545 #include <iconv.h>
45546 _ACEOF
45547 rm -f conftest.$ac_objext
45548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45549   (eval $ac_compile) 2>&5
45550   ac_status=$?
45551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45552   (exit $ac_status); } &&
45553          { ac_try='test -s conftest.$ac_objext'
45554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45555   (eval $ac_try) 2>&5
45556   ac_status=$?
45557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558   (exit $ac_status); }; }; then
45559   ac_header_compiler=yes
45560 else
45561   echo "$as_me: failed program was:" >&5
45562 sed 's/^/| /' conftest.$ac_ext >&5
45563
45564 ac_header_compiler=no
45565 fi
45566 rm -f conftest.$ac_objext conftest.$ac_ext
45567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45568 echo "${ECHO_T}$ac_header_compiler" >&6
45569
45570 # Is the header present?
45571 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45572 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45573 cat >conftest.$ac_ext <<_ACEOF
45574 #line $LINENO "configure"
45575 /* confdefs.h.  */
45576 _ACEOF
45577 cat confdefs.h >>conftest.$ac_ext
45578 cat >>conftest.$ac_ext <<_ACEOF
45579 /* end confdefs.h.  */
45580 #include <iconv.h>
45581 _ACEOF
45582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45583   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45584   ac_status=$?
45585   grep -v '^ *+' conftest.er1 >conftest.err
45586   rm -f conftest.er1
45587   cat conftest.err >&5
45588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45589   (exit $ac_status); } >/dev/null; then
45590   if test -s conftest.err; then
45591     ac_cpp_err=$ac_c_preproc_warn_flag
45592   else
45593     ac_cpp_err=
45594   fi
45595 else
45596   ac_cpp_err=yes
45597 fi
45598 if test -z "$ac_cpp_err"; then
45599   ac_header_preproc=yes
45600 else
45601   echo "$as_me: failed program was:" >&5
45602 sed 's/^/| /' conftest.$ac_ext >&5
45603
45604   ac_header_preproc=no
45605 fi
45606 rm -f conftest.err conftest.$ac_ext
45607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45608 echo "${ECHO_T}$ac_header_preproc" >&6
45609
45610 # So?  What about this header?
45611 case $ac_header_compiler:$ac_header_preproc in
45612   yes:no )
45613     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45614 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45615     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45616 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45617     (
45618       cat <<\_ASBOX
45619 ## ------------------------------------ ##
45620 ## Report this to bug-autoconf@gnu.org. ##
45621 ## ------------------------------------ ##
45622 _ASBOX
45623     ) |
45624       sed "s/^/$as_me: WARNING:     /" >&2
45625     ;;
45626   no:yes )
45627     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45628 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45629     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45630 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45631     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45632 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45633     (
45634       cat <<\_ASBOX
45635 ## ------------------------------------ ##
45636 ## Report this to bug-autoconf@gnu.org. ##
45637 ## ------------------------------------ ##
45638 _ASBOX
45639     ) |
45640       sed "s/^/$as_me: WARNING:     /" >&2
45641     ;;
45642 esac
45643 echo "$as_me:$LINENO: checking for iconv.h" >&5
45644 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45645 if test "${ac_cv_header_iconv_h+set}" = set; then
45646   echo $ECHO_N "(cached) $ECHO_C" >&6
45647 else
45648   ac_cv_header_iconv_h=$ac_header_preproc
45649 fi
45650 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45651 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45652
45653 fi
45654 if test $ac_cv_header_iconv_h = yes; then
45655   ac_has_iconv_h=yes
45656 else
45657   ac_has_iconv_h=no
45658 fi
45659
45660
45661     if test "${ac_cv_header_langinfo_h+set}" = set; then
45662   echo "$as_me:$LINENO: checking for langinfo.h" >&5
45663 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45664 if test "${ac_cv_header_langinfo_h+set}" = set; then
45665   echo $ECHO_N "(cached) $ECHO_C" >&6
45666 fi
45667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45669 else
45670   # Is the header compilable?
45671 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45672 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45673 cat >conftest.$ac_ext <<_ACEOF
45674 #line $LINENO "configure"
45675 /* confdefs.h.  */
45676 _ACEOF
45677 cat confdefs.h >>conftest.$ac_ext
45678 cat >>conftest.$ac_ext <<_ACEOF
45679 /* end confdefs.h.  */
45680 $ac_includes_default
45681 #include <langinfo.h>
45682 _ACEOF
45683 rm -f conftest.$ac_objext
45684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45685   (eval $ac_compile) 2>&5
45686   ac_status=$?
45687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45688   (exit $ac_status); } &&
45689          { ac_try='test -s conftest.$ac_objext'
45690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45691   (eval $ac_try) 2>&5
45692   ac_status=$?
45693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45694   (exit $ac_status); }; }; then
45695   ac_header_compiler=yes
45696 else
45697   echo "$as_me: failed program was:" >&5
45698 sed 's/^/| /' conftest.$ac_ext >&5
45699
45700 ac_header_compiler=no
45701 fi
45702 rm -f conftest.$ac_objext conftest.$ac_ext
45703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45704 echo "${ECHO_T}$ac_header_compiler" >&6
45705
45706 # Is the header present?
45707 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45708 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45709 cat >conftest.$ac_ext <<_ACEOF
45710 #line $LINENO "configure"
45711 /* confdefs.h.  */
45712 _ACEOF
45713 cat confdefs.h >>conftest.$ac_ext
45714 cat >>conftest.$ac_ext <<_ACEOF
45715 /* end confdefs.h.  */
45716 #include <langinfo.h>
45717 _ACEOF
45718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45719   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45720   ac_status=$?
45721   grep -v '^ *+' conftest.er1 >conftest.err
45722   rm -f conftest.er1
45723   cat conftest.err >&5
45724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725   (exit $ac_status); } >/dev/null; then
45726   if test -s conftest.err; then
45727     ac_cpp_err=$ac_c_preproc_warn_flag
45728   else
45729     ac_cpp_err=
45730   fi
45731 else
45732   ac_cpp_err=yes
45733 fi
45734 if test -z "$ac_cpp_err"; then
45735   ac_header_preproc=yes
45736 else
45737   echo "$as_me: failed program was:" >&5
45738 sed 's/^/| /' conftest.$ac_ext >&5
45739
45740   ac_header_preproc=no
45741 fi
45742 rm -f conftest.err conftest.$ac_ext
45743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45744 echo "${ECHO_T}$ac_header_preproc" >&6
45745
45746 # So?  What about this header?
45747 case $ac_header_compiler:$ac_header_preproc in
45748   yes:no )
45749     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45750 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45751     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45752 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45753     (
45754       cat <<\_ASBOX
45755 ## ------------------------------------ ##
45756 ## Report this to bug-autoconf@gnu.org. ##
45757 ## ------------------------------------ ##
45758 _ASBOX
45759     ) |
45760       sed "s/^/$as_me: WARNING:     /" >&2
45761     ;;
45762   no:yes )
45763     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45764 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45765     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45766 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45767     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45768 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45769     (
45770       cat <<\_ASBOX
45771 ## ------------------------------------ ##
45772 ## Report this to bug-autoconf@gnu.org. ##
45773 ## ------------------------------------ ##
45774 _ASBOX
45775     ) |
45776       sed "s/^/$as_me: WARNING:     /" >&2
45777     ;;
45778 esac
45779 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45780 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45781 if test "${ac_cv_header_langinfo_h+set}" = set; then
45782   echo $ECHO_N "(cached) $ECHO_C" >&6
45783 else
45784   ac_cv_header_langinfo_h=$ac_header_preproc
45785 fi
45786 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45787 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45788
45789 fi
45790 if test $ac_cv_header_langinfo_h = yes; then
45791   ac_has_langinfo_h=yes
45792 else
45793   ac_has_langinfo_h=no
45794 fi
45795
45796
45797
45798     # Check for existence of libiconv.a providing XPG2 wchar_t support.
45799     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45800 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45801 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45802   echo $ECHO_N "(cached) $ECHO_C" >&6
45803 else
45804   ac_check_lib_save_LIBS=$LIBS
45805 LIBS="-liconv  $LIBS"
45806 if test x$gcc_no_link = xyes; then
45807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45809    { (exit 1); exit 1; }; }
45810 fi
45811 cat >conftest.$ac_ext <<_ACEOF
45812 #line $LINENO "configure"
45813 /* confdefs.h.  */
45814 _ACEOF
45815 cat confdefs.h >>conftest.$ac_ext
45816 cat >>conftest.$ac_ext <<_ACEOF
45817 /* end confdefs.h.  */
45818
45819 /* Override any gcc2 internal prototype to avoid an error.  */
45820 #ifdef __cplusplus
45821 extern "C"
45822 #endif
45823 /* We use char because int might match the return type of a gcc2
45824    builtin and then its argument prototype would still apply.  */
45825 char iconv ();
45826 int
45827 main ()
45828 {
45829 iconv ();
45830   ;
45831   return 0;
45832 }
45833 _ACEOF
45834 rm -f conftest.$ac_objext conftest$ac_exeext
45835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45836   (eval $ac_link) 2>&5
45837   ac_status=$?
45838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839   (exit $ac_status); } &&
45840          { ac_try='test -s conftest$ac_exeext'
45841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45842   (eval $ac_try) 2>&5
45843   ac_status=$?
45844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845   (exit $ac_status); }; }; then
45846   ac_cv_lib_iconv_iconv=yes
45847 else
45848   echo "$as_me: failed program was:" >&5
45849 sed 's/^/| /' conftest.$ac_ext >&5
45850
45851 ac_cv_lib_iconv_iconv=no
45852 fi
45853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45854 LIBS=$ac_check_lib_save_LIBS
45855 fi
45856 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45857 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45858 if test $ac_cv_lib_iconv_iconv = yes; then
45859   libiconv="-liconv"
45860 fi
45861
45862     ac_save_LIBS="$LIBS"
45863     LIBS="$LIBS $libiconv"
45864
45865
45866
45867
45868
45869 for ac_func in iconv_open iconv_close iconv nl_langinfo
45870 do
45871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45872 echo "$as_me:$LINENO: checking for $ac_func" >&5
45873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45874 if eval "test \"\${$as_ac_var+set}\" = set"; then
45875   echo $ECHO_N "(cached) $ECHO_C" >&6
45876 else
45877   if test x$gcc_no_link = xyes; then
45878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45880    { (exit 1); exit 1; }; }
45881 fi
45882 cat >conftest.$ac_ext <<_ACEOF
45883 #line $LINENO "configure"
45884 /* confdefs.h.  */
45885 _ACEOF
45886 cat confdefs.h >>conftest.$ac_ext
45887 cat >>conftest.$ac_ext <<_ACEOF
45888 /* end confdefs.h.  */
45889 /* System header to define __stub macros and hopefully few prototypes,
45890     which can conflict with char $ac_func (); below.
45891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45892     <limits.h> exists even on freestanding compilers.  */
45893 #ifdef __STDC__
45894 # include <limits.h>
45895 #else
45896 # include <assert.h>
45897 #endif
45898 /* Override any gcc2 internal prototype to avoid an error.  */
45899 #ifdef __cplusplus
45900 extern "C"
45901 {
45902 #endif
45903 /* We use char because int might match the return type of a gcc2
45904    builtin and then its argument prototype would still apply.  */
45905 char $ac_func ();
45906 /* The GNU C library defines this for functions which it implements
45907     to always fail with ENOSYS.  Some functions are actually named
45908     something starting with __ and the normal name is an alias.  */
45909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45910 choke me
45911 #else
45912 char (*f) () = $ac_func;
45913 #endif
45914 #ifdef __cplusplus
45915 }
45916 #endif
45917
45918 int
45919 main ()
45920 {
45921 return f != $ac_func;
45922   ;
45923   return 0;
45924 }
45925 _ACEOF
45926 rm -f conftest.$ac_objext conftest$ac_exeext
45927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45928   (eval $ac_link) 2>&5
45929   ac_status=$?
45930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45931   (exit $ac_status); } &&
45932          { ac_try='test -s conftest$ac_exeext'
45933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45934   (eval $ac_try) 2>&5
45935   ac_status=$?
45936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45937   (exit $ac_status); }; }; then
45938   eval "$as_ac_var=yes"
45939 else
45940   echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45942
45943 eval "$as_ac_var=no"
45944 fi
45945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45946 fi
45947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45949 if test `eval echo '${'$as_ac_var'}'` = yes; then
45950   cat >>confdefs.h <<_ACEOF
45951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45952 _ACEOF
45953  ac_XPG2funcs=yes
45954 else
45955   ac_XPG2funcs=no
45956 fi
45957 done
45958
45959
45960     LIBS="$ac_save_LIBS"
45961
45962     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45963 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45964     if test x"$ac_has_iconv_h" = xyes &&
45965        test x"$ac_has_langinfo_h" = xyes &&
45966        test x"$ac_XPG2funcs" = xyes;
45967     then
45968       ac_XPG2_wchar_t=yes
45969     else
45970       ac_XPG2_wchar_t=no
45971     fi
45972     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45973 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45974
45975     # At the moment, only enable wchar_t specializations if all the
45976     # above support is present.
45977     if test x"$ac_isoC99_wchar_t" = xyes &&
45978        test x"$ac_XPG2_wchar_t" = xyes;
45979     then
45980       cat >>confdefs.h <<\_ACEOF
45981 #define _GLIBCXX_USE_WCHAR_T 1
45982 _ACEOF
45983
45984       enable_wchar_t=yes
45985     fi
45986   fi
45987   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45988 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45989   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45990 echo "${ECHO_T}$enable_wchar_t" >&6
45991
45992
45993   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45994   ac_save_CXXFLAGS="$CXXFLAGS"
45995   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45996
45997
45998   echo "$as_me:$LINENO: checking for strtold declaration" >&5
45999 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
46000   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46001     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
46002   echo $ECHO_N "(cached) $ECHO_C" >&6
46003 else
46004
46005
46006
46007       ac_ext=cc
46008 ac_cpp='$CXXCPP $CPPFLAGS'
46009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012
46013       cat >conftest.$ac_ext <<_ACEOF
46014 #line $LINENO "configure"
46015 /* confdefs.h.  */
46016 _ACEOF
46017 cat confdefs.h >>conftest.$ac_ext
46018 cat >>conftest.$ac_ext <<_ACEOF
46019 /* end confdefs.h.  */
46020 #include <stdlib.h>
46021 int
46022 main ()
46023 {
46024  strtold(0, 0);
46025   ;
46026   return 0;
46027 }
46028 _ACEOF
46029 rm -f conftest.$ac_objext
46030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46031   (eval $ac_compile) 2>&5
46032   ac_status=$?
46033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46034   (exit $ac_status); } &&
46035          { ac_try='test -s conftest.$ac_objext'
46036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46037   (eval $ac_try) 2>&5
46038   ac_status=$?
46039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040   (exit $ac_status); }; }; then
46041   glibcxx_cv_func_strtold_use=yes
46042 else
46043   echo "$as_me: failed program was:" >&5
46044 sed 's/^/| /' conftest.$ac_ext >&5
46045
46046 glibcxx_cv_func_strtold_use=no
46047 fi
46048 rm -f conftest.$ac_objext conftest.$ac_ext
46049       ac_ext=c
46050 ac_cpp='$CPP $CPPFLAGS'
46051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46054
46055
46056 fi
46057
46058   fi
46059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
46060 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
46061   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46062
46063 for ac_func in strtold
46064 do
46065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46066 echo "$as_me:$LINENO: checking for $ac_func" >&5
46067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46068 if eval "test \"\${$as_ac_var+set}\" = set"; then
46069   echo $ECHO_N "(cached) $ECHO_C" >&6
46070 else
46071   if test x$gcc_no_link = xyes; then
46072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46074    { (exit 1); exit 1; }; }
46075 fi
46076 cat >conftest.$ac_ext <<_ACEOF
46077 #line $LINENO "configure"
46078 /* confdefs.h.  */
46079 _ACEOF
46080 cat confdefs.h >>conftest.$ac_ext
46081 cat >>conftest.$ac_ext <<_ACEOF
46082 /* end confdefs.h.  */
46083 /* System header to define __stub macros and hopefully few prototypes,
46084     which can conflict with char $ac_func (); below.
46085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46086     <limits.h> exists even on freestanding compilers.  */
46087 #ifdef __STDC__
46088 # include <limits.h>
46089 #else
46090 # include <assert.h>
46091 #endif
46092 /* Override any gcc2 internal prototype to avoid an error.  */
46093 #ifdef __cplusplus
46094 extern "C"
46095 {
46096 #endif
46097 /* We use char because int might match the return type of a gcc2
46098    builtin and then its argument prototype would still apply.  */
46099 char $ac_func ();
46100 /* The GNU C library defines this for functions which it implements
46101     to always fail with ENOSYS.  Some functions are actually named
46102     something starting with __ and the normal name is an alias.  */
46103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46104 choke me
46105 #else
46106 char (*f) () = $ac_func;
46107 #endif
46108 #ifdef __cplusplus
46109 }
46110 #endif
46111
46112 int
46113 main ()
46114 {
46115 return f != $ac_func;
46116   ;
46117   return 0;
46118 }
46119 _ACEOF
46120 rm -f conftest.$ac_objext conftest$ac_exeext
46121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46122   (eval $ac_link) 2>&5
46123   ac_status=$?
46124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46125   (exit $ac_status); } &&
46126          { ac_try='test -s conftest$ac_exeext'
46127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46128   (eval $ac_try) 2>&5
46129   ac_status=$?
46130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131   (exit $ac_status); }; }; then
46132   eval "$as_ac_var=yes"
46133 else
46134   echo "$as_me: failed program was:" >&5
46135 sed 's/^/| /' conftest.$ac_ext >&5
46136
46137 eval "$as_ac_var=no"
46138 fi
46139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46140 fi
46141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46143 if test `eval echo '${'$as_ac_var'}'` = yes; then
46144   cat >>confdefs.h <<_ACEOF
46145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46146 _ACEOF
46147
46148 fi
46149 done
46150
46151   fi
46152
46153
46154   echo "$as_me:$LINENO: checking for strtof declaration" >&5
46155 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
46156   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46157     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
46158   echo $ECHO_N "(cached) $ECHO_C" >&6
46159 else
46160
46161
46162
46163       ac_ext=cc
46164 ac_cpp='$CXXCPP $CPPFLAGS'
46165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46168
46169       cat >conftest.$ac_ext <<_ACEOF
46170 #line $LINENO "configure"
46171 /* confdefs.h.  */
46172 _ACEOF
46173 cat confdefs.h >>conftest.$ac_ext
46174 cat >>conftest.$ac_ext <<_ACEOF
46175 /* end confdefs.h.  */
46176 #include <stdlib.h>
46177 int
46178 main ()
46179 {
46180  strtof(0, 0);
46181   ;
46182   return 0;
46183 }
46184 _ACEOF
46185 rm -f conftest.$ac_objext
46186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46187   (eval $ac_compile) 2>&5
46188   ac_status=$?
46189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190   (exit $ac_status); } &&
46191          { ac_try='test -s conftest.$ac_objext'
46192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193   (eval $ac_try) 2>&5
46194   ac_status=$?
46195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196   (exit $ac_status); }; }; then
46197   glibcxx_cv_func_strtof_use=yes
46198 else
46199   echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46201
46202 glibcxx_cv_func_strtof_use=no
46203 fi
46204 rm -f conftest.$ac_objext conftest.$ac_ext
46205       ac_ext=c
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46210
46211
46212 fi
46213
46214   fi
46215   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
46216 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
46217   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46218
46219 for ac_func in strtof
46220 do
46221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46222 echo "$as_me:$LINENO: checking for $ac_func" >&5
46223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46224 if eval "test \"\${$as_ac_var+set}\" = set"; then
46225   echo $ECHO_N "(cached) $ECHO_C" >&6
46226 else
46227   if test x$gcc_no_link = xyes; then
46228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46230    { (exit 1); exit 1; }; }
46231 fi
46232 cat >conftest.$ac_ext <<_ACEOF
46233 #line $LINENO "configure"
46234 /* confdefs.h.  */
46235 _ACEOF
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h.  */
46239 /* System header to define __stub macros and hopefully few prototypes,
46240     which can conflict with char $ac_func (); below.
46241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46242     <limits.h> exists even on freestanding compilers.  */
46243 #ifdef __STDC__
46244 # include <limits.h>
46245 #else
46246 # include <assert.h>
46247 #endif
46248 /* Override any gcc2 internal prototype to avoid an error.  */
46249 #ifdef __cplusplus
46250 extern "C"
46251 {
46252 #endif
46253 /* We use char because int might match the return type of a gcc2
46254    builtin and then its argument prototype would still apply.  */
46255 char $ac_func ();
46256 /* The GNU C library defines this for functions which it implements
46257     to always fail with ENOSYS.  Some functions are actually named
46258     something starting with __ and the normal name is an alias.  */
46259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46260 choke me
46261 #else
46262 char (*f) () = $ac_func;
46263 #endif
46264 #ifdef __cplusplus
46265 }
46266 #endif
46267
46268 int
46269 main ()
46270 {
46271 return f != $ac_func;
46272   ;
46273   return 0;
46274 }
46275 _ACEOF
46276 rm -f conftest.$ac_objext conftest$ac_exeext
46277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46278   (eval $ac_link) 2>&5
46279   ac_status=$?
46280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46281   (exit $ac_status); } &&
46282          { ac_try='test -s conftest$ac_exeext'
46283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46284   (eval $ac_try) 2>&5
46285   ac_status=$?
46286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46287   (exit $ac_status); }; }; then
46288   eval "$as_ac_var=yes"
46289 else
46290   echo "$as_me: failed program was:" >&5
46291 sed 's/^/| /' conftest.$ac_ext >&5
46292
46293 eval "$as_ac_var=no"
46294 fi
46295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46296 fi
46297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46299 if test `eval echo '${'$as_ac_var'}'` = yes; then
46300   cat >>confdefs.h <<_ACEOF
46301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46302 _ACEOF
46303
46304 fi
46305 done
46306
46307   fi
46308
46309
46310   echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
46311 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
46312   if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
46313     if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
46314   echo $ECHO_N "(cached) $ECHO_C" >&6
46315 else
46316
46317
46318
46319       ac_ext=cc
46320 ac_cpp='$CXXCPP $CPPFLAGS'
46321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46324
46325       cat >conftest.$ac_ext <<_ACEOF
46326 #line $LINENO "configure"
46327 /* confdefs.h.  */
46328 _ACEOF
46329 cat confdefs.h >>conftest.$ac_ext
46330 cat >>conftest.$ac_ext <<_ACEOF
46331 /* end confdefs.h.  */
46332 #include <stdlib.h>
46333 int
46334 main ()
46335 {
46336  lrand48();
46337   ;
46338   return 0;
46339 }
46340 _ACEOF
46341 rm -f conftest.$ac_objext
46342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46343   (eval $ac_compile) 2>&5
46344   ac_status=$?
46345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346   (exit $ac_status); } &&
46347          { ac_try='test -s conftest.$ac_objext'
46348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46349   (eval $ac_try) 2>&5
46350   ac_status=$?
46351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352   (exit $ac_status); }; }; then
46353   glibcxx_cv_func_lrand48_use=yes
46354 else
46355   echo "$as_me: failed program was:" >&5
46356 sed 's/^/| /' conftest.$ac_ext >&5
46357
46358 glibcxx_cv_func_lrand48_use=no
46359 fi
46360 rm -f conftest.$ac_objext conftest.$ac_ext
46361       ac_ext=c
46362 ac_cpp='$CPP $CPPFLAGS'
46363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46366
46367
46368 fi
46369
46370   fi
46371   echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
46372 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
46373   if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
46374
46375 for ac_func in lrand48
46376 do
46377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46378 echo "$as_me:$LINENO: checking for $ac_func" >&5
46379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46380 if eval "test \"\${$as_ac_var+set}\" = set"; then
46381   echo $ECHO_N "(cached) $ECHO_C" >&6
46382 else
46383   if test x$gcc_no_link = xyes; then
46384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46386    { (exit 1); exit 1; }; }
46387 fi
46388 cat >conftest.$ac_ext <<_ACEOF
46389 #line $LINENO "configure"
46390 /* confdefs.h.  */
46391 _ACEOF
46392 cat confdefs.h >>conftest.$ac_ext
46393 cat >>conftest.$ac_ext <<_ACEOF
46394 /* end confdefs.h.  */
46395 /* System header to define __stub macros and hopefully few prototypes,
46396     which can conflict with char $ac_func (); below.
46397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46398     <limits.h> exists even on freestanding compilers.  */
46399 #ifdef __STDC__
46400 # include <limits.h>
46401 #else
46402 # include <assert.h>
46403 #endif
46404 /* Override any gcc2 internal prototype to avoid an error.  */
46405 #ifdef __cplusplus
46406 extern "C"
46407 {
46408 #endif
46409 /* We use char because int might match the return type of a gcc2
46410    builtin and then its argument prototype would still apply.  */
46411 char $ac_func ();
46412 /* The GNU C library defines this for functions which it implements
46413     to always fail with ENOSYS.  Some functions are actually named
46414     something starting with __ and the normal name is an alias.  */
46415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46416 choke me
46417 #else
46418 char (*f) () = $ac_func;
46419 #endif
46420 #ifdef __cplusplus
46421 }
46422 #endif
46423
46424 int
46425 main ()
46426 {
46427 return f != $ac_func;
46428   ;
46429   return 0;
46430 }
46431 _ACEOF
46432 rm -f conftest.$ac_objext conftest$ac_exeext
46433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46434   (eval $ac_link) 2>&5
46435   ac_status=$?
46436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46437   (exit $ac_status); } &&
46438          { ac_try='test -s conftest$ac_exeext'
46439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46440   (eval $ac_try) 2>&5
46441   ac_status=$?
46442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443   (exit $ac_status); }; }; then
46444   eval "$as_ac_var=yes"
46445 else
46446   echo "$as_me: failed program was:" >&5
46447 sed 's/^/| /' conftest.$ac_ext >&5
46448
46449 eval "$as_ac_var=no"
46450 fi
46451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46452 fi
46453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46455 if test `eval echo '${'$as_ac_var'}'` = yes; then
46456   cat >>confdefs.h <<_ACEOF
46457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46458 _ACEOF
46459
46460 fi
46461 done
46462
46463   fi
46464
46465
46466   CXXFLAGS="$ac_save_CXXFLAGS"
46467
46468
46469     # For showmanyc_helper().
46470
46471
46472 for ac_header in sys/ioctl.h sys/filio.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_POLL+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 <poll.h>
46631 int
46632 main ()
46633 {
46634 struct pollfd pfd[1];
46635        pfd[0].events = POLLIN;
46636        poll(pfd, 1, 0);
46637   ;
46638   return 0;
46639 }
46640 _ACEOF
46641 rm -f conftest.$ac_objext conftest$ac_exeext
46642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46643   (eval $ac_link) 2>&5
46644   ac_status=$?
46645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646   (exit $ac_status); } &&
46647          { ac_try='test -s conftest$ac_exeext'
46648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46649   (eval $ac_try) 2>&5
46650   ac_status=$?
46651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652   (exit $ac_status); }; }; then
46653   glibcxx_cv_POLL=yes
46654 else
46655   echo "$as_me: failed program was:" >&5
46656 sed 's/^/| /' conftest.$ac_ext >&5
46657
46658 glibcxx_cv_POLL=no
46659 fi
46660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46661
46662 fi
46663
46664   if test $glibcxx_cv_POLL = yes; then
46665     cat >>confdefs.h <<\_ACEOF
46666 #define HAVE_POLL 1
46667 _ACEOF
46668
46669   fi
46670
46671
46672   if test "${glibcxx_cv_S_ISREG+set}" = set; then
46673   echo $ECHO_N "(cached) $ECHO_C" >&6
46674 else
46675
46676     if test x$gcc_no_link = xyes; then
46677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46679    { (exit 1); exit 1; }; }
46680 fi
46681 cat >conftest.$ac_ext <<_ACEOF
46682 #line $LINENO "configure"
46683 /* confdefs.h.  */
46684 _ACEOF
46685 cat confdefs.h >>conftest.$ac_ext
46686 cat >>conftest.$ac_ext <<_ACEOF
46687 /* end confdefs.h.  */
46688 #include <sys/stat.h>
46689 int
46690 main ()
46691 {
46692 struct stat buffer;
46693        fstat(0, &buffer);
46694        S_ISREG(buffer.st_mode);
46695   ;
46696   return 0;
46697 }
46698 _ACEOF
46699 rm -f conftest.$ac_objext conftest$ac_exeext
46700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46701   (eval $ac_link) 2>&5
46702   ac_status=$?
46703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46704   (exit $ac_status); } &&
46705          { ac_try='test -s conftest$ac_exeext'
46706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46707   (eval $ac_try) 2>&5
46708   ac_status=$?
46709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46710   (exit $ac_status); }; }; then
46711   glibcxx_cv_S_ISREG=yes
46712 else
46713   echo "$as_me: failed program was:" >&5
46714 sed 's/^/| /' conftest.$ac_ext >&5
46715
46716 glibcxx_cv_S_ISREG=no
46717 fi
46718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46719
46720 fi
46721
46722   if test "${glibcxx_cv_S_IFREG+set}" = set; then
46723   echo $ECHO_N "(cached) $ECHO_C" >&6
46724 else
46725
46726     if test x$gcc_no_link = xyes; then
46727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46729    { (exit 1); exit 1; }; }
46730 fi
46731 cat >conftest.$ac_ext <<_ACEOF
46732 #line $LINENO "configure"
46733 /* confdefs.h.  */
46734 _ACEOF
46735 cat confdefs.h >>conftest.$ac_ext
46736 cat >>conftest.$ac_ext <<_ACEOF
46737 /* end confdefs.h.  */
46738 #include <sys/stat.h>
46739 int
46740 main ()
46741 {
46742 struct stat buffer;
46743        fstat(0, &buffer);
46744        S_IFREG & buffer.st_mode;
46745   ;
46746   return 0;
46747 }
46748 _ACEOF
46749 rm -f conftest.$ac_objext conftest$ac_exeext
46750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46751   (eval $ac_link) 2>&5
46752   ac_status=$?
46753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754   (exit $ac_status); } &&
46755          { ac_try='test -s conftest$ac_exeext'
46756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46757   (eval $ac_try) 2>&5
46758   ac_status=$?
46759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760   (exit $ac_status); }; }; then
46761   glibcxx_cv_S_IFREG=yes
46762 else
46763   echo "$as_me: failed program was:" >&5
46764 sed 's/^/| /' conftest.$ac_ext >&5
46765
46766 glibcxx_cv_S_IFREG=no
46767 fi
46768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46769
46770 fi
46771
46772   if test $glibcxx_cv_S_ISREG = yes; then
46773     cat >>confdefs.h <<\_ACEOF
46774 #define HAVE_S_ISREG 1
46775 _ACEOF
46776
46777   elif test $glibcxx_cv_S_IFREG = yes; then
46778     cat >>confdefs.h <<\_ACEOF
46779 #define HAVE_S_IFREG 1
46780 _ACEOF
46781
46782   fi
46783
46784
46785     # For xsputn_2().
46786
46787 for ac_header in sys/uio.h
46788 do
46789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46791   echo "$as_me:$LINENO: checking for $ac_header" >&5
46792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46794   echo $ECHO_N "(cached) $ECHO_C" >&6
46795 fi
46796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46798 else
46799   # Is the header compilable?
46800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46802 cat >conftest.$ac_ext <<_ACEOF
46803 #line $LINENO "configure"
46804 /* confdefs.h.  */
46805 _ACEOF
46806 cat confdefs.h >>conftest.$ac_ext
46807 cat >>conftest.$ac_ext <<_ACEOF
46808 /* end confdefs.h.  */
46809 $ac_includes_default
46810 #include <$ac_header>
46811 _ACEOF
46812 rm -f conftest.$ac_objext
46813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46814   (eval $ac_compile) 2>&5
46815   ac_status=$?
46816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46817   (exit $ac_status); } &&
46818          { ac_try='test -s conftest.$ac_objext'
46819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46820   (eval $ac_try) 2>&5
46821   ac_status=$?
46822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823   (exit $ac_status); }; }; then
46824   ac_header_compiler=yes
46825 else
46826   echo "$as_me: failed program was:" >&5
46827 sed 's/^/| /' conftest.$ac_ext >&5
46828
46829 ac_header_compiler=no
46830 fi
46831 rm -f conftest.$ac_objext conftest.$ac_ext
46832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46833 echo "${ECHO_T}$ac_header_compiler" >&6
46834
46835 # Is the header present?
46836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46838 cat >conftest.$ac_ext <<_ACEOF
46839 #line $LINENO "configure"
46840 /* confdefs.h.  */
46841 _ACEOF
46842 cat confdefs.h >>conftest.$ac_ext
46843 cat >>conftest.$ac_ext <<_ACEOF
46844 /* end confdefs.h.  */
46845 #include <$ac_header>
46846 _ACEOF
46847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46848   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46849   ac_status=$?
46850   grep -v '^ *+' conftest.er1 >conftest.err
46851   rm -f conftest.er1
46852   cat conftest.err >&5
46853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854   (exit $ac_status); } >/dev/null; then
46855   if test -s conftest.err; then
46856     ac_cpp_err=$ac_c_preproc_warn_flag
46857   else
46858     ac_cpp_err=
46859   fi
46860 else
46861   ac_cpp_err=yes
46862 fi
46863 if test -z "$ac_cpp_err"; then
46864   ac_header_preproc=yes
46865 else
46866   echo "$as_me: failed program was:" >&5
46867 sed 's/^/| /' conftest.$ac_ext >&5
46868
46869   ac_header_preproc=no
46870 fi
46871 rm -f conftest.err conftest.$ac_ext
46872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46873 echo "${ECHO_T}$ac_header_preproc" >&6
46874
46875 # So?  What about this header?
46876 case $ac_header_compiler:$ac_header_preproc in
46877   yes:no )
46878     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46880     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46882     (
46883       cat <<\_ASBOX
46884 ## ------------------------------------ ##
46885 ## Report this to bug-autoconf@gnu.org. ##
46886 ## ------------------------------------ ##
46887 _ASBOX
46888     ) |
46889       sed "s/^/$as_me: WARNING:     /" >&2
46890     ;;
46891   no:yes )
46892     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46894     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46898     (
46899       cat <<\_ASBOX
46900 ## ------------------------------------ ##
46901 ## Report this to bug-autoconf@gnu.org. ##
46902 ## ------------------------------------ ##
46903 _ASBOX
46904     ) |
46905       sed "s/^/$as_me: WARNING:     /" >&2
46906     ;;
46907 esac
46908 echo "$as_me:$LINENO: checking for $ac_header" >&5
46909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46911   echo $ECHO_N "(cached) $ECHO_C" >&6
46912 else
46913   eval "$as_ac_Header=$ac_header_preproc"
46914 fi
46915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46917
46918 fi
46919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46920   cat >>confdefs.h <<_ACEOF
46921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46922 _ACEOF
46923
46924 fi
46925
46926 done
46927
46928
46929   if test "${glibcxx_cv_WRITEV+set}" = set; then
46930   echo $ECHO_N "(cached) $ECHO_C" >&6
46931 else
46932
46933     if test x$gcc_no_link = xyes; then
46934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46936    { (exit 1); exit 1; }; }
46937 fi
46938 cat >conftest.$ac_ext <<_ACEOF
46939 #line $LINENO "configure"
46940 /* confdefs.h.  */
46941 _ACEOF
46942 cat confdefs.h >>conftest.$ac_ext
46943 cat >>conftest.$ac_ext <<_ACEOF
46944 /* end confdefs.h.  */
46945 #include <sys/uio.h>
46946 int
46947 main ()
46948 {
46949 struct iovec iov[2];
46950        writev(0, iov, 0);
46951   ;
46952   return 0;
46953 }
46954 _ACEOF
46955 rm -f conftest.$ac_objext conftest$ac_exeext
46956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46957   (eval $ac_link) 2>&5
46958   ac_status=$?
46959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960   (exit $ac_status); } &&
46961          { ac_try='test -s conftest$ac_exeext'
46962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46963   (eval $ac_try) 2>&5
46964   ac_status=$?
46965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46966   (exit $ac_status); }; }; then
46967   glibcxx_cv_WRITEV=yes
46968 else
46969   echo "$as_me: failed program was:" >&5
46970 sed 's/^/| /' conftest.$ac_ext >&5
46971
46972 glibcxx_cv_WRITEV=no
46973 fi
46974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46975
46976 fi
46977
46978   if test $glibcxx_cv_WRITEV = yes; then
46979     cat >>confdefs.h <<\_ACEOF
46980 #define HAVE_WRITEV 1
46981 _ACEOF
46982
46983   fi
46984
46985
46986     cat >>confdefs.h <<\_ACEOF
46987 #define HAVE_LC_MESSAGES 1
46988 _ACEOF
46989
46990
46991     cat >conftest.$ac_ext <<_ACEOF
46992 #line $LINENO "configure"
46993 /* confdefs.h.  */
46994 _ACEOF
46995 cat confdefs.h >>conftest.$ac_ext
46996 cat >>conftest.$ac_ext <<_ACEOF
46997 /* end confdefs.h.  */
46998 #include <setjmp.h>
46999 int
47000 main ()
47001 {
47002 sigjmp_buf env;
47003        while (! sigsetjmp (env, 1))
47004          siglongjmp (env, 1);
47005
47006   ;
47007   return 0;
47008 }
47009 _ACEOF
47010 rm -f conftest.$ac_objext
47011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47012   (eval $ac_compile) 2>&5
47013   ac_status=$?
47014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47015   (exit $ac_status); } &&
47016          { ac_try='test -s conftest.$ac_objext'
47017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47018   (eval $ac_try) 2>&5
47019   ac_status=$?
47020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47021   (exit $ac_status); }; }; then
47022
47023 cat >>confdefs.h <<\_ACEOF
47024 #define HAVE_SIGSETJMP 1
47025 _ACEOF
47026
47027 else
47028   echo "$as_me: failed program was:" >&5
47029 sed 's/^/| /' conftest.$ac_ext >&5
47030
47031 fi
47032 rm -f conftest.$ac_objext conftest.$ac_ext
47033
47034     cat >>confdefs.h <<\_ACEOF
47035 #define HAVE_MMAP 1
47036 _ACEOF
47037
47038     ;;
47039
47040   *-freebsd*)
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
47058       machine/endian.h machine/param.h sys/machine.h sys/types.h \
47059       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
47060       sys/time.h unistd.h
47061 do
47062 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47064   echo "$as_me:$LINENO: checking for $ac_header" >&5
47065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47067   echo $ECHO_N "(cached) $ECHO_C" >&6
47068 fi
47069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47071 else
47072   # Is the header compilable?
47073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47075 cat >conftest.$ac_ext <<_ACEOF
47076 #line $LINENO "configure"
47077 /* confdefs.h.  */
47078 _ACEOF
47079 cat confdefs.h >>conftest.$ac_ext
47080 cat >>conftest.$ac_ext <<_ACEOF
47081 /* end confdefs.h.  */
47082 $ac_includes_default
47083 #include <$ac_header>
47084 _ACEOF
47085 rm -f conftest.$ac_objext
47086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47087   (eval $ac_compile) 2>&5
47088   ac_status=$?
47089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47090   (exit $ac_status); } &&
47091          { ac_try='test -s conftest.$ac_objext'
47092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47093   (eval $ac_try) 2>&5
47094   ac_status=$?
47095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47096   (exit $ac_status); }; }; then
47097   ac_header_compiler=yes
47098 else
47099   echo "$as_me: failed program was:" >&5
47100 sed 's/^/| /' conftest.$ac_ext >&5
47101
47102 ac_header_compiler=no
47103 fi
47104 rm -f conftest.$ac_objext conftest.$ac_ext
47105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47106 echo "${ECHO_T}$ac_header_compiler" >&6
47107
47108 # Is the header present?
47109 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47111 cat >conftest.$ac_ext <<_ACEOF
47112 #line $LINENO "configure"
47113 /* confdefs.h.  */
47114 _ACEOF
47115 cat confdefs.h >>conftest.$ac_ext
47116 cat >>conftest.$ac_ext <<_ACEOF
47117 /* end confdefs.h.  */
47118 #include <$ac_header>
47119 _ACEOF
47120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47121   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47122   ac_status=$?
47123   grep -v '^ *+' conftest.er1 >conftest.err
47124   rm -f conftest.er1
47125   cat conftest.err >&5
47126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127   (exit $ac_status); } >/dev/null; then
47128   if test -s conftest.err; then
47129     ac_cpp_err=$ac_c_preproc_warn_flag
47130   else
47131     ac_cpp_err=
47132   fi
47133 else
47134   ac_cpp_err=yes
47135 fi
47136 if test -z "$ac_cpp_err"; then
47137   ac_header_preproc=yes
47138 else
47139   echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47141
47142   ac_header_preproc=no
47143 fi
47144 rm -f conftest.err conftest.$ac_ext
47145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47146 echo "${ECHO_T}$ac_header_preproc" >&6
47147
47148 # So?  What about this header?
47149 case $ac_header_compiler:$ac_header_preproc in
47150   yes:no )
47151     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47153     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47155     (
47156       cat <<\_ASBOX
47157 ## ------------------------------------ ##
47158 ## Report this to bug-autoconf@gnu.org. ##
47159 ## ------------------------------------ ##
47160 _ASBOX
47161     ) |
47162       sed "s/^/$as_me: WARNING:     /" >&2
47163     ;;
47164   no:yes )
47165     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47167     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47169     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47171     (
47172       cat <<\_ASBOX
47173 ## ------------------------------------ ##
47174 ## Report this to bug-autoconf@gnu.org. ##
47175 ## ------------------------------------ ##
47176 _ASBOX
47177     ) |
47178       sed "s/^/$as_me: WARNING:     /" >&2
47179     ;;
47180 esac
47181 echo "$as_me:$LINENO: checking for $ac_header" >&5
47182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47184   echo $ECHO_N "(cached) $ECHO_C" >&6
47185 else
47186   eval "$as_ac_Header=$ac_header_preproc"
47187 fi
47188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47190
47191 fi
47192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47193   cat >>confdefs.h <<_ACEOF
47194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47195 _ACEOF
47196
47197 fi
47198
47199 done
47200
47201     SECTION_FLAGS='-ffunction-sections -fdata-sections'
47202
47203
47204   # If we're not using GNU ld, then there's no point in even trying these
47205   # tests.  Check for that first.  We should have already tested for gld
47206   # by now (in libtool), but require it now just to be safe...
47207   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47208   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47209
47210
47211
47212   # The name set by libtool depends on the version of libtool.  Shame on us
47213   # for depending on an impl detail, but c'est la vie.  Older versions used
47214   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47215   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47216   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47217   # set (hence we're using an older libtool), then set it.
47218   if test x${with_gnu_ld+set} != xset; then
47219     if test x${ac_cv_prog_gnu_ld+set} != xset; then
47220       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47221       with_gnu_ld=no
47222     else
47223       with_gnu_ld=$ac_cv_prog_gnu_ld
47224     fi
47225   fi
47226
47227   # Start by getting the version number.  I think the libtool test already
47228   # does some of this, but throws away the result.
47229
47230   ldver=`$LD --version 2>/dev/null | head -1 | \
47231          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
47232
47233   glibcxx_gnu_ld_version=`echo $ldver | \
47234          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47235
47236   # Set --gc-sections.
47237   if test "$with_gnu_ld" = "notbroken"; then
47238     # GNU ld it is!  Joy and bunny rabbits!
47239
47240     # All these tests are for C++; save the language and the compiler flags.
47241     # Need to do this so that g++ won't try to link in libstdc++
47242     ac_test_CFLAGS="${CFLAGS+set}"
47243     ac_save_CFLAGS="$CFLAGS"
47244     CFLAGS='-x c++  -Wl,--gc-sections'
47245
47246     # Check for -Wl,--gc-sections
47247     # XXX This test is broken at the moment, as symbols required for linking
47248     # are now in libsupc++ (not built yet).  In addition, this test has
47249     # cored on solaris in the past.  In addition, --gc-sections doesn't
47250     # really work at the moment (keeps on discarding used sections, first
47251     # .eh_frame and now some of the glibc sections for iconv).
47252     # Bzzzzt.  Thanks for playing, maybe next time.
47253     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
47254 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
47255     if test "$cross_compiling" = yes; then
47256   ac_sectionLDflags=yes
47257 else
47258   cat >conftest.$ac_ext <<_ACEOF
47259 #line $LINENO "configure"
47260 /* confdefs.h.  */
47261 _ACEOF
47262 cat confdefs.h >>conftest.$ac_ext
47263 cat >>conftest.$ac_ext <<_ACEOF
47264 /* end confdefs.h.  */
47265
47266      int main(void)
47267      {
47268        try { throw 1; }
47269        catch (...) { };
47270        return 0;
47271      }
47272
47273 _ACEOF
47274 rm -f conftest$ac_exeext
47275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47276   (eval $ac_link) 2>&5
47277   ac_status=$?
47278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47281   (eval $ac_try) 2>&5
47282   ac_status=$?
47283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47284   (exit $ac_status); }; }; then
47285   ac_sectionLDflags=yes
47286 else
47287   echo "$as_me: program exited with status $ac_status" >&5
47288 echo "$as_me: failed program was:" >&5
47289 sed 's/^/| /' conftest.$ac_ext >&5
47290
47291 ( exit $ac_status )
47292 ac_sectionLDflags=no
47293 fi
47294 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47295 fi
47296     if test "$ac_test_CFLAGS" = set; then
47297       CFLAGS="$ac_save_CFLAGS"
47298     else
47299       # this is the suspicious part
47300       CFLAGS=''
47301     fi
47302     if test "$ac_sectionLDflags" = "yes"; then
47303       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47304     fi
47305     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
47306 echo "${ECHO_T}$ac_sectionLDflags" >&6
47307   fi
47308
47309   # Set linker optimization flags.
47310   if test x"$with_gnu_ld" = x"yes"; then
47311     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47312   fi
47313
47314
47315
47316
47317
47318
47319 echo "$as_me:$LINENO: checking for main in -lm" >&5
47320 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47321 if test "${ac_cv_lib_m_main+set}" = set; then
47322   echo $ECHO_N "(cached) $ECHO_C" >&6
47323 else
47324   ac_check_lib_save_LIBS=$LIBS
47325 LIBS="-lm  $LIBS"
47326 if test x$gcc_no_link = xyes; then
47327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47329    { (exit 1); exit 1; }; }
47330 fi
47331 cat >conftest.$ac_ext <<_ACEOF
47332 #line $LINENO "configure"
47333 /* confdefs.h.  */
47334 _ACEOF
47335 cat confdefs.h >>conftest.$ac_ext
47336 cat >>conftest.$ac_ext <<_ACEOF
47337 /* end confdefs.h.  */
47338
47339
47340 int
47341 main ()
47342 {
47343 main ();
47344   ;
47345   return 0;
47346 }
47347 _ACEOF
47348 rm -f conftest.$ac_objext conftest$ac_exeext
47349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47350   (eval $ac_link) 2>&5
47351   ac_status=$?
47352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353   (exit $ac_status); } &&
47354          { ac_try='test -s conftest$ac_exeext'
47355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47356   (eval $ac_try) 2>&5
47357   ac_status=$?
47358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359   (exit $ac_status); }; }; then
47360   ac_cv_lib_m_main=yes
47361 else
47362   echo "$as_me: failed program was:" >&5
47363 sed 's/^/| /' conftest.$ac_ext >&5
47364
47365 ac_cv_lib_m_main=no
47366 fi
47367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47368 LIBS=$ac_check_lib_save_LIBS
47369 fi
47370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47371 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47372 if test $ac_cv_lib_m_main = yes; then
47373   cat >>confdefs.h <<_ACEOF
47374 #define HAVE_LIBM 1
47375 _ACEOF
47376
47377   LIBS="-lm $LIBS"
47378
47379 fi
47380
47381
47382
47383 for ac_func in nan copysignf
47384 do
47385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47386 echo "$as_me:$LINENO: checking for $ac_func" >&5
47387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47388 if eval "test \"\${$as_ac_var+set}\" = set"; then
47389   echo $ECHO_N "(cached) $ECHO_C" >&6
47390 else
47391   if test x$gcc_no_link = xyes; then
47392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47394    { (exit 1); exit 1; }; }
47395 fi
47396 cat >conftest.$ac_ext <<_ACEOF
47397 #line $LINENO "configure"
47398 /* confdefs.h.  */
47399 _ACEOF
47400 cat confdefs.h >>conftest.$ac_ext
47401 cat >>conftest.$ac_ext <<_ACEOF
47402 /* end confdefs.h.  */
47403 /* System header to define __stub macros and hopefully few prototypes,
47404     which can conflict with char $ac_func (); below.
47405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47406     <limits.h> exists even on freestanding compilers.  */
47407 #ifdef __STDC__
47408 # include <limits.h>
47409 #else
47410 # include <assert.h>
47411 #endif
47412 /* Override any gcc2 internal prototype to avoid an error.  */
47413 #ifdef __cplusplus
47414 extern "C"
47415 {
47416 #endif
47417 /* We use char because int might match the return type of a gcc2
47418    builtin and then its argument prototype would still apply.  */
47419 char $ac_func ();
47420 /* The GNU C library defines this for functions which it implements
47421     to always fail with ENOSYS.  Some functions are actually named
47422     something starting with __ and the normal name is an alias.  */
47423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47424 choke me
47425 #else
47426 char (*f) () = $ac_func;
47427 #endif
47428 #ifdef __cplusplus
47429 }
47430 #endif
47431
47432 int
47433 main ()
47434 {
47435 return f != $ac_func;
47436   ;
47437   return 0;
47438 }
47439 _ACEOF
47440 rm -f conftest.$ac_objext conftest$ac_exeext
47441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47442   (eval $ac_link) 2>&5
47443   ac_status=$?
47444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47445   (exit $ac_status); } &&
47446          { ac_try='test -s conftest$ac_exeext'
47447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47448   (eval $ac_try) 2>&5
47449   ac_status=$?
47450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47451   (exit $ac_status); }; }; then
47452   eval "$as_ac_var=yes"
47453 else
47454   echo "$as_me: failed program was:" >&5
47455 sed 's/^/| /' conftest.$ac_ext >&5
47456
47457 eval "$as_ac_var=no"
47458 fi
47459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47460 fi
47461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47463 if test `eval echo '${'$as_ac_var'}'` = yes; then
47464   cat >>confdefs.h <<_ACEOF
47465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47466 _ACEOF
47467
47468 else
47469   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47470 fi
47471 done
47472
47473
47474
47475 for ac_func in __signbit
47476 do
47477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47478 echo "$as_me:$LINENO: checking for $ac_func" >&5
47479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47480 if eval "test \"\${$as_ac_var+set}\" = set"; then
47481   echo $ECHO_N "(cached) $ECHO_C" >&6
47482 else
47483   if test x$gcc_no_link = xyes; then
47484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47486    { (exit 1); exit 1; }; }
47487 fi
47488 cat >conftest.$ac_ext <<_ACEOF
47489 #line $LINENO "configure"
47490 /* confdefs.h.  */
47491 _ACEOF
47492 cat confdefs.h >>conftest.$ac_ext
47493 cat >>conftest.$ac_ext <<_ACEOF
47494 /* end confdefs.h.  */
47495 /* System header to define __stub macros and hopefully few prototypes,
47496     which can conflict with char $ac_func (); below.
47497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47498     <limits.h> exists even on freestanding compilers.  */
47499 #ifdef __STDC__
47500 # include <limits.h>
47501 #else
47502 # include <assert.h>
47503 #endif
47504 /* Override any gcc2 internal prototype to avoid an error.  */
47505 #ifdef __cplusplus
47506 extern "C"
47507 {
47508 #endif
47509 /* We use char because int might match the return type of a gcc2
47510    builtin and then its argument prototype would still apply.  */
47511 char $ac_func ();
47512 /* The GNU C library defines this for functions which it implements
47513     to always fail with ENOSYS.  Some functions are actually named
47514     something starting with __ and the normal name is an alias.  */
47515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47516 choke me
47517 #else
47518 char (*f) () = $ac_func;
47519 #endif
47520 #ifdef __cplusplus
47521 }
47522 #endif
47523
47524 int
47525 main ()
47526 {
47527 return f != $ac_func;
47528   ;
47529   return 0;
47530 }
47531 _ACEOF
47532 rm -f conftest.$ac_objext conftest$ac_exeext
47533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47534   (eval $ac_link) 2>&5
47535   ac_status=$?
47536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537   (exit $ac_status); } &&
47538          { ac_try='test -s conftest$ac_exeext'
47539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47540   (eval $ac_try) 2>&5
47541   ac_status=$?
47542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543   (exit $ac_status); }; }; then
47544   eval "$as_ac_var=yes"
47545 else
47546   echo "$as_me: failed program was:" >&5
47547 sed 's/^/| /' conftest.$ac_ext >&5
47548
47549 eval "$as_ac_var=no"
47550 fi
47551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47552 fi
47553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47555 if test `eval echo '${'$as_ac_var'}'` = yes; then
47556   cat >>confdefs.h <<_ACEOF
47557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47558 _ACEOF
47559
47560 else
47561   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47562 fi
47563 done
47564
47565
47566 for ac_func in __signbitf
47567 do
47568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47569 echo "$as_me:$LINENO: checking for $ac_func" >&5
47570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47571 if eval "test \"\${$as_ac_var+set}\" = set"; then
47572   echo $ECHO_N "(cached) $ECHO_C" >&6
47573 else
47574   if test x$gcc_no_link = xyes; then
47575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47577    { (exit 1); exit 1; }; }
47578 fi
47579 cat >conftest.$ac_ext <<_ACEOF
47580 #line $LINENO "configure"
47581 /* confdefs.h.  */
47582 _ACEOF
47583 cat confdefs.h >>conftest.$ac_ext
47584 cat >>conftest.$ac_ext <<_ACEOF
47585 /* end confdefs.h.  */
47586 /* System header to define __stub macros and hopefully few prototypes,
47587     which can conflict with char $ac_func (); below.
47588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47589     <limits.h> exists even on freestanding compilers.  */
47590 #ifdef __STDC__
47591 # include <limits.h>
47592 #else
47593 # include <assert.h>
47594 #endif
47595 /* Override any gcc2 internal prototype to avoid an error.  */
47596 #ifdef __cplusplus
47597 extern "C"
47598 {
47599 #endif
47600 /* We use char because int might match the return type of a gcc2
47601    builtin and then its argument prototype would still apply.  */
47602 char $ac_func ();
47603 /* The GNU C library defines this for functions which it implements
47604     to always fail with ENOSYS.  Some functions are actually named
47605     something starting with __ and the normal name is an alias.  */
47606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47607 choke me
47608 #else
47609 char (*f) () = $ac_func;
47610 #endif
47611 #ifdef __cplusplus
47612 }
47613 #endif
47614
47615 int
47616 main ()
47617 {
47618 return f != $ac_func;
47619   ;
47620   return 0;
47621 }
47622 _ACEOF
47623 rm -f conftest.$ac_objext conftest$ac_exeext
47624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47625   (eval $ac_link) 2>&5
47626   ac_status=$?
47627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47628   (exit $ac_status); } &&
47629          { ac_try='test -s conftest$ac_exeext'
47630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47631   (eval $ac_try) 2>&5
47632   ac_status=$?
47633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47634   (exit $ac_status); }; }; then
47635   eval "$as_ac_var=yes"
47636 else
47637   echo "$as_me: failed program was:" >&5
47638 sed 's/^/| /' conftest.$ac_ext >&5
47639
47640 eval "$as_ac_var=no"
47641 fi
47642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47643 fi
47644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47646 if test `eval echo '${'$as_ac_var'}'` = yes; then
47647   cat >>confdefs.h <<_ACEOF
47648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47649 _ACEOF
47650
47651 else
47652   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47653 fi
47654 done
47655
47656
47657           if test x$ac_cv_func_copysignl = x"yes"; then
47658
47659 for ac_func in __signbitl
47660 do
47661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47662 echo "$as_me:$LINENO: checking for $ac_func" >&5
47663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47664 if eval "test \"\${$as_ac_var+set}\" = set"; then
47665   echo $ECHO_N "(cached) $ECHO_C" >&6
47666 else
47667   if test x$gcc_no_link = xyes; then
47668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47670    { (exit 1); exit 1; }; }
47671 fi
47672 cat >conftest.$ac_ext <<_ACEOF
47673 #line $LINENO "configure"
47674 /* confdefs.h.  */
47675 _ACEOF
47676 cat confdefs.h >>conftest.$ac_ext
47677 cat >>conftest.$ac_ext <<_ACEOF
47678 /* end confdefs.h.  */
47679 /* System header to define __stub macros and hopefully few prototypes,
47680     which can conflict with char $ac_func (); below.
47681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47682     <limits.h> exists even on freestanding compilers.  */
47683 #ifdef __STDC__
47684 # include <limits.h>
47685 #else
47686 # include <assert.h>
47687 #endif
47688 /* Override any gcc2 internal prototype to avoid an error.  */
47689 #ifdef __cplusplus
47690 extern "C"
47691 {
47692 #endif
47693 /* We use char because int might match the return type of a gcc2
47694    builtin and then its argument prototype would still apply.  */
47695 char $ac_func ();
47696 /* The GNU C library defines this for functions which it implements
47697     to always fail with ENOSYS.  Some functions are actually named
47698     something starting with __ and the normal name is an alias.  */
47699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47700 choke me
47701 #else
47702 char (*f) () = $ac_func;
47703 #endif
47704 #ifdef __cplusplus
47705 }
47706 #endif
47707
47708 int
47709 main ()
47710 {
47711 return f != $ac_func;
47712   ;
47713   return 0;
47714 }
47715 _ACEOF
47716 rm -f conftest.$ac_objext conftest$ac_exeext
47717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47718   (eval $ac_link) 2>&5
47719   ac_status=$?
47720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47721   (exit $ac_status); } &&
47722          { ac_try='test -s conftest$ac_exeext'
47723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47724   (eval $ac_try) 2>&5
47725   ac_status=$?
47726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47727   (exit $ac_status); }; }; then
47728   eval "$as_ac_var=yes"
47729 else
47730   echo "$as_me: failed program was:" >&5
47731 sed 's/^/| /' conftest.$ac_ext >&5
47732
47733 eval "$as_ac_var=no"
47734 fi
47735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47736 fi
47737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47739 if test `eval echo '${'$as_ac_var'}'` = yes; then
47740   cat >>confdefs.h <<_ACEOF
47741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47742 _ACEOF
47743
47744 else
47745   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47746 fi
47747 done
47748
47749   fi
47750
47751   # XXX Review this.  Nothing uses it.
47752   if test -n "$LIBMATHOBJS"; then
47753     need_libmath=yes
47754   fi
47755
47756
47757
47758   # Test wchar.h for mbstate_t, which is needed for char_traits and
47759   # others even if wchar_t support is not on.
47760   echo "$as_me:$LINENO: checking for mbstate_t" >&5
47761 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47762   cat >conftest.$ac_ext <<_ACEOF
47763 #line $LINENO "configure"
47764 /* confdefs.h.  */
47765 _ACEOF
47766 cat confdefs.h >>conftest.$ac_ext
47767 cat >>conftest.$ac_ext <<_ACEOF
47768 /* end confdefs.h.  */
47769 #include <wchar.h>
47770 int
47771 main ()
47772 {
47773 mbstate_t teststate;
47774   ;
47775   return 0;
47776 }
47777 _ACEOF
47778 rm -f conftest.$ac_objext
47779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47780   (eval $ac_compile) 2>&5
47781   ac_status=$?
47782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47783   (exit $ac_status); } &&
47784          { ac_try='test -s conftest.$ac_objext'
47785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47786   (eval $ac_try) 2>&5
47787   ac_status=$?
47788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789   (exit $ac_status); }; }; then
47790   have_mbstate_t=yes
47791 else
47792   echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47794
47795 have_mbstate_t=no
47796 fi
47797 rm -f conftest.$ac_objext conftest.$ac_ext
47798   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47799 echo "${ECHO_T}$have_mbstate_t" >&6
47800   if test x"$have_mbstate_t" = xyes; then
47801     cat >>confdefs.h <<\_ACEOF
47802 #define HAVE_MBSTATE_T 1
47803 _ACEOF
47804
47805   fi
47806
47807   # Sanity check for existence of ISO C99 headers for extended encoding.
47808
47809 for ac_header in wchar.h
47810 do
47811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47813   echo "$as_me:$LINENO: checking for $ac_header" >&5
47814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47816   echo $ECHO_N "(cached) $ECHO_C" >&6
47817 fi
47818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47820 else
47821   # Is the header compilable?
47822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47824 cat >conftest.$ac_ext <<_ACEOF
47825 #line $LINENO "configure"
47826 /* confdefs.h.  */
47827 _ACEOF
47828 cat confdefs.h >>conftest.$ac_ext
47829 cat >>conftest.$ac_ext <<_ACEOF
47830 /* end confdefs.h.  */
47831 $ac_includes_default
47832 #include <$ac_header>
47833 _ACEOF
47834 rm -f conftest.$ac_objext
47835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47836   (eval $ac_compile) 2>&5
47837   ac_status=$?
47838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839   (exit $ac_status); } &&
47840          { ac_try='test -s conftest.$ac_objext'
47841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47842   (eval $ac_try) 2>&5
47843   ac_status=$?
47844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47845   (exit $ac_status); }; }; then
47846   ac_header_compiler=yes
47847 else
47848   echo "$as_me: failed program was:" >&5
47849 sed 's/^/| /' conftest.$ac_ext >&5
47850
47851 ac_header_compiler=no
47852 fi
47853 rm -f conftest.$ac_objext conftest.$ac_ext
47854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47855 echo "${ECHO_T}$ac_header_compiler" >&6
47856
47857 # Is the header present?
47858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47860 cat >conftest.$ac_ext <<_ACEOF
47861 #line $LINENO "configure"
47862 /* confdefs.h.  */
47863 _ACEOF
47864 cat confdefs.h >>conftest.$ac_ext
47865 cat >>conftest.$ac_ext <<_ACEOF
47866 /* end confdefs.h.  */
47867 #include <$ac_header>
47868 _ACEOF
47869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47870   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47871   ac_status=$?
47872   grep -v '^ *+' conftest.er1 >conftest.err
47873   rm -f conftest.er1
47874   cat conftest.err >&5
47875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47876   (exit $ac_status); } >/dev/null; then
47877   if test -s conftest.err; then
47878     ac_cpp_err=$ac_c_preproc_warn_flag
47879   else
47880     ac_cpp_err=
47881   fi
47882 else
47883   ac_cpp_err=yes
47884 fi
47885 if test -z "$ac_cpp_err"; then
47886   ac_header_preproc=yes
47887 else
47888   echo "$as_me: failed program was:" >&5
47889 sed 's/^/| /' conftest.$ac_ext >&5
47890
47891   ac_header_preproc=no
47892 fi
47893 rm -f conftest.err conftest.$ac_ext
47894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47895 echo "${ECHO_T}$ac_header_preproc" >&6
47896
47897 # So?  What about this header?
47898 case $ac_header_compiler:$ac_header_preproc in
47899   yes:no )
47900     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47902     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47904     (
47905       cat <<\_ASBOX
47906 ## ------------------------------------ ##
47907 ## Report this to bug-autoconf@gnu.org. ##
47908 ## ------------------------------------ ##
47909 _ASBOX
47910     ) |
47911       sed "s/^/$as_me: WARNING:     /" >&2
47912     ;;
47913   no:yes )
47914     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47916     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47918     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47920     (
47921       cat <<\_ASBOX
47922 ## ------------------------------------ ##
47923 ## Report this to bug-autoconf@gnu.org. ##
47924 ## ------------------------------------ ##
47925 _ASBOX
47926     ) |
47927       sed "s/^/$as_me: WARNING:     /" >&2
47928     ;;
47929 esac
47930 echo "$as_me:$LINENO: checking for $ac_header" >&5
47931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47933   echo $ECHO_N "(cached) $ECHO_C" >&6
47934 else
47935   eval "$as_ac_Header=$ac_header_preproc"
47936 fi
47937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47939
47940 fi
47941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47942   cat >>confdefs.h <<_ACEOF
47943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47944 _ACEOF
47945  ac_has_wchar_h=yes
47946 else
47947   ac_has_wchar_h=no
47948 fi
47949
47950 done
47951
47952
47953 for ac_header in wctype.h
47954 do
47955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47957   echo "$as_me:$LINENO: checking for $ac_header" >&5
47958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47960   echo $ECHO_N "(cached) $ECHO_C" >&6
47961 fi
47962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47964 else
47965   # Is the header compilable?
47966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47968 cat >conftest.$ac_ext <<_ACEOF
47969 #line $LINENO "configure"
47970 /* confdefs.h.  */
47971 _ACEOF
47972 cat confdefs.h >>conftest.$ac_ext
47973 cat >>conftest.$ac_ext <<_ACEOF
47974 /* end confdefs.h.  */
47975 $ac_includes_default
47976 #include <$ac_header>
47977 _ACEOF
47978 rm -f conftest.$ac_objext
47979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47980   (eval $ac_compile) 2>&5
47981   ac_status=$?
47982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983   (exit $ac_status); } &&
47984          { ac_try='test -s conftest.$ac_objext'
47985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47986   (eval $ac_try) 2>&5
47987   ac_status=$?
47988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47989   (exit $ac_status); }; }; then
47990   ac_header_compiler=yes
47991 else
47992   echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.$ac_ext >&5
47994
47995 ac_header_compiler=no
47996 fi
47997 rm -f conftest.$ac_objext conftest.$ac_ext
47998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47999 echo "${ECHO_T}$ac_header_compiler" >&6
48000
48001 # Is the header present?
48002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48004 cat >conftest.$ac_ext <<_ACEOF
48005 #line $LINENO "configure"
48006 /* confdefs.h.  */
48007 _ACEOF
48008 cat confdefs.h >>conftest.$ac_ext
48009 cat >>conftest.$ac_ext <<_ACEOF
48010 /* end confdefs.h.  */
48011 #include <$ac_header>
48012 _ACEOF
48013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48014   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48015   ac_status=$?
48016   grep -v '^ *+' conftest.er1 >conftest.err
48017   rm -f conftest.er1
48018   cat conftest.err >&5
48019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020   (exit $ac_status); } >/dev/null; then
48021   if test -s conftest.err; then
48022     ac_cpp_err=$ac_c_preproc_warn_flag
48023   else
48024     ac_cpp_err=
48025   fi
48026 else
48027   ac_cpp_err=yes
48028 fi
48029 if test -z "$ac_cpp_err"; then
48030   ac_header_preproc=yes
48031 else
48032   echo "$as_me: failed program was:" >&5
48033 sed 's/^/| /' conftest.$ac_ext >&5
48034
48035   ac_header_preproc=no
48036 fi
48037 rm -f conftest.err conftest.$ac_ext
48038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48039 echo "${ECHO_T}$ac_header_preproc" >&6
48040
48041 # So?  What about this header?
48042 case $ac_header_compiler:$ac_header_preproc in
48043   yes:no )
48044     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48046     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48048     (
48049       cat <<\_ASBOX
48050 ## ------------------------------------ ##
48051 ## Report this to bug-autoconf@gnu.org. ##
48052 ## ------------------------------------ ##
48053 _ASBOX
48054     ) |
48055       sed "s/^/$as_me: WARNING:     /" >&2
48056     ;;
48057   no:yes )
48058     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48060     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48062     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48064     (
48065       cat <<\_ASBOX
48066 ## ------------------------------------ ##
48067 ## Report this to bug-autoconf@gnu.org. ##
48068 ## ------------------------------------ ##
48069 _ASBOX
48070     ) |
48071       sed "s/^/$as_me: WARNING:     /" >&2
48072     ;;
48073 esac
48074 echo "$as_me:$LINENO: checking for $ac_header" >&5
48075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48077   echo $ECHO_N "(cached) $ECHO_C" >&6
48078 else
48079   eval "$as_ac_Header=$ac_header_preproc"
48080 fi
48081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48083
48084 fi
48085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48086   cat >>confdefs.h <<_ACEOF
48087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48088 _ACEOF
48089  ac_has_wctype_h=yes
48090 else
48091   ac_has_wctype_h=no
48092 fi
48093
48094 done
48095
48096
48097   # Only continue checking if the ISO C99 headers exist and support is on.
48098   if test x"$ac_has_wchar_h" = xyes &&
48099      test x"$ac_has_wctype_h" = xyes &&
48100      test x"$enable_c_mbchar" != xno; then
48101
48102     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
48103     # numeric_limits can instantiate type_traits<wchar_t>
48104     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
48105 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
48106     cat >conftest.$ac_ext <<_ACEOF
48107 #line $LINENO "configure"
48108 /* confdefs.h.  */
48109 _ACEOF
48110 cat confdefs.h >>conftest.$ac_ext
48111 cat >>conftest.$ac_ext <<_ACEOF
48112 /* end confdefs.h.  */
48113 #include <wchar.h>
48114 int
48115 main ()
48116 {
48117 int i = WCHAR_MIN; int j = WCHAR_MAX;
48118   ;
48119   return 0;
48120 }
48121 _ACEOF
48122 rm -f conftest.$ac_objext
48123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48124   (eval $ac_compile) 2>&5
48125   ac_status=$?
48126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48127   (exit $ac_status); } &&
48128          { ac_try='test -s conftest.$ac_objext'
48129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48130   (eval $ac_try) 2>&5
48131   ac_status=$?
48132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48133   (exit $ac_status); }; }; then
48134   has_wchar_minmax=yes
48135 else
48136   echo "$as_me: failed program was:" >&5
48137 sed 's/^/| /' conftest.$ac_ext >&5
48138
48139 has_wchar_minmax=no
48140 fi
48141 rm -f conftest.$ac_objext conftest.$ac_ext
48142     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
48143 echo "${ECHO_T}$has_wchar_minmax" >&6
48144
48145     # Test wchar.h for WEOF, which is what we use to determine whether
48146     # to specialize for char_traits<wchar_t> or not.
48147     echo "$as_me:$LINENO: checking for WEOF" >&5
48148 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
48149     cat >conftest.$ac_ext <<_ACEOF
48150 #line $LINENO "configure"
48151 /* confdefs.h.  */
48152 _ACEOF
48153 cat confdefs.h >>conftest.$ac_ext
48154 cat >>conftest.$ac_ext <<_ACEOF
48155 /* end confdefs.h.  */
48156
48157       #include <wchar.h>
48158       #include <stddef.h>
48159 int
48160 main ()
48161 {
48162 wint_t i = WEOF;
48163   ;
48164   return 0;
48165 }
48166 _ACEOF
48167 rm -f conftest.$ac_objext
48168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48169   (eval $ac_compile) 2>&5
48170   ac_status=$?
48171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48172   (exit $ac_status); } &&
48173          { ac_try='test -s conftest.$ac_objext'
48174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48175   (eval $ac_try) 2>&5
48176   ac_status=$?
48177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48178   (exit $ac_status); }; }; then
48179   has_weof=yes
48180 else
48181   echo "$as_me: failed program was:" >&5
48182 sed 's/^/| /' conftest.$ac_ext >&5
48183
48184 has_weof=no
48185 fi
48186 rm -f conftest.$ac_objext conftest.$ac_ext
48187     echo "$as_me:$LINENO: result: $has_weof" >&5
48188 echo "${ECHO_T}$has_weof" >&6
48189
48190     # Tests for wide character functions used in char_traits<wchar_t>.
48191     ac_wfuncs=yes
48192
48193
48194
48195
48196
48197
48198 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
48199 do
48200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48201 echo "$as_me:$LINENO: checking for $ac_func" >&5
48202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48203 if eval "test \"\${$as_ac_var+set}\" = set"; then
48204   echo $ECHO_N "(cached) $ECHO_C" >&6
48205 else
48206   if test x$gcc_no_link = xyes; then
48207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48209    { (exit 1); exit 1; }; }
48210 fi
48211 cat >conftest.$ac_ext <<_ACEOF
48212 #line $LINENO "configure"
48213 /* confdefs.h.  */
48214 _ACEOF
48215 cat confdefs.h >>conftest.$ac_ext
48216 cat >>conftest.$ac_ext <<_ACEOF
48217 /* end confdefs.h.  */
48218 /* System header to define __stub macros and hopefully few prototypes,
48219     which can conflict with char $ac_func (); below.
48220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48221     <limits.h> exists even on freestanding compilers.  */
48222 #ifdef __STDC__
48223 # include <limits.h>
48224 #else
48225 # include <assert.h>
48226 #endif
48227 /* Override any gcc2 internal prototype to avoid an error.  */
48228 #ifdef __cplusplus
48229 extern "C"
48230 {
48231 #endif
48232 /* We use char because int might match the return type of a gcc2
48233    builtin and then its argument prototype would still apply.  */
48234 char $ac_func ();
48235 /* The GNU C library defines this for functions which it implements
48236     to always fail with ENOSYS.  Some functions are actually named
48237     something starting with __ and the normal name is an alias.  */
48238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48239 choke me
48240 #else
48241 char (*f) () = $ac_func;
48242 #endif
48243 #ifdef __cplusplus
48244 }
48245 #endif
48246
48247 int
48248 main ()
48249 {
48250 return f != $ac_func;
48251   ;
48252   return 0;
48253 }
48254 _ACEOF
48255 rm -f conftest.$ac_objext conftest$ac_exeext
48256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48257   (eval $ac_link) 2>&5
48258   ac_status=$?
48259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48260   (exit $ac_status); } &&
48261          { ac_try='test -s conftest$ac_exeext'
48262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48263   (eval $ac_try) 2>&5
48264   ac_status=$?
48265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48266   (exit $ac_status); }; }; then
48267   eval "$as_ac_var=yes"
48268 else
48269   echo "$as_me: failed program was:" >&5
48270 sed 's/^/| /' conftest.$ac_ext >&5
48271
48272 eval "$as_ac_var=no"
48273 fi
48274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48275 fi
48276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48278 if test `eval echo '${'$as_ac_var'}'` = yes; then
48279   cat >>confdefs.h <<_ACEOF
48280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48281 _ACEOF
48282
48283 else
48284   ac_wfuncs=no
48285 fi
48286 done
48287
48288
48289     # Checks for names injected into std:: by the c_std headers.
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48337     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
48338     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48339     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
48340     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48341     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48342 do
48343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48344 echo "$as_me:$LINENO: checking for $ac_func" >&5
48345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48346 if eval "test \"\${$as_ac_var+set}\" = set"; then
48347   echo $ECHO_N "(cached) $ECHO_C" >&6
48348 else
48349   if test x$gcc_no_link = xyes; then
48350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48352    { (exit 1); exit 1; }; }
48353 fi
48354 cat >conftest.$ac_ext <<_ACEOF
48355 #line $LINENO "configure"
48356 /* confdefs.h.  */
48357 _ACEOF
48358 cat confdefs.h >>conftest.$ac_ext
48359 cat >>conftest.$ac_ext <<_ACEOF
48360 /* end confdefs.h.  */
48361 /* System header to define __stub macros and hopefully few prototypes,
48362     which can conflict with char $ac_func (); below.
48363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48364     <limits.h> exists even on freestanding compilers.  */
48365 #ifdef __STDC__
48366 # include <limits.h>
48367 #else
48368 # include <assert.h>
48369 #endif
48370 /* Override any gcc2 internal prototype to avoid an error.  */
48371 #ifdef __cplusplus
48372 extern "C"
48373 {
48374 #endif
48375 /* We use char because int might match the return type of a gcc2
48376    builtin and then its argument prototype would still apply.  */
48377 char $ac_func ();
48378 /* The GNU C library defines this for functions which it implements
48379     to always fail with ENOSYS.  Some functions are actually named
48380     something starting with __ and the normal name is an alias.  */
48381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48382 choke me
48383 #else
48384 char (*f) () = $ac_func;
48385 #endif
48386 #ifdef __cplusplus
48387 }
48388 #endif
48389
48390 int
48391 main ()
48392 {
48393 return f != $ac_func;
48394   ;
48395   return 0;
48396 }
48397 _ACEOF
48398 rm -f conftest.$ac_objext conftest$ac_exeext
48399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48400   (eval $ac_link) 2>&5
48401   ac_status=$?
48402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48403   (exit $ac_status); } &&
48404          { ac_try='test -s conftest$ac_exeext'
48405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48406   (eval $ac_try) 2>&5
48407   ac_status=$?
48408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48409   (exit $ac_status); }; }; then
48410   eval "$as_ac_var=yes"
48411 else
48412   echo "$as_me: failed program was:" >&5
48413 sed 's/^/| /' conftest.$ac_ext >&5
48414
48415 eval "$as_ac_var=no"
48416 fi
48417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48418 fi
48419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48421 if test `eval echo '${'$as_ac_var'}'` = yes; then
48422   cat >>confdefs.h <<_ACEOF
48423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48424 _ACEOF
48425
48426 else
48427   ac_wfuncs=no
48428 fi
48429 done
48430
48431
48432     # Checks for wide character functions that are not required
48433     # for basic wchar_t support.  Don't disable support if they are missing.
48434     # Injection of these is wrapped with guard macros.
48435
48436
48437
48438
48439
48440 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
48441 do
48442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48443 echo "$as_me:$LINENO: checking for $ac_func" >&5
48444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48445 if eval "test \"\${$as_ac_var+set}\" = set"; then
48446   echo $ECHO_N "(cached) $ECHO_C" >&6
48447 else
48448   if test x$gcc_no_link = xyes; then
48449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48451    { (exit 1); exit 1; }; }
48452 fi
48453 cat >conftest.$ac_ext <<_ACEOF
48454 #line $LINENO "configure"
48455 /* confdefs.h.  */
48456 _ACEOF
48457 cat confdefs.h >>conftest.$ac_ext
48458 cat >>conftest.$ac_ext <<_ACEOF
48459 /* end confdefs.h.  */
48460 /* System header to define __stub macros and hopefully few prototypes,
48461     which can conflict with char $ac_func (); below.
48462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48463     <limits.h> exists even on freestanding compilers.  */
48464 #ifdef __STDC__
48465 # include <limits.h>
48466 #else
48467 # include <assert.h>
48468 #endif
48469 /* Override any gcc2 internal prototype to avoid an error.  */
48470 #ifdef __cplusplus
48471 extern "C"
48472 {
48473 #endif
48474 /* We use char because int might match the return type of a gcc2
48475    builtin and then its argument prototype would still apply.  */
48476 char $ac_func ();
48477 /* The GNU C library defines this for functions which it implements
48478     to always fail with ENOSYS.  Some functions are actually named
48479     something starting with __ and the normal name is an alias.  */
48480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48481 choke me
48482 #else
48483 char (*f) () = $ac_func;
48484 #endif
48485 #ifdef __cplusplus
48486 }
48487 #endif
48488
48489 int
48490 main ()
48491 {
48492 return f != $ac_func;
48493   ;
48494   return 0;
48495 }
48496 _ACEOF
48497 rm -f conftest.$ac_objext conftest$ac_exeext
48498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48499   (eval $ac_link) 2>&5
48500   ac_status=$?
48501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48502   (exit $ac_status); } &&
48503          { ac_try='test -s conftest$ac_exeext'
48504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48505   (eval $ac_try) 2>&5
48506   ac_status=$?
48507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48508   (exit $ac_status); }; }; then
48509   eval "$as_ac_var=yes"
48510 else
48511   echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.$ac_ext >&5
48513
48514 eval "$as_ac_var=no"
48515 fi
48516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48517 fi
48518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48520 if test `eval echo '${'$as_ac_var'}'` = yes; then
48521   cat >>confdefs.h <<_ACEOF
48522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48523 _ACEOF
48524
48525 fi
48526 done
48527
48528
48529     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48530 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48531     if test x"$has_weof" = xyes &&
48532        test x"$has_wchar_minmax" = xyes &&
48533        test x"$ac_wfuncs" = xyes;
48534     then
48535       ac_isoC99_wchar_t=yes
48536     else
48537       ac_isoC99_wchar_t=no
48538     fi
48539     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48540 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48541
48542     # Use iconv for wchar_t to char conversions. As such, check for
48543     # X/Open Portability Guide, version 2 features (XPG2).
48544     if test "${ac_cv_header_iconv_h+set}" = set; then
48545   echo "$as_me:$LINENO: checking for iconv.h" >&5
48546 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48547 if test "${ac_cv_header_iconv_h+set}" = set; then
48548   echo $ECHO_N "(cached) $ECHO_C" >&6
48549 fi
48550 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48551 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48552 else
48553   # Is the header compilable?
48554 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48555 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48556 cat >conftest.$ac_ext <<_ACEOF
48557 #line $LINENO "configure"
48558 /* confdefs.h.  */
48559 _ACEOF
48560 cat confdefs.h >>conftest.$ac_ext
48561 cat >>conftest.$ac_ext <<_ACEOF
48562 /* end confdefs.h.  */
48563 $ac_includes_default
48564 #include <iconv.h>
48565 _ACEOF
48566 rm -f conftest.$ac_objext
48567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48568   (eval $ac_compile) 2>&5
48569   ac_status=$?
48570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48571   (exit $ac_status); } &&
48572          { ac_try='test -s conftest.$ac_objext'
48573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48574   (eval $ac_try) 2>&5
48575   ac_status=$?
48576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48577   (exit $ac_status); }; }; then
48578   ac_header_compiler=yes
48579 else
48580   echo "$as_me: failed program was:" >&5
48581 sed 's/^/| /' conftest.$ac_ext >&5
48582
48583 ac_header_compiler=no
48584 fi
48585 rm -f conftest.$ac_objext conftest.$ac_ext
48586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48587 echo "${ECHO_T}$ac_header_compiler" >&6
48588
48589 # Is the header present?
48590 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48591 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48592 cat >conftest.$ac_ext <<_ACEOF
48593 #line $LINENO "configure"
48594 /* confdefs.h.  */
48595 _ACEOF
48596 cat confdefs.h >>conftest.$ac_ext
48597 cat >>conftest.$ac_ext <<_ACEOF
48598 /* end confdefs.h.  */
48599 #include <iconv.h>
48600 _ACEOF
48601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48602   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48603   ac_status=$?
48604   grep -v '^ *+' conftest.er1 >conftest.err
48605   rm -f conftest.er1
48606   cat conftest.err >&5
48607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48608   (exit $ac_status); } >/dev/null; then
48609   if test -s conftest.err; then
48610     ac_cpp_err=$ac_c_preproc_warn_flag
48611   else
48612     ac_cpp_err=
48613   fi
48614 else
48615   ac_cpp_err=yes
48616 fi
48617 if test -z "$ac_cpp_err"; then
48618   ac_header_preproc=yes
48619 else
48620   echo "$as_me: failed program was:" >&5
48621 sed 's/^/| /' conftest.$ac_ext >&5
48622
48623   ac_header_preproc=no
48624 fi
48625 rm -f conftest.err conftest.$ac_ext
48626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48627 echo "${ECHO_T}$ac_header_preproc" >&6
48628
48629 # So?  What about this header?
48630 case $ac_header_compiler:$ac_header_preproc in
48631   yes:no )
48632     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48633 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48634     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48635 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48636     (
48637       cat <<\_ASBOX
48638 ## ------------------------------------ ##
48639 ## Report this to bug-autoconf@gnu.org. ##
48640 ## ------------------------------------ ##
48641 _ASBOX
48642     ) |
48643       sed "s/^/$as_me: WARNING:     /" >&2
48644     ;;
48645   no:yes )
48646     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48647 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48648     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48649 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48650     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48651 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48652     (
48653       cat <<\_ASBOX
48654 ## ------------------------------------ ##
48655 ## Report this to bug-autoconf@gnu.org. ##
48656 ## ------------------------------------ ##
48657 _ASBOX
48658     ) |
48659       sed "s/^/$as_me: WARNING:     /" >&2
48660     ;;
48661 esac
48662 echo "$as_me:$LINENO: checking for iconv.h" >&5
48663 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48664 if test "${ac_cv_header_iconv_h+set}" = set; then
48665   echo $ECHO_N "(cached) $ECHO_C" >&6
48666 else
48667   ac_cv_header_iconv_h=$ac_header_preproc
48668 fi
48669 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48670 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48671
48672 fi
48673 if test $ac_cv_header_iconv_h = yes; then
48674   ac_has_iconv_h=yes
48675 else
48676   ac_has_iconv_h=no
48677 fi
48678
48679
48680     if test "${ac_cv_header_langinfo_h+set}" = set; then
48681   echo "$as_me:$LINENO: checking for langinfo.h" >&5
48682 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48683 if test "${ac_cv_header_langinfo_h+set}" = set; then
48684   echo $ECHO_N "(cached) $ECHO_C" >&6
48685 fi
48686 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48687 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48688 else
48689   # Is the header compilable?
48690 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48691 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48692 cat >conftest.$ac_ext <<_ACEOF
48693 #line $LINENO "configure"
48694 /* confdefs.h.  */
48695 _ACEOF
48696 cat confdefs.h >>conftest.$ac_ext
48697 cat >>conftest.$ac_ext <<_ACEOF
48698 /* end confdefs.h.  */
48699 $ac_includes_default
48700 #include <langinfo.h>
48701 _ACEOF
48702 rm -f conftest.$ac_objext
48703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48704   (eval $ac_compile) 2>&5
48705   ac_status=$?
48706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48707   (exit $ac_status); } &&
48708          { ac_try='test -s conftest.$ac_objext'
48709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48710   (eval $ac_try) 2>&5
48711   ac_status=$?
48712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713   (exit $ac_status); }; }; then
48714   ac_header_compiler=yes
48715 else
48716   echo "$as_me: failed program was:" >&5
48717 sed 's/^/| /' conftest.$ac_ext >&5
48718
48719 ac_header_compiler=no
48720 fi
48721 rm -f conftest.$ac_objext conftest.$ac_ext
48722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48723 echo "${ECHO_T}$ac_header_compiler" >&6
48724
48725 # Is the header present?
48726 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48727 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48728 cat >conftest.$ac_ext <<_ACEOF
48729 #line $LINENO "configure"
48730 /* confdefs.h.  */
48731 _ACEOF
48732 cat confdefs.h >>conftest.$ac_ext
48733 cat >>conftest.$ac_ext <<_ACEOF
48734 /* end confdefs.h.  */
48735 #include <langinfo.h>
48736 _ACEOF
48737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48738   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48739   ac_status=$?
48740   grep -v '^ *+' conftest.er1 >conftest.err
48741   rm -f conftest.er1
48742   cat conftest.err >&5
48743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744   (exit $ac_status); } >/dev/null; then
48745   if test -s conftest.err; then
48746     ac_cpp_err=$ac_c_preproc_warn_flag
48747   else
48748     ac_cpp_err=
48749   fi
48750 else
48751   ac_cpp_err=yes
48752 fi
48753 if test -z "$ac_cpp_err"; then
48754   ac_header_preproc=yes
48755 else
48756   echo "$as_me: failed program was:" >&5
48757 sed 's/^/| /' conftest.$ac_ext >&5
48758
48759   ac_header_preproc=no
48760 fi
48761 rm -f conftest.err conftest.$ac_ext
48762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48763 echo "${ECHO_T}$ac_header_preproc" >&6
48764
48765 # So?  What about this header?
48766 case $ac_header_compiler:$ac_header_preproc in
48767   yes:no )
48768     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48769 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48770     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48771 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48772     (
48773       cat <<\_ASBOX
48774 ## ------------------------------------ ##
48775 ## Report this to bug-autoconf@gnu.org. ##
48776 ## ------------------------------------ ##
48777 _ASBOX
48778     ) |
48779       sed "s/^/$as_me: WARNING:     /" >&2
48780     ;;
48781   no:yes )
48782     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48783 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48784     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48785 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48786     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48787 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48788     (
48789       cat <<\_ASBOX
48790 ## ------------------------------------ ##
48791 ## Report this to bug-autoconf@gnu.org. ##
48792 ## ------------------------------------ ##
48793 _ASBOX
48794     ) |
48795       sed "s/^/$as_me: WARNING:     /" >&2
48796     ;;
48797 esac
48798 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48799 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48800 if test "${ac_cv_header_langinfo_h+set}" = set; then
48801   echo $ECHO_N "(cached) $ECHO_C" >&6
48802 else
48803   ac_cv_header_langinfo_h=$ac_header_preproc
48804 fi
48805 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48806 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48807
48808 fi
48809 if test $ac_cv_header_langinfo_h = yes; then
48810   ac_has_langinfo_h=yes
48811 else
48812   ac_has_langinfo_h=no
48813 fi
48814
48815
48816
48817     # Check for existence of libiconv.a providing XPG2 wchar_t support.
48818     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48819 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48820 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48821   echo $ECHO_N "(cached) $ECHO_C" >&6
48822 else
48823   ac_check_lib_save_LIBS=$LIBS
48824 LIBS="-liconv  $LIBS"
48825 if test x$gcc_no_link = xyes; then
48826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48828    { (exit 1); exit 1; }; }
48829 fi
48830 cat >conftest.$ac_ext <<_ACEOF
48831 #line $LINENO "configure"
48832 /* confdefs.h.  */
48833 _ACEOF
48834 cat confdefs.h >>conftest.$ac_ext
48835 cat >>conftest.$ac_ext <<_ACEOF
48836 /* end confdefs.h.  */
48837
48838 /* Override any gcc2 internal prototype to avoid an error.  */
48839 #ifdef __cplusplus
48840 extern "C"
48841 #endif
48842 /* We use char because int might match the return type of a gcc2
48843    builtin and then its argument prototype would still apply.  */
48844 char iconv ();
48845 int
48846 main ()
48847 {
48848 iconv ();
48849   ;
48850   return 0;
48851 }
48852 _ACEOF
48853 rm -f conftest.$ac_objext conftest$ac_exeext
48854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48855   (eval $ac_link) 2>&5
48856   ac_status=$?
48857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48858   (exit $ac_status); } &&
48859          { ac_try='test -s conftest$ac_exeext'
48860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48861   (eval $ac_try) 2>&5
48862   ac_status=$?
48863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864   (exit $ac_status); }; }; then
48865   ac_cv_lib_iconv_iconv=yes
48866 else
48867   echo "$as_me: failed program was:" >&5
48868 sed 's/^/| /' conftest.$ac_ext >&5
48869
48870 ac_cv_lib_iconv_iconv=no
48871 fi
48872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48873 LIBS=$ac_check_lib_save_LIBS
48874 fi
48875 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48876 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48877 if test $ac_cv_lib_iconv_iconv = yes; then
48878   libiconv="-liconv"
48879 fi
48880
48881     ac_save_LIBS="$LIBS"
48882     LIBS="$LIBS $libiconv"
48883
48884
48885
48886
48887
48888 for ac_func in iconv_open iconv_close iconv nl_langinfo
48889 do
48890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48891 echo "$as_me:$LINENO: checking for $ac_func" >&5
48892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48893 if eval "test \"\${$as_ac_var+set}\" = set"; then
48894   echo $ECHO_N "(cached) $ECHO_C" >&6
48895 else
48896   if test x$gcc_no_link = xyes; then
48897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48899    { (exit 1); exit 1; }; }
48900 fi
48901 cat >conftest.$ac_ext <<_ACEOF
48902 #line $LINENO "configure"
48903 /* confdefs.h.  */
48904 _ACEOF
48905 cat confdefs.h >>conftest.$ac_ext
48906 cat >>conftest.$ac_ext <<_ACEOF
48907 /* end confdefs.h.  */
48908 /* System header to define __stub macros and hopefully few prototypes,
48909     which can conflict with char $ac_func (); below.
48910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48911     <limits.h> exists even on freestanding compilers.  */
48912 #ifdef __STDC__
48913 # include <limits.h>
48914 #else
48915 # include <assert.h>
48916 #endif
48917 /* Override any gcc2 internal prototype to avoid an error.  */
48918 #ifdef __cplusplus
48919 extern "C"
48920 {
48921 #endif
48922 /* We use char because int might match the return type of a gcc2
48923    builtin and then its argument prototype would still apply.  */
48924 char $ac_func ();
48925 /* The GNU C library defines this for functions which it implements
48926     to always fail with ENOSYS.  Some functions are actually named
48927     something starting with __ and the normal name is an alias.  */
48928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48929 choke me
48930 #else
48931 char (*f) () = $ac_func;
48932 #endif
48933 #ifdef __cplusplus
48934 }
48935 #endif
48936
48937 int
48938 main ()
48939 {
48940 return f != $ac_func;
48941   ;
48942   return 0;
48943 }
48944 _ACEOF
48945 rm -f conftest.$ac_objext conftest$ac_exeext
48946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48947   (eval $ac_link) 2>&5
48948   ac_status=$?
48949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950   (exit $ac_status); } &&
48951          { ac_try='test -s conftest$ac_exeext'
48952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48953   (eval $ac_try) 2>&5
48954   ac_status=$?
48955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48956   (exit $ac_status); }; }; then
48957   eval "$as_ac_var=yes"
48958 else
48959   echo "$as_me: failed program was:" >&5
48960 sed 's/^/| /' conftest.$ac_ext >&5
48961
48962 eval "$as_ac_var=no"
48963 fi
48964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48965 fi
48966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48968 if test `eval echo '${'$as_ac_var'}'` = yes; then
48969   cat >>confdefs.h <<_ACEOF
48970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48971 _ACEOF
48972  ac_XPG2funcs=yes
48973 else
48974   ac_XPG2funcs=no
48975 fi
48976 done
48977
48978
48979     LIBS="$ac_save_LIBS"
48980
48981     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48982 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48983     if test x"$ac_has_iconv_h" = xyes &&
48984        test x"$ac_has_langinfo_h" = xyes &&
48985        test x"$ac_XPG2funcs" = xyes;
48986     then
48987       ac_XPG2_wchar_t=yes
48988     else
48989       ac_XPG2_wchar_t=no
48990     fi
48991     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48992 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48993
48994     # At the moment, only enable wchar_t specializations if all the
48995     # above support is present.
48996     if test x"$ac_isoC99_wchar_t" = xyes &&
48997        test x"$ac_XPG2_wchar_t" = xyes;
48998     then
48999       cat >>confdefs.h <<\_ACEOF
49000 #define _GLIBCXX_USE_WCHAR_T 1
49001 _ACEOF
49002
49003       enable_wchar_t=yes
49004     fi
49005   fi
49006   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
49007 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
49008   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
49009 echo "${ECHO_T}$enable_wchar_t" >&6
49010
49011     cat >>confdefs.h <<\_ACEOF
49012 #define HAVE_LC_MESSAGES 1
49013 _ACEOF
49014
49015     cat >>confdefs.h <<\_ACEOF
49016 #define HAVE_LRAND48 1
49017 _ACEOF
49018
49019     cat >>confdefs.h <<\_ACEOF
49020 #define HAVE_GETPAGESIZE 1
49021 _ACEOF
49022
49023     cat >>confdefs.h <<\_ACEOF
49024 #define HAVE_SETENV 1
49025 _ACEOF
49026
49027     cat >>confdefs.h <<\_ACEOF
49028 #define HAVE_SIGSETJMP 1
49029 _ACEOF
49030
49031     cat >>confdefs.h <<\_ACEOF
49032 #define HAVE_COPYSIGN 1
49033 _ACEOF
49034
49035     cat >>confdefs.h <<\_ACEOF
49036 #define HAVE_COPYSIGNF 1
49037 _ACEOF
49038
49039     cat >>confdefs.h <<\_ACEOF
49040 #define HAVE_FINITEF 1
49041 _ACEOF
49042
49043     cat >>confdefs.h <<\_ACEOF
49044 #define HAVE_FINITE 1
49045 _ACEOF
49046
49047     cat >>confdefs.h <<\_ACEOF
49048 #define HAVE_FREXPF 1
49049 _ACEOF
49050
49051     cat >>confdefs.h <<\_ACEOF
49052 #define HAVE_HYPOT 1
49053 _ACEOF
49054
49055     cat >>confdefs.h <<\_ACEOF
49056 #define HAVE_HYPOTF 1
49057 _ACEOF
49058
49059     cat >>confdefs.h <<\_ACEOF
49060 #define HAVE_ISINF 1
49061 _ACEOF
49062
49063     cat >>confdefs.h <<\_ACEOF
49064 #define HAVE_ISNAN 1
49065 _ACEOF
49066
49067     cat >>confdefs.h <<\_ACEOF
49068 #define HAVE_ISNANF 1
49069 _ACEOF
49070
49071
49072     cat >>confdefs.h <<\_ACEOF
49073 #define HAVE_MMAP 1
49074 _ACEOF
49075
49076     cat >>confdefs.h <<\_ACEOF
49077 #define HAVE_ACOSF 1
49078 _ACEOF
49079
49080     cat >>confdefs.h <<\_ACEOF
49081 #define HAVE_ASINF 1
49082 _ACEOF
49083
49084     cat >>confdefs.h <<\_ACEOF
49085 #define HAVE_ATAN2F 1
49086 _ACEOF
49087
49088     cat >>confdefs.h <<\_ACEOF
49089 #define HAVE_ATANF 1
49090 _ACEOF
49091
49092     cat >>confdefs.h <<\_ACEOF
49093 #define HAVE_CEILF 1
49094 _ACEOF
49095
49096     cat >>confdefs.h <<\_ACEOF
49097 #define HAVE_COPYSIGN 1
49098 _ACEOF
49099
49100     cat >>confdefs.h <<\_ACEOF
49101 #define HAVE_COPYSIGNF 1
49102 _ACEOF
49103
49104     cat >>confdefs.h <<\_ACEOF
49105 #define HAVE_COSF 1
49106 _ACEOF
49107
49108     cat >>confdefs.h <<\_ACEOF
49109 #define HAVE_COSHF 1
49110 _ACEOF
49111
49112     cat >>confdefs.h <<\_ACEOF
49113 #define HAVE_EXPF 1
49114 _ACEOF
49115
49116     cat >>confdefs.h <<\_ACEOF
49117 #define HAVE_FABSF 1
49118 _ACEOF
49119
49120     cat >>confdefs.h <<\_ACEOF
49121 #define HAVE_FLOORF 1
49122 _ACEOF
49123
49124     cat >>confdefs.h <<\_ACEOF
49125 #define HAVE_FMODF 1
49126 _ACEOF
49127
49128     cat >>confdefs.h <<\_ACEOF
49129 #define HAVE_FREXPF 1
49130 _ACEOF
49131
49132     cat >>confdefs.h <<\_ACEOF
49133 #define HAVE_LDEXPF 1
49134 _ACEOF
49135
49136     cat >>confdefs.h <<\_ACEOF
49137 #define HAVE_LOG10F 1
49138 _ACEOF
49139
49140     cat >>confdefs.h <<\_ACEOF
49141 #define HAVE_LOGF 1
49142 _ACEOF
49143
49144     cat >>confdefs.h <<\_ACEOF
49145 #define HAVE_MODFF 1
49146 _ACEOF
49147
49148     cat >>confdefs.h <<\_ACEOF
49149 #define HAVE_POWF 1
49150 _ACEOF
49151
49152     cat >>confdefs.h <<\_ACEOF
49153 #define HAVE_SINF 1
49154 _ACEOF
49155
49156     cat >>confdefs.h <<\_ACEOF
49157 #define HAVE_SINHF 1
49158 _ACEOF
49159
49160     cat >>confdefs.h <<\_ACEOF
49161 #define HAVE_SQRTF 1
49162 _ACEOF
49163
49164     cat >>confdefs.h <<\_ACEOF
49165 #define HAVE_TANF 1
49166 _ACEOF
49167
49168     cat >>confdefs.h <<\_ACEOF
49169 #define HAVE_TANHF 1
49170 _ACEOF
49171
49172     if test x"long_double_math_on_this_cpu" = x"yes"; then
49173       cat >>confdefs.h <<\_ACEOF
49174 #define HAVE_FINITEL 1
49175 _ACEOF
49176
49177       cat >>confdefs.h <<\_ACEOF
49178 #define HAVE_ISINFL 1
49179 _ACEOF
49180
49181       cat >>confdefs.h <<\_ACEOF
49182 #define HAVE_ISNANL 1
49183 _ACEOF
49184
49185     fi
49186     ;;
49187   *-hpux*)
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
49201       machine/endian.h machine/param.h sys/machine.h sys/types.h \
49202       fp.h locale.h float.h inttypes.h
49203 do
49204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49206   echo "$as_me:$LINENO: checking for $ac_header" >&5
49207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49209   echo $ECHO_N "(cached) $ECHO_C" >&6
49210 fi
49211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49213 else
49214   # Is the header compilable?
49215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49217 cat >conftest.$ac_ext <<_ACEOF
49218 #line $LINENO "configure"
49219 /* confdefs.h.  */
49220 _ACEOF
49221 cat confdefs.h >>conftest.$ac_ext
49222 cat >>conftest.$ac_ext <<_ACEOF
49223 /* end confdefs.h.  */
49224 $ac_includes_default
49225 #include <$ac_header>
49226 _ACEOF
49227 rm -f conftest.$ac_objext
49228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49229   (eval $ac_compile) 2>&5
49230   ac_status=$?
49231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232   (exit $ac_status); } &&
49233          { ac_try='test -s conftest.$ac_objext'
49234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49235   (eval $ac_try) 2>&5
49236   ac_status=$?
49237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238   (exit $ac_status); }; }; then
49239   ac_header_compiler=yes
49240 else
49241   echo "$as_me: failed program was:" >&5
49242 sed 's/^/| /' conftest.$ac_ext >&5
49243
49244 ac_header_compiler=no
49245 fi
49246 rm -f conftest.$ac_objext conftest.$ac_ext
49247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49248 echo "${ECHO_T}$ac_header_compiler" >&6
49249
49250 # Is the header present?
49251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49253 cat >conftest.$ac_ext <<_ACEOF
49254 #line $LINENO "configure"
49255 /* confdefs.h.  */
49256 _ACEOF
49257 cat confdefs.h >>conftest.$ac_ext
49258 cat >>conftest.$ac_ext <<_ACEOF
49259 /* end confdefs.h.  */
49260 #include <$ac_header>
49261 _ACEOF
49262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49263   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49264   ac_status=$?
49265   grep -v '^ *+' conftest.er1 >conftest.err
49266   rm -f conftest.er1
49267   cat conftest.err >&5
49268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49269   (exit $ac_status); } >/dev/null; then
49270   if test -s conftest.err; then
49271     ac_cpp_err=$ac_c_preproc_warn_flag
49272   else
49273     ac_cpp_err=
49274   fi
49275 else
49276   ac_cpp_err=yes
49277 fi
49278 if test -z "$ac_cpp_err"; then
49279   ac_header_preproc=yes
49280 else
49281   echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49283
49284   ac_header_preproc=no
49285 fi
49286 rm -f conftest.err conftest.$ac_ext
49287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49288 echo "${ECHO_T}$ac_header_preproc" >&6
49289
49290 # So?  What about this header?
49291 case $ac_header_compiler:$ac_header_preproc in
49292   yes:no )
49293     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49295     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49297     (
49298       cat <<\_ASBOX
49299 ## ------------------------------------ ##
49300 ## Report this to bug-autoconf@gnu.org. ##
49301 ## ------------------------------------ ##
49302 _ASBOX
49303     ) |
49304       sed "s/^/$as_me: WARNING:     /" >&2
49305     ;;
49306   no:yes )
49307     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49309     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49311     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49313     (
49314       cat <<\_ASBOX
49315 ## ------------------------------------ ##
49316 ## Report this to bug-autoconf@gnu.org. ##
49317 ## ------------------------------------ ##
49318 _ASBOX
49319     ) |
49320       sed "s/^/$as_me: WARNING:     /" >&2
49321     ;;
49322 esac
49323 echo "$as_me:$LINENO: checking for $ac_header" >&5
49324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49326   echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49328   eval "$as_ac_Header=$ac_header_preproc"
49329 fi
49330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49332
49333 fi
49334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49335   cat >>confdefs.h <<_ACEOF
49336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49337 _ACEOF
49338
49339 fi
49340
49341 done
49342
49343     SECTION_FLAGS='-ffunction-sections -fdata-sections'
49344
49345
49346   # If we're not using GNU ld, then there's no point in even trying these
49347   # tests.  Check for that first.  We should have already tested for gld
49348   # by now (in libtool), but require it now just to be safe...
49349   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49350   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49351
49352
49353
49354   # The name set by libtool depends on the version of libtool.  Shame on us
49355   # for depending on an impl detail, but c'est la vie.  Older versions used
49356   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49357   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49358   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
49359   # set (hence we're using an older libtool), then set it.
49360   if test x${with_gnu_ld+set} != xset; then
49361     if test x${ac_cv_prog_gnu_ld+set} != xset; then
49362       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
49363       with_gnu_ld=no
49364     else
49365       with_gnu_ld=$ac_cv_prog_gnu_ld
49366     fi
49367   fi
49368
49369   # Start by getting the version number.  I think the libtool test already
49370   # does some of this, but throws away the result.
49371
49372   ldver=`$LD --version 2>/dev/null | head -1 | \
49373          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49374
49375   glibcxx_gnu_ld_version=`echo $ldver | \
49376          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49377
49378   # Set --gc-sections.
49379   if test "$with_gnu_ld" = "notbroken"; then
49380     # GNU ld it is!  Joy and bunny rabbits!
49381
49382     # All these tests are for C++; save the language and the compiler flags.
49383     # Need to do this so that g++ won't try to link in libstdc++
49384     ac_test_CFLAGS="${CFLAGS+set}"
49385     ac_save_CFLAGS="$CFLAGS"
49386     CFLAGS='-x c++  -Wl,--gc-sections'
49387
49388     # Check for -Wl,--gc-sections
49389     # XXX This test is broken at the moment, as symbols required for linking
49390     # are now in libsupc++ (not built yet).  In addition, this test has
49391     # cored on solaris in the past.  In addition, --gc-sections doesn't
49392     # really work at the moment (keeps on discarding used sections, first
49393     # .eh_frame and now some of the glibc sections for iconv).
49394     # Bzzzzt.  Thanks for playing, maybe next time.
49395     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49396 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49397     if test "$cross_compiling" = yes; then
49398   ac_sectionLDflags=yes
49399 else
49400   cat >conftest.$ac_ext <<_ACEOF
49401 #line $LINENO "configure"
49402 /* confdefs.h.  */
49403 _ACEOF
49404 cat confdefs.h >>conftest.$ac_ext
49405 cat >>conftest.$ac_ext <<_ACEOF
49406 /* end confdefs.h.  */
49407
49408      int main(void)
49409      {
49410        try { throw 1; }
49411        catch (...) { };
49412        return 0;
49413      }
49414
49415 _ACEOF
49416 rm -f conftest$ac_exeext
49417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49418   (eval $ac_link) 2>&5
49419   ac_status=$?
49420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49423   (eval $ac_try) 2>&5
49424   ac_status=$?
49425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49426   (exit $ac_status); }; }; then
49427   ac_sectionLDflags=yes
49428 else
49429   echo "$as_me: program exited with status $ac_status" >&5
49430 echo "$as_me: failed program was:" >&5
49431 sed 's/^/| /' conftest.$ac_ext >&5
49432
49433 ( exit $ac_status )
49434 ac_sectionLDflags=no
49435 fi
49436 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49437 fi
49438     if test "$ac_test_CFLAGS" = set; then
49439       CFLAGS="$ac_save_CFLAGS"
49440     else
49441       # this is the suspicious part
49442       CFLAGS=''
49443     fi
49444     if test "$ac_sectionLDflags" = "yes"; then
49445       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49446     fi
49447     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49448 echo "${ECHO_T}$ac_sectionLDflags" >&6
49449   fi
49450
49451   # Set linker optimization flags.
49452   if test x"$with_gnu_ld" = x"yes"; then
49453     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49454   fi
49455
49456
49457
49458
49459
49460
49461 echo "$as_me:$LINENO: checking for main in -lm" >&5
49462 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49463 if test "${ac_cv_lib_m_main+set}" = set; then
49464   echo $ECHO_N "(cached) $ECHO_C" >&6
49465 else
49466   ac_check_lib_save_LIBS=$LIBS
49467 LIBS="-lm  $LIBS"
49468 if test x$gcc_no_link = xyes; then
49469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49471    { (exit 1); exit 1; }; }
49472 fi
49473 cat >conftest.$ac_ext <<_ACEOF
49474 #line $LINENO "configure"
49475 /* confdefs.h.  */
49476 _ACEOF
49477 cat confdefs.h >>conftest.$ac_ext
49478 cat >>conftest.$ac_ext <<_ACEOF
49479 /* end confdefs.h.  */
49480
49481
49482 int
49483 main ()
49484 {
49485 main ();
49486   ;
49487   return 0;
49488 }
49489 _ACEOF
49490 rm -f conftest.$ac_objext conftest$ac_exeext
49491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49492   (eval $ac_link) 2>&5
49493   ac_status=$?
49494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49495   (exit $ac_status); } &&
49496          { ac_try='test -s conftest$ac_exeext'
49497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49498   (eval $ac_try) 2>&5
49499   ac_status=$?
49500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501   (exit $ac_status); }; }; then
49502   ac_cv_lib_m_main=yes
49503 else
49504   echo "$as_me: failed program was:" >&5
49505 sed 's/^/| /' conftest.$ac_ext >&5
49506
49507 ac_cv_lib_m_main=no
49508 fi
49509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49510 LIBS=$ac_check_lib_save_LIBS
49511 fi
49512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49513 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49514 if test $ac_cv_lib_m_main = yes; then
49515   cat >>confdefs.h <<_ACEOF
49516 #define HAVE_LIBM 1
49517 _ACEOF
49518
49519   LIBS="-lm $LIBS"
49520
49521 fi
49522
49523
49524
49525 for ac_func in nan copysignf
49526 do
49527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49528 echo "$as_me:$LINENO: checking for $ac_func" >&5
49529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49530 if eval "test \"\${$as_ac_var+set}\" = set"; then
49531   echo $ECHO_N "(cached) $ECHO_C" >&6
49532 else
49533   if test x$gcc_no_link = xyes; then
49534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49536    { (exit 1); exit 1; }; }
49537 fi
49538 cat >conftest.$ac_ext <<_ACEOF
49539 #line $LINENO "configure"
49540 /* confdefs.h.  */
49541 _ACEOF
49542 cat confdefs.h >>conftest.$ac_ext
49543 cat >>conftest.$ac_ext <<_ACEOF
49544 /* end confdefs.h.  */
49545 /* System header to define __stub macros and hopefully few prototypes,
49546     which can conflict with char $ac_func (); below.
49547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49548     <limits.h> exists even on freestanding compilers.  */
49549 #ifdef __STDC__
49550 # include <limits.h>
49551 #else
49552 # include <assert.h>
49553 #endif
49554 /* Override any gcc2 internal prototype to avoid an error.  */
49555 #ifdef __cplusplus
49556 extern "C"
49557 {
49558 #endif
49559 /* We use char because int might match the return type of a gcc2
49560    builtin and then its argument prototype would still apply.  */
49561 char $ac_func ();
49562 /* The GNU C library defines this for functions which it implements
49563     to always fail with ENOSYS.  Some functions are actually named
49564     something starting with __ and the normal name is an alias.  */
49565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49566 choke me
49567 #else
49568 char (*f) () = $ac_func;
49569 #endif
49570 #ifdef __cplusplus
49571 }
49572 #endif
49573
49574 int
49575 main ()
49576 {
49577 return f != $ac_func;
49578   ;
49579   return 0;
49580 }
49581 _ACEOF
49582 rm -f conftest.$ac_objext conftest$ac_exeext
49583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49584   (eval $ac_link) 2>&5
49585   ac_status=$?
49586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49587   (exit $ac_status); } &&
49588          { ac_try='test -s conftest$ac_exeext'
49589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49590   (eval $ac_try) 2>&5
49591   ac_status=$?
49592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593   (exit $ac_status); }; }; then
49594   eval "$as_ac_var=yes"
49595 else
49596   echo "$as_me: failed program was:" >&5
49597 sed 's/^/| /' conftest.$ac_ext >&5
49598
49599 eval "$as_ac_var=no"
49600 fi
49601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49602 fi
49603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49605 if test `eval echo '${'$as_ac_var'}'` = yes; then
49606   cat >>confdefs.h <<_ACEOF
49607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49608 _ACEOF
49609
49610 else
49611   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49612 fi
49613 done
49614
49615
49616
49617 for ac_func in __signbit
49618 do
49619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49620 echo "$as_me:$LINENO: checking for $ac_func" >&5
49621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49622 if eval "test \"\${$as_ac_var+set}\" = set"; then
49623   echo $ECHO_N "(cached) $ECHO_C" >&6
49624 else
49625   if test x$gcc_no_link = xyes; then
49626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49628    { (exit 1); exit 1; }; }
49629 fi
49630 cat >conftest.$ac_ext <<_ACEOF
49631 #line $LINENO "configure"
49632 /* confdefs.h.  */
49633 _ACEOF
49634 cat confdefs.h >>conftest.$ac_ext
49635 cat >>conftest.$ac_ext <<_ACEOF
49636 /* end confdefs.h.  */
49637 /* System header to define __stub macros and hopefully few prototypes,
49638     which can conflict with char $ac_func (); below.
49639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49640     <limits.h> exists even on freestanding compilers.  */
49641 #ifdef __STDC__
49642 # include <limits.h>
49643 #else
49644 # include <assert.h>
49645 #endif
49646 /* Override any gcc2 internal prototype to avoid an error.  */
49647 #ifdef __cplusplus
49648 extern "C"
49649 {
49650 #endif
49651 /* We use char because int might match the return type of a gcc2
49652    builtin and then its argument prototype would still apply.  */
49653 char $ac_func ();
49654 /* The GNU C library defines this for functions which it implements
49655     to always fail with ENOSYS.  Some functions are actually named
49656     something starting with __ and the normal name is an alias.  */
49657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49658 choke me
49659 #else
49660 char (*f) () = $ac_func;
49661 #endif
49662 #ifdef __cplusplus
49663 }
49664 #endif
49665
49666 int
49667 main ()
49668 {
49669 return f != $ac_func;
49670   ;
49671   return 0;
49672 }
49673 _ACEOF
49674 rm -f conftest.$ac_objext conftest$ac_exeext
49675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49676   (eval $ac_link) 2>&5
49677   ac_status=$?
49678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679   (exit $ac_status); } &&
49680          { ac_try='test -s conftest$ac_exeext'
49681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49682   (eval $ac_try) 2>&5
49683   ac_status=$?
49684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685   (exit $ac_status); }; }; then
49686   eval "$as_ac_var=yes"
49687 else
49688   echo "$as_me: failed program was:" >&5
49689 sed 's/^/| /' conftest.$ac_ext >&5
49690
49691 eval "$as_ac_var=no"
49692 fi
49693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49694 fi
49695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49697 if test `eval echo '${'$as_ac_var'}'` = yes; then
49698   cat >>confdefs.h <<_ACEOF
49699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49700 _ACEOF
49701
49702 else
49703   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49704 fi
49705 done
49706
49707
49708 for ac_func in __signbitf
49709 do
49710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49711 echo "$as_me:$LINENO: checking for $ac_func" >&5
49712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49713 if eval "test \"\${$as_ac_var+set}\" = set"; then
49714   echo $ECHO_N "(cached) $ECHO_C" >&6
49715 else
49716   if test x$gcc_no_link = xyes; then
49717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49719    { (exit 1); exit 1; }; }
49720 fi
49721 cat >conftest.$ac_ext <<_ACEOF
49722 #line $LINENO "configure"
49723 /* confdefs.h.  */
49724 _ACEOF
49725 cat confdefs.h >>conftest.$ac_ext
49726 cat >>conftest.$ac_ext <<_ACEOF
49727 /* end confdefs.h.  */
49728 /* System header to define __stub macros and hopefully few prototypes,
49729     which can conflict with char $ac_func (); below.
49730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49731     <limits.h> exists even on freestanding compilers.  */
49732 #ifdef __STDC__
49733 # include <limits.h>
49734 #else
49735 # include <assert.h>
49736 #endif
49737 /* Override any gcc2 internal prototype to avoid an error.  */
49738 #ifdef __cplusplus
49739 extern "C"
49740 {
49741 #endif
49742 /* We use char because int might match the return type of a gcc2
49743    builtin and then its argument prototype would still apply.  */
49744 char $ac_func ();
49745 /* The GNU C library defines this for functions which it implements
49746     to always fail with ENOSYS.  Some functions are actually named
49747     something starting with __ and the normal name is an alias.  */
49748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49749 choke me
49750 #else
49751 char (*f) () = $ac_func;
49752 #endif
49753 #ifdef __cplusplus
49754 }
49755 #endif
49756
49757 int
49758 main ()
49759 {
49760 return f != $ac_func;
49761   ;
49762   return 0;
49763 }
49764 _ACEOF
49765 rm -f conftest.$ac_objext conftest$ac_exeext
49766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49767   (eval $ac_link) 2>&5
49768   ac_status=$?
49769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49770   (exit $ac_status); } &&
49771          { ac_try='test -s conftest$ac_exeext'
49772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49773   (eval $ac_try) 2>&5
49774   ac_status=$?
49775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49776   (exit $ac_status); }; }; then
49777   eval "$as_ac_var=yes"
49778 else
49779   echo "$as_me: failed program was:" >&5
49780 sed 's/^/| /' conftest.$ac_ext >&5
49781
49782 eval "$as_ac_var=no"
49783 fi
49784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49785 fi
49786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49788 if test `eval echo '${'$as_ac_var'}'` = yes; then
49789   cat >>confdefs.h <<_ACEOF
49790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49791 _ACEOF
49792
49793 else
49794   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49795 fi
49796 done
49797
49798
49799           if test x$ac_cv_func_copysignl = x"yes"; then
49800
49801 for ac_func in __signbitl
49802 do
49803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49804 echo "$as_me:$LINENO: checking for $ac_func" >&5
49805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49806 if eval "test \"\${$as_ac_var+set}\" = set"; then
49807   echo $ECHO_N "(cached) $ECHO_C" >&6
49808 else
49809   if test x$gcc_no_link = xyes; then
49810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49812    { (exit 1); exit 1; }; }
49813 fi
49814 cat >conftest.$ac_ext <<_ACEOF
49815 #line $LINENO "configure"
49816 /* confdefs.h.  */
49817 _ACEOF
49818 cat confdefs.h >>conftest.$ac_ext
49819 cat >>conftest.$ac_ext <<_ACEOF
49820 /* end confdefs.h.  */
49821 /* System header to define __stub macros and hopefully few prototypes,
49822     which can conflict with char $ac_func (); below.
49823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49824     <limits.h> exists even on freestanding compilers.  */
49825 #ifdef __STDC__
49826 # include <limits.h>
49827 #else
49828 # include <assert.h>
49829 #endif
49830 /* Override any gcc2 internal prototype to avoid an error.  */
49831 #ifdef __cplusplus
49832 extern "C"
49833 {
49834 #endif
49835 /* We use char because int might match the return type of a gcc2
49836    builtin and then its argument prototype would still apply.  */
49837 char $ac_func ();
49838 /* The GNU C library defines this for functions which it implements
49839     to always fail with ENOSYS.  Some functions are actually named
49840     something starting with __ and the normal name is an alias.  */
49841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49842 choke me
49843 #else
49844 char (*f) () = $ac_func;
49845 #endif
49846 #ifdef __cplusplus
49847 }
49848 #endif
49849
49850 int
49851 main ()
49852 {
49853 return f != $ac_func;
49854   ;
49855   return 0;
49856 }
49857 _ACEOF
49858 rm -f conftest.$ac_objext conftest$ac_exeext
49859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49860   (eval $ac_link) 2>&5
49861   ac_status=$?
49862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49863   (exit $ac_status); } &&
49864          { ac_try='test -s conftest$ac_exeext'
49865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49866   (eval $ac_try) 2>&5
49867   ac_status=$?
49868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49869   (exit $ac_status); }; }; then
49870   eval "$as_ac_var=yes"
49871 else
49872   echo "$as_me: failed program was:" >&5
49873 sed 's/^/| /' conftest.$ac_ext >&5
49874
49875 eval "$as_ac_var=no"
49876 fi
49877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49878 fi
49879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49881 if test `eval echo '${'$as_ac_var'}'` = yes; then
49882   cat >>confdefs.h <<_ACEOF
49883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49884 _ACEOF
49885
49886 else
49887   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49888 fi
49889 done
49890
49891   fi
49892
49893   # XXX Review this.  Nothing uses it.
49894   if test -n "$LIBMATHOBJS"; then
49895     need_libmath=yes
49896   fi
49897
49898
49899
49900   # Test wchar.h for mbstate_t, which is needed for char_traits and
49901   # others even if wchar_t support is not on.
49902   echo "$as_me:$LINENO: checking for mbstate_t" >&5
49903 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49904   cat >conftest.$ac_ext <<_ACEOF
49905 #line $LINENO "configure"
49906 /* confdefs.h.  */
49907 _ACEOF
49908 cat confdefs.h >>conftest.$ac_ext
49909 cat >>conftest.$ac_ext <<_ACEOF
49910 /* end confdefs.h.  */
49911 #include <wchar.h>
49912 int
49913 main ()
49914 {
49915 mbstate_t teststate;
49916   ;
49917   return 0;
49918 }
49919 _ACEOF
49920 rm -f conftest.$ac_objext
49921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49922   (eval $ac_compile) 2>&5
49923   ac_status=$?
49924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49925   (exit $ac_status); } &&
49926          { ac_try='test -s conftest.$ac_objext'
49927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49928   (eval $ac_try) 2>&5
49929   ac_status=$?
49930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49931   (exit $ac_status); }; }; then
49932   have_mbstate_t=yes
49933 else
49934   echo "$as_me: failed program was:" >&5
49935 sed 's/^/| /' conftest.$ac_ext >&5
49936
49937 have_mbstate_t=no
49938 fi
49939 rm -f conftest.$ac_objext conftest.$ac_ext
49940   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49941 echo "${ECHO_T}$have_mbstate_t" >&6
49942   if test x"$have_mbstate_t" = xyes; then
49943     cat >>confdefs.h <<\_ACEOF
49944 #define HAVE_MBSTATE_T 1
49945 _ACEOF
49946
49947   fi
49948
49949   # Sanity check for existence of ISO C99 headers for extended encoding.
49950
49951 for ac_header in wchar.h
49952 do
49953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49955   echo "$as_me:$LINENO: checking for $ac_header" >&5
49956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49958   echo $ECHO_N "(cached) $ECHO_C" >&6
49959 fi
49960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49962 else
49963   # Is the header compilable?
49964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49966 cat >conftest.$ac_ext <<_ACEOF
49967 #line $LINENO "configure"
49968 /* confdefs.h.  */
49969 _ACEOF
49970 cat confdefs.h >>conftest.$ac_ext
49971 cat >>conftest.$ac_ext <<_ACEOF
49972 /* end confdefs.h.  */
49973 $ac_includes_default
49974 #include <$ac_header>
49975 _ACEOF
49976 rm -f conftest.$ac_objext
49977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49978   (eval $ac_compile) 2>&5
49979   ac_status=$?
49980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49981   (exit $ac_status); } &&
49982          { ac_try='test -s conftest.$ac_objext'
49983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49984   (eval $ac_try) 2>&5
49985   ac_status=$?
49986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49987   (exit $ac_status); }; }; then
49988   ac_header_compiler=yes
49989 else
49990   echo "$as_me: failed program was:" >&5
49991 sed 's/^/| /' conftest.$ac_ext >&5
49992
49993 ac_header_compiler=no
49994 fi
49995 rm -f conftest.$ac_objext conftest.$ac_ext
49996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49997 echo "${ECHO_T}$ac_header_compiler" >&6
49998
49999 # Is the header present?
50000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50002 cat >conftest.$ac_ext <<_ACEOF
50003 #line $LINENO "configure"
50004 /* confdefs.h.  */
50005 _ACEOF
50006 cat confdefs.h >>conftest.$ac_ext
50007 cat >>conftest.$ac_ext <<_ACEOF
50008 /* end confdefs.h.  */
50009 #include <$ac_header>
50010 _ACEOF
50011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50012   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50013   ac_status=$?
50014   grep -v '^ *+' conftest.er1 >conftest.err
50015   rm -f conftest.er1
50016   cat conftest.err >&5
50017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50018   (exit $ac_status); } >/dev/null; then
50019   if test -s conftest.err; then
50020     ac_cpp_err=$ac_c_preproc_warn_flag
50021   else
50022     ac_cpp_err=
50023   fi
50024 else
50025   ac_cpp_err=yes
50026 fi
50027 if test -z "$ac_cpp_err"; then
50028   ac_header_preproc=yes
50029 else
50030   echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50032
50033   ac_header_preproc=no
50034 fi
50035 rm -f conftest.err conftest.$ac_ext
50036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50037 echo "${ECHO_T}$ac_header_preproc" >&6
50038
50039 # So?  What about this header?
50040 case $ac_header_compiler:$ac_header_preproc in
50041   yes:no )
50042     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50044     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50046     (
50047       cat <<\_ASBOX
50048 ## ------------------------------------ ##
50049 ## Report this to bug-autoconf@gnu.org. ##
50050 ## ------------------------------------ ##
50051 _ASBOX
50052     ) |
50053       sed "s/^/$as_me: WARNING:     /" >&2
50054     ;;
50055   no:yes )
50056     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50058     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50060     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50062     (
50063       cat <<\_ASBOX
50064 ## ------------------------------------ ##
50065 ## Report this to bug-autoconf@gnu.org. ##
50066 ## ------------------------------------ ##
50067 _ASBOX
50068     ) |
50069       sed "s/^/$as_me: WARNING:     /" >&2
50070     ;;
50071 esac
50072 echo "$as_me:$LINENO: checking for $ac_header" >&5
50073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50075   echo $ECHO_N "(cached) $ECHO_C" >&6
50076 else
50077   eval "$as_ac_Header=$ac_header_preproc"
50078 fi
50079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50081
50082 fi
50083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50084   cat >>confdefs.h <<_ACEOF
50085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50086 _ACEOF
50087  ac_has_wchar_h=yes
50088 else
50089   ac_has_wchar_h=no
50090 fi
50091
50092 done
50093
50094
50095 for ac_header in wctype.h
50096 do
50097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50099   echo "$as_me:$LINENO: checking for $ac_header" >&5
50100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50102   echo $ECHO_N "(cached) $ECHO_C" >&6
50103 fi
50104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50106 else
50107   # Is the header compilable?
50108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50110 cat >conftest.$ac_ext <<_ACEOF
50111 #line $LINENO "configure"
50112 /* confdefs.h.  */
50113 _ACEOF
50114 cat confdefs.h >>conftest.$ac_ext
50115 cat >>conftest.$ac_ext <<_ACEOF
50116 /* end confdefs.h.  */
50117 $ac_includes_default
50118 #include <$ac_header>
50119 _ACEOF
50120 rm -f conftest.$ac_objext
50121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50122   (eval $ac_compile) 2>&5
50123   ac_status=$?
50124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125   (exit $ac_status); } &&
50126          { ac_try='test -s conftest.$ac_objext'
50127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50128   (eval $ac_try) 2>&5
50129   ac_status=$?
50130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131   (exit $ac_status); }; }; then
50132   ac_header_compiler=yes
50133 else
50134   echo "$as_me: failed program was:" >&5
50135 sed 's/^/| /' conftest.$ac_ext >&5
50136
50137 ac_header_compiler=no
50138 fi
50139 rm -f conftest.$ac_objext conftest.$ac_ext
50140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50141 echo "${ECHO_T}$ac_header_compiler" >&6
50142
50143 # Is the header present?
50144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50146 cat >conftest.$ac_ext <<_ACEOF
50147 #line $LINENO "configure"
50148 /* confdefs.h.  */
50149 _ACEOF
50150 cat confdefs.h >>conftest.$ac_ext
50151 cat >>conftest.$ac_ext <<_ACEOF
50152 /* end confdefs.h.  */
50153 #include <$ac_header>
50154 _ACEOF
50155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50156   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50157   ac_status=$?
50158   grep -v '^ *+' conftest.er1 >conftest.err
50159   rm -f conftest.er1
50160   cat conftest.err >&5
50161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50162   (exit $ac_status); } >/dev/null; then
50163   if test -s conftest.err; then
50164     ac_cpp_err=$ac_c_preproc_warn_flag
50165   else
50166     ac_cpp_err=
50167   fi
50168 else
50169   ac_cpp_err=yes
50170 fi
50171 if test -z "$ac_cpp_err"; then
50172   ac_header_preproc=yes
50173 else
50174   echo "$as_me: failed program was:" >&5
50175 sed 's/^/| /' conftest.$ac_ext >&5
50176
50177   ac_header_preproc=no
50178 fi
50179 rm -f conftest.err conftest.$ac_ext
50180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50181 echo "${ECHO_T}$ac_header_preproc" >&6
50182
50183 # So?  What about this header?
50184 case $ac_header_compiler:$ac_header_preproc in
50185   yes:no )
50186     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50190     (
50191       cat <<\_ASBOX
50192 ## ------------------------------------ ##
50193 ## Report this to bug-autoconf@gnu.org. ##
50194 ## ------------------------------------ ##
50195 _ASBOX
50196     ) |
50197       sed "s/^/$as_me: WARNING:     /" >&2
50198     ;;
50199   no:yes )
50200     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50202     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50204     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50206     (
50207       cat <<\_ASBOX
50208 ## ------------------------------------ ##
50209 ## Report this to bug-autoconf@gnu.org. ##
50210 ## ------------------------------------ ##
50211 _ASBOX
50212     ) |
50213       sed "s/^/$as_me: WARNING:     /" >&2
50214     ;;
50215 esac
50216 echo "$as_me:$LINENO: checking for $ac_header" >&5
50217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50219   echo $ECHO_N "(cached) $ECHO_C" >&6
50220 else
50221   eval "$as_ac_Header=$ac_header_preproc"
50222 fi
50223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50225
50226 fi
50227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50228   cat >>confdefs.h <<_ACEOF
50229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50230 _ACEOF
50231  ac_has_wctype_h=yes
50232 else
50233   ac_has_wctype_h=no
50234 fi
50235
50236 done
50237
50238
50239   # Only continue checking if the ISO C99 headers exist and support is on.
50240   if test x"$ac_has_wchar_h" = xyes &&
50241      test x"$ac_has_wctype_h" = xyes &&
50242      test x"$enable_c_mbchar" != xno; then
50243
50244     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50245     # numeric_limits can instantiate type_traits<wchar_t>
50246     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50247 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50248     cat >conftest.$ac_ext <<_ACEOF
50249 #line $LINENO "configure"
50250 /* confdefs.h.  */
50251 _ACEOF
50252 cat confdefs.h >>conftest.$ac_ext
50253 cat >>conftest.$ac_ext <<_ACEOF
50254 /* end confdefs.h.  */
50255 #include <wchar.h>
50256 int
50257 main ()
50258 {
50259 int i = WCHAR_MIN; int j = WCHAR_MAX;
50260   ;
50261   return 0;
50262 }
50263 _ACEOF
50264 rm -f conftest.$ac_objext
50265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50266   (eval $ac_compile) 2>&5
50267   ac_status=$?
50268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50269   (exit $ac_status); } &&
50270          { ac_try='test -s conftest.$ac_objext'
50271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50272   (eval $ac_try) 2>&5
50273   ac_status=$?
50274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275   (exit $ac_status); }; }; then
50276   has_wchar_minmax=yes
50277 else
50278   echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50280
50281 has_wchar_minmax=no
50282 fi
50283 rm -f conftest.$ac_objext conftest.$ac_ext
50284     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50285 echo "${ECHO_T}$has_wchar_minmax" >&6
50286
50287     # Test wchar.h for WEOF, which is what we use to determine whether
50288     # to specialize for char_traits<wchar_t> or not.
50289     echo "$as_me:$LINENO: checking for WEOF" >&5
50290 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50291     cat >conftest.$ac_ext <<_ACEOF
50292 #line $LINENO "configure"
50293 /* confdefs.h.  */
50294 _ACEOF
50295 cat confdefs.h >>conftest.$ac_ext
50296 cat >>conftest.$ac_ext <<_ACEOF
50297 /* end confdefs.h.  */
50298
50299       #include <wchar.h>
50300       #include <stddef.h>
50301 int
50302 main ()
50303 {
50304 wint_t i = WEOF;
50305   ;
50306   return 0;
50307 }
50308 _ACEOF
50309 rm -f conftest.$ac_objext
50310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50311   (eval $ac_compile) 2>&5
50312   ac_status=$?
50313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50314   (exit $ac_status); } &&
50315          { ac_try='test -s conftest.$ac_objext'
50316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50317   (eval $ac_try) 2>&5
50318   ac_status=$?
50319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50320   (exit $ac_status); }; }; then
50321   has_weof=yes
50322 else
50323   echo "$as_me: failed program was:" >&5
50324 sed 's/^/| /' conftest.$ac_ext >&5
50325
50326 has_weof=no
50327 fi
50328 rm -f conftest.$ac_objext conftest.$ac_ext
50329     echo "$as_me:$LINENO: result: $has_weof" >&5
50330 echo "${ECHO_T}$has_weof" >&6
50331
50332     # Tests for wide character functions used in char_traits<wchar_t>.
50333     ac_wfuncs=yes
50334
50335
50336
50337
50338
50339
50340 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50341 do
50342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50343 echo "$as_me:$LINENO: checking for $ac_func" >&5
50344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50345 if eval "test \"\${$as_ac_var+set}\" = set"; then
50346   echo $ECHO_N "(cached) $ECHO_C" >&6
50347 else
50348   if test x$gcc_no_link = xyes; then
50349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50351    { (exit 1); exit 1; }; }
50352 fi
50353 cat >conftest.$ac_ext <<_ACEOF
50354 #line $LINENO "configure"
50355 /* confdefs.h.  */
50356 _ACEOF
50357 cat confdefs.h >>conftest.$ac_ext
50358 cat >>conftest.$ac_ext <<_ACEOF
50359 /* end confdefs.h.  */
50360 /* System header to define __stub macros and hopefully few prototypes,
50361     which can conflict with char $ac_func (); below.
50362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50363     <limits.h> exists even on freestanding compilers.  */
50364 #ifdef __STDC__
50365 # include <limits.h>
50366 #else
50367 # include <assert.h>
50368 #endif
50369 /* Override any gcc2 internal prototype to avoid an error.  */
50370 #ifdef __cplusplus
50371 extern "C"
50372 {
50373 #endif
50374 /* We use char because int might match the return type of a gcc2
50375    builtin and then its argument prototype would still apply.  */
50376 char $ac_func ();
50377 /* The GNU C library defines this for functions which it implements
50378     to always fail with ENOSYS.  Some functions are actually named
50379     something starting with __ and the normal name is an alias.  */
50380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50381 choke me
50382 #else
50383 char (*f) () = $ac_func;
50384 #endif
50385 #ifdef __cplusplus
50386 }
50387 #endif
50388
50389 int
50390 main ()
50391 {
50392 return f != $ac_func;
50393   ;
50394   return 0;
50395 }
50396 _ACEOF
50397 rm -f conftest.$ac_objext conftest$ac_exeext
50398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50399   (eval $ac_link) 2>&5
50400   ac_status=$?
50401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50402   (exit $ac_status); } &&
50403          { ac_try='test -s conftest$ac_exeext'
50404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50405   (eval $ac_try) 2>&5
50406   ac_status=$?
50407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50408   (exit $ac_status); }; }; then
50409   eval "$as_ac_var=yes"
50410 else
50411   echo "$as_me: failed program was:" >&5
50412 sed 's/^/| /' conftest.$ac_ext >&5
50413
50414 eval "$as_ac_var=no"
50415 fi
50416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50417 fi
50418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50420 if test `eval echo '${'$as_ac_var'}'` = yes; then
50421   cat >>confdefs.h <<_ACEOF
50422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50423 _ACEOF
50424
50425 else
50426   ac_wfuncs=no
50427 fi
50428 done
50429
50430
50431     # Checks for names injected into std:: by the c_std headers.
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50479     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50480     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50481     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50482     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50483     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50484 do
50485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50486 echo "$as_me:$LINENO: checking for $ac_func" >&5
50487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50488 if eval "test \"\${$as_ac_var+set}\" = set"; then
50489   echo $ECHO_N "(cached) $ECHO_C" >&6
50490 else
50491   if test x$gcc_no_link = xyes; then
50492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50494    { (exit 1); exit 1; }; }
50495 fi
50496 cat >conftest.$ac_ext <<_ACEOF
50497 #line $LINENO "configure"
50498 /* confdefs.h.  */
50499 _ACEOF
50500 cat confdefs.h >>conftest.$ac_ext
50501 cat >>conftest.$ac_ext <<_ACEOF
50502 /* end confdefs.h.  */
50503 /* System header to define __stub macros and hopefully few prototypes,
50504     which can conflict with char $ac_func (); below.
50505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50506     <limits.h> exists even on freestanding compilers.  */
50507 #ifdef __STDC__
50508 # include <limits.h>
50509 #else
50510 # include <assert.h>
50511 #endif
50512 /* Override any gcc2 internal prototype to avoid an error.  */
50513 #ifdef __cplusplus
50514 extern "C"
50515 {
50516 #endif
50517 /* We use char because int might match the return type of a gcc2
50518    builtin and then its argument prototype would still apply.  */
50519 char $ac_func ();
50520 /* The GNU C library defines this for functions which it implements
50521     to always fail with ENOSYS.  Some functions are actually named
50522     something starting with __ and the normal name is an alias.  */
50523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50524 choke me
50525 #else
50526 char (*f) () = $ac_func;
50527 #endif
50528 #ifdef __cplusplus
50529 }
50530 #endif
50531
50532 int
50533 main ()
50534 {
50535 return f != $ac_func;
50536   ;
50537   return 0;
50538 }
50539 _ACEOF
50540 rm -f conftest.$ac_objext conftest$ac_exeext
50541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50542   (eval $ac_link) 2>&5
50543   ac_status=$?
50544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50545   (exit $ac_status); } &&
50546          { ac_try='test -s conftest$ac_exeext'
50547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50548   (eval $ac_try) 2>&5
50549   ac_status=$?
50550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50551   (exit $ac_status); }; }; then
50552   eval "$as_ac_var=yes"
50553 else
50554   echo "$as_me: failed program was:" >&5
50555 sed 's/^/| /' conftest.$ac_ext >&5
50556
50557 eval "$as_ac_var=no"
50558 fi
50559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50560 fi
50561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50563 if test `eval echo '${'$as_ac_var'}'` = yes; then
50564   cat >>confdefs.h <<_ACEOF
50565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50566 _ACEOF
50567
50568 else
50569   ac_wfuncs=no
50570 fi
50571 done
50572
50573
50574     # Checks for wide character functions that are not required
50575     # for basic wchar_t support.  Don't disable support if they are missing.
50576     # Injection of these is wrapped with guard macros.
50577
50578
50579
50580
50581
50582 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
50583 do
50584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50585 echo "$as_me:$LINENO: checking for $ac_func" >&5
50586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50587 if eval "test \"\${$as_ac_var+set}\" = set"; then
50588   echo $ECHO_N "(cached) $ECHO_C" >&6
50589 else
50590   if test x$gcc_no_link = xyes; then
50591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50593    { (exit 1); exit 1; }; }
50594 fi
50595 cat >conftest.$ac_ext <<_ACEOF
50596 #line $LINENO "configure"
50597 /* confdefs.h.  */
50598 _ACEOF
50599 cat confdefs.h >>conftest.$ac_ext
50600 cat >>conftest.$ac_ext <<_ACEOF
50601 /* end confdefs.h.  */
50602 /* System header to define __stub macros and hopefully few prototypes,
50603     which can conflict with char $ac_func (); below.
50604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50605     <limits.h> exists even on freestanding compilers.  */
50606 #ifdef __STDC__
50607 # include <limits.h>
50608 #else
50609 # include <assert.h>
50610 #endif
50611 /* Override any gcc2 internal prototype to avoid an error.  */
50612 #ifdef __cplusplus
50613 extern "C"
50614 {
50615 #endif
50616 /* We use char because int might match the return type of a gcc2
50617    builtin and then its argument prototype would still apply.  */
50618 char $ac_func ();
50619 /* The GNU C library defines this for functions which it implements
50620     to always fail with ENOSYS.  Some functions are actually named
50621     something starting with __ and the normal name is an alias.  */
50622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50623 choke me
50624 #else
50625 char (*f) () = $ac_func;
50626 #endif
50627 #ifdef __cplusplus
50628 }
50629 #endif
50630
50631 int
50632 main ()
50633 {
50634 return f != $ac_func;
50635   ;
50636   return 0;
50637 }
50638 _ACEOF
50639 rm -f conftest.$ac_objext conftest$ac_exeext
50640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50641   (eval $ac_link) 2>&5
50642   ac_status=$?
50643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50644   (exit $ac_status); } &&
50645          { ac_try='test -s conftest$ac_exeext'
50646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50647   (eval $ac_try) 2>&5
50648   ac_status=$?
50649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650   (exit $ac_status); }; }; then
50651   eval "$as_ac_var=yes"
50652 else
50653   echo "$as_me: failed program was:" >&5
50654 sed 's/^/| /' conftest.$ac_ext >&5
50655
50656 eval "$as_ac_var=no"
50657 fi
50658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50659 fi
50660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50662 if test `eval echo '${'$as_ac_var'}'` = yes; then
50663   cat >>confdefs.h <<_ACEOF
50664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50665 _ACEOF
50666
50667 fi
50668 done
50669
50670
50671     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50672 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50673     if test x"$has_weof" = xyes &&
50674        test x"$has_wchar_minmax" = xyes &&
50675        test x"$ac_wfuncs" = xyes;
50676     then
50677       ac_isoC99_wchar_t=yes
50678     else
50679       ac_isoC99_wchar_t=no
50680     fi
50681     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50682 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50683
50684     # Use iconv for wchar_t to char conversions. As such, check for
50685     # X/Open Portability Guide, version 2 features (XPG2).
50686     if test "${ac_cv_header_iconv_h+set}" = set; then
50687   echo "$as_me:$LINENO: checking for iconv.h" >&5
50688 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50689 if test "${ac_cv_header_iconv_h+set}" = set; then
50690   echo $ECHO_N "(cached) $ECHO_C" >&6
50691 fi
50692 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50693 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50694 else
50695   # Is the header compilable?
50696 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50697 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50698 cat >conftest.$ac_ext <<_ACEOF
50699 #line $LINENO "configure"
50700 /* confdefs.h.  */
50701 _ACEOF
50702 cat confdefs.h >>conftest.$ac_ext
50703 cat >>conftest.$ac_ext <<_ACEOF
50704 /* end confdefs.h.  */
50705 $ac_includes_default
50706 #include <iconv.h>
50707 _ACEOF
50708 rm -f conftest.$ac_objext
50709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50710   (eval $ac_compile) 2>&5
50711   ac_status=$?
50712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50713   (exit $ac_status); } &&
50714          { ac_try='test -s conftest.$ac_objext'
50715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50716   (eval $ac_try) 2>&5
50717   ac_status=$?
50718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50719   (exit $ac_status); }; }; then
50720   ac_header_compiler=yes
50721 else
50722   echo "$as_me: failed program was:" >&5
50723 sed 's/^/| /' conftest.$ac_ext >&5
50724
50725 ac_header_compiler=no
50726 fi
50727 rm -f conftest.$ac_objext conftest.$ac_ext
50728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50729 echo "${ECHO_T}$ac_header_compiler" >&6
50730
50731 # Is the header present?
50732 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50733 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50734 cat >conftest.$ac_ext <<_ACEOF
50735 #line $LINENO "configure"
50736 /* confdefs.h.  */
50737 _ACEOF
50738 cat confdefs.h >>conftest.$ac_ext
50739 cat >>conftest.$ac_ext <<_ACEOF
50740 /* end confdefs.h.  */
50741 #include <iconv.h>
50742 _ACEOF
50743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50744   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50745   ac_status=$?
50746   grep -v '^ *+' conftest.er1 >conftest.err
50747   rm -f conftest.er1
50748   cat conftest.err >&5
50749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50750   (exit $ac_status); } >/dev/null; then
50751   if test -s conftest.err; then
50752     ac_cpp_err=$ac_c_preproc_warn_flag
50753   else
50754     ac_cpp_err=
50755   fi
50756 else
50757   ac_cpp_err=yes
50758 fi
50759 if test -z "$ac_cpp_err"; then
50760   ac_header_preproc=yes
50761 else
50762   echo "$as_me: failed program was:" >&5
50763 sed 's/^/| /' conftest.$ac_ext >&5
50764
50765   ac_header_preproc=no
50766 fi
50767 rm -f conftest.err conftest.$ac_ext
50768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50769 echo "${ECHO_T}$ac_header_preproc" >&6
50770
50771 # So?  What about this header?
50772 case $ac_header_compiler:$ac_header_preproc in
50773   yes:no )
50774     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50775 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50776     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50777 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50778     (
50779       cat <<\_ASBOX
50780 ## ------------------------------------ ##
50781 ## Report this to bug-autoconf@gnu.org. ##
50782 ## ------------------------------------ ##
50783 _ASBOX
50784     ) |
50785       sed "s/^/$as_me: WARNING:     /" >&2
50786     ;;
50787   no:yes )
50788     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50789 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50790     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50791 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50792     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50793 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50794     (
50795       cat <<\_ASBOX
50796 ## ------------------------------------ ##
50797 ## Report this to bug-autoconf@gnu.org. ##
50798 ## ------------------------------------ ##
50799 _ASBOX
50800     ) |
50801       sed "s/^/$as_me: WARNING:     /" >&2
50802     ;;
50803 esac
50804 echo "$as_me:$LINENO: checking for iconv.h" >&5
50805 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50806 if test "${ac_cv_header_iconv_h+set}" = set; then
50807   echo $ECHO_N "(cached) $ECHO_C" >&6
50808 else
50809   ac_cv_header_iconv_h=$ac_header_preproc
50810 fi
50811 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50812 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50813
50814 fi
50815 if test $ac_cv_header_iconv_h = yes; then
50816   ac_has_iconv_h=yes
50817 else
50818   ac_has_iconv_h=no
50819 fi
50820
50821
50822     if test "${ac_cv_header_langinfo_h+set}" = set; then
50823   echo "$as_me:$LINENO: checking for langinfo.h" >&5
50824 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50825 if test "${ac_cv_header_langinfo_h+set}" = set; then
50826   echo $ECHO_N "(cached) $ECHO_C" >&6
50827 fi
50828 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50829 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50830 else
50831   # Is the header compilable?
50832 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50833 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50834 cat >conftest.$ac_ext <<_ACEOF
50835 #line $LINENO "configure"
50836 /* confdefs.h.  */
50837 _ACEOF
50838 cat confdefs.h >>conftest.$ac_ext
50839 cat >>conftest.$ac_ext <<_ACEOF
50840 /* end confdefs.h.  */
50841 $ac_includes_default
50842 #include <langinfo.h>
50843 _ACEOF
50844 rm -f conftest.$ac_objext
50845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50846   (eval $ac_compile) 2>&5
50847   ac_status=$?
50848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50849   (exit $ac_status); } &&
50850          { ac_try='test -s conftest.$ac_objext'
50851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50852   (eval $ac_try) 2>&5
50853   ac_status=$?
50854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50855   (exit $ac_status); }; }; then
50856   ac_header_compiler=yes
50857 else
50858   echo "$as_me: failed program was:" >&5
50859 sed 's/^/| /' conftest.$ac_ext >&5
50860
50861 ac_header_compiler=no
50862 fi
50863 rm -f conftest.$ac_objext conftest.$ac_ext
50864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50865 echo "${ECHO_T}$ac_header_compiler" >&6
50866
50867 # Is the header present?
50868 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50869 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50870 cat >conftest.$ac_ext <<_ACEOF
50871 #line $LINENO "configure"
50872 /* confdefs.h.  */
50873 _ACEOF
50874 cat confdefs.h >>conftest.$ac_ext
50875 cat >>conftest.$ac_ext <<_ACEOF
50876 /* end confdefs.h.  */
50877 #include <langinfo.h>
50878 _ACEOF
50879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50880   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50881   ac_status=$?
50882   grep -v '^ *+' conftest.er1 >conftest.err
50883   rm -f conftest.er1
50884   cat conftest.err >&5
50885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50886   (exit $ac_status); } >/dev/null; then
50887   if test -s conftest.err; then
50888     ac_cpp_err=$ac_c_preproc_warn_flag
50889   else
50890     ac_cpp_err=
50891   fi
50892 else
50893   ac_cpp_err=yes
50894 fi
50895 if test -z "$ac_cpp_err"; then
50896   ac_header_preproc=yes
50897 else
50898   echo "$as_me: failed program was:" >&5
50899 sed 's/^/| /' conftest.$ac_ext >&5
50900
50901   ac_header_preproc=no
50902 fi
50903 rm -f conftest.err conftest.$ac_ext
50904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50905 echo "${ECHO_T}$ac_header_preproc" >&6
50906
50907 # So?  What about this header?
50908 case $ac_header_compiler:$ac_header_preproc in
50909   yes:no )
50910     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50911 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50912     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50913 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50914     (
50915       cat <<\_ASBOX
50916 ## ------------------------------------ ##
50917 ## Report this to bug-autoconf@gnu.org. ##
50918 ## ------------------------------------ ##
50919 _ASBOX
50920     ) |
50921       sed "s/^/$as_me: WARNING:     /" >&2
50922     ;;
50923   no:yes )
50924     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50925 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50926     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50927 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50928     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50929 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50930     (
50931       cat <<\_ASBOX
50932 ## ------------------------------------ ##
50933 ## Report this to bug-autoconf@gnu.org. ##
50934 ## ------------------------------------ ##
50935 _ASBOX
50936     ) |
50937       sed "s/^/$as_me: WARNING:     /" >&2
50938     ;;
50939 esac
50940 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50941 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50942 if test "${ac_cv_header_langinfo_h+set}" = set; then
50943   echo $ECHO_N "(cached) $ECHO_C" >&6
50944 else
50945   ac_cv_header_langinfo_h=$ac_header_preproc
50946 fi
50947 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50948 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50949
50950 fi
50951 if test $ac_cv_header_langinfo_h = yes; then
50952   ac_has_langinfo_h=yes
50953 else
50954   ac_has_langinfo_h=no
50955 fi
50956
50957
50958
50959     # Check for existence of libiconv.a providing XPG2 wchar_t support.
50960     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50961 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50962 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50963   echo $ECHO_N "(cached) $ECHO_C" >&6
50964 else
50965   ac_check_lib_save_LIBS=$LIBS
50966 LIBS="-liconv  $LIBS"
50967 if test x$gcc_no_link = xyes; then
50968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50970    { (exit 1); exit 1; }; }
50971 fi
50972 cat >conftest.$ac_ext <<_ACEOF
50973 #line $LINENO "configure"
50974 /* confdefs.h.  */
50975 _ACEOF
50976 cat confdefs.h >>conftest.$ac_ext
50977 cat >>conftest.$ac_ext <<_ACEOF
50978 /* end confdefs.h.  */
50979
50980 /* Override any gcc2 internal prototype to avoid an error.  */
50981 #ifdef __cplusplus
50982 extern "C"
50983 #endif
50984 /* We use char because int might match the return type of a gcc2
50985    builtin and then its argument prototype would still apply.  */
50986 char iconv ();
50987 int
50988 main ()
50989 {
50990 iconv ();
50991   ;
50992   return 0;
50993 }
50994 _ACEOF
50995 rm -f conftest.$ac_objext conftest$ac_exeext
50996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50997   (eval $ac_link) 2>&5
50998   ac_status=$?
50999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51000   (exit $ac_status); } &&
51001          { ac_try='test -s conftest$ac_exeext'
51002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51003   (eval $ac_try) 2>&5
51004   ac_status=$?
51005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51006   (exit $ac_status); }; }; then
51007   ac_cv_lib_iconv_iconv=yes
51008 else
51009   echo "$as_me: failed program was:" >&5
51010 sed 's/^/| /' conftest.$ac_ext >&5
51011
51012 ac_cv_lib_iconv_iconv=no
51013 fi
51014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51015 LIBS=$ac_check_lib_save_LIBS
51016 fi
51017 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51018 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51019 if test $ac_cv_lib_iconv_iconv = yes; then
51020   libiconv="-liconv"
51021 fi
51022
51023     ac_save_LIBS="$LIBS"
51024     LIBS="$LIBS $libiconv"
51025
51026
51027
51028
51029
51030 for ac_func in iconv_open iconv_close iconv nl_langinfo
51031 do
51032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51033 echo "$as_me:$LINENO: checking for $ac_func" >&5
51034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51035 if eval "test \"\${$as_ac_var+set}\" = set"; then
51036   echo $ECHO_N "(cached) $ECHO_C" >&6
51037 else
51038   if test x$gcc_no_link = xyes; then
51039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51041    { (exit 1); exit 1; }; }
51042 fi
51043 cat >conftest.$ac_ext <<_ACEOF
51044 #line $LINENO "configure"
51045 /* confdefs.h.  */
51046 _ACEOF
51047 cat confdefs.h >>conftest.$ac_ext
51048 cat >>conftest.$ac_ext <<_ACEOF
51049 /* end confdefs.h.  */
51050 /* System header to define __stub macros and hopefully few prototypes,
51051     which can conflict with char $ac_func (); below.
51052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51053     <limits.h> exists even on freestanding compilers.  */
51054 #ifdef __STDC__
51055 # include <limits.h>
51056 #else
51057 # include <assert.h>
51058 #endif
51059 /* Override any gcc2 internal prototype to avoid an error.  */
51060 #ifdef __cplusplus
51061 extern "C"
51062 {
51063 #endif
51064 /* We use char because int might match the return type of a gcc2
51065    builtin and then its argument prototype would still apply.  */
51066 char $ac_func ();
51067 /* The GNU C library defines this for functions which it implements
51068     to always fail with ENOSYS.  Some functions are actually named
51069     something starting with __ and the normal name is an alias.  */
51070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51071 choke me
51072 #else
51073 char (*f) () = $ac_func;
51074 #endif
51075 #ifdef __cplusplus
51076 }
51077 #endif
51078
51079 int
51080 main ()
51081 {
51082 return f != $ac_func;
51083   ;
51084   return 0;
51085 }
51086 _ACEOF
51087 rm -f conftest.$ac_objext conftest$ac_exeext
51088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51089   (eval $ac_link) 2>&5
51090   ac_status=$?
51091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51092   (exit $ac_status); } &&
51093          { ac_try='test -s conftest$ac_exeext'
51094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51095   (eval $ac_try) 2>&5
51096   ac_status=$?
51097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51098   (exit $ac_status); }; }; then
51099   eval "$as_ac_var=yes"
51100 else
51101   echo "$as_me: failed program was:" >&5
51102 sed 's/^/| /' conftest.$ac_ext >&5
51103
51104 eval "$as_ac_var=no"
51105 fi
51106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51107 fi
51108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51110 if test `eval echo '${'$as_ac_var'}'` = yes; then
51111   cat >>confdefs.h <<_ACEOF
51112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51113 _ACEOF
51114  ac_XPG2funcs=yes
51115 else
51116   ac_XPG2funcs=no
51117 fi
51118 done
51119
51120
51121     LIBS="$ac_save_LIBS"
51122
51123     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
51124 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
51125     if test x"$ac_has_iconv_h" = xyes &&
51126        test x"$ac_has_langinfo_h" = xyes &&
51127        test x"$ac_XPG2funcs" = xyes;
51128     then
51129       ac_XPG2_wchar_t=yes
51130     else
51131       ac_XPG2_wchar_t=no
51132     fi
51133     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
51134 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
51135
51136     # At the moment, only enable wchar_t specializations if all the
51137     # above support is present.
51138     if test x"$ac_isoC99_wchar_t" = xyes &&
51139        test x"$ac_XPG2_wchar_t" = xyes;
51140     then
51141       cat >>confdefs.h <<\_ACEOF
51142 #define _GLIBCXX_USE_WCHAR_T 1
51143 _ACEOF
51144
51145       enable_wchar_t=yes
51146     fi
51147   fi
51148   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51149 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51150   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51151 echo "${ECHO_T}$enable_wchar_t" >&6
51152
51153     cat >>confdefs.h <<\_ACEOF
51154 #define HAVE_COPYSIGN 1
51155 _ACEOF
51156
51157     cat >>confdefs.h <<\_ACEOF
51158 #define HAVE_COPYSIGNF 1
51159 _ACEOF
51160
51161     cat >>confdefs.h <<\_ACEOF
51162 #define HAVE_FREXPF 1
51163 _ACEOF
51164
51165     cat >>confdefs.h <<\_ACEOF
51166 #define HAVE_HYPOT 1
51167 _ACEOF
51168
51169     case "$target" in
51170       *-hpux10*)
51171         cat >>confdefs.h <<\_ACEOF
51172 #define HAVE_FINITE 1
51173 _ACEOF
51174
51175         cat >>confdefs.h <<\_ACEOF
51176 #define HAVE_FINITEF 1
51177 _ACEOF
51178
51179         cat >>confdefs.h <<\_ACEOF
51180 #define HAVE_ISINF 1
51181 _ACEOF
51182
51183         cat >>confdefs.h <<\_ACEOF
51184 #define HAVE_ISINFF 1
51185 _ACEOF
51186
51187         cat >>confdefs.h <<\_ACEOF
51188 #define HAVE_ISNAN 1
51189 _ACEOF
51190
51191         cat >>confdefs.h <<\_ACEOF
51192 #define HAVE_ISNANF 1
51193 _ACEOF
51194
51195         ;;
51196     esac
51197     ;;
51198   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
51199
51200
51201
51202
51203
51204
51205
51206
51207
51208
51209
51210
51211 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
51212       machine/endian.h machine/param.h sys/machine.h sys/types.h \
51213       fp.h locale.h float.h inttypes.h
51214 do
51215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51217   echo "$as_me:$LINENO: checking for $ac_header" >&5
51218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51220   echo $ECHO_N "(cached) $ECHO_C" >&6
51221 fi
51222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51224 else
51225   # Is the header compilable?
51226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51228 cat >conftest.$ac_ext <<_ACEOF
51229 #line $LINENO "configure"
51230 /* confdefs.h.  */
51231 _ACEOF
51232 cat confdefs.h >>conftest.$ac_ext
51233 cat >>conftest.$ac_ext <<_ACEOF
51234 /* end confdefs.h.  */
51235 $ac_includes_default
51236 #include <$ac_header>
51237 _ACEOF
51238 rm -f conftest.$ac_objext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51240   (eval $ac_compile) 2>&5
51241   ac_status=$?
51242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243   (exit $ac_status); } &&
51244          { ac_try='test -s conftest.$ac_objext'
51245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51246   (eval $ac_try) 2>&5
51247   ac_status=$?
51248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249   (exit $ac_status); }; }; then
51250   ac_header_compiler=yes
51251 else
51252   echo "$as_me: failed program was:" >&5
51253 sed 's/^/| /' conftest.$ac_ext >&5
51254
51255 ac_header_compiler=no
51256 fi
51257 rm -f conftest.$ac_objext conftest.$ac_ext
51258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51259 echo "${ECHO_T}$ac_header_compiler" >&6
51260
51261 # Is the header present?
51262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51264 cat >conftest.$ac_ext <<_ACEOF
51265 #line $LINENO "configure"
51266 /* confdefs.h.  */
51267 _ACEOF
51268 cat confdefs.h >>conftest.$ac_ext
51269 cat >>conftest.$ac_ext <<_ACEOF
51270 /* end confdefs.h.  */
51271 #include <$ac_header>
51272 _ACEOF
51273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51274   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51275   ac_status=$?
51276   grep -v '^ *+' conftest.er1 >conftest.err
51277   rm -f conftest.er1
51278   cat conftest.err >&5
51279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280   (exit $ac_status); } >/dev/null; then
51281   if test -s conftest.err; then
51282     ac_cpp_err=$ac_c_preproc_warn_flag
51283   else
51284     ac_cpp_err=
51285   fi
51286 else
51287   ac_cpp_err=yes
51288 fi
51289 if test -z "$ac_cpp_err"; then
51290   ac_header_preproc=yes
51291 else
51292   echo "$as_me: failed program was:" >&5
51293 sed 's/^/| /' conftest.$ac_ext >&5
51294
51295   ac_header_preproc=no
51296 fi
51297 rm -f conftest.err conftest.$ac_ext
51298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51299 echo "${ECHO_T}$ac_header_preproc" >&6
51300
51301 # So?  What about this header?
51302 case $ac_header_compiler:$ac_header_preproc in
51303   yes:no )
51304     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51306     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51308     (
51309       cat <<\_ASBOX
51310 ## ------------------------------------ ##
51311 ## Report this to bug-autoconf@gnu.org. ##
51312 ## ------------------------------------ ##
51313 _ASBOX
51314     ) |
51315       sed "s/^/$as_me: WARNING:     /" >&2
51316     ;;
51317   no:yes )
51318     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51320     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51322     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51324     (
51325       cat <<\_ASBOX
51326 ## ------------------------------------ ##
51327 ## Report this to bug-autoconf@gnu.org. ##
51328 ## ------------------------------------ ##
51329 _ASBOX
51330     ) |
51331       sed "s/^/$as_me: WARNING:     /" >&2
51332     ;;
51333 esac
51334 echo "$as_me:$LINENO: checking for $ac_header" >&5
51335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51337   echo $ECHO_N "(cached) $ECHO_C" >&6
51338 else
51339   eval "$as_ac_Header=$ac_header_preproc"
51340 fi
51341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51343
51344 fi
51345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51346   cat >>confdefs.h <<_ACEOF
51347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51348 _ACEOF
51349
51350 fi
51351
51352 done
51353
51354     SECTION_FLAGS='-ffunction-sections -fdata-sections'
51355
51356
51357   # If we're not using GNU ld, then there's no point in even trying these
51358   # tests.  Check for that first.  We should have already tested for gld
51359   # by now (in libtool), but require it now just to be safe...
51360   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51361   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51362
51363
51364
51365   # The name set by libtool depends on the version of libtool.  Shame on us
51366   # for depending on an impl detail, but c'est la vie.  Older versions used
51367   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51368   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51369   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51370   # set (hence we're using an older libtool), then set it.
51371   if test x${with_gnu_ld+set} != xset; then
51372     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51373       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51374       with_gnu_ld=no
51375     else
51376       with_gnu_ld=$ac_cv_prog_gnu_ld
51377     fi
51378   fi
51379
51380   # Start by getting the version number.  I think the libtool test already
51381   # does some of this, but throws away the result.
51382
51383   ldver=`$LD --version 2>/dev/null | head -1 | \
51384          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51385
51386   glibcxx_gnu_ld_version=`echo $ldver | \
51387          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51388
51389   # Set --gc-sections.
51390   if test "$with_gnu_ld" = "notbroken"; then
51391     # GNU ld it is!  Joy and bunny rabbits!
51392
51393     # All these tests are for C++; save the language and the compiler flags.
51394     # Need to do this so that g++ won't try to link in libstdc++
51395     ac_test_CFLAGS="${CFLAGS+set}"
51396     ac_save_CFLAGS="$CFLAGS"
51397     CFLAGS='-x c++  -Wl,--gc-sections'
51398
51399     # Check for -Wl,--gc-sections
51400     # XXX This test is broken at the moment, as symbols required for linking
51401     # are now in libsupc++ (not built yet).  In addition, this test has
51402     # cored on solaris in the past.  In addition, --gc-sections doesn't
51403     # really work at the moment (keeps on discarding used sections, first
51404     # .eh_frame and now some of the glibc sections for iconv).
51405     # Bzzzzt.  Thanks for playing, maybe next time.
51406     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51407 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51408     if test "$cross_compiling" = yes; then
51409   ac_sectionLDflags=yes
51410 else
51411   cat >conftest.$ac_ext <<_ACEOF
51412 #line $LINENO "configure"
51413 /* confdefs.h.  */
51414 _ACEOF
51415 cat confdefs.h >>conftest.$ac_ext
51416 cat >>conftest.$ac_ext <<_ACEOF
51417 /* end confdefs.h.  */
51418
51419      int main(void)
51420      {
51421        try { throw 1; }
51422        catch (...) { };
51423        return 0;
51424      }
51425
51426 _ACEOF
51427 rm -f conftest$ac_exeext
51428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51429   (eval $ac_link) 2>&5
51430   ac_status=$?
51431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51432   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51434   (eval $ac_try) 2>&5
51435   ac_status=$?
51436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51437   (exit $ac_status); }; }; then
51438   ac_sectionLDflags=yes
51439 else
51440   echo "$as_me: program exited with status $ac_status" >&5
51441 echo "$as_me: failed program was:" >&5
51442 sed 's/^/| /' conftest.$ac_ext >&5
51443
51444 ( exit $ac_status )
51445 ac_sectionLDflags=no
51446 fi
51447 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51448 fi
51449     if test "$ac_test_CFLAGS" = set; then
51450       CFLAGS="$ac_save_CFLAGS"
51451     else
51452       # this is the suspicious part
51453       CFLAGS=''
51454     fi
51455     if test "$ac_sectionLDflags" = "yes"; then
51456       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51457     fi
51458     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51459 echo "${ECHO_T}$ac_sectionLDflags" >&6
51460   fi
51461
51462   # Set linker optimization flags.
51463   if test x"$with_gnu_ld" = x"yes"; then
51464     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51465   fi
51466
51467
51468
51469
51470
51471
51472 echo "$as_me:$LINENO: checking for main in -lm" >&5
51473 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51474 if test "${ac_cv_lib_m_main+set}" = set; then
51475   echo $ECHO_N "(cached) $ECHO_C" >&6
51476 else
51477   ac_check_lib_save_LIBS=$LIBS
51478 LIBS="-lm  $LIBS"
51479 if test x$gcc_no_link = xyes; then
51480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51482    { (exit 1); exit 1; }; }
51483 fi
51484 cat >conftest.$ac_ext <<_ACEOF
51485 #line $LINENO "configure"
51486 /* confdefs.h.  */
51487 _ACEOF
51488 cat confdefs.h >>conftest.$ac_ext
51489 cat >>conftest.$ac_ext <<_ACEOF
51490 /* end confdefs.h.  */
51491
51492
51493 int
51494 main ()
51495 {
51496 main ();
51497   ;
51498   return 0;
51499 }
51500 _ACEOF
51501 rm -f conftest.$ac_objext conftest$ac_exeext
51502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51503   (eval $ac_link) 2>&5
51504   ac_status=$?
51505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51506   (exit $ac_status); } &&
51507          { ac_try='test -s conftest$ac_exeext'
51508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51509   (eval $ac_try) 2>&5
51510   ac_status=$?
51511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51512   (exit $ac_status); }; }; then
51513   ac_cv_lib_m_main=yes
51514 else
51515   echo "$as_me: failed program was:" >&5
51516 sed 's/^/| /' conftest.$ac_ext >&5
51517
51518 ac_cv_lib_m_main=no
51519 fi
51520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51521 LIBS=$ac_check_lib_save_LIBS
51522 fi
51523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51524 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51525 if test $ac_cv_lib_m_main = yes; then
51526   cat >>confdefs.h <<_ACEOF
51527 #define HAVE_LIBM 1
51528 _ACEOF
51529
51530   LIBS="-lm $LIBS"
51531
51532 fi
51533
51534
51535
51536 for ac_func in nan copysignf
51537 do
51538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51539 echo "$as_me:$LINENO: checking for $ac_func" >&5
51540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51541 if eval "test \"\${$as_ac_var+set}\" = set"; then
51542   echo $ECHO_N "(cached) $ECHO_C" >&6
51543 else
51544   if test x$gcc_no_link = xyes; then
51545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51547    { (exit 1); exit 1; }; }
51548 fi
51549 cat >conftest.$ac_ext <<_ACEOF
51550 #line $LINENO "configure"
51551 /* confdefs.h.  */
51552 _ACEOF
51553 cat confdefs.h >>conftest.$ac_ext
51554 cat >>conftest.$ac_ext <<_ACEOF
51555 /* end confdefs.h.  */
51556 /* System header to define __stub macros and hopefully few prototypes,
51557     which can conflict with char $ac_func (); below.
51558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51559     <limits.h> exists even on freestanding compilers.  */
51560 #ifdef __STDC__
51561 # include <limits.h>
51562 #else
51563 # include <assert.h>
51564 #endif
51565 /* Override any gcc2 internal prototype to avoid an error.  */
51566 #ifdef __cplusplus
51567 extern "C"
51568 {
51569 #endif
51570 /* We use char because int might match the return type of a gcc2
51571    builtin and then its argument prototype would still apply.  */
51572 char $ac_func ();
51573 /* The GNU C library defines this for functions which it implements
51574     to always fail with ENOSYS.  Some functions are actually named
51575     something starting with __ and the normal name is an alias.  */
51576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51577 choke me
51578 #else
51579 char (*f) () = $ac_func;
51580 #endif
51581 #ifdef __cplusplus
51582 }
51583 #endif
51584
51585 int
51586 main ()
51587 {
51588 return f != $ac_func;
51589   ;
51590   return 0;
51591 }
51592 _ACEOF
51593 rm -f conftest.$ac_objext conftest$ac_exeext
51594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51595   (eval $ac_link) 2>&5
51596   ac_status=$?
51597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598   (exit $ac_status); } &&
51599          { ac_try='test -s conftest$ac_exeext'
51600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51601   (eval $ac_try) 2>&5
51602   ac_status=$?
51603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51604   (exit $ac_status); }; }; then
51605   eval "$as_ac_var=yes"
51606 else
51607   echo "$as_me: failed program was:" >&5
51608 sed 's/^/| /' conftest.$ac_ext >&5
51609
51610 eval "$as_ac_var=no"
51611 fi
51612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51613 fi
51614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51616 if test `eval echo '${'$as_ac_var'}'` = yes; then
51617   cat >>confdefs.h <<_ACEOF
51618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51619 _ACEOF
51620
51621 else
51622   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51623 fi
51624 done
51625
51626
51627
51628 for ac_func in __signbit
51629 do
51630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51631 echo "$as_me:$LINENO: checking for $ac_func" >&5
51632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51633 if eval "test \"\${$as_ac_var+set}\" = set"; then
51634   echo $ECHO_N "(cached) $ECHO_C" >&6
51635 else
51636   if test x$gcc_no_link = xyes; then
51637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51639    { (exit 1); exit 1; }; }
51640 fi
51641 cat >conftest.$ac_ext <<_ACEOF
51642 #line $LINENO "configure"
51643 /* confdefs.h.  */
51644 _ACEOF
51645 cat confdefs.h >>conftest.$ac_ext
51646 cat >>conftest.$ac_ext <<_ACEOF
51647 /* end confdefs.h.  */
51648 /* System header to define __stub macros and hopefully few prototypes,
51649     which can conflict with char $ac_func (); below.
51650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51651     <limits.h> exists even on freestanding compilers.  */
51652 #ifdef __STDC__
51653 # include <limits.h>
51654 #else
51655 # include <assert.h>
51656 #endif
51657 /* Override any gcc2 internal prototype to avoid an error.  */
51658 #ifdef __cplusplus
51659 extern "C"
51660 {
51661 #endif
51662 /* We use char because int might match the return type of a gcc2
51663    builtin and then its argument prototype would still apply.  */
51664 char $ac_func ();
51665 /* The GNU C library defines this for functions which it implements
51666     to always fail with ENOSYS.  Some functions are actually named
51667     something starting with __ and the normal name is an alias.  */
51668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51669 choke me
51670 #else
51671 char (*f) () = $ac_func;
51672 #endif
51673 #ifdef __cplusplus
51674 }
51675 #endif
51676
51677 int
51678 main ()
51679 {
51680 return f != $ac_func;
51681   ;
51682   return 0;
51683 }
51684 _ACEOF
51685 rm -f conftest.$ac_objext conftest$ac_exeext
51686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51687   (eval $ac_link) 2>&5
51688   ac_status=$?
51689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51690   (exit $ac_status); } &&
51691          { ac_try='test -s conftest$ac_exeext'
51692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51693   (eval $ac_try) 2>&5
51694   ac_status=$?
51695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51696   (exit $ac_status); }; }; then
51697   eval "$as_ac_var=yes"
51698 else
51699   echo "$as_me: failed program was:" >&5
51700 sed 's/^/| /' conftest.$ac_ext >&5
51701
51702 eval "$as_ac_var=no"
51703 fi
51704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51705 fi
51706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51708 if test `eval echo '${'$as_ac_var'}'` = yes; then
51709   cat >>confdefs.h <<_ACEOF
51710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51711 _ACEOF
51712
51713 else
51714   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51715 fi
51716 done
51717
51718
51719 for ac_func in __signbitf
51720 do
51721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51722 echo "$as_me:$LINENO: checking for $ac_func" >&5
51723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51724 if eval "test \"\${$as_ac_var+set}\" = set"; then
51725   echo $ECHO_N "(cached) $ECHO_C" >&6
51726 else
51727   if test x$gcc_no_link = xyes; then
51728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51730    { (exit 1); exit 1; }; }
51731 fi
51732 cat >conftest.$ac_ext <<_ACEOF
51733 #line $LINENO "configure"
51734 /* confdefs.h.  */
51735 _ACEOF
51736 cat confdefs.h >>conftest.$ac_ext
51737 cat >>conftest.$ac_ext <<_ACEOF
51738 /* end confdefs.h.  */
51739 /* System header to define __stub macros and hopefully few prototypes,
51740     which can conflict with char $ac_func (); below.
51741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51742     <limits.h> exists even on freestanding compilers.  */
51743 #ifdef __STDC__
51744 # include <limits.h>
51745 #else
51746 # include <assert.h>
51747 #endif
51748 /* Override any gcc2 internal prototype to avoid an error.  */
51749 #ifdef __cplusplus
51750 extern "C"
51751 {
51752 #endif
51753 /* We use char because int might match the return type of a gcc2
51754    builtin and then its argument prototype would still apply.  */
51755 char $ac_func ();
51756 /* The GNU C library defines this for functions which it implements
51757     to always fail with ENOSYS.  Some functions are actually named
51758     something starting with __ and the normal name is an alias.  */
51759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51760 choke me
51761 #else
51762 char (*f) () = $ac_func;
51763 #endif
51764 #ifdef __cplusplus
51765 }
51766 #endif
51767
51768 int
51769 main ()
51770 {
51771 return f != $ac_func;
51772   ;
51773   return 0;
51774 }
51775 _ACEOF
51776 rm -f conftest.$ac_objext conftest$ac_exeext
51777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51778   (eval $ac_link) 2>&5
51779   ac_status=$?
51780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51781   (exit $ac_status); } &&
51782          { ac_try='test -s conftest$ac_exeext'
51783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51784   (eval $ac_try) 2>&5
51785   ac_status=$?
51786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787   (exit $ac_status); }; }; then
51788   eval "$as_ac_var=yes"
51789 else
51790   echo "$as_me: failed program was:" >&5
51791 sed 's/^/| /' conftest.$ac_ext >&5
51792
51793 eval "$as_ac_var=no"
51794 fi
51795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51796 fi
51797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51799 if test `eval echo '${'$as_ac_var'}'` = yes; then
51800   cat >>confdefs.h <<_ACEOF
51801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51802 _ACEOF
51803
51804 else
51805   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51806 fi
51807 done
51808
51809
51810           if test x$ac_cv_func_copysignl = x"yes"; then
51811
51812 for ac_func in __signbitl
51813 do
51814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51815 echo "$as_me:$LINENO: checking for $ac_func" >&5
51816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51817 if eval "test \"\${$as_ac_var+set}\" = set"; then
51818   echo $ECHO_N "(cached) $ECHO_C" >&6
51819 else
51820   if test x$gcc_no_link = xyes; then
51821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51823    { (exit 1); exit 1; }; }
51824 fi
51825 cat >conftest.$ac_ext <<_ACEOF
51826 #line $LINENO "configure"
51827 /* confdefs.h.  */
51828 _ACEOF
51829 cat confdefs.h >>conftest.$ac_ext
51830 cat >>conftest.$ac_ext <<_ACEOF
51831 /* end confdefs.h.  */
51832 /* System header to define __stub macros and hopefully few prototypes,
51833     which can conflict with char $ac_func (); below.
51834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51835     <limits.h> exists even on freestanding compilers.  */
51836 #ifdef __STDC__
51837 # include <limits.h>
51838 #else
51839 # include <assert.h>
51840 #endif
51841 /* Override any gcc2 internal prototype to avoid an error.  */
51842 #ifdef __cplusplus
51843 extern "C"
51844 {
51845 #endif
51846 /* We use char because int might match the return type of a gcc2
51847    builtin and then its argument prototype would still apply.  */
51848 char $ac_func ();
51849 /* The GNU C library defines this for functions which it implements
51850     to always fail with ENOSYS.  Some functions are actually named
51851     something starting with __ and the normal name is an alias.  */
51852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51853 choke me
51854 #else
51855 char (*f) () = $ac_func;
51856 #endif
51857 #ifdef __cplusplus
51858 }
51859 #endif
51860
51861 int
51862 main ()
51863 {
51864 return f != $ac_func;
51865   ;
51866   return 0;
51867 }
51868 _ACEOF
51869 rm -f conftest.$ac_objext conftest$ac_exeext
51870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51871   (eval $ac_link) 2>&5
51872   ac_status=$?
51873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51874   (exit $ac_status); } &&
51875          { ac_try='test -s conftest$ac_exeext'
51876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51877   (eval $ac_try) 2>&5
51878   ac_status=$?
51879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51880   (exit $ac_status); }; }; then
51881   eval "$as_ac_var=yes"
51882 else
51883   echo "$as_me: failed program was:" >&5
51884 sed 's/^/| /' conftest.$ac_ext >&5
51885
51886 eval "$as_ac_var=no"
51887 fi
51888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51889 fi
51890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51892 if test `eval echo '${'$as_ac_var'}'` = yes; then
51893   cat >>confdefs.h <<_ACEOF
51894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51895 _ACEOF
51896
51897 else
51898   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51899 fi
51900 done
51901
51902   fi
51903
51904   # XXX Review this.  Nothing uses it.
51905   if test -n "$LIBMATHOBJS"; then
51906     need_libmath=yes
51907   fi
51908
51909
51910
51911   # Test wchar.h for mbstate_t, which is needed for char_traits and
51912   # others even if wchar_t support is not on.
51913   echo "$as_me:$LINENO: checking for mbstate_t" >&5
51914 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51915   cat >conftest.$ac_ext <<_ACEOF
51916 #line $LINENO "configure"
51917 /* confdefs.h.  */
51918 _ACEOF
51919 cat confdefs.h >>conftest.$ac_ext
51920 cat >>conftest.$ac_ext <<_ACEOF
51921 /* end confdefs.h.  */
51922 #include <wchar.h>
51923 int
51924 main ()
51925 {
51926 mbstate_t teststate;
51927   ;
51928   return 0;
51929 }
51930 _ACEOF
51931 rm -f conftest.$ac_objext
51932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51933   (eval $ac_compile) 2>&5
51934   ac_status=$?
51935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51936   (exit $ac_status); } &&
51937          { ac_try='test -s conftest.$ac_objext'
51938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51939   (eval $ac_try) 2>&5
51940   ac_status=$?
51941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51942   (exit $ac_status); }; }; then
51943   have_mbstate_t=yes
51944 else
51945   echo "$as_me: failed program was:" >&5
51946 sed 's/^/| /' conftest.$ac_ext >&5
51947
51948 have_mbstate_t=no
51949 fi
51950 rm -f conftest.$ac_objext conftest.$ac_ext
51951   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51952 echo "${ECHO_T}$have_mbstate_t" >&6
51953   if test x"$have_mbstate_t" = xyes; then
51954     cat >>confdefs.h <<\_ACEOF
51955 #define HAVE_MBSTATE_T 1
51956 _ACEOF
51957
51958   fi
51959
51960   # Sanity check for existence of ISO C99 headers for extended encoding.
51961
51962 for ac_header in wchar.h
51963 do
51964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51966   echo "$as_me:$LINENO: checking for $ac_header" >&5
51967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51969   echo $ECHO_N "(cached) $ECHO_C" >&6
51970 fi
51971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51973 else
51974   # Is the header compilable?
51975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51977 cat >conftest.$ac_ext <<_ACEOF
51978 #line $LINENO "configure"
51979 /* confdefs.h.  */
51980 _ACEOF
51981 cat confdefs.h >>conftest.$ac_ext
51982 cat >>conftest.$ac_ext <<_ACEOF
51983 /* end confdefs.h.  */
51984 $ac_includes_default
51985 #include <$ac_header>
51986 _ACEOF
51987 rm -f conftest.$ac_objext
51988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51989   (eval $ac_compile) 2>&5
51990   ac_status=$?
51991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51992   (exit $ac_status); } &&
51993          { ac_try='test -s conftest.$ac_objext'
51994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51995   (eval $ac_try) 2>&5
51996   ac_status=$?
51997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51998   (exit $ac_status); }; }; then
51999   ac_header_compiler=yes
52000 else
52001   echo "$as_me: failed program was:" >&5
52002 sed 's/^/| /' conftest.$ac_ext >&5
52003
52004 ac_header_compiler=no
52005 fi
52006 rm -f conftest.$ac_objext conftest.$ac_ext
52007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52008 echo "${ECHO_T}$ac_header_compiler" >&6
52009
52010 # Is the header present?
52011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52013 cat >conftest.$ac_ext <<_ACEOF
52014 #line $LINENO "configure"
52015 /* confdefs.h.  */
52016 _ACEOF
52017 cat confdefs.h >>conftest.$ac_ext
52018 cat >>conftest.$ac_ext <<_ACEOF
52019 /* end confdefs.h.  */
52020 #include <$ac_header>
52021 _ACEOF
52022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52023   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52024   ac_status=$?
52025   grep -v '^ *+' conftest.er1 >conftest.err
52026   rm -f conftest.er1
52027   cat conftest.err >&5
52028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52029   (exit $ac_status); } >/dev/null; then
52030   if test -s conftest.err; then
52031     ac_cpp_err=$ac_c_preproc_warn_flag
52032   else
52033     ac_cpp_err=
52034   fi
52035 else
52036   ac_cpp_err=yes
52037 fi
52038 if test -z "$ac_cpp_err"; then
52039   ac_header_preproc=yes
52040 else
52041   echo "$as_me: failed program was:" >&5
52042 sed 's/^/| /' conftest.$ac_ext >&5
52043
52044   ac_header_preproc=no
52045 fi
52046 rm -f conftest.err conftest.$ac_ext
52047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52048 echo "${ECHO_T}$ac_header_preproc" >&6
52049
52050 # So?  What about this header?
52051 case $ac_header_compiler:$ac_header_preproc in
52052   yes:no )
52053     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52055     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52057     (
52058       cat <<\_ASBOX
52059 ## ------------------------------------ ##
52060 ## Report this to bug-autoconf@gnu.org. ##
52061 ## ------------------------------------ ##
52062 _ASBOX
52063     ) |
52064       sed "s/^/$as_me: WARNING:     /" >&2
52065     ;;
52066   no:yes )
52067     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52069     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52071     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52073     (
52074       cat <<\_ASBOX
52075 ## ------------------------------------ ##
52076 ## Report this to bug-autoconf@gnu.org. ##
52077 ## ------------------------------------ ##
52078 _ASBOX
52079     ) |
52080       sed "s/^/$as_me: WARNING:     /" >&2
52081     ;;
52082 esac
52083 echo "$as_me:$LINENO: checking for $ac_header" >&5
52084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52086   echo $ECHO_N "(cached) $ECHO_C" >&6
52087 else
52088   eval "$as_ac_Header=$ac_header_preproc"
52089 fi
52090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52092
52093 fi
52094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52095   cat >>confdefs.h <<_ACEOF
52096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52097 _ACEOF
52098  ac_has_wchar_h=yes
52099 else
52100   ac_has_wchar_h=no
52101 fi
52102
52103 done
52104
52105
52106 for ac_header in wctype.h
52107 do
52108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52110   echo "$as_me:$LINENO: checking for $ac_header" >&5
52111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52113   echo $ECHO_N "(cached) $ECHO_C" >&6
52114 fi
52115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52117 else
52118   # Is the header compilable?
52119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52121 cat >conftest.$ac_ext <<_ACEOF
52122 #line $LINENO "configure"
52123 /* confdefs.h.  */
52124 _ACEOF
52125 cat confdefs.h >>conftest.$ac_ext
52126 cat >>conftest.$ac_ext <<_ACEOF
52127 /* end confdefs.h.  */
52128 $ac_includes_default
52129 #include <$ac_header>
52130 _ACEOF
52131 rm -f conftest.$ac_objext
52132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52133   (eval $ac_compile) 2>&5
52134   ac_status=$?
52135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52136   (exit $ac_status); } &&
52137          { ac_try='test -s conftest.$ac_objext'
52138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52139   (eval $ac_try) 2>&5
52140   ac_status=$?
52141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52142   (exit $ac_status); }; }; then
52143   ac_header_compiler=yes
52144 else
52145   echo "$as_me: failed program was:" >&5
52146 sed 's/^/| /' conftest.$ac_ext >&5
52147
52148 ac_header_compiler=no
52149 fi
52150 rm -f conftest.$ac_objext conftest.$ac_ext
52151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52152 echo "${ECHO_T}$ac_header_compiler" >&6
52153
52154 # Is the header present?
52155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52157 cat >conftest.$ac_ext <<_ACEOF
52158 #line $LINENO "configure"
52159 /* confdefs.h.  */
52160 _ACEOF
52161 cat confdefs.h >>conftest.$ac_ext
52162 cat >>conftest.$ac_ext <<_ACEOF
52163 /* end confdefs.h.  */
52164 #include <$ac_header>
52165 _ACEOF
52166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52167   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52168   ac_status=$?
52169   grep -v '^ *+' conftest.er1 >conftest.err
52170   rm -f conftest.er1
52171   cat conftest.err >&5
52172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52173   (exit $ac_status); } >/dev/null; then
52174   if test -s conftest.err; then
52175     ac_cpp_err=$ac_c_preproc_warn_flag
52176   else
52177     ac_cpp_err=
52178   fi
52179 else
52180   ac_cpp_err=yes
52181 fi
52182 if test -z "$ac_cpp_err"; then
52183   ac_header_preproc=yes
52184 else
52185   echo "$as_me: failed program was:" >&5
52186 sed 's/^/| /' conftest.$ac_ext >&5
52187
52188   ac_header_preproc=no
52189 fi
52190 rm -f conftest.err conftest.$ac_ext
52191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52192 echo "${ECHO_T}$ac_header_preproc" >&6
52193
52194 # So?  What about this header?
52195 case $ac_header_compiler:$ac_header_preproc in
52196   yes:no )
52197     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52199     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52201     (
52202       cat <<\_ASBOX
52203 ## ------------------------------------ ##
52204 ## Report this to bug-autoconf@gnu.org. ##
52205 ## ------------------------------------ ##
52206 _ASBOX
52207     ) |
52208       sed "s/^/$as_me: WARNING:     /" >&2
52209     ;;
52210   no:yes )
52211     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52213     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52215     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52217     (
52218       cat <<\_ASBOX
52219 ## ------------------------------------ ##
52220 ## Report this to bug-autoconf@gnu.org. ##
52221 ## ------------------------------------ ##
52222 _ASBOX
52223     ) |
52224       sed "s/^/$as_me: WARNING:     /" >&2
52225     ;;
52226 esac
52227 echo "$as_me:$LINENO: checking for $ac_header" >&5
52228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52230   echo $ECHO_N "(cached) $ECHO_C" >&6
52231 else
52232   eval "$as_ac_Header=$ac_header_preproc"
52233 fi
52234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52236
52237 fi
52238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52239   cat >>confdefs.h <<_ACEOF
52240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52241 _ACEOF
52242  ac_has_wctype_h=yes
52243 else
52244   ac_has_wctype_h=no
52245 fi
52246
52247 done
52248
52249
52250   # Only continue checking if the ISO C99 headers exist and support is on.
52251   if test x"$ac_has_wchar_h" = xyes &&
52252      test x"$ac_has_wctype_h" = xyes &&
52253      test x"$enable_c_mbchar" != xno; then
52254
52255     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52256     # numeric_limits can instantiate type_traits<wchar_t>
52257     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52258 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52259     cat >conftest.$ac_ext <<_ACEOF
52260 #line $LINENO "configure"
52261 /* confdefs.h.  */
52262 _ACEOF
52263 cat confdefs.h >>conftest.$ac_ext
52264 cat >>conftest.$ac_ext <<_ACEOF
52265 /* end confdefs.h.  */
52266 #include <wchar.h>
52267 int
52268 main ()
52269 {
52270 int i = WCHAR_MIN; int j = WCHAR_MAX;
52271   ;
52272   return 0;
52273 }
52274 _ACEOF
52275 rm -f conftest.$ac_objext
52276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52277   (eval $ac_compile) 2>&5
52278   ac_status=$?
52279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52280   (exit $ac_status); } &&
52281          { ac_try='test -s conftest.$ac_objext'
52282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52283   (eval $ac_try) 2>&5
52284   ac_status=$?
52285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52286   (exit $ac_status); }; }; then
52287   has_wchar_minmax=yes
52288 else
52289   echo "$as_me: failed program was:" >&5
52290 sed 's/^/| /' conftest.$ac_ext >&5
52291
52292 has_wchar_minmax=no
52293 fi
52294 rm -f conftest.$ac_objext conftest.$ac_ext
52295     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52296 echo "${ECHO_T}$has_wchar_minmax" >&6
52297
52298     # Test wchar.h for WEOF, which is what we use to determine whether
52299     # to specialize for char_traits<wchar_t> or not.
52300     echo "$as_me:$LINENO: checking for WEOF" >&5
52301 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52302     cat >conftest.$ac_ext <<_ACEOF
52303 #line $LINENO "configure"
52304 /* confdefs.h.  */
52305 _ACEOF
52306 cat confdefs.h >>conftest.$ac_ext
52307 cat >>conftest.$ac_ext <<_ACEOF
52308 /* end confdefs.h.  */
52309
52310       #include <wchar.h>
52311       #include <stddef.h>
52312 int
52313 main ()
52314 {
52315 wint_t i = WEOF;
52316   ;
52317   return 0;
52318 }
52319 _ACEOF
52320 rm -f conftest.$ac_objext
52321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52322   (eval $ac_compile) 2>&5
52323   ac_status=$?
52324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52325   (exit $ac_status); } &&
52326          { ac_try='test -s conftest.$ac_objext'
52327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52328   (eval $ac_try) 2>&5
52329   ac_status=$?
52330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52331   (exit $ac_status); }; }; then
52332   has_weof=yes
52333 else
52334   echo "$as_me: failed program was:" >&5
52335 sed 's/^/| /' conftest.$ac_ext >&5
52336
52337 has_weof=no
52338 fi
52339 rm -f conftest.$ac_objext conftest.$ac_ext
52340     echo "$as_me:$LINENO: result: $has_weof" >&5
52341 echo "${ECHO_T}$has_weof" >&6
52342
52343     # Tests for wide character functions used in char_traits<wchar_t>.
52344     ac_wfuncs=yes
52345
52346
52347
52348
52349
52350
52351 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52352 do
52353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52354 echo "$as_me:$LINENO: checking for $ac_func" >&5
52355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52356 if eval "test \"\${$as_ac_var+set}\" = set"; then
52357   echo $ECHO_N "(cached) $ECHO_C" >&6
52358 else
52359   if test x$gcc_no_link = xyes; then
52360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52362    { (exit 1); exit 1; }; }
52363 fi
52364 cat >conftest.$ac_ext <<_ACEOF
52365 #line $LINENO "configure"
52366 /* confdefs.h.  */
52367 _ACEOF
52368 cat confdefs.h >>conftest.$ac_ext
52369 cat >>conftest.$ac_ext <<_ACEOF
52370 /* end confdefs.h.  */
52371 /* System header to define __stub macros and hopefully few prototypes,
52372     which can conflict with char $ac_func (); below.
52373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52374     <limits.h> exists even on freestanding compilers.  */
52375 #ifdef __STDC__
52376 # include <limits.h>
52377 #else
52378 # include <assert.h>
52379 #endif
52380 /* Override any gcc2 internal prototype to avoid an error.  */
52381 #ifdef __cplusplus
52382 extern "C"
52383 {
52384 #endif
52385 /* We use char because int might match the return type of a gcc2
52386    builtin and then its argument prototype would still apply.  */
52387 char $ac_func ();
52388 /* The GNU C library defines this for functions which it implements
52389     to always fail with ENOSYS.  Some functions are actually named
52390     something starting with __ and the normal name is an alias.  */
52391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52392 choke me
52393 #else
52394 char (*f) () = $ac_func;
52395 #endif
52396 #ifdef __cplusplus
52397 }
52398 #endif
52399
52400 int
52401 main ()
52402 {
52403 return f != $ac_func;
52404   ;
52405   return 0;
52406 }
52407 _ACEOF
52408 rm -f conftest.$ac_objext conftest$ac_exeext
52409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52410   (eval $ac_link) 2>&5
52411   ac_status=$?
52412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52413   (exit $ac_status); } &&
52414          { ac_try='test -s conftest$ac_exeext'
52415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52416   (eval $ac_try) 2>&5
52417   ac_status=$?
52418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52419   (exit $ac_status); }; }; then
52420   eval "$as_ac_var=yes"
52421 else
52422   echo "$as_me: failed program was:" >&5
52423 sed 's/^/| /' conftest.$ac_ext >&5
52424
52425 eval "$as_ac_var=no"
52426 fi
52427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52428 fi
52429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52431 if test `eval echo '${'$as_ac_var'}'` = yes; then
52432   cat >>confdefs.h <<_ACEOF
52433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52434 _ACEOF
52435
52436 else
52437   ac_wfuncs=no
52438 fi
52439 done
52440
52441
52442     # Checks for names injected into std:: by the c_std headers.
52443
52444
52445
52446
52447
52448
52449
52450
52451
52452
52453
52454
52455
52456
52457
52458
52459
52460
52461
52462
52463
52464
52465
52466
52467
52468
52469
52470
52471
52472
52473
52474
52475
52476
52477
52478
52479
52480
52481
52482
52483
52484
52485
52486
52487
52488
52489 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52490     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
52491     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52492     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
52493     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52494     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52495 do
52496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52497 echo "$as_me:$LINENO: checking for $ac_func" >&5
52498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52499 if eval "test \"\${$as_ac_var+set}\" = set"; then
52500   echo $ECHO_N "(cached) $ECHO_C" >&6
52501 else
52502   if test x$gcc_no_link = xyes; then
52503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52505    { (exit 1); exit 1; }; }
52506 fi
52507 cat >conftest.$ac_ext <<_ACEOF
52508 #line $LINENO "configure"
52509 /* confdefs.h.  */
52510 _ACEOF
52511 cat confdefs.h >>conftest.$ac_ext
52512 cat >>conftest.$ac_ext <<_ACEOF
52513 /* end confdefs.h.  */
52514 /* System header to define __stub macros and hopefully few prototypes,
52515     which can conflict with char $ac_func (); below.
52516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52517     <limits.h> exists even on freestanding compilers.  */
52518 #ifdef __STDC__
52519 # include <limits.h>
52520 #else
52521 # include <assert.h>
52522 #endif
52523 /* Override any gcc2 internal prototype to avoid an error.  */
52524 #ifdef __cplusplus
52525 extern "C"
52526 {
52527 #endif
52528 /* We use char because int might match the return type of a gcc2
52529    builtin and then its argument prototype would still apply.  */
52530 char $ac_func ();
52531 /* The GNU C library defines this for functions which it implements
52532     to always fail with ENOSYS.  Some functions are actually named
52533     something starting with __ and the normal name is an alias.  */
52534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52535 choke me
52536 #else
52537 char (*f) () = $ac_func;
52538 #endif
52539 #ifdef __cplusplus
52540 }
52541 #endif
52542
52543 int
52544 main ()
52545 {
52546 return f != $ac_func;
52547   ;
52548   return 0;
52549 }
52550 _ACEOF
52551 rm -f conftest.$ac_objext conftest$ac_exeext
52552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52553   (eval $ac_link) 2>&5
52554   ac_status=$?
52555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556   (exit $ac_status); } &&
52557          { ac_try='test -s conftest$ac_exeext'
52558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52559   (eval $ac_try) 2>&5
52560   ac_status=$?
52561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52562   (exit $ac_status); }; }; then
52563   eval "$as_ac_var=yes"
52564 else
52565   echo "$as_me: failed program was:" >&5
52566 sed 's/^/| /' conftest.$ac_ext >&5
52567
52568 eval "$as_ac_var=no"
52569 fi
52570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52571 fi
52572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52574 if test `eval echo '${'$as_ac_var'}'` = yes; then
52575   cat >>confdefs.h <<_ACEOF
52576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52577 _ACEOF
52578
52579 else
52580   ac_wfuncs=no
52581 fi
52582 done
52583
52584
52585     # Checks for wide character functions that are not required
52586     # for basic wchar_t support.  Don't disable support if they are missing.
52587     # Injection of these is wrapped with guard macros.
52588
52589
52590
52591
52592
52593 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
52594 do
52595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52596 echo "$as_me:$LINENO: checking for $ac_func" >&5
52597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52598 if eval "test \"\${$as_ac_var+set}\" = set"; then
52599   echo $ECHO_N "(cached) $ECHO_C" >&6
52600 else
52601   if test x$gcc_no_link = xyes; then
52602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52604    { (exit 1); exit 1; }; }
52605 fi
52606 cat >conftest.$ac_ext <<_ACEOF
52607 #line $LINENO "configure"
52608 /* confdefs.h.  */
52609 _ACEOF
52610 cat confdefs.h >>conftest.$ac_ext
52611 cat >>conftest.$ac_ext <<_ACEOF
52612 /* end confdefs.h.  */
52613 /* System header to define __stub macros and hopefully few prototypes,
52614     which can conflict with char $ac_func (); below.
52615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52616     <limits.h> exists even on freestanding compilers.  */
52617 #ifdef __STDC__
52618 # include <limits.h>
52619 #else
52620 # include <assert.h>
52621 #endif
52622 /* Override any gcc2 internal prototype to avoid an error.  */
52623 #ifdef __cplusplus
52624 extern "C"
52625 {
52626 #endif
52627 /* We use char because int might match the return type of a gcc2
52628    builtin and then its argument prototype would still apply.  */
52629 char $ac_func ();
52630 /* The GNU C library defines this for functions which it implements
52631     to always fail with ENOSYS.  Some functions are actually named
52632     something starting with __ and the normal name is an alias.  */
52633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52634 choke me
52635 #else
52636 char (*f) () = $ac_func;
52637 #endif
52638 #ifdef __cplusplus
52639 }
52640 #endif
52641
52642 int
52643 main ()
52644 {
52645 return f != $ac_func;
52646   ;
52647   return 0;
52648 }
52649 _ACEOF
52650 rm -f conftest.$ac_objext conftest$ac_exeext
52651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52652   (eval $ac_link) 2>&5
52653   ac_status=$?
52654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52655   (exit $ac_status); } &&
52656          { ac_try='test -s conftest$ac_exeext'
52657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52658   (eval $ac_try) 2>&5
52659   ac_status=$?
52660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52661   (exit $ac_status); }; }; then
52662   eval "$as_ac_var=yes"
52663 else
52664   echo "$as_me: failed program was:" >&5
52665 sed 's/^/| /' conftest.$ac_ext >&5
52666
52667 eval "$as_ac_var=no"
52668 fi
52669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52670 fi
52671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52673 if test `eval echo '${'$as_ac_var'}'` = yes; then
52674   cat >>confdefs.h <<_ACEOF
52675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52676 _ACEOF
52677
52678 fi
52679 done
52680
52681
52682     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52683 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52684     if test x"$has_weof" = xyes &&
52685        test x"$has_wchar_minmax" = xyes &&
52686        test x"$ac_wfuncs" = xyes;
52687     then
52688       ac_isoC99_wchar_t=yes
52689     else
52690       ac_isoC99_wchar_t=no
52691     fi
52692     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52693 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52694
52695     # Use iconv for wchar_t to char conversions. As such, check for
52696     # X/Open Portability Guide, version 2 features (XPG2).
52697     if test "${ac_cv_header_iconv_h+set}" = set; then
52698   echo "$as_me:$LINENO: checking for iconv.h" >&5
52699 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52700 if test "${ac_cv_header_iconv_h+set}" = set; then
52701   echo $ECHO_N "(cached) $ECHO_C" >&6
52702 fi
52703 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52704 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52705 else
52706   # Is the header compilable?
52707 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52708 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52709 cat >conftest.$ac_ext <<_ACEOF
52710 #line $LINENO "configure"
52711 /* confdefs.h.  */
52712 _ACEOF
52713 cat confdefs.h >>conftest.$ac_ext
52714 cat >>conftest.$ac_ext <<_ACEOF
52715 /* end confdefs.h.  */
52716 $ac_includes_default
52717 #include <iconv.h>
52718 _ACEOF
52719 rm -f conftest.$ac_objext
52720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52721   (eval $ac_compile) 2>&5
52722   ac_status=$?
52723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724   (exit $ac_status); } &&
52725          { ac_try='test -s conftest.$ac_objext'
52726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52727   (eval $ac_try) 2>&5
52728   ac_status=$?
52729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730   (exit $ac_status); }; }; then
52731   ac_header_compiler=yes
52732 else
52733   echo "$as_me: failed program was:" >&5
52734 sed 's/^/| /' conftest.$ac_ext >&5
52735
52736 ac_header_compiler=no
52737 fi
52738 rm -f conftest.$ac_objext conftest.$ac_ext
52739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52740 echo "${ECHO_T}$ac_header_compiler" >&6
52741
52742 # Is the header present?
52743 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52744 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52745 cat >conftest.$ac_ext <<_ACEOF
52746 #line $LINENO "configure"
52747 /* confdefs.h.  */
52748 _ACEOF
52749 cat confdefs.h >>conftest.$ac_ext
52750 cat >>conftest.$ac_ext <<_ACEOF
52751 /* end confdefs.h.  */
52752 #include <iconv.h>
52753 _ACEOF
52754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52755   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52756   ac_status=$?
52757   grep -v '^ *+' conftest.er1 >conftest.err
52758   rm -f conftest.er1
52759   cat conftest.err >&5
52760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761   (exit $ac_status); } >/dev/null; then
52762   if test -s conftest.err; then
52763     ac_cpp_err=$ac_c_preproc_warn_flag
52764   else
52765     ac_cpp_err=
52766   fi
52767 else
52768   ac_cpp_err=yes
52769 fi
52770 if test -z "$ac_cpp_err"; then
52771   ac_header_preproc=yes
52772 else
52773   echo "$as_me: failed program was:" >&5
52774 sed 's/^/| /' conftest.$ac_ext >&5
52775
52776   ac_header_preproc=no
52777 fi
52778 rm -f conftest.err conftest.$ac_ext
52779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52780 echo "${ECHO_T}$ac_header_preproc" >&6
52781
52782 # So?  What about this header?
52783 case $ac_header_compiler:$ac_header_preproc in
52784   yes:no )
52785     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52786 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52787     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52788 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52789     (
52790       cat <<\_ASBOX
52791 ## ------------------------------------ ##
52792 ## Report this to bug-autoconf@gnu.org. ##
52793 ## ------------------------------------ ##
52794 _ASBOX
52795     ) |
52796       sed "s/^/$as_me: WARNING:     /" >&2
52797     ;;
52798   no:yes )
52799     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52800 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52801     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52802 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52803     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52804 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52805     (
52806       cat <<\_ASBOX
52807 ## ------------------------------------ ##
52808 ## Report this to bug-autoconf@gnu.org. ##
52809 ## ------------------------------------ ##
52810 _ASBOX
52811     ) |
52812       sed "s/^/$as_me: WARNING:     /" >&2
52813     ;;
52814 esac
52815 echo "$as_me:$LINENO: checking for iconv.h" >&5
52816 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52817 if test "${ac_cv_header_iconv_h+set}" = set; then
52818   echo $ECHO_N "(cached) $ECHO_C" >&6
52819 else
52820   ac_cv_header_iconv_h=$ac_header_preproc
52821 fi
52822 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52823 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52824
52825 fi
52826 if test $ac_cv_header_iconv_h = yes; then
52827   ac_has_iconv_h=yes
52828 else
52829   ac_has_iconv_h=no
52830 fi
52831
52832
52833     if test "${ac_cv_header_langinfo_h+set}" = set; then
52834   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52835 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52836 if test "${ac_cv_header_langinfo_h+set}" = set; then
52837   echo $ECHO_N "(cached) $ECHO_C" >&6
52838 fi
52839 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52840 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52841 else
52842   # Is the header compilable?
52843 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52844 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52845 cat >conftest.$ac_ext <<_ACEOF
52846 #line $LINENO "configure"
52847 /* confdefs.h.  */
52848 _ACEOF
52849 cat confdefs.h >>conftest.$ac_ext
52850 cat >>conftest.$ac_ext <<_ACEOF
52851 /* end confdefs.h.  */
52852 $ac_includes_default
52853 #include <langinfo.h>
52854 _ACEOF
52855 rm -f conftest.$ac_objext
52856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52857   (eval $ac_compile) 2>&5
52858   ac_status=$?
52859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52860   (exit $ac_status); } &&
52861          { ac_try='test -s conftest.$ac_objext'
52862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52863   (eval $ac_try) 2>&5
52864   ac_status=$?
52865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866   (exit $ac_status); }; }; then
52867   ac_header_compiler=yes
52868 else
52869   echo "$as_me: failed program was:" >&5
52870 sed 's/^/| /' conftest.$ac_ext >&5
52871
52872 ac_header_compiler=no
52873 fi
52874 rm -f conftest.$ac_objext conftest.$ac_ext
52875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52876 echo "${ECHO_T}$ac_header_compiler" >&6
52877
52878 # Is the header present?
52879 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52880 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52881 cat >conftest.$ac_ext <<_ACEOF
52882 #line $LINENO "configure"
52883 /* confdefs.h.  */
52884 _ACEOF
52885 cat confdefs.h >>conftest.$ac_ext
52886 cat >>conftest.$ac_ext <<_ACEOF
52887 /* end confdefs.h.  */
52888 #include <langinfo.h>
52889 _ACEOF
52890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52891   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52892   ac_status=$?
52893   grep -v '^ *+' conftest.er1 >conftest.err
52894   rm -f conftest.er1
52895   cat conftest.err >&5
52896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52897   (exit $ac_status); } >/dev/null; then
52898   if test -s conftest.err; then
52899     ac_cpp_err=$ac_c_preproc_warn_flag
52900   else
52901     ac_cpp_err=
52902   fi
52903 else
52904   ac_cpp_err=yes
52905 fi
52906 if test -z "$ac_cpp_err"; then
52907   ac_header_preproc=yes
52908 else
52909   echo "$as_me: failed program was:" >&5
52910 sed 's/^/| /' conftest.$ac_ext >&5
52911
52912   ac_header_preproc=no
52913 fi
52914 rm -f conftest.err conftest.$ac_ext
52915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52916 echo "${ECHO_T}$ac_header_preproc" >&6
52917
52918 # So?  What about this header?
52919 case $ac_header_compiler:$ac_header_preproc in
52920   yes:no )
52921     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52922 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52923     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52924 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52925     (
52926       cat <<\_ASBOX
52927 ## ------------------------------------ ##
52928 ## Report this to bug-autoconf@gnu.org. ##
52929 ## ------------------------------------ ##
52930 _ASBOX
52931     ) |
52932       sed "s/^/$as_me: WARNING:     /" >&2
52933     ;;
52934   no:yes )
52935     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52936 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52937     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52938 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52939     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52940 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52941     (
52942       cat <<\_ASBOX
52943 ## ------------------------------------ ##
52944 ## Report this to bug-autoconf@gnu.org. ##
52945 ## ------------------------------------ ##
52946 _ASBOX
52947     ) |
52948       sed "s/^/$as_me: WARNING:     /" >&2
52949     ;;
52950 esac
52951 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52952 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52953 if test "${ac_cv_header_langinfo_h+set}" = set; then
52954   echo $ECHO_N "(cached) $ECHO_C" >&6
52955 else
52956   ac_cv_header_langinfo_h=$ac_header_preproc
52957 fi
52958 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52959 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52960
52961 fi
52962 if test $ac_cv_header_langinfo_h = yes; then
52963   ac_has_langinfo_h=yes
52964 else
52965   ac_has_langinfo_h=no
52966 fi
52967
52968
52969
52970     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52971     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52972 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52973 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52974   echo $ECHO_N "(cached) $ECHO_C" >&6
52975 else
52976   ac_check_lib_save_LIBS=$LIBS
52977 LIBS="-liconv  $LIBS"
52978 if test x$gcc_no_link = xyes; then
52979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52981    { (exit 1); exit 1; }; }
52982 fi
52983 cat >conftest.$ac_ext <<_ACEOF
52984 #line $LINENO "configure"
52985 /* confdefs.h.  */
52986 _ACEOF
52987 cat confdefs.h >>conftest.$ac_ext
52988 cat >>conftest.$ac_ext <<_ACEOF
52989 /* end confdefs.h.  */
52990
52991 /* Override any gcc2 internal prototype to avoid an error.  */
52992 #ifdef __cplusplus
52993 extern "C"
52994 #endif
52995 /* We use char because int might match the return type of a gcc2
52996    builtin and then its argument prototype would still apply.  */
52997 char iconv ();
52998 int
52999 main ()
53000 {
53001 iconv ();
53002   ;
53003   return 0;
53004 }
53005 _ACEOF
53006 rm -f conftest.$ac_objext conftest$ac_exeext
53007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53008   (eval $ac_link) 2>&5
53009   ac_status=$?
53010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53011   (exit $ac_status); } &&
53012          { ac_try='test -s conftest$ac_exeext'
53013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53014   (eval $ac_try) 2>&5
53015   ac_status=$?
53016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53017   (exit $ac_status); }; }; then
53018   ac_cv_lib_iconv_iconv=yes
53019 else
53020   echo "$as_me: failed program was:" >&5
53021 sed 's/^/| /' conftest.$ac_ext >&5
53022
53023 ac_cv_lib_iconv_iconv=no
53024 fi
53025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53026 LIBS=$ac_check_lib_save_LIBS
53027 fi
53028 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
53029 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
53030 if test $ac_cv_lib_iconv_iconv = yes; then
53031   libiconv="-liconv"
53032 fi
53033
53034     ac_save_LIBS="$LIBS"
53035     LIBS="$LIBS $libiconv"
53036
53037
53038
53039
53040
53041 for ac_func in iconv_open iconv_close iconv nl_langinfo
53042 do
53043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53044 echo "$as_me:$LINENO: checking for $ac_func" >&5
53045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53046 if eval "test \"\${$as_ac_var+set}\" = set"; then
53047   echo $ECHO_N "(cached) $ECHO_C" >&6
53048 else
53049   if test x$gcc_no_link = xyes; then
53050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53052    { (exit 1); exit 1; }; }
53053 fi
53054 cat >conftest.$ac_ext <<_ACEOF
53055 #line $LINENO "configure"
53056 /* confdefs.h.  */
53057 _ACEOF
53058 cat confdefs.h >>conftest.$ac_ext
53059 cat >>conftest.$ac_ext <<_ACEOF
53060 /* end confdefs.h.  */
53061 /* System header to define __stub macros and hopefully few prototypes,
53062     which can conflict with char $ac_func (); below.
53063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53064     <limits.h> exists even on freestanding compilers.  */
53065 #ifdef __STDC__
53066 # include <limits.h>
53067 #else
53068 # include <assert.h>
53069 #endif
53070 /* Override any gcc2 internal prototype to avoid an error.  */
53071 #ifdef __cplusplus
53072 extern "C"
53073 {
53074 #endif
53075 /* We use char because int might match the return type of a gcc2
53076    builtin and then its argument prototype would still apply.  */
53077 char $ac_func ();
53078 /* The GNU C library defines this for functions which it implements
53079     to always fail with ENOSYS.  Some functions are actually named
53080     something starting with __ and the normal name is an alias.  */
53081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53082 choke me
53083 #else
53084 char (*f) () = $ac_func;
53085 #endif
53086 #ifdef __cplusplus
53087 }
53088 #endif
53089
53090 int
53091 main ()
53092 {
53093 return f != $ac_func;
53094   ;
53095   return 0;
53096 }
53097 _ACEOF
53098 rm -f conftest.$ac_objext conftest$ac_exeext
53099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53100   (eval $ac_link) 2>&5
53101   ac_status=$?
53102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53103   (exit $ac_status); } &&
53104          { ac_try='test -s conftest$ac_exeext'
53105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53106   (eval $ac_try) 2>&5
53107   ac_status=$?
53108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53109   (exit $ac_status); }; }; then
53110   eval "$as_ac_var=yes"
53111 else
53112   echo "$as_me: failed program was:" >&5
53113 sed 's/^/| /' conftest.$ac_ext >&5
53114
53115 eval "$as_ac_var=no"
53116 fi
53117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53118 fi
53119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53121 if test `eval echo '${'$as_ac_var'}'` = yes; then
53122   cat >>confdefs.h <<_ACEOF
53123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53124 _ACEOF
53125  ac_XPG2funcs=yes
53126 else
53127   ac_XPG2funcs=no
53128 fi
53129 done
53130
53131
53132     LIBS="$ac_save_LIBS"
53133
53134     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
53135 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
53136     if test x"$ac_has_iconv_h" = xyes &&
53137        test x"$ac_has_langinfo_h" = xyes &&
53138        test x"$ac_XPG2funcs" = xyes;
53139     then
53140       ac_XPG2_wchar_t=yes
53141     else
53142       ac_XPG2_wchar_t=no
53143     fi
53144     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
53145 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
53146
53147     # At the moment, only enable wchar_t specializations if all the
53148     # above support is present.
53149     if test x"$ac_isoC99_wchar_t" = xyes &&
53150        test x"$ac_XPG2_wchar_t" = xyes;
53151     then
53152       cat >>confdefs.h <<\_ACEOF
53153 #define _GLIBCXX_USE_WCHAR_T 1
53154 _ACEOF
53155
53156       enable_wchar_t=yes
53157     fi
53158   fi
53159   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
53160 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
53161   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
53162 echo "${ECHO_T}$enable_wchar_t" >&6
53163
53164     cat >>confdefs.h <<\_ACEOF
53165 #define HAVE_COPYSIGN 1
53166 _ACEOF
53167
53168     cat >>confdefs.h <<\_ACEOF
53169 #define HAVE_COPYSIGNF 1
53170 _ACEOF
53171
53172     cat >>confdefs.h <<\_ACEOF
53173 #define HAVE_FINITE 1
53174 _ACEOF
53175
53176     cat >>confdefs.h <<\_ACEOF
53177 #define HAVE_FINITEF 1
53178 _ACEOF
53179
53180     cat >>confdefs.h <<\_ACEOF
53181 #define HAVE_FREXPF 1
53182 _ACEOF
53183
53184     cat >>confdefs.h <<\_ACEOF
53185 #define HAVE_HYPOTF 1
53186 _ACEOF
53187
53188     cat >>confdefs.h <<\_ACEOF
53189 #define HAVE_ISINF 1
53190 _ACEOF
53191
53192     cat >>confdefs.h <<\_ACEOF
53193 #define HAVE_ISINFF 1
53194 _ACEOF
53195
53196     cat >>confdefs.h <<\_ACEOF
53197 #define HAVE_ISNAN 1
53198 _ACEOF
53199
53200     cat >>confdefs.h <<\_ACEOF
53201 #define HAVE_ISNANF 1
53202 _ACEOF
53203
53204     cat >>confdefs.h <<\_ACEOF
53205 #define HAVE_SINCOS 1
53206 _ACEOF
53207
53208     cat >>confdefs.h <<\_ACEOF
53209 #define HAVE_SINCOSF 1
53210 _ACEOF
53211
53212     if test x"long_double_math_on_this_cpu" = x"yes"; then
53213       cat >>confdefs.h <<\_ACEOF
53214 #define HAVE_FINITEL 1
53215 _ACEOF
53216
53217       cat >>confdefs.h <<\_ACEOF
53218 #define HAVE_HYPOTL 1
53219 _ACEOF
53220
53221       cat >>confdefs.h <<\_ACEOF
53222 #define HAVE_ISINFL 1
53223 _ACEOF
53224
53225       cat >>confdefs.h <<\_ACEOF
53226 #define HAVE_ISNANL 1
53227 _ACEOF
53228
53229     fi
53230     ;;
53231   *-mingw32*)
53232
53233
53234
53235 for ac_header in sys/types.h locale.h float.h
53236 do
53237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53239   echo "$as_me:$LINENO: checking for $ac_header" >&5
53240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53242   echo $ECHO_N "(cached) $ECHO_C" >&6
53243 fi
53244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53246 else
53247   # Is the header compilable?
53248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53250 cat >conftest.$ac_ext <<_ACEOF
53251 #line $LINENO "configure"
53252 /* confdefs.h.  */
53253 _ACEOF
53254 cat confdefs.h >>conftest.$ac_ext
53255 cat >>conftest.$ac_ext <<_ACEOF
53256 /* end confdefs.h.  */
53257 $ac_includes_default
53258 #include <$ac_header>
53259 _ACEOF
53260 rm -f conftest.$ac_objext
53261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53262   (eval $ac_compile) 2>&5
53263   ac_status=$?
53264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53265   (exit $ac_status); } &&
53266          { ac_try='test -s conftest.$ac_objext'
53267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53268   (eval $ac_try) 2>&5
53269   ac_status=$?
53270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53271   (exit $ac_status); }; }; then
53272   ac_header_compiler=yes
53273 else
53274   echo "$as_me: failed program was:" >&5
53275 sed 's/^/| /' conftest.$ac_ext >&5
53276
53277 ac_header_compiler=no
53278 fi
53279 rm -f conftest.$ac_objext conftest.$ac_ext
53280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53281 echo "${ECHO_T}$ac_header_compiler" >&6
53282
53283 # Is the header present?
53284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53286 cat >conftest.$ac_ext <<_ACEOF
53287 #line $LINENO "configure"
53288 /* confdefs.h.  */
53289 _ACEOF
53290 cat confdefs.h >>conftest.$ac_ext
53291 cat >>conftest.$ac_ext <<_ACEOF
53292 /* end confdefs.h.  */
53293 #include <$ac_header>
53294 _ACEOF
53295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53296   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53297   ac_status=$?
53298   grep -v '^ *+' conftest.er1 >conftest.err
53299   rm -f conftest.er1
53300   cat conftest.err >&5
53301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302   (exit $ac_status); } >/dev/null; then
53303   if test -s conftest.err; then
53304     ac_cpp_err=$ac_c_preproc_warn_flag
53305   else
53306     ac_cpp_err=
53307   fi
53308 else
53309   ac_cpp_err=yes
53310 fi
53311 if test -z "$ac_cpp_err"; then
53312   ac_header_preproc=yes
53313 else
53314   echo "$as_me: failed program was:" >&5
53315 sed 's/^/| /' conftest.$ac_ext >&5
53316
53317   ac_header_preproc=no
53318 fi
53319 rm -f conftest.err conftest.$ac_ext
53320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53321 echo "${ECHO_T}$ac_header_preproc" >&6
53322
53323 # So?  What about this header?
53324 case $ac_header_compiler:$ac_header_preproc in
53325   yes:no )
53326     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53328     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53330     (
53331       cat <<\_ASBOX
53332 ## ------------------------------------ ##
53333 ## Report this to bug-autoconf@gnu.org. ##
53334 ## ------------------------------------ ##
53335 _ASBOX
53336     ) |
53337       sed "s/^/$as_me: WARNING:     /" >&2
53338     ;;
53339   no:yes )
53340     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53342     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53344     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53346     (
53347       cat <<\_ASBOX
53348 ## ------------------------------------ ##
53349 ## Report this to bug-autoconf@gnu.org. ##
53350 ## ------------------------------------ ##
53351 _ASBOX
53352     ) |
53353       sed "s/^/$as_me: WARNING:     /" >&2
53354     ;;
53355 esac
53356 echo "$as_me:$LINENO: checking for $ac_header" >&5
53357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53359   echo $ECHO_N "(cached) $ECHO_C" >&6
53360 else
53361   eval "$as_ac_Header=$ac_header_preproc"
53362 fi
53363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53365
53366 fi
53367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53368   cat >>confdefs.h <<_ACEOF
53369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53370 _ACEOF
53371
53372 fi
53373
53374 done
53375
53376
53377   # If we're not using GNU ld, then there's no point in even trying these
53378   # tests.  Check for that first.  We should have already tested for gld
53379   # by now (in libtool), but require it now just to be safe...
53380   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53381   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53382
53383
53384
53385   # The name set by libtool depends on the version of libtool.  Shame on us
53386   # for depending on an impl detail, but c'est la vie.  Older versions used
53387   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53388   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53389   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53390   # set (hence we're using an older libtool), then set it.
53391   if test x${with_gnu_ld+set} != xset; then
53392     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53393       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53394       with_gnu_ld=no
53395     else
53396       with_gnu_ld=$ac_cv_prog_gnu_ld
53397     fi
53398   fi
53399
53400   # Start by getting the version number.  I think the libtool test already
53401   # does some of this, but throws away the result.
53402
53403   ldver=`$LD --version 2>/dev/null | head -1 | \
53404          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53405
53406   glibcxx_gnu_ld_version=`echo $ldver | \
53407          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53408
53409   # Set --gc-sections.
53410   if test "$with_gnu_ld" = "notbroken"; then
53411     # GNU ld it is!  Joy and bunny rabbits!
53412
53413     # All these tests are for C++; save the language and the compiler flags.
53414     # Need to do this so that g++ won't try to link in libstdc++
53415     ac_test_CFLAGS="${CFLAGS+set}"
53416     ac_save_CFLAGS="$CFLAGS"
53417     CFLAGS='-x c++  -Wl,--gc-sections'
53418
53419     # Check for -Wl,--gc-sections
53420     # XXX This test is broken at the moment, as symbols required for linking
53421     # are now in libsupc++ (not built yet).  In addition, this test has
53422     # cored on solaris in the past.  In addition, --gc-sections doesn't
53423     # really work at the moment (keeps on discarding used sections, first
53424     # .eh_frame and now some of the glibc sections for iconv).
53425     # Bzzzzt.  Thanks for playing, maybe next time.
53426     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53427 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53428     if test "$cross_compiling" = yes; then
53429   ac_sectionLDflags=yes
53430 else
53431   cat >conftest.$ac_ext <<_ACEOF
53432 #line $LINENO "configure"
53433 /* confdefs.h.  */
53434 _ACEOF
53435 cat confdefs.h >>conftest.$ac_ext
53436 cat >>conftest.$ac_ext <<_ACEOF
53437 /* end confdefs.h.  */
53438
53439      int main(void)
53440      {
53441        try { throw 1; }
53442        catch (...) { };
53443        return 0;
53444      }
53445
53446 _ACEOF
53447 rm -f conftest$ac_exeext
53448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53449   (eval $ac_link) 2>&5
53450   ac_status=$?
53451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53454   (eval $ac_try) 2>&5
53455   ac_status=$?
53456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53457   (exit $ac_status); }; }; then
53458   ac_sectionLDflags=yes
53459 else
53460   echo "$as_me: program exited with status $ac_status" >&5
53461 echo "$as_me: failed program was:" >&5
53462 sed 's/^/| /' conftest.$ac_ext >&5
53463
53464 ( exit $ac_status )
53465 ac_sectionLDflags=no
53466 fi
53467 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53468 fi
53469     if test "$ac_test_CFLAGS" = set; then
53470       CFLAGS="$ac_save_CFLAGS"
53471     else
53472       # this is the suspicious part
53473       CFLAGS=''
53474     fi
53475     if test "$ac_sectionLDflags" = "yes"; then
53476       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53477     fi
53478     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53479 echo "${ECHO_T}$ac_sectionLDflags" >&6
53480   fi
53481
53482   # Set linker optimization flags.
53483   if test x"$with_gnu_ld" = x"yes"; then
53484     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53485   fi
53486
53487
53488
53489
53490
53491
53492 echo "$as_me:$LINENO: checking for main in -lm" >&5
53493 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53494 if test "${ac_cv_lib_m_main+set}" = set; then
53495   echo $ECHO_N "(cached) $ECHO_C" >&6
53496 else
53497   ac_check_lib_save_LIBS=$LIBS
53498 LIBS="-lm  $LIBS"
53499 if test x$gcc_no_link = xyes; then
53500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53502    { (exit 1); exit 1; }; }
53503 fi
53504 cat >conftest.$ac_ext <<_ACEOF
53505 #line $LINENO "configure"
53506 /* confdefs.h.  */
53507 _ACEOF
53508 cat confdefs.h >>conftest.$ac_ext
53509 cat >>conftest.$ac_ext <<_ACEOF
53510 /* end confdefs.h.  */
53511
53512
53513 int
53514 main ()
53515 {
53516 main ();
53517   ;
53518   return 0;
53519 }
53520 _ACEOF
53521 rm -f conftest.$ac_objext conftest$ac_exeext
53522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53523   (eval $ac_link) 2>&5
53524   ac_status=$?
53525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53526   (exit $ac_status); } &&
53527          { ac_try='test -s conftest$ac_exeext'
53528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53529   (eval $ac_try) 2>&5
53530   ac_status=$?
53531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53532   (exit $ac_status); }; }; then
53533   ac_cv_lib_m_main=yes
53534 else
53535   echo "$as_me: failed program was:" >&5
53536 sed 's/^/| /' conftest.$ac_ext >&5
53537
53538 ac_cv_lib_m_main=no
53539 fi
53540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53541 LIBS=$ac_check_lib_save_LIBS
53542 fi
53543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53544 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53545 if test $ac_cv_lib_m_main = yes; then
53546   cat >>confdefs.h <<_ACEOF
53547 #define HAVE_LIBM 1
53548 _ACEOF
53549
53550   LIBS="-lm $LIBS"
53551
53552 fi
53553
53554
53555
53556 for ac_func in nan copysignf
53557 do
53558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53559 echo "$as_me:$LINENO: checking for $ac_func" >&5
53560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53561 if eval "test \"\${$as_ac_var+set}\" = set"; then
53562   echo $ECHO_N "(cached) $ECHO_C" >&6
53563 else
53564   if test x$gcc_no_link = xyes; then
53565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53567    { (exit 1); exit 1; }; }
53568 fi
53569 cat >conftest.$ac_ext <<_ACEOF
53570 #line $LINENO "configure"
53571 /* confdefs.h.  */
53572 _ACEOF
53573 cat confdefs.h >>conftest.$ac_ext
53574 cat >>conftest.$ac_ext <<_ACEOF
53575 /* end confdefs.h.  */
53576 /* System header to define __stub macros and hopefully few prototypes,
53577     which can conflict with char $ac_func (); below.
53578     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53579     <limits.h> exists even on freestanding compilers.  */
53580 #ifdef __STDC__
53581 # include <limits.h>
53582 #else
53583 # include <assert.h>
53584 #endif
53585 /* Override any gcc2 internal prototype to avoid an error.  */
53586 #ifdef __cplusplus
53587 extern "C"
53588 {
53589 #endif
53590 /* We use char because int might match the return type of a gcc2
53591    builtin and then its argument prototype would still apply.  */
53592 char $ac_func ();
53593 /* The GNU C library defines this for functions which it implements
53594     to always fail with ENOSYS.  Some functions are actually named
53595     something starting with __ and the normal name is an alias.  */
53596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53597 choke me
53598 #else
53599 char (*f) () = $ac_func;
53600 #endif
53601 #ifdef __cplusplus
53602 }
53603 #endif
53604
53605 int
53606 main ()
53607 {
53608 return f != $ac_func;
53609   ;
53610   return 0;
53611 }
53612 _ACEOF
53613 rm -f conftest.$ac_objext conftest$ac_exeext
53614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53615   (eval $ac_link) 2>&5
53616   ac_status=$?
53617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53618   (exit $ac_status); } &&
53619          { ac_try='test -s conftest$ac_exeext'
53620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53621   (eval $ac_try) 2>&5
53622   ac_status=$?
53623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53624   (exit $ac_status); }; }; then
53625   eval "$as_ac_var=yes"
53626 else
53627   echo "$as_me: failed program was:" >&5
53628 sed 's/^/| /' conftest.$ac_ext >&5
53629
53630 eval "$as_ac_var=no"
53631 fi
53632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53633 fi
53634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53636 if test `eval echo '${'$as_ac_var'}'` = yes; then
53637   cat >>confdefs.h <<_ACEOF
53638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53639 _ACEOF
53640
53641 else
53642   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53643 fi
53644 done
53645
53646
53647
53648 for ac_func in __signbit
53649 do
53650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53651 echo "$as_me:$LINENO: checking for $ac_func" >&5
53652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53653 if eval "test \"\${$as_ac_var+set}\" = set"; then
53654   echo $ECHO_N "(cached) $ECHO_C" >&6
53655 else
53656   if test x$gcc_no_link = xyes; then
53657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53659    { (exit 1); exit 1; }; }
53660 fi
53661 cat >conftest.$ac_ext <<_ACEOF
53662 #line $LINENO "configure"
53663 /* confdefs.h.  */
53664 _ACEOF
53665 cat confdefs.h >>conftest.$ac_ext
53666 cat >>conftest.$ac_ext <<_ACEOF
53667 /* end confdefs.h.  */
53668 /* System header to define __stub macros and hopefully few prototypes,
53669     which can conflict with char $ac_func (); below.
53670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53671     <limits.h> exists even on freestanding compilers.  */
53672 #ifdef __STDC__
53673 # include <limits.h>
53674 #else
53675 # include <assert.h>
53676 #endif
53677 /* Override any gcc2 internal prototype to avoid an error.  */
53678 #ifdef __cplusplus
53679 extern "C"
53680 {
53681 #endif
53682 /* We use char because int might match the return type of a gcc2
53683    builtin and then its argument prototype would still apply.  */
53684 char $ac_func ();
53685 /* The GNU C library defines this for functions which it implements
53686     to always fail with ENOSYS.  Some functions are actually named
53687     something starting with __ and the normal name is an alias.  */
53688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53689 choke me
53690 #else
53691 char (*f) () = $ac_func;
53692 #endif
53693 #ifdef __cplusplus
53694 }
53695 #endif
53696
53697 int
53698 main ()
53699 {
53700 return f != $ac_func;
53701   ;
53702   return 0;
53703 }
53704 _ACEOF
53705 rm -f conftest.$ac_objext conftest$ac_exeext
53706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53707   (eval $ac_link) 2>&5
53708   ac_status=$?
53709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53710   (exit $ac_status); } &&
53711          { ac_try='test -s conftest$ac_exeext'
53712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53713   (eval $ac_try) 2>&5
53714   ac_status=$?
53715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716   (exit $ac_status); }; }; then
53717   eval "$as_ac_var=yes"
53718 else
53719   echo "$as_me: failed program was:" >&5
53720 sed 's/^/| /' conftest.$ac_ext >&5
53721
53722 eval "$as_ac_var=no"
53723 fi
53724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53725 fi
53726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53728 if test `eval echo '${'$as_ac_var'}'` = yes; then
53729   cat >>confdefs.h <<_ACEOF
53730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53731 _ACEOF
53732
53733 else
53734   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53735 fi
53736 done
53737
53738
53739 for ac_func in __signbitf
53740 do
53741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53742 echo "$as_me:$LINENO: checking for $ac_func" >&5
53743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53744 if eval "test \"\${$as_ac_var+set}\" = set"; then
53745   echo $ECHO_N "(cached) $ECHO_C" >&6
53746 else
53747   if test x$gcc_no_link = xyes; then
53748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53750    { (exit 1); exit 1; }; }
53751 fi
53752 cat >conftest.$ac_ext <<_ACEOF
53753 #line $LINENO "configure"
53754 /* confdefs.h.  */
53755 _ACEOF
53756 cat confdefs.h >>conftest.$ac_ext
53757 cat >>conftest.$ac_ext <<_ACEOF
53758 /* end confdefs.h.  */
53759 /* System header to define __stub macros and hopefully few prototypes,
53760     which can conflict with char $ac_func (); below.
53761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53762     <limits.h> exists even on freestanding compilers.  */
53763 #ifdef __STDC__
53764 # include <limits.h>
53765 #else
53766 # include <assert.h>
53767 #endif
53768 /* Override any gcc2 internal prototype to avoid an error.  */
53769 #ifdef __cplusplus
53770 extern "C"
53771 {
53772 #endif
53773 /* We use char because int might match the return type of a gcc2
53774    builtin and then its argument prototype would still apply.  */
53775 char $ac_func ();
53776 /* The GNU C library defines this for functions which it implements
53777     to always fail with ENOSYS.  Some functions are actually named
53778     something starting with __ and the normal name is an alias.  */
53779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53780 choke me
53781 #else
53782 char (*f) () = $ac_func;
53783 #endif
53784 #ifdef __cplusplus
53785 }
53786 #endif
53787
53788 int
53789 main ()
53790 {
53791 return f != $ac_func;
53792   ;
53793   return 0;
53794 }
53795 _ACEOF
53796 rm -f conftest.$ac_objext conftest$ac_exeext
53797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53798   (eval $ac_link) 2>&5
53799   ac_status=$?
53800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53801   (exit $ac_status); } &&
53802          { ac_try='test -s conftest$ac_exeext'
53803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53804   (eval $ac_try) 2>&5
53805   ac_status=$?
53806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53807   (exit $ac_status); }; }; then
53808   eval "$as_ac_var=yes"
53809 else
53810   echo "$as_me: failed program was:" >&5
53811 sed 's/^/| /' conftest.$ac_ext >&5
53812
53813 eval "$as_ac_var=no"
53814 fi
53815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53816 fi
53817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53819 if test `eval echo '${'$as_ac_var'}'` = yes; then
53820   cat >>confdefs.h <<_ACEOF
53821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53822 _ACEOF
53823
53824 else
53825   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53826 fi
53827 done
53828
53829
53830           if test x$ac_cv_func_copysignl = x"yes"; then
53831
53832 for ac_func in __signbitl
53833 do
53834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53835 echo "$as_me:$LINENO: checking for $ac_func" >&5
53836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53837 if eval "test \"\${$as_ac_var+set}\" = set"; then
53838   echo $ECHO_N "(cached) $ECHO_C" >&6
53839 else
53840   if test x$gcc_no_link = xyes; then
53841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53843    { (exit 1); exit 1; }; }
53844 fi
53845 cat >conftest.$ac_ext <<_ACEOF
53846 #line $LINENO "configure"
53847 /* confdefs.h.  */
53848 _ACEOF
53849 cat confdefs.h >>conftest.$ac_ext
53850 cat >>conftest.$ac_ext <<_ACEOF
53851 /* end confdefs.h.  */
53852 /* System header to define __stub macros and hopefully few prototypes,
53853     which can conflict with char $ac_func (); below.
53854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53855     <limits.h> exists even on freestanding compilers.  */
53856 #ifdef __STDC__
53857 # include <limits.h>
53858 #else
53859 # include <assert.h>
53860 #endif
53861 /* Override any gcc2 internal prototype to avoid an error.  */
53862 #ifdef __cplusplus
53863 extern "C"
53864 {
53865 #endif
53866 /* We use char because int might match the return type of a gcc2
53867    builtin and then its argument prototype would still apply.  */
53868 char $ac_func ();
53869 /* The GNU C library defines this for functions which it implements
53870     to always fail with ENOSYS.  Some functions are actually named
53871     something starting with __ and the normal name is an alias.  */
53872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53873 choke me
53874 #else
53875 char (*f) () = $ac_func;
53876 #endif
53877 #ifdef __cplusplus
53878 }
53879 #endif
53880
53881 int
53882 main ()
53883 {
53884 return f != $ac_func;
53885   ;
53886   return 0;
53887 }
53888 _ACEOF
53889 rm -f conftest.$ac_objext conftest$ac_exeext
53890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53891   (eval $ac_link) 2>&5
53892   ac_status=$?
53893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53894   (exit $ac_status); } &&
53895          { ac_try='test -s conftest$ac_exeext'
53896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53897   (eval $ac_try) 2>&5
53898   ac_status=$?
53899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53900   (exit $ac_status); }; }; then
53901   eval "$as_ac_var=yes"
53902 else
53903   echo "$as_me: failed program was:" >&5
53904 sed 's/^/| /' conftest.$ac_ext >&5
53905
53906 eval "$as_ac_var=no"
53907 fi
53908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53909 fi
53910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53912 if test `eval echo '${'$as_ac_var'}'` = yes; then
53913   cat >>confdefs.h <<_ACEOF
53914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53915 _ACEOF
53916
53917 else
53918   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53919 fi
53920 done
53921
53922   fi
53923
53924   # XXX Review this.  Nothing uses it.
53925   if test -n "$LIBMATHOBJS"; then
53926     need_libmath=yes
53927   fi
53928
53929
53930
53931   # Test wchar.h for mbstate_t, which is needed for char_traits and
53932   # others even if wchar_t support is not on.
53933   echo "$as_me:$LINENO: checking for mbstate_t" >&5
53934 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53935   cat >conftest.$ac_ext <<_ACEOF
53936 #line $LINENO "configure"
53937 /* confdefs.h.  */
53938 _ACEOF
53939 cat confdefs.h >>conftest.$ac_ext
53940 cat >>conftest.$ac_ext <<_ACEOF
53941 /* end confdefs.h.  */
53942 #include <wchar.h>
53943 int
53944 main ()
53945 {
53946 mbstate_t teststate;
53947   ;
53948   return 0;
53949 }
53950 _ACEOF
53951 rm -f conftest.$ac_objext
53952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53953   (eval $ac_compile) 2>&5
53954   ac_status=$?
53955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956   (exit $ac_status); } &&
53957          { ac_try='test -s conftest.$ac_objext'
53958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53959   (eval $ac_try) 2>&5
53960   ac_status=$?
53961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53962   (exit $ac_status); }; }; then
53963   have_mbstate_t=yes
53964 else
53965   echo "$as_me: failed program was:" >&5
53966 sed 's/^/| /' conftest.$ac_ext >&5
53967
53968 have_mbstate_t=no
53969 fi
53970 rm -f conftest.$ac_objext conftest.$ac_ext
53971   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53972 echo "${ECHO_T}$have_mbstate_t" >&6
53973   if test x"$have_mbstate_t" = xyes; then
53974     cat >>confdefs.h <<\_ACEOF
53975 #define HAVE_MBSTATE_T 1
53976 _ACEOF
53977
53978   fi
53979
53980   # Sanity check for existence of ISO C99 headers for extended encoding.
53981
53982 for ac_header in wchar.h
53983 do
53984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53986   echo "$as_me:$LINENO: checking for $ac_header" >&5
53987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53989   echo $ECHO_N "(cached) $ECHO_C" >&6
53990 fi
53991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53993 else
53994   # Is the header compilable?
53995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53997 cat >conftest.$ac_ext <<_ACEOF
53998 #line $LINENO "configure"
53999 /* confdefs.h.  */
54000 _ACEOF
54001 cat confdefs.h >>conftest.$ac_ext
54002 cat >>conftest.$ac_ext <<_ACEOF
54003 /* end confdefs.h.  */
54004 $ac_includes_default
54005 #include <$ac_header>
54006 _ACEOF
54007 rm -f conftest.$ac_objext
54008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54009   (eval $ac_compile) 2>&5
54010   ac_status=$?
54011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54012   (exit $ac_status); } &&
54013          { ac_try='test -s conftest.$ac_objext'
54014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54015   (eval $ac_try) 2>&5
54016   ac_status=$?
54017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54018   (exit $ac_status); }; }; then
54019   ac_header_compiler=yes
54020 else
54021   echo "$as_me: failed program was:" >&5
54022 sed 's/^/| /' conftest.$ac_ext >&5
54023
54024 ac_header_compiler=no
54025 fi
54026 rm -f conftest.$ac_objext conftest.$ac_ext
54027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54028 echo "${ECHO_T}$ac_header_compiler" >&6
54029
54030 # Is the header present?
54031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54033 cat >conftest.$ac_ext <<_ACEOF
54034 #line $LINENO "configure"
54035 /* confdefs.h.  */
54036 _ACEOF
54037 cat confdefs.h >>conftest.$ac_ext
54038 cat >>conftest.$ac_ext <<_ACEOF
54039 /* end confdefs.h.  */
54040 #include <$ac_header>
54041 _ACEOF
54042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54043   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54044   ac_status=$?
54045   grep -v '^ *+' conftest.er1 >conftest.err
54046   rm -f conftest.er1
54047   cat conftest.err >&5
54048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54049   (exit $ac_status); } >/dev/null; then
54050   if test -s conftest.err; then
54051     ac_cpp_err=$ac_c_preproc_warn_flag
54052   else
54053     ac_cpp_err=
54054   fi
54055 else
54056   ac_cpp_err=yes
54057 fi
54058 if test -z "$ac_cpp_err"; then
54059   ac_header_preproc=yes
54060 else
54061   echo "$as_me: failed program was:" >&5
54062 sed 's/^/| /' conftest.$ac_ext >&5
54063
54064   ac_header_preproc=no
54065 fi
54066 rm -f conftest.err conftest.$ac_ext
54067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54068 echo "${ECHO_T}$ac_header_preproc" >&6
54069
54070 # So?  What about this header?
54071 case $ac_header_compiler:$ac_header_preproc in
54072   yes:no )
54073     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54075     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54077     (
54078       cat <<\_ASBOX
54079 ## ------------------------------------ ##
54080 ## Report this to bug-autoconf@gnu.org. ##
54081 ## ------------------------------------ ##
54082 _ASBOX
54083     ) |
54084       sed "s/^/$as_me: WARNING:     /" >&2
54085     ;;
54086   no:yes )
54087     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54089     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54091     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54093     (
54094       cat <<\_ASBOX
54095 ## ------------------------------------ ##
54096 ## Report this to bug-autoconf@gnu.org. ##
54097 ## ------------------------------------ ##
54098 _ASBOX
54099     ) |
54100       sed "s/^/$as_me: WARNING:     /" >&2
54101     ;;
54102 esac
54103 echo "$as_me:$LINENO: checking for $ac_header" >&5
54104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54106   echo $ECHO_N "(cached) $ECHO_C" >&6
54107 else
54108   eval "$as_ac_Header=$ac_header_preproc"
54109 fi
54110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54112
54113 fi
54114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54115   cat >>confdefs.h <<_ACEOF
54116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54117 _ACEOF
54118  ac_has_wchar_h=yes
54119 else
54120   ac_has_wchar_h=no
54121 fi
54122
54123 done
54124
54125
54126 for ac_header in wctype.h
54127 do
54128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54130   echo "$as_me:$LINENO: checking for $ac_header" >&5
54131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54133   echo $ECHO_N "(cached) $ECHO_C" >&6
54134 fi
54135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54137 else
54138   # Is the header compilable?
54139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54141 cat >conftest.$ac_ext <<_ACEOF
54142 #line $LINENO "configure"
54143 /* confdefs.h.  */
54144 _ACEOF
54145 cat confdefs.h >>conftest.$ac_ext
54146 cat >>conftest.$ac_ext <<_ACEOF
54147 /* end confdefs.h.  */
54148 $ac_includes_default
54149 #include <$ac_header>
54150 _ACEOF
54151 rm -f conftest.$ac_objext
54152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54153   (eval $ac_compile) 2>&5
54154   ac_status=$?
54155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54156   (exit $ac_status); } &&
54157          { ac_try='test -s conftest.$ac_objext'
54158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54159   (eval $ac_try) 2>&5
54160   ac_status=$?
54161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54162   (exit $ac_status); }; }; then
54163   ac_header_compiler=yes
54164 else
54165   echo "$as_me: failed program was:" >&5
54166 sed 's/^/| /' conftest.$ac_ext >&5
54167
54168 ac_header_compiler=no
54169 fi
54170 rm -f conftest.$ac_objext conftest.$ac_ext
54171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54172 echo "${ECHO_T}$ac_header_compiler" >&6
54173
54174 # Is the header present?
54175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54177 cat >conftest.$ac_ext <<_ACEOF
54178 #line $LINENO "configure"
54179 /* confdefs.h.  */
54180 _ACEOF
54181 cat confdefs.h >>conftest.$ac_ext
54182 cat >>conftest.$ac_ext <<_ACEOF
54183 /* end confdefs.h.  */
54184 #include <$ac_header>
54185 _ACEOF
54186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54187   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54188   ac_status=$?
54189   grep -v '^ *+' conftest.er1 >conftest.err
54190   rm -f conftest.er1
54191   cat conftest.err >&5
54192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193   (exit $ac_status); } >/dev/null; then
54194   if test -s conftest.err; then
54195     ac_cpp_err=$ac_c_preproc_warn_flag
54196   else
54197     ac_cpp_err=
54198   fi
54199 else
54200   ac_cpp_err=yes
54201 fi
54202 if test -z "$ac_cpp_err"; then
54203   ac_header_preproc=yes
54204 else
54205   echo "$as_me: failed program was:" >&5
54206 sed 's/^/| /' conftest.$ac_ext >&5
54207
54208   ac_header_preproc=no
54209 fi
54210 rm -f conftest.err conftest.$ac_ext
54211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54212 echo "${ECHO_T}$ac_header_preproc" >&6
54213
54214 # So?  What about this header?
54215 case $ac_header_compiler:$ac_header_preproc in
54216   yes:no )
54217     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54219     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54221     (
54222       cat <<\_ASBOX
54223 ## ------------------------------------ ##
54224 ## Report this to bug-autoconf@gnu.org. ##
54225 ## ------------------------------------ ##
54226 _ASBOX
54227     ) |
54228       sed "s/^/$as_me: WARNING:     /" >&2
54229     ;;
54230   no:yes )
54231     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54233     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54235     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54237     (
54238       cat <<\_ASBOX
54239 ## ------------------------------------ ##
54240 ## Report this to bug-autoconf@gnu.org. ##
54241 ## ------------------------------------ ##
54242 _ASBOX
54243     ) |
54244       sed "s/^/$as_me: WARNING:     /" >&2
54245     ;;
54246 esac
54247 echo "$as_me:$LINENO: checking for $ac_header" >&5
54248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54250   echo $ECHO_N "(cached) $ECHO_C" >&6
54251 else
54252   eval "$as_ac_Header=$ac_header_preproc"
54253 fi
54254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54256
54257 fi
54258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54259   cat >>confdefs.h <<_ACEOF
54260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54261 _ACEOF
54262  ac_has_wctype_h=yes
54263 else
54264   ac_has_wctype_h=no
54265 fi
54266
54267 done
54268
54269
54270   # Only continue checking if the ISO C99 headers exist and support is on.
54271   if test x"$ac_has_wchar_h" = xyes &&
54272      test x"$ac_has_wctype_h" = xyes &&
54273      test x"$enable_c_mbchar" != xno; then
54274
54275     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54276     # numeric_limits can instantiate type_traits<wchar_t>
54277     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54278 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54279     cat >conftest.$ac_ext <<_ACEOF
54280 #line $LINENO "configure"
54281 /* confdefs.h.  */
54282 _ACEOF
54283 cat confdefs.h >>conftest.$ac_ext
54284 cat >>conftest.$ac_ext <<_ACEOF
54285 /* end confdefs.h.  */
54286 #include <wchar.h>
54287 int
54288 main ()
54289 {
54290 int i = WCHAR_MIN; int j = WCHAR_MAX;
54291   ;
54292   return 0;
54293 }
54294 _ACEOF
54295 rm -f conftest.$ac_objext
54296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54297   (eval $ac_compile) 2>&5
54298   ac_status=$?
54299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54300   (exit $ac_status); } &&
54301          { ac_try='test -s conftest.$ac_objext'
54302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54303   (eval $ac_try) 2>&5
54304   ac_status=$?
54305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54306   (exit $ac_status); }; }; then
54307   has_wchar_minmax=yes
54308 else
54309   echo "$as_me: failed program was:" >&5
54310 sed 's/^/| /' conftest.$ac_ext >&5
54311
54312 has_wchar_minmax=no
54313 fi
54314 rm -f conftest.$ac_objext conftest.$ac_ext
54315     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54316 echo "${ECHO_T}$has_wchar_minmax" >&6
54317
54318     # Test wchar.h for WEOF, which is what we use to determine whether
54319     # to specialize for char_traits<wchar_t> or not.
54320     echo "$as_me:$LINENO: checking for WEOF" >&5
54321 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54322     cat >conftest.$ac_ext <<_ACEOF
54323 #line $LINENO "configure"
54324 /* confdefs.h.  */
54325 _ACEOF
54326 cat confdefs.h >>conftest.$ac_ext
54327 cat >>conftest.$ac_ext <<_ACEOF
54328 /* end confdefs.h.  */
54329
54330       #include <wchar.h>
54331       #include <stddef.h>
54332 int
54333 main ()
54334 {
54335 wint_t i = WEOF;
54336   ;
54337   return 0;
54338 }
54339 _ACEOF
54340 rm -f conftest.$ac_objext
54341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54342   (eval $ac_compile) 2>&5
54343   ac_status=$?
54344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54345   (exit $ac_status); } &&
54346          { ac_try='test -s conftest.$ac_objext'
54347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54348   (eval $ac_try) 2>&5
54349   ac_status=$?
54350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54351   (exit $ac_status); }; }; then
54352   has_weof=yes
54353 else
54354   echo "$as_me: failed program was:" >&5
54355 sed 's/^/| /' conftest.$ac_ext >&5
54356
54357 has_weof=no
54358 fi
54359 rm -f conftest.$ac_objext conftest.$ac_ext
54360     echo "$as_me:$LINENO: result: $has_weof" >&5
54361 echo "${ECHO_T}$has_weof" >&6
54362
54363     # Tests for wide character functions used in char_traits<wchar_t>.
54364     ac_wfuncs=yes
54365
54366
54367
54368
54369
54370
54371 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54372 do
54373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54374 echo "$as_me:$LINENO: checking for $ac_func" >&5
54375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54376 if eval "test \"\${$as_ac_var+set}\" = set"; then
54377   echo $ECHO_N "(cached) $ECHO_C" >&6
54378 else
54379   if test x$gcc_no_link = xyes; then
54380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54382    { (exit 1); exit 1; }; }
54383 fi
54384 cat >conftest.$ac_ext <<_ACEOF
54385 #line $LINENO "configure"
54386 /* confdefs.h.  */
54387 _ACEOF
54388 cat confdefs.h >>conftest.$ac_ext
54389 cat >>conftest.$ac_ext <<_ACEOF
54390 /* end confdefs.h.  */
54391 /* System header to define __stub macros and hopefully few prototypes,
54392     which can conflict with char $ac_func (); below.
54393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54394     <limits.h> exists even on freestanding compilers.  */
54395 #ifdef __STDC__
54396 # include <limits.h>
54397 #else
54398 # include <assert.h>
54399 #endif
54400 /* Override any gcc2 internal prototype to avoid an error.  */
54401 #ifdef __cplusplus
54402 extern "C"
54403 {
54404 #endif
54405 /* We use char because int might match the return type of a gcc2
54406    builtin and then its argument prototype would still apply.  */
54407 char $ac_func ();
54408 /* The GNU C library defines this for functions which it implements
54409     to always fail with ENOSYS.  Some functions are actually named
54410     something starting with __ and the normal name is an alias.  */
54411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54412 choke me
54413 #else
54414 char (*f) () = $ac_func;
54415 #endif
54416 #ifdef __cplusplus
54417 }
54418 #endif
54419
54420 int
54421 main ()
54422 {
54423 return f != $ac_func;
54424   ;
54425   return 0;
54426 }
54427 _ACEOF
54428 rm -f conftest.$ac_objext conftest$ac_exeext
54429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54430   (eval $ac_link) 2>&5
54431   ac_status=$?
54432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54433   (exit $ac_status); } &&
54434          { ac_try='test -s conftest$ac_exeext'
54435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54436   (eval $ac_try) 2>&5
54437   ac_status=$?
54438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54439   (exit $ac_status); }; }; then
54440   eval "$as_ac_var=yes"
54441 else
54442   echo "$as_me: failed program was:" >&5
54443 sed 's/^/| /' conftest.$ac_ext >&5
54444
54445 eval "$as_ac_var=no"
54446 fi
54447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54448 fi
54449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54451 if test `eval echo '${'$as_ac_var'}'` = yes; then
54452   cat >>confdefs.h <<_ACEOF
54453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54454 _ACEOF
54455
54456 else
54457   ac_wfuncs=no
54458 fi
54459 done
54460
54461
54462     # Checks for names injected into std:: by the c_std headers.
54463
54464
54465
54466
54467
54468
54469
54470
54471
54472
54473
54474
54475
54476
54477
54478
54479
54480
54481
54482
54483
54484
54485
54486
54487
54488
54489
54490
54491
54492
54493
54494
54495
54496
54497
54498
54499
54500
54501
54502
54503
54504
54505
54506
54507
54508
54509 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54510     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54511     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54512     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54513     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54514     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54515 do
54516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54517 echo "$as_me:$LINENO: checking for $ac_func" >&5
54518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54519 if eval "test \"\${$as_ac_var+set}\" = set"; then
54520   echo $ECHO_N "(cached) $ECHO_C" >&6
54521 else
54522   if test x$gcc_no_link = xyes; then
54523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54525    { (exit 1); exit 1; }; }
54526 fi
54527 cat >conftest.$ac_ext <<_ACEOF
54528 #line $LINENO "configure"
54529 /* confdefs.h.  */
54530 _ACEOF
54531 cat confdefs.h >>conftest.$ac_ext
54532 cat >>conftest.$ac_ext <<_ACEOF
54533 /* end confdefs.h.  */
54534 /* System header to define __stub macros and hopefully few prototypes,
54535     which can conflict with char $ac_func (); below.
54536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54537     <limits.h> exists even on freestanding compilers.  */
54538 #ifdef __STDC__
54539 # include <limits.h>
54540 #else
54541 # include <assert.h>
54542 #endif
54543 /* Override any gcc2 internal prototype to avoid an error.  */
54544 #ifdef __cplusplus
54545 extern "C"
54546 {
54547 #endif
54548 /* We use char because int might match the return type of a gcc2
54549    builtin and then its argument prototype would still apply.  */
54550 char $ac_func ();
54551 /* The GNU C library defines this for functions which it implements
54552     to always fail with ENOSYS.  Some functions are actually named
54553     something starting with __ and the normal name is an alias.  */
54554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54555 choke me
54556 #else
54557 char (*f) () = $ac_func;
54558 #endif
54559 #ifdef __cplusplus
54560 }
54561 #endif
54562
54563 int
54564 main ()
54565 {
54566 return f != $ac_func;
54567   ;
54568   return 0;
54569 }
54570 _ACEOF
54571 rm -f conftest.$ac_objext conftest$ac_exeext
54572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54573   (eval $ac_link) 2>&5
54574   ac_status=$?
54575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54576   (exit $ac_status); } &&
54577          { ac_try='test -s conftest$ac_exeext'
54578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54579   (eval $ac_try) 2>&5
54580   ac_status=$?
54581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54582   (exit $ac_status); }; }; then
54583   eval "$as_ac_var=yes"
54584 else
54585   echo "$as_me: failed program was:" >&5
54586 sed 's/^/| /' conftest.$ac_ext >&5
54587
54588 eval "$as_ac_var=no"
54589 fi
54590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54591 fi
54592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54594 if test `eval echo '${'$as_ac_var'}'` = yes; then
54595   cat >>confdefs.h <<_ACEOF
54596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54597 _ACEOF
54598
54599 else
54600   ac_wfuncs=no
54601 fi
54602 done
54603
54604
54605     # Checks for wide character functions that are not required
54606     # for basic wchar_t support.  Don't disable support if they are missing.
54607     # Injection of these is wrapped with guard macros.
54608
54609
54610
54611
54612
54613 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54614 do
54615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54616 echo "$as_me:$LINENO: checking for $ac_func" >&5
54617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54618 if eval "test \"\${$as_ac_var+set}\" = set"; then
54619   echo $ECHO_N "(cached) $ECHO_C" >&6
54620 else
54621   if test x$gcc_no_link = xyes; then
54622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54624    { (exit 1); exit 1; }; }
54625 fi
54626 cat >conftest.$ac_ext <<_ACEOF
54627 #line $LINENO "configure"
54628 /* confdefs.h.  */
54629 _ACEOF
54630 cat confdefs.h >>conftest.$ac_ext
54631 cat >>conftest.$ac_ext <<_ACEOF
54632 /* end confdefs.h.  */
54633 /* System header to define __stub macros and hopefully few prototypes,
54634     which can conflict with char $ac_func (); below.
54635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54636     <limits.h> exists even on freestanding compilers.  */
54637 #ifdef __STDC__
54638 # include <limits.h>
54639 #else
54640 # include <assert.h>
54641 #endif
54642 /* Override any gcc2 internal prototype to avoid an error.  */
54643 #ifdef __cplusplus
54644 extern "C"
54645 {
54646 #endif
54647 /* We use char because int might match the return type of a gcc2
54648    builtin and then its argument prototype would still apply.  */
54649 char $ac_func ();
54650 /* The GNU C library defines this for functions which it implements
54651     to always fail with ENOSYS.  Some functions are actually named
54652     something starting with __ and the normal name is an alias.  */
54653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54654 choke me
54655 #else
54656 char (*f) () = $ac_func;
54657 #endif
54658 #ifdef __cplusplus
54659 }
54660 #endif
54661
54662 int
54663 main ()
54664 {
54665 return f != $ac_func;
54666   ;
54667   return 0;
54668 }
54669 _ACEOF
54670 rm -f conftest.$ac_objext conftest$ac_exeext
54671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54672   (eval $ac_link) 2>&5
54673   ac_status=$?
54674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675   (exit $ac_status); } &&
54676          { ac_try='test -s conftest$ac_exeext'
54677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54678   (eval $ac_try) 2>&5
54679   ac_status=$?
54680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54681   (exit $ac_status); }; }; then
54682   eval "$as_ac_var=yes"
54683 else
54684   echo "$as_me: failed program was:" >&5
54685 sed 's/^/| /' conftest.$ac_ext >&5
54686
54687 eval "$as_ac_var=no"
54688 fi
54689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54690 fi
54691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54693 if test `eval echo '${'$as_ac_var'}'` = yes; then
54694   cat >>confdefs.h <<_ACEOF
54695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54696 _ACEOF
54697
54698 fi
54699 done
54700
54701
54702     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54703 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54704     if test x"$has_weof" = xyes &&
54705        test x"$has_wchar_minmax" = xyes &&
54706        test x"$ac_wfuncs" = xyes;
54707     then
54708       ac_isoC99_wchar_t=yes
54709     else
54710       ac_isoC99_wchar_t=no
54711     fi
54712     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54713 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54714
54715     # Use iconv for wchar_t to char conversions. As such, check for
54716     # X/Open Portability Guide, version 2 features (XPG2).
54717     if test "${ac_cv_header_iconv_h+set}" = set; then
54718   echo "$as_me:$LINENO: checking for iconv.h" >&5
54719 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54720 if test "${ac_cv_header_iconv_h+set}" = set; then
54721   echo $ECHO_N "(cached) $ECHO_C" >&6
54722 fi
54723 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54724 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54725 else
54726   # Is the header compilable?
54727 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54728 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54729 cat >conftest.$ac_ext <<_ACEOF
54730 #line $LINENO "configure"
54731 /* confdefs.h.  */
54732 _ACEOF
54733 cat confdefs.h >>conftest.$ac_ext
54734 cat >>conftest.$ac_ext <<_ACEOF
54735 /* end confdefs.h.  */
54736 $ac_includes_default
54737 #include <iconv.h>
54738 _ACEOF
54739 rm -f conftest.$ac_objext
54740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54741   (eval $ac_compile) 2>&5
54742   ac_status=$?
54743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54744   (exit $ac_status); } &&
54745          { ac_try='test -s conftest.$ac_objext'
54746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54747   (eval $ac_try) 2>&5
54748   ac_status=$?
54749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54750   (exit $ac_status); }; }; then
54751   ac_header_compiler=yes
54752 else
54753   echo "$as_me: failed program was:" >&5
54754 sed 's/^/| /' conftest.$ac_ext >&5
54755
54756 ac_header_compiler=no
54757 fi
54758 rm -f conftest.$ac_objext conftest.$ac_ext
54759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54760 echo "${ECHO_T}$ac_header_compiler" >&6
54761
54762 # Is the header present?
54763 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54764 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54765 cat >conftest.$ac_ext <<_ACEOF
54766 #line $LINENO "configure"
54767 /* confdefs.h.  */
54768 _ACEOF
54769 cat confdefs.h >>conftest.$ac_ext
54770 cat >>conftest.$ac_ext <<_ACEOF
54771 /* end confdefs.h.  */
54772 #include <iconv.h>
54773 _ACEOF
54774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54775   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54776   ac_status=$?
54777   grep -v '^ *+' conftest.er1 >conftest.err
54778   rm -f conftest.er1
54779   cat conftest.err >&5
54780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54781   (exit $ac_status); } >/dev/null; then
54782   if test -s conftest.err; then
54783     ac_cpp_err=$ac_c_preproc_warn_flag
54784   else
54785     ac_cpp_err=
54786   fi
54787 else
54788   ac_cpp_err=yes
54789 fi
54790 if test -z "$ac_cpp_err"; then
54791   ac_header_preproc=yes
54792 else
54793   echo "$as_me: failed program was:" >&5
54794 sed 's/^/| /' conftest.$ac_ext >&5
54795
54796   ac_header_preproc=no
54797 fi
54798 rm -f conftest.err conftest.$ac_ext
54799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54800 echo "${ECHO_T}$ac_header_preproc" >&6
54801
54802 # So?  What about this header?
54803 case $ac_header_compiler:$ac_header_preproc in
54804   yes:no )
54805     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
54806 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54807     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54808 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54809     (
54810       cat <<\_ASBOX
54811 ## ------------------------------------ ##
54812 ## Report this to bug-autoconf@gnu.org. ##
54813 ## ------------------------------------ ##
54814 _ASBOX
54815     ) |
54816       sed "s/^/$as_me: WARNING:     /" >&2
54817     ;;
54818   no:yes )
54819     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
54820 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
54821     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
54822 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
54823     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54824 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54825     (
54826       cat <<\_ASBOX
54827 ## ------------------------------------ ##
54828 ## Report this to bug-autoconf@gnu.org. ##
54829 ## ------------------------------------ ##
54830 _ASBOX
54831     ) |
54832       sed "s/^/$as_me: WARNING:     /" >&2
54833     ;;
54834 esac
54835 echo "$as_me:$LINENO: checking for iconv.h" >&5
54836 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54837 if test "${ac_cv_header_iconv_h+set}" = set; then
54838   echo $ECHO_N "(cached) $ECHO_C" >&6
54839 else
54840   ac_cv_header_iconv_h=$ac_header_preproc
54841 fi
54842 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54843 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54844
54845 fi
54846 if test $ac_cv_header_iconv_h = yes; then
54847   ac_has_iconv_h=yes
54848 else
54849   ac_has_iconv_h=no
54850 fi
54851
54852
54853     if test "${ac_cv_header_langinfo_h+set}" = set; then
54854   echo "$as_me:$LINENO: checking for langinfo.h" >&5
54855 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54856 if test "${ac_cv_header_langinfo_h+set}" = set; then
54857   echo $ECHO_N "(cached) $ECHO_C" >&6
54858 fi
54859 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54860 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54861 else
54862   # Is the header compilable?
54863 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54864 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54865 cat >conftest.$ac_ext <<_ACEOF
54866 #line $LINENO "configure"
54867 /* confdefs.h.  */
54868 _ACEOF
54869 cat confdefs.h >>conftest.$ac_ext
54870 cat >>conftest.$ac_ext <<_ACEOF
54871 /* end confdefs.h.  */
54872 $ac_includes_default
54873 #include <langinfo.h>
54874 _ACEOF
54875 rm -f conftest.$ac_objext
54876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54877   (eval $ac_compile) 2>&5
54878   ac_status=$?
54879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54880   (exit $ac_status); } &&
54881          { ac_try='test -s conftest.$ac_objext'
54882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54883   (eval $ac_try) 2>&5
54884   ac_status=$?
54885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54886   (exit $ac_status); }; }; then
54887   ac_header_compiler=yes
54888 else
54889   echo "$as_me: failed program was:" >&5
54890 sed 's/^/| /' conftest.$ac_ext >&5
54891
54892 ac_header_compiler=no
54893 fi
54894 rm -f conftest.$ac_objext conftest.$ac_ext
54895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54896 echo "${ECHO_T}$ac_header_compiler" >&6
54897
54898 # Is the header present?
54899 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54900 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54901 cat >conftest.$ac_ext <<_ACEOF
54902 #line $LINENO "configure"
54903 /* confdefs.h.  */
54904 _ACEOF
54905 cat confdefs.h >>conftest.$ac_ext
54906 cat >>conftest.$ac_ext <<_ACEOF
54907 /* end confdefs.h.  */
54908 #include <langinfo.h>
54909 _ACEOF
54910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54911   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54912   ac_status=$?
54913   grep -v '^ *+' conftest.er1 >conftest.err
54914   rm -f conftest.er1
54915   cat conftest.err >&5
54916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54917   (exit $ac_status); } >/dev/null; then
54918   if test -s conftest.err; then
54919     ac_cpp_err=$ac_c_preproc_warn_flag
54920   else
54921     ac_cpp_err=
54922   fi
54923 else
54924   ac_cpp_err=yes
54925 fi
54926 if test -z "$ac_cpp_err"; then
54927   ac_header_preproc=yes
54928 else
54929   echo "$as_me: failed program was:" >&5
54930 sed 's/^/| /' conftest.$ac_ext >&5
54931
54932   ac_header_preproc=no
54933 fi
54934 rm -f conftest.err conftest.$ac_ext
54935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54936 echo "${ECHO_T}$ac_header_preproc" >&6
54937
54938 # So?  What about this header?
54939 case $ac_header_compiler:$ac_header_preproc in
54940   yes:no )
54941     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54942 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54943     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54944 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54945     (
54946       cat <<\_ASBOX
54947 ## ------------------------------------ ##
54948 ## Report this to bug-autoconf@gnu.org. ##
54949 ## ------------------------------------ ##
54950 _ASBOX
54951     ) |
54952       sed "s/^/$as_me: WARNING:     /" >&2
54953     ;;
54954   no:yes )
54955     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54956 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54957     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54958 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54959     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54960 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54961     (
54962       cat <<\_ASBOX
54963 ## ------------------------------------ ##
54964 ## Report this to bug-autoconf@gnu.org. ##
54965 ## ------------------------------------ ##
54966 _ASBOX
54967     ) |
54968       sed "s/^/$as_me: WARNING:     /" >&2
54969     ;;
54970 esac
54971 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54972 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54973 if test "${ac_cv_header_langinfo_h+set}" = set; then
54974   echo $ECHO_N "(cached) $ECHO_C" >&6
54975 else
54976   ac_cv_header_langinfo_h=$ac_header_preproc
54977 fi
54978 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54979 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54980
54981 fi
54982 if test $ac_cv_header_langinfo_h = yes; then
54983   ac_has_langinfo_h=yes
54984 else
54985   ac_has_langinfo_h=no
54986 fi
54987
54988
54989
54990     # Check for existence of libiconv.a providing XPG2 wchar_t support.
54991     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54992 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54993 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54994   echo $ECHO_N "(cached) $ECHO_C" >&6
54995 else
54996   ac_check_lib_save_LIBS=$LIBS
54997 LIBS="-liconv  $LIBS"
54998 if test x$gcc_no_link = xyes; then
54999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55001    { (exit 1); exit 1; }; }
55002 fi
55003 cat >conftest.$ac_ext <<_ACEOF
55004 #line $LINENO "configure"
55005 /* confdefs.h.  */
55006 _ACEOF
55007 cat confdefs.h >>conftest.$ac_ext
55008 cat >>conftest.$ac_ext <<_ACEOF
55009 /* end confdefs.h.  */
55010
55011 /* Override any gcc2 internal prototype to avoid an error.  */
55012 #ifdef __cplusplus
55013 extern "C"
55014 #endif
55015 /* We use char because int might match the return type of a gcc2
55016    builtin and then its argument prototype would still apply.  */
55017 char iconv ();
55018 int
55019 main ()
55020 {
55021 iconv ();
55022   ;
55023   return 0;
55024 }
55025 _ACEOF
55026 rm -f conftest.$ac_objext conftest$ac_exeext
55027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55028   (eval $ac_link) 2>&5
55029   ac_status=$?
55030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55031   (exit $ac_status); } &&
55032          { ac_try='test -s conftest$ac_exeext'
55033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55034   (eval $ac_try) 2>&5
55035   ac_status=$?
55036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55037   (exit $ac_status); }; }; then
55038   ac_cv_lib_iconv_iconv=yes
55039 else
55040   echo "$as_me: failed program was:" >&5
55041 sed 's/^/| /' conftest.$ac_ext >&5
55042
55043 ac_cv_lib_iconv_iconv=no
55044 fi
55045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55046 LIBS=$ac_check_lib_save_LIBS
55047 fi
55048 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55049 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55050 if test $ac_cv_lib_iconv_iconv = yes; then
55051   libiconv="-liconv"
55052 fi
55053
55054     ac_save_LIBS="$LIBS"
55055     LIBS="$LIBS $libiconv"
55056
55057
55058
55059
55060
55061 for ac_func in iconv_open iconv_close iconv nl_langinfo
55062 do
55063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55064 echo "$as_me:$LINENO: checking for $ac_func" >&5
55065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55066 if eval "test \"\${$as_ac_var+set}\" = set"; then
55067   echo $ECHO_N "(cached) $ECHO_C" >&6
55068 else
55069   if test x$gcc_no_link = xyes; then
55070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55072    { (exit 1); exit 1; }; }
55073 fi
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 /* System header to define __stub macros and hopefully few prototypes,
55082     which can conflict with char $ac_func (); below.
55083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55084     <limits.h> exists even on freestanding compilers.  */
55085 #ifdef __STDC__
55086 # include <limits.h>
55087 #else
55088 # include <assert.h>
55089 #endif
55090 /* Override any gcc2 internal prototype to avoid an error.  */
55091 #ifdef __cplusplus
55092 extern "C"
55093 {
55094 #endif
55095 /* We use char because int might match the return type of a gcc2
55096    builtin and then its argument prototype would still apply.  */
55097 char $ac_func ();
55098 /* The GNU C library defines this for functions which it implements
55099     to always fail with ENOSYS.  Some functions are actually named
55100     something starting with __ and the normal name is an alias.  */
55101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55102 choke me
55103 #else
55104 char (*f) () = $ac_func;
55105 #endif
55106 #ifdef __cplusplus
55107 }
55108 #endif
55109
55110 int
55111 main ()
55112 {
55113 return f != $ac_func;
55114   ;
55115   return 0;
55116 }
55117 _ACEOF
55118 rm -f conftest.$ac_objext conftest$ac_exeext
55119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55120   (eval $ac_link) 2>&5
55121   ac_status=$?
55122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55123   (exit $ac_status); } &&
55124          { ac_try='test -s conftest$ac_exeext'
55125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126   (eval $ac_try) 2>&5
55127   ac_status=$?
55128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129   (exit $ac_status); }; }; then
55130   eval "$as_ac_var=yes"
55131 else
55132   echo "$as_me: failed program was:" >&5
55133 sed 's/^/| /' conftest.$ac_ext >&5
55134
55135 eval "$as_ac_var=no"
55136 fi
55137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55138 fi
55139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55141 if test `eval echo '${'$as_ac_var'}'` = yes; then
55142   cat >>confdefs.h <<_ACEOF
55143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55144 _ACEOF
55145  ac_XPG2funcs=yes
55146 else
55147   ac_XPG2funcs=no
55148 fi
55149 done
55150
55151
55152     LIBS="$ac_save_LIBS"
55153
55154     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55155 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55156     if test x"$ac_has_iconv_h" = xyes &&
55157        test x"$ac_has_langinfo_h" = xyes &&
55158        test x"$ac_XPG2funcs" = xyes;
55159     then
55160       ac_XPG2_wchar_t=yes
55161     else
55162       ac_XPG2_wchar_t=no
55163     fi
55164     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55165 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55166
55167     # At the moment, only enable wchar_t specializations if all the
55168     # above support is present.
55169     if test x"$ac_isoC99_wchar_t" = xyes &&
55170        test x"$ac_XPG2_wchar_t" = xyes;
55171     then
55172       cat >>confdefs.h <<\_ACEOF
55173 #define _GLIBCXX_USE_WCHAR_T 1
55174 _ACEOF
55175
55176       enable_wchar_t=yes
55177     fi
55178   fi
55179   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55180 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55181   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55182 echo "${ECHO_T}$enable_wchar_t" >&6
55183
55184     ;;
55185   *-netbsd*)
55186
55187
55188
55189
55190
55191
55192
55193
55194
55195
55196
55197
55198 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55199       machine/endian.h machine/param.h sys/machine.h sys/types.h \
55200       fp.h locale.h float.h inttypes.h
55201 do
55202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55204   echo "$as_me:$LINENO: checking for $ac_header" >&5
55205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55207   echo $ECHO_N "(cached) $ECHO_C" >&6
55208 fi
55209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55211 else
55212   # Is the header compilable?
55213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55215 cat >conftest.$ac_ext <<_ACEOF
55216 #line $LINENO "configure"
55217 /* confdefs.h.  */
55218 _ACEOF
55219 cat confdefs.h >>conftest.$ac_ext
55220 cat >>conftest.$ac_ext <<_ACEOF
55221 /* end confdefs.h.  */
55222 $ac_includes_default
55223 #include <$ac_header>
55224 _ACEOF
55225 rm -f conftest.$ac_objext
55226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55227   (eval $ac_compile) 2>&5
55228   ac_status=$?
55229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55230   (exit $ac_status); } &&
55231          { ac_try='test -s conftest.$ac_objext'
55232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55233   (eval $ac_try) 2>&5
55234   ac_status=$?
55235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55236   (exit $ac_status); }; }; then
55237   ac_header_compiler=yes
55238 else
55239   echo "$as_me: failed program was:" >&5
55240 sed 's/^/| /' conftest.$ac_ext >&5
55241
55242 ac_header_compiler=no
55243 fi
55244 rm -f conftest.$ac_objext conftest.$ac_ext
55245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55246 echo "${ECHO_T}$ac_header_compiler" >&6
55247
55248 # Is the header present?
55249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55251 cat >conftest.$ac_ext <<_ACEOF
55252 #line $LINENO "configure"
55253 /* confdefs.h.  */
55254 _ACEOF
55255 cat confdefs.h >>conftest.$ac_ext
55256 cat >>conftest.$ac_ext <<_ACEOF
55257 /* end confdefs.h.  */
55258 #include <$ac_header>
55259 _ACEOF
55260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55261   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55262   ac_status=$?
55263   grep -v '^ *+' conftest.er1 >conftest.err
55264   rm -f conftest.er1
55265   cat conftest.err >&5
55266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55267   (exit $ac_status); } >/dev/null; then
55268   if test -s conftest.err; then
55269     ac_cpp_err=$ac_c_preproc_warn_flag
55270   else
55271     ac_cpp_err=
55272   fi
55273 else
55274   ac_cpp_err=yes
55275 fi
55276 if test -z "$ac_cpp_err"; then
55277   ac_header_preproc=yes
55278 else
55279   echo "$as_me: failed program was:" >&5
55280 sed 's/^/| /' conftest.$ac_ext >&5
55281
55282   ac_header_preproc=no
55283 fi
55284 rm -f conftest.err conftest.$ac_ext
55285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55286 echo "${ECHO_T}$ac_header_preproc" >&6
55287
55288 # So?  What about this header?
55289 case $ac_header_compiler:$ac_header_preproc in
55290   yes:no )
55291     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55293     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55295     (
55296       cat <<\_ASBOX
55297 ## ------------------------------------ ##
55298 ## Report this to bug-autoconf@gnu.org. ##
55299 ## ------------------------------------ ##
55300 _ASBOX
55301     ) |
55302       sed "s/^/$as_me: WARNING:     /" >&2
55303     ;;
55304   no:yes )
55305     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55307     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55309     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55311     (
55312       cat <<\_ASBOX
55313 ## ------------------------------------ ##
55314 ## Report this to bug-autoconf@gnu.org. ##
55315 ## ------------------------------------ ##
55316 _ASBOX
55317     ) |
55318       sed "s/^/$as_me: WARNING:     /" >&2
55319     ;;
55320 esac
55321 echo "$as_me:$LINENO: checking for $ac_header" >&5
55322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55324   echo $ECHO_N "(cached) $ECHO_C" >&6
55325 else
55326   eval "$as_ac_Header=$ac_header_preproc"
55327 fi
55328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55330
55331 fi
55332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55333   cat >>confdefs.h <<_ACEOF
55334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55335 _ACEOF
55336
55337 fi
55338
55339 done
55340
55341     SECTION_FLAGS='-ffunction-sections -fdata-sections'
55342
55343
55344   # If we're not using GNU ld, then there's no point in even trying these
55345   # tests.  Check for that first.  We should have already tested for gld
55346   # by now (in libtool), but require it now just to be safe...
55347   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55348   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55349
55350
55351
55352   # The name set by libtool depends on the version of libtool.  Shame on us
55353   # for depending on an impl detail, but c'est la vie.  Older versions used
55354   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55355   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55356   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
55357   # set (hence we're using an older libtool), then set it.
55358   if test x${with_gnu_ld+set} != xset; then
55359     if test x${ac_cv_prog_gnu_ld+set} != xset; then
55360       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
55361       with_gnu_ld=no
55362     else
55363       with_gnu_ld=$ac_cv_prog_gnu_ld
55364     fi
55365   fi
55366
55367   # Start by getting the version number.  I think the libtool test already
55368   # does some of this, but throws away the result.
55369
55370   ldver=`$LD --version 2>/dev/null | head -1 | \
55371          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55372
55373   glibcxx_gnu_ld_version=`echo $ldver | \
55374          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55375
55376   # Set --gc-sections.
55377   if test "$with_gnu_ld" = "notbroken"; then
55378     # GNU ld it is!  Joy and bunny rabbits!
55379
55380     # All these tests are for C++; save the language and the compiler flags.
55381     # Need to do this so that g++ won't try to link in libstdc++
55382     ac_test_CFLAGS="${CFLAGS+set}"
55383     ac_save_CFLAGS="$CFLAGS"
55384     CFLAGS='-x c++  -Wl,--gc-sections'
55385
55386     # Check for -Wl,--gc-sections
55387     # XXX This test is broken at the moment, as symbols required for linking
55388     # are now in libsupc++ (not built yet).  In addition, this test has
55389     # cored on solaris in the past.  In addition, --gc-sections doesn't
55390     # really work at the moment (keeps on discarding used sections, first
55391     # .eh_frame and now some of the glibc sections for iconv).
55392     # Bzzzzt.  Thanks for playing, maybe next time.
55393     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55394 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55395     if test "$cross_compiling" = yes; then
55396   ac_sectionLDflags=yes
55397 else
55398   cat >conftest.$ac_ext <<_ACEOF
55399 #line $LINENO "configure"
55400 /* confdefs.h.  */
55401 _ACEOF
55402 cat confdefs.h >>conftest.$ac_ext
55403 cat >>conftest.$ac_ext <<_ACEOF
55404 /* end confdefs.h.  */
55405
55406      int main(void)
55407      {
55408        try { throw 1; }
55409        catch (...) { };
55410        return 0;
55411      }
55412
55413 _ACEOF
55414 rm -f conftest$ac_exeext
55415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55416   (eval $ac_link) 2>&5
55417   ac_status=$?
55418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55419   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55421   (eval $ac_try) 2>&5
55422   ac_status=$?
55423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55424   (exit $ac_status); }; }; then
55425   ac_sectionLDflags=yes
55426 else
55427   echo "$as_me: program exited with status $ac_status" >&5
55428 echo "$as_me: failed program was:" >&5
55429 sed 's/^/| /' conftest.$ac_ext >&5
55430
55431 ( exit $ac_status )
55432 ac_sectionLDflags=no
55433 fi
55434 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55435 fi
55436     if test "$ac_test_CFLAGS" = set; then
55437       CFLAGS="$ac_save_CFLAGS"
55438     else
55439       # this is the suspicious part
55440       CFLAGS=''
55441     fi
55442     if test "$ac_sectionLDflags" = "yes"; then
55443       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55444     fi
55445     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55446 echo "${ECHO_T}$ac_sectionLDflags" >&6
55447   fi
55448
55449   # Set linker optimization flags.
55450   if test x"$with_gnu_ld" = x"yes"; then
55451     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55452   fi
55453
55454
55455
55456
55457
55458
55459 echo "$as_me:$LINENO: checking for main in -lm" >&5
55460 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55461 if test "${ac_cv_lib_m_main+set}" = set; then
55462   echo $ECHO_N "(cached) $ECHO_C" >&6
55463 else
55464   ac_check_lib_save_LIBS=$LIBS
55465 LIBS="-lm  $LIBS"
55466 if test x$gcc_no_link = xyes; then
55467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55469    { (exit 1); exit 1; }; }
55470 fi
55471 cat >conftest.$ac_ext <<_ACEOF
55472 #line $LINENO "configure"
55473 /* confdefs.h.  */
55474 _ACEOF
55475 cat confdefs.h >>conftest.$ac_ext
55476 cat >>conftest.$ac_ext <<_ACEOF
55477 /* end confdefs.h.  */
55478
55479
55480 int
55481 main ()
55482 {
55483 main ();
55484   ;
55485   return 0;
55486 }
55487 _ACEOF
55488 rm -f conftest.$ac_objext conftest$ac_exeext
55489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55490   (eval $ac_link) 2>&5
55491   ac_status=$?
55492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55493   (exit $ac_status); } &&
55494          { ac_try='test -s conftest$ac_exeext'
55495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55496   (eval $ac_try) 2>&5
55497   ac_status=$?
55498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55499   (exit $ac_status); }; }; then
55500   ac_cv_lib_m_main=yes
55501 else
55502   echo "$as_me: failed program was:" >&5
55503 sed 's/^/| /' conftest.$ac_ext >&5
55504
55505 ac_cv_lib_m_main=no
55506 fi
55507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55508 LIBS=$ac_check_lib_save_LIBS
55509 fi
55510 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55511 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55512 if test $ac_cv_lib_m_main = yes; then
55513   cat >>confdefs.h <<_ACEOF
55514 #define HAVE_LIBM 1
55515 _ACEOF
55516
55517   LIBS="-lm $LIBS"
55518
55519 fi
55520
55521
55522
55523 for ac_func in nan copysignf
55524 do
55525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55526 echo "$as_me:$LINENO: checking for $ac_func" >&5
55527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55528 if eval "test \"\${$as_ac_var+set}\" = set"; then
55529   echo $ECHO_N "(cached) $ECHO_C" >&6
55530 else
55531   if test x$gcc_no_link = xyes; then
55532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55534    { (exit 1); exit 1; }; }
55535 fi
55536 cat >conftest.$ac_ext <<_ACEOF
55537 #line $LINENO "configure"
55538 /* confdefs.h.  */
55539 _ACEOF
55540 cat confdefs.h >>conftest.$ac_ext
55541 cat >>conftest.$ac_ext <<_ACEOF
55542 /* end confdefs.h.  */
55543 /* System header to define __stub macros and hopefully few prototypes,
55544     which can conflict with char $ac_func (); below.
55545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55546     <limits.h> exists even on freestanding compilers.  */
55547 #ifdef __STDC__
55548 # include <limits.h>
55549 #else
55550 # include <assert.h>
55551 #endif
55552 /* Override any gcc2 internal prototype to avoid an error.  */
55553 #ifdef __cplusplus
55554 extern "C"
55555 {
55556 #endif
55557 /* We use char because int might match the return type of a gcc2
55558    builtin and then its argument prototype would still apply.  */
55559 char $ac_func ();
55560 /* The GNU C library defines this for functions which it implements
55561     to always fail with ENOSYS.  Some functions are actually named
55562     something starting with __ and the normal name is an alias.  */
55563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55564 choke me
55565 #else
55566 char (*f) () = $ac_func;
55567 #endif
55568 #ifdef __cplusplus
55569 }
55570 #endif
55571
55572 int
55573 main ()
55574 {
55575 return f != $ac_func;
55576   ;
55577   return 0;
55578 }
55579 _ACEOF
55580 rm -f conftest.$ac_objext conftest$ac_exeext
55581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55582   (eval $ac_link) 2>&5
55583   ac_status=$?
55584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55585   (exit $ac_status); } &&
55586          { ac_try='test -s conftest$ac_exeext'
55587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55588   (eval $ac_try) 2>&5
55589   ac_status=$?
55590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55591   (exit $ac_status); }; }; then
55592   eval "$as_ac_var=yes"
55593 else
55594   echo "$as_me: failed program was:" >&5
55595 sed 's/^/| /' conftest.$ac_ext >&5
55596
55597 eval "$as_ac_var=no"
55598 fi
55599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55600 fi
55601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55603 if test `eval echo '${'$as_ac_var'}'` = yes; then
55604   cat >>confdefs.h <<_ACEOF
55605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55606 _ACEOF
55607
55608 else
55609   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55610 fi
55611 done
55612
55613
55614
55615 for ac_func in __signbit
55616 do
55617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55618 echo "$as_me:$LINENO: checking for $ac_func" >&5
55619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55620 if eval "test \"\${$as_ac_var+set}\" = set"; then
55621   echo $ECHO_N "(cached) $ECHO_C" >&6
55622 else
55623   if test x$gcc_no_link = xyes; then
55624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55626    { (exit 1); exit 1; }; }
55627 fi
55628 cat >conftest.$ac_ext <<_ACEOF
55629 #line $LINENO "configure"
55630 /* confdefs.h.  */
55631 _ACEOF
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h.  */
55635 /* System header to define __stub macros and hopefully few prototypes,
55636     which can conflict with char $ac_func (); below.
55637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55638     <limits.h> exists even on freestanding compilers.  */
55639 #ifdef __STDC__
55640 # include <limits.h>
55641 #else
55642 # include <assert.h>
55643 #endif
55644 /* Override any gcc2 internal prototype to avoid an error.  */
55645 #ifdef __cplusplus
55646 extern "C"
55647 {
55648 #endif
55649 /* We use char because int might match the return type of a gcc2
55650    builtin and then its argument prototype would still apply.  */
55651 char $ac_func ();
55652 /* The GNU C library defines this for functions which it implements
55653     to always fail with ENOSYS.  Some functions are actually named
55654     something starting with __ and the normal name is an alias.  */
55655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55656 choke me
55657 #else
55658 char (*f) () = $ac_func;
55659 #endif
55660 #ifdef __cplusplus
55661 }
55662 #endif
55663
55664 int
55665 main ()
55666 {
55667 return f != $ac_func;
55668   ;
55669   return 0;
55670 }
55671 _ACEOF
55672 rm -f conftest.$ac_objext conftest$ac_exeext
55673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55674   (eval $ac_link) 2>&5
55675   ac_status=$?
55676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55677   (exit $ac_status); } &&
55678          { ac_try='test -s conftest$ac_exeext'
55679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55680   (eval $ac_try) 2>&5
55681   ac_status=$?
55682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55683   (exit $ac_status); }; }; then
55684   eval "$as_ac_var=yes"
55685 else
55686   echo "$as_me: failed program was:" >&5
55687 sed 's/^/| /' conftest.$ac_ext >&5
55688
55689 eval "$as_ac_var=no"
55690 fi
55691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55692 fi
55693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55695 if test `eval echo '${'$as_ac_var'}'` = yes; then
55696   cat >>confdefs.h <<_ACEOF
55697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55698 _ACEOF
55699
55700 else
55701   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55702 fi
55703 done
55704
55705
55706 for ac_func in __signbitf
55707 do
55708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55709 echo "$as_me:$LINENO: checking for $ac_func" >&5
55710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55711 if eval "test \"\${$as_ac_var+set}\" = set"; then
55712   echo $ECHO_N "(cached) $ECHO_C" >&6
55713 else
55714   if test x$gcc_no_link = xyes; then
55715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55717    { (exit 1); exit 1; }; }
55718 fi
55719 cat >conftest.$ac_ext <<_ACEOF
55720 #line $LINENO "configure"
55721 /* confdefs.h.  */
55722 _ACEOF
55723 cat confdefs.h >>conftest.$ac_ext
55724 cat >>conftest.$ac_ext <<_ACEOF
55725 /* end confdefs.h.  */
55726 /* System header to define __stub macros and hopefully few prototypes,
55727     which can conflict with char $ac_func (); below.
55728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55729     <limits.h> exists even on freestanding compilers.  */
55730 #ifdef __STDC__
55731 # include <limits.h>
55732 #else
55733 # include <assert.h>
55734 #endif
55735 /* Override any gcc2 internal prototype to avoid an error.  */
55736 #ifdef __cplusplus
55737 extern "C"
55738 {
55739 #endif
55740 /* We use char because int might match the return type of a gcc2
55741    builtin and then its argument prototype would still apply.  */
55742 char $ac_func ();
55743 /* The GNU C library defines this for functions which it implements
55744     to always fail with ENOSYS.  Some functions are actually named
55745     something starting with __ and the normal name is an alias.  */
55746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55747 choke me
55748 #else
55749 char (*f) () = $ac_func;
55750 #endif
55751 #ifdef __cplusplus
55752 }
55753 #endif
55754
55755 int
55756 main ()
55757 {
55758 return f != $ac_func;
55759   ;
55760   return 0;
55761 }
55762 _ACEOF
55763 rm -f conftest.$ac_objext conftest$ac_exeext
55764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55765   (eval $ac_link) 2>&5
55766   ac_status=$?
55767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768   (exit $ac_status); } &&
55769          { ac_try='test -s conftest$ac_exeext'
55770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55771   (eval $ac_try) 2>&5
55772   ac_status=$?
55773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774   (exit $ac_status); }; }; then
55775   eval "$as_ac_var=yes"
55776 else
55777   echo "$as_me: failed program was:" >&5
55778 sed 's/^/| /' conftest.$ac_ext >&5
55779
55780 eval "$as_ac_var=no"
55781 fi
55782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55783 fi
55784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55786 if test `eval echo '${'$as_ac_var'}'` = yes; then
55787   cat >>confdefs.h <<_ACEOF
55788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55789 _ACEOF
55790
55791 else
55792   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55793 fi
55794 done
55795
55796
55797           if test x$ac_cv_func_copysignl = x"yes"; then
55798
55799 for ac_func in __signbitl
55800 do
55801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55802 echo "$as_me:$LINENO: checking for $ac_func" >&5
55803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55804 if eval "test \"\${$as_ac_var+set}\" = set"; then
55805   echo $ECHO_N "(cached) $ECHO_C" >&6
55806 else
55807   if test x$gcc_no_link = xyes; then
55808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55810    { (exit 1); exit 1; }; }
55811 fi
55812 cat >conftest.$ac_ext <<_ACEOF
55813 #line $LINENO "configure"
55814 /* confdefs.h.  */
55815 _ACEOF
55816 cat confdefs.h >>conftest.$ac_ext
55817 cat >>conftest.$ac_ext <<_ACEOF
55818 /* end confdefs.h.  */
55819 /* System header to define __stub macros and hopefully few prototypes,
55820     which can conflict with char $ac_func (); below.
55821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55822     <limits.h> exists even on freestanding compilers.  */
55823 #ifdef __STDC__
55824 # include <limits.h>
55825 #else
55826 # include <assert.h>
55827 #endif
55828 /* Override any gcc2 internal prototype to avoid an error.  */
55829 #ifdef __cplusplus
55830 extern "C"
55831 {
55832 #endif
55833 /* We use char because int might match the return type of a gcc2
55834    builtin and then its argument prototype would still apply.  */
55835 char $ac_func ();
55836 /* The GNU C library defines this for functions which it implements
55837     to always fail with ENOSYS.  Some functions are actually named
55838     something starting with __ and the normal name is an alias.  */
55839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55840 choke me
55841 #else
55842 char (*f) () = $ac_func;
55843 #endif
55844 #ifdef __cplusplus
55845 }
55846 #endif
55847
55848 int
55849 main ()
55850 {
55851 return f != $ac_func;
55852   ;
55853   return 0;
55854 }
55855 _ACEOF
55856 rm -f conftest.$ac_objext conftest$ac_exeext
55857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55858   (eval $ac_link) 2>&5
55859   ac_status=$?
55860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55861   (exit $ac_status); } &&
55862          { ac_try='test -s conftest$ac_exeext'
55863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55864   (eval $ac_try) 2>&5
55865   ac_status=$?
55866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55867   (exit $ac_status); }; }; then
55868   eval "$as_ac_var=yes"
55869 else
55870   echo "$as_me: failed program was:" >&5
55871 sed 's/^/| /' conftest.$ac_ext >&5
55872
55873 eval "$as_ac_var=no"
55874 fi
55875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55876 fi
55877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55879 if test `eval echo '${'$as_ac_var'}'` = yes; then
55880   cat >>confdefs.h <<_ACEOF
55881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55882 _ACEOF
55883
55884 else
55885   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55886 fi
55887 done
55888
55889   fi
55890
55891   # XXX Review this.  Nothing uses it.
55892   if test -n "$LIBMATHOBJS"; then
55893     need_libmath=yes
55894   fi
55895
55896
55897
55898   # Test wchar.h for mbstate_t, which is needed for char_traits and
55899   # others even if wchar_t support is not on.
55900   echo "$as_me:$LINENO: checking for mbstate_t" >&5
55901 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
55902   cat >conftest.$ac_ext <<_ACEOF
55903 #line $LINENO "configure"
55904 /* confdefs.h.  */
55905 _ACEOF
55906 cat confdefs.h >>conftest.$ac_ext
55907 cat >>conftest.$ac_ext <<_ACEOF
55908 /* end confdefs.h.  */
55909 #include <wchar.h>
55910 int
55911 main ()
55912 {
55913 mbstate_t teststate;
55914   ;
55915   return 0;
55916 }
55917 _ACEOF
55918 rm -f conftest.$ac_objext
55919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55920   (eval $ac_compile) 2>&5
55921   ac_status=$?
55922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55923   (exit $ac_status); } &&
55924          { ac_try='test -s conftest.$ac_objext'
55925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55926   (eval $ac_try) 2>&5
55927   ac_status=$?
55928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55929   (exit $ac_status); }; }; then
55930   have_mbstate_t=yes
55931 else
55932   echo "$as_me: failed program was:" >&5
55933 sed 's/^/| /' conftest.$ac_ext >&5
55934
55935 have_mbstate_t=no
55936 fi
55937 rm -f conftest.$ac_objext conftest.$ac_ext
55938   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55939 echo "${ECHO_T}$have_mbstate_t" >&6
55940   if test x"$have_mbstate_t" = xyes; then
55941     cat >>confdefs.h <<\_ACEOF
55942 #define HAVE_MBSTATE_T 1
55943 _ACEOF
55944
55945   fi
55946
55947   # Sanity check for existence of ISO C99 headers for extended encoding.
55948
55949 for ac_header in wchar.h
55950 do
55951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55953   echo "$as_me:$LINENO: checking for $ac_header" >&5
55954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55956   echo $ECHO_N "(cached) $ECHO_C" >&6
55957 fi
55958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55960 else
55961   # Is the header compilable?
55962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55964 cat >conftest.$ac_ext <<_ACEOF
55965 #line $LINENO "configure"
55966 /* confdefs.h.  */
55967 _ACEOF
55968 cat confdefs.h >>conftest.$ac_ext
55969 cat >>conftest.$ac_ext <<_ACEOF
55970 /* end confdefs.h.  */
55971 $ac_includes_default
55972 #include <$ac_header>
55973 _ACEOF
55974 rm -f conftest.$ac_objext
55975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55976   (eval $ac_compile) 2>&5
55977   ac_status=$?
55978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979   (exit $ac_status); } &&
55980          { ac_try='test -s conftest.$ac_objext'
55981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55982   (eval $ac_try) 2>&5
55983   ac_status=$?
55984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55985   (exit $ac_status); }; }; then
55986   ac_header_compiler=yes
55987 else
55988   echo "$as_me: failed program was:" >&5
55989 sed 's/^/| /' conftest.$ac_ext >&5
55990
55991 ac_header_compiler=no
55992 fi
55993 rm -f conftest.$ac_objext conftest.$ac_ext
55994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55995 echo "${ECHO_T}$ac_header_compiler" >&6
55996
55997 # Is the header present?
55998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56000 cat >conftest.$ac_ext <<_ACEOF
56001 #line $LINENO "configure"
56002 /* confdefs.h.  */
56003 _ACEOF
56004 cat confdefs.h >>conftest.$ac_ext
56005 cat >>conftest.$ac_ext <<_ACEOF
56006 /* end confdefs.h.  */
56007 #include <$ac_header>
56008 _ACEOF
56009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56010   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56011   ac_status=$?
56012   grep -v '^ *+' conftest.er1 >conftest.err
56013   rm -f conftest.er1
56014   cat conftest.err >&5
56015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56016   (exit $ac_status); } >/dev/null; then
56017   if test -s conftest.err; then
56018     ac_cpp_err=$ac_c_preproc_warn_flag
56019   else
56020     ac_cpp_err=
56021   fi
56022 else
56023   ac_cpp_err=yes
56024 fi
56025 if test -z "$ac_cpp_err"; then
56026   ac_header_preproc=yes
56027 else
56028   echo "$as_me: failed program was:" >&5
56029 sed 's/^/| /' conftest.$ac_ext >&5
56030
56031   ac_header_preproc=no
56032 fi
56033 rm -f conftest.err conftest.$ac_ext
56034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56035 echo "${ECHO_T}$ac_header_preproc" >&6
56036
56037 # So?  What about this header?
56038 case $ac_header_compiler:$ac_header_preproc in
56039   yes:no )
56040     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56042     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56044     (
56045       cat <<\_ASBOX
56046 ## ------------------------------------ ##
56047 ## Report this to bug-autoconf@gnu.org. ##
56048 ## ------------------------------------ ##
56049 _ASBOX
56050     ) |
56051       sed "s/^/$as_me: WARNING:     /" >&2
56052     ;;
56053   no:yes )
56054     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56056     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56058     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56060     (
56061       cat <<\_ASBOX
56062 ## ------------------------------------ ##
56063 ## Report this to bug-autoconf@gnu.org. ##
56064 ## ------------------------------------ ##
56065 _ASBOX
56066     ) |
56067       sed "s/^/$as_me: WARNING:     /" >&2
56068     ;;
56069 esac
56070 echo "$as_me:$LINENO: checking for $ac_header" >&5
56071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56073   echo $ECHO_N "(cached) $ECHO_C" >&6
56074 else
56075   eval "$as_ac_Header=$ac_header_preproc"
56076 fi
56077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56079
56080 fi
56081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56082   cat >>confdefs.h <<_ACEOF
56083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56084 _ACEOF
56085  ac_has_wchar_h=yes
56086 else
56087   ac_has_wchar_h=no
56088 fi
56089
56090 done
56091
56092
56093 for ac_header in wctype.h
56094 do
56095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56097   echo "$as_me:$LINENO: checking for $ac_header" >&5
56098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56100   echo $ECHO_N "(cached) $ECHO_C" >&6
56101 fi
56102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56104 else
56105   # Is the header compilable?
56106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56108 cat >conftest.$ac_ext <<_ACEOF
56109 #line $LINENO "configure"
56110 /* confdefs.h.  */
56111 _ACEOF
56112 cat confdefs.h >>conftest.$ac_ext
56113 cat >>conftest.$ac_ext <<_ACEOF
56114 /* end confdefs.h.  */
56115 $ac_includes_default
56116 #include <$ac_header>
56117 _ACEOF
56118 rm -f conftest.$ac_objext
56119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56120   (eval $ac_compile) 2>&5
56121   ac_status=$?
56122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123   (exit $ac_status); } &&
56124          { ac_try='test -s conftest.$ac_objext'
56125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56126   (eval $ac_try) 2>&5
56127   ac_status=$?
56128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129   (exit $ac_status); }; }; then
56130   ac_header_compiler=yes
56131 else
56132   echo "$as_me: failed program was:" >&5
56133 sed 's/^/| /' conftest.$ac_ext >&5
56134
56135 ac_header_compiler=no
56136 fi
56137 rm -f conftest.$ac_objext conftest.$ac_ext
56138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56139 echo "${ECHO_T}$ac_header_compiler" >&6
56140
56141 # Is the header present?
56142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56144 cat >conftest.$ac_ext <<_ACEOF
56145 #line $LINENO "configure"
56146 /* confdefs.h.  */
56147 _ACEOF
56148 cat confdefs.h >>conftest.$ac_ext
56149 cat >>conftest.$ac_ext <<_ACEOF
56150 /* end confdefs.h.  */
56151 #include <$ac_header>
56152 _ACEOF
56153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56154   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56155   ac_status=$?
56156   grep -v '^ *+' conftest.er1 >conftest.err
56157   rm -f conftest.er1
56158   cat conftest.err >&5
56159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56160   (exit $ac_status); } >/dev/null; then
56161   if test -s conftest.err; then
56162     ac_cpp_err=$ac_c_preproc_warn_flag
56163   else
56164     ac_cpp_err=
56165   fi
56166 else
56167   ac_cpp_err=yes
56168 fi
56169 if test -z "$ac_cpp_err"; then
56170   ac_header_preproc=yes
56171 else
56172   echo "$as_me: failed program was:" >&5
56173 sed 's/^/| /' conftest.$ac_ext >&5
56174
56175   ac_header_preproc=no
56176 fi
56177 rm -f conftest.err conftest.$ac_ext
56178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56179 echo "${ECHO_T}$ac_header_preproc" >&6
56180
56181 # So?  What about this header?
56182 case $ac_header_compiler:$ac_header_preproc in
56183   yes:no )
56184     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56186     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56188     (
56189       cat <<\_ASBOX
56190 ## ------------------------------------ ##
56191 ## Report this to bug-autoconf@gnu.org. ##
56192 ## ------------------------------------ ##
56193 _ASBOX
56194     ) |
56195       sed "s/^/$as_me: WARNING:     /" >&2
56196     ;;
56197   no:yes )
56198     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56200     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56202     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56204     (
56205       cat <<\_ASBOX
56206 ## ------------------------------------ ##
56207 ## Report this to bug-autoconf@gnu.org. ##
56208 ## ------------------------------------ ##
56209 _ASBOX
56210     ) |
56211       sed "s/^/$as_me: WARNING:     /" >&2
56212     ;;
56213 esac
56214 echo "$as_me:$LINENO: checking for $ac_header" >&5
56215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56217   echo $ECHO_N "(cached) $ECHO_C" >&6
56218 else
56219   eval "$as_ac_Header=$ac_header_preproc"
56220 fi
56221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56223
56224 fi
56225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56226   cat >>confdefs.h <<_ACEOF
56227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56228 _ACEOF
56229  ac_has_wctype_h=yes
56230 else
56231   ac_has_wctype_h=no
56232 fi
56233
56234 done
56235
56236
56237   # Only continue checking if the ISO C99 headers exist and support is on.
56238   if test x"$ac_has_wchar_h" = xyes &&
56239      test x"$ac_has_wctype_h" = xyes &&
56240      test x"$enable_c_mbchar" != xno; then
56241
56242     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56243     # numeric_limits can instantiate type_traits<wchar_t>
56244     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56245 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56246     cat >conftest.$ac_ext <<_ACEOF
56247 #line $LINENO "configure"
56248 /* confdefs.h.  */
56249 _ACEOF
56250 cat confdefs.h >>conftest.$ac_ext
56251 cat >>conftest.$ac_ext <<_ACEOF
56252 /* end confdefs.h.  */
56253 #include <wchar.h>
56254 int
56255 main ()
56256 {
56257 int i = WCHAR_MIN; int j = WCHAR_MAX;
56258   ;
56259   return 0;
56260 }
56261 _ACEOF
56262 rm -f conftest.$ac_objext
56263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56264   (eval $ac_compile) 2>&5
56265   ac_status=$?
56266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56267   (exit $ac_status); } &&
56268          { ac_try='test -s conftest.$ac_objext'
56269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56270   (eval $ac_try) 2>&5
56271   ac_status=$?
56272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56273   (exit $ac_status); }; }; then
56274   has_wchar_minmax=yes
56275 else
56276   echo "$as_me: failed program was:" >&5
56277 sed 's/^/| /' conftest.$ac_ext >&5
56278
56279 has_wchar_minmax=no
56280 fi
56281 rm -f conftest.$ac_objext conftest.$ac_ext
56282     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56283 echo "${ECHO_T}$has_wchar_minmax" >&6
56284
56285     # Test wchar.h for WEOF, which is what we use to determine whether
56286     # to specialize for char_traits<wchar_t> or not.
56287     echo "$as_me:$LINENO: checking for WEOF" >&5
56288 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56289     cat >conftest.$ac_ext <<_ACEOF
56290 #line $LINENO "configure"
56291 /* confdefs.h.  */
56292 _ACEOF
56293 cat confdefs.h >>conftest.$ac_ext
56294 cat >>conftest.$ac_ext <<_ACEOF
56295 /* end confdefs.h.  */
56296
56297       #include <wchar.h>
56298       #include <stddef.h>
56299 int
56300 main ()
56301 {
56302 wint_t i = WEOF;
56303   ;
56304   return 0;
56305 }
56306 _ACEOF
56307 rm -f conftest.$ac_objext
56308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56309   (eval $ac_compile) 2>&5
56310   ac_status=$?
56311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312   (exit $ac_status); } &&
56313          { ac_try='test -s conftest.$ac_objext'
56314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315   (eval $ac_try) 2>&5
56316   ac_status=$?
56317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318   (exit $ac_status); }; }; then
56319   has_weof=yes
56320 else
56321   echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56323
56324 has_weof=no
56325 fi
56326 rm -f conftest.$ac_objext conftest.$ac_ext
56327     echo "$as_me:$LINENO: result: $has_weof" >&5
56328 echo "${ECHO_T}$has_weof" >&6
56329
56330     # Tests for wide character functions used in char_traits<wchar_t>.
56331     ac_wfuncs=yes
56332
56333
56334
56335
56336
56337
56338 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56339 do
56340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56341 echo "$as_me:$LINENO: checking for $ac_func" >&5
56342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56343 if eval "test \"\${$as_ac_var+set}\" = set"; then
56344   echo $ECHO_N "(cached) $ECHO_C" >&6
56345 else
56346   if test x$gcc_no_link = xyes; then
56347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56349    { (exit 1); exit 1; }; }
56350 fi
56351 cat >conftest.$ac_ext <<_ACEOF
56352 #line $LINENO "configure"
56353 /* confdefs.h.  */
56354 _ACEOF
56355 cat confdefs.h >>conftest.$ac_ext
56356 cat >>conftest.$ac_ext <<_ACEOF
56357 /* end confdefs.h.  */
56358 /* System header to define __stub macros and hopefully few prototypes,
56359     which can conflict with char $ac_func (); below.
56360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56361     <limits.h> exists even on freestanding compilers.  */
56362 #ifdef __STDC__
56363 # include <limits.h>
56364 #else
56365 # include <assert.h>
56366 #endif
56367 /* Override any gcc2 internal prototype to avoid an error.  */
56368 #ifdef __cplusplus
56369 extern "C"
56370 {
56371 #endif
56372 /* We use char because int might match the return type of a gcc2
56373    builtin and then its argument prototype would still apply.  */
56374 char $ac_func ();
56375 /* The GNU C library defines this for functions which it implements
56376     to always fail with ENOSYS.  Some functions are actually named
56377     something starting with __ and the normal name is an alias.  */
56378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56379 choke me
56380 #else
56381 char (*f) () = $ac_func;
56382 #endif
56383 #ifdef __cplusplus
56384 }
56385 #endif
56386
56387 int
56388 main ()
56389 {
56390 return f != $ac_func;
56391   ;
56392   return 0;
56393 }
56394 _ACEOF
56395 rm -f conftest.$ac_objext conftest$ac_exeext
56396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56397   (eval $ac_link) 2>&5
56398   ac_status=$?
56399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56400   (exit $ac_status); } &&
56401          { ac_try='test -s conftest$ac_exeext'
56402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56403   (eval $ac_try) 2>&5
56404   ac_status=$?
56405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406   (exit $ac_status); }; }; then
56407   eval "$as_ac_var=yes"
56408 else
56409   echo "$as_me: failed program was:" >&5
56410 sed 's/^/| /' conftest.$ac_ext >&5
56411
56412 eval "$as_ac_var=no"
56413 fi
56414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56415 fi
56416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56418 if test `eval echo '${'$as_ac_var'}'` = yes; then
56419   cat >>confdefs.h <<_ACEOF
56420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56421 _ACEOF
56422
56423 else
56424   ac_wfuncs=no
56425 fi
56426 done
56427
56428
56429     # Checks for names injected into std:: by the c_std headers.
56430
56431
56432
56433
56434
56435
56436
56437
56438
56439
56440
56441
56442
56443
56444
56445
56446
56447
56448
56449
56450
56451
56452
56453
56454
56455
56456
56457
56458
56459
56460
56461
56462
56463
56464
56465
56466
56467
56468
56469
56470
56471
56472
56473
56474
56475
56476 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
56477     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
56478     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
56479     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
56480     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
56481     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
56482 do
56483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56484 echo "$as_me:$LINENO: checking for $ac_func" >&5
56485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56486 if eval "test \"\${$as_ac_var+set}\" = set"; then
56487   echo $ECHO_N "(cached) $ECHO_C" >&6
56488 else
56489   if test x$gcc_no_link = xyes; then
56490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56492    { (exit 1); exit 1; }; }
56493 fi
56494 cat >conftest.$ac_ext <<_ACEOF
56495 #line $LINENO "configure"
56496 /* confdefs.h.  */
56497 _ACEOF
56498 cat confdefs.h >>conftest.$ac_ext
56499 cat >>conftest.$ac_ext <<_ACEOF
56500 /* end confdefs.h.  */
56501 /* System header to define __stub macros and hopefully few prototypes,
56502     which can conflict with char $ac_func (); below.
56503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56504     <limits.h> exists even on freestanding compilers.  */
56505 #ifdef __STDC__
56506 # include <limits.h>
56507 #else
56508 # include <assert.h>
56509 #endif
56510 /* Override any gcc2 internal prototype to avoid an error.  */
56511 #ifdef __cplusplus
56512 extern "C"
56513 {
56514 #endif
56515 /* We use char because int might match the return type of a gcc2
56516    builtin and then its argument prototype would still apply.  */
56517 char $ac_func ();
56518 /* The GNU C library defines this for functions which it implements
56519     to always fail with ENOSYS.  Some functions are actually named
56520     something starting with __ and the normal name is an alias.  */
56521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56522 choke me
56523 #else
56524 char (*f) () = $ac_func;
56525 #endif
56526 #ifdef __cplusplus
56527 }
56528 #endif
56529
56530 int
56531 main ()
56532 {
56533 return f != $ac_func;
56534   ;
56535   return 0;
56536 }
56537 _ACEOF
56538 rm -f conftest.$ac_objext conftest$ac_exeext
56539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56540   (eval $ac_link) 2>&5
56541   ac_status=$?
56542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56543   (exit $ac_status); } &&
56544          { ac_try='test -s conftest$ac_exeext'
56545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56546   (eval $ac_try) 2>&5
56547   ac_status=$?
56548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56549   (exit $ac_status); }; }; then
56550   eval "$as_ac_var=yes"
56551 else
56552   echo "$as_me: failed program was:" >&5
56553 sed 's/^/| /' conftest.$ac_ext >&5
56554
56555 eval "$as_ac_var=no"
56556 fi
56557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56558 fi
56559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56561 if test `eval echo '${'$as_ac_var'}'` = yes; then
56562   cat >>confdefs.h <<_ACEOF
56563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56564 _ACEOF
56565
56566 else
56567   ac_wfuncs=no
56568 fi
56569 done
56570
56571
56572     # Checks for wide character functions that are not required
56573     # for basic wchar_t support.  Don't disable support if they are missing.
56574     # Injection of these is wrapped with guard macros.
56575
56576
56577
56578
56579
56580 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
56581 do
56582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56583 echo "$as_me:$LINENO: checking for $ac_func" >&5
56584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56585 if eval "test \"\${$as_ac_var+set}\" = set"; then
56586   echo $ECHO_N "(cached) $ECHO_C" >&6
56587 else
56588   if test x$gcc_no_link = xyes; then
56589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56591    { (exit 1); exit 1; }; }
56592 fi
56593 cat >conftest.$ac_ext <<_ACEOF
56594 #line $LINENO "configure"
56595 /* confdefs.h.  */
56596 _ACEOF
56597 cat confdefs.h >>conftest.$ac_ext
56598 cat >>conftest.$ac_ext <<_ACEOF
56599 /* end confdefs.h.  */
56600 /* System header to define __stub macros and hopefully few prototypes,
56601     which can conflict with char $ac_func (); below.
56602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56603     <limits.h> exists even on freestanding compilers.  */
56604 #ifdef __STDC__
56605 # include <limits.h>
56606 #else
56607 # include <assert.h>
56608 #endif
56609 /* Override any gcc2 internal prototype to avoid an error.  */
56610 #ifdef __cplusplus
56611 extern "C"
56612 {
56613 #endif
56614 /* We use char because int might match the return type of a gcc2
56615    builtin and then its argument prototype would still apply.  */
56616 char $ac_func ();
56617 /* The GNU C library defines this for functions which it implements
56618     to always fail with ENOSYS.  Some functions are actually named
56619     something starting with __ and the normal name is an alias.  */
56620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56621 choke me
56622 #else
56623 char (*f) () = $ac_func;
56624 #endif
56625 #ifdef __cplusplus
56626 }
56627 #endif
56628
56629 int
56630 main ()
56631 {
56632 return f != $ac_func;
56633   ;
56634   return 0;
56635 }
56636 _ACEOF
56637 rm -f conftest.$ac_objext conftest$ac_exeext
56638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56639   (eval $ac_link) 2>&5
56640   ac_status=$?
56641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56642   (exit $ac_status); } &&
56643          { ac_try='test -s conftest$ac_exeext'
56644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56645   (eval $ac_try) 2>&5
56646   ac_status=$?
56647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56648   (exit $ac_status); }; }; then
56649   eval "$as_ac_var=yes"
56650 else
56651   echo "$as_me: failed program was:" >&5
56652 sed 's/^/| /' conftest.$ac_ext >&5
56653
56654 eval "$as_ac_var=no"
56655 fi
56656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56657 fi
56658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56660 if test `eval echo '${'$as_ac_var'}'` = yes; then
56661   cat >>confdefs.h <<_ACEOF
56662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56663 _ACEOF
56664
56665 fi
56666 done
56667
56668
56669     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56670 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56671     if test x"$has_weof" = xyes &&
56672        test x"$has_wchar_minmax" = xyes &&
56673        test x"$ac_wfuncs" = xyes;
56674     then
56675       ac_isoC99_wchar_t=yes
56676     else
56677       ac_isoC99_wchar_t=no
56678     fi
56679     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56680 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56681
56682     # Use iconv for wchar_t to char conversions. As such, check for
56683     # X/Open Portability Guide, version 2 features (XPG2).
56684     if test "${ac_cv_header_iconv_h+set}" = set; then
56685   echo "$as_me:$LINENO: checking for iconv.h" >&5
56686 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56687 if test "${ac_cv_header_iconv_h+set}" = set; then
56688   echo $ECHO_N "(cached) $ECHO_C" >&6
56689 fi
56690 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56691 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56692 else
56693   # Is the header compilable?
56694 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56695 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56696 cat >conftest.$ac_ext <<_ACEOF
56697 #line $LINENO "configure"
56698 /* confdefs.h.  */
56699 _ACEOF
56700 cat confdefs.h >>conftest.$ac_ext
56701 cat >>conftest.$ac_ext <<_ACEOF
56702 /* end confdefs.h.  */
56703 $ac_includes_default
56704 #include <iconv.h>
56705 _ACEOF
56706 rm -f conftest.$ac_objext
56707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56708   (eval $ac_compile) 2>&5
56709   ac_status=$?
56710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711   (exit $ac_status); } &&
56712          { ac_try='test -s conftest.$ac_objext'
56713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56714   (eval $ac_try) 2>&5
56715   ac_status=$?
56716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56717   (exit $ac_status); }; }; then
56718   ac_header_compiler=yes
56719 else
56720   echo "$as_me: failed program was:" >&5
56721 sed 's/^/| /' conftest.$ac_ext >&5
56722
56723 ac_header_compiler=no
56724 fi
56725 rm -f conftest.$ac_objext conftest.$ac_ext
56726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56727 echo "${ECHO_T}$ac_header_compiler" >&6
56728
56729 # Is the header present?
56730 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56731 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56732 cat >conftest.$ac_ext <<_ACEOF
56733 #line $LINENO "configure"
56734 /* confdefs.h.  */
56735 _ACEOF
56736 cat confdefs.h >>conftest.$ac_ext
56737 cat >>conftest.$ac_ext <<_ACEOF
56738 /* end confdefs.h.  */
56739 #include <iconv.h>
56740 _ACEOF
56741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56742   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56743   ac_status=$?
56744   grep -v '^ *+' conftest.er1 >conftest.err
56745   rm -f conftest.er1
56746   cat conftest.err >&5
56747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748   (exit $ac_status); } >/dev/null; then
56749   if test -s conftest.err; then
56750     ac_cpp_err=$ac_c_preproc_warn_flag
56751   else
56752     ac_cpp_err=
56753   fi
56754 else
56755   ac_cpp_err=yes
56756 fi
56757 if test -z "$ac_cpp_err"; then
56758   ac_header_preproc=yes
56759 else
56760   echo "$as_me: failed program was:" >&5
56761 sed 's/^/| /' conftest.$ac_ext >&5
56762
56763   ac_header_preproc=no
56764 fi
56765 rm -f conftest.err conftest.$ac_ext
56766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56767 echo "${ECHO_T}$ac_header_preproc" >&6
56768
56769 # So?  What about this header?
56770 case $ac_header_compiler:$ac_header_preproc in
56771   yes:no )
56772     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56773 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56774     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56775 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56776     (
56777       cat <<\_ASBOX
56778 ## ------------------------------------ ##
56779 ## Report this to bug-autoconf@gnu.org. ##
56780 ## ------------------------------------ ##
56781 _ASBOX
56782     ) |
56783       sed "s/^/$as_me: WARNING:     /" >&2
56784     ;;
56785   no:yes )
56786     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56787 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56788     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56789 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56790     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56791 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56792     (
56793       cat <<\_ASBOX
56794 ## ------------------------------------ ##
56795 ## Report this to bug-autoconf@gnu.org. ##
56796 ## ------------------------------------ ##
56797 _ASBOX
56798     ) |
56799       sed "s/^/$as_me: WARNING:     /" >&2
56800     ;;
56801 esac
56802 echo "$as_me:$LINENO: checking for iconv.h" >&5
56803 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56804 if test "${ac_cv_header_iconv_h+set}" = set; then
56805   echo $ECHO_N "(cached) $ECHO_C" >&6
56806 else
56807   ac_cv_header_iconv_h=$ac_header_preproc
56808 fi
56809 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56810 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56811
56812 fi
56813 if test $ac_cv_header_iconv_h = yes; then
56814   ac_has_iconv_h=yes
56815 else
56816   ac_has_iconv_h=no
56817 fi
56818
56819
56820     if test "${ac_cv_header_langinfo_h+set}" = set; then
56821   echo "$as_me:$LINENO: checking for langinfo.h" >&5
56822 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56823 if test "${ac_cv_header_langinfo_h+set}" = set; then
56824   echo $ECHO_N "(cached) $ECHO_C" >&6
56825 fi
56826 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56827 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56828 else
56829   # Is the header compilable?
56830 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
56831 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
56832 cat >conftest.$ac_ext <<_ACEOF
56833 #line $LINENO "configure"
56834 /* confdefs.h.  */
56835 _ACEOF
56836 cat confdefs.h >>conftest.$ac_ext
56837 cat >>conftest.$ac_ext <<_ACEOF
56838 /* end confdefs.h.  */
56839 $ac_includes_default
56840 #include <langinfo.h>
56841 _ACEOF
56842 rm -f conftest.$ac_objext
56843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56844   (eval $ac_compile) 2>&5
56845   ac_status=$?
56846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56847   (exit $ac_status); } &&
56848          { ac_try='test -s conftest.$ac_objext'
56849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56850   (eval $ac_try) 2>&5
56851   ac_status=$?
56852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56853   (exit $ac_status); }; }; then
56854   ac_header_compiler=yes
56855 else
56856   echo "$as_me: failed program was:" >&5
56857 sed 's/^/| /' conftest.$ac_ext >&5
56858
56859 ac_header_compiler=no
56860 fi
56861 rm -f conftest.$ac_objext conftest.$ac_ext
56862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56863 echo "${ECHO_T}$ac_header_compiler" >&6
56864
56865 # Is the header present?
56866 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
56867 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
56868 cat >conftest.$ac_ext <<_ACEOF
56869 #line $LINENO "configure"
56870 /* confdefs.h.  */
56871 _ACEOF
56872 cat confdefs.h >>conftest.$ac_ext
56873 cat >>conftest.$ac_ext <<_ACEOF
56874 /* end confdefs.h.  */
56875 #include <langinfo.h>
56876 _ACEOF
56877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56878   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56879   ac_status=$?
56880   grep -v '^ *+' conftest.er1 >conftest.err
56881   rm -f conftest.er1
56882   cat conftest.err >&5
56883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56884   (exit $ac_status); } >/dev/null; then
56885   if test -s conftest.err; then
56886     ac_cpp_err=$ac_c_preproc_warn_flag
56887   else
56888     ac_cpp_err=
56889   fi
56890 else
56891   ac_cpp_err=yes
56892 fi
56893 if test -z "$ac_cpp_err"; then
56894   ac_header_preproc=yes
56895 else
56896   echo "$as_me: failed program was:" >&5
56897 sed 's/^/| /' conftest.$ac_ext >&5
56898
56899   ac_header_preproc=no
56900 fi
56901 rm -f conftest.err conftest.$ac_ext
56902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56903 echo "${ECHO_T}$ac_header_preproc" >&6
56904
56905 # So?  What about this header?
56906 case $ac_header_compiler:$ac_header_preproc in
56907   yes:no )
56908     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
56909 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56910     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56911 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56912     (
56913       cat <<\_ASBOX
56914 ## ------------------------------------ ##
56915 ## Report this to bug-autoconf@gnu.org. ##
56916 ## ------------------------------------ ##
56917 _ASBOX
56918     ) |
56919       sed "s/^/$as_me: WARNING:     /" >&2
56920     ;;
56921   no:yes )
56922     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
56923 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
56924     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
56925 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
56926     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56927 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56928     (
56929       cat <<\_ASBOX
56930 ## ------------------------------------ ##
56931 ## Report this to bug-autoconf@gnu.org. ##
56932 ## ------------------------------------ ##
56933 _ASBOX
56934     ) |
56935       sed "s/^/$as_me: WARNING:     /" >&2
56936     ;;
56937 esac
56938 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56939 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56940 if test "${ac_cv_header_langinfo_h+set}" = set; then
56941   echo $ECHO_N "(cached) $ECHO_C" >&6
56942 else
56943   ac_cv_header_langinfo_h=$ac_header_preproc
56944 fi
56945 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56946 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56947
56948 fi
56949 if test $ac_cv_header_langinfo_h = yes; then
56950   ac_has_langinfo_h=yes
56951 else
56952   ac_has_langinfo_h=no
56953 fi
56954
56955
56956
56957     # Check for existence of libiconv.a providing XPG2 wchar_t support.
56958     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56959 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56960 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56961   echo $ECHO_N "(cached) $ECHO_C" >&6
56962 else
56963   ac_check_lib_save_LIBS=$LIBS
56964 LIBS="-liconv  $LIBS"
56965 if test x$gcc_no_link = xyes; then
56966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56968    { (exit 1); exit 1; }; }
56969 fi
56970 cat >conftest.$ac_ext <<_ACEOF
56971 #line $LINENO "configure"
56972 /* confdefs.h.  */
56973 _ACEOF
56974 cat confdefs.h >>conftest.$ac_ext
56975 cat >>conftest.$ac_ext <<_ACEOF
56976 /* end confdefs.h.  */
56977
56978 /* Override any gcc2 internal prototype to avoid an error.  */
56979 #ifdef __cplusplus
56980 extern "C"
56981 #endif
56982 /* We use char because int might match the return type of a gcc2
56983    builtin and then its argument prototype would still apply.  */
56984 char iconv ();
56985 int
56986 main ()
56987 {
56988 iconv ();
56989   ;
56990   return 0;
56991 }
56992 _ACEOF
56993 rm -f conftest.$ac_objext conftest$ac_exeext
56994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56995   (eval $ac_link) 2>&5
56996   ac_status=$?
56997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56998   (exit $ac_status); } &&
56999          { ac_try='test -s conftest$ac_exeext'
57000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57001   (eval $ac_try) 2>&5
57002   ac_status=$?
57003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57004   (exit $ac_status); }; }; then
57005   ac_cv_lib_iconv_iconv=yes
57006 else
57007   echo "$as_me: failed program was:" >&5
57008 sed 's/^/| /' conftest.$ac_ext >&5
57009
57010 ac_cv_lib_iconv_iconv=no
57011 fi
57012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57013 LIBS=$ac_check_lib_save_LIBS
57014 fi
57015 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57016 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57017 if test $ac_cv_lib_iconv_iconv = yes; then
57018   libiconv="-liconv"
57019 fi
57020
57021     ac_save_LIBS="$LIBS"
57022     LIBS="$LIBS $libiconv"
57023
57024
57025
57026
57027
57028 for ac_func in iconv_open iconv_close iconv nl_langinfo
57029 do
57030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57031 echo "$as_me:$LINENO: checking for $ac_func" >&5
57032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57033 if eval "test \"\${$as_ac_var+set}\" = set"; then
57034   echo $ECHO_N "(cached) $ECHO_C" >&6
57035 else
57036   if test x$gcc_no_link = xyes; then
57037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57039    { (exit 1); exit 1; }; }
57040 fi
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 /* System header to define __stub macros and hopefully few prototypes,
57049     which can conflict with char $ac_func (); below.
57050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57051     <limits.h> exists even on freestanding compilers.  */
57052 #ifdef __STDC__
57053 # include <limits.h>
57054 #else
57055 # include <assert.h>
57056 #endif
57057 /* Override any gcc2 internal prototype to avoid an error.  */
57058 #ifdef __cplusplus
57059 extern "C"
57060 {
57061 #endif
57062 /* We use char because int might match the return type of a gcc2
57063    builtin and then its argument prototype would still apply.  */
57064 char $ac_func ();
57065 /* The GNU C library defines this for functions which it implements
57066     to always fail with ENOSYS.  Some functions are actually named
57067     something starting with __ and the normal name is an alias.  */
57068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57069 choke me
57070 #else
57071 char (*f) () = $ac_func;
57072 #endif
57073 #ifdef __cplusplus
57074 }
57075 #endif
57076
57077 int
57078 main ()
57079 {
57080 return f != $ac_func;
57081   ;
57082   return 0;
57083 }
57084 _ACEOF
57085 rm -f conftest.$ac_objext conftest$ac_exeext
57086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57087   (eval $ac_link) 2>&5
57088   ac_status=$?
57089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090   (exit $ac_status); } &&
57091          { ac_try='test -s conftest$ac_exeext'
57092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57093   (eval $ac_try) 2>&5
57094   ac_status=$?
57095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57096   (exit $ac_status); }; }; then
57097   eval "$as_ac_var=yes"
57098 else
57099   echo "$as_me: failed program was:" >&5
57100 sed 's/^/| /' conftest.$ac_ext >&5
57101
57102 eval "$as_ac_var=no"
57103 fi
57104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57105 fi
57106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57108 if test `eval echo '${'$as_ac_var'}'` = yes; then
57109   cat >>confdefs.h <<_ACEOF
57110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57111 _ACEOF
57112  ac_XPG2funcs=yes
57113 else
57114   ac_XPG2funcs=no
57115 fi
57116 done
57117
57118
57119     LIBS="$ac_save_LIBS"
57120
57121     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57122 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57123     if test x"$ac_has_iconv_h" = xyes &&
57124        test x"$ac_has_langinfo_h" = xyes &&
57125        test x"$ac_XPG2funcs" = xyes;
57126     then
57127       ac_XPG2_wchar_t=yes
57128     else
57129       ac_XPG2_wchar_t=no
57130     fi
57131     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57132 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57133
57134     # At the moment, only enable wchar_t specializations if all the
57135     # above support is present.
57136     if test x"$ac_isoC99_wchar_t" = xyes &&
57137        test x"$ac_XPG2_wchar_t" = xyes;
57138     then
57139       cat >>confdefs.h <<\_ACEOF
57140 #define _GLIBCXX_USE_WCHAR_T 1
57141 _ACEOF
57142
57143       enable_wchar_t=yes
57144     fi
57145   fi
57146   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57147 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57148   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57149 echo "${ECHO_T}$enable_wchar_t" >&6
57150
57151     cat >>confdefs.h <<\_ACEOF
57152 #define HAVE_COPYSIGN 1
57153 _ACEOF
57154
57155     cat >>confdefs.h <<\_ACEOF
57156 #define HAVE_COPYSIGNF 1
57157 _ACEOF
57158
57159     cat >>confdefs.h <<\_ACEOF
57160 #define HAVE_FINITEF 1
57161 _ACEOF
57162
57163     cat >>confdefs.h <<\_ACEOF
57164 #define HAVE_FINITE 1
57165 _ACEOF
57166
57167     cat >>confdefs.h <<\_ACEOF
57168 #define HAVE_FREXPF 1
57169 _ACEOF
57170
57171     cat >>confdefs.h <<\_ACEOF
57172 #define HAVE_HYPOTF 1
57173 _ACEOF
57174
57175     cat >>confdefs.h <<\_ACEOF
57176 #define HAVE_ISINF 1
57177 _ACEOF
57178
57179     cat >>confdefs.h <<\_ACEOF
57180 #define HAVE_ISINFF 1
57181 _ACEOF
57182
57183     cat >>confdefs.h <<\_ACEOF
57184 #define HAVE_ISNAN 1
57185 _ACEOF
57186
57187     cat >>confdefs.h <<\_ACEOF
57188 #define HAVE_ISNANF 1
57189 _ACEOF
57190
57191     if test x"long_double_math_on_this_cpu" = x"yes"; then
57192       cat >>confdefs.h <<\_ACEOF
57193 #define HAVE_FINITEL 1
57194 _ACEOF
57195
57196       cat >>confdefs.h <<\_ACEOF
57197 #define HAVE_ISINFL 1
57198 _ACEOF
57199
57200       cat >>confdefs.h <<\_ACEOF
57201 #define HAVE_ISNANL 1
57202 _ACEOF
57203
57204     fi
57205     ;;
57206   *-qnx6.1* | *-qnx6.2*)
57207     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57208
57209
57210   # If we're not using GNU ld, then there's no point in even trying these
57211   # tests.  Check for that first.  We should have already tested for gld
57212   # by now (in libtool), but require it now just to be safe...
57213   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57214   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57215
57216
57217
57218   # The name set by libtool depends on the version of libtool.  Shame on us
57219   # for depending on an impl detail, but c'est la vie.  Older versions used
57220   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57221   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57222   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57223   # set (hence we're using an older libtool), then set it.
57224   if test x${with_gnu_ld+set} != xset; then
57225     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57226       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57227       with_gnu_ld=no
57228     else
57229       with_gnu_ld=$ac_cv_prog_gnu_ld
57230     fi
57231   fi
57232
57233   # Start by getting the version number.  I think the libtool test already
57234   # does some of this, but throws away the result.
57235
57236   ldver=`$LD --version 2>/dev/null | head -1 | \
57237          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
57238
57239   glibcxx_gnu_ld_version=`echo $ldver | \
57240          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57241
57242   # Set --gc-sections.
57243   if test "$with_gnu_ld" = "notbroken"; then
57244     # GNU ld it is!  Joy and bunny rabbits!
57245
57246     # All these tests are for C++; save the language and the compiler flags.
57247     # Need to do this so that g++ won't try to link in libstdc++
57248     ac_test_CFLAGS="${CFLAGS+set}"
57249     ac_save_CFLAGS="$CFLAGS"
57250     CFLAGS='-x c++  -Wl,--gc-sections'
57251
57252     # Check for -Wl,--gc-sections
57253     # XXX This test is broken at the moment, as symbols required for linking
57254     # are now in libsupc++ (not built yet).  In addition, this test has
57255     # cored on solaris in the past.  In addition, --gc-sections doesn't
57256     # really work at the moment (keeps on discarding used sections, first
57257     # .eh_frame and now some of the glibc sections for iconv).
57258     # Bzzzzt.  Thanks for playing, maybe next time.
57259     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
57260 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
57261     if test "$cross_compiling" = yes; then
57262   ac_sectionLDflags=yes
57263 else
57264   cat >conftest.$ac_ext <<_ACEOF
57265 #line $LINENO "configure"
57266 /* confdefs.h.  */
57267 _ACEOF
57268 cat confdefs.h >>conftest.$ac_ext
57269 cat >>conftest.$ac_ext <<_ACEOF
57270 /* end confdefs.h.  */
57271
57272      int main(void)
57273      {
57274        try { throw 1; }
57275        catch (...) { };
57276        return 0;
57277      }
57278
57279 _ACEOF
57280 rm -f conftest$ac_exeext
57281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57282   (eval $ac_link) 2>&5
57283   ac_status=$?
57284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57285   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
57286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57287   (eval $ac_try) 2>&5
57288   ac_status=$?
57289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57290   (exit $ac_status); }; }; then
57291   ac_sectionLDflags=yes
57292 else
57293   echo "$as_me: program exited with status $ac_status" >&5
57294 echo "$as_me: failed program was:" >&5
57295 sed 's/^/| /' conftest.$ac_ext >&5
57296
57297 ( exit $ac_status )
57298 ac_sectionLDflags=no
57299 fi
57300 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
57301 fi
57302     if test "$ac_test_CFLAGS" = set; then
57303       CFLAGS="$ac_save_CFLAGS"
57304     else
57305       # this is the suspicious part
57306       CFLAGS=''
57307     fi
57308     if test "$ac_sectionLDflags" = "yes"; then
57309       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57310     fi
57311     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
57312 echo "${ECHO_T}$ac_sectionLDflags" >&6
57313   fi
57314
57315   # Set linker optimization flags.
57316   if test x"$with_gnu_ld" = x"yes"; then
57317     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57318   fi
57319
57320
57321
57322
57323
57324
57325 echo "$as_me:$LINENO: checking for main in -lm" >&5
57326 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
57327 if test "${ac_cv_lib_m_main+set}" = set; then
57328   echo $ECHO_N "(cached) $ECHO_C" >&6
57329 else
57330   ac_check_lib_save_LIBS=$LIBS
57331 LIBS="-lm  $LIBS"
57332 if test x$gcc_no_link = xyes; then
57333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57335    { (exit 1); exit 1; }; }
57336 fi
57337 cat >conftest.$ac_ext <<_ACEOF
57338 #line $LINENO "configure"
57339 /* confdefs.h.  */
57340 _ACEOF
57341 cat confdefs.h >>conftest.$ac_ext
57342 cat >>conftest.$ac_ext <<_ACEOF
57343 /* end confdefs.h.  */
57344
57345
57346 int
57347 main ()
57348 {
57349 main ();
57350   ;
57351   return 0;
57352 }
57353 _ACEOF
57354 rm -f conftest.$ac_objext conftest$ac_exeext
57355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57356   (eval $ac_link) 2>&5
57357   ac_status=$?
57358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57359   (exit $ac_status); } &&
57360          { ac_try='test -s conftest$ac_exeext'
57361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57362   (eval $ac_try) 2>&5
57363   ac_status=$?
57364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57365   (exit $ac_status); }; }; then
57366   ac_cv_lib_m_main=yes
57367 else
57368   echo "$as_me: failed program was:" >&5
57369 sed 's/^/| /' conftest.$ac_ext >&5
57370
57371 ac_cv_lib_m_main=no
57372 fi
57373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57374 LIBS=$ac_check_lib_save_LIBS
57375 fi
57376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
57377 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
57378 if test $ac_cv_lib_m_main = yes; then
57379   cat >>confdefs.h <<_ACEOF
57380 #define HAVE_LIBM 1
57381 _ACEOF
57382
57383   LIBS="-lm $LIBS"
57384
57385 fi
57386
57387
57388
57389 for ac_func in nan copysignf
57390 do
57391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57392 echo "$as_me:$LINENO: checking for $ac_func" >&5
57393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57394 if eval "test \"\${$as_ac_var+set}\" = set"; then
57395   echo $ECHO_N "(cached) $ECHO_C" >&6
57396 else
57397   if test x$gcc_no_link = xyes; then
57398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57400    { (exit 1); exit 1; }; }
57401 fi
57402 cat >conftest.$ac_ext <<_ACEOF
57403 #line $LINENO "configure"
57404 /* confdefs.h.  */
57405 _ACEOF
57406 cat confdefs.h >>conftest.$ac_ext
57407 cat >>conftest.$ac_ext <<_ACEOF
57408 /* end confdefs.h.  */
57409 /* System header to define __stub macros and hopefully few prototypes,
57410     which can conflict with char $ac_func (); below.
57411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57412     <limits.h> exists even on freestanding compilers.  */
57413 #ifdef __STDC__
57414 # include <limits.h>
57415 #else
57416 # include <assert.h>
57417 #endif
57418 /* Override any gcc2 internal prototype to avoid an error.  */
57419 #ifdef __cplusplus
57420 extern "C"
57421 {
57422 #endif
57423 /* We use char because int might match the return type of a gcc2
57424    builtin and then its argument prototype would still apply.  */
57425 char $ac_func ();
57426 /* The GNU C library defines this for functions which it implements
57427     to always fail with ENOSYS.  Some functions are actually named
57428     something starting with __ and the normal name is an alias.  */
57429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57430 choke me
57431 #else
57432 char (*f) () = $ac_func;
57433 #endif
57434 #ifdef __cplusplus
57435 }
57436 #endif
57437
57438 int
57439 main ()
57440 {
57441 return f != $ac_func;
57442   ;
57443   return 0;
57444 }
57445 _ACEOF
57446 rm -f conftest.$ac_objext conftest$ac_exeext
57447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57448   (eval $ac_link) 2>&5
57449   ac_status=$?
57450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451   (exit $ac_status); } &&
57452          { ac_try='test -s conftest$ac_exeext'
57453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454   (eval $ac_try) 2>&5
57455   ac_status=$?
57456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457   (exit $ac_status); }; }; then
57458   eval "$as_ac_var=yes"
57459 else
57460   echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57462
57463 eval "$as_ac_var=no"
57464 fi
57465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57466 fi
57467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57469 if test `eval echo '${'$as_ac_var'}'` = yes; then
57470   cat >>confdefs.h <<_ACEOF
57471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57472 _ACEOF
57473
57474 else
57475   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
57476 fi
57477 done
57478
57479
57480
57481 for ac_func in __signbit
57482 do
57483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57484 echo "$as_me:$LINENO: checking for $ac_func" >&5
57485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57486 if eval "test \"\${$as_ac_var+set}\" = set"; then
57487   echo $ECHO_N "(cached) $ECHO_C" >&6
57488 else
57489   if test x$gcc_no_link = xyes; then
57490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57492    { (exit 1); exit 1; }; }
57493 fi
57494 cat >conftest.$ac_ext <<_ACEOF
57495 #line $LINENO "configure"
57496 /* confdefs.h.  */
57497 _ACEOF
57498 cat confdefs.h >>conftest.$ac_ext
57499 cat >>conftest.$ac_ext <<_ACEOF
57500 /* end confdefs.h.  */
57501 /* System header to define __stub macros and hopefully few prototypes,
57502     which can conflict with char $ac_func (); below.
57503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57504     <limits.h> exists even on freestanding compilers.  */
57505 #ifdef __STDC__
57506 # include <limits.h>
57507 #else
57508 # include <assert.h>
57509 #endif
57510 /* Override any gcc2 internal prototype to avoid an error.  */
57511 #ifdef __cplusplus
57512 extern "C"
57513 {
57514 #endif
57515 /* We use char because int might match the return type of a gcc2
57516    builtin and then its argument prototype would still apply.  */
57517 char $ac_func ();
57518 /* The GNU C library defines this for functions which it implements
57519     to always fail with ENOSYS.  Some functions are actually named
57520     something starting with __ and the normal name is an alias.  */
57521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57522 choke me
57523 #else
57524 char (*f) () = $ac_func;
57525 #endif
57526 #ifdef __cplusplus
57527 }
57528 #endif
57529
57530 int
57531 main ()
57532 {
57533 return f != $ac_func;
57534   ;
57535   return 0;
57536 }
57537 _ACEOF
57538 rm -f conftest.$ac_objext conftest$ac_exeext
57539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57540   (eval $ac_link) 2>&5
57541   ac_status=$?
57542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57543   (exit $ac_status); } &&
57544          { ac_try='test -s conftest$ac_exeext'
57545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57546   (eval $ac_try) 2>&5
57547   ac_status=$?
57548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549   (exit $ac_status); }; }; then
57550   eval "$as_ac_var=yes"
57551 else
57552   echo "$as_me: failed program was:" >&5
57553 sed 's/^/| /' conftest.$ac_ext >&5
57554
57555 eval "$as_ac_var=no"
57556 fi
57557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57558 fi
57559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57561 if test `eval echo '${'$as_ac_var'}'` = yes; then
57562   cat >>confdefs.h <<_ACEOF
57563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57564 _ACEOF
57565
57566 else
57567   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
57568 fi
57569 done
57570
57571
57572 for ac_func in __signbitf
57573 do
57574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57575 echo "$as_me:$LINENO: checking for $ac_func" >&5
57576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57577 if eval "test \"\${$as_ac_var+set}\" = set"; then
57578   echo $ECHO_N "(cached) $ECHO_C" >&6
57579 else
57580   if test x$gcc_no_link = xyes; then
57581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57583    { (exit 1); exit 1; }; }
57584 fi
57585 cat >conftest.$ac_ext <<_ACEOF
57586 #line $LINENO "configure"
57587 /* confdefs.h.  */
57588 _ACEOF
57589 cat confdefs.h >>conftest.$ac_ext
57590 cat >>conftest.$ac_ext <<_ACEOF
57591 /* end confdefs.h.  */
57592 /* System header to define __stub macros and hopefully few prototypes,
57593     which can conflict with char $ac_func (); below.
57594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57595     <limits.h> exists even on freestanding compilers.  */
57596 #ifdef __STDC__
57597 # include <limits.h>
57598 #else
57599 # include <assert.h>
57600 #endif
57601 /* Override any gcc2 internal prototype to avoid an error.  */
57602 #ifdef __cplusplus
57603 extern "C"
57604 {
57605 #endif
57606 /* We use char because int might match the return type of a gcc2
57607    builtin and then its argument prototype would still apply.  */
57608 char $ac_func ();
57609 /* The GNU C library defines this for functions which it implements
57610     to always fail with ENOSYS.  Some functions are actually named
57611     something starting with __ and the normal name is an alias.  */
57612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57613 choke me
57614 #else
57615 char (*f) () = $ac_func;
57616 #endif
57617 #ifdef __cplusplus
57618 }
57619 #endif
57620
57621 int
57622 main ()
57623 {
57624 return f != $ac_func;
57625   ;
57626   return 0;
57627 }
57628 _ACEOF
57629 rm -f conftest.$ac_objext conftest$ac_exeext
57630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57631   (eval $ac_link) 2>&5
57632   ac_status=$?
57633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57634   (exit $ac_status); } &&
57635          { ac_try='test -s conftest$ac_exeext'
57636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57637   (eval $ac_try) 2>&5
57638   ac_status=$?
57639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57640   (exit $ac_status); }; }; then
57641   eval "$as_ac_var=yes"
57642 else
57643   echo "$as_me: failed program was:" >&5
57644 sed 's/^/| /' conftest.$ac_ext >&5
57645
57646 eval "$as_ac_var=no"
57647 fi
57648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57649 fi
57650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57652 if test `eval echo '${'$as_ac_var'}'` = yes; then
57653   cat >>confdefs.h <<_ACEOF
57654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57655 _ACEOF
57656
57657 else
57658   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
57659 fi
57660 done
57661
57662
57663           if test x$ac_cv_func_copysignl = x"yes"; then
57664
57665 for ac_func in __signbitl
57666 do
57667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57668 echo "$as_me:$LINENO: checking for $ac_func" >&5
57669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57670 if eval "test \"\${$as_ac_var+set}\" = set"; then
57671   echo $ECHO_N "(cached) $ECHO_C" >&6
57672 else
57673   if test x$gcc_no_link = xyes; then
57674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57676    { (exit 1); exit 1; }; }
57677 fi
57678 cat >conftest.$ac_ext <<_ACEOF
57679 #line $LINENO "configure"
57680 /* confdefs.h.  */
57681 _ACEOF
57682 cat confdefs.h >>conftest.$ac_ext
57683 cat >>conftest.$ac_ext <<_ACEOF
57684 /* end confdefs.h.  */
57685 /* System header to define __stub macros and hopefully few prototypes,
57686     which can conflict with char $ac_func (); below.
57687     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57688     <limits.h> exists even on freestanding compilers.  */
57689 #ifdef __STDC__
57690 # include <limits.h>
57691 #else
57692 # include <assert.h>
57693 #endif
57694 /* Override any gcc2 internal prototype to avoid an error.  */
57695 #ifdef __cplusplus
57696 extern "C"
57697 {
57698 #endif
57699 /* We use char because int might match the return type of a gcc2
57700    builtin and then its argument prototype would still apply.  */
57701 char $ac_func ();
57702 /* The GNU C library defines this for functions which it implements
57703     to always fail with ENOSYS.  Some functions are actually named
57704     something starting with __ and the normal name is an alias.  */
57705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57706 choke me
57707 #else
57708 char (*f) () = $ac_func;
57709 #endif
57710 #ifdef __cplusplus
57711 }
57712 #endif
57713
57714 int
57715 main ()
57716 {
57717 return f != $ac_func;
57718   ;
57719   return 0;
57720 }
57721 _ACEOF
57722 rm -f conftest.$ac_objext conftest$ac_exeext
57723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57724   (eval $ac_link) 2>&5
57725   ac_status=$?
57726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57727   (exit $ac_status); } &&
57728          { ac_try='test -s conftest$ac_exeext'
57729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57730   (eval $ac_try) 2>&5
57731   ac_status=$?
57732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57733   (exit $ac_status); }; }; then
57734   eval "$as_ac_var=yes"
57735 else
57736   echo "$as_me: failed program was:" >&5
57737 sed 's/^/| /' conftest.$ac_ext >&5
57738
57739 eval "$as_ac_var=no"
57740 fi
57741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57742 fi
57743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57745 if test `eval echo '${'$as_ac_var'}'` = yes; then
57746   cat >>confdefs.h <<_ACEOF
57747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57748 _ACEOF
57749
57750 else
57751   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
57752 fi
57753 done
57754
57755   fi
57756
57757   # XXX Review this.  Nothing uses it.
57758   if test -n "$LIBMATHOBJS"; then
57759     need_libmath=yes
57760   fi
57761
57762
57763
57764   # Test wchar.h for mbstate_t, which is needed for char_traits and
57765   # others even if wchar_t support is not on.
57766   echo "$as_me:$LINENO: checking for mbstate_t" >&5
57767 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
57768   cat >conftest.$ac_ext <<_ACEOF
57769 #line $LINENO "configure"
57770 /* confdefs.h.  */
57771 _ACEOF
57772 cat confdefs.h >>conftest.$ac_ext
57773 cat >>conftest.$ac_ext <<_ACEOF
57774 /* end confdefs.h.  */
57775 #include <wchar.h>
57776 int
57777 main ()
57778 {
57779 mbstate_t teststate;
57780   ;
57781   return 0;
57782 }
57783 _ACEOF
57784 rm -f conftest.$ac_objext
57785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57786   (eval $ac_compile) 2>&5
57787   ac_status=$?
57788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57789   (exit $ac_status); } &&
57790          { ac_try='test -s conftest.$ac_objext'
57791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57792   (eval $ac_try) 2>&5
57793   ac_status=$?
57794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57795   (exit $ac_status); }; }; then
57796   have_mbstate_t=yes
57797 else
57798   echo "$as_me: failed program was:" >&5
57799 sed 's/^/| /' conftest.$ac_ext >&5
57800
57801 have_mbstate_t=no
57802 fi
57803 rm -f conftest.$ac_objext conftest.$ac_ext
57804   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
57805 echo "${ECHO_T}$have_mbstate_t" >&6
57806   if test x"$have_mbstate_t" = xyes; then
57807     cat >>confdefs.h <<\_ACEOF
57808 #define HAVE_MBSTATE_T 1
57809 _ACEOF
57810
57811   fi
57812
57813   # Sanity check for existence of ISO C99 headers for extended encoding.
57814
57815 for ac_header in wchar.h
57816 do
57817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57819   echo "$as_me:$LINENO: checking for $ac_header" >&5
57820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57822   echo $ECHO_N "(cached) $ECHO_C" >&6
57823 fi
57824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57826 else
57827   # Is the header compilable?
57828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57830 cat >conftest.$ac_ext <<_ACEOF
57831 #line $LINENO "configure"
57832 /* confdefs.h.  */
57833 _ACEOF
57834 cat confdefs.h >>conftest.$ac_ext
57835 cat >>conftest.$ac_ext <<_ACEOF
57836 /* end confdefs.h.  */
57837 $ac_includes_default
57838 #include <$ac_header>
57839 _ACEOF
57840 rm -f conftest.$ac_objext
57841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57842   (eval $ac_compile) 2>&5
57843   ac_status=$?
57844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845   (exit $ac_status); } &&
57846          { ac_try='test -s conftest.$ac_objext'
57847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848   (eval $ac_try) 2>&5
57849   ac_status=$?
57850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851   (exit $ac_status); }; }; then
57852   ac_header_compiler=yes
57853 else
57854   echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57856
57857 ac_header_compiler=no
57858 fi
57859 rm -f conftest.$ac_objext conftest.$ac_ext
57860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57861 echo "${ECHO_T}$ac_header_compiler" >&6
57862
57863 # Is the header present?
57864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57866 cat >conftest.$ac_ext <<_ACEOF
57867 #line $LINENO "configure"
57868 /* confdefs.h.  */
57869 _ACEOF
57870 cat confdefs.h >>conftest.$ac_ext
57871 cat >>conftest.$ac_ext <<_ACEOF
57872 /* end confdefs.h.  */
57873 #include <$ac_header>
57874 _ACEOF
57875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57876   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57877   ac_status=$?
57878   grep -v '^ *+' conftest.er1 >conftest.err
57879   rm -f conftest.er1
57880   cat conftest.err >&5
57881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57882   (exit $ac_status); } >/dev/null; then
57883   if test -s conftest.err; then
57884     ac_cpp_err=$ac_c_preproc_warn_flag
57885   else
57886     ac_cpp_err=
57887   fi
57888 else
57889   ac_cpp_err=yes
57890 fi
57891 if test -z "$ac_cpp_err"; then
57892   ac_header_preproc=yes
57893 else
57894   echo "$as_me: failed program was:" >&5
57895 sed 's/^/| /' conftest.$ac_ext >&5
57896
57897   ac_header_preproc=no
57898 fi
57899 rm -f conftest.err conftest.$ac_ext
57900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57901 echo "${ECHO_T}$ac_header_preproc" >&6
57902
57903 # So?  What about this header?
57904 case $ac_header_compiler:$ac_header_preproc in
57905   yes:no )
57906     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57908     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57910     (
57911       cat <<\_ASBOX
57912 ## ------------------------------------ ##
57913 ## Report this to bug-autoconf@gnu.org. ##
57914 ## ------------------------------------ ##
57915 _ASBOX
57916     ) |
57917       sed "s/^/$as_me: WARNING:     /" >&2
57918     ;;
57919   no:yes )
57920     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57922     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57924     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57926     (
57927       cat <<\_ASBOX
57928 ## ------------------------------------ ##
57929 ## Report this to bug-autoconf@gnu.org. ##
57930 ## ------------------------------------ ##
57931 _ASBOX
57932     ) |
57933       sed "s/^/$as_me: WARNING:     /" >&2
57934     ;;
57935 esac
57936 echo "$as_me:$LINENO: checking for $ac_header" >&5
57937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57939   echo $ECHO_N "(cached) $ECHO_C" >&6
57940 else
57941   eval "$as_ac_Header=$ac_header_preproc"
57942 fi
57943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57945
57946 fi
57947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57948   cat >>confdefs.h <<_ACEOF
57949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57950 _ACEOF
57951  ac_has_wchar_h=yes
57952 else
57953   ac_has_wchar_h=no
57954 fi
57955
57956 done
57957
57958
57959 for ac_header in wctype.h
57960 do
57961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57963   echo "$as_me:$LINENO: checking for $ac_header" >&5
57964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57966   echo $ECHO_N "(cached) $ECHO_C" >&6
57967 fi
57968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57970 else
57971   # Is the header compilable?
57972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57974 cat >conftest.$ac_ext <<_ACEOF
57975 #line $LINENO "configure"
57976 /* confdefs.h.  */
57977 _ACEOF
57978 cat confdefs.h >>conftest.$ac_ext
57979 cat >>conftest.$ac_ext <<_ACEOF
57980 /* end confdefs.h.  */
57981 $ac_includes_default
57982 #include <$ac_header>
57983 _ACEOF
57984 rm -f conftest.$ac_objext
57985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57986   (eval $ac_compile) 2>&5
57987   ac_status=$?
57988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57989   (exit $ac_status); } &&
57990          { ac_try='test -s conftest.$ac_objext'
57991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57992   (eval $ac_try) 2>&5
57993   ac_status=$?
57994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57995   (exit $ac_status); }; }; then
57996   ac_header_compiler=yes
57997 else
57998   echo "$as_me: failed program was:" >&5
57999 sed 's/^/| /' conftest.$ac_ext >&5
58000
58001 ac_header_compiler=no
58002 fi
58003 rm -f conftest.$ac_objext conftest.$ac_ext
58004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58005 echo "${ECHO_T}$ac_header_compiler" >&6
58006
58007 # Is the header present?
58008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58010 cat >conftest.$ac_ext <<_ACEOF
58011 #line $LINENO "configure"
58012 /* confdefs.h.  */
58013 _ACEOF
58014 cat confdefs.h >>conftest.$ac_ext
58015 cat >>conftest.$ac_ext <<_ACEOF
58016 /* end confdefs.h.  */
58017 #include <$ac_header>
58018 _ACEOF
58019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58020   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58021   ac_status=$?
58022   grep -v '^ *+' conftest.er1 >conftest.err
58023   rm -f conftest.er1
58024   cat conftest.err >&5
58025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58026   (exit $ac_status); } >/dev/null; then
58027   if test -s conftest.err; then
58028     ac_cpp_err=$ac_c_preproc_warn_flag
58029   else
58030     ac_cpp_err=
58031   fi
58032 else
58033   ac_cpp_err=yes
58034 fi
58035 if test -z "$ac_cpp_err"; then
58036   ac_header_preproc=yes
58037 else
58038   echo "$as_me: failed program was:" >&5
58039 sed 's/^/| /' conftest.$ac_ext >&5
58040
58041   ac_header_preproc=no
58042 fi
58043 rm -f conftest.err conftest.$ac_ext
58044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58045 echo "${ECHO_T}$ac_header_preproc" >&6
58046
58047 # So?  What about this header?
58048 case $ac_header_compiler:$ac_header_preproc in
58049   yes:no )
58050     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58052     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58054     (
58055       cat <<\_ASBOX
58056 ## ------------------------------------ ##
58057 ## Report this to bug-autoconf@gnu.org. ##
58058 ## ------------------------------------ ##
58059 _ASBOX
58060     ) |
58061       sed "s/^/$as_me: WARNING:     /" >&2
58062     ;;
58063   no:yes )
58064     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58066     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58068     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58070     (
58071       cat <<\_ASBOX
58072 ## ------------------------------------ ##
58073 ## Report this to bug-autoconf@gnu.org. ##
58074 ## ------------------------------------ ##
58075 _ASBOX
58076     ) |
58077       sed "s/^/$as_me: WARNING:     /" >&2
58078     ;;
58079 esac
58080 echo "$as_me:$LINENO: checking for $ac_header" >&5
58081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58083   echo $ECHO_N "(cached) $ECHO_C" >&6
58084 else
58085   eval "$as_ac_Header=$ac_header_preproc"
58086 fi
58087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58089
58090 fi
58091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58092   cat >>confdefs.h <<_ACEOF
58093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58094 _ACEOF
58095  ac_has_wctype_h=yes
58096 else
58097   ac_has_wctype_h=no
58098 fi
58099
58100 done
58101
58102
58103   # Only continue checking if the ISO C99 headers exist and support is on.
58104   if test x"$ac_has_wchar_h" = xyes &&
58105      test x"$ac_has_wctype_h" = xyes &&
58106      test x"$enable_c_mbchar" != xno; then
58107
58108     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
58109     # numeric_limits can instantiate type_traits<wchar_t>
58110     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
58111 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
58112     cat >conftest.$ac_ext <<_ACEOF
58113 #line $LINENO "configure"
58114 /* confdefs.h.  */
58115 _ACEOF
58116 cat confdefs.h >>conftest.$ac_ext
58117 cat >>conftest.$ac_ext <<_ACEOF
58118 /* end confdefs.h.  */
58119 #include <wchar.h>
58120 int
58121 main ()
58122 {
58123 int i = WCHAR_MIN; int j = WCHAR_MAX;
58124   ;
58125   return 0;
58126 }
58127 _ACEOF
58128 rm -f conftest.$ac_objext
58129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58130   (eval $ac_compile) 2>&5
58131   ac_status=$?
58132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58133   (exit $ac_status); } &&
58134          { ac_try='test -s conftest.$ac_objext'
58135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58136   (eval $ac_try) 2>&5
58137   ac_status=$?
58138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58139   (exit $ac_status); }; }; then
58140   has_wchar_minmax=yes
58141 else
58142   echo "$as_me: failed program was:" >&5
58143 sed 's/^/| /' conftest.$ac_ext >&5
58144
58145 has_wchar_minmax=no
58146 fi
58147 rm -f conftest.$ac_objext conftest.$ac_ext
58148     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
58149 echo "${ECHO_T}$has_wchar_minmax" >&6
58150
58151     # Test wchar.h for WEOF, which is what we use to determine whether
58152     # to specialize for char_traits<wchar_t> or not.
58153     echo "$as_me:$LINENO: checking for WEOF" >&5
58154 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
58155     cat >conftest.$ac_ext <<_ACEOF
58156 #line $LINENO "configure"
58157 /* confdefs.h.  */
58158 _ACEOF
58159 cat confdefs.h >>conftest.$ac_ext
58160 cat >>conftest.$ac_ext <<_ACEOF
58161 /* end confdefs.h.  */
58162
58163       #include <wchar.h>
58164       #include <stddef.h>
58165 int
58166 main ()
58167 {
58168 wint_t i = WEOF;
58169   ;
58170   return 0;
58171 }
58172 _ACEOF
58173 rm -f conftest.$ac_objext
58174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58175   (eval $ac_compile) 2>&5
58176   ac_status=$?
58177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58178   (exit $ac_status); } &&
58179          { ac_try='test -s conftest.$ac_objext'
58180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58181   (eval $ac_try) 2>&5
58182   ac_status=$?
58183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58184   (exit $ac_status); }; }; then
58185   has_weof=yes
58186 else
58187   echo "$as_me: failed program was:" >&5
58188 sed 's/^/| /' conftest.$ac_ext >&5
58189
58190 has_weof=no
58191 fi
58192 rm -f conftest.$ac_objext conftest.$ac_ext
58193     echo "$as_me:$LINENO: result: $has_weof" >&5
58194 echo "${ECHO_T}$has_weof" >&6
58195
58196     # Tests for wide character functions used in char_traits<wchar_t>.
58197     ac_wfuncs=yes
58198
58199
58200
58201
58202
58203
58204 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
58205 do
58206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58207 echo "$as_me:$LINENO: checking for $ac_func" >&5
58208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58209 if eval "test \"\${$as_ac_var+set}\" = set"; then
58210   echo $ECHO_N "(cached) $ECHO_C" >&6
58211 else
58212   if test x$gcc_no_link = xyes; then
58213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58215    { (exit 1); exit 1; }; }
58216 fi
58217 cat >conftest.$ac_ext <<_ACEOF
58218 #line $LINENO "configure"
58219 /* confdefs.h.  */
58220 _ACEOF
58221 cat confdefs.h >>conftest.$ac_ext
58222 cat >>conftest.$ac_ext <<_ACEOF
58223 /* end confdefs.h.  */
58224 /* System header to define __stub macros and hopefully few prototypes,
58225     which can conflict with char $ac_func (); below.
58226     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58227     <limits.h> exists even on freestanding compilers.  */
58228 #ifdef __STDC__
58229 # include <limits.h>
58230 #else
58231 # include <assert.h>
58232 #endif
58233 /* Override any gcc2 internal prototype to avoid an error.  */
58234 #ifdef __cplusplus
58235 extern "C"
58236 {
58237 #endif
58238 /* We use char because int might match the return type of a gcc2
58239    builtin and then its argument prototype would still apply.  */
58240 char $ac_func ();
58241 /* The GNU C library defines this for functions which it implements
58242     to always fail with ENOSYS.  Some functions are actually named
58243     something starting with __ and the normal name is an alias.  */
58244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58245 choke me
58246 #else
58247 char (*f) () = $ac_func;
58248 #endif
58249 #ifdef __cplusplus
58250 }
58251 #endif
58252
58253 int
58254 main ()
58255 {
58256 return f != $ac_func;
58257   ;
58258   return 0;
58259 }
58260 _ACEOF
58261 rm -f conftest.$ac_objext conftest$ac_exeext
58262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58263   (eval $ac_link) 2>&5
58264   ac_status=$?
58265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266   (exit $ac_status); } &&
58267          { ac_try='test -s conftest$ac_exeext'
58268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58269   (eval $ac_try) 2>&5
58270   ac_status=$?
58271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272   (exit $ac_status); }; }; then
58273   eval "$as_ac_var=yes"
58274 else
58275   echo "$as_me: failed program was:" >&5
58276 sed 's/^/| /' conftest.$ac_ext >&5
58277
58278 eval "$as_ac_var=no"
58279 fi
58280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58281 fi
58282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58284 if test `eval echo '${'$as_ac_var'}'` = yes; then
58285   cat >>confdefs.h <<_ACEOF
58286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58287 _ACEOF
58288
58289 else
58290   ac_wfuncs=no
58291 fi
58292 done
58293
58294
58295     # Checks for names injected into std:: by the c_std headers.
58296
58297
58298
58299
58300
58301
58302
58303
58304
58305
58306
58307
58308
58309
58310
58311
58312
58313
58314
58315
58316
58317
58318
58319
58320
58321
58322
58323
58324
58325
58326
58327
58328
58329
58330
58331
58332
58333
58334
58335
58336
58337
58338
58339
58340
58341
58342 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
58343     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
58344     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
58345     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
58346     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
58347     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
58348 do
58349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58350 echo "$as_me:$LINENO: checking for $ac_func" >&5
58351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58352 if eval "test \"\${$as_ac_var+set}\" = set"; then
58353   echo $ECHO_N "(cached) $ECHO_C" >&6
58354 else
58355   if test x$gcc_no_link = xyes; then
58356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58358    { (exit 1); exit 1; }; }
58359 fi
58360 cat >conftest.$ac_ext <<_ACEOF
58361 #line $LINENO "configure"
58362 /* confdefs.h.  */
58363 _ACEOF
58364 cat confdefs.h >>conftest.$ac_ext
58365 cat >>conftest.$ac_ext <<_ACEOF
58366 /* end confdefs.h.  */
58367 /* System header to define __stub macros and hopefully few prototypes,
58368     which can conflict with char $ac_func (); below.
58369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58370     <limits.h> exists even on freestanding compilers.  */
58371 #ifdef __STDC__
58372 # include <limits.h>
58373 #else
58374 # include <assert.h>
58375 #endif
58376 /* Override any gcc2 internal prototype to avoid an error.  */
58377 #ifdef __cplusplus
58378 extern "C"
58379 {
58380 #endif
58381 /* We use char because int might match the return type of a gcc2
58382    builtin and then its argument prototype would still apply.  */
58383 char $ac_func ();
58384 /* The GNU C library defines this for functions which it implements
58385     to always fail with ENOSYS.  Some functions are actually named
58386     something starting with __ and the normal name is an alias.  */
58387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58388 choke me
58389 #else
58390 char (*f) () = $ac_func;
58391 #endif
58392 #ifdef __cplusplus
58393 }
58394 #endif
58395
58396 int
58397 main ()
58398 {
58399 return f != $ac_func;
58400   ;
58401   return 0;
58402 }
58403 _ACEOF
58404 rm -f conftest.$ac_objext conftest$ac_exeext
58405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58406   (eval $ac_link) 2>&5
58407   ac_status=$?
58408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58409   (exit $ac_status); } &&
58410          { ac_try='test -s conftest$ac_exeext'
58411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58412   (eval $ac_try) 2>&5
58413   ac_status=$?
58414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58415   (exit $ac_status); }; }; then
58416   eval "$as_ac_var=yes"
58417 else
58418   echo "$as_me: failed program was:" >&5
58419 sed 's/^/| /' conftest.$ac_ext >&5
58420
58421 eval "$as_ac_var=no"
58422 fi
58423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58424 fi
58425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58427 if test `eval echo '${'$as_ac_var'}'` = yes; then
58428   cat >>confdefs.h <<_ACEOF
58429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58430 _ACEOF
58431
58432 else
58433   ac_wfuncs=no
58434 fi
58435 done
58436
58437
58438     # Checks for wide character functions that are not required
58439     # for basic wchar_t support.  Don't disable support if they are missing.
58440     # Injection of these is wrapped with guard macros.
58441
58442
58443
58444
58445
58446 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
58447 do
58448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58449 echo "$as_me:$LINENO: checking for $ac_func" >&5
58450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58451 if eval "test \"\${$as_ac_var+set}\" = set"; then
58452   echo $ECHO_N "(cached) $ECHO_C" >&6
58453 else
58454   if test x$gcc_no_link = xyes; then
58455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58457    { (exit 1); exit 1; }; }
58458 fi
58459 cat >conftest.$ac_ext <<_ACEOF
58460 #line $LINENO "configure"
58461 /* confdefs.h.  */
58462 _ACEOF
58463 cat confdefs.h >>conftest.$ac_ext
58464 cat >>conftest.$ac_ext <<_ACEOF
58465 /* end confdefs.h.  */
58466 /* System header to define __stub macros and hopefully few prototypes,
58467     which can conflict with char $ac_func (); below.
58468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58469     <limits.h> exists even on freestanding compilers.  */
58470 #ifdef __STDC__
58471 # include <limits.h>
58472 #else
58473 # include <assert.h>
58474 #endif
58475 /* Override any gcc2 internal prototype to avoid an error.  */
58476 #ifdef __cplusplus
58477 extern "C"
58478 {
58479 #endif
58480 /* We use char because int might match the return type of a gcc2
58481    builtin and then its argument prototype would still apply.  */
58482 char $ac_func ();
58483 /* The GNU C library defines this for functions which it implements
58484     to always fail with ENOSYS.  Some functions are actually named
58485     something starting with __ and the normal name is an alias.  */
58486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58487 choke me
58488 #else
58489 char (*f) () = $ac_func;
58490 #endif
58491 #ifdef __cplusplus
58492 }
58493 #endif
58494
58495 int
58496 main ()
58497 {
58498 return f != $ac_func;
58499   ;
58500   return 0;
58501 }
58502 _ACEOF
58503 rm -f conftest.$ac_objext conftest$ac_exeext
58504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58505   (eval $ac_link) 2>&5
58506   ac_status=$?
58507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58508   (exit $ac_status); } &&
58509          { ac_try='test -s conftest$ac_exeext'
58510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58511   (eval $ac_try) 2>&5
58512   ac_status=$?
58513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58514   (exit $ac_status); }; }; then
58515   eval "$as_ac_var=yes"
58516 else
58517   echo "$as_me: failed program was:" >&5
58518 sed 's/^/| /' conftest.$ac_ext >&5
58519
58520 eval "$as_ac_var=no"
58521 fi
58522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58523 fi
58524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58526 if test `eval echo '${'$as_ac_var'}'` = yes; then
58527   cat >>confdefs.h <<_ACEOF
58528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58529 _ACEOF
58530
58531 fi
58532 done
58533
58534
58535     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
58536 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
58537     if test x"$has_weof" = xyes &&
58538        test x"$has_wchar_minmax" = xyes &&
58539        test x"$ac_wfuncs" = xyes;
58540     then
58541       ac_isoC99_wchar_t=yes
58542     else
58543       ac_isoC99_wchar_t=no
58544     fi
58545     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
58546 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
58547
58548     # Use iconv for wchar_t to char conversions. As such, check for
58549     # X/Open Portability Guide, version 2 features (XPG2).
58550     if test "${ac_cv_header_iconv_h+set}" = set; then
58551   echo "$as_me:$LINENO: checking for iconv.h" >&5
58552 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58553 if test "${ac_cv_header_iconv_h+set}" = set; then
58554   echo $ECHO_N "(cached) $ECHO_C" >&6
58555 fi
58556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58558 else
58559   # Is the header compilable?
58560 echo "$as_me:$LINENO: checking iconv.h usability" >&5
58561 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
58562 cat >conftest.$ac_ext <<_ACEOF
58563 #line $LINENO "configure"
58564 /* confdefs.h.  */
58565 _ACEOF
58566 cat confdefs.h >>conftest.$ac_ext
58567 cat >>conftest.$ac_ext <<_ACEOF
58568 /* end confdefs.h.  */
58569 $ac_includes_default
58570 #include <iconv.h>
58571 _ACEOF
58572 rm -f conftest.$ac_objext
58573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58574   (eval $ac_compile) 2>&5
58575   ac_status=$?
58576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577   (exit $ac_status); } &&
58578          { ac_try='test -s conftest.$ac_objext'
58579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58580   (eval $ac_try) 2>&5
58581   ac_status=$?
58582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58583   (exit $ac_status); }; }; then
58584   ac_header_compiler=yes
58585 else
58586   echo "$as_me: failed program was:" >&5
58587 sed 's/^/| /' conftest.$ac_ext >&5
58588
58589 ac_header_compiler=no
58590 fi
58591 rm -f conftest.$ac_objext conftest.$ac_ext
58592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58593 echo "${ECHO_T}$ac_header_compiler" >&6
58594
58595 # Is the header present?
58596 echo "$as_me:$LINENO: checking iconv.h presence" >&5
58597 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
58598 cat >conftest.$ac_ext <<_ACEOF
58599 #line $LINENO "configure"
58600 /* confdefs.h.  */
58601 _ACEOF
58602 cat confdefs.h >>conftest.$ac_ext
58603 cat >>conftest.$ac_ext <<_ACEOF
58604 /* end confdefs.h.  */
58605 #include <iconv.h>
58606 _ACEOF
58607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58608   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58609   ac_status=$?
58610   grep -v '^ *+' conftest.er1 >conftest.err
58611   rm -f conftest.er1
58612   cat conftest.err >&5
58613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58614   (exit $ac_status); } >/dev/null; then
58615   if test -s conftest.err; then
58616     ac_cpp_err=$ac_c_preproc_warn_flag
58617   else
58618     ac_cpp_err=
58619   fi
58620 else
58621   ac_cpp_err=yes
58622 fi
58623 if test -z "$ac_cpp_err"; then
58624   ac_header_preproc=yes
58625 else
58626   echo "$as_me: failed program was:" >&5
58627 sed 's/^/| /' conftest.$ac_ext >&5
58628
58629   ac_header_preproc=no
58630 fi
58631 rm -f conftest.err conftest.$ac_ext
58632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58633 echo "${ECHO_T}$ac_header_preproc" >&6
58634
58635 # So?  What about this header?
58636 case $ac_header_compiler:$ac_header_preproc in
58637   yes:no )
58638     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
58639 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58640     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58641 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58642     (
58643       cat <<\_ASBOX
58644 ## ------------------------------------ ##
58645 ## Report this to bug-autoconf@gnu.org. ##
58646 ## ------------------------------------ ##
58647 _ASBOX
58648     ) |
58649       sed "s/^/$as_me: WARNING:     /" >&2
58650     ;;
58651   no:yes )
58652     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
58653 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
58654     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
58655 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
58656     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58657 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58658     (
58659       cat <<\_ASBOX
58660 ## ------------------------------------ ##
58661 ## Report this to bug-autoconf@gnu.org. ##
58662 ## ------------------------------------ ##
58663 _ASBOX
58664     ) |
58665       sed "s/^/$as_me: WARNING:     /" >&2
58666     ;;
58667 esac
58668 echo "$as_me:$LINENO: checking for iconv.h" >&5
58669 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58670 if test "${ac_cv_header_iconv_h+set}" = set; then
58671   echo $ECHO_N "(cached) $ECHO_C" >&6
58672 else
58673   ac_cv_header_iconv_h=$ac_header_preproc
58674 fi
58675 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58676 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58677
58678 fi
58679 if test $ac_cv_header_iconv_h = yes; then
58680   ac_has_iconv_h=yes
58681 else
58682   ac_has_iconv_h=no
58683 fi
58684
58685
58686     if test "${ac_cv_header_langinfo_h+set}" = set; then
58687   echo "$as_me:$LINENO: checking for langinfo.h" >&5
58688 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58689 if test "${ac_cv_header_langinfo_h+set}" = set; then
58690   echo $ECHO_N "(cached) $ECHO_C" >&6
58691 fi
58692 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58693 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58694 else
58695   # Is the header compilable?
58696 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
58697 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
58698 cat >conftest.$ac_ext <<_ACEOF
58699 #line $LINENO "configure"
58700 /* confdefs.h.  */
58701 _ACEOF
58702 cat confdefs.h >>conftest.$ac_ext
58703 cat >>conftest.$ac_ext <<_ACEOF
58704 /* end confdefs.h.  */
58705 $ac_includes_default
58706 #include <langinfo.h>
58707 _ACEOF
58708 rm -f conftest.$ac_objext
58709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58710   (eval $ac_compile) 2>&5
58711   ac_status=$?
58712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58713   (exit $ac_status); } &&
58714          { ac_try='test -s conftest.$ac_objext'
58715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58716   (eval $ac_try) 2>&5
58717   ac_status=$?
58718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58719   (exit $ac_status); }; }; then
58720   ac_header_compiler=yes
58721 else
58722   echo "$as_me: failed program was:" >&5
58723 sed 's/^/| /' conftest.$ac_ext >&5
58724
58725 ac_header_compiler=no
58726 fi
58727 rm -f conftest.$ac_objext conftest.$ac_ext
58728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58729 echo "${ECHO_T}$ac_header_compiler" >&6
58730
58731 # Is the header present?
58732 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
58733 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
58734 cat >conftest.$ac_ext <<_ACEOF
58735 #line $LINENO "configure"
58736 /* confdefs.h.  */
58737 _ACEOF
58738 cat confdefs.h >>conftest.$ac_ext
58739 cat >>conftest.$ac_ext <<_ACEOF
58740 /* end confdefs.h.  */
58741 #include <langinfo.h>
58742 _ACEOF
58743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58744   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58745   ac_status=$?
58746   grep -v '^ *+' conftest.er1 >conftest.err
58747   rm -f conftest.er1
58748   cat conftest.err >&5
58749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58750   (exit $ac_status); } >/dev/null; then
58751   if test -s conftest.err; then
58752     ac_cpp_err=$ac_c_preproc_warn_flag
58753   else
58754     ac_cpp_err=
58755   fi
58756 else
58757   ac_cpp_err=yes
58758 fi
58759 if test -z "$ac_cpp_err"; then
58760   ac_header_preproc=yes
58761 else
58762   echo "$as_me: failed program was:" >&5
58763 sed 's/^/| /' conftest.$ac_ext >&5
58764
58765   ac_header_preproc=no
58766 fi
58767 rm -f conftest.err conftest.$ac_ext
58768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58769 echo "${ECHO_T}$ac_header_preproc" >&6
58770
58771 # So?  What about this header?
58772 case $ac_header_compiler:$ac_header_preproc in
58773   yes:no )
58774     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
58775 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58776     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58777 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58778     (
58779       cat <<\_ASBOX
58780 ## ------------------------------------ ##
58781 ## Report this to bug-autoconf@gnu.org. ##
58782 ## ------------------------------------ ##
58783 _ASBOX
58784     ) |
58785       sed "s/^/$as_me: WARNING:     /" >&2
58786     ;;
58787   no:yes )
58788     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
58789 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
58790     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
58791 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
58792     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58793 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58794     (
58795       cat <<\_ASBOX
58796 ## ------------------------------------ ##
58797 ## Report this to bug-autoconf@gnu.org. ##
58798 ## ------------------------------------ ##
58799 _ASBOX
58800     ) |
58801       sed "s/^/$as_me: WARNING:     /" >&2
58802     ;;
58803 esac
58804 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58805 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58806 if test "${ac_cv_header_langinfo_h+set}" = set; then
58807   echo $ECHO_N "(cached) $ECHO_C" >&6
58808 else
58809   ac_cv_header_langinfo_h=$ac_header_preproc
58810 fi
58811 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58812 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58813
58814 fi
58815 if test $ac_cv_header_langinfo_h = yes; then
58816   ac_has_langinfo_h=yes
58817 else
58818   ac_has_langinfo_h=no
58819 fi
58820
58821
58822
58823     # Check for existence of libiconv.a providing XPG2 wchar_t support.
58824     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
58825 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
58826 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
58827   echo $ECHO_N "(cached) $ECHO_C" >&6
58828 else
58829   ac_check_lib_save_LIBS=$LIBS
58830 LIBS="-liconv  $LIBS"
58831 if test x$gcc_no_link = xyes; then
58832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58834    { (exit 1); exit 1; }; }
58835 fi
58836 cat >conftest.$ac_ext <<_ACEOF
58837 #line $LINENO "configure"
58838 /* confdefs.h.  */
58839 _ACEOF
58840 cat confdefs.h >>conftest.$ac_ext
58841 cat >>conftest.$ac_ext <<_ACEOF
58842 /* end confdefs.h.  */
58843
58844 /* Override any gcc2 internal prototype to avoid an error.  */
58845 #ifdef __cplusplus
58846 extern "C"
58847 #endif
58848 /* We use char because int might match the return type of a gcc2
58849    builtin and then its argument prototype would still apply.  */
58850 char iconv ();
58851 int
58852 main ()
58853 {
58854 iconv ();
58855   ;
58856   return 0;
58857 }
58858 _ACEOF
58859 rm -f conftest.$ac_objext conftest$ac_exeext
58860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58861   (eval $ac_link) 2>&5
58862   ac_status=$?
58863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864   (exit $ac_status); } &&
58865          { ac_try='test -s conftest$ac_exeext'
58866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58867   (eval $ac_try) 2>&5
58868   ac_status=$?
58869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58870   (exit $ac_status); }; }; then
58871   ac_cv_lib_iconv_iconv=yes
58872 else
58873   echo "$as_me: failed program was:" >&5
58874 sed 's/^/| /' conftest.$ac_ext >&5
58875
58876 ac_cv_lib_iconv_iconv=no
58877 fi
58878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58879 LIBS=$ac_check_lib_save_LIBS
58880 fi
58881 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
58882 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
58883 if test $ac_cv_lib_iconv_iconv = yes; then
58884   libiconv="-liconv"
58885 fi
58886
58887     ac_save_LIBS="$LIBS"
58888     LIBS="$LIBS $libiconv"
58889
58890
58891
58892
58893
58894 for ac_func in iconv_open iconv_close iconv nl_langinfo
58895 do
58896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58897 echo "$as_me:$LINENO: checking for $ac_func" >&5
58898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58899 if eval "test \"\${$as_ac_var+set}\" = set"; then
58900   echo $ECHO_N "(cached) $ECHO_C" >&6
58901 else
58902   if test x$gcc_no_link = xyes; then
58903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58905    { (exit 1); exit 1; }; }
58906 fi
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 /* System header to define __stub macros and hopefully few prototypes,
58915     which can conflict with char $ac_func (); below.
58916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58917     <limits.h> exists even on freestanding compilers.  */
58918 #ifdef __STDC__
58919 # include <limits.h>
58920 #else
58921 # include <assert.h>
58922 #endif
58923 /* Override any gcc2 internal prototype to avoid an error.  */
58924 #ifdef __cplusplus
58925 extern "C"
58926 {
58927 #endif
58928 /* We use char because int might match the return type of a gcc2
58929    builtin and then its argument prototype would still apply.  */
58930 char $ac_func ();
58931 /* The GNU C library defines this for functions which it implements
58932     to always fail with ENOSYS.  Some functions are actually named
58933     something starting with __ and the normal name is an alias.  */
58934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58935 choke me
58936 #else
58937 char (*f) () = $ac_func;
58938 #endif
58939 #ifdef __cplusplus
58940 }
58941 #endif
58942
58943 int
58944 main ()
58945 {
58946 return f != $ac_func;
58947   ;
58948   return 0;
58949 }
58950 _ACEOF
58951 rm -f conftest.$ac_objext conftest$ac_exeext
58952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58953   (eval $ac_link) 2>&5
58954   ac_status=$?
58955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956   (exit $ac_status); } &&
58957          { ac_try='test -s conftest$ac_exeext'
58958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959   (eval $ac_try) 2>&5
58960   ac_status=$?
58961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962   (exit $ac_status); }; }; then
58963   eval "$as_ac_var=yes"
58964 else
58965   echo "$as_me: failed program was:" >&5
58966 sed 's/^/| /' conftest.$ac_ext >&5
58967
58968 eval "$as_ac_var=no"
58969 fi
58970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58971 fi
58972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58974 if test `eval echo '${'$as_ac_var'}'` = yes; then
58975   cat >>confdefs.h <<_ACEOF
58976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58977 _ACEOF
58978  ac_XPG2funcs=yes
58979 else
58980   ac_XPG2funcs=no
58981 fi
58982 done
58983
58984
58985     LIBS="$ac_save_LIBS"
58986
58987     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
58988 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
58989     if test x"$ac_has_iconv_h" = xyes &&
58990        test x"$ac_has_langinfo_h" = xyes &&
58991        test x"$ac_XPG2funcs" = xyes;
58992     then
58993       ac_XPG2_wchar_t=yes
58994     else
58995       ac_XPG2_wchar_t=no
58996     fi
58997     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
58998 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
58999
59000     # At the moment, only enable wchar_t specializations if all the
59001     # above support is present.
59002     if test x"$ac_isoC99_wchar_t" = xyes &&
59003        test x"$ac_XPG2_wchar_t" = xyes;
59004     then
59005       cat >>confdefs.h <<\_ACEOF
59006 #define _GLIBCXX_USE_WCHAR_T 1
59007 _ACEOF
59008
59009       enable_wchar_t=yes
59010     fi
59011   fi
59012   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
59013 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
59014   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
59015 echo "${ECHO_T}$enable_wchar_t" >&6
59016
59017     cat >>confdefs.h <<\_ACEOF
59018 #define HAVE_COSF 1
59019 _ACEOF
59020
59021     cat >>confdefs.h <<\_ACEOF
59022 #define HAVE_COSL 1
59023 _ACEOF
59024
59025     cat >>confdefs.h <<\_ACEOF
59026 #define HAVE_COSHF 1
59027 _ACEOF
59028
59029     cat >>confdefs.h <<\_ACEOF
59030 #define HAVE_COSHL 1
59031 _ACEOF
59032
59033     cat >>confdefs.h <<\_ACEOF
59034 #define HAVE_LOGF 1
59035 _ACEOF
59036
59037     cat >>confdefs.h <<\_ACEOF
59038 #define HAVE_LOGL 1
59039 _ACEOF
59040
59041     cat >>confdefs.h <<\_ACEOF
59042 #define HAVE_LOG10F 1
59043 _ACEOF
59044
59045     cat >>confdefs.h <<\_ACEOF
59046 #define HAVE_LOG10L 1
59047 _ACEOF
59048
59049     cat >>confdefs.h <<\_ACEOF
59050 #define HAVE_SINF 1
59051 _ACEOF
59052
59053     cat >>confdefs.h <<\_ACEOF
59054 #define HAVE_SINL 1
59055 _ACEOF
59056
59057     cat >>confdefs.h <<\_ACEOF
59058 #define HAVE_SINHF 1
59059 _ACEOF
59060
59061     cat >>confdefs.h <<\_ACEOF
59062 #define HAVE_SINHL 1
59063 _ACEOF
59064
59065     ;;
59066   *-solaris*)
59067     case "$target" in
59068     #  *-solaris2.5)
59069     #    os_include_dir="os/solaris/solaris2.5"
59070     #    ;;
59071     #  *-solaris2.6)
59072     #    os_include_dir="os/solaris/solaris2.6"
59073     #    ;;
59074       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
59075          cat >>confdefs.h <<\_ACEOF
59076 #define HAVE_GETPAGESIZE 1
59077 _ACEOF
59078
59079          cat >>confdefs.h <<\_ACEOF
59080 #define HAVE_SIGSETJMP 1
59081 _ACEOF
59082
59083          cat >>confdefs.h <<\_ACEOF
59084 #define HAVE_MBSTATE_T 1
59085 _ACEOF
59086
59087          cat >>confdefs.h <<\_ACEOF
59088 #define HAVE_POLL 1
59089 _ACEOF
59090
59091          cat >>confdefs.h <<\_ACEOF
59092 #define HAVE_S_ISREG 1
59093 _ACEOF
59094
59095          cat >>confdefs.h <<\_ACEOF
59096 #define HAVE_LC_MESSAGES 1
59097 _ACEOF
59098
59099          cat >>confdefs.h <<\_ACEOF
59100 #define HAVE_BTOWC 1
59101 _ACEOF
59102
59103          cat >>confdefs.h <<\_ACEOF
59104 #define HAVE_DRAND48 1
59105 _ACEOF
59106
59107          cat >>confdefs.h <<\_ACEOF
59108 #define HAVE_FGETWC 1
59109 _ACEOF
59110
59111          cat >>confdefs.h <<\_ACEOF
59112 #define HAVE_FGETWS 1
59113 _ACEOF
59114
59115          cat >>confdefs.h <<\_ACEOF
59116 #define HAVE_FINITE 1
59117 _ACEOF
59118
59119          cat >>confdefs.h <<\_ACEOF
59120 #define HAVE_FPCLASS 1
59121 _ACEOF
59122
59123          cat >>confdefs.h <<\_ACEOF
59124 #define HAVE_FPUTWC 1
59125 _ACEOF
59126
59127          cat >>confdefs.h <<\_ACEOF
59128 #define HAVE_FPUTWS 1
59129 _ACEOF
59130
59131          cat >>confdefs.h <<\_ACEOF
59132 #define HAVE_FWIDE 1
59133 _ACEOF
59134
59135          cat >>confdefs.h <<\_ACEOF
59136 #define HAVE_FWPRINTF 1
59137 _ACEOF
59138
59139          cat >>confdefs.h <<\_ACEOF
59140 #define HAVE_FWSCANF 1
59141 _ACEOF
59142
59143          cat >>confdefs.h <<\_ACEOF
59144 #define HAVE_GETPAGESIZE 1
59145 _ACEOF
59146
59147          cat >>confdefs.h <<\_ACEOF
59148 #define HAVE_GETWC 1
59149 _ACEOF
59150
59151          cat >>confdefs.h <<\_ACEOF
59152 #define HAVE_GETWCHAR 1
59153 _ACEOF
59154
59155          cat >>confdefs.h <<\_ACEOF
59156 #define HAVE_MBRLEN 1
59157 _ACEOF
59158
59159          cat >>confdefs.h <<\_ACEOF
59160 #define HAVE_MBRTOWC 1
59161 _ACEOF
59162
59163          cat >>confdefs.h <<\_ACEOF
59164 #define HAVE_MBSINIT 1
59165 _ACEOF
59166
59167          cat >>confdefs.h <<\_ACEOF
59168 #define HAVE_MBSRTOWCS 1
59169 _ACEOF
59170
59171          cat >>confdefs.h <<\_ACEOF
59172 #define HAVE_NL_LANGINFO 1
59173 _ACEOF
59174
59175          cat >>confdefs.h <<\_ACEOF
59176 #define HAVE_PUTWC 1
59177 _ACEOF
59178
59179          cat >>confdefs.h <<\_ACEOF
59180 #define HAVE_PUTWCHAR 1
59181 _ACEOF
59182
59183          cat >>confdefs.h <<\_ACEOF
59184 #define HAVE_SWPRINTF 1
59185 _ACEOF
59186
59187          cat >>confdefs.h <<\_ACEOF
59188 #define HAVE_SWSCANF 1
59189 _ACEOF
59190
59191          cat >>confdefs.h <<\_ACEOF
59192 #define HAVE_UNGETWC 1
59193 _ACEOF
59194
59195          cat >>confdefs.h <<\_ACEOF
59196 #define HAVE_VFWPRINTF 1
59197 _ACEOF
59198
59199          cat >>confdefs.h <<\_ACEOF
59200 #define HAVE_VSWPRINTF 1
59201 _ACEOF
59202
59203          cat >>confdefs.h <<\_ACEOF
59204 #define HAVE_VWPRINTF 1
59205 _ACEOF
59206
59207          cat >>confdefs.h <<\_ACEOF
59208 #define HAVE_WCRTOMB 1
59209 _ACEOF
59210
59211          cat >>confdefs.h <<\_ACEOF
59212 #define HAVE_WCSCAT 1
59213 _ACEOF
59214
59215          cat >>confdefs.h <<\_ACEOF
59216 #define HAVE_WCSCHR 1
59217 _ACEOF
59218
59219          cat >>confdefs.h <<\_ACEOF
59220 #define HAVE_WCSCMP 1
59221 _ACEOF
59222
59223          cat >>confdefs.h <<\_ACEOF
59224 #define HAVE_WCSCOLL 1
59225 _ACEOF
59226
59227          cat >>confdefs.h <<\_ACEOF
59228 #define HAVE_WCSCPY 1
59229 _ACEOF
59230
59231          cat >>confdefs.h <<\_ACEOF
59232 #define HAVE_WCSCSPN 1
59233 _ACEOF
59234
59235          cat >>confdefs.h <<\_ACEOF
59236 #define HAVE_WCSFTIME 1
59237 _ACEOF
59238
59239          cat >>confdefs.h <<\_ACEOF
59240 #define HAVE_WCSLEN 1
59241 _ACEOF
59242
59243          cat >>confdefs.h <<\_ACEOF
59244 #define HAVE_WCSNCAT 1
59245 _ACEOF
59246
59247          cat >>confdefs.h <<\_ACEOF
59248 #define HAVE_WCSNCMP 1
59249 _ACEOF
59250
59251          cat >>confdefs.h <<\_ACEOF
59252 #define HAVE_WCSNCPY 1
59253 _ACEOF
59254
59255          cat >>confdefs.h <<\_ACEOF
59256 #define HAVE_WCSPBRK 1
59257 _ACEOF
59258
59259          cat >>confdefs.h <<\_ACEOF
59260 #define HAVE_WCSRCHR 1
59261 _ACEOF
59262
59263          cat >>confdefs.h <<\_ACEOF
59264 #define HAVE_WCSRTOMBS 1
59265 _ACEOF
59266
59267          cat >>confdefs.h <<\_ACEOF
59268 #define HAVE_WCSSPN 1
59269 _ACEOF
59270
59271          cat >>confdefs.h <<\_ACEOF
59272 #define HAVE_WCSSTR 1
59273 _ACEOF
59274
59275          cat >>confdefs.h <<\_ACEOF
59276 #define HAVE_WCSTOD 1
59277 _ACEOF
59278
59279          cat >>confdefs.h <<\_ACEOF
59280 #define HAVE_WCSTOK 1
59281 _ACEOF
59282
59283          cat >>confdefs.h <<\_ACEOF
59284 #define HAVE_WCSTOL 1
59285 _ACEOF
59286
59287          cat >>confdefs.h <<\_ACEOF
59288 #define HAVE_WCSTOUL 1
59289 _ACEOF
59290
59291          cat >>confdefs.h <<\_ACEOF
59292 #define HAVE_WCSXFRM 1
59293 _ACEOF
59294
59295          cat >>confdefs.h <<\_ACEOF
59296 #define HAVE_WCTOB 1
59297 _ACEOF
59298
59299          cat >>confdefs.h <<\_ACEOF
59300 #define HAVE_WMEMCHR 1
59301 _ACEOF
59302
59303          cat >>confdefs.h <<\_ACEOF
59304 #define HAVE_WMEMCMP 1
59305 _ACEOF
59306
59307          cat >>confdefs.h <<\_ACEOF
59308 #define HAVE_WMEMCPY 1
59309 _ACEOF
59310
59311          cat >>confdefs.h <<\_ACEOF
59312 #define HAVE_WMEMMOVE 1
59313 _ACEOF
59314
59315          cat >>confdefs.h <<\_ACEOF
59316 #define HAVE_WMEMSET 1
59317 _ACEOF
59318
59319          cat >>confdefs.h <<\_ACEOF
59320 #define HAVE_WPRINTF 1
59321 _ACEOF
59322
59323          cat >>confdefs.h <<\_ACEOF
59324 #define HAVE_WSCANF 1
59325 _ACEOF
59326
59327          cat >>confdefs.h <<\_ACEOF
59328 #define HAVE_ICONV 1
59329 _ACEOF
59330
59331          cat >>confdefs.h <<\_ACEOF
59332 #define HAVE_ICONV_CLOSE 1
59333 _ACEOF
59334
59335          cat >>confdefs.h <<\_ACEOF
59336 #define HAVE_ICONV_OPEN 1
59337 _ACEOF
59338
59339          # Look for the pieces required for wchar_t support in order to
59340          # get all the right HAVE_* macros defined.
59341
59342   # Test wchar.h for mbstate_t, which is needed for char_traits and
59343   # others even if wchar_t support is not on.
59344   echo "$as_me:$LINENO: checking for mbstate_t" >&5
59345 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59346   cat >conftest.$ac_ext <<_ACEOF
59347 #line $LINENO "configure"
59348 /* confdefs.h.  */
59349 _ACEOF
59350 cat confdefs.h >>conftest.$ac_ext
59351 cat >>conftest.$ac_ext <<_ACEOF
59352 /* end confdefs.h.  */
59353 #include <wchar.h>
59354 int
59355 main ()
59356 {
59357 mbstate_t teststate;
59358   ;
59359   return 0;
59360 }
59361 _ACEOF
59362 rm -f conftest.$ac_objext
59363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59364   (eval $ac_compile) 2>&5
59365   ac_status=$?
59366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59367   (exit $ac_status); } &&
59368          { ac_try='test -s conftest.$ac_objext'
59369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59370   (eval $ac_try) 2>&5
59371   ac_status=$?
59372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59373   (exit $ac_status); }; }; then
59374   have_mbstate_t=yes
59375 else
59376   echo "$as_me: failed program was:" >&5
59377 sed 's/^/| /' conftest.$ac_ext >&5
59378
59379 have_mbstate_t=no
59380 fi
59381 rm -f conftest.$ac_objext conftest.$ac_ext
59382   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59383 echo "${ECHO_T}$have_mbstate_t" >&6
59384   if test x"$have_mbstate_t" = xyes; then
59385     cat >>confdefs.h <<\_ACEOF
59386 #define HAVE_MBSTATE_T 1
59387 _ACEOF
59388
59389   fi
59390
59391   # Sanity check for existence of ISO C99 headers for extended encoding.
59392
59393 for ac_header in wchar.h
59394 do
59395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59397   echo "$as_me:$LINENO: checking for $ac_header" >&5
59398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59400   echo $ECHO_N "(cached) $ECHO_C" >&6
59401 fi
59402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59404 else
59405   # Is the header compilable?
59406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59408 cat >conftest.$ac_ext <<_ACEOF
59409 #line $LINENO "configure"
59410 /* confdefs.h.  */
59411 _ACEOF
59412 cat confdefs.h >>conftest.$ac_ext
59413 cat >>conftest.$ac_ext <<_ACEOF
59414 /* end confdefs.h.  */
59415 $ac_includes_default
59416 #include <$ac_header>
59417 _ACEOF
59418 rm -f conftest.$ac_objext
59419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59420   (eval $ac_compile) 2>&5
59421   ac_status=$?
59422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59423   (exit $ac_status); } &&
59424          { ac_try='test -s conftest.$ac_objext'
59425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59426   (eval $ac_try) 2>&5
59427   ac_status=$?
59428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429   (exit $ac_status); }; }; then
59430   ac_header_compiler=yes
59431 else
59432   echo "$as_me: failed program was:" >&5
59433 sed 's/^/| /' conftest.$ac_ext >&5
59434
59435 ac_header_compiler=no
59436 fi
59437 rm -f conftest.$ac_objext conftest.$ac_ext
59438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59439 echo "${ECHO_T}$ac_header_compiler" >&6
59440
59441 # Is the header present?
59442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59444 cat >conftest.$ac_ext <<_ACEOF
59445 #line $LINENO "configure"
59446 /* confdefs.h.  */
59447 _ACEOF
59448 cat confdefs.h >>conftest.$ac_ext
59449 cat >>conftest.$ac_ext <<_ACEOF
59450 /* end confdefs.h.  */
59451 #include <$ac_header>
59452 _ACEOF
59453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59454   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59455   ac_status=$?
59456   grep -v '^ *+' conftest.er1 >conftest.err
59457   rm -f conftest.er1
59458   cat conftest.err >&5
59459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59460   (exit $ac_status); } >/dev/null; then
59461   if test -s conftest.err; then
59462     ac_cpp_err=$ac_c_preproc_warn_flag
59463   else
59464     ac_cpp_err=
59465   fi
59466 else
59467   ac_cpp_err=yes
59468 fi
59469 if test -z "$ac_cpp_err"; then
59470   ac_header_preproc=yes
59471 else
59472   echo "$as_me: failed program was:" >&5
59473 sed 's/^/| /' conftest.$ac_ext >&5
59474
59475   ac_header_preproc=no
59476 fi
59477 rm -f conftest.err conftest.$ac_ext
59478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59479 echo "${ECHO_T}$ac_header_preproc" >&6
59480
59481 # So?  What about this header?
59482 case $ac_header_compiler:$ac_header_preproc in
59483   yes:no )
59484     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59486     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59487 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59488     (
59489       cat <<\_ASBOX
59490 ## ------------------------------------ ##
59491 ## Report this to bug-autoconf@gnu.org. ##
59492 ## ------------------------------------ ##
59493 _ASBOX
59494     ) |
59495       sed "s/^/$as_me: WARNING:     /" >&2
59496     ;;
59497   no:yes )
59498     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59500     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59502     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59504     (
59505       cat <<\_ASBOX
59506 ## ------------------------------------ ##
59507 ## Report this to bug-autoconf@gnu.org. ##
59508 ## ------------------------------------ ##
59509 _ASBOX
59510     ) |
59511       sed "s/^/$as_me: WARNING:     /" >&2
59512     ;;
59513 esac
59514 echo "$as_me:$LINENO: checking for $ac_header" >&5
59515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59517   echo $ECHO_N "(cached) $ECHO_C" >&6
59518 else
59519   eval "$as_ac_Header=$ac_header_preproc"
59520 fi
59521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59523
59524 fi
59525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59526   cat >>confdefs.h <<_ACEOF
59527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59528 _ACEOF
59529  ac_has_wchar_h=yes
59530 else
59531   ac_has_wchar_h=no
59532 fi
59533
59534 done
59535
59536
59537 for ac_header in wctype.h
59538 do
59539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59541   echo "$as_me:$LINENO: checking for $ac_header" >&5
59542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59544   echo $ECHO_N "(cached) $ECHO_C" >&6
59545 fi
59546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59548 else
59549   # Is the header compilable?
59550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59552 cat >conftest.$ac_ext <<_ACEOF
59553 #line $LINENO "configure"
59554 /* confdefs.h.  */
59555 _ACEOF
59556 cat confdefs.h >>conftest.$ac_ext
59557 cat >>conftest.$ac_ext <<_ACEOF
59558 /* end confdefs.h.  */
59559 $ac_includes_default
59560 #include <$ac_header>
59561 _ACEOF
59562 rm -f conftest.$ac_objext
59563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59564   (eval $ac_compile) 2>&5
59565   ac_status=$?
59566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567   (exit $ac_status); } &&
59568          { ac_try='test -s conftest.$ac_objext'
59569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59570   (eval $ac_try) 2>&5
59571   ac_status=$?
59572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573   (exit $ac_status); }; }; then
59574   ac_header_compiler=yes
59575 else
59576   echo "$as_me: failed program was:" >&5
59577 sed 's/^/| /' conftest.$ac_ext >&5
59578
59579 ac_header_compiler=no
59580 fi
59581 rm -f conftest.$ac_objext conftest.$ac_ext
59582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59583 echo "${ECHO_T}$ac_header_compiler" >&6
59584
59585 # Is the header present?
59586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59588 cat >conftest.$ac_ext <<_ACEOF
59589 #line $LINENO "configure"
59590 /* confdefs.h.  */
59591 _ACEOF
59592 cat confdefs.h >>conftest.$ac_ext
59593 cat >>conftest.$ac_ext <<_ACEOF
59594 /* end confdefs.h.  */
59595 #include <$ac_header>
59596 _ACEOF
59597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59598   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59599   ac_status=$?
59600   grep -v '^ *+' conftest.er1 >conftest.err
59601   rm -f conftest.er1
59602   cat conftest.err >&5
59603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59604   (exit $ac_status); } >/dev/null; then
59605   if test -s conftest.err; then
59606     ac_cpp_err=$ac_c_preproc_warn_flag
59607   else
59608     ac_cpp_err=
59609   fi
59610 else
59611   ac_cpp_err=yes
59612 fi
59613 if test -z "$ac_cpp_err"; then
59614   ac_header_preproc=yes
59615 else
59616   echo "$as_me: failed program was:" >&5
59617 sed 's/^/| /' conftest.$ac_ext >&5
59618
59619   ac_header_preproc=no
59620 fi
59621 rm -f conftest.err conftest.$ac_ext
59622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59623 echo "${ECHO_T}$ac_header_preproc" >&6
59624
59625 # So?  What about this header?
59626 case $ac_header_compiler:$ac_header_preproc in
59627   yes:no )
59628     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59630     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59632     (
59633       cat <<\_ASBOX
59634 ## ------------------------------------ ##
59635 ## Report this to bug-autoconf@gnu.org. ##
59636 ## ------------------------------------ ##
59637 _ASBOX
59638     ) |
59639       sed "s/^/$as_me: WARNING:     /" >&2
59640     ;;
59641   no:yes )
59642     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59644     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59646     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59648     (
59649       cat <<\_ASBOX
59650 ## ------------------------------------ ##
59651 ## Report this to bug-autoconf@gnu.org. ##
59652 ## ------------------------------------ ##
59653 _ASBOX
59654     ) |
59655       sed "s/^/$as_me: WARNING:     /" >&2
59656     ;;
59657 esac
59658 echo "$as_me:$LINENO: checking for $ac_header" >&5
59659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59661   echo $ECHO_N "(cached) $ECHO_C" >&6
59662 else
59663   eval "$as_ac_Header=$ac_header_preproc"
59664 fi
59665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59667
59668 fi
59669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59670   cat >>confdefs.h <<_ACEOF
59671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59672 _ACEOF
59673  ac_has_wctype_h=yes
59674 else
59675   ac_has_wctype_h=no
59676 fi
59677
59678 done
59679
59680
59681   # Only continue checking if the ISO C99 headers exist and support is on.
59682   if test x"$ac_has_wchar_h" = xyes &&
59683      test x"$ac_has_wctype_h" = xyes &&
59684      test x"$enable_c_mbchar" != xno; then
59685
59686     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59687     # numeric_limits can instantiate type_traits<wchar_t>
59688     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59689 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59690     cat >conftest.$ac_ext <<_ACEOF
59691 #line $LINENO "configure"
59692 /* confdefs.h.  */
59693 _ACEOF
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h.  */
59697 #include <wchar.h>
59698 int
59699 main ()
59700 {
59701 int i = WCHAR_MIN; int j = WCHAR_MAX;
59702   ;
59703   return 0;
59704 }
59705 _ACEOF
59706 rm -f conftest.$ac_objext
59707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59708   (eval $ac_compile) 2>&5
59709   ac_status=$?
59710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59711   (exit $ac_status); } &&
59712          { ac_try='test -s conftest.$ac_objext'
59713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59714   (eval $ac_try) 2>&5
59715   ac_status=$?
59716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59717   (exit $ac_status); }; }; then
59718   has_wchar_minmax=yes
59719 else
59720   echo "$as_me: failed program was:" >&5
59721 sed 's/^/| /' conftest.$ac_ext >&5
59722
59723 has_wchar_minmax=no
59724 fi
59725 rm -f conftest.$ac_objext conftest.$ac_ext
59726     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59727 echo "${ECHO_T}$has_wchar_minmax" >&6
59728
59729     # Test wchar.h for WEOF, which is what we use to determine whether
59730     # to specialize for char_traits<wchar_t> or not.
59731     echo "$as_me:$LINENO: checking for WEOF" >&5
59732 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59733     cat >conftest.$ac_ext <<_ACEOF
59734 #line $LINENO "configure"
59735 /* confdefs.h.  */
59736 _ACEOF
59737 cat confdefs.h >>conftest.$ac_ext
59738 cat >>conftest.$ac_ext <<_ACEOF
59739 /* end confdefs.h.  */
59740
59741       #include <wchar.h>
59742       #include <stddef.h>
59743 int
59744 main ()
59745 {
59746 wint_t i = WEOF;
59747   ;
59748   return 0;
59749 }
59750 _ACEOF
59751 rm -f conftest.$ac_objext
59752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59753   (eval $ac_compile) 2>&5
59754   ac_status=$?
59755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59756   (exit $ac_status); } &&
59757          { ac_try='test -s conftest.$ac_objext'
59758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59759   (eval $ac_try) 2>&5
59760   ac_status=$?
59761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59762   (exit $ac_status); }; }; then
59763   has_weof=yes
59764 else
59765   echo "$as_me: failed program was:" >&5
59766 sed 's/^/| /' conftest.$ac_ext >&5
59767
59768 has_weof=no
59769 fi
59770 rm -f conftest.$ac_objext conftest.$ac_ext
59771     echo "$as_me:$LINENO: result: $has_weof" >&5
59772 echo "${ECHO_T}$has_weof" >&6
59773
59774     # Tests for wide character functions used in char_traits<wchar_t>.
59775     ac_wfuncs=yes
59776
59777
59778
59779
59780
59781
59782 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59783 do
59784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59785 echo "$as_me:$LINENO: checking for $ac_func" >&5
59786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59787 if eval "test \"\${$as_ac_var+set}\" = set"; then
59788   echo $ECHO_N "(cached) $ECHO_C" >&6
59789 else
59790   if test x$gcc_no_link = xyes; then
59791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59793    { (exit 1); exit 1; }; }
59794 fi
59795 cat >conftest.$ac_ext <<_ACEOF
59796 #line $LINENO "configure"
59797 /* confdefs.h.  */
59798 _ACEOF
59799 cat confdefs.h >>conftest.$ac_ext
59800 cat >>conftest.$ac_ext <<_ACEOF
59801 /* end confdefs.h.  */
59802 /* System header to define __stub macros and hopefully few prototypes,
59803     which can conflict with char $ac_func (); below.
59804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59805     <limits.h> exists even on freestanding compilers.  */
59806 #ifdef __STDC__
59807 # include <limits.h>
59808 #else
59809 # include <assert.h>
59810 #endif
59811 /* Override any gcc2 internal prototype to avoid an error.  */
59812 #ifdef __cplusplus
59813 extern "C"
59814 {
59815 #endif
59816 /* We use char because int might match the return type of a gcc2
59817    builtin and then its argument prototype would still apply.  */
59818 char $ac_func ();
59819 /* The GNU C library defines this for functions which it implements
59820     to always fail with ENOSYS.  Some functions are actually named
59821     something starting with __ and the normal name is an alias.  */
59822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59823 choke me
59824 #else
59825 char (*f) () = $ac_func;
59826 #endif
59827 #ifdef __cplusplus
59828 }
59829 #endif
59830
59831 int
59832 main ()
59833 {
59834 return f != $ac_func;
59835   ;
59836   return 0;
59837 }
59838 _ACEOF
59839 rm -f conftest.$ac_objext conftest$ac_exeext
59840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59841   (eval $ac_link) 2>&5
59842   ac_status=$?
59843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844   (exit $ac_status); } &&
59845          { ac_try='test -s conftest$ac_exeext'
59846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59847   (eval $ac_try) 2>&5
59848   ac_status=$?
59849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59850   (exit $ac_status); }; }; then
59851   eval "$as_ac_var=yes"
59852 else
59853   echo "$as_me: failed program was:" >&5
59854 sed 's/^/| /' conftest.$ac_ext >&5
59855
59856 eval "$as_ac_var=no"
59857 fi
59858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59859 fi
59860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59862 if test `eval echo '${'$as_ac_var'}'` = yes; then
59863   cat >>confdefs.h <<_ACEOF
59864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59865 _ACEOF
59866
59867 else
59868   ac_wfuncs=no
59869 fi
59870 done
59871
59872
59873     # Checks for names injected into std:: by the c_std headers.
59874
59875
59876
59877
59878
59879
59880
59881
59882
59883
59884
59885
59886
59887
59888
59889
59890
59891
59892
59893
59894
59895
59896
59897
59898
59899
59900
59901
59902
59903
59904
59905
59906
59907
59908
59909
59910
59911
59912
59913
59914
59915
59916
59917
59918
59919
59920 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59921     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59922     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59923     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59924     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59925     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59926 do
59927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59928 echo "$as_me:$LINENO: checking for $ac_func" >&5
59929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59930 if eval "test \"\${$as_ac_var+set}\" = set"; then
59931   echo $ECHO_N "(cached) $ECHO_C" >&6
59932 else
59933   if test x$gcc_no_link = xyes; then
59934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59936    { (exit 1); exit 1; }; }
59937 fi
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 /* System header to define __stub macros and hopefully few prototypes,
59946     which can conflict with char $ac_func (); below.
59947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59948     <limits.h> exists even on freestanding compilers.  */
59949 #ifdef __STDC__
59950 # include <limits.h>
59951 #else
59952 # include <assert.h>
59953 #endif
59954 /* Override any gcc2 internal prototype to avoid an error.  */
59955 #ifdef __cplusplus
59956 extern "C"
59957 {
59958 #endif
59959 /* We use char because int might match the return type of a gcc2
59960    builtin and then its argument prototype would still apply.  */
59961 char $ac_func ();
59962 /* The GNU C library defines this for functions which it implements
59963     to always fail with ENOSYS.  Some functions are actually named
59964     something starting with __ and the normal name is an alias.  */
59965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59966 choke me
59967 #else
59968 char (*f) () = $ac_func;
59969 #endif
59970 #ifdef __cplusplus
59971 }
59972 #endif
59973
59974 int
59975 main ()
59976 {
59977 return f != $ac_func;
59978   ;
59979   return 0;
59980 }
59981 _ACEOF
59982 rm -f conftest.$ac_objext conftest$ac_exeext
59983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59984   (eval $ac_link) 2>&5
59985   ac_status=$?
59986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987   (exit $ac_status); } &&
59988          { ac_try='test -s conftest$ac_exeext'
59989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59990   (eval $ac_try) 2>&5
59991   ac_status=$?
59992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59993   (exit $ac_status); }; }; then
59994   eval "$as_ac_var=yes"
59995 else
59996   echo "$as_me: failed program was:" >&5
59997 sed 's/^/| /' conftest.$ac_ext >&5
59998
59999 eval "$as_ac_var=no"
60000 fi
60001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60002 fi
60003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60005 if test `eval echo '${'$as_ac_var'}'` = yes; then
60006   cat >>confdefs.h <<_ACEOF
60007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60008 _ACEOF
60009
60010 else
60011   ac_wfuncs=no
60012 fi
60013 done
60014
60015
60016     # Checks for wide character functions that are not required
60017     # for basic wchar_t support.  Don't disable support if they are missing.
60018     # Injection of these is wrapped with guard macros.
60019
60020
60021
60022
60023
60024 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
60025 do
60026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60027 echo "$as_me:$LINENO: checking for $ac_func" >&5
60028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60029 if eval "test \"\${$as_ac_var+set}\" = set"; then
60030   echo $ECHO_N "(cached) $ECHO_C" >&6
60031 else
60032   if test x$gcc_no_link = xyes; then
60033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60035    { (exit 1); exit 1; }; }
60036 fi
60037 cat >conftest.$ac_ext <<_ACEOF
60038 #line $LINENO "configure"
60039 /* confdefs.h.  */
60040 _ACEOF
60041 cat confdefs.h >>conftest.$ac_ext
60042 cat >>conftest.$ac_ext <<_ACEOF
60043 /* end confdefs.h.  */
60044 /* System header to define __stub macros and hopefully few prototypes,
60045     which can conflict with char $ac_func (); below.
60046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60047     <limits.h> exists even on freestanding compilers.  */
60048 #ifdef __STDC__
60049 # include <limits.h>
60050 #else
60051 # include <assert.h>
60052 #endif
60053 /* Override any gcc2 internal prototype to avoid an error.  */
60054 #ifdef __cplusplus
60055 extern "C"
60056 {
60057 #endif
60058 /* We use char because int might match the return type of a gcc2
60059    builtin and then its argument prototype would still apply.  */
60060 char $ac_func ();
60061 /* The GNU C library defines this for functions which it implements
60062     to always fail with ENOSYS.  Some functions are actually named
60063     something starting with __ and the normal name is an alias.  */
60064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60065 choke me
60066 #else
60067 char (*f) () = $ac_func;
60068 #endif
60069 #ifdef __cplusplus
60070 }
60071 #endif
60072
60073 int
60074 main ()
60075 {
60076 return f != $ac_func;
60077   ;
60078   return 0;
60079 }
60080 _ACEOF
60081 rm -f conftest.$ac_objext conftest$ac_exeext
60082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60083   (eval $ac_link) 2>&5
60084   ac_status=$?
60085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60086   (exit $ac_status); } &&
60087          { ac_try='test -s conftest$ac_exeext'
60088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60089   (eval $ac_try) 2>&5
60090   ac_status=$?
60091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60092   (exit $ac_status); }; }; then
60093   eval "$as_ac_var=yes"
60094 else
60095   echo "$as_me: failed program was:" >&5
60096 sed 's/^/| /' conftest.$ac_ext >&5
60097
60098 eval "$as_ac_var=no"
60099 fi
60100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60101 fi
60102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60104 if test `eval echo '${'$as_ac_var'}'` = yes; then
60105   cat >>confdefs.h <<_ACEOF
60106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60107 _ACEOF
60108
60109 fi
60110 done
60111
60112
60113     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
60114 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
60115     if test x"$has_weof" = xyes &&
60116        test x"$has_wchar_minmax" = xyes &&
60117        test x"$ac_wfuncs" = xyes;
60118     then
60119       ac_isoC99_wchar_t=yes
60120     else
60121       ac_isoC99_wchar_t=no
60122     fi
60123     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
60124 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
60125
60126     # Use iconv for wchar_t to char conversions. As such, check for
60127     # X/Open Portability Guide, version 2 features (XPG2).
60128     if test "${ac_cv_header_iconv_h+set}" = set; then
60129   echo "$as_me:$LINENO: checking for iconv.h" >&5
60130 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60131 if test "${ac_cv_header_iconv_h+set}" = set; then
60132   echo $ECHO_N "(cached) $ECHO_C" >&6
60133 fi
60134 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60135 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60136 else
60137   # Is the header compilable?
60138 echo "$as_me:$LINENO: checking iconv.h usability" >&5
60139 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
60140 cat >conftest.$ac_ext <<_ACEOF
60141 #line $LINENO "configure"
60142 /* confdefs.h.  */
60143 _ACEOF
60144 cat confdefs.h >>conftest.$ac_ext
60145 cat >>conftest.$ac_ext <<_ACEOF
60146 /* end confdefs.h.  */
60147 $ac_includes_default
60148 #include <iconv.h>
60149 _ACEOF
60150 rm -f conftest.$ac_objext
60151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60152   (eval $ac_compile) 2>&5
60153   ac_status=$?
60154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60155   (exit $ac_status); } &&
60156          { ac_try='test -s conftest.$ac_objext'
60157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60158   (eval $ac_try) 2>&5
60159   ac_status=$?
60160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60161   (exit $ac_status); }; }; then
60162   ac_header_compiler=yes
60163 else
60164   echo "$as_me: failed program was:" >&5
60165 sed 's/^/| /' conftest.$ac_ext >&5
60166
60167 ac_header_compiler=no
60168 fi
60169 rm -f conftest.$ac_objext conftest.$ac_ext
60170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60171 echo "${ECHO_T}$ac_header_compiler" >&6
60172
60173 # Is the header present?
60174 echo "$as_me:$LINENO: checking iconv.h presence" >&5
60175 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
60176 cat >conftest.$ac_ext <<_ACEOF
60177 #line $LINENO "configure"
60178 /* confdefs.h.  */
60179 _ACEOF
60180 cat confdefs.h >>conftest.$ac_ext
60181 cat >>conftest.$ac_ext <<_ACEOF
60182 /* end confdefs.h.  */
60183 #include <iconv.h>
60184 _ACEOF
60185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60186   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60187   ac_status=$?
60188   grep -v '^ *+' conftest.er1 >conftest.err
60189   rm -f conftest.er1
60190   cat conftest.err >&5
60191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60192   (exit $ac_status); } >/dev/null; then
60193   if test -s conftest.err; then
60194     ac_cpp_err=$ac_c_preproc_warn_flag
60195   else
60196     ac_cpp_err=
60197   fi
60198 else
60199   ac_cpp_err=yes
60200 fi
60201 if test -z "$ac_cpp_err"; then
60202   ac_header_preproc=yes
60203 else
60204   echo "$as_me: failed program was:" >&5
60205 sed 's/^/| /' conftest.$ac_ext >&5
60206
60207   ac_header_preproc=no
60208 fi
60209 rm -f conftest.err conftest.$ac_ext
60210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60211 echo "${ECHO_T}$ac_header_preproc" >&6
60212
60213 # So?  What about this header?
60214 case $ac_header_compiler:$ac_header_preproc in
60215   yes:no )
60216     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
60217 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60218     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60219 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60220     (
60221       cat <<\_ASBOX
60222 ## ------------------------------------ ##
60223 ## Report this to bug-autoconf@gnu.org. ##
60224 ## ------------------------------------ ##
60225 _ASBOX
60226     ) |
60227       sed "s/^/$as_me: WARNING:     /" >&2
60228     ;;
60229   no:yes )
60230     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60231 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60232     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60233 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60234     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60235 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60236     (
60237       cat <<\_ASBOX
60238 ## ------------------------------------ ##
60239 ## Report this to bug-autoconf@gnu.org. ##
60240 ## ------------------------------------ ##
60241 _ASBOX
60242     ) |
60243       sed "s/^/$as_me: WARNING:     /" >&2
60244     ;;
60245 esac
60246 echo "$as_me:$LINENO: checking for iconv.h" >&5
60247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60248 if test "${ac_cv_header_iconv_h+set}" = set; then
60249   echo $ECHO_N "(cached) $ECHO_C" >&6
60250 else
60251   ac_cv_header_iconv_h=$ac_header_preproc
60252 fi
60253 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60254 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60255
60256 fi
60257 if test $ac_cv_header_iconv_h = yes; then
60258   ac_has_iconv_h=yes
60259 else
60260   ac_has_iconv_h=no
60261 fi
60262
60263
60264     if test "${ac_cv_header_langinfo_h+set}" = set; then
60265   echo "$as_me:$LINENO: checking for langinfo.h" >&5
60266 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60267 if test "${ac_cv_header_langinfo_h+set}" = set; then
60268   echo $ECHO_N "(cached) $ECHO_C" >&6
60269 fi
60270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60272 else
60273   # Is the header compilable?
60274 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60275 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60276 cat >conftest.$ac_ext <<_ACEOF
60277 #line $LINENO "configure"
60278 /* confdefs.h.  */
60279 _ACEOF
60280 cat confdefs.h >>conftest.$ac_ext
60281 cat >>conftest.$ac_ext <<_ACEOF
60282 /* end confdefs.h.  */
60283 $ac_includes_default
60284 #include <langinfo.h>
60285 _ACEOF
60286 rm -f conftest.$ac_objext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60288   (eval $ac_compile) 2>&5
60289   ac_status=$?
60290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60291   (exit $ac_status); } &&
60292          { ac_try='test -s conftest.$ac_objext'
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   ac_header_compiler=yes
60299 else
60300   echo "$as_me: failed program was:" >&5
60301 sed 's/^/| /' conftest.$ac_ext >&5
60302
60303 ac_header_compiler=no
60304 fi
60305 rm -f conftest.$ac_objext conftest.$ac_ext
60306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60307 echo "${ECHO_T}$ac_header_compiler" >&6
60308
60309 # Is the header present?
60310 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60311 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60312 cat >conftest.$ac_ext <<_ACEOF
60313 #line $LINENO "configure"
60314 /* confdefs.h.  */
60315 _ACEOF
60316 cat confdefs.h >>conftest.$ac_ext
60317 cat >>conftest.$ac_ext <<_ACEOF
60318 /* end confdefs.h.  */
60319 #include <langinfo.h>
60320 _ACEOF
60321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60322   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60323   ac_status=$?
60324   grep -v '^ *+' conftest.er1 >conftest.err
60325   rm -f conftest.er1
60326   cat conftest.err >&5
60327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60328   (exit $ac_status); } >/dev/null; then
60329   if test -s conftest.err; then
60330     ac_cpp_err=$ac_c_preproc_warn_flag
60331   else
60332     ac_cpp_err=
60333   fi
60334 else
60335   ac_cpp_err=yes
60336 fi
60337 if test -z "$ac_cpp_err"; then
60338   ac_header_preproc=yes
60339 else
60340   echo "$as_me: failed program was:" >&5
60341 sed 's/^/| /' conftest.$ac_ext >&5
60342
60343   ac_header_preproc=no
60344 fi
60345 rm -f conftest.err conftest.$ac_ext
60346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60347 echo "${ECHO_T}$ac_header_preproc" >&6
60348
60349 # So?  What about this header?
60350 case $ac_header_compiler:$ac_header_preproc in
60351   yes:no )
60352     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60353 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60354     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60355 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60356     (
60357       cat <<\_ASBOX
60358 ## ------------------------------------ ##
60359 ## Report this to bug-autoconf@gnu.org. ##
60360 ## ------------------------------------ ##
60361 _ASBOX
60362     ) |
60363       sed "s/^/$as_me: WARNING:     /" >&2
60364     ;;
60365   no:yes )
60366     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60367 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60368     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60369 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60370     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60371 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60372     (
60373       cat <<\_ASBOX
60374 ## ------------------------------------ ##
60375 ## Report this to bug-autoconf@gnu.org. ##
60376 ## ------------------------------------ ##
60377 _ASBOX
60378     ) |
60379       sed "s/^/$as_me: WARNING:     /" >&2
60380     ;;
60381 esac
60382 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60383 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60384 if test "${ac_cv_header_langinfo_h+set}" = set; then
60385   echo $ECHO_N "(cached) $ECHO_C" >&6
60386 else
60387   ac_cv_header_langinfo_h=$ac_header_preproc
60388 fi
60389 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60390 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60391
60392 fi
60393 if test $ac_cv_header_langinfo_h = yes; then
60394   ac_has_langinfo_h=yes
60395 else
60396   ac_has_langinfo_h=no
60397 fi
60398
60399
60400
60401     # Check for existence of libiconv.a providing XPG2 wchar_t support.
60402     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60403 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60404 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60405   echo $ECHO_N "(cached) $ECHO_C" >&6
60406 else
60407   ac_check_lib_save_LIBS=$LIBS
60408 LIBS="-liconv  $LIBS"
60409 if test x$gcc_no_link = xyes; then
60410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60412    { (exit 1); exit 1; }; }
60413 fi
60414 cat >conftest.$ac_ext <<_ACEOF
60415 #line $LINENO "configure"
60416 /* confdefs.h.  */
60417 _ACEOF
60418 cat confdefs.h >>conftest.$ac_ext
60419 cat >>conftest.$ac_ext <<_ACEOF
60420 /* end confdefs.h.  */
60421
60422 /* Override any gcc2 internal prototype to avoid an error.  */
60423 #ifdef __cplusplus
60424 extern "C"
60425 #endif
60426 /* We use char because int might match the return type of a gcc2
60427    builtin and then its argument prototype would still apply.  */
60428 char iconv ();
60429 int
60430 main ()
60431 {
60432 iconv ();
60433   ;
60434   return 0;
60435 }
60436 _ACEOF
60437 rm -f conftest.$ac_objext conftest$ac_exeext
60438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60439   (eval $ac_link) 2>&5
60440   ac_status=$?
60441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442   (exit $ac_status); } &&
60443          { ac_try='test -s conftest$ac_exeext'
60444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60445   (eval $ac_try) 2>&5
60446   ac_status=$?
60447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448   (exit $ac_status); }; }; then
60449   ac_cv_lib_iconv_iconv=yes
60450 else
60451   echo "$as_me: failed program was:" >&5
60452 sed 's/^/| /' conftest.$ac_ext >&5
60453
60454 ac_cv_lib_iconv_iconv=no
60455 fi
60456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60457 LIBS=$ac_check_lib_save_LIBS
60458 fi
60459 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60460 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60461 if test $ac_cv_lib_iconv_iconv = yes; then
60462   libiconv="-liconv"
60463 fi
60464
60465     ac_save_LIBS="$LIBS"
60466     LIBS="$LIBS $libiconv"
60467
60468
60469
60470
60471
60472 for ac_func in iconv_open iconv_close iconv nl_langinfo
60473 do
60474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60475 echo "$as_me:$LINENO: checking for $ac_func" >&5
60476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60477 if eval "test \"\${$as_ac_var+set}\" = set"; then
60478   echo $ECHO_N "(cached) $ECHO_C" >&6
60479 else
60480   if test x$gcc_no_link = xyes; then
60481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60483    { (exit 1); exit 1; }; }
60484 fi
60485 cat >conftest.$ac_ext <<_ACEOF
60486 #line $LINENO "configure"
60487 /* confdefs.h.  */
60488 _ACEOF
60489 cat confdefs.h >>conftest.$ac_ext
60490 cat >>conftest.$ac_ext <<_ACEOF
60491 /* end confdefs.h.  */
60492 /* System header to define __stub macros and hopefully few prototypes,
60493     which can conflict with char $ac_func (); below.
60494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60495     <limits.h> exists even on freestanding compilers.  */
60496 #ifdef __STDC__
60497 # include <limits.h>
60498 #else
60499 # include <assert.h>
60500 #endif
60501 /* Override any gcc2 internal prototype to avoid an error.  */
60502 #ifdef __cplusplus
60503 extern "C"
60504 {
60505 #endif
60506 /* We use char because int might match the return type of a gcc2
60507    builtin and then its argument prototype would still apply.  */
60508 char $ac_func ();
60509 /* The GNU C library defines this for functions which it implements
60510     to always fail with ENOSYS.  Some functions are actually named
60511     something starting with __ and the normal name is an alias.  */
60512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60513 choke me
60514 #else
60515 char (*f) () = $ac_func;
60516 #endif
60517 #ifdef __cplusplus
60518 }
60519 #endif
60520
60521 int
60522 main ()
60523 {
60524 return f != $ac_func;
60525   ;
60526   return 0;
60527 }
60528 _ACEOF
60529 rm -f conftest.$ac_objext conftest$ac_exeext
60530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60531   (eval $ac_link) 2>&5
60532   ac_status=$?
60533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60534   (exit $ac_status); } &&
60535          { ac_try='test -s conftest$ac_exeext'
60536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60537   (eval $ac_try) 2>&5
60538   ac_status=$?
60539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60540   (exit $ac_status); }; }; then
60541   eval "$as_ac_var=yes"
60542 else
60543   echo "$as_me: failed program was:" >&5
60544 sed 's/^/| /' conftest.$ac_ext >&5
60545
60546 eval "$as_ac_var=no"
60547 fi
60548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60549 fi
60550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60552 if test `eval echo '${'$as_ac_var'}'` = yes; then
60553   cat >>confdefs.h <<_ACEOF
60554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60555 _ACEOF
60556  ac_XPG2funcs=yes
60557 else
60558   ac_XPG2funcs=no
60559 fi
60560 done
60561
60562
60563     LIBS="$ac_save_LIBS"
60564
60565     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60566 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60567     if test x"$ac_has_iconv_h" = xyes &&
60568        test x"$ac_has_langinfo_h" = xyes &&
60569        test x"$ac_XPG2funcs" = xyes;
60570     then
60571       ac_XPG2_wchar_t=yes
60572     else
60573       ac_XPG2_wchar_t=no
60574     fi
60575     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60576 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60577
60578     # At the moment, only enable wchar_t specializations if all the
60579     # above support is present.
60580     if test x"$ac_isoC99_wchar_t" = xyes &&
60581        test x"$ac_XPG2_wchar_t" = xyes;
60582     then
60583       cat >>confdefs.h <<\_ACEOF
60584 #define _GLIBCXX_USE_WCHAR_T 1
60585 _ACEOF
60586
60587       enable_wchar_t=yes
60588     fi
60589   fi
60590   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60591 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60592   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60593 echo "${ECHO_T}$enable_wchar_t" >&6
60594
60595          # All of the dependencies for wide character support are here, so
60596          # turn it on.  This requires some syncronization with the
60597          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
60598          cat >>confdefs.h <<\_ACEOF
60599 #define _GLIBCXX_USE_WCHAR_T 1
60600 _ACEOF
60601
60602          # Are these tested for even when cross?
60603          cat >>confdefs.h <<\_ACEOF
60604 #define HAVE_FLOAT_H 1
60605 _ACEOF
60606
60607          cat >>confdefs.h <<\_ACEOF
60608 #define HAVE_IEEEFP_H 1
60609 _ACEOF
60610
60611          cat >>confdefs.h <<\_ACEOF
60612 #define HAVE_INTTYPES_H 1
60613 _ACEOF
60614
60615          cat >>confdefs.h <<\_ACEOF
60616 #define HAVE_LOCALE_H 1
60617 _ACEOF
60618
60619          cat >>confdefs.h <<\_ACEOF
60620 #define HAVE_NAN_H 1
60621 _ACEOF
60622
60623          cat >>confdefs.h <<\_ACEOF
60624 #define HAVE_SYS_FILIO_H 1
60625 _ACEOF
60626
60627          cat >>confdefs.h <<\_ACEOF
60628 #define HAVE_SYS_IOCTL_H 1
60629 _ACEOF
60630
60631          cat >>confdefs.h <<\_ACEOF
60632 #define HAVE_SYS_ISA_DEFS_H 1
60633 _ACEOF
60634
60635          cat >>confdefs.h <<\_ACEOF
60636 #define HAVE_SYS_RESOURCE_H 1
60637 _ACEOF
60638
60639          cat >>confdefs.h <<\_ACEOF
60640 #define HAVE_SYS_TIME_H 1
60641 _ACEOF
60642
60643          cat >>confdefs.h <<\_ACEOF
60644 #define HAVE_SYS_TYPES_H 1
60645 _ACEOF
60646
60647          cat >>confdefs.h <<\_ACEOF
60648 #define HAVE_UNISTD_H 1
60649 _ACEOF
60650
60651          cat >>confdefs.h <<\_ACEOF
60652 #define HAVE_WCHAR_H 1
60653 _ACEOF
60654
60655          cat >>confdefs.h <<\_ACEOF
60656 #define HAVE_WCTYPE_H 1
60657 _ACEOF
60658
60659          cat >>confdefs.h <<\_ACEOF
60660 #define HAVE_LIBM 1
60661 _ACEOF
60662
60663         ;;
60664     esac
60665     case "$target" in
60666       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
60667         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
60668         cat >>confdefs.h <<\_ACEOF
60669 #define HAVE___BUILTIN_ABS 1
60670 _ACEOF
60671
60672         cat >>confdefs.h <<\_ACEOF
60673 #define HAVE___BUILTIN_LABS 1
60674 _ACEOF
60675
60676         cat >>confdefs.h <<\_ACEOF
60677 #define HAVE___BUILTIN_FABS 1
60678 _ACEOF
60679
60680         cat >>confdefs.h <<\_ACEOF
60681 #define HAVE___BUILTIN_FABSF 1
60682 _ACEOF
60683
60684         cat >>confdefs.h <<\_ACEOF
60685 #define HAVE___BUILTIN_FABSL 1
60686 _ACEOF
60687
60688         cat >>confdefs.h <<\_ACEOF
60689 #define HAVE___BUILTIN_COS 1
60690 _ACEOF
60691
60692         cat >>confdefs.h <<\_ACEOF
60693 #define HAVE___BUILTIN_COSF 1
60694 _ACEOF
60695
60696         cat >>confdefs.h <<\_ACEOF
60697 #define HAVE___BUILTIN_SIN 1
60698 _ACEOF
60699
60700         cat >>confdefs.h <<\_ACEOF
60701 #define HAVE___BUILTIN_SINF 1
60702 _ACEOF
60703
60704        ;;
60705     esac
60706     cat >>confdefs.h <<\_ACEOF
60707 #define HAVE_STRTOF 1
60708 _ACEOF
60709
60710     cat >>confdefs.h <<\_ACEOF
60711 #define HAVE_STRTOLD 1
60712 _ACEOF
60713
60714     cat >>confdefs.h <<\_ACEOF
60715 #define HAVE_MMAP 1
60716 _ACEOF
60717
60718     cat >>confdefs.h <<\_ACEOF
60719 #define HAVE_COPYSIGN 1
60720 _ACEOF
60721
60722     cat >>confdefs.h <<\_ACEOF
60723 #define HAVE_ISNAN 1
60724 _ACEOF
60725
60726     cat >>confdefs.h <<\_ACEOF
60727 #define HAVE_ISNANF 1
60728 _ACEOF
60729
60730     cat >>confdefs.h <<\_ACEOF
60731 #define HAVE_MODFF 1
60732 _ACEOF
60733
60734     cat >>confdefs.h <<\_ACEOF
60735 #define HAVE_HYPOT 1
60736 _ACEOF
60737
60738     ;;
60739   *-vxworks)
60740     cat >>confdefs.h <<\_ACEOF
60741 #define HAVE_MMAP 1
60742 _ACEOF
60743
60744     cat >>confdefs.h <<\_ACEOF
60745 #define HAVE_ACOSF 1
60746 _ACEOF
60747
60748     cat >>confdefs.h <<\_ACEOF
60749 #define HAVE_ASINF 1
60750 _ACEOF
60751
60752     cat >>confdefs.h <<\_ACEOF
60753 #define HAVE_ATAN2F 1
60754 _ACEOF
60755
60756     cat >>confdefs.h <<\_ACEOF
60757 #define HAVE_ATANF 1
60758 _ACEOF
60759
60760     cat >>confdefs.h <<\_ACEOF
60761 #define HAVE_CEILF 1
60762 _ACEOF
60763
60764     cat >>confdefs.h <<\_ACEOF
60765 #define HAVE_COSF 1
60766 _ACEOF
60767
60768     cat >>confdefs.h <<\_ACEOF
60769 #define HAVE_COSHF 1
60770 _ACEOF
60771
60772     cat >>confdefs.h <<\_ACEOF
60773 #define HAVE_EXPF 1
60774 _ACEOF
60775
60776     cat >>confdefs.h <<\_ACEOF
60777 #define HAVE_FABSF 1
60778 _ACEOF
60779
60780     cat >>confdefs.h <<\_ACEOF
60781 #define HAVE_FLOORF 1
60782 _ACEOF
60783
60784     cat >>confdefs.h <<\_ACEOF
60785 #define HAVE_FMODF 1
60786 _ACEOF
60787
60788     cat >>confdefs.h <<\_ACEOF
60789 #define HAVE_HYPOT 1
60790 _ACEOF
60791
60792     cat >>confdefs.h <<\_ACEOF
60793 #define HAVE_LOG10F 1
60794 _ACEOF
60795
60796     cat >>confdefs.h <<\_ACEOF
60797 #define HAVE_LOGF 1
60798 _ACEOF
60799
60800     cat >>confdefs.h <<\_ACEOF
60801 #define HAVE_POWF 1
60802 _ACEOF
60803
60804     cat >>confdefs.h <<\_ACEOF
60805 #define HAVE_SINF 1
60806 _ACEOF
60807
60808     cat >>confdefs.h <<\_ACEOF
60809 #define HAVE_SINHF 1
60810 _ACEOF
60811
60812     cat >>confdefs.h <<\_ACEOF
60813 #define HAVE_SQRTF 1
60814 _ACEOF
60815
60816     cat >>confdefs.h <<\_ACEOF
60817 #define HAVE_TANF 1
60818 _ACEOF
60819
60820     cat >>confdefs.h <<\_ACEOF
60821 #define HAVE_TANHF 1
60822 _ACEOF
60823
60824     ;;
60825   *-windiss*)
60826     cat >>confdefs.h <<\_ACEOF
60827 #define HAVE_ACOSF 1
60828 _ACEOF
60829
60830     cat >>confdefs.h <<\_ACEOF
60831 #define HAVE_ACOSL 1
60832 _ACEOF
60833
60834     cat >>confdefs.h <<\_ACEOF
60835 #define HAVE_ASINF 1
60836 _ACEOF
60837
60838     cat >>confdefs.h <<\_ACEOF
60839 #define HAVE_ASINL 1
60840 _ACEOF
60841
60842     cat >>confdefs.h <<\_ACEOF
60843 #define HAVE_ATAN2F 1
60844 _ACEOF
60845
60846     cat >>confdefs.h <<\_ACEOF
60847 #define HAVE_ATAN2L 1
60848 _ACEOF
60849
60850     cat >>confdefs.h <<\_ACEOF
60851 #define HAVE_ATANF 1
60852 _ACEOF
60853
60854     cat >>confdefs.h <<\_ACEOF
60855 #define HAVE_ATANL 1
60856 _ACEOF
60857
60858     cat >>confdefs.h <<\_ACEOF
60859 #define HAVE_CEILF 1
60860 _ACEOF
60861
60862     cat >>confdefs.h <<\_ACEOF
60863 #define HAVE_CEILL 1
60864 _ACEOF
60865
60866     cat >>confdefs.h <<\_ACEOF
60867 #define HAVE_COPYSIGN 1
60868 _ACEOF
60869
60870     cat >>confdefs.h <<\_ACEOF
60871 #define HAVE_COPYSIGNF 1
60872 _ACEOF
60873
60874     cat >>confdefs.h <<\_ACEOF
60875 #define HAVE_COSF 1
60876 _ACEOF
60877
60878     cat >>confdefs.h <<\_ACEOF
60879 #define HAVE_COSL 1
60880 _ACEOF
60881
60882     cat >>confdefs.h <<\_ACEOF
60883 #define HAVE_COSHF 1
60884 _ACEOF
60885
60886     cat >>confdefs.h <<\_ACEOF
60887 #define HAVE_COSHL 1
60888 _ACEOF
60889
60890     cat >>confdefs.h <<\_ACEOF
60891 #define HAVE_EXPF 1
60892 _ACEOF
60893
60894     cat >>confdefs.h <<\_ACEOF
60895 #define HAVE_EXPL 1
60896 _ACEOF
60897
60898     cat >>confdefs.h <<\_ACEOF
60899 #define HAVE_FABSF 1
60900 _ACEOF
60901
60902     cat >>confdefs.h <<\_ACEOF
60903 #define HAVE_FABSL 1
60904 _ACEOF
60905
60906     cat >>confdefs.h <<\_ACEOF
60907 #define HAVE_FLOORF 1
60908 _ACEOF
60909
60910     cat >>confdefs.h <<\_ACEOF
60911 #define HAVE_FLOORL 1
60912 _ACEOF
60913
60914     cat >>confdefs.h <<\_ACEOF
60915 #define HAVE_FMODF 1
60916 _ACEOF
60917
60918     cat >>confdefs.h <<\_ACEOF
60919 #define HAVE_FMODL 1
60920 _ACEOF
60921
60922     cat >>confdefs.h <<\_ACEOF
60923 #define HAVE_FREXPF 1
60924 _ACEOF
60925
60926     cat >>confdefs.h <<\_ACEOF
60927 #define HAVE_FREXPL 1
60928 _ACEOF
60929
60930     cat >>confdefs.h <<\_ACEOF
60931 #define HAVE_LDEXPF 1
60932 _ACEOF
60933
60934     cat >>confdefs.h <<\_ACEOF
60935 #define HAVE_LDEXPL 1
60936 _ACEOF
60937
60938     cat >>confdefs.h <<\_ACEOF
60939 #define HAVE_LOG10F 1
60940 _ACEOF
60941
60942     cat >>confdefs.h <<\_ACEOF
60943 #define HAVE_LOG10L 1
60944 _ACEOF
60945
60946     cat >>confdefs.h <<\_ACEOF
60947 #define HAVE_LOGF 1
60948 _ACEOF
60949
60950     cat >>confdefs.h <<\_ACEOF
60951 #define HAVE_MODFF 1
60952 _ACEOF
60953
60954     cat >>confdefs.h <<\_ACEOF
60955 #define HAVE_MODFL 1
60956 _ACEOF
60957
60958     cat >>confdefs.h <<\_ACEOF
60959 #define HAVE_POWF 1
60960 _ACEOF
60961
60962     cat >>confdefs.h <<\_ACEOF
60963 #define HAVE_POWL 1
60964 _ACEOF
60965
60966     cat >>confdefs.h <<\_ACEOF
60967 #define HAVE_SINF 1
60968 _ACEOF
60969
60970     cat >>confdefs.h <<\_ACEOF
60971 #define HAVE_SINL 1
60972 _ACEOF
60973
60974     cat >>confdefs.h <<\_ACEOF
60975 #define HAVE_SINHF 1
60976 _ACEOF
60977
60978     cat >>confdefs.h <<\_ACEOF
60979 #define HAVE_SINHL 1
60980 _ACEOF
60981
60982     cat >>confdefs.h <<\_ACEOF
60983 #define HAVE_SQRTF 1
60984 _ACEOF
60985
60986     cat >>confdefs.h <<\_ACEOF
60987 #define HAVE_SQRTL 1
60988 _ACEOF
60989
60990     cat >>confdefs.h <<\_ACEOF
60991 #define HAVE_TANF 1
60992 _ACEOF
60993
60994     cat >>confdefs.h <<\_ACEOF
60995 #define HAVE_TANL 1
60996 _ACEOF
60997
60998     cat >>confdefs.h <<\_ACEOF
60999 #define HAVE_TANHF 1
61000 _ACEOF
61001
61002     cat >>confdefs.h <<\_ACEOF
61003 #define HAVE_TANHL 1
61004 _ACEOF
61005
61006     ;;
61007   *)
61008     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
61009 echo "$as_me: error: No support for this host/target combination." >&2;}
61010    { (exit 1); exit 1; }; }
61011    ;;
61012 esac
61013
61014
61015   fi
61016
61017   # At some point, we should differentiate between architectures
61018   # like x86, which have long double versions, and alpha/powerpc/etc.,
61019   # which don't. For the time being, punt.
61020   if test x"long_double_math_on_this_cpu" = x"yes"; then
61021     cat >>confdefs.h <<\_ACEOF
61022 #define HAVE_ACOSL 1
61023 _ACEOF
61024
61025     cat >>confdefs.h <<\_ACEOF
61026 #define HAVE_ASINL 1
61027 _ACEOF
61028
61029     cat >>confdefs.h <<\_ACEOF
61030 #define HAVE_ATAN2L 1
61031 _ACEOF
61032
61033     cat >>confdefs.h <<\_ACEOF
61034 #define HAVE_ATANL 1
61035 _ACEOF
61036
61037     cat >>confdefs.h <<\_ACEOF
61038 #define HAVE_CEILL 1
61039 _ACEOF
61040
61041     cat >>confdefs.h <<\_ACEOF
61042 #define HAVE_COPYSIGNL 1
61043 _ACEOF
61044
61045     cat >>confdefs.h <<\_ACEOF
61046 #define HAVE_COSL 1
61047 _ACEOF
61048
61049     cat >>confdefs.h <<\_ACEOF
61050 #define HAVE_COSHL 1
61051 _ACEOF
61052
61053     cat >>confdefs.h <<\_ACEOF
61054 #define HAVE_EXPL 1
61055 _ACEOF
61056
61057     cat >>confdefs.h <<\_ACEOF
61058 #define HAVE_FABSL 1
61059 _ACEOF
61060
61061     cat >>confdefs.h <<\_ACEOF
61062 #define HAVE_FLOORL 1
61063 _ACEOF
61064
61065     cat >>confdefs.h <<\_ACEOF
61066 #define HAVE_FMODL 1
61067 _ACEOF
61068
61069     cat >>confdefs.h <<\_ACEOF
61070 #define HAVE_FREXPL 1
61071 _ACEOF
61072
61073     cat >>confdefs.h <<\_ACEOF
61074 #define HAVE_LDEXPL 1
61075 _ACEOF
61076
61077     cat >>confdefs.h <<\_ACEOF
61078 #define HAVE_LOG10L 1
61079 _ACEOF
61080
61081     cat >>confdefs.h <<\_ACEOF
61082 #define HAVE_LOGL 1
61083 _ACEOF
61084
61085     cat >>confdefs.h <<\_ACEOF
61086 #define HAVE_MODFL 1
61087 _ACEOF
61088
61089     cat >>confdefs.h <<\_ACEOF
61090 #define HAVE_POWL 1
61091 _ACEOF
61092
61093     cat >>confdefs.h <<\_ACEOF
61094 #define HAVE_SINCOSL 1
61095 _ACEOF
61096
61097     cat >>confdefs.h <<\_ACEOF
61098 #define HAVE_SINL 1
61099 _ACEOF
61100
61101     cat >>confdefs.h <<\_ACEOF
61102 #define HAVE_SINHL 1
61103 _ACEOF
61104
61105     cat >>confdefs.h <<\_ACEOF
61106 #define HAVE_SQRTL 1
61107 _ACEOF
61108
61109     cat >>confdefs.h <<\_ACEOF
61110 #define HAVE_TANL 1
61111 _ACEOF
61112
61113     cat >>confdefs.h <<\_ACEOF
61114 #define HAVE_TANHL 1
61115 _ACEOF
61116
61117   fi
61118
61119 fi
61120
61121 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
61122
61123
61124  # Check whether --enable-symvers or --disable-symvers was given.
61125 if test "${enable_symvers+set}" = set; then
61126   enableval="$enable_symvers"
61127
61128       case "$enableval" in
61129        yes|no|gnu) ;;
61130        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
61131 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
61132    { (exit 1); exit 1; }; } ;;
61133                           esac
61134
61135 else
61136   enable_symvers=yes
61137 fi;
61138
61139
61140 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
61141 # don't know enough about $LD to do tricks...
61142
61143 # FIXME  The following test is too strict, in theory.
61144 if test $enable_shared = no ||
61145         test "x$LD" = x ||
61146         test x$glibcxx_gnu_ld_version = x; then
61147   enable_symvers=no
61148 fi
61149
61150 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
61151 if test $enable_symvers != no; then
61152   echo "$as_me:$LINENO: checking for shared libgcc" >&5
61153 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
61154   ac_save_CFLAGS="$CFLAGS"
61155   CFLAGS=' -lgcc_s'
61156   if test x$gcc_no_link = xyes; then
61157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61159    { (exit 1); exit 1; }; }
61160 fi
61161 cat >conftest.$ac_ext <<_ACEOF
61162 #line $LINENO "configure"
61163 /* confdefs.h.  */
61164 _ACEOF
61165 cat confdefs.h >>conftest.$ac_ext
61166 cat >>conftest.$ac_ext <<_ACEOF
61167 /* end confdefs.h.  */
61168
61169 int
61170 main ()
61171 {
61172 return 0;
61173   ;
61174   return 0;
61175 }
61176 _ACEOF
61177 rm -f conftest.$ac_objext conftest$ac_exeext
61178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61179   (eval $ac_link) 2>&5
61180   ac_status=$?
61181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61182   (exit $ac_status); } &&
61183          { ac_try='test -s conftest$ac_exeext'
61184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61185   (eval $ac_try) 2>&5
61186   ac_status=$?
61187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61188   (exit $ac_status); }; }; then
61189   glibcxx_shared_libgcc=yes
61190 else
61191   echo "$as_me: failed program was:" >&5
61192 sed 's/^/| /' conftest.$ac_ext >&5
61193
61194 glibcxx_shared_libgcc=no
61195 fi
61196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61197   CFLAGS="$ac_save_CFLAGS"
61198   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
61199 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
61200 fi
61201
61202 # For GNU ld, we need at least this version.  The format is described in
61203 # GLIBCXX_CHECK_LINKER_FEATURES above.
61204 glibcxx_min_gnu_ld_version=21400
61205 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
61206
61207 # Check to see if unspecified "yes" value can win, given results above.
61208 # Change "yes" into either "no" or a style name.
61209 if test $enable_symvers = yes; then
61210   if test $with_gnu_ld = yes &&
61211      test $glibcxx_shared_libgcc = yes;
61212   then
61213     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
61214       enable_symvers=gnu
61215     else
61216       # The right tools, the right setup, but too old.  Fallbacks?
61217       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
61218 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
61219       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
61220 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
61221       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
61222 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
61223       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
61224 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
61225       if test $glibcxx_gnu_ld_version -ge 21200 ; then
61226         # Globbing fix is present, proper block support is not.
61227                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61228 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61229         enable_symvers=no
61230       else
61231         # 2.11 or older.
61232         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61233 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61234         enable_symvers=no
61235       fi
61236     fi
61237   else
61238     # just fail for now
61239     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
61240 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
61241     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
61242 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
61243     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
61244 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
61245     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61246 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61247     enable_symvers=no
61248   fi
61249 fi
61250
61251 # Everything parsed; figure out what file to use.
61252 case $enable_symvers in
61253   no)
61254     SYMVER_MAP=config/linker-map.dummy
61255     ;;
61256   gnu)
61257     SYMVER_MAP=config/linker-map.gnu
61258     cat >>confdefs.h <<\_ACEOF
61259 #define _GLIBCXX_SYMVER 1
61260 _ACEOF
61261
61262     ;;
61263 esac
61264
61265
61266
61267
61268 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
61269 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
61270
61271
61272 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
61273
61274   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
61275     # Do checks for memory limit functions.
61276
61277   setrlimit_have_headers=yes
61278
61279
61280
61281 for ac_header in unistd.h sys/time.h sys/resource.h
61282 do
61283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61285   echo "$as_me:$LINENO: checking for $ac_header" >&5
61286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61288   echo $ECHO_N "(cached) $ECHO_C" >&6
61289 fi
61290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61292 else
61293   # Is the header compilable?
61294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61296 cat >conftest.$ac_ext <<_ACEOF
61297 #line $LINENO "configure"
61298 /* confdefs.h.  */
61299 _ACEOF
61300 cat confdefs.h >>conftest.$ac_ext
61301 cat >>conftest.$ac_ext <<_ACEOF
61302 /* end confdefs.h.  */
61303 $ac_includes_default
61304 #include <$ac_header>
61305 _ACEOF
61306 rm -f conftest.$ac_objext
61307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61308   (eval $ac_compile) 2>&5
61309   ac_status=$?
61310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61311   (exit $ac_status); } &&
61312          { ac_try='test -s conftest.$ac_objext'
61313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61314   (eval $ac_try) 2>&5
61315   ac_status=$?
61316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61317   (exit $ac_status); }; }; then
61318   ac_header_compiler=yes
61319 else
61320   echo "$as_me: failed program was:" >&5
61321 sed 's/^/| /' conftest.$ac_ext >&5
61322
61323 ac_header_compiler=no
61324 fi
61325 rm -f conftest.$ac_objext conftest.$ac_ext
61326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61327 echo "${ECHO_T}$ac_header_compiler" >&6
61328
61329 # Is the header present?
61330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61332 cat >conftest.$ac_ext <<_ACEOF
61333 #line $LINENO "configure"
61334 /* confdefs.h.  */
61335 _ACEOF
61336 cat confdefs.h >>conftest.$ac_ext
61337 cat >>conftest.$ac_ext <<_ACEOF
61338 /* end confdefs.h.  */
61339 #include <$ac_header>
61340 _ACEOF
61341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61342   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61343   ac_status=$?
61344   grep -v '^ *+' conftest.er1 >conftest.err
61345   rm -f conftest.er1
61346   cat conftest.err >&5
61347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61348   (exit $ac_status); } >/dev/null; then
61349   if test -s conftest.err; then
61350     ac_cpp_err=$ac_c_preproc_warn_flag
61351   else
61352     ac_cpp_err=
61353   fi
61354 else
61355   ac_cpp_err=yes
61356 fi
61357 if test -z "$ac_cpp_err"; then
61358   ac_header_preproc=yes
61359 else
61360   echo "$as_me: failed program was:" >&5
61361 sed 's/^/| /' conftest.$ac_ext >&5
61362
61363   ac_header_preproc=no
61364 fi
61365 rm -f conftest.err conftest.$ac_ext
61366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61367 echo "${ECHO_T}$ac_header_preproc" >&6
61368
61369 # So?  What about this header?
61370 case $ac_header_compiler:$ac_header_preproc in
61371   yes:no )
61372     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61374     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61376     (
61377       cat <<\_ASBOX
61378 ## ------------------------------------ ##
61379 ## Report this to bug-autoconf@gnu.org. ##
61380 ## ------------------------------------ ##
61381 _ASBOX
61382     ) |
61383       sed "s/^/$as_me: WARNING:     /" >&2
61384     ;;
61385   no:yes )
61386     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61388     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61390     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61392     (
61393       cat <<\_ASBOX
61394 ## ------------------------------------ ##
61395 ## Report this to bug-autoconf@gnu.org. ##
61396 ## ------------------------------------ ##
61397 _ASBOX
61398     ) |
61399       sed "s/^/$as_me: WARNING:     /" >&2
61400     ;;
61401 esac
61402 echo "$as_me:$LINENO: checking for $ac_header" >&5
61403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61405   echo $ECHO_N "(cached) $ECHO_C" >&6
61406 else
61407   eval "$as_ac_Header=$ac_header_preproc"
61408 fi
61409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61411
61412 fi
61413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61414   cat >>confdefs.h <<_ACEOF
61415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61416 _ACEOF
61417
61418 else
61419   setrlimit_have_headers=no
61420 fi
61421
61422 done
61423
61424   # If don't have the headers, then we can't run the tests now, and we
61425   # won't be seeing any of these during testsuite compilation.
61426   if test $setrlimit_have_headers = yes; then
61427     # Can't do these in a loop, else the resulting syntax is wrong.
61428
61429   cat >conftest.$ac_ext <<_ACEOF
61430 #line $LINENO "configure"
61431 /* confdefs.h.  */
61432 _ACEOF
61433 cat confdefs.h >>conftest.$ac_ext
61434 cat >>conftest.$ac_ext <<_ACEOF
61435 /* end confdefs.h.  */
61436 #include <unistd.h>
61437      #include <sys/time.h>
61438      #include <sys/resource.h>
61439
61440 int
61441 main ()
61442 {
61443  int f = RLIMIT_DATA ;
61444   ;
61445   return 0;
61446 }
61447 _ACEOF
61448 rm -f conftest.$ac_objext
61449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61450   (eval $ac_compile) 2>&5
61451   ac_status=$?
61452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453   (exit $ac_status); } &&
61454          { ac_try='test -s conftest.$ac_objext'
61455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61456   (eval $ac_try) 2>&5
61457   ac_status=$?
61458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61459   (exit $ac_status); }; }; then
61460   glibcxx_mresult=1
61461 else
61462   echo "$as_me: failed program was:" >&5
61463 sed 's/^/| /' conftest.$ac_ext >&5
61464
61465 glibcxx_mresult=0
61466 fi
61467 rm -f conftest.$ac_objext conftest.$ac_ext
61468
61469 cat >>confdefs.h <<_ACEOF
61470 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
61471 _ACEOF
61472
61473
61474
61475   cat >conftest.$ac_ext <<_ACEOF
61476 #line $LINENO "configure"
61477 /* confdefs.h.  */
61478 _ACEOF
61479 cat confdefs.h >>conftest.$ac_ext
61480 cat >>conftest.$ac_ext <<_ACEOF
61481 /* end confdefs.h.  */
61482 #include <unistd.h>
61483      #include <sys/time.h>
61484      #include <sys/resource.h>
61485
61486 int
61487 main ()
61488 {
61489  int f = RLIMIT_RSS ;
61490   ;
61491   return 0;
61492 }
61493 _ACEOF
61494 rm -f conftest.$ac_objext
61495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61496   (eval $ac_compile) 2>&5
61497   ac_status=$?
61498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61499   (exit $ac_status); } &&
61500          { ac_try='test -s conftest.$ac_objext'
61501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61502   (eval $ac_try) 2>&5
61503   ac_status=$?
61504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61505   (exit $ac_status); }; }; then
61506   glibcxx_mresult=1
61507 else
61508   echo "$as_me: failed program was:" >&5
61509 sed 's/^/| /' conftest.$ac_ext >&5
61510
61511 glibcxx_mresult=0
61512 fi
61513 rm -f conftest.$ac_objext conftest.$ac_ext
61514
61515 cat >>confdefs.h <<_ACEOF
61516 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
61517 _ACEOF
61518
61519
61520
61521   cat >conftest.$ac_ext <<_ACEOF
61522 #line $LINENO "configure"
61523 /* confdefs.h.  */
61524 _ACEOF
61525 cat confdefs.h >>conftest.$ac_ext
61526 cat >>conftest.$ac_ext <<_ACEOF
61527 /* end confdefs.h.  */
61528 #include <unistd.h>
61529      #include <sys/time.h>
61530      #include <sys/resource.h>
61531
61532 int
61533 main ()
61534 {
61535  int f = RLIMIT_VMEM ;
61536   ;
61537   return 0;
61538 }
61539 _ACEOF
61540 rm -f conftest.$ac_objext
61541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61542   (eval $ac_compile) 2>&5
61543   ac_status=$?
61544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545   (exit $ac_status); } &&
61546          { ac_try='test -s conftest.$ac_objext'
61547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61548   (eval $ac_try) 2>&5
61549   ac_status=$?
61550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61551   (exit $ac_status); }; }; then
61552   glibcxx_mresult=1
61553 else
61554   echo "$as_me: failed program was:" >&5
61555 sed 's/^/| /' conftest.$ac_ext >&5
61556
61557 glibcxx_mresult=0
61558 fi
61559 rm -f conftest.$ac_objext conftest.$ac_ext
61560
61561 cat >>confdefs.h <<_ACEOF
61562 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
61563 _ACEOF
61564
61565
61566
61567   cat >conftest.$ac_ext <<_ACEOF
61568 #line $LINENO "configure"
61569 /* confdefs.h.  */
61570 _ACEOF
61571 cat confdefs.h >>conftest.$ac_ext
61572 cat >>conftest.$ac_ext <<_ACEOF
61573 /* end confdefs.h.  */
61574 #include <unistd.h>
61575      #include <sys/time.h>
61576      #include <sys/resource.h>
61577
61578 int
61579 main ()
61580 {
61581  int f = RLIMIT_AS ;
61582   ;
61583   return 0;
61584 }
61585 _ACEOF
61586 rm -f conftest.$ac_objext
61587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61588   (eval $ac_compile) 2>&5
61589   ac_status=$?
61590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61591   (exit $ac_status); } &&
61592          { ac_try='test -s conftest.$ac_objext'
61593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61594   (eval $ac_try) 2>&5
61595   ac_status=$?
61596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61597   (exit $ac_status); }; }; then
61598   glibcxx_mresult=1
61599 else
61600   echo "$as_me: failed program was:" >&5
61601 sed 's/^/| /' conftest.$ac_ext >&5
61602
61603 glibcxx_mresult=0
61604 fi
61605 rm -f conftest.$ac_objext conftest.$ac_ext
61606
61607 cat >>confdefs.h <<_ACEOF
61608 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
61609 _ACEOF
61610
61611
61612
61613     # Check for rlimit, setrlimit.
61614     if test "${ac_setrlimit+set}" = set; then
61615   echo $ECHO_N "(cached) $ECHO_C" >&6
61616 else
61617
61618       cat >conftest.$ac_ext <<_ACEOF
61619 #line $LINENO "configure"
61620 /* confdefs.h.  */
61621 _ACEOF
61622 cat confdefs.h >>conftest.$ac_ext
61623 cat >>conftest.$ac_ext <<_ACEOF
61624 /* end confdefs.h.  */
61625 #include <unistd.h>
61626          #include <sys/time.h>
61627          #include <sys/resource.h>
61628
61629 int
61630 main ()
61631 {
61632 struct rlimit r;
61633          setrlimit(0, &r);
61634   ;
61635   return 0;
61636 }
61637 _ACEOF
61638 rm -f conftest.$ac_objext
61639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61640   (eval $ac_compile) 2>&5
61641   ac_status=$?
61642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61643   (exit $ac_status); } &&
61644          { ac_try='test -s conftest.$ac_objext'
61645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61646   (eval $ac_try) 2>&5
61647   ac_status=$?
61648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61649   (exit $ac_status); }; }; then
61650   ac_setrlimit=yes
61651 else
61652   echo "$as_me: failed program was:" >&5
61653 sed 's/^/| /' conftest.$ac_ext >&5
61654
61655 ac_setrlimit=no
61656 fi
61657 rm -f conftest.$ac_objext conftest.$ac_ext
61658
61659 fi
61660
61661   fi
61662
61663   echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
61664 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
61665   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
61666     ac_mem_limits=yes
61667     cat >>confdefs.h <<\_ACEOF
61668 #define _GLIBCXX_MEM_LIMITS 1
61669 _ACEOF
61670
61671   else
61672     ac_mem_limits=no
61673   fi
61674   echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
61675 echo "${ECHO_T}$ac_mem_limits" >&6
61676
61677
61678     # Look for setenv, so that extended locale tests can be performed.
61679
61680   echo "$as_me:$LINENO: checking for setenv declaration" >&5
61681 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
61682   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
61683     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
61684   echo $ECHO_N "(cached) $ECHO_C" >&6
61685 else
61686
61687
61688
61689       ac_ext=cc
61690 ac_cpp='$CXXCPP $CPPFLAGS'
61691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61694
61695       cat >conftest.$ac_ext <<_ACEOF
61696 #line $LINENO "configure"
61697 /* confdefs.h.  */
61698 _ACEOF
61699 cat confdefs.h >>conftest.$ac_ext
61700 cat >>conftest.$ac_ext <<_ACEOF
61701 /* end confdefs.h.  */
61702 #include <stdlib.h>
61703 int
61704 main ()
61705 {
61706  setenv(0, 0, 0);
61707   ;
61708   return 0;
61709 }
61710 _ACEOF
61711 rm -f conftest.$ac_objext
61712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61713   (eval $ac_compile) 2>&5
61714   ac_status=$?
61715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61716   (exit $ac_status); } &&
61717          { ac_try='test -s conftest.$ac_objext'
61718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61719   (eval $ac_try) 2>&5
61720   ac_status=$?
61721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61722   (exit $ac_status); }; }; then
61723   glibcxx_cv_func_setenv_use=yes
61724 else
61725   echo "$as_me: failed program was:" >&5
61726 sed 's/^/| /' conftest.$ac_ext >&5
61727
61728 glibcxx_cv_func_setenv_use=no
61729 fi
61730 rm -f conftest.$ac_objext conftest.$ac_ext
61731       ac_ext=c
61732 ac_cpp='$CPP $CPPFLAGS'
61733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61736
61737
61738 fi
61739
61740   fi
61741   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
61742 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
61743   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
61744
61745 for ac_func in setenv
61746 do
61747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61748 echo "$as_me:$LINENO: checking for $ac_func" >&5
61749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61750 if eval "test \"\${$as_ac_var+set}\" = set"; then
61751   echo $ECHO_N "(cached) $ECHO_C" >&6
61752 else
61753   if test x$gcc_no_link = xyes; then
61754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61756    { (exit 1); exit 1; }; }
61757 fi
61758 cat >conftest.$ac_ext <<_ACEOF
61759 #line $LINENO "configure"
61760 /* confdefs.h.  */
61761 _ACEOF
61762 cat confdefs.h >>conftest.$ac_ext
61763 cat >>conftest.$ac_ext <<_ACEOF
61764 /* end confdefs.h.  */
61765 /* System header to define __stub macros and hopefully few prototypes,
61766     which can conflict with char $ac_func (); below.
61767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61768     <limits.h> exists even on freestanding compilers.  */
61769 #ifdef __STDC__
61770 # include <limits.h>
61771 #else
61772 # include <assert.h>
61773 #endif
61774 /* Override any gcc2 internal prototype to avoid an error.  */
61775 #ifdef __cplusplus
61776 extern "C"
61777 {
61778 #endif
61779 /* We use char because int might match the return type of a gcc2
61780    builtin and then its argument prototype would still apply.  */
61781 char $ac_func ();
61782 /* The GNU C library defines this for functions which it implements
61783     to always fail with ENOSYS.  Some functions are actually named
61784     something starting with __ and the normal name is an alias.  */
61785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61786 choke me
61787 #else
61788 char (*f) () = $ac_func;
61789 #endif
61790 #ifdef __cplusplus
61791 }
61792 #endif
61793
61794 int
61795 main ()
61796 {
61797 return f != $ac_func;
61798   ;
61799   return 0;
61800 }
61801 _ACEOF
61802 rm -f conftest.$ac_objext conftest$ac_exeext
61803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61804   (eval $ac_link) 2>&5
61805   ac_status=$?
61806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61807   (exit $ac_status); } &&
61808          { ac_try='test -s conftest$ac_exeext'
61809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61810   (eval $ac_try) 2>&5
61811   ac_status=$?
61812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61813   (exit $ac_status); }; }; then
61814   eval "$as_ac_var=yes"
61815 else
61816   echo "$as_me: failed program was:" >&5
61817 sed 's/^/| /' conftest.$ac_ext >&5
61818
61819 eval "$as_ac_var=no"
61820 fi
61821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61822 fi
61823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61825 if test `eval echo '${'$as_ac_var'}'` = yes; then
61826   cat >>confdefs.h <<_ACEOF
61827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61828 _ACEOF
61829
61830 fi
61831 done
61832
61833   fi
61834
61835
61836     if test $enable_symvers = no; then
61837       enable_abi_check=no
61838     else
61839       case "$host" in
61840         *-*-cygwin*)
61841           enable_abi_check=no ;;
61842         *)
61843           enable_abi_check=yes ;;
61844       esac
61845     fi
61846   else
61847     # Only build this as native, since automake does not understand
61848     # CXX_FOR_BUILD.
61849     enable_abi_check=no
61850   fi
61851
61852   # Export file names for ABI checking.
61853   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
61854
61855
61856
61857
61858
61859
61860 # Propagate the target-specific source directories through the build chain.
61861 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
61862 # uses it, and it only gets used in this file.)
61863 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
61864 OS_INC_SRCDIR=config/${os_include_dir}
61865
61866
61867
61868 # Determine cross-compile flags and AM_CONDITIONALs.
61869 #AC_SUBST(GLIBCXX_IS_NATIVE)
61870 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
61871 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
61872 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
61873
61874
61875 if test $is_hosted = yes; then
61876   GLIBCXX_HOSTED_TRUE=
61877   GLIBCXX_HOSTED_FALSE='#'
61878 else
61879   GLIBCXX_HOSTED_TRUE='#'
61880   GLIBCXX_HOSTED_FALSE=
61881 fi
61882
61883
61884
61885
61886 if test $enable_libstdcxx_pch = yes; then
61887   GLIBCXX_BUILD_PCH_TRUE=
61888   GLIBCXX_BUILD_PCH_FALSE='#'
61889 else
61890   GLIBCXX_BUILD_PCH_TRUE='#'
61891   GLIBCXX_BUILD_PCH_FALSE=
61892 fi
61893
61894
61895
61896
61897 if test $enable_cheaders = c; then
61898   GLIBCXX_C_HEADERS_C_TRUE=
61899   GLIBCXX_C_HEADERS_C_FALSE='#'
61900 else
61901   GLIBCXX_C_HEADERS_C_TRUE='#'
61902   GLIBCXX_C_HEADERS_C_FALSE=
61903 fi
61904
61905
61906
61907
61908 if test $enable_cheaders = c_std; then
61909   GLIBCXX_C_HEADERS_C_STD_TRUE=
61910   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
61911 else
61912   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
61913   GLIBCXX_C_HEADERS_C_STD_FALSE=
61914 fi
61915
61916
61917
61918
61919 if test $c_compatibility = yes; then
61920   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
61921   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
61922 else
61923   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
61924   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
61925 fi
61926
61927
61928
61929
61930 if test $enable_libstdcxx_debug = yes; then
61931   GLIBCXX_BUILD_DEBUG_TRUE=
61932   GLIBCXX_BUILD_DEBUG_FALSE='#'
61933 else
61934   GLIBCXX_BUILD_DEBUG_TRUE='#'
61935   GLIBCXX_BUILD_DEBUG_FALSE=
61936 fi
61937
61938
61939
61940
61941 if test $enable_symvers != no; then
61942   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
61943   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
61944 else
61945   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
61946   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
61947 fi
61948
61949
61950
61951
61952 if test $enable_wchar_t = yes; then
61953   GLIBCXX_TEST_WCHAR_T_TRUE=
61954   GLIBCXX_TEST_WCHAR_T_FALSE='#'
61955 else
61956   GLIBCXX_TEST_WCHAR_T_TRUE='#'
61957   GLIBCXX_TEST_WCHAR_T_FALSE=
61958 fi
61959
61960
61961
61962
61963 if test $enable_abi_check = yes; then
61964   GLIBCXX_TEST_ABI_TRUE=
61965   GLIBCXX_TEST_ABI_FALSE='#'
61966 else
61967   GLIBCXX_TEST_ABI_TRUE='#'
61968   GLIBCXX_TEST_ABI_FALSE=
61969 fi
61970
61971
61972
61973
61974 cat >confcache <<\_ACEOF
61975 # This file is a shell script that caches the results of configure
61976 # tests run on this system so they can be shared between configure
61977 # scripts and configure runs, see configure's option --config-cache.
61978 # It is not useful on other systems.  If it contains results you don't
61979 # want to keep, you may remove or edit it.
61980 #
61981 # config.status only pays attention to the cache file if you give it
61982 # the --recheck option to rerun configure.
61983 #
61984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
61985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
61986 # following values.
61987
61988 _ACEOF
61989
61990 # The following way of writing the cache mishandles newlines in values,
61991 # but we know of no workaround that is simple, portable, and efficient.
61992 # So, don't put newlines in cache variables' values.
61993 # Ultrix sh set writes to stderr and can't be redirected directly,
61994 # and sets the high bit in the cache file unless we assign to the vars.
61995 {
61996   (set) 2>&1 |
61997     case `(ac_space=' '; set | grep ac_space) 2>&1` in
61998     *ac_space=\ *)
61999       # `set' does not quote correctly, so add quotes (double-quote
62000       # substitution turns \\\\ into \\, and sed turns \\ into \).
62001       sed -n \
62002         "s/'/'\\\\''/g;
62003           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62004       ;;
62005     *)
62006       # `set' quotes correctly as required by POSIX, so do not add quotes.
62007       sed -n \
62008         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
62009       ;;
62010     esac;
62011 } |
62012   sed '
62013      t clear
62014      : clear
62015      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62016      t end
62017      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62018      : end' >>confcache
62019 if diff $cache_file confcache >/dev/null 2>&1; then :; else
62020   if test -w $cache_file; then
62021     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
62022     cat confcache >$cache_file
62023   else
62024     echo "not updating unwritable cache $cache_file"
62025   fi
62026 fi
62027 rm -f confcache
62028
62029 if test ${multilib} = yes; then
62030   multilib_arg="--enable-multilib"
62031 else
62032   multilib_arg=
62033 fi
62034
62035 # Export all the install information.
62036
62037   glibcxx_toolexecdir=no
62038   glibcxx_toolexeclibdir=no
62039   glibcxx_prefixdir=$prefix
62040
62041   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
62042 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
62043
62044 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
62045 if test "${with_gxx_include_dir+set}" = set; then
62046   withval="$with_gxx_include_dir"
62047   case "$withval" in
62048       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
62049 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
62050    { (exit 1); exit 1; }; } ;;
62051       no)  gxx_include_dir=no ;;
62052       *)   gxx_include_dir=$withval ;;
62053      esac
62054 else
62055   gxx_include_dir=no
62056 fi;
62057   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
62058 echo "${ECHO_T}$gxx_include_dir" >&6
62059
62060   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
62061 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
62062   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
62063 if test "${enable_version_specific_runtime_libs+set}" = set; then
62064   enableval="$enable_version_specific_runtime_libs"
62065   case "$enableval" in
62066       yes) version_specific_libs=yes ;;
62067       no)  version_specific_libs=no ;;
62068       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
62069 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
62070    { (exit 1); exit 1; }; };;
62071      esac
62072 else
62073   version_specific_libs=no
62074 fi;
62075   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
62076 echo "${ECHO_T}$version_specific_libs" >&6
62077
62078   # Default case for install directory for include files.
62079   if test $version_specific_libs = no && test $gxx_include_dir = no; then
62080     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
62081   fi
62082
62083   # Version-specific runtime libs processing.
62084   if test $version_specific_libs = yes; then
62085     # Need the gcc compiler version to know where to install libraries
62086     # and header files if --enable-version-specific-runtime-libs option
62087     # is selected.
62088     if test x"$gxx_include_dir" = x"no"; then
62089       gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
62090     fi
62091     glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
62092     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
62093   fi
62094
62095   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
62096   # Install a library built with a cross compiler in tooldir, not libdir.
62097   if test x"$glibcxx_toolexecdir" = x"no"; then
62098     if test -n "$with_cross_host" &&
62099        test x"$with_cross_host" != x"no"; then
62100       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
62101       glibcxx_toolexeclibdir='${toolexecdir}/lib'
62102     else
62103       glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
62104       glibcxx_toolexeclibdir='${libdir}'
62105     fi
62106     multi_os_directory=`$CXX -print-multi-os-directory`
62107     case $multi_os_directory in
62108       .) ;; # Avoid trailing /.
62109       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
62110     esac
62111   fi
62112
62113   echo "$as_me:$LINENO: checking for install location" >&5
62114 echo $ECHO_N "checking for install location... $ECHO_C" >&6
62115   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
62116 echo "${ECHO_T}$gxx_include_dir" >&6
62117
62118
62119
62120
62121
62122
62123
62124 # Export all the include and flag information to Makefiles.
62125
62126   # Used for every C++ compile we perform.
62127   GLIBCXX_INCLUDES="\
62128 -I$glibcxx_builddir/include/$host_alias \
62129 -I$glibcxx_builddir/include \
62130 -I$glibcxx_srcdir/libsupc++"
62131
62132   # For Canadian crosses, pick this up too.
62133   if test $CANADIAN = yes; then
62134     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
62135   fi
62136
62137   # Stuff in the actual top level.  Currently only used by libsupc++ to
62138   # get unwind* headers from the gcc dir.
62139   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
62140   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
62141
62142   # Now, export this to all the little Makefiles....
62143
62144
62145
62146
62147   # Optimization flags that are probably a good idea for thrill-seekers. Just
62148   # uncomment the lines below and make, everything else is ready to go...
62149   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
62150   OPTIMIZE_CXXFLAGS=
62151
62152
62153   WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
62154
62155
62156
62157 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
62158    grep "enable shared" > /dev/null;
62159 then
62160   LIBSUPCXX_PICFLAGS=-prefer-pic
62161 else
62162   LIBSUPCXX_PICFLAGS=
62163 fi
62164
62165
62166                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
62167
62168           ac_config_files="$ac_config_files scripts/check_survey"
62169
62170           ac_config_files="$ac_config_files scripts/testsuite_flags"
62171
62172
62173           ac_config_commands="$ac_config_commands default"
62174
62175
62176 cat >confcache <<\_ACEOF
62177 # This file is a shell script that caches the results of configure
62178 # tests run on this system so they can be shared between configure
62179 # scripts and configure runs, see configure's option --config-cache.
62180 # It is not useful on other systems.  If it contains results you don't
62181 # want to keep, you may remove or edit it.
62182 #
62183 # config.status only pays attention to the cache file if you give it
62184 # the --recheck option to rerun configure.
62185 #
62186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
62187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
62188 # following values.
62189
62190 _ACEOF
62191
62192 # The following way of writing the cache mishandles newlines in values,
62193 # but we know of no workaround that is simple, portable, and efficient.
62194 # So, don't put newlines in cache variables' values.
62195 # Ultrix sh set writes to stderr and can't be redirected directly,
62196 # and sets the high bit in the cache file unless we assign to the vars.
62197 {
62198   (set) 2>&1 |
62199     case `(ac_space=' '; set | grep ac_space) 2>&1` in
62200     *ac_space=\ *)
62201       # `set' does not quote correctly, so add quotes (double-quote
62202       # substitution turns \\\\ into \\, and sed turns \\ into \).
62203       sed -n \
62204         "s/'/'\\\\''/g;
62205           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62206       ;;
62207     *)
62208       # `set' quotes correctly as required by POSIX, so do not add quotes.
62209       sed -n \
62210         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
62211       ;;
62212     esac;
62213 } |
62214   sed '
62215      t clear
62216      : clear
62217      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62218      t end
62219      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62220      : end' >>confcache
62221 if diff $cache_file confcache >/dev/null 2>&1; then :; else
62222   if test -w $cache_file; then
62223     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
62224     cat confcache >$cache_file
62225   else
62226     echo "not updating unwritable cache $cache_file"
62227   fi
62228 fi
62229 rm -f confcache
62230
62231 test "x$prefix" = xNONE && prefix=$ac_default_prefix
62232 # Let make expand exec_prefix.
62233 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
62234
62235 # VPATH may cause trouble with some makes, so we remove $(srcdir),
62236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
62237 # trailing colons and then remove the whole line if VPATH becomes empty
62238 # (actually we leave an empty line to preserve line numbers).
62239 if test "x$srcdir" = x.; then
62240   ac_vpsub='/^[         ]*VPATH[        ]*=/{
62241 s/:*\$(srcdir):*/:/;
62242 s/:*\${srcdir}:*/:/;
62243 s/:*@srcdir@:*/:/;
62244 s/^\([^=]*=[    ]*\):*/\1/;
62245 s/:*$//;
62246 s/^[^=]*=[      ]*$//;
62247 }'
62248 fi
62249
62250 DEFS=-DHAVE_CONFIG_H
62251
62252 ac_libobjs=
62253 ac_ltlibobjs=
62254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
62255   # 1. Remove the extension, and $U if already installed.
62256   ac_i=`echo "$ac_i" |
62257          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
62258   # 2. Add them.
62259   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
62260   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
62261 done
62262 LIBOBJS=$ac_libobjs
62263
62264 LTLIBOBJS=$ac_ltlibobjs
62265
62266
62267 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
62268   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
62269 Usually this means the macro was only invoked conditionally." >&5
62270 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
62271 Usually this means the macro was only invoked conditionally." >&2;}
62272    { (exit 1); exit 1; }; }
62273 fi
62274 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
62275   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
62276 Usually this means the macro was only invoked conditionally." >&5
62277 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
62278 Usually this means the macro was only invoked conditionally." >&2;}
62279    { (exit 1); exit 1; }; }
62280 fi
62281 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
62282   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
62283 Usually this means the macro was only invoked conditionally." >&5
62284 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
62285 Usually this means the macro was only invoked conditionally." >&2;}
62286    { (exit 1); exit 1; }; }
62287 fi
62288 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
62289   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
62290 Usually this means the macro was only invoked conditionally." >&5
62291 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
62292 Usually this means the macro was only invoked conditionally." >&2;}
62293    { (exit 1); exit 1; }; }
62294 fi
62295 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
62296   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
62297 Usually this means the macro was only invoked conditionally." >&5
62298 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
62299 Usually this means the macro was only invoked conditionally." >&2;}
62300    { (exit 1); exit 1; }; }
62301 fi
62302 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
62303   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
62304 Usually this means the macro was only invoked conditionally." >&5
62305 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
62306 Usually this means the macro was only invoked conditionally." >&2;}
62307    { (exit 1); exit 1; }; }
62308 fi
62309 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
62310   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62311 Usually this means the macro was only invoked conditionally." >&5
62312 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62313 Usually this means the macro was only invoked conditionally." >&2;}
62314    { (exit 1); exit 1; }; }
62315 fi
62316 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
62317   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62318 Usually this means the macro was only invoked conditionally." >&5
62319 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62320 Usually this means the macro was only invoked conditionally." >&2;}
62321    { (exit 1); exit 1; }; }
62322 fi
62323 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
62324   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62325 Usually this means the macro was only invoked conditionally." >&5
62326 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62327 Usually this means the macro was only invoked conditionally." >&2;}
62328    { (exit 1); exit 1; }; }
62329 fi
62330 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
62331   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62332 Usually this means the macro was only invoked conditionally." >&5
62333 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62334 Usually this means the macro was only invoked conditionally." >&2;}
62335    { (exit 1); exit 1; }; }
62336 fi
62337
62338 : ${CONFIG_STATUS=./config.status}
62339 ac_clean_files_save=$ac_clean_files
62340 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
62341 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
62342 echo "$as_me: creating $CONFIG_STATUS" >&6;}
62343 cat >$CONFIG_STATUS <<_ACEOF
62344 #! $SHELL
62345 # Generated by $as_me.
62346 # Run this file to recreate the current configuration.
62347 # Compiler output produced by configure, useful for debugging
62348 # configure, is in config.log if it exists.
62349
62350 debug=false
62351 ac_cs_recheck=false
62352 ac_cs_silent=false
62353 SHELL=\${CONFIG_SHELL-$SHELL}
62354 _ACEOF
62355
62356 cat >>$CONFIG_STATUS <<\_ACEOF
62357 ## --------------------- ##
62358 ## M4sh Initialization.  ##
62359 ## --------------------- ##
62360
62361 # Be Bourne compatible
62362 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
62363   emulate sh
62364   NULLCMD=:
62365   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
62366   # is contrary to our usage.  Disable this feature.
62367   alias -g '${1+"$@"}'='"$@"'
62368 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
62369   set -o posix
62370 fi
62371
62372 # Support unset when possible.
62373 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62374   as_unset=unset
62375 else
62376   as_unset=false
62377 fi
62378
62379
62380 # Work around bugs in pre-3.0 UWIN ksh.
62381 $as_unset ENV MAIL MAILPATH
62382 PS1='$ '
62383 PS2='> '
62384 PS4='+ '
62385
62386 # NLS nuisances.
62387 for as_var in \
62388   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
62389   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
62390   LC_TELEPHONE LC_TIME
62391 do
62392   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
62393     eval $as_var=C; export $as_var
62394   else
62395     $as_unset $as_var
62396   fi
62397 done
62398
62399 # Required to use basename.
62400 if expr a : '\(a\)' >/dev/null 2>&1; then
62401   as_expr=expr
62402 else
62403   as_expr=false
62404 fi
62405
62406 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62407   as_basename=basename
62408 else
62409   as_basename=false
62410 fi
62411
62412
62413 # Name of the executable.
62414 as_me=`$as_basename "$0" ||
62415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62416          X"$0" : 'X\(//\)$' \| \
62417          X"$0" : 'X\(/\)$' \| \
62418          .     : '\(.\)' 2>/dev/null ||
62419 echo X/"$0" |
62420     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
62421           /^X\/\(\/\/\)$/{ s//\1/; q; }
62422           /^X\/\(\/\).*/{ s//\1/; q; }
62423           s/.*/./; q'`
62424
62425
62426 # PATH needs CR, and LINENO needs CR and PATH.
62427 # Avoid depending upon Character Ranges.
62428 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62429 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62430 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62431 as_cr_digits='0123456789'
62432 as_cr_alnum=$as_cr_Letters$as_cr_digits
62433
62434 # The user is always right.
62435 if test "${PATH_SEPARATOR+set}" != set; then
62436   echo "#! /bin/sh" >conf$$.sh
62437   echo  "exit 0"   >>conf$$.sh
62438   chmod +x conf$$.sh
62439   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
62440     PATH_SEPARATOR=';'
62441   else
62442     PATH_SEPARATOR=:
62443   fi
62444   rm -f conf$$.sh
62445 fi
62446
62447
62448   as_lineno_1=$LINENO
62449   as_lineno_2=$LINENO
62450   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62451   test "x$as_lineno_1" != "x$as_lineno_2" &&
62452   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
62453   # Find who we are.  Look in the path if we contain no path at all
62454   # relative or not.
62455   case $0 in
62456     *[\\/]* ) as_myself=$0 ;;
62457     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62458 for as_dir in $PATH
62459 do
62460   IFS=$as_save_IFS
62461   test -z "$as_dir" && as_dir=.
62462   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
62463 done
62464
62465        ;;
62466   esac
62467   # We did not find ourselves, most probably we were run as `sh COMMAND'
62468   # in which case we are not to be found in the path.
62469   if test "x$as_myself" = x; then
62470     as_myself=$0
62471   fi
62472   if test ! -f "$as_myself"; then
62473     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
62474 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
62475    { (exit 1); exit 1; }; }
62476   fi
62477   case $CONFIG_SHELL in
62478   '')
62479     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62480 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
62481 do
62482   IFS=$as_save_IFS
62483   test -z "$as_dir" && as_dir=.
62484   for as_base in sh bash ksh sh5; do
62485          case $as_dir in
62486          /*)
62487            if ("$as_dir/$as_base" -c '
62488   as_lineno_1=$LINENO
62489   as_lineno_2=$LINENO
62490   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62491   test "x$as_lineno_1" != "x$as_lineno_2" &&
62492   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
62493              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
62494              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
62495              CONFIG_SHELL=$as_dir/$as_base
62496              export CONFIG_SHELL
62497              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
62498            fi;;
62499          esac
62500        done
62501 done
62502 ;;
62503   esac
62504
62505   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
62506   # uniformly replaced by the line number.  The first 'sed' inserts a
62507   # line-number line before each line; the second 'sed' does the real
62508   # work.  The second script uses 'N' to pair each line-number line
62509   # with the numbered line, and appends trailing '-' during
62510   # substitution so that $LINENO is not a special case at line end.
62511   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
62512   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
62513   sed '=' <$as_myself |
62514     sed '
62515       N
62516       s,$,-,
62517       : loop
62518       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
62519       t loop
62520       s,-$,,
62521       s,^['$as_cr_digits']*\n,,
62522     ' >$as_me.lineno &&
62523   chmod +x $as_me.lineno ||
62524     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
62525 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
62526    { (exit 1); exit 1; }; }
62527
62528   # Don't try to exec as it changes $[0], causing all sort of problems
62529   # (the dirname of $[0] is not the place where we might find the
62530   # original and so on.  Autoconf is especially sensible to this).
62531   . ./$as_me.lineno
62532   # Exit status is that of the last command.
62533   exit
62534 }
62535
62536
62537 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
62538   *c*,-n*) ECHO_N= ECHO_C='
62539 ' ECHO_T='      ' ;;
62540   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
62541   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
62542 esac
62543
62544 if expr a : '\(a\)' >/dev/null 2>&1; then
62545   as_expr=expr
62546 else
62547   as_expr=false
62548 fi
62549
62550 rm -f conf$$ conf$$.exe conf$$.file
62551 echo >conf$$.file
62552 if ln -s conf$$.file conf$$ 2>/dev/null; then
62553   # We could just check for DJGPP; but this test a) works b) is more generic
62554   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
62555   if test -f conf$$.exe; then
62556     # Don't use ln at all; we don't have any links
62557     as_ln_s='cp -p'
62558   else
62559     as_ln_s='ln -s'
62560   fi
62561 elif ln conf$$.file conf$$ 2>/dev/null; then
62562   as_ln_s=ln
62563 else
62564   as_ln_s='cp -p'
62565 fi
62566 rm -f conf$$ conf$$.exe conf$$.file
62567
62568 if mkdir -p . 2>/dev/null; then
62569   as_mkdir_p=:
62570 else
62571   as_mkdir_p=false
62572 fi
62573
62574 as_executable_p="test -f"
62575
62576 # Sed expression to map a string onto a valid CPP name.
62577 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62578
62579 # Sed expression to map a string onto a valid variable name.
62580 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
62581
62582
62583 # IFS
62584 # We need space, tab and new line, in precisely that order.
62585 as_nl='
62586 '
62587 IFS="   $as_nl"
62588
62589 # CDPATH.
62590 $as_unset CDPATH
62591
62592 exec 6>&1
62593
62594 # Open the log real soon, to keep \$[0] and so on meaningful, and to
62595 # report actual input values of CONFIG_FILES etc. instead of their
62596 # values after options handling.  Logging --version etc. is OK.
62597 exec 5>>config.log
62598 {
62599   echo
62600   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
62601 ## Running $as_me. ##
62602 _ASBOX
62603 } >&5
62604 cat >&5 <<_CSEOF
62605
62606 This file was extended by package-unused $as_me version-unused, which was
62607 generated by GNU Autoconf 2.57.  Invocation command line was
62608
62609   CONFIG_FILES    = $CONFIG_FILES
62610   CONFIG_HEADERS  = $CONFIG_HEADERS
62611   CONFIG_LINKS    = $CONFIG_LINKS
62612   CONFIG_COMMANDS = $CONFIG_COMMANDS
62613   $ $0 $@
62614
62615 _CSEOF
62616 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
62617 echo >&5
62618 _ACEOF
62619
62620 # Files that config.status was made for.
62621 if test -n "$ac_config_files"; then
62622   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
62623 fi
62624
62625 if test -n "$ac_config_headers"; then
62626   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
62627 fi
62628
62629 if test -n "$ac_config_links"; then
62630   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
62631 fi
62632
62633 if test -n "$ac_config_commands"; then
62634   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
62635 fi
62636
62637 cat >>$CONFIG_STATUS <<\_ACEOF
62638
62639 ac_cs_usage="\
62640 \`$as_me' instantiates files from templates according to the
62641 current configuration.
62642
62643 Usage: $0 [OPTIONS] [FILE]...
62644
62645   -h, --help       print this help, then exit
62646   -V, --version    print version number, then exit
62647   -q, --quiet      do not print progress messages
62648   -d, --debug      don't remove temporary files
62649       --recheck    update $as_me by reconfiguring in the same conditions
62650   --file=FILE[:TEMPLATE]
62651                    instantiate the configuration file FILE
62652   --header=FILE[:TEMPLATE]
62653                    instantiate the configuration header FILE
62654
62655 Configuration files:
62656 $config_files
62657
62658 Configuration headers:
62659 $config_headers
62660
62661 Configuration commands:
62662 $config_commands
62663
62664 Report bugs to <bug-autoconf@gnu.org>."
62665 _ACEOF
62666
62667 cat >>$CONFIG_STATUS <<_ACEOF
62668 ac_cs_version="\\
62669 package-unused config.status version-unused
62670 configured by $0, generated by GNU Autoconf 2.57,
62671   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
62672
62673 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
62674 Free Software Foundation, Inc.
62675 This config.status script is free software; the Free Software Foundation
62676 gives unlimited permission to copy, distribute and modify it."
62677 srcdir=$srcdir
62678 INSTALL="$INSTALL"
62679 _ACEOF
62680
62681 cat >>$CONFIG_STATUS <<\_ACEOF
62682 # If no file are specified by the user, then we need to provide default
62683 # value.  By we need to know if files were specified by the user.
62684 ac_need_defaults=:
62685 while test $# != 0
62686 do
62687   case $1 in
62688   --*=*)
62689     ac_option=`expr "x$1" : 'x\([^=]*\)='`
62690     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
62691     ac_shift=:
62692     ;;
62693   -*)
62694     ac_option=$1
62695     ac_optarg=$2
62696     ac_shift=shift
62697     ;;
62698   *) # This is not an option, so the user has probably given explicit
62699      # arguments.
62700      ac_option=$1
62701      ac_need_defaults=false;;
62702   esac
62703
62704   case $ac_option in
62705   # Handling of the options.
62706 _ACEOF
62707 cat >>$CONFIG_STATUS <<\_ACEOF
62708   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
62709     ac_cs_recheck=: ;;
62710   --version | --vers* | -V )
62711     echo "$ac_cs_version"; exit 0 ;;
62712   --he | --h)
62713     # Conflict between --help and --header
62714     { { echo "$as_me:$LINENO: error: ambiguous option: $1
62715 Try \`$0 --help' for more information." >&5
62716 echo "$as_me: error: ambiguous option: $1
62717 Try \`$0 --help' for more information." >&2;}
62718    { (exit 1); exit 1; }; };;
62719   --help | --hel | -h )
62720     echo "$ac_cs_usage"; exit 0 ;;
62721   --debug | --d* | -d )
62722     debug=: ;;
62723   --file | --fil | --fi | --f )
62724     $ac_shift
62725     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
62726     ac_need_defaults=false;;
62727   --header | --heade | --head | --hea )
62728     $ac_shift
62729     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
62730     ac_need_defaults=false;;
62731   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
62732   | -silent | --silent | --silen | --sile | --sil | --si | --s)
62733     ac_cs_silent=: ;;
62734
62735   # This is an error.
62736   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
62737 Try \`$0 --help' for more information." >&5
62738 echo "$as_me: error: unrecognized option: $1
62739 Try \`$0 --help' for more information." >&2;}
62740    { (exit 1); exit 1; }; } ;;
62741
62742   *) ac_config_targets="$ac_config_targets $1" ;;
62743
62744   esac
62745   shift
62746 done
62747
62748 ac_configure_extra_args=
62749
62750 if $ac_cs_silent; then
62751   exec 6>/dev/null
62752   ac_configure_extra_args="$ac_configure_extra_args --silent"
62753 fi
62754
62755 _ACEOF
62756 cat >>$CONFIG_STATUS <<_ACEOF
62757 if \$ac_cs_recheck; then
62758   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
62759   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
62760 fi
62761
62762 _ACEOF
62763
62764 cat >>$CONFIG_STATUS <<_ACEOF
62765 #
62766 # INIT-COMMANDS section.
62767 #
62768
62769
62770 srcdir="$srcdir"
62771 host="$host"
62772 target="$target"
62773 with_multisubdir="$with_multisubdir"
62774 with_multisrctop="$with_multisrctop"
62775 with_target_subdir="$with_target_subdir"
62776 ac_configure_args="${multilib_arg} ${ac_configure_args}"
62777 multi_basedir="$multi_basedir"
62778 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
62779 CC="$CC"
62780
62781 # Variables needed in config.status (file generation) which aren't already
62782 # passed by autoconf.
62783 SUBDIRS="$SUBDIRS"
62784
62785
62786 _ACEOF
62787
62788
62789
62790 cat >>$CONFIG_STATUS <<\_ACEOF
62791 for ac_config_target in $ac_config_targets
62792 do
62793   case "$ac_config_target" in
62794   # Handling of arguments.
62795   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
62796   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
62797   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
62798   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
62799   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
62800   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
62801   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
62802   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
62803   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
62804   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
62805   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
62806   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
62807   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
62808 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
62809    { (exit 1); exit 1; }; };;
62810   esac
62811 done
62812
62813 # If the user did not use the arguments to specify the items to instantiate,
62814 # then the envvar interface is used.  Set only those that are not.
62815 # We use the long form for the default assignment because of an extremely
62816 # bizarre bug on SunOS 4.1.3.
62817 if $ac_need_defaults; then
62818   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
62819   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
62820   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
62821 fi
62822
62823 # Have a temporary directory for convenience.  Make it in the build tree
62824 # simply because there is no reason to put it here, and in addition,
62825 # creating and moving files from /tmp can sometimes cause problems.
62826 # Create a temporary directory, and hook for its removal unless debugging.
62827 $debug ||
62828 {
62829   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
62830   trap '{ (exit 1); exit 1; }' 1 2 13 15
62831 }
62832
62833 # Create a (secure) tmp directory for tmp files.
62834
62835 {
62836   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
62837   test -n "$tmp" && test -d "$tmp"
62838 }  ||
62839 {
62840   tmp=./confstat$$-$RANDOM
62841   (umask 077 && mkdir $tmp)
62842 } ||
62843 {
62844    echo "$me: cannot create a temporary directory in ." >&2
62845    { (exit 1); exit 1; }
62846 }
62847
62848 _ACEOF
62849
62850 cat >>$CONFIG_STATUS <<_ACEOF
62851
62852 #
62853 # CONFIG_FILES section.
62854 #
62855
62856 # No need to generate the scripts if there are no CONFIG_FILES.
62857 # This happens for instance when ./config.status config.h
62858 if test -n "\$CONFIG_FILES"; then
62859   # Protect against being on the right side of a sed subst in config.status.
62860   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
62861    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
62862 s,@SHELL@,$SHELL,;t t
62863 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
62864 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
62865 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
62866 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
62867 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
62868 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
62869 s,@exec_prefix@,$exec_prefix,;t t
62870 s,@prefix@,$prefix,;t t
62871 s,@program_transform_name@,$program_transform_name,;t t
62872 s,@bindir@,$bindir,;t t
62873 s,@sbindir@,$sbindir,;t t
62874 s,@libexecdir@,$libexecdir,;t t
62875 s,@datadir@,$datadir,;t t
62876 s,@sysconfdir@,$sysconfdir,;t t
62877 s,@sharedstatedir@,$sharedstatedir,;t t
62878 s,@localstatedir@,$localstatedir,;t t
62879 s,@libdir@,$libdir,;t t
62880 s,@includedir@,$includedir,;t t
62881 s,@oldincludedir@,$oldincludedir,;t t
62882 s,@infodir@,$infodir,;t t
62883 s,@mandir@,$mandir,;t t
62884 s,@build_alias@,$build_alias,;t t
62885 s,@host_alias@,$host_alias,;t t
62886 s,@target_alias@,$target_alias,;t t
62887 s,@DEFS@,$DEFS,;t t
62888 s,@ECHO_C@,$ECHO_C,;t t
62889 s,@ECHO_N@,$ECHO_N,;t t
62890 s,@ECHO_T@,$ECHO_T,;t t
62891 s,@LIBS@,$LIBS,;t t
62892 s,@libtool_VERSION@,$libtool_VERSION,;t t
62893 s,@multi_basedir@,$multi_basedir,;t t
62894 s,@build@,$build,;t t
62895 s,@build_cpu@,$build_cpu,;t t
62896 s,@build_vendor@,$build_vendor,;t t
62897 s,@build_os@,$build_os,;t t
62898 s,@host@,$host,;t t
62899 s,@host_cpu@,$host_cpu,;t t
62900 s,@host_vendor@,$host_vendor,;t t
62901 s,@host_os@,$host_os,;t t
62902 s,@target@,$target,;t t
62903 s,@target_cpu@,$target_cpu,;t t
62904 s,@target_vendor@,$target_vendor,;t t
62905 s,@target_os@,$target_os,;t t
62906 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
62907 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
62908 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
62909 s,@CYGPATH_W@,$CYGPATH_W,;t t
62910 s,@PACKAGE@,$PACKAGE,;t t
62911 s,@VERSION@,$VERSION,;t t
62912 s,@ACLOCAL@,$ACLOCAL,;t t
62913 s,@AUTOCONF@,$AUTOCONF,;t t
62914 s,@AUTOMAKE@,$AUTOMAKE,;t t
62915 s,@AUTOHEADER@,$AUTOHEADER,;t t
62916 s,@MAKEINFO@,$MAKEINFO,;t t
62917 s,@AMTAR@,$AMTAR,;t t
62918 s,@install_sh@,$install_sh,;t t
62919 s,@STRIP@,$STRIP,;t t
62920 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
62921 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
62922 s,@AWK@,$AWK,;t t
62923 s,@SET_MAKE@,$SET_MAKE,;t t
62924 s,@am__leading_dot@,$am__leading_dot,;t t
62925 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
62926 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
62927 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
62928 s,@CC@,$CC,;t t
62929 s,@ac_ct_CC@,$ac_ct_CC,;t t
62930 s,@EXEEXT@,$EXEEXT,;t t
62931 s,@OBJEXT@,$OBJEXT,;t t
62932 s,@CXX@,$CXX,;t t
62933 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
62934 s,@CFLAGS@,$CFLAGS,;t t
62935 s,@CXXFLAGS@,$CXXFLAGS,;t t
62936 s,@LN_S@,$LN_S,;t t
62937 s,@AS@,$AS,;t t
62938 s,@ac_ct_AS@,$ac_ct_AS,;t t
62939 s,@AR@,$AR,;t t
62940 s,@ac_ct_AR@,$ac_ct_AR,;t t
62941 s,@RANLIB@,$RANLIB,;t t
62942 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
62943 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
62944 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
62945 s,@MAINT@,$MAINT,;t t
62946 s,@LIBTOOL@,$LIBTOOL,;t t
62947 s,@CXXCPP@,$CXXCPP,;t t
62948 s,@CPPFLAGS@,$CPPFLAGS,;t t
62949 s,@enable_shared@,$enable_shared,;t t
62950 s,@enable_static@,$enable_static,;t t
62951 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
62952 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
62953 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
62954 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
62955 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
62956 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
62957 s,@CSTDIO_H@,$CSTDIO_H,;t t
62958 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
62959 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
62960 s,@CPP@,$CPP,;t t
62961 s,@EGREP@,$EGREP,;t t
62962 s,@check_msgfmt@,$check_msgfmt,;t t
62963 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
62964 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
62965 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
62966 s,@USE_NLS@,$USE_NLS,;t t
62967 s,@CLOCALE_H@,$CLOCALE_H,;t t
62968 s,@CCODECVT_H@,$CCODECVT_H,;t t
62969 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
62970 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
62971 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
62972 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
62973 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
62974 s,@CMONEY_CC@,$CMONEY_CC,;t t
62975 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
62976 s,@CTIME_H@,$CTIME_H,;t t
62977 s,@CTIME_CC@,$CTIME_CC,;t t
62978 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
62979 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
62980 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
62981 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
62982 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
62983 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
62984 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
62985 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
62986 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
62987 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
62988 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
62989 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
62990 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
62991 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
62992 s,@WERROR@,$WERROR,;t t
62993 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
62994 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
62995 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
62996 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
62997 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
62998 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
62999 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
63000 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
63001 s,@baseline_dir@,$baseline_dir,;t t
63002 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
63003 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
63004 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
63005 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
63006 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
63007 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
63008 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
63009 s,@gxx_include_dir@,$gxx_include_dir,;t t
63010 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
63011 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
63012 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
63013 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
63014 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
63015 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
63016 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
63017 s,@LIBOBJS@,$LIBOBJS,;t t
63018 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
63019 CEOF
63020
63021 _ACEOF
63022
63023   cat >>$CONFIG_STATUS <<\_ACEOF
63024   # Split the substitutions into bite-sized pieces for seds with
63025   # small command number limits, like on Digital OSF/1 and HP-UX.
63026   ac_max_sed_lines=48
63027   ac_sed_frag=1 # Number of current file.
63028   ac_beg=1 # First line for current file.
63029   ac_end=$ac_max_sed_lines # Line after last line for current file.
63030   ac_more_lines=:
63031   ac_sed_cmds=
63032   while $ac_more_lines; do
63033     if test $ac_beg -gt 1; then
63034       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
63035     else
63036       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
63037     fi
63038     if test ! -s $tmp/subs.frag; then
63039       ac_more_lines=false
63040     else
63041       # The purpose of the label and of the branching condition is to
63042       # speed up the sed processing (if there are no `@' at all, there
63043       # is no need to browse any of the substitutions).
63044       # These are the two extra sed commands mentioned above.
63045       (echo ':t
63046   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
63047       if test -z "$ac_sed_cmds"; then
63048         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
63049       else
63050         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
63051       fi
63052       ac_sed_frag=`expr $ac_sed_frag + 1`
63053       ac_beg=$ac_end
63054       ac_end=`expr $ac_end + $ac_max_sed_lines`
63055     fi
63056   done
63057   if test -z "$ac_sed_cmds"; then
63058     ac_sed_cmds=cat
63059   fi
63060 fi # test -n "$CONFIG_FILES"
63061
63062 _ACEOF
63063 cat >>$CONFIG_STATUS <<\_ACEOF
63064 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
63065   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
63066   case $ac_file in
63067   - | *:- | *:-:* ) # input from stdin
63068         cat >$tmp/stdin
63069         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63070         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63071   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63072         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63073   * )   ac_file_in=$ac_file.in ;;
63074   esac
63075
63076   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
63077   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63079          X"$ac_file" : 'X\(//\)[^/]' \| \
63080          X"$ac_file" : 'X\(//\)$' \| \
63081          X"$ac_file" : 'X\(/\)' \| \
63082          .     : '\(.\)' 2>/dev/null ||
63083 echo X"$ac_file" |
63084     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63085           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63086           /^X\(\/\/\)$/{ s//\1/; q; }
63087           /^X\(\/\).*/{ s//\1/; q; }
63088           s/.*/./; q'`
63089   { if $as_mkdir_p; then
63090     mkdir -p "$ac_dir"
63091   else
63092     as_dir="$ac_dir"
63093     as_dirs=
63094     while test ! -d "$as_dir"; do
63095       as_dirs="$as_dir $as_dirs"
63096       as_dir=`(dirname "$as_dir") 2>/dev/null ||
63097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63098          X"$as_dir" : 'X\(//\)[^/]' \| \
63099          X"$as_dir" : 'X\(//\)$' \| \
63100          X"$as_dir" : 'X\(/\)' \| \
63101          .     : '\(.\)' 2>/dev/null ||
63102 echo X"$as_dir" |
63103     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63104           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63105           /^X\(\/\/\)$/{ s//\1/; q; }
63106           /^X\(\/\).*/{ s//\1/; q; }
63107           s/.*/./; q'`
63108     done
63109     test ! -n "$as_dirs" || mkdir $as_dirs
63110   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63111 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63112    { (exit 1); exit 1; }; }; }
63113
63114   ac_builddir=.
63115
63116 if test "$ac_dir" != .; then
63117   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63118   # A "../" for each directory in $ac_dir_suffix.
63119   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63120 else
63121   ac_dir_suffix= ac_top_builddir=
63122 fi
63123
63124 case $srcdir in
63125   .)  # No --srcdir option.  We are building in place.
63126     ac_srcdir=.
63127     if test -z "$ac_top_builddir"; then
63128        ac_top_srcdir=.
63129     else
63130        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63131     fi ;;
63132   [\\/]* | ?:[\\/]* )  # Absolute path.
63133     ac_srcdir=$srcdir$ac_dir_suffix;
63134     ac_top_srcdir=$srcdir ;;
63135   *) # Relative path.
63136     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63137     ac_top_srcdir=$ac_top_builddir$srcdir ;;
63138 esac
63139 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63140 # absolute.
63141 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63142 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63143 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63144 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63145
63146
63147   case $INSTALL in
63148   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
63149   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
63150   esac
63151
63152   if test x"$ac_file" != x-; then
63153     { echo "$as_me:$LINENO: creating $ac_file" >&5
63154 echo "$as_me: creating $ac_file" >&6;}
63155     rm -f "$ac_file"
63156   fi
63157   # Let's still pretend it is `configure' which instantiates (i.e., don't
63158   # use $as_me), people would be surprised to read:
63159   #    /* config.h.  Generated by config.status.  */
63160   if test x"$ac_file" = x-; then
63161     configure_input=
63162   else
63163     configure_input="$ac_file.  "
63164   fi
63165   configure_input=$configure_input"Generated from `echo $ac_file_in |
63166                                      sed 's,.*/,,'` by configure."
63167
63168   # First look for the input files in the build tree, otherwise in the
63169   # src tree.
63170   ac_file_inputs=`IFS=:
63171     for f in $ac_file_in; do
63172       case $f in
63173       -) echo $tmp/stdin ;;
63174       [\\/$]*)
63175          # Absolute (can't be DOS-style, as IFS=:)
63176          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63177 echo "$as_me: error: cannot find input file: $f" >&2;}
63178    { (exit 1); exit 1; }; }
63179          echo $f;;
63180       *) # Relative
63181          if test -f "$f"; then
63182            # Build tree
63183            echo $f
63184          elif test -f "$srcdir/$f"; then
63185            # Source tree
63186            echo $srcdir/$f
63187          else
63188            # /dev/null tree
63189            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63190 echo "$as_me: error: cannot find input file: $f" >&2;}
63191    { (exit 1); exit 1; }; }
63192          fi;;
63193       esac
63194     done` || { (exit 1); exit 1; }
63195 _ACEOF
63196 cat >>$CONFIG_STATUS <<_ACEOF
63197   sed "$ac_vpsub
63198 $extrasub
63199 _ACEOF
63200 cat >>$CONFIG_STATUS <<\_ACEOF
63201 :t
63202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
63203 s,@configure_input@,$configure_input,;t t
63204 s,@srcdir@,$ac_srcdir,;t t
63205 s,@abs_srcdir@,$ac_abs_srcdir,;t t
63206 s,@top_srcdir@,$ac_top_srcdir,;t t
63207 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
63208 s,@builddir@,$ac_builddir,;t t
63209 s,@abs_builddir@,$ac_abs_builddir,;t t
63210 s,@top_builddir@,$ac_top_builddir,;t t
63211 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
63212 s,@INSTALL@,$ac_INSTALL,;t t
63213 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
63214   rm -f $tmp/stdin
63215   if test x"$ac_file" != x-; then
63216     mv $tmp/out $ac_file
63217   else
63218     cat $tmp/out
63219     rm -f $tmp/out
63220   fi
63221
63222   # Run the commands associated with the file.
63223   case $ac_file in
63224     scripts/check_survey ) chmod +x scripts/check_survey ;;
63225     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
63226   esac
63227 done
63228 _ACEOF
63229 cat >>$CONFIG_STATUS <<\_ACEOF
63230
63231 #
63232 # CONFIG_HEADER section.
63233 #
63234
63235 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
63236 # NAME is the cpp macro being defined and VALUE is the value it is being given.
63237 #
63238 # ac_d sets the value in "#define NAME VALUE" lines.
63239 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
63240 ac_dB='[        ].*$,\1#\2'
63241 ac_dC=' '
63242 ac_dD=',;t'
63243 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
63244 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
63245 ac_uB='$,\1#\2define\3'
63246 ac_uC=' '
63247 ac_uD=',;t'
63248
63249 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
63250   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
63251   case $ac_file in
63252   - | *:- | *:-:* ) # input from stdin
63253         cat >$tmp/stdin
63254         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63255         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63256   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63257         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63258   * )   ac_file_in=$ac_file.in ;;
63259   esac
63260
63261   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
63262 echo "$as_me: creating $ac_file" >&6;}
63263
63264   # First look for the input files in the build tree, otherwise in the
63265   # src tree.
63266   ac_file_inputs=`IFS=:
63267     for f in $ac_file_in; do
63268       case $f in
63269       -) echo $tmp/stdin ;;
63270       [\\/$]*)
63271          # Absolute (can't be DOS-style, as IFS=:)
63272          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63273 echo "$as_me: error: cannot find input file: $f" >&2;}
63274    { (exit 1); exit 1; }; }
63275          echo $f;;
63276       *) # Relative
63277          if test -f "$f"; then
63278            # Build tree
63279            echo $f
63280          elif test -f "$srcdir/$f"; then
63281            # Source tree
63282            echo $srcdir/$f
63283          else
63284            # /dev/null tree
63285            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63286 echo "$as_me: error: cannot find input file: $f" >&2;}
63287    { (exit 1); exit 1; }; }
63288          fi;;
63289       esac
63290     done` || { (exit 1); exit 1; }
63291   # Remove the trailing spaces.
63292   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
63293
63294 _ACEOF
63295
63296 # Transform confdefs.h into two sed scripts, `conftest.defines' and
63297 # `conftest.undefs', that substitutes the proper values into
63298 # config.h.in to produce config.h.  The first handles `#define'
63299 # templates, and the second `#undef' templates.
63300 # And first: Protect against being on the right side of a sed subst in
63301 # config.status.  Protect against being in an unquoted here document
63302 # in config.status.
63303 rm -f conftest.defines conftest.undefs
63304 # Using a here document instead of a string reduces the quoting nightmare.
63305 # Putting comments in sed scripts is not portable.
63306 #
63307 # `end' is used to avoid that the second main sed command (meant for
63308 # 0-ary CPP macros) applies to n-ary macro definitions.
63309 # See the Autoconf documentation for `clear'.
63310 cat >confdef2sed.sed <<\_ACEOF
63311 s/[\\&,]/\\&/g
63312 s,[\\$`],\\&,g
63313 t clear
63314 : clear
63315 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
63316 t end
63317 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
63318 : end
63319 _ACEOF
63320 # If some macros were called several times there might be several times
63321 # the same #defines, which is useless.  Nevertheless, we may not want to
63322 # sort them, since we want the *last* AC-DEFINE to be honored.
63323 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
63324 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
63325 rm -f confdef2sed.sed
63326
63327 # This sed command replaces #undef with comments.  This is necessary, for
63328 # example, in the case of _POSIX_SOURCE, which is predefined and required
63329 # on some systems where configure will not decide to define it.
63330 cat >>conftest.undefs <<\_ACEOF
63331 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
63332 _ACEOF
63333
63334 # Break up conftest.defines because some shells have a limit on the size
63335 # of here documents, and old seds have small limits too (100 cmds).
63336 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
63337 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
63338 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
63339 echo '  :' >>$CONFIG_STATUS
63340 rm -f conftest.tail
63341 while grep . conftest.defines >/dev/null
63342 do
63343   # Write a limited-size here document to $tmp/defines.sed.
63344   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
63345   # Speed up: don't consider the non `#define' lines.
63346   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
63347   # Work around the forget-to-reset-the-flag bug.
63348   echo 't clr' >>$CONFIG_STATUS
63349   echo ': clr' >>$CONFIG_STATUS
63350   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
63351   echo 'CEOF
63352   sed -f $tmp/defines.sed $tmp/in >$tmp/out
63353   rm -f $tmp/in
63354   mv $tmp/out $tmp/in
63355 ' >>$CONFIG_STATUS
63356   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
63357   rm -f conftest.defines
63358   mv conftest.tail conftest.defines
63359 done
63360 rm -f conftest.defines
63361 echo '  fi # grep' >>$CONFIG_STATUS
63362 echo >>$CONFIG_STATUS
63363
63364 # Break up conftest.undefs because some shells have a limit on the size
63365 # of here documents, and old seds have small limits too (100 cmds).
63366 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
63367 rm -f conftest.tail
63368 while grep . conftest.undefs >/dev/null
63369 do
63370   # Write a limited-size here document to $tmp/undefs.sed.
63371   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
63372   # Speed up: don't consider the non `#undef'
63373   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
63374   # Work around the forget-to-reset-the-flag bug.
63375   echo 't clr' >>$CONFIG_STATUS
63376   echo ': clr' >>$CONFIG_STATUS
63377   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
63378   echo 'CEOF
63379   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
63380   rm -f $tmp/in
63381   mv $tmp/out $tmp/in
63382 ' >>$CONFIG_STATUS
63383   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
63384   rm -f conftest.undefs
63385   mv conftest.tail conftest.undefs
63386 done
63387 rm -f conftest.undefs
63388
63389 cat >>$CONFIG_STATUS <<\_ACEOF
63390   # Let's still pretend it is `configure' which instantiates (i.e., don't
63391   # use $as_me), people would be surprised to read:
63392   #    /* config.h.  Generated by config.status.  */
63393   if test x"$ac_file" = x-; then
63394     echo "/* Generated by configure.  */" >$tmp/config.h
63395   else
63396     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
63397   fi
63398   cat $tmp/in >>$tmp/config.h
63399   rm -f $tmp/in
63400   if test x"$ac_file" != x-; then
63401     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
63402       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
63403 echo "$as_me: $ac_file is unchanged" >&6;}
63404     else
63405       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63407          X"$ac_file" : 'X\(//\)[^/]' \| \
63408          X"$ac_file" : 'X\(//\)$' \| \
63409          X"$ac_file" : 'X\(/\)' \| \
63410          .     : '\(.\)' 2>/dev/null ||
63411 echo X"$ac_file" |
63412     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63413           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63414           /^X\(\/\/\)$/{ s//\1/; q; }
63415           /^X\(\/\).*/{ s//\1/; q; }
63416           s/.*/./; q'`
63417       { if $as_mkdir_p; then
63418     mkdir -p "$ac_dir"
63419   else
63420     as_dir="$ac_dir"
63421     as_dirs=
63422     while test ! -d "$as_dir"; do
63423       as_dirs="$as_dir $as_dirs"
63424       as_dir=`(dirname "$as_dir") 2>/dev/null ||
63425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63426          X"$as_dir" : 'X\(//\)[^/]' \| \
63427          X"$as_dir" : 'X\(//\)$' \| \
63428          X"$as_dir" : 'X\(/\)' \| \
63429          .     : '\(.\)' 2>/dev/null ||
63430 echo X"$as_dir" |
63431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63432           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63433           /^X\(\/\/\)$/{ s//\1/; q; }
63434           /^X\(\/\).*/{ s//\1/; q; }
63435           s/.*/./; q'`
63436     done
63437     test ! -n "$as_dirs" || mkdir $as_dirs
63438   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63439 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63440    { (exit 1); exit 1; }; }; }
63441
63442       rm -f $ac_file
63443       mv $tmp/config.h $ac_file
63444     fi
63445   else
63446     cat $tmp/config.h
63447     rm -f $tmp/config.h
63448   fi
63449 # Compute $ac_file's index in $config_headers.
63450 _am_stamp_count=1
63451 for _am_header in $config_headers :; do
63452   case $_am_header in
63453     $ac_file | $ac_file:* )
63454       break ;;
63455     * )
63456       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
63457   esac
63458 done
63459 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
63460 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63461          X$ac_file : 'X\(//\)[^/]' \| \
63462          X$ac_file : 'X\(//\)$' \| \
63463          X$ac_file : 'X\(/\)' \| \
63464          .     : '\(.\)' 2>/dev/null ||
63465 echo X$ac_file |
63466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63467           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63468           /^X\(\/\/\)$/{ s//\1/; q; }
63469           /^X\(\/\).*/{ s//\1/; q; }
63470           s/.*/./; q'`/stamp-h$_am_stamp_count
63471 done
63472 _ACEOF
63473 cat >>$CONFIG_STATUS <<\_ACEOF
63474
63475 #
63476 # CONFIG_COMMANDS section.
63477 #
63478 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
63479   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
63480   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
63481   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
63482 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63483          X"$ac_dest" : 'X\(//\)[^/]' \| \
63484          X"$ac_dest" : 'X\(//\)$' \| \
63485          X"$ac_dest" : 'X\(/\)' \| \
63486          .     : '\(.\)' 2>/dev/null ||
63487 echo X"$ac_dest" |
63488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63489           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63490           /^X\(\/\/\)$/{ s//\1/; q; }
63491           /^X\(\/\).*/{ s//\1/; q; }
63492           s/.*/./; q'`
63493   ac_builddir=.
63494
63495 if test "$ac_dir" != .; then
63496   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63497   # A "../" for each directory in $ac_dir_suffix.
63498   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63499 else
63500   ac_dir_suffix= ac_top_builddir=
63501 fi
63502
63503 case $srcdir in
63504   .)  # No --srcdir option.  We are building in place.
63505     ac_srcdir=.
63506     if test -z "$ac_top_builddir"; then
63507        ac_top_srcdir=.
63508     else
63509        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63510     fi ;;
63511   [\\/]* | ?:[\\/]* )  # Absolute path.
63512     ac_srcdir=$srcdir$ac_dir_suffix;
63513     ac_top_srcdir=$srcdir ;;
63514   *) # Relative path.
63515     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63516     ac_top_srcdir=$ac_top_builddir$srcdir ;;
63517 esac
63518 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63519 # absolute.
63520 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63521 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63522 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63523 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63524
63525
63526   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
63527 echo "$as_me: executing $ac_dest commands" >&6;}
63528   case $ac_dest in
63529     default-1 )
63530 # Only add multilib support code if we just rebuilt the top-level
63531 # Makefile.
63532 case " $CONFIG_FILES " in
63533  *" Makefile "*)
63534    ac_file=Makefile . ${multi_basedir}/config-ml.in
63535    ;;
63536 esac ;;
63537     default ) if test -n "$CONFIG_FILES"; then
63538    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
63539    # that multilib installs will end up installed in the correct place.
63540    # The testsuite needs it for multilib-aware ABI baseline files.
63541    # To work around this not being passed down from config-ml.in ->
63542    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
63543    # append it here.  Only modify Makefiles that have just been created.
63544    #
63545    # Also, get rid of this simulated-VPATH thing that automake does.
63546    cat > vpsed << \_EOF
63547 s!`test -f '$<' || echo '$(srcdir)/'`!!
63548 _EOF
63549    for i in $SUBDIRS; do
63550     case $CONFIG_FILES in
63551      *${i}/Makefile*)
63552        #echo "Adding MULTISUBDIR to $i/Makefile"
63553        sed -f vpsed $i/Makefile > tmp
63554        grep '^MULTISUBDIR =' Makefile >> tmp
63555        mv tmp $i/Makefile
63556        ;;
63557     esac
63558    done
63559    rm vpsed
63560  fi
63561  (cd include && ${MAKE-make})
63562  ;;
63563   esac
63564 done
63565 _ACEOF
63566
63567 cat >>$CONFIG_STATUS <<\_ACEOF
63568
63569 { (exit 0); exit 0; }
63570 _ACEOF
63571 chmod +x $CONFIG_STATUS
63572 ac_clean_files=$ac_clean_files_save
63573
63574
63575 # configure is writing to config.log, and then calls config.status.
63576 # config.status does its own redirection, appending to config.log.
63577 # Unfortunately, on DOS this fails, as config.log is still kept open
63578 # by configure, so config.status won't be able to write to it; its
63579 # output is simply discarded.  So we exec the FD to /dev/null,
63580 # effectively closing config.log, so it can be properly (re)opened and
63581 # appended to by config.status.  When coming back to configure, we
63582 # need to make the FD available again.
63583 if test "$no_create" != yes; then
63584   ac_cs_success=:
63585   ac_config_status_args=
63586   test "$silent" = yes &&
63587     ac_config_status_args="$ac_config_status_args --quiet"
63588   exec 5>/dev/null
63589   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
63590   exec 5>>config.log
63591   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
63592   # would make configure fail if this is the last instruction.
63593   $ac_cs_success || { (exit 1); exit 1; }
63594 fi
63595