crossconfig.m4 (*-darwin*): Add a large and boring stanza for crosses to Darwin targets.
[platform/upstream/gcc.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 LIBUNWIND_FLAG GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H FPOS_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 FPOS_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   --enable-sjlj-exceptions
854                           force use of builtin_setjmp for exceptions
855                           [default=auto]
856   --enable-libunwind-exceptions
857                           force use of libunwind for exceptions
858                           [default=no]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=yes]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-cheaders=KIND  construct "C" headers for g++
868                           [default=$c_model]
869   --enable-c-mbchar       enable multibyte (wide) characters
870                           [default=yes]
871   --enable-c99            turns on ISO/IEC 9899:1999 support
872                           [default=yes]
873   --enable-long-long      enables I/O support for 'long long'
874                           [default=yes]
875   --enable-concept-checks use Boost-derived template checks [default=no]
876   --enable-libstdcxx-debug-flags=FLAGS
877                           pass compiler FLAGS when building debug library
878                           [default="-g3 -O0"]
879   --enable-libstdcxx-debug
880                           build extra debug library [default=no]
881   --enable-cxx-flags=FLAGS
882                           pass compiler FLAGS when building library
883                           [default=]
884   --enable-symvers=STYLE  enables symbol versioning of the shared library
885                           [default=yes]
886   --enable-version-specific-runtime-libs
887                           Specify that runtime libraries should be installed
888                           in a compiler-specific directory
889
890 Optional Packages:
891   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
892   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
893   --with-target-subdir=SUBDIR
894                           configuring in a subdirectory
895   --with-cross-host=HOST  configuring with a cross compiler
896   --with-newlib           assume newlib as a system C library
897   --with-gnu-ld           assume the C compiler uses GNU ld default=no
898   --with-pic              try to use only PIC/non-PIC objects default=use both
899   --with-gxx-include-dir=DIR
900                           installation directory for include files
901
902 Some influential environment variables:
903   CC          C compiler command
904   CFLAGS      C compiler flags
905   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
906               nonstandard directory <lib dir>
907   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
908               headers in a nonstandard directory <include dir>
909   CXX         C++ compiler command
910   CXXFLAGS    C++ compiler flags
911   CXXCPP      C++ preprocessor
912   CPP         C preprocessor
913
914 Use these variables to override the choices made by `configure' or to help
915 it to find libraries and programs with nonstandard names/locations.
916
917 _ACEOF
918 fi
919
920 if test "$ac_init_help" = "recursive"; then
921   # If there are subdirs, report their specific --help.
922   ac_popdir=`pwd`
923   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
924     test -d $ac_dir || continue
925     ac_builddir=.
926
927 if test "$ac_dir" != .; then
928   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
929   # A "../" for each directory in $ac_dir_suffix.
930   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
931 else
932   ac_dir_suffix= ac_top_builddir=
933 fi
934
935 case $srcdir in
936   .)  # No --srcdir option.  We are building in place.
937     ac_srcdir=.
938     if test -z "$ac_top_builddir"; then
939        ac_top_srcdir=.
940     else
941        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
942     fi ;;
943   [\\/]* | ?:[\\/]* )  # Absolute path.
944     ac_srcdir=$srcdir$ac_dir_suffix;
945     ac_top_srcdir=$srcdir ;;
946   *) # Relative path.
947     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
948     ac_top_srcdir=$ac_top_builddir$srcdir ;;
949 esac
950 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
951 # absolute.
952 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
953 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
954 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
955 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
956
957     cd $ac_dir
958     # Check for guested configure; otherwise get Cygnus style configure.
959     if test -f $ac_srcdir/configure.gnu; then
960       echo
961       $SHELL $ac_srcdir/configure.gnu  --help=recursive
962     elif test -f $ac_srcdir/configure; then
963       echo
964       $SHELL $ac_srcdir/configure  --help=recursive
965     elif test -f $ac_srcdir/configure.ac ||
966            test -f $ac_srcdir/configure.in; then
967       echo
968       $ac_configure --help
969     else
970       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971     fi
972     cd $ac_popdir
973   done
974 fi
975
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
978   cat <<\_ACEOF
979 package-unused configure version-unused
980 generated by GNU Autoconf 2.57
981
982 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
983 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987   exit 0
988 fi
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
993
994 It was created by package-unused $as_me version-unused, which was
995 generated by GNU Autoconf 2.57.  Invocation command line was
996
997   $ $0 $@
998
999 _ACEOF
1000 {
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1005
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1014
1015 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1016 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1019 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1020 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1021 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1022
1023 _ASUNAME
1024
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1027 do
1028   IFS=$as_save_IFS
1029   test -z "$as_dir" && as_dir=.
1030   echo "PATH: $as_dir"
1031 done
1032
1033 } >&5
1034
1035 cat >&5 <<_ACEOF
1036
1037
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1041
1042 _ACEOF
1043
1044
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1056 do
1057   for ac_arg
1058   do
1059     case $ac_arg in
1060     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062     | -silent | --silent | --silen | --sile | --sil)
1063       continue ;;
1064     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066     esac
1067     case $ac_pass in
1068     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069     2)
1070       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071       if test $ac_must_keep_next = true; then
1072         ac_must_keep_next=false # Got value, back to normal.
1073       else
1074         case $ac_arg in
1075           *=* | --config-cache | -C | -disable-* | --disable-* \
1076           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078           | -with-* | --with-* | -without-* | --without-* | --x)
1079             case "$ac_configure_args0 " in
1080               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081             esac
1082             ;;
1083           -* ) ac_must_keep_next=true ;;
1084         esac
1085       fi
1086       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087       # Get rid of the leading space.
1088       ac_sep=" "
1089       ;;
1090     esac
1091   done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log.  We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102   # Save into config.log some information that might help in debugging.
1103   {
1104     echo
1105
1106     cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111     echo
1112     # The following way of writing the cache mishandles newlines in values,
1113 {
1114   (set) 2>&1 |
1115     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116     *ac_space=\ *)
1117       sed -n \
1118         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120       ;;
1121     *)
1122       sed -n \
1123         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124       ;;
1125     esac;
1126 }
1127     echo
1128
1129     cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134     echo
1135     for ac_var in $ac_subst_vars
1136     do
1137       eval ac_val=$`echo $ac_var`
1138       echo "$ac_var='"'"'$ac_val'"'"'"
1139     done | sort
1140     echo
1141
1142     if test -n "$ac_subst_files"; then
1143       cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148       echo
1149       for ac_var in $ac_subst_files
1150       do
1151         eval ac_val=$`echo $ac_var`
1152         echo "$ac_var='"'"'$ac_val'"'"'"
1153       done | sort
1154       echo
1155     fi
1156
1157     if test -s confdefs.h; then
1158       cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163       echo
1164       sed "/^$/d" confdefs.h | sort
1165       echo
1166     fi
1167     test "$ac_signal" != 0 &&
1168       echo "$as_me: caught signal $ac_signal"
1169     echo "$as_me: exit $exit_status"
1170   } >&5
1171   rm -f core core.* *.core &&
1172   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173     exit $exit_status
1174      ' 0
1175 for ac_signal in 1 2 13 15; do
1176   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1179
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1184
1185 # Predefined preprocessor variables.
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1210
1211
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215   if test "x$prefix" != xNONE; then
1216     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217   else
1218     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219   fi
1220 fi
1221 for ac_site_file in $CONFIG_SITE; do
1222   if test -r "$ac_site_file"; then
1223     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225     sed 's/^/| /' "$ac_site_file" >&5
1226     . "$ac_site_file"
1227   fi
1228 done
1229
1230 if test -r "$cache_file"; then
1231   # Some versions of bash will fail to source /dev/null (special
1232   # files actually), so we avoid doing that.
1233   if test -f "$cache_file"; then
1234     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236     case $cache_file in
1237       [\\/]* | ?:[\\/]* ) . $cache_file;;
1238       *)                      . ./$cache_file;;
1239     esac
1240   fi
1241 else
1242   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244   >$cache_file
1245 fi
1246
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253   eval ac_new_set=\$ac_env_${ac_var}_set
1254   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255   eval ac_new_val="\$ac_env_${ac_var}_value"
1256   case $ac_old_set,$ac_new_set in
1257     set,)
1258       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260       ac_cache_corrupted=: ;;
1261     ,set)
1262       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264       ac_cache_corrupted=: ;;
1265     ,);;
1266     *)
1267       if test "x$ac_old_val" != "x$ac_new_val"; then
1268         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1271 echo "$as_me:   former value:  $ac_old_val" >&2;}
1272         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1273 echo "$as_me:   current value: $ac_new_val" >&2;}
1274         ac_cache_corrupted=:
1275       fi;;
1276   esac
1277   # Pass precious variables to config.status.
1278   if test "$ac_new_set" = set; then
1279     case $ac_new_val in
1280     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282     *) ac_arg=$ac_var=$ac_new_val ;;
1283     esac
1284     case " $ac_configure_args " in
1285       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1286       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287     esac
1288   fi
1289 done
1290 if $ac_cache_corrupted; then
1291   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295    { (exit 1); exit 1; }; }
1296 fi
1297
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331           ac_config_headers="$ac_config_headers config.h"
1332
1333
1334 # This works around the fact that libtool configuration may change LD
1335 # for this particular configuration, but some shells, instead of
1336 # keeping the changes in LD private, export them just because LD is
1337 # exported.  Only used at the end of this file.
1338 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1339
1340 # For libtool versioning info, format is CURRENT:REVISION:AGE
1341 libtool_VERSION=6:0:0
1342
1343
1344 # Find the rest of the source tree framework.
1345
1346   # Sets up multi_basedir, which is srcdir/.. plus the usual
1347   # "multi_source_toprel_bottom_adjust" lunacy as needed.
1348   # Default to --enable-multilib
1349 # Check whether --enable-multilib or --disable-multilib was given.
1350 if test "${enable_multilib+set}" = set; then
1351   enableval="$enable_multilib"
1352   case "$enableval" in
1353   yes) multilib=yes ;;
1354   no)  multilib=no ;;
1355   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1356 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1357    { (exit 1); exit 1; }; } ;;
1358  esac
1359 else
1360   multilib=yes
1361 fi;
1362
1363 # We may get other options which we leave undocumented:
1364 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1365 # See config-ml.in if you want the gory details.
1366
1367 if test "$srcdir" = "."; then
1368   if test "$with_target_subdir" != "."; then
1369     multi_basedir="$srcdir/$with_multisrctop../.."
1370   else
1371     multi_basedir="$srcdir/$with_multisrctop.."
1372   fi
1373 else
1374   multi_basedir="$srcdir/.."
1375 fi
1376
1377
1378           ac_config_commands="$ac_config_commands default-1"
1379
1380
1381   # The generated code is exactly the same, except that automake's looks in
1382   # ".. $srcdir/.." and autoconf's looks in multi_basedir.  Apparently other
1383   # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1384   # know what they are or what the other differences might be (and they keep
1385   # changing anyhow).
1386   #
1387   # Looking in multi_basedir seems smarter, so actually execute that branch.
1388   if false; then
1389     # this is for automake
1390     ac_aux_dir=
1391 for ac_dir in .. $srcdir/..; do
1392   if test -f $ac_dir/install-sh; then
1393     ac_aux_dir=$ac_dir
1394     ac_install_sh="$ac_aux_dir/install-sh -c"
1395     break
1396   elif test -f $ac_dir/install.sh; then
1397     ac_aux_dir=$ac_dir
1398     ac_install_sh="$ac_aux_dir/install.sh -c"
1399     break
1400   elif test -f $ac_dir/shtool; then
1401     ac_aux_dir=$ac_dir
1402     ac_install_sh="$ac_aux_dir/shtool install -c"
1403     break
1404   fi
1405 done
1406 if test -z "$ac_aux_dir"; then
1407   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1408 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1409    { (exit 1); exit 1; }; }
1410 fi
1411 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1412 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1413 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1414
1415   else
1416     # this is for autoconf
1417     ac_aux_dir=
1418 for ac_dir in ${multi_basedir}; do
1419   if test -f $ac_dir/install-sh; then
1420     ac_aux_dir=$ac_dir
1421     ac_install_sh="$ac_aux_dir/install-sh -c"
1422     break
1423   elif test -f $ac_dir/install.sh; then
1424     ac_aux_dir=$ac_dir
1425     ac_install_sh="$ac_aux_dir/install.sh -c"
1426     break
1427   elif test -f $ac_dir/shtool; then
1428     ac_aux_dir=$ac_dir
1429     ac_install_sh="$ac_aux_dir/shtool install -c"
1430     break
1431   fi
1432 done
1433 if test -z "$ac_aux_dir"; then
1434   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1435 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1436    { (exit 1); exit 1; }; }
1437 fi
1438 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1439 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1440 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1441
1442   fi
1443
1444
1445
1446 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1447 #
1448 # You will slowly go insane if you do not grok the following fact:  when
1449 # building v3 as part of the compiler, the top-level /target/ becomes the
1450 # library's /host/.  configure then causes --target to default to --host,
1451 # exactly like any other package using autoconf.  Therefore, 'target' and
1452 # 'host' will always be the same.  This makes sense both for native and
1453 # cross compilers, just think about it for a little while.  :-)
1454 #
1455 # Also, if v3 is being configured as part of a cross compiler, the top-level
1456 # configure script will pass the "real" host as $with_cross_host.
1457 #
1458 # Do not delete or change the following two lines.  For why, see
1459 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1460 # Make sure we can run config.sub.
1461 $ac_config_sub sun4 >/dev/null 2>&1 ||
1462   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1463 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1464    { (exit 1); exit 1; }; }
1465
1466 echo "$as_me:$LINENO: checking build system type" >&5
1467 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1468 if test "${ac_cv_build+set}" = set; then
1469   echo $ECHO_N "(cached) $ECHO_C" >&6
1470 else
1471   ac_cv_build_alias=$build_alias
1472 test -z "$ac_cv_build_alias" &&
1473   ac_cv_build_alias=`$ac_config_guess`
1474 test -z "$ac_cv_build_alias" &&
1475   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1476 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1477    { (exit 1); exit 1; }; }
1478 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1479   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1480 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1481    { (exit 1); exit 1; }; }
1482
1483 fi
1484 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1485 echo "${ECHO_T}$ac_cv_build" >&6
1486 build=$ac_cv_build
1487 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1488 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1489 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1490
1491
1492 echo "$as_me:$LINENO: checking host system type" >&5
1493 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1494 if test "${ac_cv_host+set}" = set; then
1495   echo $ECHO_N "(cached) $ECHO_C" >&6
1496 else
1497   ac_cv_host_alias=$host_alias
1498 test -z "$ac_cv_host_alias" &&
1499   ac_cv_host_alias=$ac_cv_build_alias
1500 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1501   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1502 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1503    { (exit 1); exit 1; }; }
1504
1505 fi
1506 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1507 echo "${ECHO_T}$ac_cv_host" >&6
1508 host=$ac_cv_host
1509 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1510 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1511 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1512
1513
1514 echo "$as_me:$LINENO: checking target system type" >&5
1515 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1516 if test "${ac_cv_target+set}" = set; then
1517   echo $ECHO_N "(cached) $ECHO_C" >&6
1518 else
1519   ac_cv_target_alias=$target_alias
1520 test "x$ac_cv_target_alias" = "x" &&
1521   ac_cv_target_alias=$ac_cv_host_alias
1522 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1523   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1524 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1525    { (exit 1); exit 1; }; }
1526
1527 fi
1528 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1529 echo "${ECHO_T}$ac_cv_target" >&6
1530 target=$ac_cv_target
1531 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1532 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1533 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1534
1535
1536 # The aliases save the names the user supplied, while $host etc.
1537 # will get canonicalized.
1538 test -n "$target_alias" &&
1539   test "$program_prefix$program_suffix$program_transform_name" = \
1540     NONENONEs,x,x, &&
1541   program_prefix=${target_alias}-
1542 target_alias=${target_alias-$host_alias}
1543
1544 # Handy for debugging:
1545 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1546
1547 if test "$build" != "$host"; then
1548   # We are being configured with some form of cross compiler.
1549   GLIBCXX_IS_NATIVE=false
1550   # GCC_NO_EXECUTABLES
1551 else
1552   GLIBCXX_IS_NATIVE=true
1553 fi
1554
1555 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1556 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1557 #  1.x:  minimum required version
1558 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1559 #              of other PACKAGE_* variables will, however, and there's nothing
1560 #              we can do about that; they come from AC_INIT).
1561 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1562 #            file in the top srcdir, etc, etc), so stop complaining.
1563 #  no-dependencies:  turns off auto dependency generation (just for now)
1564 #  -Wall:  turns on all automake warnings
1565 am__api_version="1.7"
1566 # Find a good install program.  We prefer a C program (faster),
1567 # so one script is as good as another.  But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1572 # AIX /bin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # ./install, which can be erroneously created by make from ./install.sh.
1578 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1579 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1580 if test -z "$INSTALL"; then
1581 if test "${ac_cv_path_install+set}" = set; then
1582   echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1585 for as_dir in $PATH
1586 do
1587   IFS=$as_save_IFS
1588   test -z "$as_dir" && as_dir=.
1589   # Account for people who put trailing slashes in PATH elements.
1590 case $as_dir/ in
1591   ./ | .// | /cC/* | \
1592   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1593   /usr/ucb/* ) ;;
1594   *)
1595     # OSF1 and SCO ODT 3.0 have their own names for install.
1596     # Don't use installbsd from OSF since it installs stuff as root
1597     # by default.
1598     for ac_prog in ginstall scoinst install; do
1599       for ac_exec_ext in '' $ac_executable_extensions; do
1600         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1601           if test $ac_prog = install &&
1602             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1603             # AIX install.  It has an incompatible calling convention.
1604             :
1605           elif test $ac_prog = install &&
1606             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1607             # program-specific install script used by HP pwplus--don't use.
1608             :
1609           else
1610             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1611             break 3
1612           fi
1613         fi
1614       done
1615     done
1616     ;;
1617 esac
1618 done
1619
1620
1621 fi
1622   if test "${ac_cv_path_install+set}" = set; then
1623     INSTALL=$ac_cv_path_install
1624   else
1625     # As a last resort, use the slow shell script.  We don't cache a
1626     # path for INSTALL within a source directory, because that will
1627     # break other packages using the cache if that directory is
1628     # removed, or if the path is relative.
1629     INSTALL=$ac_install_sh
1630   fi
1631 fi
1632 echo "$as_me:$LINENO: result: $INSTALL" >&5
1633 echo "${ECHO_T}$INSTALL" >&6
1634
1635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1636 # It thinks the first close brace ends the variable substitution.
1637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1638
1639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1640
1641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1642
1643 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1644 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1645 # Just in case
1646 sleep 1
1647 echo timestamp > conftest.file
1648 # Do `set' in a subshell so we don't clobber the current shell's
1649 # arguments.  Must try -L first in case configure is actually a
1650 # symlink; some systems play weird games with the mod time of symlinks
1651 # (eg FreeBSD returns the mod time of the symlink's containing
1652 # directory).
1653 if (
1654    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1655    if test "$*" = "X"; then
1656       # -L didn't work.
1657       set X `ls -t $srcdir/configure conftest.file`
1658    fi
1659    rm -f conftest.file
1660    if test "$*" != "X $srcdir/configure conftest.file" \
1661       && test "$*" != "X conftest.file $srcdir/configure"; then
1662
1663       # If neither matched, then we have a broken ls.  This can happen
1664       # if, for instance, CONFIG_SHELL is bash and it inherits a
1665       # broken ls alias from the environment.  This has actually
1666       # happened.  Such a system could not be considered "sane".
1667       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&5
1669 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1670 alias in your environment" >&2;}
1671    { (exit 1); exit 1; }; }
1672    fi
1673
1674    test "$2" = conftest.file
1675    )
1676 then
1677    # Ok.
1678    :
1679 else
1680    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1681 Check your system clock" >&5
1682 echo "$as_me: error: newly created file is older than distributed files!
1683 Check your system clock" >&2;}
1684    { (exit 1); exit 1; }; }
1685 fi
1686 echo "$as_me:$LINENO: result: yes" >&5
1687 echo "${ECHO_T}yes" >&6
1688 test "$program_prefix" != NONE &&
1689   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1690 # Use a double $ so make ignores it.
1691 test "$program_suffix" != NONE &&
1692   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1693 # Double any \ or $.  echo might interpret backslashes.
1694 # By default was `s,x,x', remove it if useless.
1695 cat <<\_ACEOF >conftest.sed
1696 s/[\\$]/&&/g;s/;s,x,x,$//
1697 _ACEOF
1698 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1699 rm conftest.sed
1700
1701
1702 # expand $ac_aux_dir to an absolute path
1703 am_aux_dir=`cd $ac_aux_dir && pwd`
1704
1705 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1706 # Use eval to expand $SHELL
1707 if eval "$MISSING --run true"; then
1708   am_missing_run="$MISSING --run "
1709 else
1710   am_missing_run=
1711   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1712 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1713 fi
1714
1715 for ac_prog in gawk mawk nawk awk
1716 do
1717   # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy $ac_prog; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_AWK+set}" = set; then
1722   echo $ECHO_N "(cached) $ECHO_C" >&6
1723 else
1724   if test -n "$AWK"; then
1725   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1726 else
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 for as_dir in $PATH
1729 do
1730   IFS=$as_save_IFS
1731   test -z "$as_dir" && as_dir=.
1732   for ac_exec_ext in '' $ac_executable_extensions; do
1733   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734     ac_cv_prog_AWK="$ac_prog"
1735     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736     break 2
1737   fi
1738 done
1739 done
1740
1741 fi
1742 fi
1743 AWK=$ac_cv_prog_AWK
1744 if test -n "$AWK"; then
1745   echo "$as_me:$LINENO: result: $AWK" >&5
1746 echo "${ECHO_T}$AWK" >&6
1747 else
1748   echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1750 fi
1751
1752   test -n "$AWK" && break
1753 done
1754
1755 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1757 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1758 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1759   echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761   cat >conftest.make <<\_ACEOF
1762 all:
1763         @echo 'ac_maketemp="$(MAKE)"'
1764 _ACEOF
1765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1766 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1767 if test -n "$ac_maketemp"; then
1768   eval ac_cv_prog_make_${ac_make}_set=yes
1769 else
1770   eval ac_cv_prog_make_${ac_make}_set=no
1771 fi
1772 rm -f conftest.make
1773 fi
1774 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1775   echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1777   SET_MAKE=
1778 else
1779   echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781   SET_MAKE="MAKE=${MAKE-make}"
1782 fi
1783
1784 rm -rf .tst 2>/dev/null
1785 mkdir .tst 2>/dev/null
1786 if test -d .tst; then
1787   am__leading_dot=.
1788 else
1789   am__leading_dot=_
1790 fi
1791 rmdir .tst 2>/dev/null
1792
1793  # test to see if srcdir already configured
1794 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1795    test -f $srcdir/config.status; then
1796   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1797 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1798    { (exit 1); exit 1; }; }
1799 fi
1800
1801 # test whether we have cygpath
1802 if test -z "$CYGPATH_W"; then
1803   if (cygpath --version) >/dev/null 2>/dev/null; then
1804     CYGPATH_W='cygpath -w'
1805   else
1806     CYGPATH_W=echo
1807   fi
1808 fi
1809
1810
1811 # Define the identity of the package.
1812  PACKAGE='libstdc++'
1813  VERSION='version-unused'
1814
1815
1816 # Some tools Automake needs.
1817
1818 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1819
1820
1821 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1822
1823
1824 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1825
1826
1827 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1828
1829
1830 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1831
1832
1833 AMTAR=${AMTAR-"${am_missing_run}tar"}
1834
1835 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1836
1837 # Installed binaries are usually stripped using `strip' when the user
1838 # run `make install-strip'.  However `strip' might not be the right
1839 # tool to use in cross-compilation environments, therefore Automake
1840 # will honor the `STRIP' environment variable to overrule this program.
1841 if test "$cross_compiling" != no; then
1842   if test -n "$ac_tool_prefix"; then
1843   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1844 set dummy ${ac_tool_prefix}strip; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_STRIP+set}" = set; then
1848   echo $ECHO_N "(cached) $ECHO_C" >&6
1849 else
1850   if test -n "$STRIP"; then
1851   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1852 else
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 for as_dir in $PATH
1855 do
1856   IFS=$as_save_IFS
1857   test -z "$as_dir" && as_dir=.
1858   for ac_exec_ext in '' $ac_executable_extensions; do
1859   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1861     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862     break 2
1863   fi
1864 done
1865 done
1866
1867 fi
1868 fi
1869 STRIP=$ac_cv_prog_STRIP
1870 if test -n "$STRIP"; then
1871   echo "$as_me:$LINENO: result: $STRIP" >&5
1872 echo "${ECHO_T}$STRIP" >&6
1873 else
1874   echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1876 fi
1877
1878 fi
1879 if test -z "$ac_cv_prog_STRIP"; then
1880   ac_ct_STRIP=$STRIP
1881   # Extract the first word of "strip", so it can be a program name with args.
1882 set dummy strip; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1886   echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888   if test -n "$ac_ct_STRIP"; then
1889   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1890 else
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1893 do
1894   IFS=$as_save_IFS
1895   test -z "$as_dir" && as_dir=.
1896   for ac_exec_ext in '' $ac_executable_extensions; do
1897   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898     ac_cv_prog_ac_ct_STRIP="strip"
1899     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900     break 2
1901   fi
1902 done
1903 done
1904
1905   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1906 fi
1907 fi
1908 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1909 if test -n "$ac_ct_STRIP"; then
1910   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1911 echo "${ECHO_T}$ac_ct_STRIP" >&6
1912 else
1913   echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1915 fi
1916
1917   STRIP=$ac_ct_STRIP
1918 else
1919   STRIP="$ac_cv_prog_STRIP"
1920 fi
1921
1922 fi
1923 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1924
1925 # We need awk for the "check" target.  The system "awk" is bad on
1926 # some platforms.
1927
1928
1929
1930
1931 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1932 # up critical shell variables.
1933
1934
1935   # These need to be absolute paths, yet at the same time need to
1936   # canonicalize only relative paths, because then amd will not unmount
1937   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1938   glibcxx_builddir=`${PWDCMD-pwd}`
1939   case $srcdir in
1940     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1941     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1942   esac
1943   toplevel_srcdir=${glibcxx_srcdir}/..
1944
1945
1946
1947
1948   # We use these options to decide which functions to include.  They are
1949   # set from the top level.
1950
1951 # Check whether --with-target-subdir or --without-target-subdir was given.
1952 if test "${with_target_subdir+set}" = set; then
1953   withval="$with_target_subdir"
1954
1955 fi;
1956
1957
1958 # Check whether --with-cross-host or --without-cross-host was given.
1959 if test "${with_cross_host+set}" = set; then
1960   withval="$with_cross_host"
1961
1962 fi;
1963
1964
1965 # Check whether --with-newlib or --without-newlib was given.
1966 if test "${with_newlib+set}" = set; then
1967   withval="$with_newlib"
1968
1969 fi;
1970
1971   # We're almost certainly being configured before anything else which uses
1972   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1973   # we not cache the value of CXX that we "discover" here, because it's set
1974   # to something unique for us and libjava.  Other target libraries need to
1975   # find CXX for themselves.  We yank the rug out from under the normal AC_*
1976   # process by sneakily renaming the cache variable.  This also lets us debug
1977   # the value of "our" CXX in postmortems.
1978   #
1979   # We must also force CXX to /not/ be a precious variable, otherwise the
1980   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
1981   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
1982   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1983   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1984   #
1985   # -fno-builtin must be present here so that a non-conflicting form of
1986   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1987
1988
1989
1990
1991   save_CXXFLAGS="$CXXFLAGS"
1992   CXXFLAGS="$CXXFLAGS -fno-builtin"
1993   ac_ext=c
1994 ac_cpp='$CPP $CPPFLAGS'
1995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1998 if test -n "$ac_tool_prefix"; then
1999   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2000 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_CC+set}" = set; then
2004   echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006   if test -n "$CC"; then
2007   ac_cv_prog_CC="$CC" # Let the user override the test.
2008 else
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 for as_dir in $PATH
2011 do
2012   IFS=$as_save_IFS
2013   test -z "$as_dir" && as_dir=.
2014   for ac_exec_ext in '' $ac_executable_extensions; do
2015   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2017     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018     break 2
2019   fi
2020 done
2021 done
2022
2023 fi
2024 fi
2025 CC=$ac_cv_prog_CC
2026 if test -n "$CC"; then
2027   echo "$as_me:$LINENO: result: $CC" >&5
2028 echo "${ECHO_T}$CC" >&6
2029 else
2030   echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2032 fi
2033
2034 fi
2035 if test -z "$ac_cv_prog_CC"; then
2036   ac_ct_CC=$CC
2037   # Extract the first word of "gcc", so it can be a program name with args.
2038 set dummy gcc; ac_word=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2042   echo $ECHO_N "(cached) $ECHO_C" >&6
2043 else
2044   if test -n "$ac_ct_CC"; then
2045   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2046 else
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2049 do
2050   IFS=$as_save_IFS
2051   test -z "$as_dir" && as_dir=.
2052   for ac_exec_ext in '' $ac_executable_extensions; do
2053   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054     ac_cv_prog_ac_ct_CC="gcc"
2055     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056     break 2
2057   fi
2058 done
2059 done
2060
2061 fi
2062 fi
2063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2064 if test -n "$ac_ct_CC"; then
2065   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2066 echo "${ECHO_T}$ac_ct_CC" >&6
2067 else
2068   echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6
2070 fi
2071
2072   CC=$ac_ct_CC
2073 else
2074   CC="$ac_cv_prog_CC"
2075 fi
2076
2077 if test -z "$CC"; then
2078   if test -n "$ac_tool_prefix"; then
2079   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}cc; ac_word=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_CC+set}" = set; then
2084   echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086   if test -n "$CC"; then
2087   ac_cv_prog_CC="$CC" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2091 do
2092   IFS=$as_save_IFS
2093   test -z "$as_dir" && as_dir=.
2094   for ac_exec_ext in '' $ac_executable_extensions; do
2095   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096     ac_cv_prog_CC="${ac_tool_prefix}cc"
2097     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098     break 2
2099   fi
2100 done
2101 done
2102
2103 fi
2104 fi
2105 CC=$ac_cv_prog_CC
2106 if test -n "$CC"; then
2107   echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6
2109 else
2110   echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2112 fi
2113
2114 fi
2115 if test -z "$ac_cv_prog_CC"; then
2116   ac_ct_CC=$CC
2117   # Extract the first word of "cc", so it can be a program name with args.
2118 set dummy cc; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2122   echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124   if test -n "$ac_ct_CC"; then
2125   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2129 do
2130   IFS=$as_save_IFS
2131   test -z "$as_dir" && as_dir=.
2132   for ac_exec_ext in '' $ac_executable_extensions; do
2133   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134     ac_cv_prog_ac_ct_CC="cc"
2135     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136     break 2
2137   fi
2138 done
2139 done
2140
2141 fi
2142 fi
2143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2144 if test -n "$ac_ct_CC"; then
2145   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2146 echo "${ECHO_T}$ac_ct_CC" >&6
2147 else
2148   echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2150 fi
2151
2152   CC=$ac_ct_CC
2153 else
2154   CC="$ac_cv_prog_CC"
2155 fi
2156
2157 fi
2158 if test -z "$CC"; then
2159   # Extract the first word of "cc", so it can be a program name with args.
2160 set dummy cc; ac_word=$2
2161 echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164   echo $ECHO_N "(cached) $ECHO_C" >&6
2165 else
2166   if test -n "$CC"; then
2167   ac_cv_prog_CC="$CC" # Let the user override the test.
2168 else
2169   ac_prog_rejected=no
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2172 do
2173   IFS=$as_save_IFS
2174   test -z "$as_dir" && as_dir=.
2175   for ac_exec_ext in '' $ac_executable_extensions; do
2176   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2178        ac_prog_rejected=yes
2179        continue
2180      fi
2181     ac_cv_prog_CC="cc"
2182     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183     break 2
2184   fi
2185 done
2186 done
2187
2188 if test $ac_prog_rejected = yes; then
2189   # We found a bogon in the path, so make sure we never use it.
2190   set dummy $ac_cv_prog_CC
2191   shift
2192   if test $# != 0; then
2193     # We chose a different compiler from the bogus one.
2194     # However, it has the same basename, so the bogon will be chosen
2195     # first if we set CC to just the basename; use the full file name.
2196     shift
2197     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2198   fi
2199 fi
2200 fi
2201 fi
2202 CC=$ac_cv_prog_CC
2203 if test -n "$CC"; then
2204   echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2206 else
2207   echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2209 fi
2210
2211 fi
2212 if test -z "$CC"; then
2213   if test -n "$ac_tool_prefix"; then
2214   for ac_prog in cl
2215   do
2216     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2218 echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221   echo $ECHO_N "(cached) $ECHO_C" >&6
2222 else
2223   if test -n "$CC"; then
2224   ac_cv_prog_CC="$CC" # Let the user override the test.
2225 else
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2228 do
2229   IFS=$as_save_IFS
2230   test -z "$as_dir" && as_dir=.
2231   for ac_exec_ext in '' $ac_executable_extensions; do
2232   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2234     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235     break 2
2236   fi
2237 done
2238 done
2239
2240 fi
2241 fi
2242 CC=$ac_cv_prog_CC
2243 if test -n "$CC"; then
2244   echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6
2246 else
2247   echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2249 fi
2250
2251     test -n "$CC" && break
2252   done
2253 fi
2254 if test -z "$CC"; then
2255   ac_ct_CC=$CC
2256   for ac_prog in cl
2257 do
2258   # Extract the first word of "$ac_prog", so it can be a program name with args.
2259 set dummy $ac_prog; ac_word=$2
2260 echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2263   echo $ECHO_N "(cached) $ECHO_C" >&6
2264 else
2265   if test -n "$ac_ct_CC"; then
2266   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267 else
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 for as_dir in $PATH
2270 do
2271   IFS=$as_save_IFS
2272   test -z "$as_dir" && as_dir=.
2273   for ac_exec_ext in '' $ac_executable_extensions; do
2274   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275     ac_cv_prog_ac_ct_CC="$ac_prog"
2276     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277     break 2
2278   fi
2279 done
2280 done
2281
2282 fi
2283 fi
2284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2285 if test -n "$ac_ct_CC"; then
2286   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2287 echo "${ECHO_T}$ac_ct_CC" >&6
2288 else
2289   echo "$as_me:$LINENO: result: no" >&5
2290 echo "${ECHO_T}no" >&6
2291 fi
2292
2293   test -n "$ac_ct_CC" && break
2294 done
2295
2296   CC=$ac_ct_CC
2297 fi
2298
2299 fi
2300
2301
2302 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2303 See \`config.log' for more details." >&5
2304 echo "$as_me: error: no acceptable C compiler found in \$PATH
2305 See \`config.log' for more details." >&2;}
2306    { (exit 1); exit 1; }; }
2307
2308 # Provide some information about the compiler.
2309 echo "$as_me:$LINENO:" \
2310      "checking for C compiler version" >&5
2311 ac_compiler=`set X $ac_compile; echo $2`
2312 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2313   (eval $ac_compiler --version </dev/null >&5) 2>&5
2314   ac_status=$?
2315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316   (exit $ac_status); }
2317 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2318   (eval $ac_compiler -v </dev/null >&5) 2>&5
2319   ac_status=$?
2320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321   (exit $ac_status); }
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2323   (eval $ac_compiler -V </dev/null >&5) 2>&5
2324   ac_status=$?
2325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326   (exit $ac_status); }
2327
2328 cat >conftest.$ac_ext <<_ACEOF
2329 #line $LINENO "configure"
2330 /* confdefs.h.  */
2331 _ACEOF
2332 cat confdefs.h >>conftest.$ac_ext
2333 cat >>conftest.$ac_ext <<_ACEOF
2334 /* end confdefs.h.  */
2335
2336 int
2337 main ()
2338 {
2339
2340   ;
2341   return 0;
2342 }
2343 _ACEOF
2344 ac_clean_files_save=$ac_clean_files
2345 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2346 # Try to create an executable without -o first, disregard a.out.
2347 # It will help us diagnose broken compilers, and finding out an intuition
2348 # of exeext.
2349 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2350 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2351 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2353   (eval $ac_link_default) 2>&5
2354   ac_status=$?
2355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356   (exit $ac_status); }; then
2357   # Find the output, starting from the most likely.  This scheme is
2358 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2359 # resort.
2360
2361 # Be careful to initialize this variable, since it used to be cached.
2362 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2363 ac_cv_exeext=
2364 # b.out is created by i960 compilers.
2365 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2366 do
2367   test -f "$ac_file" || continue
2368   case $ac_file in
2369     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2370         ;;
2371     conftest.$ac_ext )
2372         # This is the source file.
2373         ;;
2374     [ab].out )
2375         # We found the default executable, but exeext='' is most
2376         # certainly right.
2377         break;;
2378     *.* )
2379         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2380         # FIXME: I believe we export ac_cv_exeext for Libtool,
2381         # but it would be cool to find out if it's true.  Does anybody
2382         # maintain Libtool? --akim.
2383         export ac_cv_exeext
2384         break;;
2385     * )
2386         break;;
2387   esac
2388 done
2389 else
2390   echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2392
2393 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2394 See \`config.log' for more details." >&5
2395 echo "$as_me: error: C compiler cannot create executables
2396 See \`config.log' for more details." >&2;}
2397    { (exit 77); exit 77; }; }
2398 fi
2399
2400 ac_exeext=$ac_cv_exeext
2401 echo "$as_me:$LINENO: result: $ac_file" >&5
2402 echo "${ECHO_T}$ac_file" >&6
2403
2404 # Check the compiler produces executables we can run.  If not, either
2405 # the compiler is broken, or we cross compile.
2406 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2407 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2408 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2409 # If not cross compiling, check that we can run a simple program.
2410 if test "$cross_compiling" != yes; then
2411   if { ac_try='./$ac_file'
2412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413   (eval $ac_try) 2>&5
2414   ac_status=$?
2415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416   (exit $ac_status); }; }; then
2417     cross_compiling=no
2418   else
2419     if test "$cross_compiling" = maybe; then
2420         cross_compiling=yes
2421     else
2422         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2423 If you meant to cross compile, use \`--host'.
2424 See \`config.log' for more details." >&5
2425 echo "$as_me: error: cannot run C compiled programs.
2426 If you meant to cross compile, use \`--host'.
2427 See \`config.log' for more details." >&2;}
2428    { (exit 1); exit 1; }; }
2429     fi
2430   fi
2431 fi
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2434
2435 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2436 ac_clean_files=$ac_clean_files_save
2437 # Check the compiler produces executables we can run.  If not, either
2438 # the compiler is broken, or we cross compile.
2439 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2440 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2441 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2442 echo "${ECHO_T}$cross_compiling" >&6
2443
2444 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2445 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2447   (eval $ac_link) 2>&5
2448   ac_status=$?
2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450   (exit $ac_status); }; then
2451   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2452 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2453 # work properly (i.e., refer to `conftest.exe'), while it won't with
2454 # `rm'.
2455 for ac_file in conftest.exe conftest conftest.*; do
2456   test -f "$ac_file" || continue
2457   case $ac_file in
2458     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2459     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460           export ac_cv_exeext
2461           break;;
2462     * ) break;;
2463   esac
2464 done
2465 else
2466   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2467 See \`config.log' for more details." >&5
2468 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2469 See \`config.log' for more details." >&2;}
2470    { (exit 1); exit 1; }; }
2471 fi
2472
2473 rm -f conftest$ac_cv_exeext
2474 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2475 echo "${ECHO_T}$ac_cv_exeext" >&6
2476
2477 rm -f conftest.$ac_ext
2478 EXEEXT=$ac_cv_exeext
2479 ac_exeext=$EXEEXT
2480 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2481 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2482 if test "${ac_cv_objext+set}" = set; then
2483   echo $ECHO_N "(cached) $ECHO_C" >&6
2484 else
2485   cat >conftest.$ac_ext <<_ACEOF
2486 #line $LINENO "configure"
2487 /* confdefs.h.  */
2488 _ACEOF
2489 cat confdefs.h >>conftest.$ac_ext
2490 cat >>conftest.$ac_ext <<_ACEOF
2491 /* end confdefs.h.  */
2492
2493 int
2494 main ()
2495 {
2496
2497   ;
2498   return 0;
2499 }
2500 _ACEOF
2501 rm -f conftest.o conftest.obj
2502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2503   (eval $ac_compile) 2>&5
2504   ac_status=$?
2505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506   (exit $ac_status); }; then
2507   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2508   case $ac_file in
2509     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2510     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2511        break;;
2512   esac
2513 done
2514 else
2515   echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2517
2518 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2521 See \`config.log' for more details." >&2;}
2522    { (exit 1); exit 1; }; }
2523 fi
2524
2525 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2526 fi
2527 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2528 echo "${ECHO_T}$ac_cv_objext" >&6
2529 OBJEXT=$ac_cv_objext
2530 ac_objext=$OBJEXT
2531 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2532 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2533 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2534   echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536   cat >conftest.$ac_ext <<_ACEOF
2537 #line $LINENO "configure"
2538 /* confdefs.h.  */
2539 _ACEOF
2540 cat confdefs.h >>conftest.$ac_ext
2541 cat >>conftest.$ac_ext <<_ACEOF
2542 /* end confdefs.h.  */
2543
2544 int
2545 main ()
2546 {
2547 #ifndef __GNUC__
2548        choke me
2549 #endif
2550
2551   ;
2552   return 0;
2553 }
2554 _ACEOF
2555 rm -f conftest.$ac_objext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557   (eval $ac_compile) 2>&5
2558   ac_status=$?
2559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560   (exit $ac_status); } &&
2561          { ac_try='test -s conftest.$ac_objext'
2562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563   (eval $ac_try) 2>&5
2564   ac_status=$?
2565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566   (exit $ac_status); }; }; then
2567   ac_compiler_gnu=yes
2568 else
2569   echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2571
2572 ac_compiler_gnu=no
2573 fi
2574 rm -f conftest.$ac_objext conftest.$ac_ext
2575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2576
2577 fi
2578 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2579 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2580 GCC=`test $ac_compiler_gnu = yes && echo yes`
2581 ac_test_CFLAGS=${CFLAGS+set}
2582 ac_save_CFLAGS=$CFLAGS
2583 CFLAGS="-g"
2584 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2585 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2586 if test "${ac_cv_prog_cc_g+set}" = set; then
2587   echo $ECHO_N "(cached) $ECHO_C" >&6
2588 else
2589   cat >conftest.$ac_ext <<_ACEOF
2590 #line $LINENO "configure"
2591 /* confdefs.h.  */
2592 _ACEOF
2593 cat confdefs.h >>conftest.$ac_ext
2594 cat >>conftest.$ac_ext <<_ACEOF
2595 /* end confdefs.h.  */
2596
2597 int
2598 main ()
2599 {
2600
2601   ;
2602   return 0;
2603 }
2604 _ACEOF
2605 rm -f conftest.$ac_objext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2607   (eval $ac_compile) 2>&5
2608   ac_status=$?
2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610   (exit $ac_status); } &&
2611          { ac_try='test -s conftest.$ac_objext'
2612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613   (eval $ac_try) 2>&5
2614   ac_status=$?
2615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616   (exit $ac_status); }; }; then
2617   ac_cv_prog_cc_g=yes
2618 else
2619   echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2621
2622 ac_cv_prog_cc_g=no
2623 fi
2624 rm -f conftest.$ac_objext conftest.$ac_ext
2625 fi
2626 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2627 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2628 if test "$ac_test_CFLAGS" = set; then
2629   CFLAGS=$ac_save_CFLAGS
2630 elif test $ac_cv_prog_cc_g = yes; then
2631   if test "$GCC" = yes; then
2632     CFLAGS="-g -O2"
2633   else
2634     CFLAGS="-g"
2635   fi
2636 else
2637   if test "$GCC" = yes; then
2638     CFLAGS="-O2"
2639   else
2640     CFLAGS=
2641   fi
2642 fi
2643 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2644 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2645 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2646   echo $ECHO_N "(cached) $ECHO_C" >&6
2647 else
2648   ac_cv_prog_cc_stdc=no
2649 ac_save_CC=$CC
2650 cat >conftest.$ac_ext <<_ACEOF
2651 #line $LINENO "configure"
2652 /* confdefs.h.  */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h.  */
2657 #include <stdarg.h>
2658 #include <stdio.h>
2659 #include <sys/types.h>
2660 #include <sys/stat.h>
2661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2662 struct buf { int x; };
2663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2664 static char *e (p, i)
2665      char **p;
2666      int i;
2667 {
2668   return p[i];
2669 }
2670 static char *f (char * (*g) (char **, int), char **p, ...)
2671 {
2672   char *s;
2673   va_list v;
2674   va_start (v,p);
2675   s = g (p, va_arg (v,int));
2676   va_end (v);
2677   return s;
2678 }
2679 int test (int i, double x);
2680 struct s1 {int (*f) (int a);};
2681 struct s2 {int (*f) (double a);};
2682 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2683 int argc;
2684 char **argv;
2685 int
2686 main ()
2687 {
2688 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2689   ;
2690   return 0;
2691 }
2692 _ACEOF
2693 # Don't try gcc -ansi; that turns off useful extensions and
2694 # breaks some systems' header files.
2695 # AIX                   -qlanglvl=ansi
2696 # Ultrix and OSF/1      -std1
2697 # HP-UX 10.20 and later -Ae
2698 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2699 # SVR4                  -Xc -D__EXTENSIONS__
2700 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2701 do
2702   CC="$ac_save_CC $ac_arg"
2703   rm -f conftest.$ac_objext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705   (eval $ac_compile) 2>&5
2706   ac_status=$?
2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708   (exit $ac_status); } &&
2709          { ac_try='test -s conftest.$ac_objext'
2710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711   (eval $ac_try) 2>&5
2712   ac_status=$?
2713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714   (exit $ac_status); }; }; then
2715   ac_cv_prog_cc_stdc=$ac_arg
2716 break
2717 else
2718   echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2720
2721 fi
2722 rm -f conftest.$ac_objext
2723 done
2724 rm -f conftest.$ac_ext conftest.$ac_objext
2725 CC=$ac_save_CC
2726
2727 fi
2728
2729 case "x$ac_cv_prog_cc_stdc" in
2730   x|xno)
2731     echo "$as_me:$LINENO: result: none needed" >&5
2732 echo "${ECHO_T}none needed" >&6 ;;
2733   *)
2734     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2735 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2736     CC="$CC $ac_cv_prog_cc_stdc" ;;
2737 esac
2738
2739 # Some people use a C++ compiler to compile C.  Since we use `exit',
2740 # in C++ we need to declare it.  In case someone uses the same compiler
2741 # for both compiling C and C++ we need to have the C++ compiler decide
2742 # the declaration of exit, since it's the most demanding environment.
2743 cat >conftest.$ac_ext <<_ACEOF
2744 #ifndef __cplusplus
2745   choke me
2746 #endif
2747 _ACEOF
2748 rm -f conftest.$ac_objext
2749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2750   (eval $ac_compile) 2>&5
2751   ac_status=$?
2752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753   (exit $ac_status); } &&
2754          { ac_try='test -s conftest.$ac_objext'
2755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756   (eval $ac_try) 2>&5
2757   ac_status=$?
2758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759   (exit $ac_status); }; }; then
2760   for ac_declaration in \
2761    ''\
2762    '#include <stdlib.h>' \
2763    'extern "C" void std::exit (int) throw (); using std::exit;' \
2764    'extern "C" void std::exit (int); using std::exit;' \
2765    'extern "C" void exit (int) throw ();' \
2766    'extern "C" void exit (int);' \
2767    'void exit (int);'
2768 do
2769   cat >conftest.$ac_ext <<_ACEOF
2770 #line $LINENO "configure"
2771 /* confdefs.h.  */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h.  */
2776 #include <stdlib.h>
2777 $ac_declaration
2778 int
2779 main ()
2780 {
2781 exit (42);
2782   ;
2783   return 0;
2784 }
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788   (eval $ac_compile) 2>&5
2789   ac_status=$?
2790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791   (exit $ac_status); } &&
2792          { ac_try='test -s conftest.$ac_objext'
2793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794   (eval $ac_try) 2>&5
2795   ac_status=$?
2796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797   (exit $ac_status); }; }; then
2798   :
2799 else
2800   echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2802
2803 continue
2804 fi
2805 rm -f conftest.$ac_objext conftest.$ac_ext
2806   cat >conftest.$ac_ext <<_ACEOF
2807 #line $LINENO "configure"
2808 /* confdefs.h.  */
2809 _ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h.  */
2813 $ac_declaration
2814 int
2815 main ()
2816 {
2817 exit (42);
2818   ;
2819   return 0;
2820 }
2821 _ACEOF
2822 rm -f conftest.$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824   (eval $ac_compile) 2>&5
2825   ac_status=$?
2826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827   (exit $ac_status); } &&
2828          { ac_try='test -s conftest.$ac_objext'
2829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830   (eval $ac_try) 2>&5
2831   ac_status=$?
2832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833   (exit $ac_status); }; }; then
2834   break
2835 else
2836   echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2838
2839 fi
2840 rm -f conftest.$ac_objext conftest.$ac_ext
2841 done
2842 rm -f conftest*
2843 if test -n "$ac_declaration"; then
2844   echo '#ifdef __cplusplus' >>confdefs.h
2845   echo $ac_declaration      >>confdefs.h
2846   echo '#endif'             >>confdefs.h
2847 fi
2848
2849 else
2850   echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2852
2853 fi
2854 rm -f conftest.$ac_objext conftest.$ac_ext
2855 ac_ext=c
2856 ac_cpp='$CPP $CPPFLAGS'
2857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2860
2861   ac_ext=cc
2862 ac_cpp='$CXXCPP $CPPFLAGS'
2863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2866 if test -n "$ac_tool_prefix"; then
2867   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2868   do
2869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2871 echo "$as_me:$LINENO: checking for $ac_word" >&5
2872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2873 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2874   echo $ECHO_N "(cached) $ECHO_C" >&6
2875 else
2876   if test -n "$CXX"; then
2877   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2878 else
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH
2881 do
2882   IFS=$as_save_IFS
2883   test -z "$as_dir" && as_dir=.
2884   for ac_exec_ext in '' $ac_executable_extensions; do
2885   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2886     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2888     break 2
2889   fi
2890 done
2891 done
2892
2893 fi
2894 fi
2895 CXX=$glibcxx_cv_prog_CXX
2896 if test -n "$CXX"; then
2897   echo "$as_me:$LINENO: result: $CXX" >&5
2898 echo "${ECHO_T}$CXX" >&6
2899 else
2900   echo "$as_me:$LINENO: result: no" >&5
2901 echo "${ECHO_T}no" >&6
2902 fi
2903
2904     test -n "$CXX" && break
2905   done
2906 fi
2907 if test -z "$CXX"; then
2908   ac_ct_CXX=$CXX
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_prog", so it can be a program name with args.
2912 set dummy $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 "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2916   echo $ECHO_N "(cached) $ECHO_C" >&6
2917 else
2918   if test -n "$ac_ct_CXX"; then
2919   ac_cv_prog_ac_ct_CXX="$ac_ct_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     ac_cv_prog_ac_ct_CXX="$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 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2938 if test -n "$ac_ct_CXX"; then
2939   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2940 echo "${ECHO_T}$ac_ct_CXX" >&6
2941 else
2942   echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2944 fi
2945
2946   test -n "$ac_ct_CXX" && break
2947 done
2948 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2949
2950   CXX=$ac_ct_CXX
2951 fi
2952
2953
2954 # Provide some information about the compiler.
2955 echo "$as_me:$LINENO:" \
2956      "checking for C++ compiler version" >&5
2957 ac_compiler=`set X $ac_compile; echo $2`
2958 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2959   (eval $ac_compiler --version </dev/null >&5) 2>&5
2960   ac_status=$?
2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962   (exit $ac_status); }
2963 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2964   (eval $ac_compiler -v </dev/null >&5) 2>&5
2965   ac_status=$?
2966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967   (exit $ac_status); }
2968 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2969   (eval $ac_compiler -V </dev/null >&5) 2>&5
2970   ac_status=$?
2971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972   (exit $ac_status); }
2973
2974 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2975 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2976 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2977   echo $ECHO_N "(cached) $ECHO_C" >&6
2978 else
2979   cat >conftest.$ac_ext <<_ACEOF
2980 #line $LINENO "configure"
2981 /* confdefs.h.  */
2982 _ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h.  */
2986
2987 int
2988 main ()
2989 {
2990 #ifndef __GNUC__
2991        choke me
2992 #endif
2993
2994   ;
2995   return 0;
2996 }
2997 _ACEOF
2998 rm -f conftest.$ac_objext
2999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3000   (eval $ac_compile) 2>&5
3001   ac_status=$?
3002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003   (exit $ac_status); } &&
3004          { ac_try='test -s conftest.$ac_objext'
3005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006   (eval $ac_try) 2>&5
3007   ac_status=$?
3008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009   (exit $ac_status); }; }; then
3010   ac_compiler_gnu=yes
3011 else
3012   echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3014
3015 ac_compiler_gnu=no
3016 fi
3017 rm -f conftest.$ac_objext conftest.$ac_ext
3018 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3019
3020 fi
3021 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3022 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3023 GXX=`test $ac_compiler_gnu = yes && echo yes`
3024 ac_test_CXXFLAGS=${CXXFLAGS+set}
3025 ac_save_CXXFLAGS=$CXXFLAGS
3026 CXXFLAGS="-g"
3027 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3028 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3029 if test "${ac_cv_prog_cxx_g+set}" = set; then
3030   echo $ECHO_N "(cached) $ECHO_C" >&6
3031 else
3032   cat >conftest.$ac_ext <<_ACEOF
3033 #line $LINENO "configure"
3034 /* confdefs.h.  */
3035 _ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h.  */
3039
3040 int
3041 main ()
3042 {
3043
3044   ;
3045   return 0;
3046 }
3047 _ACEOF
3048 rm -f conftest.$ac_objext
3049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050   (eval $ac_compile) 2>&5
3051   ac_status=$?
3052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053   (exit $ac_status); } &&
3054          { ac_try='test -s conftest.$ac_objext'
3055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056   (eval $ac_try) 2>&5
3057   ac_status=$?
3058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059   (exit $ac_status); }; }; then
3060   ac_cv_prog_cxx_g=yes
3061 else
3062   echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3064
3065 ac_cv_prog_cxx_g=no
3066 fi
3067 rm -f conftest.$ac_objext conftest.$ac_ext
3068 fi
3069 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3071 if test "$ac_test_CXXFLAGS" = set; then
3072   CXXFLAGS=$ac_save_CXXFLAGS
3073 elif test $ac_cv_prog_cxx_g = yes; then
3074   if test "$GXX" = yes; then
3075     CXXFLAGS="-g -O2"
3076   else
3077     CXXFLAGS="-g"
3078   fi
3079 else
3080   if test "$GXX" = yes; then
3081     CXXFLAGS="-O2"
3082   else
3083     CXXFLAGS=
3084   fi
3085 fi
3086 for ac_declaration in \
3087    ''\
3088    '#include <stdlib.h>' \
3089    'extern "C" void std::exit (int) throw (); using std::exit;' \
3090    'extern "C" void std::exit (int); using std::exit;' \
3091    'extern "C" void exit (int) throw ();' \
3092    'extern "C" void exit (int);' \
3093    'void exit (int);'
3094 do
3095   cat >conftest.$ac_ext <<_ACEOF
3096 #line $LINENO "configure"
3097 /* confdefs.h.  */
3098 _ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h.  */
3102 #include <stdlib.h>
3103 $ac_declaration
3104 int
3105 main ()
3106 {
3107 exit (42);
3108   ;
3109   return 0;
3110 }
3111 _ACEOF
3112 rm -f conftest.$ac_objext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3114   (eval $ac_compile) 2>&5
3115   ac_status=$?
3116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117   (exit $ac_status); } &&
3118          { ac_try='test -s conftest.$ac_objext'
3119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120   (eval $ac_try) 2>&5
3121   ac_status=$?
3122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123   (exit $ac_status); }; }; then
3124   :
3125 else
3126   echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3128
3129 continue
3130 fi
3131 rm -f conftest.$ac_objext conftest.$ac_ext
3132   cat >conftest.$ac_ext <<_ACEOF
3133 #line $LINENO "configure"
3134 /* confdefs.h.  */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h.  */
3139 $ac_declaration
3140 int
3141 main ()
3142 {
3143 exit (42);
3144   ;
3145   return 0;
3146 }
3147 _ACEOF
3148 rm -f conftest.$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150   (eval $ac_compile) 2>&5
3151   ac_status=$?
3152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153   (exit $ac_status); } &&
3154          { ac_try='test -s conftest.$ac_objext'
3155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156   (eval $ac_try) 2>&5
3157   ac_status=$?
3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159   (exit $ac_status); }; }; then
3160   break
3161 else
3162   echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3164
3165 fi
3166 rm -f conftest.$ac_objext conftest.$ac_ext
3167 done
3168 rm -f conftest*
3169 if test -n "$ac_declaration"; then
3170   echo '#ifdef __cplusplus' >>confdefs.h
3171   echo $ac_declaration      >>confdefs.h
3172   echo '#endif'             >>confdefs.h
3173 fi
3174
3175 ac_ext=c
3176 ac_cpp='$CPP $CPPFLAGS'
3177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3180
3181   CXXFLAGS="$save_CXXFLAGS"
3182
3183
3184
3185
3186   # For directory versioning (e.g., headers) and other variables.
3187   echo "$as_me:$LINENO: checking for GCC version number" >&5
3188 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3189   gcc_version=`$CXX -dumpversion`
3190   echo "$as_me:$LINENO: result: $gcc_version" >&5
3191 echo "${ECHO_T}$gcc_version" >&6
3192
3193   # For some reason, gettext needs this.
3194
3195         echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3196 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3197 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3198   echo $ECHO_N "(cached) $ECHO_C" >&6
3199 else
3200   ac_check_lib_save_LIBS=$LIBS
3201 LIBS="-lcposix  $LIBS"
3202 cat >conftest.$ac_ext <<_ACEOF
3203 #line $LINENO "configure"
3204 /* confdefs.h.  */
3205 _ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h.  */
3209
3210 /* Override any gcc2 internal prototype to avoid an error.  */
3211 #ifdef __cplusplus
3212 extern "C"
3213 #endif
3214 /* We use char because int might match the return type of a gcc2
3215    builtin and then its argument prototype would still apply.  */
3216 char strerror ();
3217 int
3218 main ()
3219 {
3220 strerror ();
3221   ;
3222   return 0;
3223 }
3224 _ACEOF
3225 rm -f conftest.$ac_objext conftest$ac_exeext
3226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3227   (eval $ac_link) 2>&5
3228   ac_status=$?
3229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230   (exit $ac_status); } &&
3231          { ac_try='test -s conftest$ac_exeext'
3232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233   (eval $ac_try) 2>&5
3234   ac_status=$?
3235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236   (exit $ac_status); }; }; then
3237   ac_cv_lib_cposix_strerror=yes
3238 else
3239   echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3241
3242 ac_cv_lib_cposix_strerror=no
3243 fi
3244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3245 LIBS=$ac_check_lib_save_LIBS
3246 fi
3247 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3248 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3249 if test $ac_cv_lib_cposix_strerror = yes; then
3250   LIBS="$LIBS -lcposix"
3251 fi
3252
3253
3254
3255
3256   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3257   # available).  Uncomment the next line to force a particular method.
3258   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3259 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3260 LN_S=$as_ln_s
3261 if test "$LN_S" = "ln -s"; then
3262   echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 else
3265   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3266 echo "${ECHO_T}no, using $LN_S" >&6
3267 fi
3268
3269   #LN_S='cp -p'
3270
3271   if test -n "$ac_tool_prefix"; then
3272   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3273 set dummy ${ac_tool_prefix}as; ac_word=$2
3274 echo "$as_me:$LINENO: checking for $ac_word" >&5
3275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3276 if test "${ac_cv_prog_AS+set}" = set; then
3277   echo $ECHO_N "(cached) $ECHO_C" >&6
3278 else
3279   if test -n "$AS"; then
3280   ac_cv_prog_AS="$AS" # Let the user override the test.
3281 else
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 for as_dir in $PATH
3284 do
3285   IFS=$as_save_IFS
3286   test -z "$as_dir" && as_dir=.
3287   for ac_exec_ext in '' $ac_executable_extensions; do
3288   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3289     ac_cv_prog_AS="${ac_tool_prefix}as"
3290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291     break 2
3292   fi
3293 done
3294 done
3295
3296 fi
3297 fi
3298 AS=$ac_cv_prog_AS
3299 if test -n "$AS"; then
3300   echo "$as_me:$LINENO: result: $AS" >&5
3301 echo "${ECHO_T}$AS" >&6
3302 else
3303   echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3305 fi
3306
3307 fi
3308 if test -z "$ac_cv_prog_AS"; then
3309   ac_ct_AS=$AS
3310   # Extract the first word of "as", so it can be a program name with args.
3311 set dummy as; ac_word=$2
3312 echo "$as_me:$LINENO: checking for $ac_word" >&5
3313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3314 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3315   echo $ECHO_N "(cached) $ECHO_C" >&6
3316 else
3317   if test -n "$ac_ct_AS"; then
3318   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3319 else
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 for as_dir in $PATH
3322 do
3323   IFS=$as_save_IFS
3324   test -z "$as_dir" && as_dir=.
3325   for ac_exec_ext in '' $ac_executable_extensions; do
3326   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327     ac_cv_prog_ac_ct_AS="as"
3328     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329     break 2
3330   fi
3331 done
3332 done
3333
3334 fi
3335 fi
3336 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3337 if test -n "$ac_ct_AS"; then
3338   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3339 echo "${ECHO_T}$ac_ct_AS" >&6
3340 else
3341   echo "$as_me:$LINENO: result: no" >&5
3342 echo "${ECHO_T}no" >&6
3343 fi
3344
3345   AS=$ac_ct_AS
3346 else
3347   AS="$ac_cv_prog_AS"
3348 fi
3349
3350   if test -n "$ac_tool_prefix"; then
3351   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3352 set dummy ${ac_tool_prefix}ar; ac_word=$2
3353 echo "$as_me:$LINENO: checking for $ac_word" >&5
3354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3355 if test "${ac_cv_prog_AR+set}" = set; then
3356   echo $ECHO_N "(cached) $ECHO_C" >&6
3357 else
3358   if test -n "$AR"; then
3359   ac_cv_prog_AR="$AR" # Let the user override the test.
3360 else
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH
3363 do
3364   IFS=$as_save_IFS
3365   test -z "$as_dir" && as_dir=.
3366   for ac_exec_ext in '' $ac_executable_extensions; do
3367   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368     ac_cv_prog_AR="${ac_tool_prefix}ar"
3369     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3370     break 2
3371   fi
3372 done
3373 done
3374
3375 fi
3376 fi
3377 AR=$ac_cv_prog_AR
3378 if test -n "$AR"; then
3379   echo "$as_me:$LINENO: result: $AR" >&5
3380 echo "${ECHO_T}$AR" >&6
3381 else
3382   echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3384 fi
3385
3386 fi
3387 if test -z "$ac_cv_prog_AR"; then
3388   ac_ct_AR=$AR
3389   # Extract the first word of "ar", so it can be a program name with args.
3390 set dummy ar; ac_word=$2
3391 echo "$as_me:$LINENO: checking for $ac_word" >&5
3392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3393 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3394   echo $ECHO_N "(cached) $ECHO_C" >&6
3395 else
3396   if test -n "$ac_ct_AR"; then
3397   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3398 else
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 for as_dir in $PATH
3401 do
3402   IFS=$as_save_IFS
3403   test -z "$as_dir" && as_dir=.
3404   for ac_exec_ext in '' $ac_executable_extensions; do
3405   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406     ac_cv_prog_ac_ct_AR="ar"
3407     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3408     break 2
3409   fi
3410 done
3411 done
3412
3413 fi
3414 fi
3415 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3416 if test -n "$ac_ct_AR"; then
3417   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3418 echo "${ECHO_T}$ac_ct_AR" >&6
3419 else
3420   echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3422 fi
3423
3424   AR=$ac_ct_AR
3425 else
3426   AR="$ac_cv_prog_AR"
3427 fi
3428
3429   if test -n "$ac_tool_prefix"; then
3430   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3432 echo "$as_me:$LINENO: checking for $ac_word" >&5
3433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3434 if test "${ac_cv_prog_RANLIB+set}" = set; then
3435   echo $ECHO_N "(cached) $ECHO_C" >&6
3436 else
3437   if test -n "$RANLIB"; then
3438   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3442 do
3443   IFS=$as_save_IFS
3444   test -z "$as_dir" && as_dir=.
3445   for ac_exec_ext in '' $ac_executable_extensions; do
3446   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3447     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3448     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3449     break 2
3450   fi
3451 done
3452 done
3453
3454 fi
3455 fi
3456 RANLIB=$ac_cv_prog_RANLIB
3457 if test -n "$RANLIB"; then
3458   echo "$as_me:$LINENO: result: $RANLIB" >&5
3459 echo "${ECHO_T}$RANLIB" >&6
3460 else
3461   echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6
3463 fi
3464
3465 fi
3466 if test -z "$ac_cv_prog_RANLIB"; then
3467   ac_ct_RANLIB=$RANLIB
3468   # Extract the first word of "ranlib", so it can be a program name with args.
3469 set dummy ranlib; ac_word=$2
3470 echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3472 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3473   echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475   if test -n "$ac_ct_RANLIB"; then
3476   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3480 do
3481   IFS=$as_save_IFS
3482   test -z "$as_dir" && as_dir=.
3483   for ac_exec_ext in '' $ac_executable_extensions; do
3484   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485     ac_cv_prog_ac_ct_RANLIB="ranlib"
3486     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487     break 2
3488   fi
3489 done
3490 done
3491
3492   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3493 fi
3494 fi
3495 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3496 if test -n "$ac_ct_RANLIB"; then
3497   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3498 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3499 else
3500   echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3502 fi
3503
3504   RANLIB=$ac_ct_RANLIB
3505 else
3506   RANLIB="$ac_cv_prog_RANLIB"
3507 fi
3508
3509
3510   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3511 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3512     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3513 if test "${enable_maintainer_mode+set}" = set; then
3514   enableval="$enable_maintainer_mode"
3515   USE_MAINTAINER_MODE=$enableval
3516 else
3517   USE_MAINTAINER_MODE=no
3518 fi;
3519   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3520 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3521
3522
3523 if test $USE_MAINTAINER_MODE = yes; then
3524   MAINTAINER_MODE_TRUE=
3525   MAINTAINER_MODE_FALSE='#'
3526 else
3527   MAINTAINER_MODE_TRUE='#'
3528   MAINTAINER_MODE_FALSE=
3529 fi
3530
3531   MAINT=$MAINTAINER_MODE_TRUE
3532
3533
3534
3535   # Set up safe default values for all subsequent AM_CONDITIONAL tests.
3536   need_libmath=no
3537   enable_wchar_t=no
3538   #enable_libstdcxx_debug=no
3539   #enable_libstdcxx_pch=no
3540   #enable_cheaders=c
3541   #c_compatibility=no
3542   #enable_abi_check=no
3543   #enable_symvers=no
3544
3545   # Find platform-specific directories containing configuration info.
3546   # Also possibly modify flags used elsewhere, as needed by the platform.
3547
3548   . $glibcxx_srcdir/configure.host
3549   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3550 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3551   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3552 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3553
3554
3555
3556 #AC_MSG_NOTICE([====== Starting libtool configuration])
3557
3558 # Check whether --enable-shared or --disable-shared was given.
3559 if test "${enable_shared+set}" = set; then
3560   enableval="$enable_shared"
3561   p=${PACKAGE-default}
3562 case $enableval in
3563 yes) enable_shared=yes ;;
3564 no) enable_shared=no ;;
3565 *)
3566   enable_shared=no
3567   # Look at the argument we got.  We use all the common list separators.
3568   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3569   for pkg in $enableval; do
3570     if test "X$pkg" = "X$p"; then
3571       enable_shared=yes
3572     fi
3573   done
3574   IFS="$ac_save_ifs"
3575   ;;
3576 esac
3577 else
3578   enable_shared=yes
3579 fi;
3580 # Check whether --enable-static or --disable-static was given.
3581 if test "${enable_static+set}" = set; then
3582   enableval="$enable_static"
3583   p=${PACKAGE-default}
3584 case $enableval in
3585 yes) enable_static=yes ;;
3586 no) enable_static=no ;;
3587 *)
3588   enable_static=no
3589   # Look at the argument we got.  We use all the common list separators.
3590   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3591   for pkg in $enableval; do
3592     if test "X$pkg" = "X$p"; then
3593       enable_static=yes
3594     fi
3595   done
3596   IFS="$ac_save_ifs"
3597   ;;
3598 esac
3599 else
3600   enable_static=yes
3601 fi;
3602 # Check whether --enable-fast-install or --disable-fast-install was given.
3603 if test "${enable_fast_install+set}" = set; then
3604   enableval="$enable_fast_install"
3605   p=${PACKAGE-default}
3606 case $enableval in
3607 yes) enable_fast_install=yes ;;
3608 no) enable_fast_install=no ;;
3609 *)
3610   enable_fast_install=no
3611   # Look at the argument we got.  We use all the common list separators.
3612   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3613   for pkg in $enableval; do
3614     if test "X$pkg" = "X$p"; then
3615       enable_fast_install=yes
3616     fi
3617   done
3618   IFS="$ac_save_ifs"
3619   ;;
3620 esac
3621 else
3622   enable_fast_install=yes
3623 fi;
3624
3625 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3626 if test "${with_gnu_ld+set}" = set; then
3627   withval="$with_gnu_ld"
3628   test "$withval" = no || with_gnu_ld=yes
3629 else
3630   with_gnu_ld=no
3631 fi;
3632 ac_prog=ld
3633 if test "$GCC" = yes; then
3634   # Check if gcc -print-prog-name=ld gives a path.
3635   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3636 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3637   case $host in
3638   *-*-mingw*)
3639     # gcc leaves a trailing carriage return which upsets mingw
3640     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3641   *)
3642     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3643   esac
3644   case $ac_prog in
3645     # Accept absolute paths.
3646     [\\/]* | [A-Za-z]:[\\/]*)
3647       re_direlt='/[^/][^/]*/\.\./'
3648       # Canonicalize the path of ld
3649       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3650       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3651         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3652       done
3653       test -z "$LD" && LD="$ac_prog"
3654       ;;
3655   "")
3656     # If it fails, then pretend we aren't using GCC.
3657     ac_prog=ld
3658     ;;
3659   *)
3660     # If it is relative, then search for the first ld in PATH.
3661     with_gnu_ld=unknown
3662     ;;
3663   esac
3664 elif test "$with_gnu_ld" = yes; then
3665   echo "$as_me:$LINENO: checking for GNU ld" >&5
3666 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3667 else
3668   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3669 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3670 fi
3671 if test "${lt_cv_path_LD+set}" = set; then
3672   echo $ECHO_N "(cached) $ECHO_C" >&6
3673 else
3674   if test -z "$LD"; then
3675   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3676   for ac_dir in $PATH; do
3677     test -z "$ac_dir" && ac_dir=.
3678     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3679       lt_cv_path_LD="$ac_dir/$ac_prog"
3680       # Check to see if the program is GNU ld.  I'd rather use --version,
3681       # but apparently some GNU ld's only accept -v.
3682       # Break only if it was the GNU/non-GNU ld that we prefer.
3683       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3684         test "$with_gnu_ld" != no && break
3685       else
3686         test "$with_gnu_ld" != yes && break
3687       fi
3688     fi
3689   done
3690   IFS="$ac_save_ifs"
3691 else
3692   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3693 fi
3694 fi
3695
3696 LD="$lt_cv_path_LD"
3697 if test -n "$LD"; then
3698   echo "$as_me:$LINENO: result: $LD" >&5
3699 echo "${ECHO_T}$LD" >&6
3700 else
3701   echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3703 fi
3704 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3705 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3706    { (exit 1); exit 1; }; }
3707 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3708 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3709 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3710   echo $ECHO_N "(cached) $ECHO_C" >&6
3711 else
3712   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3713 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3714   lt_cv_prog_gnu_ld=yes
3715 else
3716   lt_cv_prog_gnu_ld=no
3717 fi
3718 fi
3719 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3720 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3721 with_gnu_ld=$lt_cv_prog_gnu_ld
3722
3723
3724 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3725 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3726 if test "${lt_cv_ld_reload_flag+set}" = set; then
3727   echo $ECHO_N "(cached) $ECHO_C" >&6
3728 else
3729   lt_cv_ld_reload_flag='-r'
3730 fi
3731 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3732 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3733 reload_flag=$lt_cv_ld_reload_flag
3734 test -n "$reload_flag" && reload_flag=" $reload_flag"
3735
3736 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3737 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3738 if test "${lt_cv_path_NM+set}" = set; then
3739   echo $ECHO_N "(cached) $ECHO_C" >&6
3740 else
3741   if test -n "$NM"; then
3742   # Let the user override the test.
3743   lt_cv_path_NM="$NM"
3744 else
3745   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3746   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3747     test -z "$ac_dir" && ac_dir=.
3748     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3749     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3750       # Check to see if the nm accepts a BSD-compat flag.
3751       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3752       #   nm: unknown option "B" ignored
3753       # Tru64's nm complains that /dev/null is an invalid object file
3754       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3755         lt_cv_path_NM="$tmp_nm -B"
3756         break
3757       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3758         lt_cv_path_NM="$tmp_nm -p"
3759         break
3760       else
3761         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3762         continue # so that we can try to find one that supports BSD flags
3763       fi
3764     fi
3765   done
3766   IFS="$ac_save_ifs"
3767   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3768 fi
3769 fi
3770
3771 NM="$lt_cv_path_NM"
3772 echo "$as_me:$LINENO: result: $NM" >&5
3773 echo "${ECHO_T}$NM" >&6
3774
3775 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3776 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3777 if test "${lt_cv_deplibs_check_method+set}" = set; then
3778   echo $ECHO_N "(cached) $ECHO_C" >&6
3779 else
3780   lt_cv_file_magic_cmd='$MAGIC_CMD'
3781 lt_cv_file_magic_test_file=
3782 lt_cv_deplibs_check_method='unknown'
3783 # Need to set the preceding variable on all platforms that support
3784 # interlibrary dependencies.
3785 # 'none' -- dependencies not supported.
3786 # `unknown' -- same as none, but documents that we really don't know.
3787 # 'pass_all' -- all dependencies passed with no checks.
3788 # 'test_compile' -- check by making test program.
3789 # 'file_magic [regex]' -- check by looking for files in library path
3790 # which responds to the $file_magic_cmd with a given egrep regex.
3791 # If you have `file' or equivalent on your system and you're not sure
3792 # whether `pass_all' will *always* work, you probably want this one.
3793
3794 case $host_os in
3795 aix*)
3796   lt_cv_deplibs_check_method=pass_all
3797   ;;
3798
3799 beos*)
3800   lt_cv_deplibs_check_method=pass_all
3801   ;;
3802
3803 bsdi4*)
3804   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3805   lt_cv_file_magic_cmd='/usr/bin/file -L'
3806   lt_cv_file_magic_test_file=/shlib/libc.so
3807   ;;
3808
3809 cygwin* | mingw* |pw32*)
3810   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3811   lt_cv_file_magic_cmd='$OBJDUMP -f'
3812   ;;
3813
3814 darwin* | rhapsody*)
3815   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3816   lt_cv_file_magic_cmd='/usr/bin/file -L'
3817   case "$host_os" in
3818   rhapsody* | darwin1.012)
3819     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3820     ;;
3821   *) # Darwin 1.3 on
3822     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3823     ;;
3824   esac
3825   ;;
3826
3827 freebsd* )
3828   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3829     case $host_cpu in
3830     i*86 )
3831       # Not sure whether the presence of OpenBSD here was a mistake.
3832       # Let's accept both of them until this is cleared up.
3833       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3834       lt_cv_file_magic_cmd=/usr/bin/file
3835       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3836       ;;
3837     esac
3838   else
3839     lt_cv_deplibs_check_method=pass_all
3840   fi
3841   ;;
3842
3843 gnu*)
3844   lt_cv_deplibs_check_method=pass_all
3845   ;;
3846
3847 hpux10.20*|hpux11*)
3848   case $host_cpu in
3849   hppa*)
3850     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3851     lt_cv_file_magic_cmd=/usr/bin/file
3852     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3853     ;;
3854   ia64*)
3855     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3856     lt_cv_file_magic_cmd=/usr/bin/file
3857     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3858     ;;
3859   esac
3860   ;;
3861
3862 irix5* | irix6*)
3863   case $host_os in
3864   irix5*)
3865     # this will be overridden with pass_all, but let us keep it just in case
3866     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3867     ;;
3868   *)
3869     case $LD in
3870     *-32|*"-32 ") libmagic=32-bit;;
3871     *-n32|*"-n32 ") libmagic=N32;;
3872     *-64|*"-64 ") libmagic=64-bit;;
3873     *) libmagic=never-match;;
3874     esac
3875     # this will be overridden with pass_all, but let us keep it just in case
3876     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3877     ;;
3878   esac
3879   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3880   lt_cv_deplibs_check_method=pass_all
3881   ;;
3882
3883 # This must be Linux ELF.
3884 linux-gnu*)
3885   case $host_cpu in
3886   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3887     lt_cv_deplibs_check_method=pass_all ;;
3888   *)
3889     # glibc up to 2.1.1 does not perform some relocations on ARM
3890     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3891   esac
3892   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3893   ;;
3894
3895 netbsd*)
3896   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3897     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3898   else
3899     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3900   fi
3901   ;;
3902
3903 newsos6)
3904   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3905   lt_cv_file_magic_cmd=/usr/bin/file
3906   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3907   ;;
3908
3909 osf3* | osf4* | osf5*)
3910   # this will be overridden with pass_all, but let us keep it just in case
3911   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3912   lt_cv_file_magic_test_file=/shlib/libc.so
3913   lt_cv_deplibs_check_method=pass_all
3914   ;;
3915
3916 sco3.2v5*)
3917   lt_cv_deplibs_check_method=pass_all
3918   ;;
3919
3920 solaris*)
3921   lt_cv_deplibs_check_method=pass_all
3922   lt_cv_file_magic_test_file=/lib/libc.so
3923   ;;
3924
3925 sysv5uw[78]* | sysv4*uw2*)
3926   lt_cv_deplibs_check_method=pass_all
3927   ;;
3928
3929 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3930   case $host_vendor in
3931   ncr)
3932     lt_cv_deplibs_check_method=pass_all
3933     ;;
3934   motorola)
3935     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]'
3936     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3937     ;;
3938   esac
3939   ;;
3940 esac
3941
3942 fi
3943 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3944 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3945 file_magic_cmd=$lt_cv_file_magic_cmd
3946 deplibs_check_method=$lt_cv_deplibs_check_method
3947
3948
3949
3950
3951 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3952
3953 # Only perform the check for file, if the check method requires it
3954 case $deplibs_check_method in
3955 file_magic*)
3956   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3957     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3958 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3959 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3960   echo $ECHO_N "(cached) $ECHO_C" >&6
3961 else
3962   case $MAGIC_CMD in
3963   /*)
3964   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3965   ;;
3966   ?:/*)
3967   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3968   ;;
3969   *)
3970   ac_save_MAGIC_CMD="$MAGIC_CMD"
3971   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3972   ac_dummy="/usr/bin:$PATH"
3973   for ac_dir in $ac_dummy; do
3974     test -z "$ac_dir" && ac_dir=.
3975     if test -f $ac_dir/${ac_tool_prefix}file; then
3976       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3977       if test -n "$file_magic_test_file"; then
3978         case $deplibs_check_method in
3979         "file_magic "*)
3980           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3981           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3982           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3983             egrep "$file_magic_regex" > /dev/null; then
3984             :
3985           else
3986             cat <<EOF 1>&2
3987
3988 *** Warning: the command libtool uses to detect shared libraries,
3989 *** $file_magic_cmd, produces output that libtool cannot recognize.
3990 *** The result is that libtool may fail to recognize shared libraries
3991 *** as such.  This will affect the creation of libtool libraries that
3992 *** depend on shared libraries, but programs linked with such libtool
3993 *** libraries will work regardless of this problem.  Nevertheless, you
3994 *** may want to report the problem to your system manager and/or to
3995 *** bug-libtool@gnu.org
3996
3997 EOF
3998           fi ;;
3999         esac
4000       fi
4001       break
4002     fi
4003   done
4004   IFS="$ac_save_ifs"
4005   MAGIC_CMD="$ac_save_MAGIC_CMD"
4006   ;;
4007 esac
4008 fi
4009
4010 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4011 if test -n "$MAGIC_CMD"; then
4012   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4013 echo "${ECHO_T}$MAGIC_CMD" >&6
4014 else
4015   echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4017 fi
4018
4019 if test -z "$lt_cv_path_MAGIC_CMD"; then
4020   if test -n "$ac_tool_prefix"; then
4021     echo "$as_me:$LINENO: checking for file" >&5
4022 echo $ECHO_N "checking for file... $ECHO_C" >&6
4023 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4024   echo $ECHO_N "(cached) $ECHO_C" >&6
4025 else
4026   case $MAGIC_CMD in
4027   /*)
4028   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4029   ;;
4030   ?:/*)
4031   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4032   ;;
4033   *)
4034   ac_save_MAGIC_CMD="$MAGIC_CMD"
4035   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4036   ac_dummy="/usr/bin:$PATH"
4037   for ac_dir in $ac_dummy; do
4038     test -z "$ac_dir" && ac_dir=.
4039     if test -f $ac_dir/file; then
4040       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4041       if test -n "$file_magic_test_file"; then
4042         case $deplibs_check_method in
4043         "file_magic "*)
4044           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4045           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4046           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4047             egrep "$file_magic_regex" > /dev/null; then
4048             :
4049           else
4050             cat <<EOF 1>&2
4051
4052 *** Warning: the command libtool uses to detect shared libraries,
4053 *** $file_magic_cmd, produces output that libtool cannot recognize.
4054 *** The result is that libtool may fail to recognize shared libraries
4055 *** as such.  This will affect the creation of libtool libraries that
4056 *** depend on shared libraries, but programs linked with such libtool
4057 *** libraries will work regardless of this problem.  Nevertheless, you
4058 *** may want to report the problem to your system manager and/or to
4059 *** bug-libtool@gnu.org
4060
4061 EOF
4062           fi ;;
4063         esac
4064       fi
4065       break
4066     fi
4067   done
4068   IFS="$ac_save_ifs"
4069   MAGIC_CMD="$ac_save_MAGIC_CMD"
4070   ;;
4071 esac
4072 fi
4073
4074 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4075 if test -n "$MAGIC_CMD"; then
4076   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4077 echo "${ECHO_T}$MAGIC_CMD" >&6
4078 else
4079   echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4081 fi
4082
4083   else
4084     MAGIC_CMD=:
4085   fi
4086 fi
4087
4088   fi
4089   ;;
4090 esac
4091
4092 if test -n "$ac_tool_prefix"; then
4093   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4094 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4095 echo "$as_me:$LINENO: checking for $ac_word" >&5
4096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4097 if test "${ac_cv_prog_RANLIB+set}" = set; then
4098   echo $ECHO_N "(cached) $ECHO_C" >&6
4099 else
4100   if test -n "$RANLIB"; then
4101   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4102 else
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4105 do
4106   IFS=$as_save_IFS
4107   test -z "$as_dir" && as_dir=.
4108   for ac_exec_ext in '' $ac_executable_extensions; do
4109   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4112     break 2
4113   fi
4114 done
4115 done
4116
4117 fi
4118 fi
4119 RANLIB=$ac_cv_prog_RANLIB
4120 if test -n "$RANLIB"; then
4121   echo "$as_me:$LINENO: result: $RANLIB" >&5
4122 echo "${ECHO_T}$RANLIB" >&6
4123 else
4124   echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4126 fi
4127
4128 fi
4129 if test -z "$ac_cv_prog_RANLIB"; then
4130   ac_ct_RANLIB=$RANLIB
4131   # Extract the first word of "ranlib", so it can be a program name with args.
4132 set dummy ranlib; ac_word=$2
4133 echo "$as_me:$LINENO: checking for $ac_word" >&5
4134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4135 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4136   echo $ECHO_N "(cached) $ECHO_C" >&6
4137 else
4138   if test -n "$ac_ct_RANLIB"; then
4139   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4140 else
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 for as_dir in $PATH
4143 do
4144   IFS=$as_save_IFS
4145   test -z "$as_dir" && as_dir=.
4146   for ac_exec_ext in '' $ac_executable_extensions; do
4147   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4148     ac_cv_prog_ac_ct_RANLIB="ranlib"
4149     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4150     break 2
4151   fi
4152 done
4153 done
4154
4155   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4156 fi
4157 fi
4158 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4159 if test -n "$ac_ct_RANLIB"; then
4160   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4161 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4162 else
4163   echo "$as_me:$LINENO: result: no" >&5
4164 echo "${ECHO_T}no" >&6
4165 fi
4166
4167   RANLIB=$ac_ct_RANLIB
4168 else
4169   RANLIB="$ac_cv_prog_RANLIB"
4170 fi
4171
4172 if test -n "$ac_tool_prefix"; then
4173   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4174 set dummy ${ac_tool_prefix}strip; ac_word=$2
4175 echo "$as_me:$LINENO: checking for $ac_word" >&5
4176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4177 if test "${ac_cv_prog_STRIP+set}" = set; then
4178   echo $ECHO_N "(cached) $ECHO_C" >&6
4179 else
4180   if test -n "$STRIP"; then
4181   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4182 else
4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 for as_dir in $PATH
4185 do
4186   IFS=$as_save_IFS
4187   test -z "$as_dir" && as_dir=.
4188   for ac_exec_ext in '' $ac_executable_extensions; do
4189   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4190     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192     break 2
4193   fi
4194 done
4195 done
4196
4197 fi
4198 fi
4199 STRIP=$ac_cv_prog_STRIP
4200 if test -n "$STRIP"; then
4201   echo "$as_me:$LINENO: result: $STRIP" >&5
4202 echo "${ECHO_T}$STRIP" >&6
4203 else
4204   echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4206 fi
4207
4208 fi
4209 if test -z "$ac_cv_prog_STRIP"; then
4210   ac_ct_STRIP=$STRIP
4211   # Extract the first word of "strip", so it can be a program name with args.
4212 set dummy strip; ac_word=$2
4213 echo "$as_me:$LINENO: checking for $ac_word" >&5
4214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4215 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4216   echo $ECHO_N "(cached) $ECHO_C" >&6
4217 else
4218   if test -n "$ac_ct_STRIP"; then
4219   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4220 else
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 for as_dir in $PATH
4223 do
4224   IFS=$as_save_IFS
4225   test -z "$as_dir" && as_dir=.
4226   for ac_exec_ext in '' $ac_executable_extensions; do
4227   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4228     ac_cv_prog_ac_ct_STRIP="strip"
4229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4230     break 2
4231   fi
4232 done
4233 done
4234
4235   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4236 fi
4237 fi
4238 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4239 if test -n "$ac_ct_STRIP"; then
4240   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4241 echo "${ECHO_T}$ac_ct_STRIP" >&6
4242 else
4243   echo "$as_me:$LINENO: result: no" >&5
4244 echo "${ECHO_T}no" >&6
4245 fi
4246
4247   STRIP=$ac_ct_STRIP
4248 else
4249   STRIP="$ac_cv_prog_STRIP"
4250 fi
4251
4252
4253 # Check for any special flags to pass to ltconfig.
4254 libtool_flags="--cache-file=$cache_file"
4255 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4256 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4257 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4258 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4259 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4260
4261
4262 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4263 if test "${enable_libtool_lock+set}" = set; then
4264   enableval="$enable_libtool_lock"
4265
4266 fi;
4267 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4268 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4269
4270
4271 # Check whether --with-pic or --without-pic was given.
4272 if test "${with_pic+set}" = set; then
4273   withval="$with_pic"
4274   pic_mode="$withval"
4275 else
4276   pic_mode=default
4277 fi;
4278 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4279 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4280
4281 # Some flags need to be propagated to the compiler or linker for good
4282 # libtool support.
4283 case $host in
4284 *-*-irix6*)
4285   # Find out which ABI we are using.
4286   echo '#line 4286 "configure"' > conftest.$ac_ext
4287   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4288   (eval $ac_compile) 2>&5
4289   ac_status=$?
4290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291   (exit $ac_status); }; then
4292    if test "$lt_cv_prog_gnu_ld" = yes; then
4293     case `/usr/bin/file conftest.$ac_objext` in
4294     *32-bit*)
4295       LD="${LD-ld} -melf32bsmip"
4296       ;;
4297     *N32*)
4298       LD="${LD-ld} -melf32bmipn32"
4299       ;;
4300     *64-bit*)
4301       LD="${LD-ld} -melf64bmip"
4302       ;;
4303     esac
4304    else
4305     case `/usr/bin/file conftest.$ac_objext` in
4306     *32-bit*)
4307       LD="${LD-ld} -32"
4308       ;;
4309     *N32*)
4310       LD="${LD-ld} -n32"
4311       ;;
4312     *64-bit*)
4313       LD="${LD-ld} -64"
4314       ;;
4315     esac
4316    fi
4317   fi
4318   rm -rf conftest*
4319   ;;
4320
4321 ia64-*-hpux*)
4322   # Find out which ABI we are using.
4323   echo 'int i;' > conftest.$ac_ext
4324   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4325   (eval $ac_compile) 2>&5
4326   ac_status=$?
4327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328   (exit $ac_status); }; then
4329     case "`/usr/bin/file conftest.o`" in
4330     *ELF-32*)
4331       HPUX_IA64_MODE="32"
4332       ;;
4333     *ELF-64*)
4334       HPUX_IA64_MODE="64"
4335       ;;
4336     esac
4337   fi
4338   rm -rf conftest*
4339   ;;
4340
4341 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4342   # Find out which ABI we are using.
4343   echo 'int i;' > conftest.$ac_ext
4344   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4345   (eval $ac_compile) 2>&5
4346   ac_status=$?
4347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348   (exit $ac_status); }; then
4349     case "`/usr/bin/file conftest.o`" in
4350     *32-bit*)
4351       case $host in
4352         x86_64-*linux*)
4353           LD="${LD-ld} -m elf_i386"
4354           ;;
4355         ppc64-*linux*)
4356           LD="${LD-ld} -m elf32ppclinux"
4357           ;;
4358         s390x-*linux*)
4359           LD="${LD-ld} -m elf_s390"
4360           ;;
4361         sparc64-*linux*)
4362           LD="${LD-ld} -m elf32_sparc"
4363           ;;
4364       esac
4365       ;;
4366     *64-bit*)
4367       case $host in
4368         x86_64-*linux*)
4369           LD="${LD-ld} -m elf_x86_64"
4370           ;;
4371         ppc*-*linux*|powerpc*-*linux*)
4372           LD="${LD-ld} -m elf64ppc"
4373           ;;
4374         s390*-*linux*)
4375           LD="${LD-ld} -m elf64_s390"
4376           ;;
4377         sparc*-*linux*)
4378           LD="${LD-ld} -m elf64_sparc"
4379           ;;
4380       esac
4381       ;;
4382     esac
4383   fi
4384   rm -rf conftest*
4385   ;;
4386
4387 *-*-sco3.2v5*)
4388   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4389   SAVE_CFLAGS="$CFLAGS"
4390   CFLAGS="$CFLAGS -belf"
4391   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4392 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4393 if test "${lt_cv_cc_needs_belf+set}" = set; then
4394   echo $ECHO_N "(cached) $ECHO_C" >&6
4395 else
4396
4397
4398      ac_ext=c
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403
4404      cat >conftest.$ac_ext <<_ACEOF
4405 #line $LINENO "configure"
4406 /* confdefs.h.  */
4407 _ACEOF
4408 cat confdefs.h >>conftest.$ac_ext
4409 cat >>conftest.$ac_ext <<_ACEOF
4410 /* end confdefs.h.  */
4411
4412 int
4413 main ()
4414 {
4415
4416   ;
4417   return 0;
4418 }
4419 _ACEOF
4420 rm -f conftest.$ac_objext conftest$ac_exeext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4422   (eval $ac_link) 2>&5
4423   ac_status=$?
4424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425   (exit $ac_status); } &&
4426          { ac_try='test -s conftest$ac_exeext'
4427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428   (eval $ac_try) 2>&5
4429   ac_status=$?
4430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431   (exit $ac_status); }; }; then
4432   lt_cv_cc_needs_belf=yes
4433 else
4434   echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4436
4437 lt_cv_cc_needs_belf=no
4438 fi
4439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4440      ac_ext=c
4441 ac_cpp='$CPP $CPPFLAGS'
4442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4445
4446 fi
4447 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4448 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4449   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4450     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4451     CFLAGS="$SAVE_CFLAGS"
4452   fi
4453   ;;
4454
4455
4456 esac
4457
4458
4459 # Save cache, so that ltconfig can load it
4460 cat >confcache <<\_ACEOF
4461 # This file is a shell script that caches the results of configure
4462 # tests run on this system so they can be shared between configure
4463 # scripts and configure runs, see configure's option --config-cache.
4464 # It is not useful on other systems.  If it contains results you don't
4465 # want to keep, you may remove or edit it.
4466 #
4467 # config.status only pays attention to the cache file if you give it
4468 # the --recheck option to rerun configure.
4469 #
4470 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4471 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4472 # following values.
4473
4474 _ACEOF
4475
4476 # The following way of writing the cache mishandles newlines in values,
4477 # but we know of no workaround that is simple, portable, and efficient.
4478 # So, don't put newlines in cache variables' values.
4479 # Ultrix sh set writes to stderr and can't be redirected directly,
4480 # and sets the high bit in the cache file unless we assign to the vars.
4481 {
4482   (set) 2>&1 |
4483     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4484     *ac_space=\ *)
4485       # `set' does not quote correctly, so add quotes (double-quote
4486       # substitution turns \\\\ into \\, and sed turns \\ into \).
4487       sed -n \
4488         "s/'/'\\\\''/g;
4489           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4490       ;;
4491     *)
4492       # `set' quotes correctly as required by POSIX, so do not add quotes.
4493       sed -n \
4494         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4495       ;;
4496     esac;
4497 } |
4498   sed '
4499      t clear
4500      : clear
4501      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4502      t end
4503      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4504      : end' >>confcache
4505 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4506   if test -w $cache_file; then
4507     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4508     cat confcache >$cache_file
4509   else
4510     echo "not updating unwritable cache $cache_file"
4511   fi
4512 fi
4513 rm -f confcache
4514
4515 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4516 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4517 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4518 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4519 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4520 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4521 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4522 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4523 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4524 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4525 echo "$as_me: error: libtool configure failed" >&2;}
4526    { (exit 1); exit 1; }; }
4527
4528 # Reload cache, that may have been modified by ltconfig
4529 if test -r "$cache_file"; then
4530   # Some versions of bash will fail to source /dev/null (special
4531   # files actually), so we avoid doing that.
4532   if test -f "$cache_file"; then
4533     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4534 echo "$as_me: loading cache $cache_file" >&6;}
4535     case $cache_file in
4536       [\\/]* | ?:[\\/]* ) . $cache_file;;
4537       *)                      . ./$cache_file;;
4538     esac
4539   fi
4540 else
4541   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4542 echo "$as_me: creating cache $cache_file" >&6;}
4543   >$cache_file
4544 fi
4545
4546
4547 # This can be used to rebuild libtool when needed
4548 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4549
4550 # Always use our own libtool.
4551 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4552
4553 # Redirect the config.log output again, so that the ltconfig log is not
4554 # clobbered by the next message.
4555 exec 5>>./config.log
4556
4557 ac_ext=cc
4558 ac_cpp='$CXXCPP $CPPFLAGS'
4559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4562 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4563 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4564 if test -z "$CXXCPP"; then
4565   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4566   echo $ECHO_N "(cached) $ECHO_C" >&6
4567 else
4568       # Double quotes because CXXCPP needs to be expanded
4569     for CXXCPP in "$CXX -E" "/lib/cpp"
4570     do
4571       ac_preproc_ok=false
4572 for ac_cxx_preproc_warn_flag in '' yes
4573 do
4574   # Use a header file that comes with gcc, so configuring glibc
4575   # with a fresh cross-compiler works.
4576   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4577   # <limits.h> exists even on freestanding compilers.
4578   # On the NeXT, cc -E runs the code through the compiler's parser,
4579   # not just through cpp. "Syntax error" is here to catch this case.
4580   cat >conftest.$ac_ext <<_ACEOF
4581 #line $LINENO "configure"
4582 /* confdefs.h.  */
4583 _ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h.  */
4587 #ifdef __STDC__
4588 # include <limits.h>
4589 #else
4590 # include <assert.h>
4591 #endif
4592                      Syntax error
4593 _ACEOF
4594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4595   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4596   ac_status=$?
4597   grep -v '^ *+' conftest.er1 >conftest.err
4598   rm -f conftest.er1
4599   cat conftest.err >&5
4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601   (exit $ac_status); } >/dev/null; then
4602   if test -s conftest.err; then
4603     ac_cpp_err=$ac_cxx_preproc_warn_flag
4604   else
4605     ac_cpp_err=
4606   fi
4607 else
4608   ac_cpp_err=yes
4609 fi
4610 if test -z "$ac_cpp_err"; then
4611   :
4612 else
4613   echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4615
4616   # Broken: fails on valid input.
4617 continue
4618 fi
4619 rm -f conftest.err conftest.$ac_ext
4620
4621   # OK, works on sane cases.  Now check whether non-existent headers
4622   # can be detected and how.
4623   cat >conftest.$ac_ext <<_ACEOF
4624 #line $LINENO "configure"
4625 /* confdefs.h.  */
4626 _ACEOF
4627 cat confdefs.h >>conftest.$ac_ext
4628 cat >>conftest.$ac_ext <<_ACEOF
4629 /* end confdefs.h.  */
4630 #include <ac_nonexistent.h>
4631 _ACEOF
4632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4633   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4634   ac_status=$?
4635   grep -v '^ *+' conftest.er1 >conftest.err
4636   rm -f conftest.er1
4637   cat conftest.err >&5
4638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639   (exit $ac_status); } >/dev/null; then
4640   if test -s conftest.err; then
4641     ac_cpp_err=$ac_cxx_preproc_warn_flag
4642   else
4643     ac_cpp_err=
4644   fi
4645 else
4646   ac_cpp_err=yes
4647 fi
4648 if test -z "$ac_cpp_err"; then
4649   # Broken: success on invalid input.
4650 continue
4651 else
4652   echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.$ac_ext >&5
4654
4655   # Passes both tests.
4656 ac_preproc_ok=:
4657 break
4658 fi
4659 rm -f conftest.err conftest.$ac_ext
4660
4661 done
4662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4663 rm -f conftest.err conftest.$ac_ext
4664 if $ac_preproc_ok; then
4665   break
4666 fi
4667
4668     done
4669     ac_cv_prog_CXXCPP=$CXXCPP
4670
4671 fi
4672   CXXCPP=$ac_cv_prog_CXXCPP
4673 else
4674   ac_cv_prog_CXXCPP=$CXXCPP
4675 fi
4676 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4677 echo "${ECHO_T}$CXXCPP" >&6
4678 ac_preproc_ok=false
4679 for ac_cxx_preproc_warn_flag in '' yes
4680 do
4681   # Use a header file that comes with gcc, so configuring glibc
4682   # with a fresh cross-compiler works.
4683   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4684   # <limits.h> exists even on freestanding compilers.
4685   # On the NeXT, cc -E runs the code through the compiler's parser,
4686   # not just through cpp. "Syntax error" is here to catch this case.
4687   cat >conftest.$ac_ext <<_ACEOF
4688 #line $LINENO "configure"
4689 /* confdefs.h.  */
4690 _ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h.  */
4694 #ifdef __STDC__
4695 # include <limits.h>
4696 #else
4697 # include <assert.h>
4698 #endif
4699                      Syntax error
4700 _ACEOF
4701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4702   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4703   ac_status=$?
4704   grep -v '^ *+' conftest.er1 >conftest.err
4705   rm -f conftest.er1
4706   cat conftest.err >&5
4707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708   (exit $ac_status); } >/dev/null; then
4709   if test -s conftest.err; then
4710     ac_cpp_err=$ac_cxx_preproc_warn_flag
4711   else
4712     ac_cpp_err=
4713   fi
4714 else
4715   ac_cpp_err=yes
4716 fi
4717 if test -z "$ac_cpp_err"; then
4718   :
4719 else
4720   echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.$ac_ext >&5
4722
4723   # Broken: fails on valid input.
4724 continue
4725 fi
4726 rm -f conftest.err conftest.$ac_ext
4727
4728   # OK, works on sane cases.  Now check whether non-existent headers
4729   # can be detected and how.
4730   cat >conftest.$ac_ext <<_ACEOF
4731 #line $LINENO "configure"
4732 /* confdefs.h.  */
4733 _ACEOF
4734 cat confdefs.h >>conftest.$ac_ext
4735 cat >>conftest.$ac_ext <<_ACEOF
4736 /* end confdefs.h.  */
4737 #include <ac_nonexistent.h>
4738 _ACEOF
4739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4740   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4741   ac_status=$?
4742   grep -v '^ *+' conftest.er1 >conftest.err
4743   rm -f conftest.er1
4744   cat conftest.err >&5
4745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746   (exit $ac_status); } >/dev/null; then
4747   if test -s conftest.err; then
4748     ac_cpp_err=$ac_cxx_preproc_warn_flag
4749   else
4750     ac_cpp_err=
4751   fi
4752 else
4753   ac_cpp_err=yes
4754 fi
4755 if test -z "$ac_cpp_err"; then
4756   # Broken: success on invalid input.
4757 continue
4758 else
4759   echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4761
4762   # Passes both tests.
4763 ac_preproc_ok=:
4764 break
4765 fi
4766 rm -f conftest.err conftest.$ac_ext
4767
4768 done
4769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4770 rm -f conftest.err conftest.$ac_ext
4771 if $ac_preproc_ok; then
4772   :
4773 else
4774   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4775 See \`config.log' for more details." >&5
4776 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4777 See \`config.log' for more details." >&2;}
4778    { (exit 1); exit 1; }; }
4779 fi
4780
4781 ac_ext=c
4782 ac_cpp='$CPP $CPPFLAGS'
4783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4786
4787
4788
4789 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4790 lt_save_CC="$CC"
4791 lt_save_CFLAGS="$CFLAGS"
4792 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4793 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4794 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4795 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4796 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4797 deplibs_check_method="$deplibs_check_method" \
4798 file_magic_cmd="$file_magic_cmd" \
4799 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4800 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4801 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4802 echo "$as_me: error: libtool tag configuration failed" >&2;}
4803    { (exit 1); exit 1; }; }
4804 CC="$lt_save_CC"
4805 CFLAGS="$lt_save_CFLAGS"
4806
4807 # Redirect the config.log output again, so that the ltconfig log is not
4808 # clobbered by the next message.
4809 exec 5>>./config.log
4810
4811
4812
4813
4814
4815
4816
4817
4818 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4819
4820 # Check for support bits and g++ features that don't require linking.
4821
4822   echo "$as_me:$LINENO: checking for exception model to use" >&5
4823 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4824
4825
4826   ac_ext=cc
4827 ac_cpp='$CXXCPP $CPPFLAGS'
4828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4831
4832    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4833 if test "${enable_sjlj_exceptions+set}" = set; then
4834   enableval="$enable_sjlj_exceptions"
4835
4836       case "$enableval" in
4837        yes|no|auto) ;;
4838        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4839 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4840    { (exit 1); exit 1; }; } ;;
4841                           esac
4842
4843 else
4844   enable_sjlj_exceptions=auto
4845 fi;
4846
4847
4848   if test $enable_sjlj_exceptions = auto; then
4849     # Botheration.  Now we've got to detect the exception model.  Link tests
4850     # against libgcc.a are problematic since we've not been given proper -L
4851     # bits for single-tree newlib and libgloss.
4852     #
4853     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4854     cat > conftest.$ac_ext << EOF
4855 #line 4855 "configure"
4856 struct S { ~S(); };
4857 void bar();
4858 void foo()
4859 {
4860   S s;
4861   bar();
4862 }
4863 EOF
4864     old_CXXFLAGS="$CXXFLAGS"
4865     CXXFLAGS=-S
4866     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867   (eval $ac_compile) 2>&5
4868   ac_status=$?
4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870   (exit $ac_status); }; then
4871       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4872         enable_sjlj_exceptions=yes
4873       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4874         enable_sjlj_exceptions=no
4875       fi
4876     fi
4877     CXXFLAGS="$old_CXXFLAGS"
4878     rm -f conftest*
4879   fi
4880
4881   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
4882   # to two different models.
4883   case $enable_sjlj_exceptions in
4884     yes)
4885
4886 cat >>confdefs.h <<\_ACEOF
4887 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4888 _ACEOF
4889
4890       ac_exception_model_name=sjlj
4891       ;;
4892     no)
4893       ac_exception_model_name="call frame"
4894       ;;
4895     *)
4896       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4897 echo "$as_me: error: unable to detect exception model" >&2;}
4898    { (exit 1); exit 1; }; }
4899       ;;
4900   esac
4901  ac_ext=c
4902 ac_cpp='$CPP $CPPFLAGS'
4903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4906
4907  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4908 echo "${ECHO_T}$ac_exception_model_name" >&6
4909
4910
4911   echo "$as_me:$LINENO: checking for use of libunwind" >&5
4912 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4913    # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4914 if test "${enable_libunwind_exceptions+set}" = set; then
4915   enableval="$enable_libunwind_exceptions"
4916
4917       case "$enableval" in
4918        yes|no) ;;
4919        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4920 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4921    { (exit 1); exit 1; }; } ;;
4922       esac
4923
4924 else
4925   enable_libunwind_exceptions=no
4926 fi;
4927
4928   echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4929 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4930   if test $enable_libunwind_exceptions = yes; then
4931     LIBUNWIND_FLAG="-lunwind"
4932   else
4933     LIBUNWIND_FLAG=""
4934   fi
4935
4936
4937
4938   echo "$as_me:$LINENO: checking for enabled PCH" >&5
4939 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4940    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4941 if test "${enable_libstdcxx_pch+set}" = set; then
4942   enableval="$enable_libstdcxx_pch"
4943
4944       case "$enableval" in
4945        yes|no) ;;
4946        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4947 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4948    { (exit 1); exit 1; }; } ;;
4949       esac
4950
4951 else
4952   enable_libstdcxx_pch=yes
4953 fi;
4954
4955   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4956 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4957
4958   if test $enable_libstdcxx_pch = yes; then
4959     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4960 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4961 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4962   echo $ECHO_N "(cached) $ECHO_C" >&6
4963 else
4964   ac_save_CXXFLAGS="$CXXFLAGS"
4965        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4966
4967
4968        ac_ext=cc
4969 ac_cpp='$CXXCPP $CPPFLAGS'
4970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4973
4974        echo '#include <math.h>' > conftest.h
4975        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4976                           -o conftest.h.gch 1>&5 2>&1 &&
4977                 echo '#error "pch failed"' > conftest.h &&
4978           echo '#include "conftest.h"' > conftest.cc &&
4979                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4980        then
4981          glibcxx_cv_prog_CXX_pch=yes
4982        else
4983          glibcxx_cv_prog_CXX_pch=no
4984        fi
4985        rm -f conftest*
4986        CXXFLAGS=$ac_save_CXXFLAGS
4987        ac_ext=c
4988 ac_cpp='$CPP $CPPFLAGS'
4989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4992
4993
4994 fi
4995 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4996 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4997     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
4998   fi
4999
5000
5001
5002 if test $enable_libstdcxx_pch = yes; then
5003   GLIBCXX_BUILD_PCH_TRUE=
5004   GLIBCXX_BUILD_PCH_FALSE='#'
5005 else
5006   GLIBCXX_BUILD_PCH_TRUE='#'
5007   GLIBCXX_BUILD_PCH_FALSE=
5008 fi
5009
5010   if test $enable_libstdcxx_pch = yes; then
5011     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5012   else
5013     glibcxx_PCHFLAGS=""
5014   fi
5015
5016
5017
5018 # Enable all the variable C++ runtime options.
5019 # NB: C_MBCHAR must come early.
5020
5021   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5022 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5023    # Check whether --enable-cstdio or --disable-cstdio was given.
5024 if test "${enable_cstdio+set}" = set; then
5025   enableval="$enable_cstdio"
5026
5027       case "$enableval" in
5028        stdio) ;;
5029        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5030 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5031    { (exit 1); exit 1; }; } ;;
5032                           esac
5033
5034 else
5035   enable_cstdio=stdio
5036 fi;
5037
5038
5039   # Now that libio has been removed, you can have any color you want as long
5040   # as it's black.  This is one big no-op until other packages are added, but
5041   # showing the framework never hurts.
5042   case ${enable_cstdio} in
5043     stdio)
5044       CSTDIO_H=config/io/c_io_stdio.h
5045       BASIC_FILE_H=config/io/basic_file_stdio.h
5046       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5047       echo "$as_me:$LINENO: result: stdio" >&5
5048 echo "${ECHO_T}stdio" >&6
5049       ;;
5050   esac
5051
5052     FPOS_H=$fpos_include_dir
5053
5054
5055
5056
5057
5058
5059 ac_ext=c
5060 ac_cpp='$CPP $CPPFLAGS'
5061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5064 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5065 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5066 # On Suns, sometimes $CPP names a directory.
5067 if test -n "$CPP" && test -d "$CPP"; then
5068   CPP=
5069 fi
5070 if test -z "$CPP"; then
5071   if test "${ac_cv_prog_CPP+set}" = set; then
5072   echo $ECHO_N "(cached) $ECHO_C" >&6
5073 else
5074       # Double quotes because CPP needs to be expanded
5075     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5076     do
5077       ac_preproc_ok=false
5078 for ac_c_preproc_warn_flag in '' yes
5079 do
5080   # Use a header file that comes with gcc, so configuring glibc
5081   # with a fresh cross-compiler works.
5082   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5083   # <limits.h> exists even on freestanding compilers.
5084   # On the NeXT, cc -E runs the code through the compiler's parser,
5085   # not just through cpp. "Syntax error" is here to catch this case.
5086   cat >conftest.$ac_ext <<_ACEOF
5087 #line $LINENO "configure"
5088 /* confdefs.h.  */
5089 _ACEOF
5090 cat confdefs.h >>conftest.$ac_ext
5091 cat >>conftest.$ac_ext <<_ACEOF
5092 /* end confdefs.h.  */
5093 #ifdef __STDC__
5094 # include <limits.h>
5095 #else
5096 # include <assert.h>
5097 #endif
5098                      Syntax error
5099 _ACEOF
5100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5101   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5102   ac_status=$?
5103   grep -v '^ *+' conftest.er1 >conftest.err
5104   rm -f conftest.er1
5105   cat conftest.err >&5
5106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107   (exit $ac_status); } >/dev/null; then
5108   if test -s conftest.err; then
5109     ac_cpp_err=$ac_c_preproc_warn_flag
5110   else
5111     ac_cpp_err=
5112   fi
5113 else
5114   ac_cpp_err=yes
5115 fi
5116 if test -z "$ac_cpp_err"; then
5117   :
5118 else
5119   echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.$ac_ext >&5
5121
5122   # Broken: fails on valid input.
5123 continue
5124 fi
5125 rm -f conftest.err conftest.$ac_ext
5126
5127   # OK, works on sane cases.  Now check whether non-existent headers
5128   # can be detected and how.
5129   cat >conftest.$ac_ext <<_ACEOF
5130 #line $LINENO "configure"
5131 /* confdefs.h.  */
5132 _ACEOF
5133 cat confdefs.h >>conftest.$ac_ext
5134 cat >>conftest.$ac_ext <<_ACEOF
5135 /* end confdefs.h.  */
5136 #include <ac_nonexistent.h>
5137 _ACEOF
5138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5139   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5140   ac_status=$?
5141   grep -v '^ *+' conftest.er1 >conftest.err
5142   rm -f conftest.er1
5143   cat conftest.err >&5
5144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145   (exit $ac_status); } >/dev/null; then
5146   if test -s conftest.err; then
5147     ac_cpp_err=$ac_c_preproc_warn_flag
5148   else
5149     ac_cpp_err=
5150   fi
5151 else
5152   ac_cpp_err=yes
5153 fi
5154 if test -z "$ac_cpp_err"; then
5155   # Broken: success on invalid input.
5156 continue
5157 else
5158   echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.$ac_ext >&5
5160
5161   # Passes both tests.
5162 ac_preproc_ok=:
5163 break
5164 fi
5165 rm -f conftest.err conftest.$ac_ext
5166
5167 done
5168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5169 rm -f conftest.err conftest.$ac_ext
5170 if $ac_preproc_ok; then
5171   break
5172 fi
5173
5174     done
5175     ac_cv_prog_CPP=$CPP
5176
5177 fi
5178   CPP=$ac_cv_prog_CPP
5179 else
5180   ac_cv_prog_CPP=$CPP
5181 fi
5182 echo "$as_me:$LINENO: result: $CPP" >&5
5183 echo "${ECHO_T}$CPP" >&6
5184 ac_preproc_ok=false
5185 for ac_c_preproc_warn_flag in '' yes
5186 do
5187   # Use a header file that comes with gcc, so configuring glibc
5188   # with a fresh cross-compiler works.
5189   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5190   # <limits.h> exists even on freestanding compilers.
5191   # On the NeXT, cc -E runs the code through the compiler's parser,
5192   # not just through cpp. "Syntax error" is here to catch this case.
5193   cat >conftest.$ac_ext <<_ACEOF
5194 #line $LINENO "configure"
5195 /* confdefs.h.  */
5196 _ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h.  */
5200 #ifdef __STDC__
5201 # include <limits.h>
5202 #else
5203 # include <assert.h>
5204 #endif
5205                      Syntax error
5206 _ACEOF
5207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5208   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5209   ac_status=$?
5210   grep -v '^ *+' conftest.er1 >conftest.err
5211   rm -f conftest.er1
5212   cat conftest.err >&5
5213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214   (exit $ac_status); } >/dev/null; then
5215   if test -s conftest.err; then
5216     ac_cpp_err=$ac_c_preproc_warn_flag
5217   else
5218     ac_cpp_err=
5219   fi
5220 else
5221   ac_cpp_err=yes
5222 fi
5223 if test -z "$ac_cpp_err"; then
5224   :
5225 else
5226   echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.$ac_ext >&5
5228
5229   # Broken: fails on valid input.
5230 continue
5231 fi
5232 rm -f conftest.err conftest.$ac_ext
5233
5234   # OK, works on sane cases.  Now check whether non-existent headers
5235   # can be detected and how.
5236   cat >conftest.$ac_ext <<_ACEOF
5237 #line $LINENO "configure"
5238 /* confdefs.h.  */
5239 _ACEOF
5240 cat confdefs.h >>conftest.$ac_ext
5241 cat >>conftest.$ac_ext <<_ACEOF
5242 /* end confdefs.h.  */
5243 #include <ac_nonexistent.h>
5244 _ACEOF
5245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5246   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5247   ac_status=$?
5248   grep -v '^ *+' conftest.er1 >conftest.err
5249   rm -f conftest.er1
5250   cat conftest.err >&5
5251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252   (exit $ac_status); } >/dev/null; then
5253   if test -s conftest.err; then
5254     ac_cpp_err=$ac_c_preproc_warn_flag
5255   else
5256     ac_cpp_err=
5257   fi
5258 else
5259   ac_cpp_err=yes
5260 fi
5261 if test -z "$ac_cpp_err"; then
5262   # Broken: success on invalid input.
5263 continue
5264 else
5265   echo "$as_me: failed program was:" >&5
5266 sed 's/^/| /' conftest.$ac_ext >&5
5267
5268   # Passes both tests.
5269 ac_preproc_ok=:
5270 break
5271 fi
5272 rm -f conftest.err conftest.$ac_ext
5273
5274 done
5275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5276 rm -f conftest.err conftest.$ac_ext
5277 if $ac_preproc_ok; then
5278   :
5279 else
5280   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5281 See \`config.log' for more details." >&5
5282 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5283 See \`config.log' for more details." >&2;}
5284    { (exit 1); exit 1; }; }
5285 fi
5286
5287 ac_ext=c
5288 ac_cpp='$CPP $CPPFLAGS'
5289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5292
5293
5294 echo "$as_me:$LINENO: checking for egrep" >&5
5295 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5296 if test "${ac_cv_prog_egrep+set}" = set; then
5297   echo $ECHO_N "(cached) $ECHO_C" >&6
5298 else
5299   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5300     then ac_cv_prog_egrep='grep -E'
5301     else ac_cv_prog_egrep='egrep'
5302     fi
5303 fi
5304 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5305 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5306  EGREP=$ac_cv_prog_egrep
5307
5308
5309 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5310 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5311 if test "${ac_cv_header_stdc+set}" = set; then
5312   echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314   cat >conftest.$ac_ext <<_ACEOF
5315 #line $LINENO "configure"
5316 /* confdefs.h.  */
5317 _ACEOF
5318 cat confdefs.h >>conftest.$ac_ext
5319 cat >>conftest.$ac_ext <<_ACEOF
5320 /* end confdefs.h.  */
5321 #include <stdlib.h>
5322 #include <stdarg.h>
5323 #include <string.h>
5324 #include <float.h>
5325
5326 int
5327 main ()
5328 {
5329
5330   ;
5331   return 0;
5332 }
5333 _ACEOF
5334 rm -f conftest.$ac_objext
5335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5336   (eval $ac_compile) 2>&5
5337   ac_status=$?
5338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339   (exit $ac_status); } &&
5340          { ac_try='test -s conftest.$ac_objext'
5341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342   (eval $ac_try) 2>&5
5343   ac_status=$?
5344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345   (exit $ac_status); }; }; then
5346   ac_cv_header_stdc=yes
5347 else
5348   echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5350
5351 ac_cv_header_stdc=no
5352 fi
5353 rm -f conftest.$ac_objext conftest.$ac_ext
5354
5355 if test $ac_cv_header_stdc = yes; then
5356   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5357   cat >conftest.$ac_ext <<_ACEOF
5358 #line $LINENO "configure"
5359 /* confdefs.h.  */
5360 _ACEOF
5361 cat confdefs.h >>conftest.$ac_ext
5362 cat >>conftest.$ac_ext <<_ACEOF
5363 /* end confdefs.h.  */
5364 #include <string.h>
5365
5366 _ACEOF
5367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5368   $EGREP "memchr" >/dev/null 2>&1; then
5369   :
5370 else
5371   ac_cv_header_stdc=no
5372 fi
5373 rm -f conftest*
5374
5375 fi
5376
5377 if test $ac_cv_header_stdc = yes; then
5378   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5379   cat >conftest.$ac_ext <<_ACEOF
5380 #line $LINENO "configure"
5381 /* confdefs.h.  */
5382 _ACEOF
5383 cat confdefs.h >>conftest.$ac_ext
5384 cat >>conftest.$ac_ext <<_ACEOF
5385 /* end confdefs.h.  */
5386 #include <stdlib.h>
5387
5388 _ACEOF
5389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5390   $EGREP "free" >/dev/null 2>&1; then
5391   :
5392 else
5393   ac_cv_header_stdc=no
5394 fi
5395 rm -f conftest*
5396
5397 fi
5398
5399 if test $ac_cv_header_stdc = yes; then
5400   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5401   if test "$cross_compiling" = yes; then
5402   :
5403 else
5404   cat >conftest.$ac_ext <<_ACEOF
5405 #line $LINENO "configure"
5406 /* confdefs.h.  */
5407 _ACEOF
5408 cat confdefs.h >>conftest.$ac_ext
5409 cat >>conftest.$ac_ext <<_ACEOF
5410 /* end confdefs.h.  */
5411 #include <ctype.h>
5412 #if ((' ' & 0x0FF) == 0x020)
5413 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5414 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5415 #else
5416 # define ISLOWER(c) \
5417                    (('a' <= (c) && (c) <= 'i') \
5418                      || ('j' <= (c) && (c) <= 'r') \
5419                      || ('s' <= (c) && (c) <= 'z'))
5420 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5421 #endif
5422
5423 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5424 int
5425 main ()
5426 {
5427   int i;
5428   for (i = 0; i < 256; i++)
5429     if (XOR (islower (i), ISLOWER (i))
5430         || toupper (i) != TOUPPER (i))
5431       exit(2);
5432   exit (0);
5433 }
5434 _ACEOF
5435 rm -f conftest$ac_exeext
5436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5437   (eval $ac_link) 2>&5
5438   ac_status=$?
5439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5442   (eval $ac_try) 2>&5
5443   ac_status=$?
5444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445   (exit $ac_status); }; }; then
5446   :
5447 else
5448   echo "$as_me: program exited with status $ac_status" >&5
5449 echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.$ac_ext >&5
5451
5452 ( exit $ac_status )
5453 ac_cv_header_stdc=no
5454 fi
5455 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5456 fi
5457 fi
5458 fi
5459 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5460 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5461 if test $ac_cv_header_stdc = yes; then
5462
5463 cat >>confdefs.h <<\_ACEOF
5464 #define STDC_HEADERS 1
5465 _ACEOF
5466
5467 fi
5468
5469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5480                   inttypes.h stdint.h unistd.h
5481 do
5482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5483 echo "$as_me:$LINENO: checking for $ac_header" >&5
5484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5486   echo $ECHO_N "(cached) $ECHO_C" >&6
5487 else
5488   cat >conftest.$ac_ext <<_ACEOF
5489 #line $LINENO "configure"
5490 /* confdefs.h.  */
5491 _ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h.  */
5495 $ac_includes_default
5496
5497 #include <$ac_header>
5498 _ACEOF
5499 rm -f conftest.$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501   (eval $ac_compile) 2>&5
5502   ac_status=$?
5503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504   (exit $ac_status); } &&
5505          { ac_try='test -s conftest.$ac_objext'
5506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507   (eval $ac_try) 2>&5
5508   ac_status=$?
5509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510   (exit $ac_status); }; }; then
5511   eval "$as_ac_Header=yes"
5512 else
5513   echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5515
5516 eval "$as_ac_Header=no"
5517 fi
5518 rm -f conftest.$ac_objext conftest.$ac_ext
5519 fi
5520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5523   cat >>confdefs.h <<_ACEOF
5524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5525 _ACEOF
5526
5527 fi
5528
5529 done
5530
5531
5532
5533   echo "$as_me:$LINENO: checking for C locale to use" >&5
5534 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5535    # Check whether --enable-clocale or --disable-clocale was given.
5536 if test "${enable_clocale+set}" = set; then
5537   enableval="$enable_clocale"
5538
5539       case "$enableval" in
5540        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5541        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5542 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5543    { (exit 1); exit 1; }; } ;;
5544                           esac
5545
5546 else
5547   enable_clocale=auto
5548 fi;
5549
5550
5551   # If they didn't use this option switch, or if they specified --enable
5552   # with no specific model, we'll have to look for one.  If they
5553   # specified --disable (???), do likewise.
5554   if test $enable_clocale = no || test $enable_clocale = yes; then
5555      enable_clocale=auto
5556   fi
5557
5558   # Either a known package, or "auto"
5559   enable_clocale_flag=$enable_clocale
5560
5561   # Probe for locale support if no specific model is specified.
5562   # Default to "generic".
5563   if test $enable_clocale_flag = auto; then
5564     case x${target_os} in
5565       xlinux* | xgnu*)
5566         cat >conftest.$ac_ext <<_ACEOF
5567 #line $LINENO "configure"
5568 /* confdefs.h.  */
5569 _ACEOF
5570 cat confdefs.h >>conftest.$ac_ext
5571 cat >>conftest.$ac_ext <<_ACEOF
5572 /* end confdefs.h.  */
5573
5574         #include <features.h>
5575         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5576           _GLIBCXX_ok
5577         #endif
5578
5579 _ACEOF
5580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5581   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5582   enable_clocale_flag=gnu
5583 else
5584   enable_clocale_flag=generic
5585 fi
5586 rm -f conftest*
5587
5588
5589         # Test for bugs early in glibc-2.2.x series
5590           if test x$enable_clocale_flag = xgnu; then
5591           if test "$cross_compiling" = yes; then
5592   enable_clocale_flag=generic
5593 else
5594   cat >conftest.$ac_ext <<_ACEOF
5595 #line $LINENO "configure"
5596 /* confdefs.h.  */
5597 _ACEOF
5598 cat confdefs.h >>conftest.$ac_ext
5599 cat >>conftest.$ac_ext <<_ACEOF
5600 /* end confdefs.h.  */
5601
5602           #define _GNU_SOURCE 1
5603           #include <locale.h>
5604           #include <string.h>
5605           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5606           extern __typeof(newlocale) __newlocale;
5607           extern __typeof(duplocale) __duplocale;
5608           extern __typeof(strcoll_l) __strcoll_l;
5609           #endif
5610           int main()
5611           {
5612               const char __one[] = "Äuglein Augmen";
5613               const char __two[] = "Äuglein";
5614               int i;
5615               int j;
5616               __locale_t        loc;
5617                __locale_t        loc_dup;
5618               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5619               loc_dup = __duplocale(loc);
5620               i = __strcoll_l(__one, __two, loc);
5621               j = __strcoll_l(__one, __two, loc_dup);
5622               return 0;
5623           }
5624
5625 _ACEOF
5626 rm -f conftest$ac_exeext
5627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5628   (eval $ac_link) 2>&5
5629   ac_status=$?
5630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5633   (eval $ac_try) 2>&5
5634   ac_status=$?
5635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636   (exit $ac_status); }; }; then
5637   enable_clocale_flag=gnu
5638 else
5639   echo "$as_me: program exited with status $ac_status" >&5
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.$ac_ext >&5
5642
5643 ( exit $ac_status )
5644 enable_clocale_flag=generic
5645 fi
5646 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5647 fi
5648           fi
5649
5650         # ... at some point put __strxfrm_l tests in as well.
5651         ;;
5652       *)
5653         enable_clocale_flag=generic
5654         ;;
5655     esac
5656   fi
5657
5658   # Deal with gettext issues.  Default to not using it (=no) until we detect
5659   # support for it later.  Let the user turn it off via --e/d, but let that
5660   # default to on for easier handling.
5661   USE_NLS=no
5662   # Check whether --enable-nls or --disable-nls was given.
5663 if test "${enable_nls+set}" = set; then
5664   enableval="$enable_nls"
5665
5666 else
5667   enable_nls=yes
5668 fi;
5669
5670   # Set configure bits for specified locale package
5671   case ${enable_clocale_flag} in
5672     generic)
5673       echo "$as_me:$LINENO: result: generic" >&5
5674 echo "${ECHO_T}generic" >&6
5675
5676       CLOCALE_H=config/locale/generic/c_locale.h
5677       CLOCALE_CC=config/locale/generic/c_locale.cc
5678       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5679       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5680       CCOLLATE_CC=config/locale/generic/collate_members.cc
5681       CCTYPE_CC=config/locale/generic/ctype_members.cc
5682       CMESSAGES_H=config/locale/generic/messages_members.h
5683       CMESSAGES_CC=config/locale/generic/messages_members.cc
5684       CMONEY_CC=config/locale/generic/monetary_members.cc
5685       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5686       CTIME_H=config/locale/generic/time_members.h
5687       CTIME_CC=config/locale/generic/time_members.cc
5688       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5689       ;;
5690     gnu)
5691       echo "$as_me:$LINENO: result: gnu" >&5
5692 echo "${ECHO_T}gnu" >&6
5693
5694       # Declare intention to use gettext, and add support for specific
5695       # languages.
5696       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5697       ALL_LINGUAS="de fr"
5698
5699       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5700       # Extract the first word of "msgfmt", so it can be a program name with args.
5701 set dummy msgfmt; ac_word=$2
5702 echo "$as_me:$LINENO: checking for $ac_word" >&5
5703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5704 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5705   echo $ECHO_N "(cached) $ECHO_C" >&6
5706 else
5707   if test -n "$check_msgfmt"; then
5708   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5712 do
5713   IFS=$as_save_IFS
5714   test -z "$as_dir" && as_dir=.
5715   for ac_exec_ext in '' $ac_executable_extensions; do
5716   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717     ac_cv_prog_check_msgfmt="yes"
5718     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719     break 2
5720   fi
5721 done
5722 done
5723
5724   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5725 fi
5726 fi
5727 check_msgfmt=$ac_cv_prog_check_msgfmt
5728 if test -n "$check_msgfmt"; then
5729   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5730 echo "${ECHO_T}$check_msgfmt" >&6
5731 else
5732   echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6
5734 fi
5735
5736       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5737         USE_NLS=yes
5738       fi
5739       # Export the build objects.
5740       for ling in $ALL_LINGUAS; do \
5741         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5742         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5743       done
5744
5745
5746
5747       CLOCALE_H=config/locale/gnu/c_locale.h
5748       CLOCALE_CC=config/locale/gnu/c_locale.cc
5749       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5750       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5751       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5752       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5753       CMESSAGES_H=config/locale/gnu/messages_members.h
5754       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5755       CMONEY_CC=config/locale/gnu/monetary_members.cc
5756       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5757       CTIME_H=config/locale/gnu/time_members.h
5758       CTIME_CC=config/locale/gnu/time_members.cc
5759       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5760       ;;
5761     ieee_1003.1-2001)
5762       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5763 echo "${ECHO_T}IEEE 1003.1" >&6
5764
5765       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5766       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5767       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5768       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5769       CCOLLATE_CC=config/locale/generic/collate_members.cc
5770       CCTYPE_CC=config/locale/generic/ctype_members.cc
5771       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5772       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5773       CMONEY_CC=config/locale/generic/monetary_members.cc
5774       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5775       CTIME_H=config/locale/generic/time_members.h
5776       CTIME_CC=config/locale/generic/time_members.cc
5777       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5778       ;;
5779   esac
5780
5781   # This is where the testsuite looks for locale catalogs, using the
5782   # -DLOCALEDIR define during testsuite compilation.
5783   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5784
5785
5786   # A standalone libintl (e.g., GNU libintl) may be in use.
5787   if test $USE_NLS = yes; then
5788
5789 for ac_header in libintl.h
5790 do
5791 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5793   echo "$as_me:$LINENO: checking for $ac_header" >&5
5794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5796   echo $ECHO_N "(cached) $ECHO_C" >&6
5797 fi
5798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5800 else
5801   # Is the header compilable?
5802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5804 cat >conftest.$ac_ext <<_ACEOF
5805 #line $LINENO "configure"
5806 /* confdefs.h.  */
5807 _ACEOF
5808 cat confdefs.h >>conftest.$ac_ext
5809 cat >>conftest.$ac_ext <<_ACEOF
5810 /* end confdefs.h.  */
5811 $ac_includes_default
5812 #include <$ac_header>
5813 _ACEOF
5814 rm -f conftest.$ac_objext
5815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5816   (eval $ac_compile) 2>&5
5817   ac_status=$?
5818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819   (exit $ac_status); } &&
5820          { ac_try='test -s conftest.$ac_objext'
5821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822   (eval $ac_try) 2>&5
5823   ac_status=$?
5824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825   (exit $ac_status); }; }; then
5826   ac_header_compiler=yes
5827 else
5828   echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5830
5831 ac_header_compiler=no
5832 fi
5833 rm -f conftest.$ac_objext conftest.$ac_ext
5834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5835 echo "${ECHO_T}$ac_header_compiler" >&6
5836
5837 # Is the header present?
5838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5840 cat >conftest.$ac_ext <<_ACEOF
5841 #line $LINENO "configure"
5842 /* confdefs.h.  */
5843 _ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h.  */
5847 #include <$ac_header>
5848 _ACEOF
5849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5851   ac_status=$?
5852   grep -v '^ *+' conftest.er1 >conftest.err
5853   rm -f conftest.er1
5854   cat conftest.err >&5
5855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856   (exit $ac_status); } >/dev/null; then
5857   if test -s conftest.err; then
5858     ac_cpp_err=$ac_c_preproc_warn_flag
5859   else
5860     ac_cpp_err=
5861   fi
5862 else
5863   ac_cpp_err=yes
5864 fi
5865 if test -z "$ac_cpp_err"; then
5866   ac_header_preproc=yes
5867 else
5868   echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5870
5871   ac_header_preproc=no
5872 fi
5873 rm -f conftest.err conftest.$ac_ext
5874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5875 echo "${ECHO_T}$ac_header_preproc" >&6
5876
5877 # So?  What about this header?
5878 case $ac_header_compiler:$ac_header_preproc in
5879   yes:no )
5880     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5882     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5884     (
5885       cat <<\_ASBOX
5886 ## ------------------------------------ ##
5887 ## Report this to bug-autoconf@gnu.org. ##
5888 ## ------------------------------------ ##
5889 _ASBOX
5890     ) |
5891       sed "s/^/$as_me: WARNING:     /" >&2
5892     ;;
5893   no:yes )
5894     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5896     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5898     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5900     (
5901       cat <<\_ASBOX
5902 ## ------------------------------------ ##
5903 ## Report this to bug-autoconf@gnu.org. ##
5904 ## ------------------------------------ ##
5905 _ASBOX
5906     ) |
5907       sed "s/^/$as_me: WARNING:     /" >&2
5908     ;;
5909 esac
5910 echo "$as_me:$LINENO: checking for $ac_header" >&5
5911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5913   echo $ECHO_N "(cached) $ECHO_C" >&6
5914 else
5915   eval "$as_ac_Header=$ac_header_preproc"
5916 fi
5917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5919
5920 fi
5921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5922   cat >>confdefs.h <<_ACEOF
5923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5924 _ACEOF
5925
5926 else
5927   USE_NLS=no
5928 fi
5929
5930 done
5931
5932     echo "$as_me:$LINENO: checking for library containing gettext" >&5
5933 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5934 if test "${ac_cv_search_gettext+set}" = set; then
5935   echo $ECHO_N "(cached) $ECHO_C" >&6
5936 else
5937   ac_func_search_save_LIBS=$LIBS
5938 ac_cv_search_gettext=no
5939 cat >conftest.$ac_ext <<_ACEOF
5940 #line $LINENO "configure"
5941 /* confdefs.h.  */
5942 _ACEOF
5943 cat confdefs.h >>conftest.$ac_ext
5944 cat >>conftest.$ac_ext <<_ACEOF
5945 /* end confdefs.h.  */
5946
5947 /* Override any gcc2 internal prototype to avoid an error.  */
5948 #ifdef __cplusplus
5949 extern "C"
5950 #endif
5951 /* We use char because int might match the return type of a gcc2
5952    builtin and then its argument prototype would still apply.  */
5953 char gettext ();
5954 int
5955 main ()
5956 {
5957 gettext ();
5958   ;
5959   return 0;
5960 }
5961 _ACEOF
5962 rm -f conftest.$ac_objext conftest$ac_exeext
5963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5964   (eval $ac_link) 2>&5
5965   ac_status=$?
5966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967   (exit $ac_status); } &&
5968          { ac_try='test -s conftest$ac_exeext'
5969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970   (eval $ac_try) 2>&5
5971   ac_status=$?
5972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973   (exit $ac_status); }; }; then
5974   ac_cv_search_gettext="none required"
5975 else
5976   echo "$as_me: failed program was:" >&5
5977 sed 's/^/| /' conftest.$ac_ext >&5
5978
5979 fi
5980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5981 if test "$ac_cv_search_gettext" = no; then
5982   for ac_lib in intl; do
5983     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5984     cat >conftest.$ac_ext <<_ACEOF
5985 #line $LINENO "configure"
5986 /* confdefs.h.  */
5987 _ACEOF
5988 cat confdefs.h >>conftest.$ac_ext
5989 cat >>conftest.$ac_ext <<_ACEOF
5990 /* end confdefs.h.  */
5991
5992 /* Override any gcc2 internal prototype to avoid an error.  */
5993 #ifdef __cplusplus
5994 extern "C"
5995 #endif
5996 /* We use char because int might match the return type of a gcc2
5997    builtin and then its argument prototype would still apply.  */
5998 char gettext ();
5999 int
6000 main ()
6001 {
6002 gettext ();
6003   ;
6004   return 0;
6005 }
6006 _ACEOF
6007 rm -f conftest.$ac_objext conftest$ac_exeext
6008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6009   (eval $ac_link) 2>&5
6010   ac_status=$?
6011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012   (exit $ac_status); } &&
6013          { ac_try='test -s conftest$ac_exeext'
6014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015   (eval $ac_try) 2>&5
6016   ac_status=$?
6017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018   (exit $ac_status); }; }; then
6019   ac_cv_search_gettext="-l$ac_lib"
6020 break
6021 else
6022   echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.$ac_ext >&5
6024
6025 fi
6026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6027   done
6028 fi
6029 LIBS=$ac_func_search_save_LIBS
6030 fi
6031 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6032 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6033 if test "$ac_cv_search_gettext" != no; then
6034   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6035
6036 else
6037   USE_NLS=no
6038 fi
6039
6040   fi
6041   if test $USE_NLS = yes; then
6042     cat >>confdefs.h <<\_ACEOF
6043 #define _GLIBCXX_USE_NLS 1
6044 _ACEOF
6045
6046   fi
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064    # Check whether --enable-cheaders or --disable-cheaders was given.
6065 if test "${enable_cheaders+set}" = set; then
6066   enableval="$enable_cheaders"
6067
6068       case "$enableval" in
6069        c|c_std) ;;
6070        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6071 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6072    { (exit 1); exit 1; }; } ;;
6073                           esac
6074
6075 else
6076   enable_cheaders=$c_model
6077 fi;
6078
6079   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6080 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6081
6082   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6083
6084
6085
6086
6087 if test $enable_cheaders = c; then
6088   GLIBCXX_C_HEADERS_C_TRUE=
6089   GLIBCXX_C_HEADERS_C_FALSE='#'
6090 else
6091   GLIBCXX_C_HEADERS_C_TRUE='#'
6092   GLIBCXX_C_HEADERS_C_FALSE=
6093 fi
6094
6095
6096
6097 if test $enable_cheaders = c_std; then
6098   GLIBCXX_C_HEADERS_C_STD_TRUE=
6099   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
6100 else
6101   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
6102   GLIBCXX_C_HEADERS_C_STD_FALSE=
6103 fi
6104
6105
6106
6107 if test $c_compatibility = yes; then
6108   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
6109   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
6110 else
6111   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
6112   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
6113 fi
6114
6115
6116    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6117 if test "${enable_c_mbchar+set}" = set; then
6118   enableval="$enable_c_mbchar"
6119
6120       case "$enableval" in
6121        yes|no) ;;
6122        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6123 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6124    { (exit 1); exit 1; }; } ;;
6125       esac
6126
6127 else
6128   enable_c_mbchar=yes
6129 fi;
6130
6131   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6132
6133
6134
6135    # Check whether --enable-c99 or --disable-c99 was given.
6136 if test "${enable_c99+set}" = set; then
6137   enableval="$enable_c99"
6138
6139       case "$enableval" in
6140        yes|no) ;;
6141        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6142 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6143    { (exit 1); exit 1; }; } ;;
6144       esac
6145
6146 else
6147   enable_c99=yes
6148 fi;
6149
6150
6151
6152
6153   ac_ext=cc
6154 ac_cpp='$CXXCPP $CPPFLAGS'
6155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6158
6159
6160   # Check for the existence of <math.h> functions used if C99 is enabled.
6161   ac_c99_math=yes;
6162   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6163 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6164   cat >conftest.$ac_ext <<_ACEOF
6165 #line $LINENO "configure"
6166 /* confdefs.h.  */
6167 _ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h.  */
6171 #include <math.h>
6172 int
6173 main ()
6174 {
6175 fpclassify(0.0);
6176   ;
6177   return 0;
6178 }
6179 _ACEOF
6180 rm -f conftest.$ac_objext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6182   (eval $ac_compile) 2>&5
6183   ac_status=$?
6184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185   (exit $ac_status); } &&
6186          { ac_try='test -s conftest.$ac_objext'
6187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188   (eval $ac_try) 2>&5
6189   ac_status=$?
6190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191   (exit $ac_status); }; }; then
6192   :
6193 else
6194   echo "$as_me: failed program was:" >&5
6195 sed 's/^/| /' conftest.$ac_ext >&5
6196
6197 ac_c99_math=no
6198 fi
6199 rm -f conftest.$ac_objext conftest.$ac_ext
6200   cat >conftest.$ac_ext <<_ACEOF
6201 #line $LINENO "configure"
6202 /* confdefs.h.  */
6203 _ACEOF
6204 cat confdefs.h >>conftest.$ac_ext
6205 cat >>conftest.$ac_ext <<_ACEOF
6206 /* end confdefs.h.  */
6207 #include <math.h>
6208 int
6209 main ()
6210 {
6211 isfinite(0.0);
6212   ;
6213   return 0;
6214 }
6215 _ACEOF
6216 rm -f conftest.$ac_objext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218   (eval $ac_compile) 2>&5
6219   ac_status=$?
6220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221   (exit $ac_status); } &&
6222          { ac_try='test -s conftest.$ac_objext'
6223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224   (eval $ac_try) 2>&5
6225   ac_status=$?
6226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227   (exit $ac_status); }; }; then
6228   :
6229 else
6230   echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6232
6233 ac_c99_math=no
6234 fi
6235 rm -f conftest.$ac_objext conftest.$ac_ext
6236   cat >conftest.$ac_ext <<_ACEOF
6237 #line $LINENO "configure"
6238 /* confdefs.h.  */
6239 _ACEOF
6240 cat confdefs.h >>conftest.$ac_ext
6241 cat >>conftest.$ac_ext <<_ACEOF
6242 /* end confdefs.h.  */
6243 #include <math.h>
6244 int
6245 main ()
6246 {
6247 isinf(0.0);
6248   ;
6249   return 0;
6250 }
6251 _ACEOF
6252 rm -f conftest.$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254   (eval $ac_compile) 2>&5
6255   ac_status=$?
6256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257   (exit $ac_status); } &&
6258          { ac_try='test -s conftest.$ac_objext'
6259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6260   (eval $ac_try) 2>&5
6261   ac_status=$?
6262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263   (exit $ac_status); }; }; then
6264   :
6265 else
6266   echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.$ac_ext >&5
6268
6269 ac_c99_math=no
6270 fi
6271 rm -f conftest.$ac_objext conftest.$ac_ext
6272   cat >conftest.$ac_ext <<_ACEOF
6273 #line $LINENO "configure"
6274 /* confdefs.h.  */
6275 _ACEOF
6276 cat confdefs.h >>conftest.$ac_ext
6277 cat >>conftest.$ac_ext <<_ACEOF
6278 /* end confdefs.h.  */
6279 #include <math.h>
6280 int
6281 main ()
6282 {
6283 isnan(0.0);
6284   ;
6285   return 0;
6286 }
6287 _ACEOF
6288 rm -f conftest.$ac_objext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6290   (eval $ac_compile) 2>&5
6291   ac_status=$?
6292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293   (exit $ac_status); } &&
6294          { ac_try='test -s conftest.$ac_objext'
6295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296   (eval $ac_try) 2>&5
6297   ac_status=$?
6298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299   (exit $ac_status); }; }; then
6300   :
6301 else
6302   echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.$ac_ext >&5
6304
6305 ac_c99_math=no
6306 fi
6307 rm -f conftest.$ac_objext conftest.$ac_ext
6308   cat >conftest.$ac_ext <<_ACEOF
6309 #line $LINENO "configure"
6310 /* confdefs.h.  */
6311 _ACEOF
6312 cat confdefs.h >>conftest.$ac_ext
6313 cat >>conftest.$ac_ext <<_ACEOF
6314 /* end confdefs.h.  */
6315 #include <math.h>
6316 int
6317 main ()
6318 {
6319 isnormal(0.0);
6320   ;
6321   return 0;
6322 }
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326   (eval $ac_compile) 2>&5
6327   ac_status=$?
6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329   (exit $ac_status); } &&
6330          { ac_try='test -s conftest.$ac_objext'
6331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332   (eval $ac_try) 2>&5
6333   ac_status=$?
6334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335   (exit $ac_status); }; }; then
6336   :
6337 else
6338   echo "$as_me: failed program was:" >&5
6339 sed 's/^/| /' conftest.$ac_ext >&5
6340
6341 ac_c99_math=no
6342 fi
6343 rm -f conftest.$ac_objext conftest.$ac_ext
6344   cat >conftest.$ac_ext <<_ACEOF
6345 #line $LINENO "configure"
6346 /* confdefs.h.  */
6347 _ACEOF
6348 cat confdefs.h >>conftest.$ac_ext
6349 cat >>conftest.$ac_ext <<_ACEOF
6350 /* end confdefs.h.  */
6351 #include <math.h>
6352 int
6353 main ()
6354 {
6355 signbit(0.0);
6356   ;
6357   return 0;
6358 }
6359 _ACEOF
6360 rm -f conftest.$ac_objext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6362   (eval $ac_compile) 2>&5
6363   ac_status=$?
6364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365   (exit $ac_status); } &&
6366          { ac_try='test -s conftest.$ac_objext'
6367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368   (eval $ac_try) 2>&5
6369   ac_status=$?
6370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371   (exit $ac_status); }; }; then
6372   :
6373 else
6374   echo "$as_me: failed program was:" >&5
6375 sed 's/^/| /' conftest.$ac_ext >&5
6376
6377 ac_c99_math=no
6378 fi
6379 rm -f conftest.$ac_objext conftest.$ac_ext
6380   cat >conftest.$ac_ext <<_ACEOF
6381 #line $LINENO "configure"
6382 /* confdefs.h.  */
6383 _ACEOF
6384 cat confdefs.h >>conftest.$ac_ext
6385 cat >>conftest.$ac_ext <<_ACEOF
6386 /* end confdefs.h.  */
6387 #include <math.h>
6388 int
6389 main ()
6390 {
6391 isgreater(0.0,0.0);
6392   ;
6393   return 0;
6394 }
6395 _ACEOF
6396 rm -f conftest.$ac_objext
6397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6398   (eval $ac_compile) 2>&5
6399   ac_status=$?
6400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401   (exit $ac_status); } &&
6402          { ac_try='test -s conftest.$ac_objext'
6403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404   (eval $ac_try) 2>&5
6405   ac_status=$?
6406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407   (exit $ac_status); }; }; then
6408   :
6409 else
6410   echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.$ac_ext >&5
6412
6413 ac_c99_math=no
6414 fi
6415 rm -f conftest.$ac_objext conftest.$ac_ext
6416   cat >conftest.$ac_ext <<_ACEOF
6417 #line $LINENO "configure"
6418 /* confdefs.h.  */
6419 _ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h.  */
6423 #include <math.h>
6424 int
6425 main ()
6426 {
6427 isgreaterequal(0.0,0.0);
6428   ;
6429   return 0;
6430 }
6431 _ACEOF
6432 rm -f conftest.$ac_objext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6434   (eval $ac_compile) 2>&5
6435   ac_status=$?
6436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437   (exit $ac_status); } &&
6438          { ac_try='test -s conftest.$ac_objext'
6439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440   (eval $ac_try) 2>&5
6441   ac_status=$?
6442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443   (exit $ac_status); }; }; then
6444   :
6445 else
6446   echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.$ac_ext >&5
6448
6449 ac_c99_math=no
6450 fi
6451 rm -f conftest.$ac_objext conftest.$ac_ext
6452   cat >conftest.$ac_ext <<_ACEOF
6453 #line $LINENO "configure"
6454 /* confdefs.h.  */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h.  */
6459 #include <math.h>
6460 int
6461 main ()
6462 {
6463 isless(0.0,0.0);
6464   ;
6465   return 0;
6466 }
6467 _ACEOF
6468 rm -f conftest.$ac_objext
6469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6470   (eval $ac_compile) 2>&5
6471   ac_status=$?
6472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473   (exit $ac_status); } &&
6474          { ac_try='test -s conftest.$ac_objext'
6475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476   (eval $ac_try) 2>&5
6477   ac_status=$?
6478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479   (exit $ac_status); }; }; then
6480   :
6481 else
6482   echo "$as_me: failed program was:" >&5
6483 sed 's/^/| /' conftest.$ac_ext >&5
6484
6485 ac_c99_math=no
6486 fi
6487 rm -f conftest.$ac_objext conftest.$ac_ext
6488   cat >conftest.$ac_ext <<_ACEOF
6489 #line $LINENO "configure"
6490 /* confdefs.h.  */
6491 _ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h.  */
6495 #include <math.h>
6496 int
6497 main ()
6498 {
6499 islessequal(0.0,0.0);
6500   ;
6501   return 0;
6502 }
6503 _ACEOF
6504 rm -f conftest.$ac_objext
6505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506   (eval $ac_compile) 2>&5
6507   ac_status=$?
6508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509   (exit $ac_status); } &&
6510          { ac_try='test -s conftest.$ac_objext'
6511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512   (eval $ac_try) 2>&5
6513   ac_status=$?
6514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515   (exit $ac_status); }; }; then
6516   :
6517 else
6518   echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.$ac_ext >&5
6520
6521 ac_c99_math=no
6522 fi
6523 rm -f conftest.$ac_objext conftest.$ac_ext
6524   cat >conftest.$ac_ext <<_ACEOF
6525 #line $LINENO "configure"
6526 /* confdefs.h.  */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h.  */
6531 #include <math.h>
6532 int
6533 main ()
6534 {
6535 islessgreater(0.0,0.0);
6536   ;
6537   return 0;
6538 }
6539 _ACEOF
6540 rm -f conftest.$ac_objext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542   (eval $ac_compile) 2>&5
6543   ac_status=$?
6544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545   (exit $ac_status); } &&
6546          { ac_try='test -s conftest.$ac_objext'
6547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548   (eval $ac_try) 2>&5
6549   ac_status=$?
6550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551   (exit $ac_status); }; }; then
6552   :
6553 else
6554   echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.$ac_ext >&5
6556
6557 ac_c99_math=no
6558 fi
6559 rm -f conftest.$ac_objext conftest.$ac_ext
6560   cat >conftest.$ac_ext <<_ACEOF
6561 #line $LINENO "configure"
6562 /* confdefs.h.  */
6563 _ACEOF
6564 cat confdefs.h >>conftest.$ac_ext
6565 cat >>conftest.$ac_ext <<_ACEOF
6566 /* end confdefs.h.  */
6567 #include <math.h>
6568 int
6569 main ()
6570 {
6571 isunordered(0.0,0.0);
6572   ;
6573   return 0;
6574 }
6575 _ACEOF
6576 rm -f conftest.$ac_objext
6577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6578   (eval $ac_compile) 2>&5
6579   ac_status=$?
6580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581   (exit $ac_status); } &&
6582          { ac_try='test -s conftest.$ac_objext'
6583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584   (eval $ac_try) 2>&5
6585   ac_status=$?
6586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587   (exit $ac_status); }; }; then
6588   :
6589 else
6590   echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6592
6593 ac_c99_math=no
6594 fi
6595 rm -f conftest.$ac_objext conftest.$ac_ext
6596   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6597 echo "${ECHO_T}$ac_c99_math" >&6
6598
6599   # Check for the existence in <stdio.h> of vscanf, et. al.
6600   ac_c99_stdio=yes;
6601   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6602 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6603   cat >conftest.$ac_ext <<_ACEOF
6604 #line $LINENO "configure"
6605 /* confdefs.h.  */
6606 _ACEOF
6607 cat confdefs.h >>conftest.$ac_ext
6608 cat >>conftest.$ac_ext <<_ACEOF
6609 /* end confdefs.h.  */
6610 #include <stdio.h>
6611 int
6612 main ()
6613 {
6614 snprintf("12", 0, "%i");
6615   ;
6616   return 0;
6617 }
6618 _ACEOF
6619 rm -f conftest.$ac_objext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6621   (eval $ac_compile) 2>&5
6622   ac_status=$?
6623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624   (exit $ac_status); } &&
6625          { ac_try='test -s conftest.$ac_objext'
6626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6627   (eval $ac_try) 2>&5
6628   ac_status=$?
6629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630   (exit $ac_status); }; }; then
6631   :
6632 else
6633   echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6635
6636 ac_c99_stdio=no
6637 fi
6638 rm -f conftest.$ac_objext conftest.$ac_ext
6639   cat >conftest.$ac_ext <<_ACEOF
6640 #line $LINENO "configure"
6641 /* confdefs.h.  */
6642 _ACEOF
6643 cat confdefs.h >>conftest.$ac_ext
6644 cat >>conftest.$ac_ext <<_ACEOF
6645 /* end confdefs.h.  */
6646 #include <stdio.h>
6647                   #include <stdarg.h>
6648                   void foo(char* fmt, ...)
6649                   {va_list args; va_start(args, fmt);
6650                   vfscanf(stderr, "%i", args);}
6651 int
6652 main ()
6653 {
6654
6655   ;
6656   return 0;
6657 }
6658 _ACEOF
6659 rm -f conftest.$ac_objext
6660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6661   (eval $ac_compile) 2>&5
6662   ac_status=$?
6663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664   (exit $ac_status); } &&
6665          { ac_try='test -s conftest.$ac_objext'
6666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667   (eval $ac_try) 2>&5
6668   ac_status=$?
6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670   (exit $ac_status); }; }; then
6671   :
6672 else
6673   echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6675
6676 ac_c99_stdio=no
6677 fi
6678 rm -f conftest.$ac_objext conftest.$ac_ext
6679   cat >conftest.$ac_ext <<_ACEOF
6680 #line $LINENO "configure"
6681 /* confdefs.h.  */
6682 _ACEOF
6683 cat confdefs.h >>conftest.$ac_ext
6684 cat >>conftest.$ac_ext <<_ACEOF
6685 /* end confdefs.h.  */
6686 #include <stdio.h>
6687                   #include <stdarg.h>
6688                   void foo(char* fmt, ...)
6689                   {va_list args; va_start(args, fmt);
6690                   vscanf("%i", args);}
6691 int
6692 main ()
6693 {
6694
6695   ;
6696   return 0;
6697 }
6698 _ACEOF
6699 rm -f conftest.$ac_objext
6700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6701   (eval $ac_compile) 2>&5
6702   ac_status=$?
6703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704   (exit $ac_status); } &&
6705          { ac_try='test -s conftest.$ac_objext'
6706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707   (eval $ac_try) 2>&5
6708   ac_status=$?
6709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710   (exit $ac_status); }; }; then
6711   :
6712 else
6713   echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6715
6716 ac_c99_stdio=no
6717 fi
6718 rm -f conftest.$ac_objext conftest.$ac_ext
6719   cat >conftest.$ac_ext <<_ACEOF
6720 #line $LINENO "configure"
6721 /* confdefs.h.  */
6722 _ACEOF
6723 cat confdefs.h >>conftest.$ac_ext
6724 cat >>conftest.$ac_ext <<_ACEOF
6725 /* end confdefs.h.  */
6726 #include <stdio.h>
6727                   #include <stdarg.h>
6728                   void foo(char* fmt, ...)
6729                   {va_list args; va_start(args, fmt);
6730                   vsnprintf(fmt, 0, "%i", args);}
6731 int
6732 main ()
6733 {
6734
6735   ;
6736   return 0;
6737 }
6738 _ACEOF
6739 rm -f conftest.$ac_objext
6740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6741   (eval $ac_compile) 2>&5
6742   ac_status=$?
6743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744   (exit $ac_status); } &&
6745          { ac_try='test -s conftest.$ac_objext'
6746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747   (eval $ac_try) 2>&5
6748   ac_status=$?
6749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750   (exit $ac_status); }; }; then
6751   :
6752 else
6753   echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6755
6756 ac_c99_stdio=no
6757 fi
6758 rm -f conftest.$ac_objext conftest.$ac_ext
6759   cat >conftest.$ac_ext <<_ACEOF
6760 #line $LINENO "configure"
6761 /* confdefs.h.  */
6762 _ACEOF
6763 cat confdefs.h >>conftest.$ac_ext
6764 cat >>conftest.$ac_ext <<_ACEOF
6765 /* end confdefs.h.  */
6766 #include <stdio.h>
6767                   #include <stdarg.h>
6768                   void foo(char* fmt, ...)
6769                   {va_list args; va_start(args, fmt);
6770                   vsscanf(fmt, "%i", args);}
6771 int
6772 main ()
6773 {
6774
6775   ;
6776   return 0;
6777 }
6778 _ACEOF
6779 rm -f conftest.$ac_objext
6780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6781   (eval $ac_compile) 2>&5
6782   ac_status=$?
6783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784   (exit $ac_status); } &&
6785          { ac_try='test -s conftest.$ac_objext'
6786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787   (eval $ac_try) 2>&5
6788   ac_status=$?
6789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790   (exit $ac_status); }; }; then
6791   :
6792 else
6793   echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.$ac_ext >&5
6795
6796 ac_c99_stdio=no
6797 fi
6798 rm -f conftest.$ac_objext conftest.$ac_ext
6799   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6800 echo "${ECHO_T}$ac_c99_stdio" >&6
6801
6802   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6803   ac_c99_stdlib=yes;
6804   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6805 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6806   if test "${ac_c99_lldiv_t+set}" = set; then
6807   echo $ECHO_N "(cached) $ECHO_C" >&6
6808 else
6809
6810   cat >conftest.$ac_ext <<_ACEOF
6811 #line $LINENO "configure"
6812 /* confdefs.h.  */
6813 _ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h.  */
6817 #include <stdlib.h>
6818 int
6819 main ()
6820 {
6821  lldiv_t mydivt;
6822   ;
6823   return 0;
6824 }
6825 _ACEOF
6826 rm -f conftest.$ac_objext
6827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6828   (eval $ac_compile) 2>&5
6829   ac_status=$?
6830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831   (exit $ac_status); } &&
6832          { ac_try='test -s conftest.$ac_objext'
6833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834   (eval $ac_try) 2>&5
6835   ac_status=$?
6836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837   (exit $ac_status); }; }; then
6838   ac_c99_lldiv_t=yes
6839 else
6840   echo "$as_me: failed program was:" >&5
6841 sed 's/^/| /' conftest.$ac_ext >&5
6842
6843 ac_c99_lldiv_t=no
6844 fi
6845 rm -f conftest.$ac_objext conftest.$ac_ext
6846
6847 fi
6848
6849   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6850 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6851
6852   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6853 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6854   cat >conftest.$ac_ext <<_ACEOF
6855 #line $LINENO "configure"
6856 /* confdefs.h.  */
6857 _ACEOF
6858 cat confdefs.h >>conftest.$ac_ext
6859 cat >>conftest.$ac_ext <<_ACEOF
6860 /* end confdefs.h.  */
6861 #include <stdlib.h>
6862 int
6863 main ()
6864 {
6865 char* tmp; strtof("gnu", &tmp);
6866   ;
6867   return 0;
6868 }
6869 _ACEOF
6870 rm -f conftest.$ac_objext
6871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6872   (eval $ac_compile) 2>&5
6873   ac_status=$?
6874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875   (exit $ac_status); } &&
6876          { ac_try='test -s conftest.$ac_objext'
6877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878   (eval $ac_try) 2>&5
6879   ac_status=$?
6880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881   (exit $ac_status); }; }; then
6882   :
6883 else
6884   echo "$as_me: failed program was:" >&5
6885 sed 's/^/| /' conftest.$ac_ext >&5
6886
6887 ac_c99_stdlib=no
6888 fi
6889 rm -f conftest.$ac_objext conftest.$ac_ext
6890   cat >conftest.$ac_ext <<_ACEOF
6891 #line $LINENO "configure"
6892 /* confdefs.h.  */
6893 _ACEOF
6894 cat confdefs.h >>conftest.$ac_ext
6895 cat >>conftest.$ac_ext <<_ACEOF
6896 /* end confdefs.h.  */
6897 #include <stdlib.h>
6898 int
6899 main ()
6900 {
6901 char* tmp; strtold("gnu", &tmp);
6902   ;
6903   return 0;
6904 }
6905 _ACEOF
6906 rm -f conftest.$ac_objext
6907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6908   (eval $ac_compile) 2>&5
6909   ac_status=$?
6910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911   (exit $ac_status); } &&
6912          { ac_try='test -s conftest.$ac_objext'
6913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914   (eval $ac_try) 2>&5
6915   ac_status=$?
6916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917   (exit $ac_status); }; }; then
6918   :
6919 else
6920   echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.$ac_ext >&5
6922
6923 ac_c99_stdlib=no
6924 fi
6925 rm -f conftest.$ac_objext conftest.$ac_ext
6926   cat >conftest.$ac_ext <<_ACEOF
6927 #line $LINENO "configure"
6928 /* confdefs.h.  */
6929 _ACEOF
6930 cat confdefs.h >>conftest.$ac_ext
6931 cat >>conftest.$ac_ext <<_ACEOF
6932 /* end confdefs.h.  */
6933 #include <stdlib.h>
6934 int
6935 main ()
6936 {
6937 llabs(10);
6938   ;
6939   return 0;
6940 }
6941 _ACEOF
6942 rm -f conftest.$ac_objext
6943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6944   (eval $ac_compile) 2>&5
6945   ac_status=$?
6946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947   (exit $ac_status); } &&
6948          { ac_try='test -s conftest.$ac_objext'
6949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950   (eval $ac_try) 2>&5
6951   ac_status=$?
6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953   (exit $ac_status); }; }; then
6954   :
6955 else
6956   echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.$ac_ext >&5
6958
6959 ac_c99_stdlib=no
6960 fi
6961 rm -f conftest.$ac_objext conftest.$ac_ext
6962   cat >conftest.$ac_ext <<_ACEOF
6963 #line $LINENO "configure"
6964 /* confdefs.h.  */
6965 _ACEOF
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h.  */
6969 #include <stdlib.h>
6970 int
6971 main ()
6972 {
6973 lldiv(10,1);
6974   ;
6975   return 0;
6976 }
6977 _ACEOF
6978 rm -f conftest.$ac_objext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6980   (eval $ac_compile) 2>&5
6981   ac_status=$?
6982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983   (exit $ac_status); } &&
6984          { ac_try='test -s conftest.$ac_objext'
6985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986   (eval $ac_try) 2>&5
6987   ac_status=$?
6988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989   (exit $ac_status); }; }; then
6990   :
6991 else
6992   echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.$ac_ext >&5
6994
6995 ac_c99_stdlib=no
6996 fi
6997 rm -f conftest.$ac_objext conftest.$ac_ext
6998   cat >conftest.$ac_ext <<_ACEOF
6999 #line $LINENO "configure"
7000 /* confdefs.h.  */
7001 _ACEOF
7002 cat confdefs.h >>conftest.$ac_ext
7003 cat >>conftest.$ac_ext <<_ACEOF
7004 /* end confdefs.h.  */
7005 #include <stdlib.h>
7006 int
7007 main ()
7008 {
7009 atoll("10");
7010   ;
7011   return 0;
7012 }
7013 _ACEOF
7014 rm -f conftest.$ac_objext
7015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7016   (eval $ac_compile) 2>&5
7017   ac_status=$?
7018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019   (exit $ac_status); } &&
7020          { ac_try='test -s conftest.$ac_objext'
7021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022   (eval $ac_try) 2>&5
7023   ac_status=$?
7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025   (exit $ac_status); }; }; then
7026   :
7027 else
7028   echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7030
7031 ac_c99_stdlib=no
7032 fi
7033 rm -f conftest.$ac_objext conftest.$ac_ext
7034   cat >conftest.$ac_ext <<_ACEOF
7035 #line $LINENO "configure"
7036 /* confdefs.h.  */
7037 _ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h.  */
7041 #include <stdlib.h>
7042 int
7043 main ()
7044 {
7045 _Exit(0);
7046   ;
7047   return 0;
7048 }
7049 _ACEOF
7050 rm -f conftest.$ac_objext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052   (eval $ac_compile) 2>&5
7053   ac_status=$?
7054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055   (exit $ac_status); } &&
7056          { ac_try='test -s conftest.$ac_objext'
7057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058   (eval $ac_try) 2>&5
7059   ac_status=$?
7060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061   (exit $ac_status); }; }; then
7062   :
7063 else
7064   echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.$ac_ext >&5
7066
7067 ac_c99_stdlib=no
7068 fi
7069 rm -f conftest.$ac_objext conftest.$ac_ext
7070   if test x"$ac_c99_lldiv_t" = x"no"; then
7071     ac_c99_stdlib=no;
7072   fi;
7073   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7074 echo "${ECHO_T}$ac_c99_stdlib" >&6
7075
7076   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7077   # XXX the wchar.h checks should be rolled into the general C99 bits.
7078   ac_c99_wchar=yes;
7079   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7080 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7081   cat >conftest.$ac_ext <<_ACEOF
7082 #line $LINENO "configure"
7083 /* confdefs.h.  */
7084 _ACEOF
7085 cat confdefs.h >>conftest.$ac_ext
7086 cat >>conftest.$ac_ext <<_ACEOF
7087 /* end confdefs.h.  */
7088 #include <wchar.h>
7089 int
7090 main ()
7091 {
7092 wcstold(L"10.0", NULL);
7093   ;
7094   return 0;
7095 }
7096 _ACEOF
7097 rm -f conftest.$ac_objext
7098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7099   (eval $ac_compile) 2>&5
7100   ac_status=$?
7101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102   (exit $ac_status); } &&
7103          { ac_try='test -s conftest.$ac_objext'
7104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105   (eval $ac_try) 2>&5
7106   ac_status=$?
7107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108   (exit $ac_status); }; }; then
7109   :
7110 else
7111   echo "$as_me: failed program was:" >&5
7112 sed 's/^/| /' conftest.$ac_ext >&5
7113
7114 ac_c99_wchar=no
7115 fi
7116 rm -f conftest.$ac_objext conftest.$ac_ext
7117   cat >conftest.$ac_ext <<_ACEOF
7118 #line $LINENO "configure"
7119 /* confdefs.h.  */
7120 _ACEOF
7121 cat confdefs.h >>conftest.$ac_ext
7122 cat >>conftest.$ac_ext <<_ACEOF
7123 /* end confdefs.h.  */
7124 #include <wchar.h>
7125 int
7126 main ()
7127 {
7128 wcstoll(L"10", NULL, 10);
7129   ;
7130   return 0;
7131 }
7132 _ACEOF
7133 rm -f conftest.$ac_objext
7134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135   (eval $ac_compile) 2>&5
7136   ac_status=$?
7137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138   (exit $ac_status); } &&
7139          { ac_try='test -s conftest.$ac_objext'
7140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141   (eval $ac_try) 2>&5
7142   ac_status=$?
7143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144   (exit $ac_status); }; }; then
7145   :
7146 else
7147   echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7149
7150 ac_c99_wchar=no
7151 fi
7152 rm -f conftest.$ac_objext conftest.$ac_ext
7153   cat >conftest.$ac_ext <<_ACEOF
7154 #line $LINENO "configure"
7155 /* confdefs.h.  */
7156 _ACEOF
7157 cat confdefs.h >>conftest.$ac_ext
7158 cat >>conftest.$ac_ext <<_ACEOF
7159 /* end confdefs.h.  */
7160 #include <wchar.h>
7161 int
7162 main ()
7163 {
7164 wcstoull(L"10", NULL, 10);
7165   ;
7166   return 0;
7167 }
7168 _ACEOF
7169 rm -f conftest.$ac_objext
7170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7171   (eval $ac_compile) 2>&5
7172   ac_status=$?
7173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174   (exit $ac_status); } &&
7175          { ac_try='test -s conftest.$ac_objext'
7176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7177   (eval $ac_try) 2>&5
7178   ac_status=$?
7179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180   (exit $ac_status); }; }; then
7181   :
7182 else
7183   echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7185
7186 ac_c99_wchar=no
7187 fi
7188 rm -f conftest.$ac_objext conftest.$ac_ext
7189   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7190 echo "${ECHO_T}$ac_c99_wchar" >&6
7191
7192   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7193 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7194   if test x"$ac_c99_math" = x"no" ||
7195      test x"$ac_c99_stdio" = x"no" ||
7196      test x"$ac_c99_stdlib" = x"no" ||
7197      test x"$ac_c99_wchar" = x"no"; then
7198     enable_c99=no;
7199   fi;
7200   echo "$as_me:$LINENO: result: $enable_c99" >&5
7201 echo "${ECHO_T}$enable_c99" >&6
7202
7203   # Option parsed, now set things appropriately
7204   if test x"$enable_c99" = x"yes"; then
7205     cat >>confdefs.h <<\_ACEOF
7206 #define _GLIBCXX_USE_C99 1
7207 _ACEOF
7208
7209   fi
7210
7211   ac_ext=c
7212 ac_cpp='$CPP $CPPFLAGS'
7213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216
7217
7218
7219    # Check whether --enable-long-long or --disable-long-long was given.
7220 if test "${enable_long_long+set}" = set; then
7221   enableval="$enable_long_long"
7222
7223       case "$enableval" in
7224        yes|no) ;;
7225        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7226 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7227    { (exit 1); exit 1; }; } ;;
7228       esac
7229
7230 else
7231   enable_long_long=yes
7232 fi;
7233
7234
7235
7236
7237   ac_ext=cc
7238 ac_cpp='$CXXCPP $CPPFLAGS'
7239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7242
7243
7244   echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7245 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7246   # iostreams require strtoll, strtoull to compile
7247   cat >conftest.$ac_ext <<_ACEOF
7248 #line $LINENO "configure"
7249 /* confdefs.h.  */
7250 _ACEOF
7251 cat confdefs.h >>conftest.$ac_ext
7252 cat >>conftest.$ac_ext <<_ACEOF
7253 /* end confdefs.h.  */
7254 #include <stdlib.h>
7255 int
7256 main ()
7257 {
7258 char* tmp; strtoll("gnu", &tmp, 10);
7259   ;
7260   return 0;
7261 }
7262 _ACEOF
7263 rm -f conftest.$ac_objext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7265   (eval $ac_compile) 2>&5
7266   ac_status=$?
7267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268   (exit $ac_status); } &&
7269          { ac_try='test -s conftest.$ac_objext'
7270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271   (eval $ac_try) 2>&5
7272   ac_status=$?
7273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274   (exit $ac_status); }; }; then
7275   :
7276 else
7277   echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5
7279
7280 enable_long_long=no
7281 fi
7282 rm -f conftest.$ac_objext conftest.$ac_ext
7283   cat >conftest.$ac_ext <<_ACEOF
7284 #line $LINENO "configure"
7285 /* confdefs.h.  */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h.  */
7290 #include <stdlib.h>
7291 int
7292 main ()
7293 {
7294 char* tmp; strtoull("gnu", &tmp, 10);
7295   ;
7296   return 0;
7297 }
7298 _ACEOF
7299 rm -f conftest.$ac_objext
7300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7301   (eval $ac_compile) 2>&5
7302   ac_status=$?
7303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304   (exit $ac_status); } &&
7305          { ac_try='test -s conftest.$ac_objext'
7306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307   (eval $ac_try) 2>&5
7308   ac_status=$?
7309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310   (exit $ac_status); }; }; then
7311   :
7312 else
7313   echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.$ac_ext >&5
7315
7316 enable_long_long=no
7317 fi
7318 rm -f conftest.$ac_objext conftest.$ac_ext
7319
7320   # Option parsed, now set things appropriately
7321   if test $enable_long_long = yes; then
7322     cat >>confdefs.h <<\_ACEOF
7323 #define _GLIBCXX_USE_LONG_LONG 1
7324 _ACEOF
7325
7326   fi
7327   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7328 echo "${ECHO_T}$enable_long_long" >&6
7329
7330   ac_ext=c
7331 ac_cpp='$CPP $CPPFLAGS'
7332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7335
7336
7337
7338   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7339 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7340   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7341   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7342 echo "${ECHO_T}$target_thread_file" >&6
7343
7344   if test $target_thread_file != single; then
7345     cat >>confdefs.h <<\_ACEOF
7346 #define HAVE_GTHR_DEFAULT 1
7347 _ACEOF
7348
7349     cat >>confdefs.h <<\_ACEOF
7350 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7351 _ACEOF
7352
7353   fi
7354
7355   glibcxx_thread_h=gthr-$target_thread_file.h
7356
7357
7358
7359    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7360 if test "${enable_concept_checks+set}" = set; then
7361   enableval="$enable_concept_checks"
7362
7363       case "$enableval" in
7364        yes|no) ;;
7365        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7366 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7367    { (exit 1); exit 1; }; } ;;
7368       esac
7369
7370 else
7371   enable_concept_checks=no
7372 fi;
7373
7374   if test $enable_concept_checks = yes; then
7375     cat >>confdefs.h <<\_ACEOF
7376 #define _GLIBCXX_CONCEPT_CHECKS 1
7377 _ACEOF
7378
7379   fi
7380
7381
7382    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7383 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7384   enableval="$enable_libstdcxx_debug_flags"
7385   case "x$enable_libstdcxx_debug_flags" in
7386       xno | x)    enable_libstdcxx_debug_flags= ;;
7387       x-*)        ;;
7388       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7389 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7390    { (exit 1); exit 1; }; } ;;
7391      esac
7392 else
7393   enable_libstdcxx_debug_flags="-g3 -O0"
7394 fi;
7395
7396
7397   # Option parsed, now set things appropriately
7398   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7399
7400
7401   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7402 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7403
7404
7405   echo "$as_me:$LINENO: checking for additional debug build" >&5
7406 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7407    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7408 if test "${enable_libstdcxx_debug+set}" = set; then
7409   enableval="$enable_libstdcxx_debug"
7410
7411       case "$enableval" in
7412        yes|no) ;;
7413        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7414 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7415    { (exit 1); exit 1; }; } ;;
7416       esac
7417
7418 else
7419   enable_libstdcxx_debug=no
7420 fi;
7421
7422   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7423 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7424
7425
7426 if test $enable_libstdcxx_debug = yes; then
7427   GLIBCXX_BUILD_DEBUG_TRUE=
7428   GLIBCXX_BUILD_DEBUG_FALSE='#'
7429 else
7430   GLIBCXX_BUILD_DEBUG_TRUE='#'
7431   GLIBCXX_BUILD_DEBUG_FALSE=
7432 fi
7433
7434
7435   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7436 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7437    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7438 if test "${enable_cxx_flags+set}" = set; then
7439   enableval="$enable_cxx_flags"
7440   case "x$enable_cxx_flags" in
7441       xno | x)   enable_cxx_flags= ;;
7442       x-*)       ;;
7443       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7444 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7445    { (exit 1); exit 1; }; } ;;
7446      esac
7447 else
7448   enable_cxx_flags=
7449 fi;
7450
7451
7452   # Run through flags (either default or command-line) and set anything
7453   # extra (e.g., #defines) that must accompany particular g++ options.
7454   if test -n "$enable_cxx_flags"; then
7455     for f in $enable_cxx_flags; do
7456       case "$f" in
7457         -fhonor-std)  ;;
7458         -*)  ;;
7459         *)   # and we're trying to pass /what/ exactly?
7460              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7461 echo "$as_me: error: compiler flags start with a -" >&2;}
7462    { (exit 1); exit 1; }; } ;;
7463       esac
7464     done
7465   fi
7466
7467   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7468   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7469 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7470
7471
7472
7473 # No surprises, no surprises...
7474 if test $atomicity_include_dir = cpu/generic ; then
7475   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7476 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7477   if test $target_thread_file = single; then
7478     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7479 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7480     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7481 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7482   else
7483     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7484 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7485     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7486 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7487   fi
7488 fi
7489
7490
7491 if $GLIBCXX_IS_NATIVE; then
7492
7493   # We can do more elaborate tests that assume a working linker.
7494   CANADIAN=no
7495
7496   # Check for available headers.
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7511   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7512   sys/types.h
7513 do
7514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7516   echo "$as_me:$LINENO: checking for $ac_header" >&5
7517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7519   echo $ECHO_N "(cached) $ECHO_C" >&6
7520 fi
7521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7523 else
7524   # Is the header compilable?
7525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7527 cat >conftest.$ac_ext <<_ACEOF
7528 #line $LINENO "configure"
7529 /* confdefs.h.  */
7530 _ACEOF
7531 cat confdefs.h >>conftest.$ac_ext
7532 cat >>conftest.$ac_ext <<_ACEOF
7533 /* end confdefs.h.  */
7534 $ac_includes_default
7535 #include <$ac_header>
7536 _ACEOF
7537 rm -f conftest.$ac_objext
7538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7539   (eval $ac_compile) 2>&5
7540   ac_status=$?
7541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542   (exit $ac_status); } &&
7543          { ac_try='test -s conftest.$ac_objext'
7544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545   (eval $ac_try) 2>&5
7546   ac_status=$?
7547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548   (exit $ac_status); }; }; then
7549   ac_header_compiler=yes
7550 else
7551   echo "$as_me: failed program was:" >&5
7552 sed 's/^/| /' conftest.$ac_ext >&5
7553
7554 ac_header_compiler=no
7555 fi
7556 rm -f conftest.$ac_objext conftest.$ac_ext
7557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7558 echo "${ECHO_T}$ac_header_compiler" >&6
7559
7560 # Is the header present?
7561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7563 cat >conftest.$ac_ext <<_ACEOF
7564 #line $LINENO "configure"
7565 /* confdefs.h.  */
7566 _ACEOF
7567 cat confdefs.h >>conftest.$ac_ext
7568 cat >>conftest.$ac_ext <<_ACEOF
7569 /* end confdefs.h.  */
7570 #include <$ac_header>
7571 _ACEOF
7572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7573   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7574   ac_status=$?
7575   grep -v '^ *+' conftest.er1 >conftest.err
7576   rm -f conftest.er1
7577   cat conftest.err >&5
7578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579   (exit $ac_status); } >/dev/null; then
7580   if test -s conftest.err; then
7581     ac_cpp_err=$ac_c_preproc_warn_flag
7582   else
7583     ac_cpp_err=
7584   fi
7585 else
7586   ac_cpp_err=yes
7587 fi
7588 if test -z "$ac_cpp_err"; then
7589   ac_header_preproc=yes
7590 else
7591   echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7593
7594   ac_header_preproc=no
7595 fi
7596 rm -f conftest.err conftest.$ac_ext
7597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7598 echo "${ECHO_T}$ac_header_preproc" >&6
7599
7600 # So?  What about this header?
7601 case $ac_header_compiler:$ac_header_preproc in
7602   yes:no )
7603     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7605     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7607     (
7608       cat <<\_ASBOX
7609 ## ------------------------------------ ##
7610 ## Report this to bug-autoconf@gnu.org. ##
7611 ## ------------------------------------ ##
7612 _ASBOX
7613     ) |
7614       sed "s/^/$as_me: WARNING:     /" >&2
7615     ;;
7616   no:yes )
7617     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7619     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7621     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7623     (
7624       cat <<\_ASBOX
7625 ## ------------------------------------ ##
7626 ## Report this to bug-autoconf@gnu.org. ##
7627 ## ------------------------------------ ##
7628 _ASBOX
7629     ) |
7630       sed "s/^/$as_me: WARNING:     /" >&2
7631     ;;
7632 esac
7633 echo "$as_me:$LINENO: checking for $ac_header" >&5
7634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7636   echo $ECHO_N "(cached) $ECHO_C" >&6
7637 else
7638   eval "$as_ac_Header=$ac_header_preproc"
7639 fi
7640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7642
7643 fi
7644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7645   cat >>confdefs.h <<_ACEOF
7646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7647 _ACEOF
7648
7649 fi
7650
7651 done
7652
7653
7654
7655   # All these tests are for C++; save the language and the compiler flags.
7656   # The CXXFLAGS thing is suspicious, but based on similar bits previously
7657   # found in GLIBCXX_CONFIGURE.
7658
7659
7660   ac_ext=cc
7661 ac_cpp='$CXXCPP $CPPFLAGS'
7662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7665
7666   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7667   ac_save_CXXFLAGS="$CXXFLAGS"
7668
7669   # Check for maintainer-mode bits.
7670   if test x"$USE_MAINTAINER_MODE" = xno; then
7671     WERROR=''
7672   else
7673     WERROR='-Werror'
7674   fi
7675
7676   # Check for -ffunction-sections -fdata-sections
7677   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7678 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7679   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7680   cat >conftest.$ac_ext <<_ACEOF
7681 #line $LINENO "configure"
7682 /* confdefs.h.  */
7683 _ACEOF
7684 cat confdefs.h >>conftest.$ac_ext
7685 cat >>conftest.$ac_ext <<_ACEOF
7686 /* end confdefs.h.  */
7687
7688 int
7689 main ()
7690 {
7691 int foo;
7692   ;
7693   return 0;
7694 }
7695 _ACEOF
7696 rm -f conftest.$ac_objext
7697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7698   (eval $ac_compile) 2>&5
7699   ac_status=$?
7700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701   (exit $ac_status); } &&
7702          { ac_try='test -s conftest.$ac_objext'
7703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704   (eval $ac_try) 2>&5
7705   ac_status=$?
7706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707   (exit $ac_status); }; }; then
7708   ac_fdsections=yes
7709 else
7710   echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.$ac_ext >&5
7712
7713 ac_fdsections=no
7714 fi
7715 rm -f conftest.$ac_objext conftest.$ac_ext
7716   if test "$ac_test_CXXFLAGS" = set; then
7717     CXXFLAGS="$ac_save_CXXFLAGS"
7718   else
7719     # this is the suspicious part
7720     CXXFLAGS=''
7721   fi
7722   if test x"$ac_fdsections" = x"yes"; then
7723     SECTION_FLAGS='-ffunction-sections -fdata-sections'
7724   fi
7725   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7726 echo "${ECHO_T}$ac_fdsections" >&6
7727
7728   ac_ext=c
7729 ac_cpp='$CPP $CPPFLAGS'
7730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7733
7734
7735
7736
7737
7738   # If we're not using GNU ld, then there's no point in even trying these
7739   # tests.  Check for that first.  We should have already tested for gld
7740   # by now (in libtool), but require it now just to be safe...
7741   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7742   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7743
7744
7745
7746   # The name set by libtool depends on the version of libtool.  Shame on us
7747   # for depending on an impl detail, but c'est la vie.  Older versions used
7748   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7749   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7750   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
7751   # set (hence we're using an older libtool), then set it.
7752   if test x${with_gnu_ld+set} != xset; then
7753     if test x${ac_cv_prog_gnu_ld+set} != xset; then
7754       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
7755       with_gnu_ld=no
7756     else
7757       with_gnu_ld=$ac_cv_prog_gnu_ld
7758     fi
7759   fi
7760
7761   # Start by getting the version number.  I think the libtool test already
7762   # does some of this, but throws away the result.
7763
7764   ldver=`$LD --version 2>/dev/null | head -1 | \
7765          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7766
7767   glibcxx_gnu_ld_version=`echo $ldver | \
7768          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7769
7770   # Set --gc-sections.
7771   if test "$with_gnu_ld" = "notbroken"; then
7772     # GNU ld it is!  Joy and bunny rabbits!
7773
7774     # All these tests are for C++; save the language and the compiler flags.
7775     # Need to do this so that g++ won't try to link in libstdc++
7776     ac_test_CFLAGS="${CFLAGS+set}"
7777     ac_save_CFLAGS="$CFLAGS"
7778     CFLAGS='-x c++  -Wl,--gc-sections'
7779
7780     # Check for -Wl,--gc-sections
7781     # XXX This test is broken at the moment, as symbols required for linking
7782     # are now in libsupc++ (not built yet).  In addition, this test has
7783     # cored on solaris in the past.  In addition, --gc-sections doesn't
7784     # really work at the moment (keeps on discarding used sections, first
7785     # .eh_frame and now some of the glibc sections for iconv).
7786     # Bzzzzt.  Thanks for playing, maybe next time.
7787     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7788 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7789     if test "$cross_compiling" = yes; then
7790   ac_sectionLDflags=yes
7791 else
7792   cat >conftest.$ac_ext <<_ACEOF
7793 #line $LINENO "configure"
7794 /* confdefs.h.  */
7795 _ACEOF
7796 cat confdefs.h >>conftest.$ac_ext
7797 cat >>conftest.$ac_ext <<_ACEOF
7798 /* end confdefs.h.  */
7799
7800      int main(void)
7801      {
7802        try { throw 1; }
7803        catch (...) { };
7804        return 0;
7805      }
7806
7807 _ACEOF
7808 rm -f conftest$ac_exeext
7809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7810   (eval $ac_link) 2>&5
7811   ac_status=$?
7812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815   (eval $ac_try) 2>&5
7816   ac_status=$?
7817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818   (exit $ac_status); }; }; then
7819   ac_sectionLDflags=yes
7820 else
7821   echo "$as_me: program exited with status $ac_status" >&5
7822 echo "$as_me: failed program was:" >&5
7823 sed 's/^/| /' conftest.$ac_ext >&5
7824
7825 ( exit $ac_status )
7826 ac_sectionLDflags=no
7827 fi
7828 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7829 fi
7830     if test "$ac_test_CFLAGS" = set; then
7831       CFLAGS="$ac_save_CFLAGS"
7832     else
7833       # this is the suspicious part
7834       CFLAGS=''
7835     fi
7836     if test "$ac_sectionLDflags" = "yes"; then
7837       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7838     fi
7839     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7840 echo "${ECHO_T}$ac_sectionLDflags" >&6
7841   fi
7842
7843   # Set linker optimization flags.
7844   if test x"$with_gnu_ld" = x"yes"; then
7845     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7846   fi
7847
7848
7849
7850
7851
7852   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7853   ac_save_CXXFLAGS="$CXXFLAGS"
7854   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7855
7856     echo "$as_me:$LINENO: checking for sin in -lm" >&5
7857 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7858 if test "${ac_cv_lib_m_sin+set}" = set; then
7859   echo $ECHO_N "(cached) $ECHO_C" >&6
7860 else
7861   ac_check_lib_save_LIBS=$LIBS
7862 LIBS="-lm  $LIBS"
7863 cat >conftest.$ac_ext <<_ACEOF
7864 #line $LINENO "configure"
7865 /* confdefs.h.  */
7866 _ACEOF
7867 cat confdefs.h >>conftest.$ac_ext
7868 cat >>conftest.$ac_ext <<_ACEOF
7869 /* end confdefs.h.  */
7870
7871 /* Override any gcc2 internal prototype to avoid an error.  */
7872 #ifdef __cplusplus
7873 extern "C"
7874 #endif
7875 /* We use char because int might match the return type of a gcc2
7876    builtin and then its argument prototype would still apply.  */
7877 char sin ();
7878 int
7879 main ()
7880 {
7881 sin ();
7882   ;
7883   return 0;
7884 }
7885 _ACEOF
7886 rm -f conftest.$ac_objext conftest$ac_exeext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7888   (eval $ac_link) 2>&5
7889   ac_status=$?
7890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891   (exit $ac_status); } &&
7892          { ac_try='test -s conftest$ac_exeext'
7893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894   (eval $ac_try) 2>&5
7895   ac_status=$?
7896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897   (exit $ac_status); }; }; then
7898   ac_cv_lib_m_sin=yes
7899 else
7900   echo "$as_me: failed program was:" >&5
7901 sed 's/^/| /' conftest.$ac_ext >&5
7902
7903 ac_cv_lib_m_sin=no
7904 fi
7905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7906 LIBS=$ac_check_lib_save_LIBS
7907 fi
7908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7909 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7910 if test $ac_cv_lib_m_sin = yes; then
7911   libm="-lm"
7912 fi
7913
7914   ac_save_LIBS="$LIBS"
7915   LIBS="$LIBS $libm"
7916
7917
7918
7919   echo "$as_me:$LINENO: checking for isinf declaration" >&5
7920 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7921   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7922     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7923   echo $ECHO_N "(cached) $ECHO_C" >&6
7924 else
7925
7926
7927
7928       ac_ext=cc
7929 ac_cpp='$CXXCPP $CPPFLAGS'
7930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7933
7934       cat >conftest.$ac_ext <<_ACEOF
7935 #line $LINENO "configure"
7936 /* confdefs.h.  */
7937 _ACEOF
7938 cat confdefs.h >>conftest.$ac_ext
7939 cat >>conftest.$ac_ext <<_ACEOF
7940 /* end confdefs.h.  */
7941 #include <math.h>
7942                       #ifdef HAVE_IEEEFP_H
7943                       #include <ieeefp.h>
7944                       #endif
7945
7946 int
7947 main ()
7948 {
7949  isinf(0);
7950   ;
7951   return 0;
7952 }
7953 _ACEOF
7954 rm -f conftest.$ac_objext
7955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7956   (eval $ac_compile) 2>&5
7957   ac_status=$?
7958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959   (exit $ac_status); } &&
7960          { ac_try='test -s conftest.$ac_objext'
7961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962   (eval $ac_try) 2>&5
7963   ac_status=$?
7964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965   (exit $ac_status); }; }; then
7966   glibcxx_cv_func_isinf_use=yes
7967 else
7968   echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.$ac_ext >&5
7970
7971 glibcxx_cv_func_isinf_use=no
7972 fi
7973 rm -f conftest.$ac_objext conftest.$ac_ext
7974       ac_ext=c
7975 ac_cpp='$CPP $CPPFLAGS'
7976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7979
7980
7981 fi
7982
7983   fi
7984   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7985 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7986
7987   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7988
7989 for ac_func in isinf
7990 do
7991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7992 echo "$as_me:$LINENO: checking for $ac_func" >&5
7993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7994 if eval "test \"\${$as_ac_var+set}\" = set"; then
7995   echo $ECHO_N "(cached) $ECHO_C" >&6
7996 else
7997   cat >conftest.$ac_ext <<_ACEOF
7998 #line $LINENO "configure"
7999 /* confdefs.h.  */
8000 _ACEOF
8001 cat confdefs.h >>conftest.$ac_ext
8002 cat >>conftest.$ac_ext <<_ACEOF
8003 /* end confdefs.h.  */
8004 /* System header to define __stub macros and hopefully few prototypes,
8005     which can conflict with char $ac_func (); below.
8006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8007     <limits.h> exists even on freestanding compilers.  */
8008 #ifdef __STDC__
8009 # include <limits.h>
8010 #else
8011 # include <assert.h>
8012 #endif
8013 /* Override any gcc2 internal prototype to avoid an error.  */
8014 #ifdef __cplusplus
8015 extern "C"
8016 {
8017 #endif
8018 /* We use char because int might match the return type of a gcc2
8019    builtin and then its argument prototype would still apply.  */
8020 char $ac_func ();
8021 /* The GNU C library defines this for functions which it implements
8022     to always fail with ENOSYS.  Some functions are actually named
8023     something starting with __ and the normal name is an alias.  */
8024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8025 choke me
8026 #else
8027 char (*f) () = $ac_func;
8028 #endif
8029 #ifdef __cplusplus
8030 }
8031 #endif
8032
8033 int
8034 main ()
8035 {
8036 return f != $ac_func;
8037   ;
8038   return 0;
8039 }
8040 _ACEOF
8041 rm -f conftest.$ac_objext conftest$ac_exeext
8042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8043   (eval $ac_link) 2>&5
8044   ac_status=$?
8045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046   (exit $ac_status); } &&
8047          { ac_try='test -s conftest$ac_exeext'
8048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049   (eval $ac_try) 2>&5
8050   ac_status=$?
8051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052   (exit $ac_status); }; }; then
8053   eval "$as_ac_var=yes"
8054 else
8055   echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.$ac_ext >&5
8057
8058 eval "$as_ac_var=no"
8059 fi
8060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8061 fi
8062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8064 if test `eval echo '${'$as_ac_var'}'` = yes; then
8065   cat >>confdefs.h <<_ACEOF
8066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8067 _ACEOF
8068
8069 fi
8070 done
8071
8072   else
8073
8074   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8075 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8076   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8077     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8078   echo $ECHO_N "(cached) $ECHO_C" >&6
8079 else
8080
8081
8082
8083       ac_ext=cc
8084 ac_cpp='$CXXCPP $CPPFLAGS'
8085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8088
8089       cat >conftest.$ac_ext <<_ACEOF
8090 #line $LINENO "configure"
8091 /* confdefs.h.  */
8092 _ACEOF
8093 cat confdefs.h >>conftest.$ac_ext
8094 cat >>conftest.$ac_ext <<_ACEOF
8095 /* end confdefs.h.  */
8096 #include <math.h>
8097                       #ifdef HAVE_IEEEFP_H
8098                       #include <ieeefp.h>
8099                       #endif
8100
8101 int
8102 main ()
8103 {
8104  _isinf(0);
8105   ;
8106   return 0;
8107 }
8108 _ACEOF
8109 rm -f conftest.$ac_objext
8110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8111   (eval $ac_compile) 2>&5
8112   ac_status=$?
8113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114   (exit $ac_status); } &&
8115          { ac_try='test -s conftest.$ac_objext'
8116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117   (eval $ac_try) 2>&5
8118   ac_status=$?
8119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120   (exit $ac_status); }; }; then
8121   glibcxx_cv_func__isinf_use=yes
8122 else
8123   echo "$as_me: failed program was:" >&5
8124 sed 's/^/| /' conftest.$ac_ext >&5
8125
8126 glibcxx_cv_func__isinf_use=no
8127 fi
8128 rm -f conftest.$ac_objext conftest.$ac_ext
8129       ac_ext=c
8130 ac_cpp='$CPP $CPPFLAGS'
8131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8134
8135
8136 fi
8137
8138   fi
8139   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8140 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8141
8142     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8143
8144 for ac_func in _isinf
8145 do
8146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8147 echo "$as_me:$LINENO: checking for $ac_func" >&5
8148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8149 if eval "test \"\${$as_ac_var+set}\" = set"; then
8150   echo $ECHO_N "(cached) $ECHO_C" >&6
8151 else
8152   cat >conftest.$ac_ext <<_ACEOF
8153 #line $LINENO "configure"
8154 /* confdefs.h.  */
8155 _ACEOF
8156 cat confdefs.h >>conftest.$ac_ext
8157 cat >>conftest.$ac_ext <<_ACEOF
8158 /* end confdefs.h.  */
8159 /* System header to define __stub macros and hopefully few prototypes,
8160     which can conflict with char $ac_func (); below.
8161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8162     <limits.h> exists even on freestanding compilers.  */
8163 #ifdef __STDC__
8164 # include <limits.h>
8165 #else
8166 # include <assert.h>
8167 #endif
8168 /* Override any gcc2 internal prototype to avoid an error.  */
8169 #ifdef __cplusplus
8170 extern "C"
8171 {
8172 #endif
8173 /* We use char because int might match the return type of a gcc2
8174    builtin and then its argument prototype would still apply.  */
8175 char $ac_func ();
8176 /* The GNU C library defines this for functions which it implements
8177     to always fail with ENOSYS.  Some functions are actually named
8178     something starting with __ and the normal name is an alias.  */
8179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8180 choke me
8181 #else
8182 char (*f) () = $ac_func;
8183 #endif
8184 #ifdef __cplusplus
8185 }
8186 #endif
8187
8188 int
8189 main ()
8190 {
8191 return f != $ac_func;
8192   ;
8193   return 0;
8194 }
8195 _ACEOF
8196 rm -f conftest.$ac_objext conftest$ac_exeext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8198   (eval $ac_link) 2>&5
8199   ac_status=$?
8200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201   (exit $ac_status); } &&
8202          { ac_try='test -s conftest$ac_exeext'
8203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204   (eval $ac_try) 2>&5
8205   ac_status=$?
8206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207   (exit $ac_status); }; }; then
8208   eval "$as_ac_var=yes"
8209 else
8210   echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8212
8213 eval "$as_ac_var=no"
8214 fi
8215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8216 fi
8217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8219 if test `eval echo '${'$as_ac_var'}'` = yes; then
8220   cat >>confdefs.h <<_ACEOF
8221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8222 _ACEOF
8223
8224 fi
8225 done
8226
8227     fi
8228   fi
8229
8230
8231
8232   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8233 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8234   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8235     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8236   echo $ECHO_N "(cached) $ECHO_C" >&6
8237 else
8238
8239
8240
8241       ac_ext=cc
8242 ac_cpp='$CXXCPP $CPPFLAGS'
8243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8246
8247       cat >conftest.$ac_ext <<_ACEOF
8248 #line $LINENO "configure"
8249 /* confdefs.h.  */
8250 _ACEOF
8251 cat confdefs.h >>conftest.$ac_ext
8252 cat >>conftest.$ac_ext <<_ACEOF
8253 /* end confdefs.h.  */
8254 #include <math.h>
8255                       #ifdef HAVE_IEEEFP_H
8256                       #include <ieeefp.h>
8257                       #endif
8258
8259 int
8260 main ()
8261 {
8262  isnan(0);
8263   ;
8264   return 0;
8265 }
8266 _ACEOF
8267 rm -f conftest.$ac_objext
8268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8269   (eval $ac_compile) 2>&5
8270   ac_status=$?
8271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272   (exit $ac_status); } &&
8273          { ac_try='test -s conftest.$ac_objext'
8274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275   (eval $ac_try) 2>&5
8276   ac_status=$?
8277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278   (exit $ac_status); }; }; then
8279   glibcxx_cv_func_isnan_use=yes
8280 else
8281   echo "$as_me: failed program was:" >&5
8282 sed 's/^/| /' conftest.$ac_ext >&5
8283
8284 glibcxx_cv_func_isnan_use=no
8285 fi
8286 rm -f conftest.$ac_objext conftest.$ac_ext
8287       ac_ext=c
8288 ac_cpp='$CPP $CPPFLAGS'
8289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8292
8293
8294 fi
8295
8296   fi
8297   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8298 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8299
8300   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8301
8302 for ac_func in isnan
8303 do
8304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8305 echo "$as_me:$LINENO: checking for $ac_func" >&5
8306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8307 if eval "test \"\${$as_ac_var+set}\" = set"; then
8308   echo $ECHO_N "(cached) $ECHO_C" >&6
8309 else
8310   cat >conftest.$ac_ext <<_ACEOF
8311 #line $LINENO "configure"
8312 /* confdefs.h.  */
8313 _ACEOF
8314 cat confdefs.h >>conftest.$ac_ext
8315 cat >>conftest.$ac_ext <<_ACEOF
8316 /* end confdefs.h.  */
8317 /* System header to define __stub macros and hopefully few prototypes,
8318     which can conflict with char $ac_func (); below.
8319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8320     <limits.h> exists even on freestanding compilers.  */
8321 #ifdef __STDC__
8322 # include <limits.h>
8323 #else
8324 # include <assert.h>
8325 #endif
8326 /* Override any gcc2 internal prototype to avoid an error.  */
8327 #ifdef __cplusplus
8328 extern "C"
8329 {
8330 #endif
8331 /* We use char because int might match the return type of a gcc2
8332    builtin and then its argument prototype would still apply.  */
8333 char $ac_func ();
8334 /* The GNU C library defines this for functions which it implements
8335     to always fail with ENOSYS.  Some functions are actually named
8336     something starting with __ and the normal name is an alias.  */
8337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8338 choke me
8339 #else
8340 char (*f) () = $ac_func;
8341 #endif
8342 #ifdef __cplusplus
8343 }
8344 #endif
8345
8346 int
8347 main ()
8348 {
8349 return f != $ac_func;
8350   ;
8351   return 0;
8352 }
8353 _ACEOF
8354 rm -f conftest.$ac_objext conftest$ac_exeext
8355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8356   (eval $ac_link) 2>&5
8357   ac_status=$?
8358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359   (exit $ac_status); } &&
8360          { ac_try='test -s conftest$ac_exeext'
8361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362   (eval $ac_try) 2>&5
8363   ac_status=$?
8364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365   (exit $ac_status); }; }; then
8366   eval "$as_ac_var=yes"
8367 else
8368   echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5
8370
8371 eval "$as_ac_var=no"
8372 fi
8373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8374 fi
8375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8377 if test `eval echo '${'$as_ac_var'}'` = yes; then
8378   cat >>confdefs.h <<_ACEOF
8379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8380 _ACEOF
8381
8382 fi
8383 done
8384
8385   else
8386
8387   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8388 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8389   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8390     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8391   echo $ECHO_N "(cached) $ECHO_C" >&6
8392 else
8393
8394
8395
8396       ac_ext=cc
8397 ac_cpp='$CXXCPP $CPPFLAGS'
8398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8401
8402       cat >conftest.$ac_ext <<_ACEOF
8403 #line $LINENO "configure"
8404 /* confdefs.h.  */
8405 _ACEOF
8406 cat confdefs.h >>conftest.$ac_ext
8407 cat >>conftest.$ac_ext <<_ACEOF
8408 /* end confdefs.h.  */
8409 #include <math.h>
8410                       #ifdef HAVE_IEEEFP_H
8411                       #include <ieeefp.h>
8412                       #endif
8413
8414 int
8415 main ()
8416 {
8417  _isnan(0);
8418   ;
8419   return 0;
8420 }
8421 _ACEOF
8422 rm -f conftest.$ac_objext
8423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8424   (eval $ac_compile) 2>&5
8425   ac_status=$?
8426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427   (exit $ac_status); } &&
8428          { ac_try='test -s conftest.$ac_objext'
8429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430   (eval $ac_try) 2>&5
8431   ac_status=$?
8432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433   (exit $ac_status); }; }; then
8434   glibcxx_cv_func__isnan_use=yes
8435 else
8436   echo "$as_me: failed program was:" >&5
8437 sed 's/^/| /' conftest.$ac_ext >&5
8438
8439 glibcxx_cv_func__isnan_use=no
8440 fi
8441 rm -f conftest.$ac_objext conftest.$ac_ext
8442       ac_ext=c
8443 ac_cpp='$CPP $CPPFLAGS'
8444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8447
8448
8449 fi
8450
8451   fi
8452   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8453 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8454
8455     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8456
8457 for ac_func in _isnan
8458 do
8459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8460 echo "$as_me:$LINENO: checking for $ac_func" >&5
8461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8462 if eval "test \"\${$as_ac_var+set}\" = set"; then
8463   echo $ECHO_N "(cached) $ECHO_C" >&6
8464 else
8465   cat >conftest.$ac_ext <<_ACEOF
8466 #line $LINENO "configure"
8467 /* confdefs.h.  */
8468 _ACEOF
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h.  */
8472 /* System header to define __stub macros and hopefully few prototypes,
8473     which can conflict with char $ac_func (); below.
8474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8475     <limits.h> exists even on freestanding compilers.  */
8476 #ifdef __STDC__
8477 # include <limits.h>
8478 #else
8479 # include <assert.h>
8480 #endif
8481 /* Override any gcc2 internal prototype to avoid an error.  */
8482 #ifdef __cplusplus
8483 extern "C"
8484 {
8485 #endif
8486 /* We use char because int might match the return type of a gcc2
8487    builtin and then its argument prototype would still apply.  */
8488 char $ac_func ();
8489 /* The GNU C library defines this for functions which it implements
8490     to always fail with ENOSYS.  Some functions are actually named
8491     something starting with __ and the normal name is an alias.  */
8492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8493 choke me
8494 #else
8495 char (*f) () = $ac_func;
8496 #endif
8497 #ifdef __cplusplus
8498 }
8499 #endif
8500
8501 int
8502 main ()
8503 {
8504 return f != $ac_func;
8505   ;
8506   return 0;
8507 }
8508 _ACEOF
8509 rm -f conftest.$ac_objext conftest$ac_exeext
8510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8511   (eval $ac_link) 2>&5
8512   ac_status=$?
8513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514   (exit $ac_status); } &&
8515          { ac_try='test -s conftest$ac_exeext'
8516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8517   (eval $ac_try) 2>&5
8518   ac_status=$?
8519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520   (exit $ac_status); }; }; then
8521   eval "$as_ac_var=yes"
8522 else
8523   echo "$as_me: failed program was:" >&5
8524 sed 's/^/| /' conftest.$ac_ext >&5
8525
8526 eval "$as_ac_var=no"
8527 fi
8528 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8529 fi
8530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8532 if test `eval echo '${'$as_ac_var'}'` = yes; then
8533   cat >>confdefs.h <<_ACEOF
8534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8535 _ACEOF
8536
8537 fi
8538 done
8539
8540     fi
8541   fi
8542
8543
8544
8545   echo "$as_me:$LINENO: checking for finite declaration" >&5
8546 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8547   if test x${glibcxx_cv_func_finite_use+set} != xset; then
8548     if test "${glibcxx_cv_func_finite_use+set}" = set; then
8549   echo $ECHO_N "(cached) $ECHO_C" >&6
8550 else
8551
8552
8553
8554       ac_ext=cc
8555 ac_cpp='$CXXCPP $CPPFLAGS'
8556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8559
8560       cat >conftest.$ac_ext <<_ACEOF
8561 #line $LINENO "configure"
8562 /* confdefs.h.  */
8563 _ACEOF
8564 cat confdefs.h >>conftest.$ac_ext
8565 cat >>conftest.$ac_ext <<_ACEOF
8566 /* end confdefs.h.  */
8567 #include <math.h>
8568                       #ifdef HAVE_IEEEFP_H
8569                       #include <ieeefp.h>
8570                       #endif
8571
8572 int
8573 main ()
8574 {
8575  finite(0);
8576   ;
8577   return 0;
8578 }
8579 _ACEOF
8580 rm -f conftest.$ac_objext
8581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8582   (eval $ac_compile) 2>&5
8583   ac_status=$?
8584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585   (exit $ac_status); } &&
8586          { ac_try='test -s conftest.$ac_objext'
8587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8588   (eval $ac_try) 2>&5
8589   ac_status=$?
8590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591   (exit $ac_status); }; }; then
8592   glibcxx_cv_func_finite_use=yes
8593 else
8594   echo "$as_me: failed program was:" >&5
8595 sed 's/^/| /' conftest.$ac_ext >&5
8596
8597 glibcxx_cv_func_finite_use=no
8598 fi
8599 rm -f conftest.$ac_objext conftest.$ac_ext
8600       ac_ext=c
8601 ac_cpp='$CPP $CPPFLAGS'
8602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8605
8606
8607 fi
8608
8609   fi
8610   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8611 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8612
8613   if test x$glibcxx_cv_func_finite_use = x"yes"; then
8614
8615 for ac_func in finite
8616 do
8617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8618 echo "$as_me:$LINENO: checking for $ac_func" >&5
8619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8620 if eval "test \"\${$as_ac_var+set}\" = set"; then
8621   echo $ECHO_N "(cached) $ECHO_C" >&6
8622 else
8623   cat >conftest.$ac_ext <<_ACEOF
8624 #line $LINENO "configure"
8625 /* confdefs.h.  */
8626 _ACEOF
8627 cat confdefs.h >>conftest.$ac_ext
8628 cat >>conftest.$ac_ext <<_ACEOF
8629 /* end confdefs.h.  */
8630 /* System header to define __stub macros and hopefully few prototypes,
8631     which can conflict with char $ac_func (); below.
8632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8633     <limits.h> exists even on freestanding compilers.  */
8634 #ifdef __STDC__
8635 # include <limits.h>
8636 #else
8637 # include <assert.h>
8638 #endif
8639 /* Override any gcc2 internal prototype to avoid an error.  */
8640 #ifdef __cplusplus
8641 extern "C"
8642 {
8643 #endif
8644 /* We use char because int might match the return type of a gcc2
8645    builtin and then its argument prototype would still apply.  */
8646 char $ac_func ();
8647 /* The GNU C library defines this for functions which it implements
8648     to always fail with ENOSYS.  Some functions are actually named
8649     something starting with __ and the normal name is an alias.  */
8650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8651 choke me
8652 #else
8653 char (*f) () = $ac_func;
8654 #endif
8655 #ifdef __cplusplus
8656 }
8657 #endif
8658
8659 int
8660 main ()
8661 {
8662 return f != $ac_func;
8663   ;
8664   return 0;
8665 }
8666 _ACEOF
8667 rm -f conftest.$ac_objext conftest$ac_exeext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8669   (eval $ac_link) 2>&5
8670   ac_status=$?
8671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672   (exit $ac_status); } &&
8673          { ac_try='test -s conftest$ac_exeext'
8674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675   (eval $ac_try) 2>&5
8676   ac_status=$?
8677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678   (exit $ac_status); }; }; then
8679   eval "$as_ac_var=yes"
8680 else
8681   echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.$ac_ext >&5
8683
8684 eval "$as_ac_var=no"
8685 fi
8686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8687 fi
8688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8690 if test `eval echo '${'$as_ac_var'}'` = yes; then
8691   cat >>confdefs.h <<_ACEOF
8692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8693 _ACEOF
8694
8695 fi
8696 done
8697
8698   else
8699
8700   echo "$as_me:$LINENO: checking for _finite declaration" >&5
8701 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8702   if test x${glibcxx_cv_func__finite_use+set} != xset; then
8703     if test "${glibcxx_cv_func__finite_use+set}" = set; then
8704   echo $ECHO_N "(cached) $ECHO_C" >&6
8705 else
8706
8707
8708
8709       ac_ext=cc
8710 ac_cpp='$CXXCPP $CPPFLAGS'
8711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8714
8715       cat >conftest.$ac_ext <<_ACEOF
8716 #line $LINENO "configure"
8717 /* confdefs.h.  */
8718 _ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h.  */
8722 #include <math.h>
8723                       #ifdef HAVE_IEEEFP_H
8724                       #include <ieeefp.h>
8725                       #endif
8726
8727 int
8728 main ()
8729 {
8730  _finite(0);
8731   ;
8732   return 0;
8733 }
8734 _ACEOF
8735 rm -f conftest.$ac_objext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8737   (eval $ac_compile) 2>&5
8738   ac_status=$?
8739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740   (exit $ac_status); } &&
8741          { ac_try='test -s conftest.$ac_objext'
8742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743   (eval $ac_try) 2>&5
8744   ac_status=$?
8745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746   (exit $ac_status); }; }; then
8747   glibcxx_cv_func__finite_use=yes
8748 else
8749   echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8751
8752 glibcxx_cv_func__finite_use=no
8753 fi
8754 rm -f conftest.$ac_objext conftest.$ac_ext
8755       ac_ext=c
8756 ac_cpp='$CPP $CPPFLAGS'
8757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8760
8761
8762 fi
8763
8764   fi
8765   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8766 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8767
8768     if test x$glibcxx_cv_func__finite_use = x"yes"; then
8769
8770 for ac_func in _finite
8771 do
8772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8773 echo "$as_me:$LINENO: checking for $ac_func" >&5
8774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8775 if eval "test \"\${$as_ac_var+set}\" = set"; then
8776   echo $ECHO_N "(cached) $ECHO_C" >&6
8777 else
8778   cat >conftest.$ac_ext <<_ACEOF
8779 #line $LINENO "configure"
8780 /* confdefs.h.  */
8781 _ACEOF
8782 cat confdefs.h >>conftest.$ac_ext
8783 cat >>conftest.$ac_ext <<_ACEOF
8784 /* end confdefs.h.  */
8785 /* System header to define __stub macros and hopefully few prototypes,
8786     which can conflict with char $ac_func (); below.
8787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8788     <limits.h> exists even on freestanding compilers.  */
8789 #ifdef __STDC__
8790 # include <limits.h>
8791 #else
8792 # include <assert.h>
8793 #endif
8794 /* Override any gcc2 internal prototype to avoid an error.  */
8795 #ifdef __cplusplus
8796 extern "C"
8797 {
8798 #endif
8799 /* We use char because int might match the return type of a gcc2
8800    builtin and then its argument prototype would still apply.  */
8801 char $ac_func ();
8802 /* The GNU C library defines this for functions which it implements
8803     to always fail with ENOSYS.  Some functions are actually named
8804     something starting with __ and the normal name is an alias.  */
8805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8806 choke me
8807 #else
8808 char (*f) () = $ac_func;
8809 #endif
8810 #ifdef __cplusplus
8811 }
8812 #endif
8813
8814 int
8815 main ()
8816 {
8817 return f != $ac_func;
8818   ;
8819   return 0;
8820 }
8821 _ACEOF
8822 rm -f conftest.$ac_objext conftest$ac_exeext
8823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8824   (eval $ac_link) 2>&5
8825   ac_status=$?
8826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827   (exit $ac_status); } &&
8828          { ac_try='test -s conftest$ac_exeext'
8829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830   (eval $ac_try) 2>&5
8831   ac_status=$?
8832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833   (exit $ac_status); }; }; then
8834   eval "$as_ac_var=yes"
8835 else
8836   echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5
8838
8839 eval "$as_ac_var=no"
8840 fi
8841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8842 fi
8843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8845 if test `eval echo '${'$as_ac_var'}'` = yes; then
8846   cat >>confdefs.h <<_ACEOF
8847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8848 _ACEOF
8849
8850 fi
8851 done
8852
8853     fi
8854   fi
8855
8856
8857
8858   echo "$as_me:$LINENO: checking for copysign declaration" >&5
8859 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8860   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8861     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8862   echo $ECHO_N "(cached) $ECHO_C" >&6
8863 else
8864
8865
8866
8867       ac_ext=cc
8868 ac_cpp='$CXXCPP $CPPFLAGS'
8869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8872
8873       cat >conftest.$ac_ext <<_ACEOF
8874 #line $LINENO "configure"
8875 /* confdefs.h.  */
8876 _ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h.  */
8880 #include <math.h>
8881 int
8882 main ()
8883 {
8884  copysign(0, 0);
8885   ;
8886   return 0;
8887 }
8888 _ACEOF
8889 rm -f conftest.$ac_objext
8890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8891   (eval $ac_compile) 2>&5
8892   ac_status=$?
8893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894   (exit $ac_status); } &&
8895          { ac_try='test -s conftest.$ac_objext'
8896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897   (eval $ac_try) 2>&5
8898   ac_status=$?
8899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900   (exit $ac_status); }; }; then
8901   glibcxx_cv_func_copysign_use=yes
8902 else
8903   echo "$as_me: failed program was:" >&5
8904 sed 's/^/| /' conftest.$ac_ext >&5
8905
8906 glibcxx_cv_func_copysign_use=no
8907 fi
8908 rm -f conftest.$ac_objext conftest.$ac_ext
8909       ac_ext=c
8910 ac_cpp='$CPP $CPPFLAGS'
8911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8914
8915
8916 fi
8917
8918   fi
8919   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8920 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8921
8922   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8923
8924 for ac_func in copysign
8925 do
8926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8927 echo "$as_me:$LINENO: checking for $ac_func" >&5
8928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8929 if eval "test \"\${$as_ac_var+set}\" = set"; then
8930   echo $ECHO_N "(cached) $ECHO_C" >&6
8931 else
8932   cat >conftest.$ac_ext <<_ACEOF
8933 #line $LINENO "configure"
8934 /* confdefs.h.  */
8935 _ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h.  */
8939 /* System header to define __stub macros and hopefully few prototypes,
8940     which can conflict with char $ac_func (); below.
8941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8942     <limits.h> exists even on freestanding compilers.  */
8943 #ifdef __STDC__
8944 # include <limits.h>
8945 #else
8946 # include <assert.h>
8947 #endif
8948 /* Override any gcc2 internal prototype to avoid an error.  */
8949 #ifdef __cplusplus
8950 extern "C"
8951 {
8952 #endif
8953 /* We use char because int might match the return type of a gcc2
8954    builtin and then its argument prototype would still apply.  */
8955 char $ac_func ();
8956 /* The GNU C library defines this for functions which it implements
8957     to always fail with ENOSYS.  Some functions are actually named
8958     something starting with __ and the normal name is an alias.  */
8959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8960 choke me
8961 #else
8962 char (*f) () = $ac_func;
8963 #endif
8964 #ifdef __cplusplus
8965 }
8966 #endif
8967
8968 int
8969 main ()
8970 {
8971 return f != $ac_func;
8972   ;
8973   return 0;
8974 }
8975 _ACEOF
8976 rm -f conftest.$ac_objext conftest$ac_exeext
8977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978   (eval $ac_link) 2>&5
8979   ac_status=$?
8980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981   (exit $ac_status); } &&
8982          { ac_try='test -s conftest$ac_exeext'
8983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984   (eval $ac_try) 2>&5
8985   ac_status=$?
8986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987   (exit $ac_status); }; }; then
8988   eval "$as_ac_var=yes"
8989 else
8990   echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8992
8993 eval "$as_ac_var=no"
8994 fi
8995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8996 fi
8997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8999 if test `eval echo '${'$as_ac_var'}'` = yes; then
9000   cat >>confdefs.h <<_ACEOF
9001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9002 _ACEOF
9003
9004 fi
9005 done
9006
9007   else
9008
9009   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9010 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9011   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9012     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9013   echo $ECHO_N "(cached) $ECHO_C" >&6
9014 else
9015
9016
9017
9018       ac_ext=cc
9019 ac_cpp='$CXXCPP $CPPFLAGS'
9020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9023
9024       cat >conftest.$ac_ext <<_ACEOF
9025 #line $LINENO "configure"
9026 /* confdefs.h.  */
9027 _ACEOF
9028 cat confdefs.h >>conftest.$ac_ext
9029 cat >>conftest.$ac_ext <<_ACEOF
9030 /* end confdefs.h.  */
9031 #include <math.h>
9032 int
9033 main ()
9034 {
9035  _copysign(0, 0);
9036   ;
9037   return 0;
9038 }
9039 _ACEOF
9040 rm -f conftest.$ac_objext
9041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9042   (eval $ac_compile) 2>&5
9043   ac_status=$?
9044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045   (exit $ac_status); } &&
9046          { ac_try='test -s conftest.$ac_objext'
9047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048   (eval $ac_try) 2>&5
9049   ac_status=$?
9050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051   (exit $ac_status); }; }; then
9052   glibcxx_cv_func__copysign_use=yes
9053 else
9054   echo "$as_me: failed program was:" >&5
9055 sed 's/^/| /' conftest.$ac_ext >&5
9056
9057 glibcxx_cv_func__copysign_use=no
9058 fi
9059 rm -f conftest.$ac_objext conftest.$ac_ext
9060       ac_ext=c
9061 ac_cpp='$CPP $CPPFLAGS'
9062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9065
9066
9067 fi
9068
9069   fi
9070   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9071 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9072
9073     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9074
9075 for ac_func in _copysign
9076 do
9077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9078 echo "$as_me:$LINENO: checking for $ac_func" >&5
9079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9080 if eval "test \"\${$as_ac_var+set}\" = set"; then
9081   echo $ECHO_N "(cached) $ECHO_C" >&6
9082 else
9083   cat >conftest.$ac_ext <<_ACEOF
9084 #line $LINENO "configure"
9085 /* confdefs.h.  */
9086 _ACEOF
9087 cat confdefs.h >>conftest.$ac_ext
9088 cat >>conftest.$ac_ext <<_ACEOF
9089 /* end confdefs.h.  */
9090 /* System header to define __stub macros and hopefully few prototypes,
9091     which can conflict with char $ac_func (); below.
9092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9093     <limits.h> exists even on freestanding compilers.  */
9094 #ifdef __STDC__
9095 # include <limits.h>
9096 #else
9097 # include <assert.h>
9098 #endif
9099 /* Override any gcc2 internal prototype to avoid an error.  */
9100 #ifdef __cplusplus
9101 extern "C"
9102 {
9103 #endif
9104 /* We use char because int might match the return type of a gcc2
9105    builtin and then its argument prototype would still apply.  */
9106 char $ac_func ();
9107 /* The GNU C library defines this for functions which it implements
9108     to always fail with ENOSYS.  Some functions are actually named
9109     something starting with __ and the normal name is an alias.  */
9110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9111 choke me
9112 #else
9113 char (*f) () = $ac_func;
9114 #endif
9115 #ifdef __cplusplus
9116 }
9117 #endif
9118
9119 int
9120 main ()
9121 {
9122 return f != $ac_func;
9123   ;
9124   return 0;
9125 }
9126 _ACEOF
9127 rm -f conftest.$ac_objext conftest$ac_exeext
9128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9129   (eval $ac_link) 2>&5
9130   ac_status=$?
9131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132   (exit $ac_status); } &&
9133          { ac_try='test -s conftest$ac_exeext'
9134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135   (eval $ac_try) 2>&5
9136   ac_status=$?
9137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138   (exit $ac_status); }; }; then
9139   eval "$as_ac_var=yes"
9140 else
9141   echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.$ac_ext >&5
9143
9144 eval "$as_ac_var=no"
9145 fi
9146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9147 fi
9148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9150 if test `eval echo '${'$as_ac_var'}'` = yes; then
9151   cat >>confdefs.h <<_ACEOF
9152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9153 _ACEOF
9154
9155 fi
9156 done
9157
9158     fi
9159   fi
9160
9161
9162
9163   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9164 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9165   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9166     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9167   echo $ECHO_N "(cached) $ECHO_C" >&6
9168 else
9169
9170
9171
9172       ac_ext=cc
9173 ac_cpp='$CXXCPP $CPPFLAGS'
9174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9177
9178       cat >conftest.$ac_ext <<_ACEOF
9179 #line $LINENO "configure"
9180 /* confdefs.h.  */
9181 _ACEOF
9182 cat confdefs.h >>conftest.$ac_ext
9183 cat >>conftest.$ac_ext <<_ACEOF
9184 /* end confdefs.h.  */
9185 #include <math.h>
9186 int
9187 main ()
9188 {
9189  sincos(0, 0, 0);
9190   ;
9191   return 0;
9192 }
9193 _ACEOF
9194 rm -f conftest.$ac_objext
9195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9196   (eval $ac_compile) 2>&5
9197   ac_status=$?
9198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199   (exit $ac_status); } &&
9200          { ac_try='test -s conftest.$ac_objext'
9201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202   (eval $ac_try) 2>&5
9203   ac_status=$?
9204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205   (exit $ac_status); }; }; then
9206   glibcxx_cv_func_sincos_use=yes
9207 else
9208   echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.$ac_ext >&5
9210
9211 glibcxx_cv_func_sincos_use=no
9212 fi
9213 rm -f conftest.$ac_objext conftest.$ac_ext
9214       ac_ext=c
9215 ac_cpp='$CPP $CPPFLAGS'
9216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9219
9220
9221 fi
9222
9223   fi
9224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9225 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9226
9227   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9228
9229 for ac_func in sincos
9230 do
9231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9232 echo "$as_me:$LINENO: checking for $ac_func" >&5
9233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9234 if eval "test \"\${$as_ac_var+set}\" = set"; then
9235   echo $ECHO_N "(cached) $ECHO_C" >&6
9236 else
9237   cat >conftest.$ac_ext <<_ACEOF
9238 #line $LINENO "configure"
9239 /* confdefs.h.  */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
9243 /* end confdefs.h.  */
9244 /* System header to define __stub macros and hopefully few prototypes,
9245     which can conflict with char $ac_func (); below.
9246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9247     <limits.h> exists even on freestanding compilers.  */
9248 #ifdef __STDC__
9249 # include <limits.h>
9250 #else
9251 # include <assert.h>
9252 #endif
9253 /* Override any gcc2 internal prototype to avoid an error.  */
9254 #ifdef __cplusplus
9255 extern "C"
9256 {
9257 #endif
9258 /* We use char because int might match the return type of a gcc2
9259    builtin and then its argument prototype would still apply.  */
9260 char $ac_func ();
9261 /* The GNU C library defines this for functions which it implements
9262     to always fail with ENOSYS.  Some functions are actually named
9263     something starting with __ and the normal name is an alias.  */
9264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9265 choke me
9266 #else
9267 char (*f) () = $ac_func;
9268 #endif
9269 #ifdef __cplusplus
9270 }
9271 #endif
9272
9273 int
9274 main ()
9275 {
9276 return f != $ac_func;
9277   ;
9278   return 0;
9279 }
9280 _ACEOF
9281 rm -f conftest.$ac_objext conftest$ac_exeext
9282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9283   (eval $ac_link) 2>&5
9284   ac_status=$?
9285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286   (exit $ac_status); } &&
9287          { ac_try='test -s conftest$ac_exeext'
9288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289   (eval $ac_try) 2>&5
9290   ac_status=$?
9291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292   (exit $ac_status); }; }; then
9293   eval "$as_ac_var=yes"
9294 else
9295   echo "$as_me: failed program was:" >&5
9296 sed 's/^/| /' conftest.$ac_ext >&5
9297
9298 eval "$as_ac_var=no"
9299 fi
9300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9301 fi
9302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9304 if test `eval echo '${'$as_ac_var'}'` = yes; then
9305   cat >>confdefs.h <<_ACEOF
9306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9307 _ACEOF
9308
9309 fi
9310 done
9311
9312   else
9313
9314   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9315 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9316   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9317     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9318   echo $ECHO_N "(cached) $ECHO_C" >&6
9319 else
9320
9321
9322
9323       ac_ext=cc
9324 ac_cpp='$CXXCPP $CPPFLAGS'
9325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9328
9329       cat >conftest.$ac_ext <<_ACEOF
9330 #line $LINENO "configure"
9331 /* confdefs.h.  */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h.  */
9336 #include <math.h>
9337 int
9338 main ()
9339 {
9340  _sincos(0, 0, 0);
9341   ;
9342   return 0;
9343 }
9344 _ACEOF
9345 rm -f conftest.$ac_objext
9346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9347   (eval $ac_compile) 2>&5
9348   ac_status=$?
9349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350   (exit $ac_status); } &&
9351          { ac_try='test -s conftest.$ac_objext'
9352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353   (eval $ac_try) 2>&5
9354   ac_status=$?
9355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356   (exit $ac_status); }; }; then
9357   glibcxx_cv_func__sincos_use=yes
9358 else
9359   echo "$as_me: failed program was:" >&5
9360 sed 's/^/| /' conftest.$ac_ext >&5
9361
9362 glibcxx_cv_func__sincos_use=no
9363 fi
9364 rm -f conftest.$ac_objext conftest.$ac_ext
9365       ac_ext=c
9366 ac_cpp='$CPP $CPPFLAGS'
9367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9370
9371
9372 fi
9373
9374   fi
9375   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9376 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9377
9378     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9379
9380 for ac_func in _sincos
9381 do
9382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9383 echo "$as_me:$LINENO: checking for $ac_func" >&5
9384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9385 if eval "test \"\${$as_ac_var+set}\" = set"; then
9386   echo $ECHO_N "(cached) $ECHO_C" >&6
9387 else
9388   cat >conftest.$ac_ext <<_ACEOF
9389 #line $LINENO "configure"
9390 /* confdefs.h.  */
9391 _ACEOF
9392 cat confdefs.h >>conftest.$ac_ext
9393 cat >>conftest.$ac_ext <<_ACEOF
9394 /* end confdefs.h.  */
9395 /* System header to define __stub macros and hopefully few prototypes,
9396     which can conflict with char $ac_func (); below.
9397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9398     <limits.h> exists even on freestanding compilers.  */
9399 #ifdef __STDC__
9400 # include <limits.h>
9401 #else
9402 # include <assert.h>
9403 #endif
9404 /* Override any gcc2 internal prototype to avoid an error.  */
9405 #ifdef __cplusplus
9406 extern "C"
9407 {
9408 #endif
9409 /* We use char because int might match the return type of a gcc2
9410    builtin and then its argument prototype would still apply.  */
9411 char $ac_func ();
9412 /* The GNU C library defines this for functions which it implements
9413     to always fail with ENOSYS.  Some functions are actually named
9414     something starting with __ and the normal name is an alias.  */
9415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9416 choke me
9417 #else
9418 char (*f) () = $ac_func;
9419 #endif
9420 #ifdef __cplusplus
9421 }
9422 #endif
9423
9424 int
9425 main ()
9426 {
9427 return f != $ac_func;
9428   ;
9429   return 0;
9430 }
9431 _ACEOF
9432 rm -f conftest.$ac_objext conftest$ac_exeext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9434   (eval $ac_link) 2>&5
9435   ac_status=$?
9436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437   (exit $ac_status); } &&
9438          { ac_try='test -s conftest$ac_exeext'
9439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440   (eval $ac_try) 2>&5
9441   ac_status=$?
9442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443   (exit $ac_status); }; }; then
9444   eval "$as_ac_var=yes"
9445 else
9446   echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.$ac_ext >&5
9448
9449 eval "$as_ac_var=no"
9450 fi
9451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9452 fi
9453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9455 if test `eval echo '${'$as_ac_var'}'` = yes; then
9456   cat >>confdefs.h <<_ACEOF
9457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9458 _ACEOF
9459
9460 fi
9461 done
9462
9463     fi
9464   fi
9465
9466
9467
9468   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9469 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9470   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9471     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9472   echo $ECHO_N "(cached) $ECHO_C" >&6
9473 else
9474
9475
9476
9477       ac_ext=cc
9478 ac_cpp='$CXXCPP $CPPFLAGS'
9479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9482
9483       cat >conftest.$ac_ext <<_ACEOF
9484 #line $LINENO "configure"
9485 /* confdefs.h.  */
9486 _ACEOF
9487 cat confdefs.h >>conftest.$ac_ext
9488 cat >>conftest.$ac_ext <<_ACEOF
9489 /* end confdefs.h.  */
9490 #include <math.h>
9491                       #ifdef HAVE_IEEEFP_H
9492                       #include <ieeefp.h>
9493                       #endif
9494
9495 int
9496 main ()
9497 {
9498  fpclass(0);
9499   ;
9500   return 0;
9501 }
9502 _ACEOF
9503 rm -f conftest.$ac_objext
9504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9505   (eval $ac_compile) 2>&5
9506   ac_status=$?
9507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508   (exit $ac_status); } &&
9509          { ac_try='test -s conftest.$ac_objext'
9510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9511   (eval $ac_try) 2>&5
9512   ac_status=$?
9513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514   (exit $ac_status); }; }; then
9515   glibcxx_cv_func_fpclass_use=yes
9516 else
9517   echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.$ac_ext >&5
9519
9520 glibcxx_cv_func_fpclass_use=no
9521 fi
9522 rm -f conftest.$ac_objext conftest.$ac_ext
9523       ac_ext=c
9524 ac_cpp='$CPP $CPPFLAGS'
9525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9528
9529
9530 fi
9531
9532   fi
9533   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9534 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9535
9536   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9537
9538 for ac_func in fpclass
9539 do
9540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9541 echo "$as_me:$LINENO: checking for $ac_func" >&5
9542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9543 if eval "test \"\${$as_ac_var+set}\" = set"; then
9544   echo $ECHO_N "(cached) $ECHO_C" >&6
9545 else
9546   cat >conftest.$ac_ext <<_ACEOF
9547 #line $LINENO "configure"
9548 /* confdefs.h.  */
9549 _ACEOF
9550 cat confdefs.h >>conftest.$ac_ext
9551 cat >>conftest.$ac_ext <<_ACEOF
9552 /* end confdefs.h.  */
9553 /* System header to define __stub macros and hopefully few prototypes,
9554     which can conflict with char $ac_func (); below.
9555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9556     <limits.h> exists even on freestanding compilers.  */
9557 #ifdef __STDC__
9558 # include <limits.h>
9559 #else
9560 # include <assert.h>
9561 #endif
9562 /* Override any gcc2 internal prototype to avoid an error.  */
9563 #ifdef __cplusplus
9564 extern "C"
9565 {
9566 #endif
9567 /* We use char because int might match the return type of a gcc2
9568    builtin and then its argument prototype would still apply.  */
9569 char $ac_func ();
9570 /* The GNU C library defines this for functions which it implements
9571     to always fail with ENOSYS.  Some functions are actually named
9572     something starting with __ and the normal name is an alias.  */
9573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9574 choke me
9575 #else
9576 char (*f) () = $ac_func;
9577 #endif
9578 #ifdef __cplusplus
9579 }
9580 #endif
9581
9582 int
9583 main ()
9584 {
9585 return f != $ac_func;
9586   ;
9587   return 0;
9588 }
9589 _ACEOF
9590 rm -f conftest.$ac_objext conftest$ac_exeext
9591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9592   (eval $ac_link) 2>&5
9593   ac_status=$?
9594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595   (exit $ac_status); } &&
9596          { ac_try='test -s conftest$ac_exeext'
9597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598   (eval $ac_try) 2>&5
9599   ac_status=$?
9600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601   (exit $ac_status); }; }; then
9602   eval "$as_ac_var=yes"
9603 else
9604   echo "$as_me: failed program was:" >&5
9605 sed 's/^/| /' conftest.$ac_ext >&5
9606
9607 eval "$as_ac_var=no"
9608 fi
9609 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9610 fi
9611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9613 if test `eval echo '${'$as_ac_var'}'` = yes; then
9614   cat >>confdefs.h <<_ACEOF
9615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9616 _ACEOF
9617
9618 fi
9619 done
9620
9621   else
9622
9623   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9624 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9625   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9626     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9627   echo $ECHO_N "(cached) $ECHO_C" >&6
9628 else
9629
9630
9631
9632       ac_ext=cc
9633 ac_cpp='$CXXCPP $CPPFLAGS'
9634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9637
9638       cat >conftest.$ac_ext <<_ACEOF
9639 #line $LINENO "configure"
9640 /* confdefs.h.  */
9641 _ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 cat >>conftest.$ac_ext <<_ACEOF
9644 /* end confdefs.h.  */
9645 #include <math.h>
9646                       #ifdef HAVE_IEEEFP_H
9647                       #include <ieeefp.h>
9648                       #endif
9649
9650 int
9651 main ()
9652 {
9653  _fpclass(0);
9654   ;
9655   return 0;
9656 }
9657 _ACEOF
9658 rm -f conftest.$ac_objext
9659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9660   (eval $ac_compile) 2>&5
9661   ac_status=$?
9662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663   (exit $ac_status); } &&
9664          { ac_try='test -s conftest.$ac_objext'
9665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666   (eval $ac_try) 2>&5
9667   ac_status=$?
9668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669   (exit $ac_status); }; }; then
9670   glibcxx_cv_func__fpclass_use=yes
9671 else
9672   echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.$ac_ext >&5
9674
9675 glibcxx_cv_func__fpclass_use=no
9676 fi
9677 rm -f conftest.$ac_objext conftest.$ac_ext
9678       ac_ext=c
9679 ac_cpp='$CPP $CPPFLAGS'
9680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9683
9684
9685 fi
9686
9687   fi
9688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9689 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9690
9691     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9692
9693 for ac_func in _fpclass
9694 do
9695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9696 echo "$as_me:$LINENO: checking for $ac_func" >&5
9697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9698 if eval "test \"\${$as_ac_var+set}\" = set"; then
9699   echo $ECHO_N "(cached) $ECHO_C" >&6
9700 else
9701   cat >conftest.$ac_ext <<_ACEOF
9702 #line $LINENO "configure"
9703 /* confdefs.h.  */
9704 _ACEOF
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h.  */
9708 /* System header to define __stub macros and hopefully few prototypes,
9709     which can conflict with char $ac_func (); below.
9710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9711     <limits.h> exists even on freestanding compilers.  */
9712 #ifdef __STDC__
9713 # include <limits.h>
9714 #else
9715 # include <assert.h>
9716 #endif
9717 /* Override any gcc2 internal prototype to avoid an error.  */
9718 #ifdef __cplusplus
9719 extern "C"
9720 {
9721 #endif
9722 /* We use char because int might match the return type of a gcc2
9723    builtin and then its argument prototype would still apply.  */
9724 char $ac_func ();
9725 /* The GNU C library defines this for functions which it implements
9726     to always fail with ENOSYS.  Some functions are actually named
9727     something starting with __ and the normal name is an alias.  */
9728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9729 choke me
9730 #else
9731 char (*f) () = $ac_func;
9732 #endif
9733 #ifdef __cplusplus
9734 }
9735 #endif
9736
9737 int
9738 main ()
9739 {
9740 return f != $ac_func;
9741   ;
9742   return 0;
9743 }
9744 _ACEOF
9745 rm -f conftest.$ac_objext conftest$ac_exeext
9746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747   (eval $ac_link) 2>&5
9748   ac_status=$?
9749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750   (exit $ac_status); } &&
9751          { ac_try='test -s conftest$ac_exeext'
9752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753   (eval $ac_try) 2>&5
9754   ac_status=$?
9755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756   (exit $ac_status); }; }; then
9757   eval "$as_ac_var=yes"
9758 else
9759   echo "$as_me: failed program was:" >&5
9760 sed 's/^/| /' conftest.$ac_ext >&5
9761
9762 eval "$as_ac_var=no"
9763 fi
9764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9765 fi
9766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9768 if test `eval echo '${'$as_ac_var'}'` = yes; then
9769   cat >>confdefs.h <<_ACEOF
9770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9771 _ACEOF
9772
9773 fi
9774 done
9775
9776     fi
9777   fi
9778
9779
9780
9781   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9782 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9783   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9784     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9785   echo $ECHO_N "(cached) $ECHO_C" >&6
9786 else
9787
9788
9789
9790       ac_ext=cc
9791 ac_cpp='$CXXCPP $CPPFLAGS'
9792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9795
9796       cat >conftest.$ac_ext <<_ACEOF
9797 #line $LINENO "configure"
9798 /* confdefs.h.  */
9799 _ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h.  */
9803 #include <math.h>
9804                       #ifdef HAVE_IEEEFP_H
9805                       #include <ieeefp.h>
9806                       #endif
9807
9808 int
9809 main ()
9810 {
9811  qfpclass(0);
9812   ;
9813   return 0;
9814 }
9815 _ACEOF
9816 rm -f conftest.$ac_objext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9818   (eval $ac_compile) 2>&5
9819   ac_status=$?
9820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821   (exit $ac_status); } &&
9822          { ac_try='test -s conftest.$ac_objext'
9823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824   (eval $ac_try) 2>&5
9825   ac_status=$?
9826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827   (exit $ac_status); }; }; then
9828   glibcxx_cv_func_qfpclass_use=yes
9829 else
9830   echo "$as_me: failed program was:" >&5
9831 sed 's/^/| /' conftest.$ac_ext >&5
9832
9833 glibcxx_cv_func_qfpclass_use=no
9834 fi
9835 rm -f conftest.$ac_objext conftest.$ac_ext
9836       ac_ext=c
9837 ac_cpp='$CPP $CPPFLAGS'
9838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9841
9842
9843 fi
9844
9845   fi
9846   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9847 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9848
9849   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9850
9851 for ac_func in qfpclass
9852 do
9853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9854 echo "$as_me:$LINENO: checking for $ac_func" >&5
9855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9856 if eval "test \"\${$as_ac_var+set}\" = set"; then
9857   echo $ECHO_N "(cached) $ECHO_C" >&6
9858 else
9859   cat >conftest.$ac_ext <<_ACEOF
9860 #line $LINENO "configure"
9861 /* confdefs.h.  */
9862 _ACEOF
9863 cat confdefs.h >>conftest.$ac_ext
9864 cat >>conftest.$ac_ext <<_ACEOF
9865 /* end confdefs.h.  */
9866 /* System header to define __stub macros and hopefully few prototypes,
9867     which can conflict with char $ac_func (); below.
9868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9869     <limits.h> exists even on freestanding compilers.  */
9870 #ifdef __STDC__
9871 # include <limits.h>
9872 #else
9873 # include <assert.h>
9874 #endif
9875 /* Override any gcc2 internal prototype to avoid an error.  */
9876 #ifdef __cplusplus
9877 extern "C"
9878 {
9879 #endif
9880 /* We use char because int might match the return type of a gcc2
9881    builtin and then its argument prototype would still apply.  */
9882 char $ac_func ();
9883 /* The GNU C library defines this for functions which it implements
9884     to always fail with ENOSYS.  Some functions are actually named
9885     something starting with __ and the normal name is an alias.  */
9886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9887 choke me
9888 #else
9889 char (*f) () = $ac_func;
9890 #endif
9891 #ifdef __cplusplus
9892 }
9893 #endif
9894
9895 int
9896 main ()
9897 {
9898 return f != $ac_func;
9899   ;
9900   return 0;
9901 }
9902 _ACEOF
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9905   (eval $ac_link) 2>&5
9906   ac_status=$?
9907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908   (exit $ac_status); } &&
9909          { ac_try='test -s conftest$ac_exeext'
9910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9911   (eval $ac_try) 2>&5
9912   ac_status=$?
9913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914   (exit $ac_status); }; }; then
9915   eval "$as_ac_var=yes"
9916 else
9917   echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9919
9920 eval "$as_ac_var=no"
9921 fi
9922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9923 fi
9924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9926 if test `eval echo '${'$as_ac_var'}'` = yes; then
9927   cat >>confdefs.h <<_ACEOF
9928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9929 _ACEOF
9930
9931 fi
9932 done
9933
9934   else
9935
9936   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9937 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9938   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9939     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9940   echo $ECHO_N "(cached) $ECHO_C" >&6
9941 else
9942
9943
9944
9945       ac_ext=cc
9946 ac_cpp='$CXXCPP $CPPFLAGS'
9947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9950
9951       cat >conftest.$ac_ext <<_ACEOF
9952 #line $LINENO "configure"
9953 /* confdefs.h.  */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h.  */
9958 #include <math.h>
9959                       #ifdef HAVE_IEEEFP_H
9960                       #include <ieeefp.h>
9961                       #endif
9962
9963 int
9964 main ()
9965 {
9966  _qfpclass(0);
9967   ;
9968   return 0;
9969 }
9970 _ACEOF
9971 rm -f conftest.$ac_objext
9972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9973   (eval $ac_compile) 2>&5
9974   ac_status=$?
9975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976   (exit $ac_status); } &&
9977          { ac_try='test -s conftest.$ac_objext'
9978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979   (eval $ac_try) 2>&5
9980   ac_status=$?
9981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982   (exit $ac_status); }; }; then
9983   glibcxx_cv_func__qfpclass_use=yes
9984 else
9985   echo "$as_me: failed program was:" >&5
9986 sed 's/^/| /' conftest.$ac_ext >&5
9987
9988 glibcxx_cv_func__qfpclass_use=no
9989 fi
9990 rm -f conftest.$ac_objext conftest.$ac_ext
9991       ac_ext=c
9992 ac_cpp='$CPP $CPPFLAGS'
9993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9996
9997
9998 fi
9999
10000   fi
10001   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10002 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10003
10004     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10005
10006 for ac_func in _qfpclass
10007 do
10008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10009 echo "$as_me:$LINENO: checking for $ac_func" >&5
10010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10011 if eval "test \"\${$as_ac_var+set}\" = set"; then
10012   echo $ECHO_N "(cached) $ECHO_C" >&6
10013 else
10014   cat >conftest.$ac_ext <<_ACEOF
10015 #line $LINENO "configure"
10016 /* confdefs.h.  */
10017 _ACEOF
10018 cat confdefs.h >>conftest.$ac_ext
10019 cat >>conftest.$ac_ext <<_ACEOF
10020 /* end confdefs.h.  */
10021 /* System header to define __stub macros and hopefully few prototypes,
10022     which can conflict with char $ac_func (); below.
10023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10024     <limits.h> exists even on freestanding compilers.  */
10025 #ifdef __STDC__
10026 # include <limits.h>
10027 #else
10028 # include <assert.h>
10029 #endif
10030 /* Override any gcc2 internal prototype to avoid an error.  */
10031 #ifdef __cplusplus
10032 extern "C"
10033 {
10034 #endif
10035 /* We use char because int might match the return type of a gcc2
10036    builtin and then its argument prototype would still apply.  */
10037 char $ac_func ();
10038 /* The GNU C library defines this for functions which it implements
10039     to always fail with ENOSYS.  Some functions are actually named
10040     something starting with __ and the normal name is an alias.  */
10041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10042 choke me
10043 #else
10044 char (*f) () = $ac_func;
10045 #endif
10046 #ifdef __cplusplus
10047 }
10048 #endif
10049
10050 int
10051 main ()
10052 {
10053 return f != $ac_func;
10054   ;
10055   return 0;
10056 }
10057 _ACEOF
10058 rm -f conftest.$ac_objext conftest$ac_exeext
10059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10060   (eval $ac_link) 2>&5
10061   ac_status=$?
10062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063   (exit $ac_status); } &&
10064          { ac_try='test -s conftest$ac_exeext'
10065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066   (eval $ac_try) 2>&5
10067   ac_status=$?
10068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069   (exit $ac_status); }; }; then
10070   eval "$as_ac_var=yes"
10071 else
10072   echo "$as_me: failed program was:" >&5
10073 sed 's/^/| /' conftest.$ac_ext >&5
10074
10075 eval "$as_ac_var=no"
10076 fi
10077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10078 fi
10079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10081 if test `eval echo '${'$as_ac_var'}'` = yes; then
10082   cat >>confdefs.h <<_ACEOF
10083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10084 _ACEOF
10085
10086 fi
10087 done
10088
10089     fi
10090   fi
10091
10092
10093
10094   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10095 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10096   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10097     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10098   echo $ECHO_N "(cached) $ECHO_C" >&6
10099 else
10100
10101
10102
10103       ac_ext=cc
10104 ac_cpp='$CXXCPP $CPPFLAGS'
10105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10108
10109       cat >conftest.$ac_ext <<_ACEOF
10110 #line $LINENO "configure"
10111 /* confdefs.h.  */
10112 _ACEOF
10113 cat confdefs.h >>conftest.$ac_ext
10114 cat >>conftest.$ac_ext <<_ACEOF
10115 /* end confdefs.h.  */
10116 #include <math.h>
10117 int
10118 main ()
10119 {
10120  hypot(0, 0);
10121   ;
10122   return 0;
10123 }
10124 _ACEOF
10125 rm -f conftest.$ac_objext
10126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10127   (eval $ac_compile) 2>&5
10128   ac_status=$?
10129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130   (exit $ac_status); } &&
10131          { ac_try='test -s conftest.$ac_objext'
10132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133   (eval $ac_try) 2>&5
10134   ac_status=$?
10135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136   (exit $ac_status); }; }; then
10137   glibcxx_cv_func_hypot_use=yes
10138 else
10139   echo "$as_me: failed program was:" >&5
10140 sed 's/^/| /' conftest.$ac_ext >&5
10141
10142 glibcxx_cv_func_hypot_use=no
10143 fi
10144 rm -f conftest.$ac_objext conftest.$ac_ext
10145       ac_ext=c
10146 ac_cpp='$CPP $CPPFLAGS'
10147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10150
10151
10152 fi
10153
10154   fi
10155   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10156 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10157
10158   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10159
10160 for ac_func in hypot
10161 do
10162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10163 echo "$as_me:$LINENO: checking for $ac_func" >&5
10164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10165 if eval "test \"\${$as_ac_var+set}\" = set"; then
10166   echo $ECHO_N "(cached) $ECHO_C" >&6
10167 else
10168   cat >conftest.$ac_ext <<_ACEOF
10169 #line $LINENO "configure"
10170 /* confdefs.h.  */
10171 _ACEOF
10172 cat confdefs.h >>conftest.$ac_ext
10173 cat >>conftest.$ac_ext <<_ACEOF
10174 /* end confdefs.h.  */
10175 /* System header to define __stub macros and hopefully few prototypes,
10176     which can conflict with char $ac_func (); below.
10177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10178     <limits.h> exists even on freestanding compilers.  */
10179 #ifdef __STDC__
10180 # include <limits.h>
10181 #else
10182 # include <assert.h>
10183 #endif
10184 /* Override any gcc2 internal prototype to avoid an error.  */
10185 #ifdef __cplusplus
10186 extern "C"
10187 {
10188 #endif
10189 /* We use char because int might match the return type of a gcc2
10190    builtin and then its argument prototype would still apply.  */
10191 char $ac_func ();
10192 /* The GNU C library defines this for functions which it implements
10193     to always fail with ENOSYS.  Some functions are actually named
10194     something starting with __ and the normal name is an alias.  */
10195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10196 choke me
10197 #else
10198 char (*f) () = $ac_func;
10199 #endif
10200 #ifdef __cplusplus
10201 }
10202 #endif
10203
10204 int
10205 main ()
10206 {
10207 return f != $ac_func;
10208   ;
10209   return 0;
10210 }
10211 _ACEOF
10212 rm -f conftest.$ac_objext conftest$ac_exeext
10213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10214   (eval $ac_link) 2>&5
10215   ac_status=$?
10216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217   (exit $ac_status); } &&
10218          { ac_try='test -s conftest$ac_exeext'
10219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220   (eval $ac_try) 2>&5
10221   ac_status=$?
10222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223   (exit $ac_status); }; }; then
10224   eval "$as_ac_var=yes"
10225 else
10226   echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.$ac_ext >&5
10228
10229 eval "$as_ac_var=no"
10230 fi
10231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10232 fi
10233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10235 if test `eval echo '${'$as_ac_var'}'` = yes; then
10236   cat >>confdefs.h <<_ACEOF
10237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10238 _ACEOF
10239
10240 fi
10241 done
10242
10243   else
10244
10245   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10246 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10247   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10248     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10249   echo $ECHO_N "(cached) $ECHO_C" >&6
10250 else
10251
10252
10253
10254       ac_ext=cc
10255 ac_cpp='$CXXCPP $CPPFLAGS'
10256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10259
10260       cat >conftest.$ac_ext <<_ACEOF
10261 #line $LINENO "configure"
10262 /* confdefs.h.  */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h.  */
10267 #include <math.h>
10268 int
10269 main ()
10270 {
10271  _hypot(0, 0);
10272   ;
10273   return 0;
10274 }
10275 _ACEOF
10276 rm -f conftest.$ac_objext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10278   (eval $ac_compile) 2>&5
10279   ac_status=$?
10280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281   (exit $ac_status); } &&
10282          { ac_try='test -s conftest.$ac_objext'
10283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284   (eval $ac_try) 2>&5
10285   ac_status=$?
10286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287   (exit $ac_status); }; }; then
10288   glibcxx_cv_func__hypot_use=yes
10289 else
10290   echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10292
10293 glibcxx_cv_func__hypot_use=no
10294 fi
10295 rm -f conftest.$ac_objext conftest.$ac_ext
10296       ac_ext=c
10297 ac_cpp='$CPP $CPPFLAGS'
10298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10301
10302
10303 fi
10304
10305   fi
10306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10307 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10308
10309     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10310
10311 for ac_func in _hypot
10312 do
10313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10314 echo "$as_me:$LINENO: checking for $ac_func" >&5
10315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10316 if eval "test \"\${$as_ac_var+set}\" = set"; then
10317   echo $ECHO_N "(cached) $ECHO_C" >&6
10318 else
10319   cat >conftest.$ac_ext <<_ACEOF
10320 #line $LINENO "configure"
10321 /* confdefs.h.  */
10322 _ACEOF
10323 cat confdefs.h >>conftest.$ac_ext
10324 cat >>conftest.$ac_ext <<_ACEOF
10325 /* end confdefs.h.  */
10326 /* System header to define __stub macros and hopefully few prototypes,
10327     which can conflict with char $ac_func (); below.
10328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10329     <limits.h> exists even on freestanding compilers.  */
10330 #ifdef __STDC__
10331 # include <limits.h>
10332 #else
10333 # include <assert.h>
10334 #endif
10335 /* Override any gcc2 internal prototype to avoid an error.  */
10336 #ifdef __cplusplus
10337 extern "C"
10338 {
10339 #endif
10340 /* We use char because int might match the return type of a gcc2
10341    builtin and then its argument prototype would still apply.  */
10342 char $ac_func ();
10343 /* The GNU C library defines this for functions which it implements
10344     to always fail with ENOSYS.  Some functions are actually named
10345     something starting with __ and the normal name is an alias.  */
10346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10347 choke me
10348 #else
10349 char (*f) () = $ac_func;
10350 #endif
10351 #ifdef __cplusplus
10352 }
10353 #endif
10354
10355 int
10356 main ()
10357 {
10358 return f != $ac_func;
10359   ;
10360   return 0;
10361 }
10362 _ACEOF
10363 rm -f conftest.$ac_objext conftest$ac_exeext
10364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10365   (eval $ac_link) 2>&5
10366   ac_status=$?
10367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368   (exit $ac_status); } &&
10369          { ac_try='test -s conftest$ac_exeext'
10370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371   (eval $ac_try) 2>&5
10372   ac_status=$?
10373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374   (exit $ac_status); }; }; then
10375   eval "$as_ac_var=yes"
10376 else
10377   echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.$ac_ext >&5
10379
10380 eval "$as_ac_var=no"
10381 fi
10382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10383 fi
10384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10386 if test `eval echo '${'$as_ac_var'}'` = yes; then
10387   cat >>confdefs.h <<_ACEOF
10388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10389 _ACEOF
10390
10391 fi
10392 done
10393
10394     fi
10395   fi
10396
10397
10398
10399   echo "$as_me:$LINENO: checking for float trig functions" >&5
10400 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10401   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10402   echo $ECHO_N "(cached) $ECHO_C" >&6
10403 else
10404
10405
10406
10407     ac_ext=cc
10408 ac_cpp='$CXXCPP $CPPFLAGS'
10409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10412
10413     cat >conftest.$ac_ext <<_ACEOF
10414 #line $LINENO "configure"
10415 /* confdefs.h.  */
10416 _ACEOF
10417 cat confdefs.h >>conftest.$ac_ext
10418 cat >>conftest.$ac_ext <<_ACEOF
10419 /* end confdefs.h.  */
10420 #include <math.h>
10421 int
10422 main ()
10423 {
10424  `for x in acosf asinf atanf \
10425                                           cosf sinf tanf \
10426                                           coshf sinhf tanhf; do echo "$x (0);"; done`
10427   ;
10428   return 0;
10429 }
10430 _ACEOF
10431 rm -f conftest.$ac_objext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433   (eval $ac_compile) 2>&5
10434   ac_status=$?
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); } &&
10437          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func_float_trig_use=yes
10444 else
10445   echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 glibcxx_cv_func_float_trig_use=no
10449 fi
10450 rm -f conftest.$ac_objext conftest.$ac_ext
10451     ac_ext=c
10452 ac_cpp='$CPP $CPPFLAGS'
10453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10456
10457 fi
10458
10459   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10460 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10461   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471 for ac_func in acosf asinf atanf \
10472                                           cosf sinf tanf \
10473                                           coshf sinhf tanhf
10474 do
10475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10476 echo "$as_me:$LINENO: checking for $ac_func" >&5
10477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10478 if eval "test \"\${$as_ac_var+set}\" = set"; then
10479   echo $ECHO_N "(cached) $ECHO_C" >&6
10480 else
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 /* System header to define __stub macros and hopefully few prototypes,
10489     which can conflict with char $ac_func (); below.
10490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10491     <limits.h> exists even on freestanding compilers.  */
10492 #ifdef __STDC__
10493 # include <limits.h>
10494 #else
10495 # include <assert.h>
10496 #endif
10497 /* Override any gcc2 internal prototype to avoid an error.  */
10498 #ifdef __cplusplus
10499 extern "C"
10500 {
10501 #endif
10502 /* We use char because int might match the return type of a gcc2
10503    builtin and then its argument prototype would still apply.  */
10504 char $ac_func ();
10505 /* The GNU C library defines this for functions which it implements
10506     to always fail with ENOSYS.  Some functions are actually named
10507     something starting with __ and the normal name is an alias.  */
10508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10509 choke me
10510 #else
10511 char (*f) () = $ac_func;
10512 #endif
10513 #ifdef __cplusplus
10514 }
10515 #endif
10516
10517 int
10518 main ()
10519 {
10520 return f != $ac_func;
10521   ;
10522   return 0;
10523 }
10524 _ACEOF
10525 rm -f conftest.$ac_objext conftest$ac_exeext
10526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10527   (eval $ac_link) 2>&5
10528   ac_status=$?
10529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530   (exit $ac_status); } &&
10531          { ac_try='test -s conftest$ac_exeext'
10532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533   (eval $ac_try) 2>&5
10534   ac_status=$?
10535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536   (exit $ac_status); }; }; then
10537   eval "$as_ac_var=yes"
10538 else
10539   echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.$ac_ext >&5
10541
10542 eval "$as_ac_var=no"
10543 fi
10544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10545 fi
10546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10548 if test `eval echo '${'$as_ac_var'}'` = yes; then
10549   cat >>confdefs.h <<_ACEOF
10550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10551 _ACEOF
10552
10553 fi
10554 done
10555
10556   fi
10557
10558
10559   echo "$as_me:$LINENO: checking for float round functions" >&5
10560 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10561   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10562   echo $ECHO_N "(cached) $ECHO_C" >&6
10563 else
10564
10565
10566
10567     ac_ext=cc
10568 ac_cpp='$CXXCPP $CPPFLAGS'
10569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10572
10573     cat >conftest.$ac_ext <<_ACEOF
10574 #line $LINENO "configure"
10575 /* confdefs.h.  */
10576 _ACEOF
10577 cat confdefs.h >>conftest.$ac_ext
10578 cat >>conftest.$ac_ext <<_ACEOF
10579 /* end confdefs.h.  */
10580 #include <math.h>
10581 int
10582 main ()
10583 {
10584  `for x in ceilf floorf; do echo "$x (0);"; done`
10585   ;
10586   return 0;
10587 }
10588 _ACEOF
10589 rm -f conftest.$ac_objext
10590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10591   (eval $ac_compile) 2>&5
10592   ac_status=$?
10593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594   (exit $ac_status); } &&
10595          { ac_try='test -s conftest.$ac_objext'
10596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597   (eval $ac_try) 2>&5
10598   ac_status=$?
10599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600   (exit $ac_status); }; }; then
10601   glibcxx_cv_func_float_round_use=yes
10602 else
10603   echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10605
10606 glibcxx_cv_func_float_round_use=no
10607 fi
10608 rm -f conftest.$ac_objext conftest.$ac_ext
10609     ac_ext=c
10610 ac_cpp='$CPP $CPPFLAGS'
10611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10614
10615 fi
10616
10617   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10618 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10619   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10620
10621
10622 for ac_func in ceilf floorf
10623 do
10624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10625 echo "$as_me:$LINENO: checking for $ac_func" >&5
10626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10627 if eval "test \"\${$as_ac_var+set}\" = set"; then
10628   echo $ECHO_N "(cached) $ECHO_C" >&6
10629 else
10630   cat >conftest.$ac_ext <<_ACEOF
10631 #line $LINENO "configure"
10632 /* confdefs.h.  */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h.  */
10637 /* System header to define __stub macros and hopefully few prototypes,
10638     which can conflict with char $ac_func (); below.
10639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10640     <limits.h> exists even on freestanding compilers.  */
10641 #ifdef __STDC__
10642 # include <limits.h>
10643 #else
10644 # include <assert.h>
10645 #endif
10646 /* Override any gcc2 internal prototype to avoid an error.  */
10647 #ifdef __cplusplus
10648 extern "C"
10649 {
10650 #endif
10651 /* We use char because int might match the return type of a gcc2
10652    builtin and then its argument prototype would still apply.  */
10653 char $ac_func ();
10654 /* The GNU C library defines this for functions which it implements
10655     to always fail with ENOSYS.  Some functions are actually named
10656     something starting with __ and the normal name is an alias.  */
10657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10658 choke me
10659 #else
10660 char (*f) () = $ac_func;
10661 #endif
10662 #ifdef __cplusplus
10663 }
10664 #endif
10665
10666 int
10667 main ()
10668 {
10669 return f != $ac_func;
10670   ;
10671   return 0;
10672 }
10673 _ACEOF
10674 rm -f conftest.$ac_objext conftest$ac_exeext
10675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10676   (eval $ac_link) 2>&5
10677   ac_status=$?
10678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679   (exit $ac_status); } &&
10680          { ac_try='test -s conftest$ac_exeext'
10681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10682   (eval $ac_try) 2>&5
10683   ac_status=$?
10684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685   (exit $ac_status); }; }; then
10686   eval "$as_ac_var=yes"
10687 else
10688   echo "$as_me: failed program was:" >&5
10689 sed 's/^/| /' conftest.$ac_ext >&5
10690
10691 eval "$as_ac_var=no"
10692 fi
10693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10694 fi
10695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10697 if test `eval echo '${'$as_ac_var'}'` = yes; then
10698   cat >>confdefs.h <<_ACEOF
10699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10700 _ACEOF
10701
10702 fi
10703 done
10704
10705   fi
10706
10707
10708
10709   echo "$as_me:$LINENO: checking for expf declaration" >&5
10710 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10711   if test x${glibcxx_cv_func_expf_use+set} != xset; then
10712     if test "${glibcxx_cv_func_expf_use+set}" = set; then
10713   echo $ECHO_N "(cached) $ECHO_C" >&6
10714 else
10715
10716
10717
10718       ac_ext=cc
10719 ac_cpp='$CXXCPP $CPPFLAGS'
10720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10723
10724       cat >conftest.$ac_ext <<_ACEOF
10725 #line $LINENO "configure"
10726 /* confdefs.h.  */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h.  */
10731 #include <math.h>
10732                       #ifdef HAVE_IEEEFP_H
10733                       #include <ieeefp.h>
10734                       #endif
10735
10736 int
10737 main ()
10738 {
10739  expf(0);
10740   ;
10741   return 0;
10742 }
10743 _ACEOF
10744 rm -f conftest.$ac_objext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10746   (eval $ac_compile) 2>&5
10747   ac_status=$?
10748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749   (exit $ac_status); } &&
10750          { ac_try='test -s conftest.$ac_objext'
10751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10752   (eval $ac_try) 2>&5
10753   ac_status=$?
10754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755   (exit $ac_status); }; }; then
10756   glibcxx_cv_func_expf_use=yes
10757 else
10758   echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.$ac_ext >&5
10760
10761 glibcxx_cv_func_expf_use=no
10762 fi
10763 rm -f conftest.$ac_objext conftest.$ac_ext
10764       ac_ext=c
10765 ac_cpp='$CPP $CPPFLAGS'
10766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10769
10770
10771 fi
10772
10773   fi
10774   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10775 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10776
10777   if test x$glibcxx_cv_func_expf_use = x"yes"; then
10778
10779 for ac_func in expf
10780 do
10781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10782 echo "$as_me:$LINENO: checking for $ac_func" >&5
10783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10784 if eval "test \"\${$as_ac_var+set}\" = set"; then
10785   echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787   cat >conftest.$ac_ext <<_ACEOF
10788 #line $LINENO "configure"
10789 /* confdefs.h.  */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h.  */
10794 /* System header to define __stub macros and hopefully few prototypes,
10795     which can conflict with char $ac_func (); below.
10796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10797     <limits.h> exists even on freestanding compilers.  */
10798 #ifdef __STDC__
10799 # include <limits.h>
10800 #else
10801 # include <assert.h>
10802 #endif
10803 /* Override any gcc2 internal prototype to avoid an error.  */
10804 #ifdef __cplusplus
10805 extern "C"
10806 {
10807 #endif
10808 /* We use char because int might match the return type of a gcc2
10809    builtin and then its argument prototype would still apply.  */
10810 char $ac_func ();
10811 /* The GNU C library defines this for functions which it implements
10812     to always fail with ENOSYS.  Some functions are actually named
10813     something starting with __ and the normal name is an alias.  */
10814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10815 choke me
10816 #else
10817 char (*f) () = $ac_func;
10818 #endif
10819 #ifdef __cplusplus
10820 }
10821 #endif
10822
10823 int
10824 main ()
10825 {
10826 return f != $ac_func;
10827   ;
10828   return 0;
10829 }
10830 _ACEOF
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10833   (eval $ac_link) 2>&5
10834   ac_status=$?
10835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836   (exit $ac_status); } &&
10837          { ac_try='test -s conftest$ac_exeext'
10838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839   (eval $ac_try) 2>&5
10840   ac_status=$?
10841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842   (exit $ac_status); }; }; then
10843   eval "$as_ac_var=yes"
10844 else
10845   echo "$as_me: failed program was:" >&5
10846 sed 's/^/| /' conftest.$ac_ext >&5
10847
10848 eval "$as_ac_var=no"
10849 fi
10850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10851 fi
10852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10854 if test `eval echo '${'$as_ac_var'}'` = yes; then
10855   cat >>confdefs.h <<_ACEOF
10856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10857 _ACEOF
10858
10859 fi
10860 done
10861
10862   else
10863
10864   echo "$as_me:$LINENO: checking for _expf declaration" >&5
10865 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10866   if test x${glibcxx_cv_func__expf_use+set} != xset; then
10867     if test "${glibcxx_cv_func__expf_use+set}" = set; then
10868   echo $ECHO_N "(cached) $ECHO_C" >&6
10869 else
10870
10871
10872
10873       ac_ext=cc
10874 ac_cpp='$CXXCPP $CPPFLAGS'
10875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10878
10879       cat >conftest.$ac_ext <<_ACEOF
10880 #line $LINENO "configure"
10881 /* confdefs.h.  */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h.  */
10886 #include <math.h>
10887                       #ifdef HAVE_IEEEFP_H
10888                       #include <ieeefp.h>
10889                       #endif
10890
10891 int
10892 main ()
10893 {
10894  _expf(0);
10895   ;
10896   return 0;
10897 }
10898 _ACEOF
10899 rm -f conftest.$ac_objext
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901   (eval $ac_compile) 2>&5
10902   ac_status=$?
10903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904   (exit $ac_status); } &&
10905          { ac_try='test -s conftest.$ac_objext'
10906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907   (eval $ac_try) 2>&5
10908   ac_status=$?
10909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910   (exit $ac_status); }; }; then
10911   glibcxx_cv_func__expf_use=yes
10912 else
10913   echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10915
10916 glibcxx_cv_func__expf_use=no
10917 fi
10918 rm -f conftest.$ac_objext conftest.$ac_ext
10919       ac_ext=c
10920 ac_cpp='$CPP $CPPFLAGS'
10921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10924
10925
10926 fi
10927
10928   fi
10929   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10930 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
10931
10932     if test x$glibcxx_cv_func__expf_use = x"yes"; then
10933
10934 for ac_func in _expf
10935 do
10936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10937 echo "$as_me:$LINENO: checking for $ac_func" >&5
10938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10939 if eval "test \"\${$as_ac_var+set}\" = set"; then
10940   echo $ECHO_N "(cached) $ECHO_C" >&6
10941 else
10942   cat >conftest.$ac_ext <<_ACEOF
10943 #line $LINENO "configure"
10944 /* confdefs.h.  */
10945 _ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h.  */
10949 /* System header to define __stub macros and hopefully few prototypes,
10950     which can conflict with char $ac_func (); below.
10951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10952     <limits.h> exists even on freestanding compilers.  */
10953 #ifdef __STDC__
10954 # include <limits.h>
10955 #else
10956 # include <assert.h>
10957 #endif
10958 /* Override any gcc2 internal prototype to avoid an error.  */
10959 #ifdef __cplusplus
10960 extern "C"
10961 {
10962 #endif
10963 /* We use char because int might match the return type of a gcc2
10964    builtin and then its argument prototype would still apply.  */
10965 char $ac_func ();
10966 /* The GNU C library defines this for functions which it implements
10967     to always fail with ENOSYS.  Some functions are actually named
10968     something starting with __ and the normal name is an alias.  */
10969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10970 choke me
10971 #else
10972 char (*f) () = $ac_func;
10973 #endif
10974 #ifdef __cplusplus
10975 }
10976 #endif
10977
10978 int
10979 main ()
10980 {
10981 return f != $ac_func;
10982   ;
10983   return 0;
10984 }
10985 _ACEOF
10986 rm -f conftest.$ac_objext conftest$ac_exeext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10988   (eval $ac_link) 2>&5
10989   ac_status=$?
10990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991   (exit $ac_status); } &&
10992          { ac_try='test -s conftest$ac_exeext'
10993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10994   (eval $ac_try) 2>&5
10995   ac_status=$?
10996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997   (exit $ac_status); }; }; then
10998   eval "$as_ac_var=yes"
10999 else
11000   echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11002
11003 eval "$as_ac_var=no"
11004 fi
11005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11006 fi
11007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11009 if test `eval echo '${'$as_ac_var'}'` = yes; then
11010   cat >>confdefs.h <<_ACEOF
11011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11012 _ACEOF
11013
11014 fi
11015 done
11016
11017     fi
11018   fi
11019
11020
11021
11022   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11023 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11024   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11025     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11026   echo $ECHO_N "(cached) $ECHO_C" >&6
11027 else
11028
11029
11030
11031       ac_ext=cc
11032 ac_cpp='$CXXCPP $CPPFLAGS'
11033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11036
11037       cat >conftest.$ac_ext <<_ACEOF
11038 #line $LINENO "configure"
11039 /* confdefs.h.  */
11040 _ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h.  */
11044 #include <math.h>
11045                       #ifdef HAVE_IEEEFP_H
11046                       #include <ieeefp.h>
11047                       #endif
11048
11049 int
11050 main ()
11051 {
11052  isnanf(0);
11053   ;
11054   return 0;
11055 }
11056 _ACEOF
11057 rm -f conftest.$ac_objext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11059   (eval $ac_compile) 2>&5
11060   ac_status=$?
11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062   (exit $ac_status); } &&
11063          { ac_try='test -s conftest.$ac_objext'
11064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065   (eval $ac_try) 2>&5
11066   ac_status=$?
11067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068   (exit $ac_status); }; }; then
11069   glibcxx_cv_func_isnanf_use=yes
11070 else
11071   echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11073
11074 glibcxx_cv_func_isnanf_use=no
11075 fi
11076 rm -f conftest.$ac_objext conftest.$ac_ext
11077       ac_ext=c
11078 ac_cpp='$CPP $CPPFLAGS'
11079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11082
11083
11084 fi
11085
11086   fi
11087   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11088 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11089
11090   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11091
11092 for ac_func in isnanf
11093 do
11094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11095 echo "$as_me:$LINENO: checking for $ac_func" >&5
11096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11097 if eval "test \"\${$as_ac_var+set}\" = set"; then
11098   echo $ECHO_N "(cached) $ECHO_C" >&6
11099 else
11100   cat >conftest.$ac_ext <<_ACEOF
11101 #line $LINENO "configure"
11102 /* confdefs.h.  */
11103 _ACEOF
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h.  */
11107 /* System header to define __stub macros and hopefully few prototypes,
11108     which can conflict with char $ac_func (); below.
11109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11110     <limits.h> exists even on freestanding compilers.  */
11111 #ifdef __STDC__
11112 # include <limits.h>
11113 #else
11114 # include <assert.h>
11115 #endif
11116 /* Override any gcc2 internal prototype to avoid an error.  */
11117 #ifdef __cplusplus
11118 extern "C"
11119 {
11120 #endif
11121 /* We use char because int might match the return type of a gcc2
11122    builtin and then its argument prototype would still apply.  */
11123 char $ac_func ();
11124 /* The GNU C library defines this for functions which it implements
11125     to always fail with ENOSYS.  Some functions are actually named
11126     something starting with __ and the normal name is an alias.  */
11127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11128 choke me
11129 #else
11130 char (*f) () = $ac_func;
11131 #endif
11132 #ifdef __cplusplus
11133 }
11134 #endif
11135
11136 int
11137 main ()
11138 {
11139 return f != $ac_func;
11140   ;
11141   return 0;
11142 }
11143 _ACEOF
11144 rm -f conftest.$ac_objext conftest$ac_exeext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11146   (eval $ac_link) 2>&5
11147   ac_status=$?
11148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149   (exit $ac_status); } &&
11150          { ac_try='test -s conftest$ac_exeext'
11151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152   (eval $ac_try) 2>&5
11153   ac_status=$?
11154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155   (exit $ac_status); }; }; then
11156   eval "$as_ac_var=yes"
11157 else
11158   echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11160
11161 eval "$as_ac_var=no"
11162 fi
11163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11164 fi
11165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11167 if test `eval echo '${'$as_ac_var'}'` = yes; then
11168   cat >>confdefs.h <<_ACEOF
11169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11170 _ACEOF
11171
11172 fi
11173 done
11174
11175   else
11176
11177   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11178 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11179   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11180     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11181   echo $ECHO_N "(cached) $ECHO_C" >&6
11182 else
11183
11184
11185
11186       ac_ext=cc
11187 ac_cpp='$CXXCPP $CPPFLAGS'
11188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11191
11192       cat >conftest.$ac_ext <<_ACEOF
11193 #line $LINENO "configure"
11194 /* confdefs.h.  */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h.  */
11199 #include <math.h>
11200                       #ifdef HAVE_IEEEFP_H
11201                       #include <ieeefp.h>
11202                       #endif
11203
11204 int
11205 main ()
11206 {
11207  _isnanf(0);
11208   ;
11209   return 0;
11210 }
11211 _ACEOF
11212 rm -f conftest.$ac_objext
11213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11214   (eval $ac_compile) 2>&5
11215   ac_status=$?
11216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217   (exit $ac_status); } &&
11218          { ac_try='test -s conftest.$ac_objext'
11219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220   (eval $ac_try) 2>&5
11221   ac_status=$?
11222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223   (exit $ac_status); }; }; then
11224   glibcxx_cv_func__isnanf_use=yes
11225 else
11226   echo "$as_me: failed program was:" >&5
11227 sed 's/^/| /' conftest.$ac_ext >&5
11228
11229 glibcxx_cv_func__isnanf_use=no
11230 fi
11231 rm -f conftest.$ac_objext conftest.$ac_ext
11232       ac_ext=c
11233 ac_cpp='$CPP $CPPFLAGS'
11234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11237
11238
11239 fi
11240
11241   fi
11242   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11243 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11244
11245     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11246
11247 for ac_func in _isnanf
11248 do
11249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11250 echo "$as_me:$LINENO: checking for $ac_func" >&5
11251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11252 if eval "test \"\${$as_ac_var+set}\" = set"; then
11253   echo $ECHO_N "(cached) $ECHO_C" >&6
11254 else
11255   cat >conftest.$ac_ext <<_ACEOF
11256 #line $LINENO "configure"
11257 /* confdefs.h.  */
11258 _ACEOF
11259 cat confdefs.h >>conftest.$ac_ext
11260 cat >>conftest.$ac_ext <<_ACEOF
11261 /* end confdefs.h.  */
11262 /* System header to define __stub macros and hopefully few prototypes,
11263     which can conflict with char $ac_func (); below.
11264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11265     <limits.h> exists even on freestanding compilers.  */
11266 #ifdef __STDC__
11267 # include <limits.h>
11268 #else
11269 # include <assert.h>
11270 #endif
11271 /* Override any gcc2 internal prototype to avoid an error.  */
11272 #ifdef __cplusplus
11273 extern "C"
11274 {
11275 #endif
11276 /* We use char because int might match the return type of a gcc2
11277    builtin and then its argument prototype would still apply.  */
11278 char $ac_func ();
11279 /* The GNU C library defines this for functions which it implements
11280     to always fail with ENOSYS.  Some functions are actually named
11281     something starting with __ and the normal name is an alias.  */
11282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11283 choke me
11284 #else
11285 char (*f) () = $ac_func;
11286 #endif
11287 #ifdef __cplusplus
11288 }
11289 #endif
11290
11291 int
11292 main ()
11293 {
11294 return f != $ac_func;
11295   ;
11296   return 0;
11297 }
11298 _ACEOF
11299 rm -f conftest.$ac_objext conftest$ac_exeext
11300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11301   (eval $ac_link) 2>&5
11302   ac_status=$?
11303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304   (exit $ac_status); } &&
11305          { ac_try='test -s conftest$ac_exeext'
11306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11307   (eval $ac_try) 2>&5
11308   ac_status=$?
11309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310   (exit $ac_status); }; }; then
11311   eval "$as_ac_var=yes"
11312 else
11313   echo "$as_me: failed program was:" >&5
11314 sed 's/^/| /' conftest.$ac_ext >&5
11315
11316 eval "$as_ac_var=no"
11317 fi
11318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11319 fi
11320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11322 if test `eval echo '${'$as_ac_var'}'` = yes; then
11323   cat >>confdefs.h <<_ACEOF
11324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11325 _ACEOF
11326
11327 fi
11328 done
11329
11330     fi
11331   fi
11332
11333
11334
11335   echo "$as_me:$LINENO: checking for isinff declaration" >&5
11336 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11337   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11338     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11339   echo $ECHO_N "(cached) $ECHO_C" >&6
11340 else
11341
11342
11343
11344       ac_ext=cc
11345 ac_cpp='$CXXCPP $CPPFLAGS'
11346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11349
11350       cat >conftest.$ac_ext <<_ACEOF
11351 #line $LINENO "configure"
11352 /* confdefs.h.  */
11353 _ACEOF
11354 cat confdefs.h >>conftest.$ac_ext
11355 cat >>conftest.$ac_ext <<_ACEOF
11356 /* end confdefs.h.  */
11357 #include <math.h>
11358                       #ifdef HAVE_IEEEFP_H
11359                       #include <ieeefp.h>
11360                       #endif
11361
11362 int
11363 main ()
11364 {
11365  isinff(0);
11366   ;
11367   return 0;
11368 }
11369 _ACEOF
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372   (eval $ac_compile) 2>&5
11373   ac_status=$?
11374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375   (exit $ac_status); } &&
11376          { ac_try='test -s conftest.$ac_objext'
11377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378   (eval $ac_try) 2>&5
11379   ac_status=$?
11380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381   (exit $ac_status); }; }; then
11382   glibcxx_cv_func_isinff_use=yes
11383 else
11384   echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.$ac_ext >&5
11386
11387 glibcxx_cv_func_isinff_use=no
11388 fi
11389 rm -f conftest.$ac_objext conftest.$ac_ext
11390       ac_ext=c
11391 ac_cpp='$CPP $CPPFLAGS'
11392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11395
11396
11397 fi
11398
11399   fi
11400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11401 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11402
11403   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11404
11405 for ac_func in isinff
11406 do
11407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11408 echo "$as_me:$LINENO: checking for $ac_func" >&5
11409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11410 if eval "test \"\${$as_ac_var+set}\" = set"; then
11411   echo $ECHO_N "(cached) $ECHO_C" >&6
11412 else
11413   cat >conftest.$ac_ext <<_ACEOF
11414 #line $LINENO "configure"
11415 /* confdefs.h.  */
11416 _ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h.  */
11420 /* System header to define __stub macros and hopefully few prototypes,
11421     which can conflict with char $ac_func (); below.
11422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11423     <limits.h> exists even on freestanding compilers.  */
11424 #ifdef __STDC__
11425 # include <limits.h>
11426 #else
11427 # include <assert.h>
11428 #endif
11429 /* Override any gcc2 internal prototype to avoid an error.  */
11430 #ifdef __cplusplus
11431 extern "C"
11432 {
11433 #endif
11434 /* We use char because int might match the return type of a gcc2
11435    builtin and then its argument prototype would still apply.  */
11436 char $ac_func ();
11437 /* The GNU C library defines this for functions which it implements
11438     to always fail with ENOSYS.  Some functions are actually named
11439     something starting with __ and the normal name is an alias.  */
11440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11441 choke me
11442 #else
11443 char (*f) () = $ac_func;
11444 #endif
11445 #ifdef __cplusplus
11446 }
11447 #endif
11448
11449 int
11450 main ()
11451 {
11452 return f != $ac_func;
11453   ;
11454   return 0;
11455 }
11456 _ACEOF
11457 rm -f conftest.$ac_objext conftest$ac_exeext
11458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11459   (eval $ac_link) 2>&5
11460   ac_status=$?
11461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462   (exit $ac_status); } &&
11463          { ac_try='test -s conftest$ac_exeext'
11464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11465   (eval $ac_try) 2>&5
11466   ac_status=$?
11467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468   (exit $ac_status); }; }; then
11469   eval "$as_ac_var=yes"
11470 else
11471   echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11473
11474 eval "$as_ac_var=no"
11475 fi
11476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11477 fi
11478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11480 if test `eval echo '${'$as_ac_var'}'` = yes; then
11481   cat >>confdefs.h <<_ACEOF
11482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11483 _ACEOF
11484
11485 fi
11486 done
11487
11488   else
11489
11490   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11491 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11492   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11493     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11494   echo $ECHO_N "(cached) $ECHO_C" >&6
11495 else
11496
11497
11498
11499       ac_ext=cc
11500 ac_cpp='$CXXCPP $CPPFLAGS'
11501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11504
11505       cat >conftest.$ac_ext <<_ACEOF
11506 #line $LINENO "configure"
11507 /* confdefs.h.  */
11508 _ACEOF
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h.  */
11512 #include <math.h>
11513                       #ifdef HAVE_IEEEFP_H
11514                       #include <ieeefp.h>
11515                       #endif
11516
11517 int
11518 main ()
11519 {
11520  _isinff(0);
11521   ;
11522   return 0;
11523 }
11524 _ACEOF
11525 rm -f conftest.$ac_objext
11526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11527   (eval $ac_compile) 2>&5
11528   ac_status=$?
11529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530   (exit $ac_status); } &&
11531          { ac_try='test -s conftest.$ac_objext'
11532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11533   (eval $ac_try) 2>&5
11534   ac_status=$?
11535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536   (exit $ac_status); }; }; then
11537   glibcxx_cv_func__isinff_use=yes
11538 else
11539   echo "$as_me: failed program was:" >&5
11540 sed 's/^/| /' conftest.$ac_ext >&5
11541
11542 glibcxx_cv_func__isinff_use=no
11543 fi
11544 rm -f conftest.$ac_objext conftest.$ac_ext
11545       ac_ext=c
11546 ac_cpp='$CPP $CPPFLAGS'
11547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11550
11551
11552 fi
11553
11554   fi
11555   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11556 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11557
11558     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11559
11560 for ac_func in _isinff
11561 do
11562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11563 echo "$as_me:$LINENO: checking for $ac_func" >&5
11564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11565 if eval "test \"\${$as_ac_var+set}\" = set"; then
11566   echo $ECHO_N "(cached) $ECHO_C" >&6
11567 else
11568   cat >conftest.$ac_ext <<_ACEOF
11569 #line $LINENO "configure"
11570 /* confdefs.h.  */
11571 _ACEOF
11572 cat confdefs.h >>conftest.$ac_ext
11573 cat >>conftest.$ac_ext <<_ACEOF
11574 /* end confdefs.h.  */
11575 /* System header to define __stub macros and hopefully few prototypes,
11576     which can conflict with char $ac_func (); below.
11577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11578     <limits.h> exists even on freestanding compilers.  */
11579 #ifdef __STDC__
11580 # include <limits.h>
11581 #else
11582 # include <assert.h>
11583 #endif
11584 /* Override any gcc2 internal prototype to avoid an error.  */
11585 #ifdef __cplusplus
11586 extern "C"
11587 {
11588 #endif
11589 /* We use char because int might match the return type of a gcc2
11590    builtin and then its argument prototype would still apply.  */
11591 char $ac_func ();
11592 /* The GNU C library defines this for functions which it implements
11593     to always fail with ENOSYS.  Some functions are actually named
11594     something starting with __ and the normal name is an alias.  */
11595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11596 choke me
11597 #else
11598 char (*f) () = $ac_func;
11599 #endif
11600 #ifdef __cplusplus
11601 }
11602 #endif
11603
11604 int
11605 main ()
11606 {
11607 return f != $ac_func;
11608   ;
11609   return 0;
11610 }
11611 _ACEOF
11612 rm -f conftest.$ac_objext conftest$ac_exeext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614   (eval $ac_link) 2>&5
11615   ac_status=$?
11616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617   (exit $ac_status); } &&
11618          { ac_try='test -s conftest$ac_exeext'
11619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620   (eval $ac_try) 2>&5
11621   ac_status=$?
11622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623   (exit $ac_status); }; }; then
11624   eval "$as_ac_var=yes"
11625 else
11626   echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.$ac_ext >&5
11628
11629 eval "$as_ac_var=no"
11630 fi
11631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11632 fi
11633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11635 if test `eval echo '${'$as_ac_var'}'` = yes; then
11636   cat >>confdefs.h <<_ACEOF
11637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11638 _ACEOF
11639
11640 fi
11641 done
11642
11643     fi
11644   fi
11645
11646
11647
11648   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11649 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11650   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11651     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11652   echo $ECHO_N "(cached) $ECHO_C" >&6
11653 else
11654
11655
11656
11657       ac_ext=cc
11658 ac_cpp='$CXXCPP $CPPFLAGS'
11659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11662
11663       cat >conftest.$ac_ext <<_ACEOF
11664 #line $LINENO "configure"
11665 /* confdefs.h.  */
11666 _ACEOF
11667 cat confdefs.h >>conftest.$ac_ext
11668 cat >>conftest.$ac_ext <<_ACEOF
11669 /* end confdefs.h.  */
11670 #include <math.h>
11671 int
11672 main ()
11673 {
11674  atan2f(0, 0);
11675   ;
11676   return 0;
11677 }
11678 _ACEOF
11679 rm -f conftest.$ac_objext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11681   (eval $ac_compile) 2>&5
11682   ac_status=$?
11683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684   (exit $ac_status); } &&
11685          { ac_try='test -s conftest.$ac_objext'
11686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687   (eval $ac_try) 2>&5
11688   ac_status=$?
11689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690   (exit $ac_status); }; }; then
11691   glibcxx_cv_func_atan2f_use=yes
11692 else
11693   echo "$as_me: failed program was:" >&5
11694 sed 's/^/| /' conftest.$ac_ext >&5
11695
11696 glibcxx_cv_func_atan2f_use=no
11697 fi
11698 rm -f conftest.$ac_objext conftest.$ac_ext
11699       ac_ext=c
11700 ac_cpp='$CPP $CPPFLAGS'
11701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11704
11705
11706 fi
11707
11708   fi
11709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11710 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11711
11712   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11713
11714 for ac_func in atan2f
11715 do
11716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11717 echo "$as_me:$LINENO: checking for $ac_func" >&5
11718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11719 if eval "test \"\${$as_ac_var+set}\" = set"; then
11720   echo $ECHO_N "(cached) $ECHO_C" >&6
11721 else
11722   cat >conftest.$ac_ext <<_ACEOF
11723 #line $LINENO "configure"
11724 /* confdefs.h.  */
11725 _ACEOF
11726 cat confdefs.h >>conftest.$ac_ext
11727 cat >>conftest.$ac_ext <<_ACEOF
11728 /* end confdefs.h.  */
11729 /* System header to define __stub macros and hopefully few prototypes,
11730     which can conflict with char $ac_func (); below.
11731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11732     <limits.h> exists even on freestanding compilers.  */
11733 #ifdef __STDC__
11734 # include <limits.h>
11735 #else
11736 # include <assert.h>
11737 #endif
11738 /* Override any gcc2 internal prototype to avoid an error.  */
11739 #ifdef __cplusplus
11740 extern "C"
11741 {
11742 #endif
11743 /* We use char because int might match the return type of a gcc2
11744    builtin and then its argument prototype would still apply.  */
11745 char $ac_func ();
11746 /* The GNU C library defines this for functions which it implements
11747     to always fail with ENOSYS.  Some functions are actually named
11748     something starting with __ and the normal name is an alias.  */
11749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11750 choke me
11751 #else
11752 char (*f) () = $ac_func;
11753 #endif
11754 #ifdef __cplusplus
11755 }
11756 #endif
11757
11758 int
11759 main ()
11760 {
11761 return f != $ac_func;
11762   ;
11763   return 0;
11764 }
11765 _ACEOF
11766 rm -f conftest.$ac_objext conftest$ac_exeext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11768   (eval $ac_link) 2>&5
11769   ac_status=$?
11770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771   (exit $ac_status); } &&
11772          { ac_try='test -s conftest$ac_exeext'
11773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774   (eval $ac_try) 2>&5
11775   ac_status=$?
11776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777   (exit $ac_status); }; }; then
11778   eval "$as_ac_var=yes"
11779 else
11780   echo "$as_me: failed program was:" >&5
11781 sed 's/^/| /' conftest.$ac_ext >&5
11782
11783 eval "$as_ac_var=no"
11784 fi
11785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11786 fi
11787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11789 if test `eval echo '${'$as_ac_var'}'` = yes; then
11790   cat >>confdefs.h <<_ACEOF
11791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11792 _ACEOF
11793
11794 fi
11795 done
11796
11797   else
11798
11799   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11800 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11801   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11802     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11803   echo $ECHO_N "(cached) $ECHO_C" >&6
11804 else
11805
11806
11807
11808       ac_ext=cc
11809 ac_cpp='$CXXCPP $CPPFLAGS'
11810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11813
11814       cat >conftest.$ac_ext <<_ACEOF
11815 #line $LINENO "configure"
11816 /* confdefs.h.  */
11817 _ACEOF
11818 cat confdefs.h >>conftest.$ac_ext
11819 cat >>conftest.$ac_ext <<_ACEOF
11820 /* end confdefs.h.  */
11821 #include <math.h>
11822 int
11823 main ()
11824 {
11825  _atan2f(0, 0);
11826   ;
11827   return 0;
11828 }
11829 _ACEOF
11830 rm -f conftest.$ac_objext
11831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11832   (eval $ac_compile) 2>&5
11833   ac_status=$?
11834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835   (exit $ac_status); } &&
11836          { ac_try='test -s conftest.$ac_objext'
11837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838   (eval $ac_try) 2>&5
11839   ac_status=$?
11840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841   (exit $ac_status); }; }; then
11842   glibcxx_cv_func__atan2f_use=yes
11843 else
11844   echo "$as_me: failed program was:" >&5
11845 sed 's/^/| /' conftest.$ac_ext >&5
11846
11847 glibcxx_cv_func__atan2f_use=no
11848 fi
11849 rm -f conftest.$ac_objext conftest.$ac_ext
11850       ac_ext=c
11851 ac_cpp='$CPP $CPPFLAGS'
11852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855
11856
11857 fi
11858
11859   fi
11860   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11861 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11862
11863     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11864
11865 for ac_func in _atan2f
11866 do
11867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11868 echo "$as_me:$LINENO: checking for $ac_func" >&5
11869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11870 if eval "test \"\${$as_ac_var+set}\" = set"; then
11871   echo $ECHO_N "(cached) $ECHO_C" >&6
11872 else
11873   cat >conftest.$ac_ext <<_ACEOF
11874 #line $LINENO "configure"
11875 /* confdefs.h.  */
11876 _ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h.  */
11880 /* System header to define __stub macros and hopefully few prototypes,
11881     which can conflict with char $ac_func (); below.
11882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11883     <limits.h> exists even on freestanding compilers.  */
11884 #ifdef __STDC__
11885 # include <limits.h>
11886 #else
11887 # include <assert.h>
11888 #endif
11889 /* Override any gcc2 internal prototype to avoid an error.  */
11890 #ifdef __cplusplus
11891 extern "C"
11892 {
11893 #endif
11894 /* We use char because int might match the return type of a gcc2
11895    builtin and then its argument prototype would still apply.  */
11896 char $ac_func ();
11897 /* The GNU C library defines this for functions which it implements
11898     to always fail with ENOSYS.  Some functions are actually named
11899     something starting with __ and the normal name is an alias.  */
11900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11901 choke me
11902 #else
11903 char (*f) () = $ac_func;
11904 #endif
11905 #ifdef __cplusplus
11906 }
11907 #endif
11908
11909 int
11910 main ()
11911 {
11912 return f != $ac_func;
11913   ;
11914   return 0;
11915 }
11916 _ACEOF
11917 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11919   (eval $ac_link) 2>&5
11920   ac_status=$?
11921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922   (exit $ac_status); } &&
11923          { ac_try='test -s conftest$ac_exeext'
11924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925   (eval $ac_try) 2>&5
11926   ac_status=$?
11927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928   (exit $ac_status); }; }; then
11929   eval "$as_ac_var=yes"
11930 else
11931   echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.$ac_ext >&5
11933
11934 eval "$as_ac_var=no"
11935 fi
11936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11937 fi
11938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11940 if test `eval echo '${'$as_ac_var'}'` = yes; then
11941   cat >>confdefs.h <<_ACEOF
11942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11943 _ACEOF
11944
11945 fi
11946 done
11947
11948     fi
11949   fi
11950
11951
11952
11953   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
11954 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
11955   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
11956     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
11957   echo $ECHO_N "(cached) $ECHO_C" >&6
11958 else
11959
11960
11961
11962       ac_ext=cc
11963 ac_cpp='$CXXCPP $CPPFLAGS'
11964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11967
11968       cat >conftest.$ac_ext <<_ACEOF
11969 #line $LINENO "configure"
11970 /* confdefs.h.  */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h.  */
11975 #include <math.h>
11976                       #ifdef HAVE_IEEEFP_H
11977                       #include <ieeefp.h>
11978                       #endif
11979
11980 int
11981 main ()
11982 {
11983  fabsf(0);
11984   ;
11985   return 0;
11986 }
11987 _ACEOF
11988 rm -f conftest.$ac_objext
11989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11990   (eval $ac_compile) 2>&5
11991   ac_status=$?
11992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993   (exit $ac_status); } &&
11994          { ac_try='test -s conftest.$ac_objext'
11995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996   (eval $ac_try) 2>&5
11997   ac_status=$?
11998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999   (exit $ac_status); }; }; then
12000   glibcxx_cv_func_fabsf_use=yes
12001 else
12002   echo "$as_me: failed program was:" >&5
12003 sed 's/^/| /' conftest.$ac_ext >&5
12004
12005 glibcxx_cv_func_fabsf_use=no
12006 fi
12007 rm -f conftest.$ac_objext conftest.$ac_ext
12008       ac_ext=c
12009 ac_cpp='$CPP $CPPFLAGS'
12010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12013
12014
12015 fi
12016
12017   fi
12018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12019 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12020
12021   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12022
12023 for ac_func in fabsf
12024 do
12025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12026 echo "$as_me:$LINENO: checking for $ac_func" >&5
12027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12028 if eval "test \"\${$as_ac_var+set}\" = set"; then
12029   echo $ECHO_N "(cached) $ECHO_C" >&6
12030 else
12031   cat >conftest.$ac_ext <<_ACEOF
12032 #line $LINENO "configure"
12033 /* confdefs.h.  */
12034 _ACEOF
12035 cat confdefs.h >>conftest.$ac_ext
12036 cat >>conftest.$ac_ext <<_ACEOF
12037 /* end confdefs.h.  */
12038 /* System header to define __stub macros and hopefully few prototypes,
12039     which can conflict with char $ac_func (); below.
12040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12041     <limits.h> exists even on freestanding compilers.  */
12042 #ifdef __STDC__
12043 # include <limits.h>
12044 #else
12045 # include <assert.h>
12046 #endif
12047 /* Override any gcc2 internal prototype to avoid an error.  */
12048 #ifdef __cplusplus
12049 extern "C"
12050 {
12051 #endif
12052 /* We use char because int might match the return type of a gcc2
12053    builtin and then its argument prototype would still apply.  */
12054 char $ac_func ();
12055 /* The GNU C library defines this for functions which it implements
12056     to always fail with ENOSYS.  Some functions are actually named
12057     something starting with __ and the normal name is an alias.  */
12058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12059 choke me
12060 #else
12061 char (*f) () = $ac_func;
12062 #endif
12063 #ifdef __cplusplus
12064 }
12065 #endif
12066
12067 int
12068 main ()
12069 {
12070 return f != $ac_func;
12071   ;
12072   return 0;
12073 }
12074 _ACEOF
12075 rm -f conftest.$ac_objext conftest$ac_exeext
12076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12077   (eval $ac_link) 2>&5
12078   ac_status=$?
12079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080   (exit $ac_status); } &&
12081          { ac_try='test -s conftest$ac_exeext'
12082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083   (eval $ac_try) 2>&5
12084   ac_status=$?
12085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086   (exit $ac_status); }; }; then
12087   eval "$as_ac_var=yes"
12088 else
12089   echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.$ac_ext >&5
12091
12092 eval "$as_ac_var=no"
12093 fi
12094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12095 fi
12096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12098 if test `eval echo '${'$as_ac_var'}'` = yes; then
12099   cat >>confdefs.h <<_ACEOF
12100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12101 _ACEOF
12102
12103 fi
12104 done
12105
12106   else
12107
12108   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12109 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12110   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12111     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12112   echo $ECHO_N "(cached) $ECHO_C" >&6
12113 else
12114
12115
12116
12117       ac_ext=cc
12118 ac_cpp='$CXXCPP $CPPFLAGS'
12119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12122
12123       cat >conftest.$ac_ext <<_ACEOF
12124 #line $LINENO "configure"
12125 /* confdefs.h.  */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h.  */
12130 #include <math.h>
12131                       #ifdef HAVE_IEEEFP_H
12132                       #include <ieeefp.h>
12133                       #endif
12134
12135 int
12136 main ()
12137 {
12138  _fabsf(0);
12139   ;
12140   return 0;
12141 }
12142 _ACEOF
12143 rm -f conftest.$ac_objext
12144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12145   (eval $ac_compile) 2>&5
12146   ac_status=$?
12147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148   (exit $ac_status); } &&
12149          { ac_try='test -s conftest.$ac_objext'
12150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151   (eval $ac_try) 2>&5
12152   ac_status=$?
12153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154   (exit $ac_status); }; }; then
12155   glibcxx_cv_func__fabsf_use=yes
12156 else
12157   echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12159
12160 glibcxx_cv_func__fabsf_use=no
12161 fi
12162 rm -f conftest.$ac_objext conftest.$ac_ext
12163       ac_ext=c
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12168
12169
12170 fi
12171
12172   fi
12173   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12174 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12175
12176     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12177
12178 for ac_func in _fabsf
12179 do
12180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12181 echo "$as_me:$LINENO: checking for $ac_func" >&5
12182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12183 if eval "test \"\${$as_ac_var+set}\" = set"; then
12184   echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186   cat >conftest.$ac_ext <<_ACEOF
12187 #line $LINENO "configure"
12188 /* confdefs.h.  */
12189 _ACEOF
12190 cat confdefs.h >>conftest.$ac_ext
12191 cat >>conftest.$ac_ext <<_ACEOF
12192 /* end confdefs.h.  */
12193 /* System header to define __stub macros and hopefully few prototypes,
12194     which can conflict with char $ac_func (); below.
12195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12196     <limits.h> exists even on freestanding compilers.  */
12197 #ifdef __STDC__
12198 # include <limits.h>
12199 #else
12200 # include <assert.h>
12201 #endif
12202 /* Override any gcc2 internal prototype to avoid an error.  */
12203 #ifdef __cplusplus
12204 extern "C"
12205 {
12206 #endif
12207 /* We use char because int might match the return type of a gcc2
12208    builtin and then its argument prototype would still apply.  */
12209 char $ac_func ();
12210 /* The GNU C library defines this for functions which it implements
12211     to always fail with ENOSYS.  Some functions are actually named
12212     something starting with __ and the normal name is an alias.  */
12213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12214 choke me
12215 #else
12216 char (*f) () = $ac_func;
12217 #endif
12218 #ifdef __cplusplus
12219 }
12220 #endif
12221
12222 int
12223 main ()
12224 {
12225 return f != $ac_func;
12226   ;
12227   return 0;
12228 }
12229 _ACEOF
12230 rm -f conftest.$ac_objext conftest$ac_exeext
12231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12232   (eval $ac_link) 2>&5
12233   ac_status=$?
12234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235   (exit $ac_status); } &&
12236          { ac_try='test -s conftest$ac_exeext'
12237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238   (eval $ac_try) 2>&5
12239   ac_status=$?
12240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241   (exit $ac_status); }; }; then
12242   eval "$as_ac_var=yes"
12243 else
12244   echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.$ac_ext >&5
12246
12247 eval "$as_ac_var=no"
12248 fi
12249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12250 fi
12251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12253 if test `eval echo '${'$as_ac_var'}'` = yes; then
12254   cat >>confdefs.h <<_ACEOF
12255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12256 _ACEOF
12257
12258 fi
12259 done
12260
12261     fi
12262   fi
12263
12264
12265
12266   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12267 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12268   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12269     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12270   echo $ECHO_N "(cached) $ECHO_C" >&6
12271 else
12272
12273
12274
12275       ac_ext=cc
12276 ac_cpp='$CXXCPP $CPPFLAGS'
12277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12280
12281       cat >conftest.$ac_ext <<_ACEOF
12282 #line $LINENO "configure"
12283 /* confdefs.h.  */
12284 _ACEOF
12285 cat confdefs.h >>conftest.$ac_ext
12286 cat >>conftest.$ac_ext <<_ACEOF
12287 /* end confdefs.h.  */
12288 #include <math.h>
12289 int
12290 main ()
12291 {
12292  fmodf(0, 0);
12293   ;
12294   return 0;
12295 }
12296 _ACEOF
12297 rm -f conftest.$ac_objext
12298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12299   (eval $ac_compile) 2>&5
12300   ac_status=$?
12301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302   (exit $ac_status); } &&
12303          { ac_try='test -s conftest.$ac_objext'
12304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305   (eval $ac_try) 2>&5
12306   ac_status=$?
12307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308   (exit $ac_status); }; }; then
12309   glibcxx_cv_func_fmodf_use=yes
12310 else
12311   echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.$ac_ext >&5
12313
12314 glibcxx_cv_func_fmodf_use=no
12315 fi
12316 rm -f conftest.$ac_objext conftest.$ac_ext
12317       ac_ext=c
12318 ac_cpp='$CPP $CPPFLAGS'
12319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12322
12323
12324 fi
12325
12326   fi
12327   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12328 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12329
12330   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12331
12332 for ac_func in fmodf
12333 do
12334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12335 echo "$as_me:$LINENO: checking for $ac_func" >&5
12336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12337 if eval "test \"\${$as_ac_var+set}\" = set"; then
12338   echo $ECHO_N "(cached) $ECHO_C" >&6
12339 else
12340   cat >conftest.$ac_ext <<_ACEOF
12341 #line $LINENO "configure"
12342 /* confdefs.h.  */
12343 _ACEOF
12344 cat confdefs.h >>conftest.$ac_ext
12345 cat >>conftest.$ac_ext <<_ACEOF
12346 /* end confdefs.h.  */
12347 /* System header to define __stub macros and hopefully few prototypes,
12348     which can conflict with char $ac_func (); below.
12349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12350     <limits.h> exists even on freestanding compilers.  */
12351 #ifdef __STDC__
12352 # include <limits.h>
12353 #else
12354 # include <assert.h>
12355 #endif
12356 /* Override any gcc2 internal prototype to avoid an error.  */
12357 #ifdef __cplusplus
12358 extern "C"
12359 {
12360 #endif
12361 /* We use char because int might match the return type of a gcc2
12362    builtin and then its argument prototype would still apply.  */
12363 char $ac_func ();
12364 /* The GNU C library defines this for functions which it implements
12365     to always fail with ENOSYS.  Some functions are actually named
12366     something starting with __ and the normal name is an alias.  */
12367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12368 choke me
12369 #else
12370 char (*f) () = $ac_func;
12371 #endif
12372 #ifdef __cplusplus
12373 }
12374 #endif
12375
12376 int
12377 main ()
12378 {
12379 return f != $ac_func;
12380   ;
12381   return 0;
12382 }
12383 _ACEOF
12384 rm -f conftest.$ac_objext conftest$ac_exeext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12386   (eval $ac_link) 2>&5
12387   ac_status=$?
12388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389   (exit $ac_status); } &&
12390          { ac_try='test -s conftest$ac_exeext'
12391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392   (eval $ac_try) 2>&5
12393   ac_status=$?
12394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395   (exit $ac_status); }; }; then
12396   eval "$as_ac_var=yes"
12397 else
12398   echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12400
12401 eval "$as_ac_var=no"
12402 fi
12403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12404 fi
12405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12407 if test `eval echo '${'$as_ac_var'}'` = yes; then
12408   cat >>confdefs.h <<_ACEOF
12409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12410 _ACEOF
12411
12412 fi
12413 done
12414
12415   else
12416
12417   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12418 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12419   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12420     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12421   echo $ECHO_N "(cached) $ECHO_C" >&6
12422 else
12423
12424
12425
12426       ac_ext=cc
12427 ac_cpp='$CXXCPP $CPPFLAGS'
12428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12431
12432       cat >conftest.$ac_ext <<_ACEOF
12433 #line $LINENO "configure"
12434 /* confdefs.h.  */
12435 _ACEOF
12436 cat confdefs.h >>conftest.$ac_ext
12437 cat >>conftest.$ac_ext <<_ACEOF
12438 /* end confdefs.h.  */
12439 #include <math.h>
12440 int
12441 main ()
12442 {
12443  _fmodf(0, 0);
12444   ;
12445   return 0;
12446 }
12447 _ACEOF
12448 rm -f conftest.$ac_objext
12449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12450   (eval $ac_compile) 2>&5
12451   ac_status=$?
12452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453   (exit $ac_status); } &&
12454          { ac_try='test -s conftest.$ac_objext'
12455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456   (eval $ac_try) 2>&5
12457   ac_status=$?
12458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459   (exit $ac_status); }; }; then
12460   glibcxx_cv_func__fmodf_use=yes
12461 else
12462   echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12464
12465 glibcxx_cv_func__fmodf_use=no
12466 fi
12467 rm -f conftest.$ac_objext conftest.$ac_ext
12468       ac_ext=c
12469 ac_cpp='$CPP $CPPFLAGS'
12470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12473
12474
12475 fi
12476
12477   fi
12478   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12479 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12480
12481     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12482
12483 for ac_func in _fmodf
12484 do
12485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12486 echo "$as_me:$LINENO: checking for $ac_func" >&5
12487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12488 if eval "test \"\${$as_ac_var+set}\" = set"; then
12489   echo $ECHO_N "(cached) $ECHO_C" >&6
12490 else
12491   cat >conftest.$ac_ext <<_ACEOF
12492 #line $LINENO "configure"
12493 /* confdefs.h.  */
12494 _ACEOF
12495 cat confdefs.h >>conftest.$ac_ext
12496 cat >>conftest.$ac_ext <<_ACEOF
12497 /* end confdefs.h.  */
12498 /* System header to define __stub macros and hopefully few prototypes,
12499     which can conflict with char $ac_func (); below.
12500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12501     <limits.h> exists even on freestanding compilers.  */
12502 #ifdef __STDC__
12503 # include <limits.h>
12504 #else
12505 # include <assert.h>
12506 #endif
12507 /* Override any gcc2 internal prototype to avoid an error.  */
12508 #ifdef __cplusplus
12509 extern "C"
12510 {
12511 #endif
12512 /* We use char because int might match the return type of a gcc2
12513    builtin and then its argument prototype would still apply.  */
12514 char $ac_func ();
12515 /* The GNU C library defines this for functions which it implements
12516     to always fail with ENOSYS.  Some functions are actually named
12517     something starting with __ and the normal name is an alias.  */
12518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12519 choke me
12520 #else
12521 char (*f) () = $ac_func;
12522 #endif
12523 #ifdef __cplusplus
12524 }
12525 #endif
12526
12527 int
12528 main ()
12529 {
12530 return f != $ac_func;
12531   ;
12532   return 0;
12533 }
12534 _ACEOF
12535 rm -f conftest.$ac_objext conftest$ac_exeext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12537   (eval $ac_link) 2>&5
12538   ac_status=$?
12539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540   (exit $ac_status); } &&
12541          { ac_try='test -s conftest$ac_exeext'
12542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543   (eval $ac_try) 2>&5
12544   ac_status=$?
12545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546   (exit $ac_status); }; }; then
12547   eval "$as_ac_var=yes"
12548 else
12549   echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 eval "$as_ac_var=no"
12553 fi
12554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12555 fi
12556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12558 if test `eval echo '${'$as_ac_var'}'` = yes; then
12559   cat >>confdefs.h <<_ACEOF
12560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12561 _ACEOF
12562
12563 fi
12564 done
12565
12566     fi
12567   fi
12568
12569
12570
12571   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12572 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12573   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12574     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12575   echo $ECHO_N "(cached) $ECHO_C" >&6
12576 else
12577
12578
12579
12580       ac_ext=cc
12581 ac_cpp='$CXXCPP $CPPFLAGS'
12582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12585
12586       cat >conftest.$ac_ext <<_ACEOF
12587 #line $LINENO "configure"
12588 /* confdefs.h.  */
12589 _ACEOF
12590 cat confdefs.h >>conftest.$ac_ext
12591 cat >>conftest.$ac_ext <<_ACEOF
12592 /* end confdefs.h.  */
12593 #include <math.h>
12594 int
12595 main ()
12596 {
12597  frexpf(0, 0);
12598   ;
12599   return 0;
12600 }
12601 _ACEOF
12602 rm -f conftest.$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604   (eval $ac_compile) 2>&5
12605   ac_status=$?
12606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607   (exit $ac_status); } &&
12608          { ac_try='test -s conftest.$ac_objext'
12609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610   (eval $ac_try) 2>&5
12611   ac_status=$?
12612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613   (exit $ac_status); }; }; then
12614   glibcxx_cv_func_frexpf_use=yes
12615 else
12616   echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.$ac_ext >&5
12618
12619 glibcxx_cv_func_frexpf_use=no
12620 fi
12621 rm -f conftest.$ac_objext conftest.$ac_ext
12622       ac_ext=c
12623 ac_cpp='$CPP $CPPFLAGS'
12624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12627
12628
12629 fi
12630
12631   fi
12632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12633 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12634
12635   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12636
12637 for ac_func in frexpf
12638 do
12639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12640 echo "$as_me:$LINENO: checking for $ac_func" >&5
12641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12642 if eval "test \"\${$as_ac_var+set}\" = set"; then
12643   echo $ECHO_N "(cached) $ECHO_C" >&6
12644 else
12645   cat >conftest.$ac_ext <<_ACEOF
12646 #line $LINENO "configure"
12647 /* confdefs.h.  */
12648 _ACEOF
12649 cat confdefs.h >>conftest.$ac_ext
12650 cat >>conftest.$ac_ext <<_ACEOF
12651 /* end confdefs.h.  */
12652 /* System header to define __stub macros and hopefully few prototypes,
12653     which can conflict with char $ac_func (); below.
12654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12655     <limits.h> exists even on freestanding compilers.  */
12656 #ifdef __STDC__
12657 # include <limits.h>
12658 #else
12659 # include <assert.h>
12660 #endif
12661 /* Override any gcc2 internal prototype to avoid an error.  */
12662 #ifdef __cplusplus
12663 extern "C"
12664 {
12665 #endif
12666 /* We use char because int might match the return type of a gcc2
12667    builtin and then its argument prototype would still apply.  */
12668 char $ac_func ();
12669 /* The GNU C library defines this for functions which it implements
12670     to always fail with ENOSYS.  Some functions are actually named
12671     something starting with __ and the normal name is an alias.  */
12672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12673 choke me
12674 #else
12675 char (*f) () = $ac_func;
12676 #endif
12677 #ifdef __cplusplus
12678 }
12679 #endif
12680
12681 int
12682 main ()
12683 {
12684 return f != $ac_func;
12685   ;
12686   return 0;
12687 }
12688 _ACEOF
12689 rm -f conftest.$ac_objext conftest$ac_exeext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691   (eval $ac_link) 2>&5
12692   ac_status=$?
12693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694   (exit $ac_status); } &&
12695          { ac_try='test -s conftest$ac_exeext'
12696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697   (eval $ac_try) 2>&5
12698   ac_status=$?
12699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700   (exit $ac_status); }; }; then
12701   eval "$as_ac_var=yes"
12702 else
12703   echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.$ac_ext >&5
12705
12706 eval "$as_ac_var=no"
12707 fi
12708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12709 fi
12710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12712 if test `eval echo '${'$as_ac_var'}'` = yes; then
12713   cat >>confdefs.h <<_ACEOF
12714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12715 _ACEOF
12716
12717 fi
12718 done
12719
12720   else
12721
12722   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12723 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12724   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12725     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12726   echo $ECHO_N "(cached) $ECHO_C" >&6
12727 else
12728
12729
12730
12731       ac_ext=cc
12732 ac_cpp='$CXXCPP $CPPFLAGS'
12733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12736
12737       cat >conftest.$ac_ext <<_ACEOF
12738 #line $LINENO "configure"
12739 /* confdefs.h.  */
12740 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h.  */
12744 #include <math.h>
12745 int
12746 main ()
12747 {
12748  _frexpf(0, 0);
12749   ;
12750   return 0;
12751 }
12752 _ACEOF
12753 rm -f conftest.$ac_objext
12754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12755   (eval $ac_compile) 2>&5
12756   ac_status=$?
12757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758   (exit $ac_status); } &&
12759          { ac_try='test -s conftest.$ac_objext'
12760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761   (eval $ac_try) 2>&5
12762   ac_status=$?
12763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764   (exit $ac_status); }; }; then
12765   glibcxx_cv_func__frexpf_use=yes
12766 else
12767   echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12769
12770 glibcxx_cv_func__frexpf_use=no
12771 fi
12772 rm -f conftest.$ac_objext conftest.$ac_ext
12773       ac_ext=c
12774 ac_cpp='$CPP $CPPFLAGS'
12775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12778
12779
12780 fi
12781
12782   fi
12783   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12784 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12785
12786     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12787
12788 for ac_func in _frexpf
12789 do
12790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12791 echo "$as_me:$LINENO: checking for $ac_func" >&5
12792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12793 if eval "test \"\${$as_ac_var+set}\" = set"; then
12794   echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796   cat >conftest.$ac_ext <<_ACEOF
12797 #line $LINENO "configure"
12798 /* confdefs.h.  */
12799 _ACEOF
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h.  */
12803 /* System header to define __stub macros and hopefully few prototypes,
12804     which can conflict with char $ac_func (); below.
12805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12806     <limits.h> exists even on freestanding compilers.  */
12807 #ifdef __STDC__
12808 # include <limits.h>
12809 #else
12810 # include <assert.h>
12811 #endif
12812 /* Override any gcc2 internal prototype to avoid an error.  */
12813 #ifdef __cplusplus
12814 extern "C"
12815 {
12816 #endif
12817 /* We use char because int might match the return type of a gcc2
12818    builtin and then its argument prototype would still apply.  */
12819 char $ac_func ();
12820 /* The GNU C library defines this for functions which it implements
12821     to always fail with ENOSYS.  Some functions are actually named
12822     something starting with __ and the normal name is an alias.  */
12823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12824 choke me
12825 #else
12826 char (*f) () = $ac_func;
12827 #endif
12828 #ifdef __cplusplus
12829 }
12830 #endif
12831
12832 int
12833 main ()
12834 {
12835 return f != $ac_func;
12836   ;
12837   return 0;
12838 }
12839 _ACEOF
12840 rm -f conftest.$ac_objext conftest$ac_exeext
12841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12842   (eval $ac_link) 2>&5
12843   ac_status=$?
12844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845   (exit $ac_status); } &&
12846          { ac_try='test -s conftest$ac_exeext'
12847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848   (eval $ac_try) 2>&5
12849   ac_status=$?
12850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851   (exit $ac_status); }; }; then
12852   eval "$as_ac_var=yes"
12853 else
12854   echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12856
12857 eval "$as_ac_var=no"
12858 fi
12859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12860 fi
12861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12863 if test `eval echo '${'$as_ac_var'}'` = yes; then
12864   cat >>confdefs.h <<_ACEOF
12865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12866 _ACEOF
12867
12868 fi
12869 done
12870
12871     fi
12872   fi
12873
12874
12875
12876   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
12877 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
12878   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
12879     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
12880   echo $ECHO_N "(cached) $ECHO_C" >&6
12881 else
12882
12883
12884
12885       ac_ext=cc
12886 ac_cpp='$CXXCPP $CPPFLAGS'
12887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12890
12891       cat >conftest.$ac_ext <<_ACEOF
12892 #line $LINENO "configure"
12893 /* confdefs.h.  */
12894 _ACEOF
12895 cat confdefs.h >>conftest.$ac_ext
12896 cat >>conftest.$ac_ext <<_ACEOF
12897 /* end confdefs.h.  */
12898 #include <math.h>
12899 int
12900 main ()
12901 {
12902  hypotf(0, 0);
12903   ;
12904   return 0;
12905 }
12906 _ACEOF
12907 rm -f conftest.$ac_objext
12908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12909   (eval $ac_compile) 2>&5
12910   ac_status=$?
12911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912   (exit $ac_status); } &&
12913          { ac_try='test -s conftest.$ac_objext'
12914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915   (eval $ac_try) 2>&5
12916   ac_status=$?
12917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918   (exit $ac_status); }; }; then
12919   glibcxx_cv_func_hypotf_use=yes
12920 else
12921   echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12923
12924 glibcxx_cv_func_hypotf_use=no
12925 fi
12926 rm -f conftest.$ac_objext conftest.$ac_ext
12927       ac_ext=c
12928 ac_cpp='$CPP $CPPFLAGS'
12929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12932
12933
12934 fi
12935
12936   fi
12937   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
12938 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
12939
12940   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
12941
12942 for ac_func in hypotf
12943 do
12944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12945 echo "$as_me:$LINENO: checking for $ac_func" >&5
12946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12947 if eval "test \"\${$as_ac_var+set}\" = set"; then
12948   echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950   cat >conftest.$ac_ext <<_ACEOF
12951 #line $LINENO "configure"
12952 /* confdefs.h.  */
12953 _ACEOF
12954 cat confdefs.h >>conftest.$ac_ext
12955 cat >>conftest.$ac_ext <<_ACEOF
12956 /* end confdefs.h.  */
12957 /* System header to define __stub macros and hopefully few prototypes,
12958     which can conflict with char $ac_func (); below.
12959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12960     <limits.h> exists even on freestanding compilers.  */
12961 #ifdef __STDC__
12962 # include <limits.h>
12963 #else
12964 # include <assert.h>
12965 #endif
12966 /* Override any gcc2 internal prototype to avoid an error.  */
12967 #ifdef __cplusplus
12968 extern "C"
12969 {
12970 #endif
12971 /* We use char because int might match the return type of a gcc2
12972    builtin and then its argument prototype would still apply.  */
12973 char $ac_func ();
12974 /* The GNU C library defines this for functions which it implements
12975     to always fail with ENOSYS.  Some functions are actually named
12976     something starting with __ and the normal name is an alias.  */
12977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12978 choke me
12979 #else
12980 char (*f) () = $ac_func;
12981 #endif
12982 #ifdef __cplusplus
12983 }
12984 #endif
12985
12986 int
12987 main ()
12988 {
12989 return f != $ac_func;
12990   ;
12991   return 0;
12992 }
12993 _ACEOF
12994 rm -f conftest.$ac_objext conftest$ac_exeext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12996   (eval $ac_link) 2>&5
12997   ac_status=$?
12998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999   (exit $ac_status); } &&
13000          { ac_try='test -s conftest$ac_exeext'
13001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002   (eval $ac_try) 2>&5
13003   ac_status=$?
13004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005   (exit $ac_status); }; }; then
13006   eval "$as_ac_var=yes"
13007 else
13008   echo "$as_me: failed program was:" >&5
13009 sed 's/^/| /' conftest.$ac_ext >&5
13010
13011 eval "$as_ac_var=no"
13012 fi
13013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13014 fi
13015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13017 if test `eval echo '${'$as_ac_var'}'` = yes; then
13018   cat >>confdefs.h <<_ACEOF
13019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13020 _ACEOF
13021
13022 fi
13023 done
13024
13025   else
13026
13027   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13028 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13029   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13030     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13031   echo $ECHO_N "(cached) $ECHO_C" >&6
13032 else
13033
13034
13035
13036       ac_ext=cc
13037 ac_cpp='$CXXCPP $CPPFLAGS'
13038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13041
13042       cat >conftest.$ac_ext <<_ACEOF
13043 #line $LINENO "configure"
13044 /* confdefs.h.  */
13045 _ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h.  */
13049 #include <math.h>
13050 int
13051 main ()
13052 {
13053  _hypotf(0, 0);
13054   ;
13055   return 0;
13056 }
13057 _ACEOF
13058 rm -f conftest.$ac_objext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060   (eval $ac_compile) 2>&5
13061   ac_status=$?
13062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063   (exit $ac_status); } &&
13064          { ac_try='test -s conftest.$ac_objext'
13065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066   (eval $ac_try) 2>&5
13067   ac_status=$?
13068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069   (exit $ac_status); }; }; then
13070   glibcxx_cv_func__hypotf_use=yes
13071 else
13072   echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.$ac_ext >&5
13074
13075 glibcxx_cv_func__hypotf_use=no
13076 fi
13077 rm -f conftest.$ac_objext conftest.$ac_ext
13078       ac_ext=c
13079 ac_cpp='$CPP $CPPFLAGS'
13080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13083
13084
13085 fi
13086
13087   fi
13088   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13089 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13090
13091     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13092
13093 for ac_func in _hypotf
13094 do
13095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13096 echo "$as_me:$LINENO: checking for $ac_func" >&5
13097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13098 if eval "test \"\${$as_ac_var+set}\" = set"; then
13099   echo $ECHO_N "(cached) $ECHO_C" >&6
13100 else
13101   cat >conftest.$ac_ext <<_ACEOF
13102 #line $LINENO "configure"
13103 /* confdefs.h.  */
13104 _ACEOF
13105 cat confdefs.h >>conftest.$ac_ext
13106 cat >>conftest.$ac_ext <<_ACEOF
13107 /* end confdefs.h.  */
13108 /* System header to define __stub macros and hopefully few prototypes,
13109     which can conflict with char $ac_func (); below.
13110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13111     <limits.h> exists even on freestanding compilers.  */
13112 #ifdef __STDC__
13113 # include <limits.h>
13114 #else
13115 # include <assert.h>
13116 #endif
13117 /* Override any gcc2 internal prototype to avoid an error.  */
13118 #ifdef __cplusplus
13119 extern "C"
13120 {
13121 #endif
13122 /* We use char because int might match the return type of a gcc2
13123    builtin and then its argument prototype would still apply.  */
13124 char $ac_func ();
13125 /* The GNU C library defines this for functions which it implements
13126     to always fail with ENOSYS.  Some functions are actually named
13127     something starting with __ and the normal name is an alias.  */
13128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13129 choke me
13130 #else
13131 char (*f) () = $ac_func;
13132 #endif
13133 #ifdef __cplusplus
13134 }
13135 #endif
13136
13137 int
13138 main ()
13139 {
13140 return f != $ac_func;
13141   ;
13142   return 0;
13143 }
13144 _ACEOF
13145 rm -f conftest.$ac_objext conftest$ac_exeext
13146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13147   (eval $ac_link) 2>&5
13148   ac_status=$?
13149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150   (exit $ac_status); } &&
13151          { ac_try='test -s conftest$ac_exeext'
13152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153   (eval $ac_try) 2>&5
13154   ac_status=$?
13155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156   (exit $ac_status); }; }; then
13157   eval "$as_ac_var=yes"
13158 else
13159   echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13161
13162 eval "$as_ac_var=no"
13163 fi
13164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13165 fi
13166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13168 if test `eval echo '${'$as_ac_var'}'` = yes; then
13169   cat >>confdefs.h <<_ACEOF
13170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13171 _ACEOF
13172
13173 fi
13174 done
13175
13176     fi
13177   fi
13178
13179
13180
13181   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13182 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13183   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13184     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13185   echo $ECHO_N "(cached) $ECHO_C" >&6
13186 else
13187
13188
13189
13190       ac_ext=cc
13191 ac_cpp='$CXXCPP $CPPFLAGS'
13192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13195
13196       cat >conftest.$ac_ext <<_ACEOF
13197 #line $LINENO "configure"
13198 /* confdefs.h.  */
13199 _ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h.  */
13203 #include <math.h>
13204 int
13205 main ()
13206 {
13207  ldexpf(0, 0);
13208   ;
13209   return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214   (eval $ac_compile) 2>&5
13215   ac_status=$?
13216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217   (exit $ac_status); } &&
13218          { ac_try='test -s conftest.$ac_objext'
13219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220   (eval $ac_try) 2>&5
13221   ac_status=$?
13222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223   (exit $ac_status); }; }; then
13224   glibcxx_cv_func_ldexpf_use=yes
13225 else
13226   echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.$ac_ext >&5
13228
13229 glibcxx_cv_func_ldexpf_use=no
13230 fi
13231 rm -f conftest.$ac_objext conftest.$ac_ext
13232       ac_ext=c
13233 ac_cpp='$CPP $CPPFLAGS'
13234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13237
13238
13239 fi
13240
13241   fi
13242   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13243 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13244
13245   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13246
13247 for ac_func in ldexpf
13248 do
13249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13250 echo "$as_me:$LINENO: checking for $ac_func" >&5
13251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13252 if eval "test \"\${$as_ac_var+set}\" = set"; then
13253   echo $ECHO_N "(cached) $ECHO_C" >&6
13254 else
13255   cat >conftest.$ac_ext <<_ACEOF
13256 #line $LINENO "configure"
13257 /* confdefs.h.  */
13258 _ACEOF
13259 cat confdefs.h >>conftest.$ac_ext
13260 cat >>conftest.$ac_ext <<_ACEOF
13261 /* end confdefs.h.  */
13262 /* System header to define __stub macros and hopefully few prototypes,
13263     which can conflict with char $ac_func (); below.
13264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13265     <limits.h> exists even on freestanding compilers.  */
13266 #ifdef __STDC__
13267 # include <limits.h>
13268 #else
13269 # include <assert.h>
13270 #endif
13271 /* Override any gcc2 internal prototype to avoid an error.  */
13272 #ifdef __cplusplus
13273 extern "C"
13274 {
13275 #endif
13276 /* We use char because int might match the return type of a gcc2
13277    builtin and then its argument prototype would still apply.  */
13278 char $ac_func ();
13279 /* The GNU C library defines this for functions which it implements
13280     to always fail with ENOSYS.  Some functions are actually named
13281     something starting with __ and the normal name is an alias.  */
13282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13283 choke me
13284 #else
13285 char (*f) () = $ac_func;
13286 #endif
13287 #ifdef __cplusplus
13288 }
13289 #endif
13290
13291 int
13292 main ()
13293 {
13294 return f != $ac_func;
13295   ;
13296   return 0;
13297 }
13298 _ACEOF
13299 rm -f conftest.$ac_objext conftest$ac_exeext
13300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13301   (eval $ac_link) 2>&5
13302   ac_status=$?
13303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304   (exit $ac_status); } &&
13305          { ac_try='test -s conftest$ac_exeext'
13306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307   (eval $ac_try) 2>&5
13308   ac_status=$?
13309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310   (exit $ac_status); }; }; then
13311   eval "$as_ac_var=yes"
13312 else
13313   echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13315
13316 eval "$as_ac_var=no"
13317 fi
13318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13319 fi
13320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13322 if test `eval echo '${'$as_ac_var'}'` = yes; then
13323   cat >>confdefs.h <<_ACEOF
13324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13325 _ACEOF
13326
13327 fi
13328 done
13329
13330   else
13331
13332   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13333 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13334   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13335     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13336   echo $ECHO_N "(cached) $ECHO_C" >&6
13337 else
13338
13339
13340
13341       ac_ext=cc
13342 ac_cpp='$CXXCPP $CPPFLAGS'
13343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13346
13347       cat >conftest.$ac_ext <<_ACEOF
13348 #line $LINENO "configure"
13349 /* confdefs.h.  */
13350 _ACEOF
13351 cat confdefs.h >>conftest.$ac_ext
13352 cat >>conftest.$ac_ext <<_ACEOF
13353 /* end confdefs.h.  */
13354 #include <math.h>
13355 int
13356 main ()
13357 {
13358  _ldexpf(0, 0);
13359   ;
13360   return 0;
13361 }
13362 _ACEOF
13363 rm -f conftest.$ac_objext
13364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13365   (eval $ac_compile) 2>&5
13366   ac_status=$?
13367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368   (exit $ac_status); } &&
13369          { ac_try='test -s conftest.$ac_objext'
13370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371   (eval $ac_try) 2>&5
13372   ac_status=$?
13373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374   (exit $ac_status); }; }; then
13375   glibcxx_cv_func__ldexpf_use=yes
13376 else
13377   echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.$ac_ext >&5
13379
13380 glibcxx_cv_func__ldexpf_use=no
13381 fi
13382 rm -f conftest.$ac_objext conftest.$ac_ext
13383       ac_ext=c
13384 ac_cpp='$CPP $CPPFLAGS'
13385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13388
13389
13390 fi
13391
13392   fi
13393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13394 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13395
13396     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13397
13398 for ac_func in _ldexpf
13399 do
13400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13401 echo "$as_me:$LINENO: checking for $ac_func" >&5
13402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13403 if eval "test \"\${$as_ac_var+set}\" = set"; then
13404   echo $ECHO_N "(cached) $ECHO_C" >&6
13405 else
13406   cat >conftest.$ac_ext <<_ACEOF
13407 #line $LINENO "configure"
13408 /* confdefs.h.  */
13409 _ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h.  */
13413 /* System header to define __stub macros and hopefully few prototypes,
13414     which can conflict with char $ac_func (); below.
13415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13416     <limits.h> exists even on freestanding compilers.  */
13417 #ifdef __STDC__
13418 # include <limits.h>
13419 #else
13420 # include <assert.h>
13421 #endif
13422 /* Override any gcc2 internal prototype to avoid an error.  */
13423 #ifdef __cplusplus
13424 extern "C"
13425 {
13426 #endif
13427 /* We use char because int might match the return type of a gcc2
13428    builtin and then its argument prototype would still apply.  */
13429 char $ac_func ();
13430 /* The GNU C library defines this for functions which it implements
13431     to always fail with ENOSYS.  Some functions are actually named
13432     something starting with __ and the normal name is an alias.  */
13433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13434 choke me
13435 #else
13436 char (*f) () = $ac_func;
13437 #endif
13438 #ifdef __cplusplus
13439 }
13440 #endif
13441
13442 int
13443 main ()
13444 {
13445 return f != $ac_func;
13446   ;
13447   return 0;
13448 }
13449 _ACEOF
13450 rm -f conftest.$ac_objext conftest$ac_exeext
13451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13452   (eval $ac_link) 2>&5
13453   ac_status=$?
13454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455   (exit $ac_status); } &&
13456          { ac_try='test -s conftest$ac_exeext'
13457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458   (eval $ac_try) 2>&5
13459   ac_status=$?
13460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461   (exit $ac_status); }; }; then
13462   eval "$as_ac_var=yes"
13463 else
13464   echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.$ac_ext >&5
13466
13467 eval "$as_ac_var=no"
13468 fi
13469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13470 fi
13471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13473 if test `eval echo '${'$as_ac_var'}'` = yes; then
13474   cat >>confdefs.h <<_ACEOF
13475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13476 _ACEOF
13477
13478 fi
13479 done
13480
13481     fi
13482   fi
13483
13484
13485
13486   echo "$as_me:$LINENO: checking for logf declaration" >&5
13487 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13488   if test x${glibcxx_cv_func_logf_use+set} != xset; then
13489     if test "${glibcxx_cv_func_logf_use+set}" = set; then
13490   echo $ECHO_N "(cached) $ECHO_C" >&6
13491 else
13492
13493
13494
13495       ac_ext=cc
13496 ac_cpp='$CXXCPP $CPPFLAGS'
13497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13500
13501       cat >conftest.$ac_ext <<_ACEOF
13502 #line $LINENO "configure"
13503 /* confdefs.h.  */
13504 _ACEOF
13505 cat confdefs.h >>conftest.$ac_ext
13506 cat >>conftest.$ac_ext <<_ACEOF
13507 /* end confdefs.h.  */
13508 #include <math.h>
13509                       #ifdef HAVE_IEEEFP_H
13510                       #include <ieeefp.h>
13511                       #endif
13512
13513 int
13514 main ()
13515 {
13516  logf(0);
13517   ;
13518   return 0;
13519 }
13520 _ACEOF
13521 rm -f conftest.$ac_objext
13522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13523   (eval $ac_compile) 2>&5
13524   ac_status=$?
13525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526   (exit $ac_status); } &&
13527          { ac_try='test -s conftest.$ac_objext'
13528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529   (eval $ac_try) 2>&5
13530   ac_status=$?
13531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532   (exit $ac_status); }; }; then
13533   glibcxx_cv_func_logf_use=yes
13534 else
13535   echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13537
13538 glibcxx_cv_func_logf_use=no
13539 fi
13540 rm -f conftest.$ac_objext conftest.$ac_ext
13541       ac_ext=c
13542 ac_cpp='$CPP $CPPFLAGS'
13543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13546
13547
13548 fi
13549
13550   fi
13551   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13552 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13553
13554   if test x$glibcxx_cv_func_logf_use = x"yes"; then
13555
13556 for ac_func in logf
13557 do
13558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13559 echo "$as_me:$LINENO: checking for $ac_func" >&5
13560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_var+set}\" = set"; then
13562   echo $ECHO_N "(cached) $ECHO_C" >&6
13563 else
13564   cat >conftest.$ac_ext <<_ACEOF
13565 #line $LINENO "configure"
13566 /* confdefs.h.  */
13567 _ACEOF
13568 cat confdefs.h >>conftest.$ac_ext
13569 cat >>conftest.$ac_ext <<_ACEOF
13570 /* end confdefs.h.  */
13571 /* System header to define __stub macros and hopefully few prototypes,
13572     which can conflict with char $ac_func (); below.
13573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13574     <limits.h> exists even on freestanding compilers.  */
13575 #ifdef __STDC__
13576 # include <limits.h>
13577 #else
13578 # include <assert.h>
13579 #endif
13580 /* Override any gcc2 internal prototype to avoid an error.  */
13581 #ifdef __cplusplus
13582 extern "C"
13583 {
13584 #endif
13585 /* We use char because int might match the return type of a gcc2
13586    builtin and then its argument prototype would still apply.  */
13587 char $ac_func ();
13588 /* The GNU C library defines this for functions which it implements
13589     to always fail with ENOSYS.  Some functions are actually named
13590     something starting with __ and the normal name is an alias.  */
13591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13592 choke me
13593 #else
13594 char (*f) () = $ac_func;
13595 #endif
13596 #ifdef __cplusplus
13597 }
13598 #endif
13599
13600 int
13601 main ()
13602 {
13603 return f != $ac_func;
13604   ;
13605   return 0;
13606 }
13607 _ACEOF
13608 rm -f conftest.$ac_objext conftest$ac_exeext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13610   (eval $ac_link) 2>&5
13611   ac_status=$?
13612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613   (exit $ac_status); } &&
13614          { ac_try='test -s conftest$ac_exeext'
13615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13616   (eval $ac_try) 2>&5
13617   ac_status=$?
13618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619   (exit $ac_status); }; }; then
13620   eval "$as_ac_var=yes"
13621 else
13622   echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13624
13625 eval "$as_ac_var=no"
13626 fi
13627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13628 fi
13629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13631 if test `eval echo '${'$as_ac_var'}'` = yes; then
13632   cat >>confdefs.h <<_ACEOF
13633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13634 _ACEOF
13635
13636 fi
13637 done
13638
13639   else
13640
13641   echo "$as_me:$LINENO: checking for _logf declaration" >&5
13642 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13643   if test x${glibcxx_cv_func__logf_use+set} != xset; then
13644     if test "${glibcxx_cv_func__logf_use+set}" = set; then
13645   echo $ECHO_N "(cached) $ECHO_C" >&6
13646 else
13647
13648
13649
13650       ac_ext=cc
13651 ac_cpp='$CXXCPP $CPPFLAGS'
13652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13655
13656       cat >conftest.$ac_ext <<_ACEOF
13657 #line $LINENO "configure"
13658 /* confdefs.h.  */
13659 _ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h.  */
13663 #include <math.h>
13664                       #ifdef HAVE_IEEEFP_H
13665                       #include <ieeefp.h>
13666                       #endif
13667
13668 int
13669 main ()
13670 {
13671  _logf(0);
13672   ;
13673   return 0;
13674 }
13675 _ACEOF
13676 rm -f conftest.$ac_objext
13677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13678   (eval $ac_compile) 2>&5
13679   ac_status=$?
13680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681   (exit $ac_status); } &&
13682          { ac_try='test -s conftest.$ac_objext'
13683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684   (eval $ac_try) 2>&5
13685   ac_status=$?
13686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687   (exit $ac_status); }; }; then
13688   glibcxx_cv_func__logf_use=yes
13689 else
13690   echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.$ac_ext >&5
13692
13693 glibcxx_cv_func__logf_use=no
13694 fi
13695 rm -f conftest.$ac_objext conftest.$ac_ext
13696       ac_ext=c
13697 ac_cpp='$CPP $CPPFLAGS'
13698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13701
13702
13703 fi
13704
13705   fi
13706   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13707 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13708
13709     if test x$glibcxx_cv_func__logf_use = x"yes"; then
13710
13711 for ac_func in _logf
13712 do
13713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13714 echo "$as_me:$LINENO: checking for $ac_func" >&5
13715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13716 if eval "test \"\${$as_ac_var+set}\" = set"; then
13717   echo $ECHO_N "(cached) $ECHO_C" >&6
13718 else
13719   cat >conftest.$ac_ext <<_ACEOF
13720 #line $LINENO "configure"
13721 /* confdefs.h.  */
13722 _ACEOF
13723 cat confdefs.h >>conftest.$ac_ext
13724 cat >>conftest.$ac_ext <<_ACEOF
13725 /* end confdefs.h.  */
13726 /* System header to define __stub macros and hopefully few prototypes,
13727     which can conflict with char $ac_func (); below.
13728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13729     <limits.h> exists even on freestanding compilers.  */
13730 #ifdef __STDC__
13731 # include <limits.h>
13732 #else
13733 # include <assert.h>
13734 #endif
13735 /* Override any gcc2 internal prototype to avoid an error.  */
13736 #ifdef __cplusplus
13737 extern "C"
13738 {
13739 #endif
13740 /* We use char because int might match the return type of a gcc2
13741    builtin and then its argument prototype would still apply.  */
13742 char $ac_func ();
13743 /* The GNU C library defines this for functions which it implements
13744     to always fail with ENOSYS.  Some functions are actually named
13745     something starting with __ and the normal name is an alias.  */
13746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13747 choke me
13748 #else
13749 char (*f) () = $ac_func;
13750 #endif
13751 #ifdef __cplusplus
13752 }
13753 #endif
13754
13755 int
13756 main ()
13757 {
13758 return f != $ac_func;
13759   ;
13760   return 0;
13761 }
13762 _ACEOF
13763 rm -f conftest.$ac_objext conftest$ac_exeext
13764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13765   (eval $ac_link) 2>&5
13766   ac_status=$?
13767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768   (exit $ac_status); } &&
13769          { ac_try='test -s conftest$ac_exeext'
13770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771   (eval $ac_try) 2>&5
13772   ac_status=$?
13773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774   (exit $ac_status); }; }; then
13775   eval "$as_ac_var=yes"
13776 else
13777   echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13779
13780 eval "$as_ac_var=no"
13781 fi
13782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13783 fi
13784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13786 if test `eval echo '${'$as_ac_var'}'` = yes; then
13787   cat >>confdefs.h <<_ACEOF
13788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13789 _ACEOF
13790
13791 fi
13792 done
13793
13794     fi
13795   fi
13796
13797
13798
13799   echo "$as_me:$LINENO: checking for log10f declaration" >&5
13800 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13801   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13802     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13803   echo $ECHO_N "(cached) $ECHO_C" >&6
13804 else
13805
13806
13807
13808       ac_ext=cc
13809 ac_cpp='$CXXCPP $CPPFLAGS'
13810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13813
13814       cat >conftest.$ac_ext <<_ACEOF
13815 #line $LINENO "configure"
13816 /* confdefs.h.  */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h.  */
13821 #include <math.h>
13822                       #ifdef HAVE_IEEEFP_H
13823                       #include <ieeefp.h>
13824                       #endif
13825
13826 int
13827 main ()
13828 {
13829  log10f(0);
13830   ;
13831   return 0;
13832 }
13833 _ACEOF
13834 rm -f conftest.$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836   (eval $ac_compile) 2>&5
13837   ac_status=$?
13838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839   (exit $ac_status); } &&
13840          { ac_try='test -s conftest.$ac_objext'
13841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842   (eval $ac_try) 2>&5
13843   ac_status=$?
13844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845   (exit $ac_status); }; }; then
13846   glibcxx_cv_func_log10f_use=yes
13847 else
13848   echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13850
13851 glibcxx_cv_func_log10f_use=no
13852 fi
13853 rm -f conftest.$ac_objext conftest.$ac_ext
13854       ac_ext=c
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13859
13860
13861 fi
13862
13863   fi
13864   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
13865 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
13866
13867   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
13868
13869 for ac_func in log10f
13870 do
13871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13872 echo "$as_me:$LINENO: checking for $ac_func" >&5
13873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13874 if eval "test \"\${$as_ac_var+set}\" = set"; then
13875   echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877   cat >conftest.$ac_ext <<_ACEOF
13878 #line $LINENO "configure"
13879 /* confdefs.h.  */
13880 _ACEOF
13881 cat confdefs.h >>conftest.$ac_ext
13882 cat >>conftest.$ac_ext <<_ACEOF
13883 /* end confdefs.h.  */
13884 /* System header to define __stub macros and hopefully few prototypes,
13885     which can conflict with char $ac_func (); below.
13886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13887     <limits.h> exists even on freestanding compilers.  */
13888 #ifdef __STDC__
13889 # include <limits.h>
13890 #else
13891 # include <assert.h>
13892 #endif
13893 /* Override any gcc2 internal prototype to avoid an error.  */
13894 #ifdef __cplusplus
13895 extern "C"
13896 {
13897 #endif
13898 /* We use char because int might match the return type of a gcc2
13899    builtin and then its argument prototype would still apply.  */
13900 char $ac_func ();
13901 /* The GNU C library defines this for functions which it implements
13902     to always fail with ENOSYS.  Some functions are actually named
13903     something starting with __ and the normal name is an alias.  */
13904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13905 choke me
13906 #else
13907 char (*f) () = $ac_func;
13908 #endif
13909 #ifdef __cplusplus
13910 }
13911 #endif
13912
13913 int
13914 main ()
13915 {
13916 return f != $ac_func;
13917   ;
13918   return 0;
13919 }
13920 _ACEOF
13921 rm -f conftest.$ac_objext conftest$ac_exeext
13922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13923   (eval $ac_link) 2>&5
13924   ac_status=$?
13925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926   (exit $ac_status); } &&
13927          { ac_try='test -s conftest$ac_exeext'
13928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929   (eval $ac_try) 2>&5
13930   ac_status=$?
13931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932   (exit $ac_status); }; }; then
13933   eval "$as_ac_var=yes"
13934 else
13935   echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.$ac_ext >&5
13937
13938 eval "$as_ac_var=no"
13939 fi
13940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13941 fi
13942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13944 if test `eval echo '${'$as_ac_var'}'` = yes; then
13945   cat >>confdefs.h <<_ACEOF
13946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13947 _ACEOF
13948
13949 fi
13950 done
13951
13952   else
13953
13954   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
13955 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
13956   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
13957     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
13958   echo $ECHO_N "(cached) $ECHO_C" >&6
13959 else
13960
13961
13962
13963       ac_ext=cc
13964 ac_cpp='$CXXCPP $CPPFLAGS'
13965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13968
13969       cat >conftest.$ac_ext <<_ACEOF
13970 #line $LINENO "configure"
13971 /* confdefs.h.  */
13972 _ACEOF
13973 cat confdefs.h >>conftest.$ac_ext
13974 cat >>conftest.$ac_ext <<_ACEOF
13975 /* end confdefs.h.  */
13976 #include <math.h>
13977                       #ifdef HAVE_IEEEFP_H
13978                       #include <ieeefp.h>
13979                       #endif
13980
13981 int
13982 main ()
13983 {
13984  _log10f(0);
13985   ;
13986   return 0;
13987 }
13988 _ACEOF
13989 rm -f conftest.$ac_objext
13990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13991   (eval $ac_compile) 2>&5
13992   ac_status=$?
13993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994   (exit $ac_status); } &&
13995          { ac_try='test -s conftest.$ac_objext'
13996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997   (eval $ac_try) 2>&5
13998   ac_status=$?
13999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000   (exit $ac_status); }; }; then
14001   glibcxx_cv_func__log10f_use=yes
14002 else
14003   echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.$ac_ext >&5
14005
14006 glibcxx_cv_func__log10f_use=no
14007 fi
14008 rm -f conftest.$ac_objext conftest.$ac_ext
14009       ac_ext=c
14010 ac_cpp='$CPP $CPPFLAGS'
14011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14014
14015
14016 fi
14017
14018   fi
14019   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14020 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14021
14022     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14023
14024 for ac_func in _log10f
14025 do
14026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14027 echo "$as_me:$LINENO: checking for $ac_func" >&5
14028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14029 if eval "test \"\${$as_ac_var+set}\" = set"; then
14030   echo $ECHO_N "(cached) $ECHO_C" >&6
14031 else
14032   cat >conftest.$ac_ext <<_ACEOF
14033 #line $LINENO "configure"
14034 /* confdefs.h.  */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h.  */
14039 /* System header to define __stub macros and hopefully few prototypes,
14040     which can conflict with char $ac_func (); below.
14041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14042     <limits.h> exists even on freestanding compilers.  */
14043 #ifdef __STDC__
14044 # include <limits.h>
14045 #else
14046 # include <assert.h>
14047 #endif
14048 /* Override any gcc2 internal prototype to avoid an error.  */
14049 #ifdef __cplusplus
14050 extern "C"
14051 {
14052 #endif
14053 /* We use char because int might match the return type of a gcc2
14054    builtin and then its argument prototype would still apply.  */
14055 char $ac_func ();
14056 /* The GNU C library defines this for functions which it implements
14057     to always fail with ENOSYS.  Some functions are actually named
14058     something starting with __ and the normal name is an alias.  */
14059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14060 choke me
14061 #else
14062 char (*f) () = $ac_func;
14063 #endif
14064 #ifdef __cplusplus
14065 }
14066 #endif
14067
14068 int
14069 main ()
14070 {
14071 return f != $ac_func;
14072   ;
14073   return 0;
14074 }
14075 _ACEOF
14076 rm -f conftest.$ac_objext conftest$ac_exeext
14077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14078   (eval $ac_link) 2>&5
14079   ac_status=$?
14080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081   (exit $ac_status); } &&
14082          { ac_try='test -s conftest$ac_exeext'
14083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084   (eval $ac_try) 2>&5
14085   ac_status=$?
14086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087   (exit $ac_status); }; }; then
14088   eval "$as_ac_var=yes"
14089 else
14090   echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.$ac_ext >&5
14092
14093 eval "$as_ac_var=no"
14094 fi
14095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14096 fi
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14099 if test `eval echo '${'$as_ac_var'}'` = yes; then
14100   cat >>confdefs.h <<_ACEOF
14101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14102 _ACEOF
14103
14104 fi
14105 done
14106
14107     fi
14108   fi
14109
14110
14111
14112   echo "$as_me:$LINENO: checking for modff declaration" >&5
14113 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14114   if test x${glibcxx_cv_func_modff_use+set} != xset; then
14115     if test "${glibcxx_cv_func_modff_use+set}" = set; then
14116   echo $ECHO_N "(cached) $ECHO_C" >&6
14117 else
14118
14119
14120
14121       ac_ext=cc
14122 ac_cpp='$CXXCPP $CPPFLAGS'
14123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14126
14127       cat >conftest.$ac_ext <<_ACEOF
14128 #line $LINENO "configure"
14129 /* confdefs.h.  */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h.  */
14134 #include <math.h>
14135 int
14136 main ()
14137 {
14138  modff(0, 0);
14139   ;
14140   return 0;
14141 }
14142 _ACEOF
14143 rm -f conftest.$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145   (eval $ac_compile) 2>&5
14146   ac_status=$?
14147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148   (exit $ac_status); } &&
14149          { ac_try='test -s conftest.$ac_objext'
14150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151   (eval $ac_try) 2>&5
14152   ac_status=$?
14153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154   (exit $ac_status); }; }; then
14155   glibcxx_cv_func_modff_use=yes
14156 else
14157   echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.$ac_ext >&5
14159
14160 glibcxx_cv_func_modff_use=no
14161 fi
14162 rm -f conftest.$ac_objext conftest.$ac_ext
14163       ac_ext=c
14164 ac_cpp='$CPP $CPPFLAGS'
14165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14168
14169
14170 fi
14171
14172   fi
14173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14174 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14175
14176   if test x$glibcxx_cv_func_modff_use = x"yes"; then
14177
14178 for ac_func in modff
14179 do
14180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14181 echo "$as_me:$LINENO: checking for $ac_func" >&5
14182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14183 if eval "test \"\${$as_ac_var+set}\" = set"; then
14184   echo $ECHO_N "(cached) $ECHO_C" >&6
14185 else
14186   cat >conftest.$ac_ext <<_ACEOF
14187 #line $LINENO "configure"
14188 /* confdefs.h.  */
14189 _ACEOF
14190 cat confdefs.h >>conftest.$ac_ext
14191 cat >>conftest.$ac_ext <<_ACEOF
14192 /* end confdefs.h.  */
14193 /* System header to define __stub macros and hopefully few prototypes,
14194     which can conflict with char $ac_func (); below.
14195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14196     <limits.h> exists even on freestanding compilers.  */
14197 #ifdef __STDC__
14198 # include <limits.h>
14199 #else
14200 # include <assert.h>
14201 #endif
14202 /* Override any gcc2 internal prototype to avoid an error.  */
14203 #ifdef __cplusplus
14204 extern "C"
14205 {
14206 #endif
14207 /* We use char because int might match the return type of a gcc2
14208    builtin and then its argument prototype would still apply.  */
14209 char $ac_func ();
14210 /* The GNU C library defines this for functions which it implements
14211     to always fail with ENOSYS.  Some functions are actually named
14212     something starting with __ and the normal name is an alias.  */
14213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14214 choke me
14215 #else
14216 char (*f) () = $ac_func;
14217 #endif
14218 #ifdef __cplusplus
14219 }
14220 #endif
14221
14222 int
14223 main ()
14224 {
14225 return f != $ac_func;
14226   ;
14227   return 0;
14228 }
14229 _ACEOF
14230 rm -f conftest.$ac_objext conftest$ac_exeext
14231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14232   (eval $ac_link) 2>&5
14233   ac_status=$?
14234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235   (exit $ac_status); } &&
14236          { ac_try='test -s conftest$ac_exeext'
14237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238   (eval $ac_try) 2>&5
14239   ac_status=$?
14240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241   (exit $ac_status); }; }; then
14242   eval "$as_ac_var=yes"
14243 else
14244   echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.$ac_ext >&5
14246
14247 eval "$as_ac_var=no"
14248 fi
14249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14250 fi
14251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14253 if test `eval echo '${'$as_ac_var'}'` = yes; then
14254   cat >>confdefs.h <<_ACEOF
14255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14256 _ACEOF
14257
14258 fi
14259 done
14260
14261   else
14262
14263   echo "$as_me:$LINENO: checking for _modff declaration" >&5
14264 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14265   if test x${glibcxx_cv_func__modff_use+set} != xset; then
14266     if test "${glibcxx_cv_func__modff_use+set}" = set; then
14267   echo $ECHO_N "(cached) $ECHO_C" >&6
14268 else
14269
14270
14271
14272       ac_ext=cc
14273 ac_cpp='$CXXCPP $CPPFLAGS'
14274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14277
14278       cat >conftest.$ac_ext <<_ACEOF
14279 #line $LINENO "configure"
14280 /* confdefs.h.  */
14281 _ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h.  */
14285 #include <math.h>
14286 int
14287 main ()
14288 {
14289  _modff(0, 0);
14290   ;
14291   return 0;
14292 }
14293 _ACEOF
14294 rm -f conftest.$ac_objext
14295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14296   (eval $ac_compile) 2>&5
14297   ac_status=$?
14298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299   (exit $ac_status); } &&
14300          { ac_try='test -s conftest.$ac_objext'
14301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302   (eval $ac_try) 2>&5
14303   ac_status=$?
14304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305   (exit $ac_status); }; }; then
14306   glibcxx_cv_func__modff_use=yes
14307 else
14308   echo "$as_me: failed program was:" >&5
14309 sed 's/^/| /' conftest.$ac_ext >&5
14310
14311 glibcxx_cv_func__modff_use=no
14312 fi
14313 rm -f conftest.$ac_objext conftest.$ac_ext
14314       ac_ext=c
14315 ac_cpp='$CPP $CPPFLAGS'
14316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14319
14320
14321 fi
14322
14323   fi
14324   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14325 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14326
14327     if test x$glibcxx_cv_func__modff_use = x"yes"; then
14328
14329 for ac_func in _modff
14330 do
14331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14332 echo "$as_me:$LINENO: checking for $ac_func" >&5
14333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14334 if eval "test \"\${$as_ac_var+set}\" = set"; then
14335   echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337   cat >conftest.$ac_ext <<_ACEOF
14338 #line $LINENO "configure"
14339 /* confdefs.h.  */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h.  */
14344 /* System header to define __stub macros and hopefully few prototypes,
14345     which can conflict with char $ac_func (); below.
14346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14347     <limits.h> exists even on freestanding compilers.  */
14348 #ifdef __STDC__
14349 # include <limits.h>
14350 #else
14351 # include <assert.h>
14352 #endif
14353 /* Override any gcc2 internal prototype to avoid an error.  */
14354 #ifdef __cplusplus
14355 extern "C"
14356 {
14357 #endif
14358 /* We use char because int might match the return type of a gcc2
14359    builtin and then its argument prototype would still apply.  */
14360 char $ac_func ();
14361 /* The GNU C library defines this for functions which it implements
14362     to always fail with ENOSYS.  Some functions are actually named
14363     something starting with __ and the normal name is an alias.  */
14364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14365 choke me
14366 #else
14367 char (*f) () = $ac_func;
14368 #endif
14369 #ifdef __cplusplus
14370 }
14371 #endif
14372
14373 int
14374 main ()
14375 {
14376 return f != $ac_func;
14377   ;
14378   return 0;
14379 }
14380 _ACEOF
14381 rm -f conftest.$ac_objext conftest$ac_exeext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14383   (eval $ac_link) 2>&5
14384   ac_status=$?
14385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386   (exit $ac_status); } &&
14387          { ac_try='test -s conftest$ac_exeext'
14388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389   (eval $ac_try) 2>&5
14390   ac_status=$?
14391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392   (exit $ac_status); }; }; then
14393   eval "$as_ac_var=yes"
14394 else
14395   echo "$as_me: failed program was:" >&5
14396 sed 's/^/| /' conftest.$ac_ext >&5
14397
14398 eval "$as_ac_var=no"
14399 fi
14400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14401 fi
14402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14404 if test `eval echo '${'$as_ac_var'}'` = yes; then
14405   cat >>confdefs.h <<_ACEOF
14406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14407 _ACEOF
14408
14409 fi
14410 done
14411
14412     fi
14413   fi
14414
14415
14416
14417   echo "$as_me:$LINENO: checking for powf declaration" >&5
14418 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14419   if test x${glibcxx_cv_func_powf_use+set} != xset; then
14420     if test "${glibcxx_cv_func_powf_use+set}" = set; then
14421   echo $ECHO_N "(cached) $ECHO_C" >&6
14422 else
14423
14424
14425
14426       ac_ext=cc
14427 ac_cpp='$CXXCPP $CPPFLAGS'
14428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14431
14432       cat >conftest.$ac_ext <<_ACEOF
14433 #line $LINENO "configure"
14434 /* confdefs.h.  */
14435 _ACEOF
14436 cat confdefs.h >>conftest.$ac_ext
14437 cat >>conftest.$ac_ext <<_ACEOF
14438 /* end confdefs.h.  */
14439 #include <math.h>
14440 int
14441 main ()
14442 {
14443  powf(0, 0);
14444   ;
14445   return 0;
14446 }
14447 _ACEOF
14448 rm -f conftest.$ac_objext
14449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14450   (eval $ac_compile) 2>&5
14451   ac_status=$?
14452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453   (exit $ac_status); } &&
14454          { ac_try='test -s conftest.$ac_objext'
14455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456   (eval $ac_try) 2>&5
14457   ac_status=$?
14458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459   (exit $ac_status); }; }; then
14460   glibcxx_cv_func_powf_use=yes
14461 else
14462   echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.$ac_ext >&5
14464
14465 glibcxx_cv_func_powf_use=no
14466 fi
14467 rm -f conftest.$ac_objext conftest.$ac_ext
14468       ac_ext=c
14469 ac_cpp='$CPP $CPPFLAGS'
14470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14473
14474
14475 fi
14476
14477   fi
14478   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14479 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14480
14481   if test x$glibcxx_cv_func_powf_use = x"yes"; then
14482
14483 for ac_func in powf
14484 do
14485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14486 echo "$as_me:$LINENO: checking for $ac_func" >&5
14487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14488 if eval "test \"\${$as_ac_var+set}\" = set"; then
14489   echo $ECHO_N "(cached) $ECHO_C" >&6
14490 else
14491   cat >conftest.$ac_ext <<_ACEOF
14492 #line $LINENO "configure"
14493 /* confdefs.h.  */
14494 _ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h.  */
14498 /* System header to define __stub macros and hopefully few prototypes,
14499     which can conflict with char $ac_func (); below.
14500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14501     <limits.h> exists even on freestanding compilers.  */
14502 #ifdef __STDC__
14503 # include <limits.h>
14504 #else
14505 # include <assert.h>
14506 #endif
14507 /* Override any gcc2 internal prototype to avoid an error.  */
14508 #ifdef __cplusplus
14509 extern "C"
14510 {
14511 #endif
14512 /* We use char because int might match the return type of a gcc2
14513    builtin and then its argument prototype would still apply.  */
14514 char $ac_func ();
14515 /* The GNU C library defines this for functions which it implements
14516     to always fail with ENOSYS.  Some functions are actually named
14517     something starting with __ and the normal name is an alias.  */
14518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14519 choke me
14520 #else
14521 char (*f) () = $ac_func;
14522 #endif
14523 #ifdef __cplusplus
14524 }
14525 #endif
14526
14527 int
14528 main ()
14529 {
14530 return f != $ac_func;
14531   ;
14532   return 0;
14533 }
14534 _ACEOF
14535 rm -f conftest.$ac_objext conftest$ac_exeext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14537   (eval $ac_link) 2>&5
14538   ac_status=$?
14539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540   (exit $ac_status); } &&
14541          { ac_try='test -s conftest$ac_exeext'
14542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543   (eval $ac_try) 2>&5
14544   ac_status=$?
14545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546   (exit $ac_status); }; }; then
14547   eval "$as_ac_var=yes"
14548 else
14549   echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14551
14552 eval "$as_ac_var=no"
14553 fi
14554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14555 fi
14556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14558 if test `eval echo '${'$as_ac_var'}'` = yes; then
14559   cat >>confdefs.h <<_ACEOF
14560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14561 _ACEOF
14562
14563 fi
14564 done
14565
14566   else
14567
14568   echo "$as_me:$LINENO: checking for _powf declaration" >&5
14569 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14570   if test x${glibcxx_cv_func__powf_use+set} != xset; then
14571     if test "${glibcxx_cv_func__powf_use+set}" = set; then
14572   echo $ECHO_N "(cached) $ECHO_C" >&6
14573 else
14574
14575
14576
14577       ac_ext=cc
14578 ac_cpp='$CXXCPP $CPPFLAGS'
14579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14582
14583       cat >conftest.$ac_ext <<_ACEOF
14584 #line $LINENO "configure"
14585 /* confdefs.h.  */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h.  */
14590 #include <math.h>
14591 int
14592 main ()
14593 {
14594  _powf(0, 0);
14595   ;
14596   return 0;
14597 }
14598 _ACEOF
14599 rm -f conftest.$ac_objext
14600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14601   (eval $ac_compile) 2>&5
14602   ac_status=$?
14603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604   (exit $ac_status); } &&
14605          { ac_try='test -s conftest.$ac_objext'
14606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607   (eval $ac_try) 2>&5
14608   ac_status=$?
14609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610   (exit $ac_status); }; }; then
14611   glibcxx_cv_func__powf_use=yes
14612 else
14613   echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 glibcxx_cv_func__powf_use=no
14617 fi
14618 rm -f conftest.$ac_objext conftest.$ac_ext
14619       ac_ext=c
14620 ac_cpp='$CPP $CPPFLAGS'
14621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14624
14625
14626 fi
14627
14628   fi
14629   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14630 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14631
14632     if test x$glibcxx_cv_func__powf_use = x"yes"; then
14633
14634 for ac_func in _powf
14635 do
14636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14637 echo "$as_me:$LINENO: checking for $ac_func" >&5
14638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14639 if eval "test \"\${$as_ac_var+set}\" = set"; then
14640   echo $ECHO_N "(cached) $ECHO_C" >&6
14641 else
14642   cat >conftest.$ac_ext <<_ACEOF
14643 #line $LINENO "configure"
14644 /* confdefs.h.  */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h.  */
14649 /* System header to define __stub macros and hopefully few prototypes,
14650     which can conflict with char $ac_func (); below.
14651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14652     <limits.h> exists even on freestanding compilers.  */
14653 #ifdef __STDC__
14654 # include <limits.h>
14655 #else
14656 # include <assert.h>
14657 #endif
14658 /* Override any gcc2 internal prototype to avoid an error.  */
14659 #ifdef __cplusplus
14660 extern "C"
14661 {
14662 #endif
14663 /* We use char because int might match the return type of a gcc2
14664    builtin and then its argument prototype would still apply.  */
14665 char $ac_func ();
14666 /* The GNU C library defines this for functions which it implements
14667     to always fail with ENOSYS.  Some functions are actually named
14668     something starting with __ and the normal name is an alias.  */
14669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14670 choke me
14671 #else
14672 char (*f) () = $ac_func;
14673 #endif
14674 #ifdef __cplusplus
14675 }
14676 #endif
14677
14678 int
14679 main ()
14680 {
14681 return f != $ac_func;
14682   ;
14683   return 0;
14684 }
14685 _ACEOF
14686 rm -f conftest.$ac_objext conftest$ac_exeext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14688   (eval $ac_link) 2>&5
14689   ac_status=$?
14690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691   (exit $ac_status); } &&
14692          { ac_try='test -s conftest$ac_exeext'
14693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694   (eval $ac_try) 2>&5
14695   ac_status=$?
14696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697   (exit $ac_status); }; }; then
14698   eval "$as_ac_var=yes"
14699 else
14700   echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.$ac_ext >&5
14702
14703 eval "$as_ac_var=no"
14704 fi
14705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14706 fi
14707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14709 if test `eval echo '${'$as_ac_var'}'` = yes; then
14710   cat >>confdefs.h <<_ACEOF
14711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14712 _ACEOF
14713
14714 fi
14715 done
14716
14717     fi
14718   fi
14719
14720
14721
14722   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14723 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14724   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14725     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14726   echo $ECHO_N "(cached) $ECHO_C" >&6
14727 else
14728
14729
14730
14731       ac_ext=cc
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14736
14737       cat >conftest.$ac_ext <<_ACEOF
14738 #line $LINENO "configure"
14739 /* confdefs.h.  */
14740 _ACEOF
14741 cat confdefs.h >>conftest.$ac_ext
14742 cat >>conftest.$ac_ext <<_ACEOF
14743 /* end confdefs.h.  */
14744 #include <math.h>
14745                       #ifdef HAVE_IEEEFP_H
14746                       #include <ieeefp.h>
14747                       #endif
14748
14749 int
14750 main ()
14751 {
14752  sqrtf(0);
14753   ;
14754   return 0;
14755 }
14756 _ACEOF
14757 rm -f conftest.$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759   (eval $ac_compile) 2>&5
14760   ac_status=$?
14761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762   (exit $ac_status); } &&
14763          { ac_try='test -s conftest.$ac_objext'
14764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765   (eval $ac_try) 2>&5
14766   ac_status=$?
14767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768   (exit $ac_status); }; }; then
14769   glibcxx_cv_func_sqrtf_use=yes
14770 else
14771   echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.$ac_ext >&5
14773
14774 glibcxx_cv_func_sqrtf_use=no
14775 fi
14776 rm -f conftest.$ac_objext conftest.$ac_ext
14777       ac_ext=c
14778 ac_cpp='$CPP $CPPFLAGS'
14779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14782
14783
14784 fi
14785
14786   fi
14787   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14788 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14789
14790   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14791
14792 for ac_func in sqrtf
14793 do
14794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14795 echo "$as_me:$LINENO: checking for $ac_func" >&5
14796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14797 if eval "test \"\${$as_ac_var+set}\" = set"; then
14798   echo $ECHO_N "(cached) $ECHO_C" >&6
14799 else
14800   cat >conftest.$ac_ext <<_ACEOF
14801 #line $LINENO "configure"
14802 /* confdefs.h.  */
14803 _ACEOF
14804 cat confdefs.h >>conftest.$ac_ext
14805 cat >>conftest.$ac_ext <<_ACEOF
14806 /* end confdefs.h.  */
14807 /* System header to define __stub macros and hopefully few prototypes,
14808     which can conflict with char $ac_func (); below.
14809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14810     <limits.h> exists even on freestanding compilers.  */
14811 #ifdef __STDC__
14812 # include <limits.h>
14813 #else
14814 # include <assert.h>
14815 #endif
14816 /* Override any gcc2 internal prototype to avoid an error.  */
14817 #ifdef __cplusplus
14818 extern "C"
14819 {
14820 #endif
14821 /* We use char because int might match the return type of a gcc2
14822    builtin and then its argument prototype would still apply.  */
14823 char $ac_func ();
14824 /* The GNU C library defines this for functions which it implements
14825     to always fail with ENOSYS.  Some functions are actually named
14826     something starting with __ and the normal name is an alias.  */
14827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14828 choke me
14829 #else
14830 char (*f) () = $ac_func;
14831 #endif
14832 #ifdef __cplusplus
14833 }
14834 #endif
14835
14836 int
14837 main ()
14838 {
14839 return f != $ac_func;
14840   ;
14841   return 0;
14842 }
14843 _ACEOF
14844 rm -f conftest.$ac_objext conftest$ac_exeext
14845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14846   (eval $ac_link) 2>&5
14847   ac_status=$?
14848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849   (exit $ac_status); } &&
14850          { ac_try='test -s conftest$ac_exeext'
14851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852   (eval $ac_try) 2>&5
14853   ac_status=$?
14854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855   (exit $ac_status); }; }; then
14856   eval "$as_ac_var=yes"
14857 else
14858   echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.$ac_ext >&5
14860
14861 eval "$as_ac_var=no"
14862 fi
14863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14864 fi
14865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14867 if test `eval echo '${'$as_ac_var'}'` = yes; then
14868   cat >>confdefs.h <<_ACEOF
14869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14870 _ACEOF
14871
14872 fi
14873 done
14874
14875   else
14876
14877   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
14878 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
14879   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
14880     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
14881   echo $ECHO_N "(cached) $ECHO_C" >&6
14882 else
14883
14884
14885
14886       ac_ext=cc
14887 ac_cpp='$CXXCPP $CPPFLAGS'
14888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14891
14892       cat >conftest.$ac_ext <<_ACEOF
14893 #line $LINENO "configure"
14894 /* confdefs.h.  */
14895 _ACEOF
14896 cat confdefs.h >>conftest.$ac_ext
14897 cat >>conftest.$ac_ext <<_ACEOF
14898 /* end confdefs.h.  */
14899 #include <math.h>
14900                       #ifdef HAVE_IEEEFP_H
14901                       #include <ieeefp.h>
14902                       #endif
14903
14904 int
14905 main ()
14906 {
14907  _sqrtf(0);
14908   ;
14909   return 0;
14910 }
14911 _ACEOF
14912 rm -f conftest.$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914   (eval $ac_compile) 2>&5
14915   ac_status=$?
14916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917   (exit $ac_status); } &&
14918          { ac_try='test -s conftest.$ac_objext'
14919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920   (eval $ac_try) 2>&5
14921   ac_status=$?
14922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923   (exit $ac_status); }; }; then
14924   glibcxx_cv_func__sqrtf_use=yes
14925 else
14926   echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.$ac_ext >&5
14928
14929 glibcxx_cv_func__sqrtf_use=no
14930 fi
14931 rm -f conftest.$ac_objext conftest.$ac_ext
14932       ac_ext=c
14933 ac_cpp='$CPP $CPPFLAGS'
14934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14937
14938
14939 fi
14940
14941   fi
14942   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
14943 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
14944
14945     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
14946
14947 for ac_func in _sqrtf
14948 do
14949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14950 echo "$as_me:$LINENO: checking for $ac_func" >&5
14951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14952 if eval "test \"\${$as_ac_var+set}\" = set"; then
14953   echo $ECHO_N "(cached) $ECHO_C" >&6
14954 else
14955   cat >conftest.$ac_ext <<_ACEOF
14956 #line $LINENO "configure"
14957 /* confdefs.h.  */
14958 _ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h.  */
14962 /* System header to define __stub macros and hopefully few prototypes,
14963     which can conflict with char $ac_func (); below.
14964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14965     <limits.h> exists even on freestanding compilers.  */
14966 #ifdef __STDC__
14967 # include <limits.h>
14968 #else
14969 # include <assert.h>
14970 #endif
14971 /* Override any gcc2 internal prototype to avoid an error.  */
14972 #ifdef __cplusplus
14973 extern "C"
14974 {
14975 #endif
14976 /* We use char because int might match the return type of a gcc2
14977    builtin and then its argument prototype would still apply.  */
14978 char $ac_func ();
14979 /* The GNU C library defines this for functions which it implements
14980     to always fail with ENOSYS.  Some functions are actually named
14981     something starting with __ and the normal name is an alias.  */
14982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14983 choke me
14984 #else
14985 char (*f) () = $ac_func;
14986 #endif
14987 #ifdef __cplusplus
14988 }
14989 #endif
14990
14991 int
14992 main ()
14993 {
14994 return f != $ac_func;
14995   ;
14996   return 0;
14997 }
14998 _ACEOF
14999 rm -f conftest.$ac_objext conftest$ac_exeext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15001   (eval $ac_link) 2>&5
15002   ac_status=$?
15003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004   (exit $ac_status); } &&
15005          { ac_try='test -s conftest$ac_exeext'
15006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007   (eval $ac_try) 2>&5
15008   ac_status=$?
15009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010   (exit $ac_status); }; }; then
15011   eval "$as_ac_var=yes"
15012 else
15013   echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.$ac_ext >&5
15015
15016 eval "$as_ac_var=no"
15017 fi
15018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15019 fi
15020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15022 if test `eval echo '${'$as_ac_var'}'` = yes; then
15023   cat >>confdefs.h <<_ACEOF
15024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15025 _ACEOF
15026
15027 fi
15028 done
15029
15030     fi
15031   fi
15032
15033
15034
15035   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15036 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15037   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15038     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15039   echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041
15042
15043
15044       ac_ext=cc
15045 ac_cpp='$CXXCPP $CPPFLAGS'
15046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15049
15050       cat >conftest.$ac_ext <<_ACEOF
15051 #line $LINENO "configure"
15052 /* confdefs.h.  */
15053 _ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h.  */
15057 #include <math.h>
15058 int
15059 main ()
15060 {
15061  sincosf(0, 0, 0);
15062   ;
15063   return 0;
15064 }
15065 _ACEOF
15066 rm -f conftest.$ac_objext
15067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15068   (eval $ac_compile) 2>&5
15069   ac_status=$?
15070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071   (exit $ac_status); } &&
15072          { ac_try='test -s conftest.$ac_objext'
15073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074   (eval $ac_try) 2>&5
15075   ac_status=$?
15076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077   (exit $ac_status); }; }; then
15078   glibcxx_cv_func_sincosf_use=yes
15079 else
15080   echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.$ac_ext >&5
15082
15083 glibcxx_cv_func_sincosf_use=no
15084 fi
15085 rm -f conftest.$ac_objext conftest.$ac_ext
15086       ac_ext=c
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15091
15092
15093 fi
15094
15095   fi
15096   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15097 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15098
15099   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15100
15101 for ac_func in sincosf
15102 do
15103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15104 echo "$as_me:$LINENO: checking for $ac_func" >&5
15105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15106 if eval "test \"\${$as_ac_var+set}\" = set"; then
15107   echo $ECHO_N "(cached) $ECHO_C" >&6
15108 else
15109   cat >conftest.$ac_ext <<_ACEOF
15110 #line $LINENO "configure"
15111 /* confdefs.h.  */
15112 _ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h.  */
15116 /* System header to define __stub macros and hopefully few prototypes,
15117     which can conflict with char $ac_func (); below.
15118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15119     <limits.h> exists even on freestanding compilers.  */
15120 #ifdef __STDC__
15121 # include <limits.h>
15122 #else
15123 # include <assert.h>
15124 #endif
15125 /* Override any gcc2 internal prototype to avoid an error.  */
15126 #ifdef __cplusplus
15127 extern "C"
15128 {
15129 #endif
15130 /* We use char because int might match the return type of a gcc2
15131    builtin and then its argument prototype would still apply.  */
15132 char $ac_func ();
15133 /* The GNU C library defines this for functions which it implements
15134     to always fail with ENOSYS.  Some functions are actually named
15135     something starting with __ and the normal name is an alias.  */
15136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15137 choke me
15138 #else
15139 char (*f) () = $ac_func;
15140 #endif
15141 #ifdef __cplusplus
15142 }
15143 #endif
15144
15145 int
15146 main ()
15147 {
15148 return f != $ac_func;
15149   ;
15150   return 0;
15151 }
15152 _ACEOF
15153 rm -f conftest.$ac_objext conftest$ac_exeext
15154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15155   (eval $ac_link) 2>&5
15156   ac_status=$?
15157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158   (exit $ac_status); } &&
15159          { ac_try='test -s conftest$ac_exeext'
15160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161   (eval $ac_try) 2>&5
15162   ac_status=$?
15163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164   (exit $ac_status); }; }; then
15165   eval "$as_ac_var=yes"
15166 else
15167   echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15169
15170 eval "$as_ac_var=no"
15171 fi
15172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15173 fi
15174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15176 if test `eval echo '${'$as_ac_var'}'` = yes; then
15177   cat >>confdefs.h <<_ACEOF
15178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15179 _ACEOF
15180
15181 fi
15182 done
15183
15184   else
15185
15186   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15187 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15188   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15189     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15190   echo $ECHO_N "(cached) $ECHO_C" >&6
15191 else
15192
15193
15194
15195       ac_ext=cc
15196 ac_cpp='$CXXCPP $CPPFLAGS'
15197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15200
15201       cat >conftest.$ac_ext <<_ACEOF
15202 #line $LINENO "configure"
15203 /* confdefs.h.  */
15204 _ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h.  */
15208 #include <math.h>
15209 int
15210 main ()
15211 {
15212  _sincosf(0, 0, 0);
15213   ;
15214   return 0;
15215 }
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15219   (eval $ac_compile) 2>&5
15220   ac_status=$?
15221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222   (exit $ac_status); } &&
15223          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func__sincosf_use=yes
15230 else
15231   echo "$as_me: failed program was:" >&5
15232 sed 's/^/| /' conftest.$ac_ext >&5
15233
15234 glibcxx_cv_func__sincosf_use=no
15235 fi
15236 rm -f conftest.$ac_objext conftest.$ac_ext
15237       ac_ext=c
15238 ac_cpp='$CPP $CPPFLAGS'
15239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15242
15243
15244 fi
15245
15246   fi
15247   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15248 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15249
15250     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15251
15252 for ac_func in _sincosf
15253 do
15254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15255 echo "$as_me:$LINENO: checking for $ac_func" >&5
15256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15257 if eval "test \"\${$as_ac_var+set}\" = set"; then
15258   echo $ECHO_N "(cached) $ECHO_C" >&6
15259 else
15260   cat >conftest.$ac_ext <<_ACEOF
15261 #line $LINENO "configure"
15262 /* confdefs.h.  */
15263 _ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h.  */
15267 /* System header to define __stub macros and hopefully few prototypes,
15268     which can conflict with char $ac_func (); below.
15269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15270     <limits.h> exists even on freestanding compilers.  */
15271 #ifdef __STDC__
15272 # include <limits.h>
15273 #else
15274 # include <assert.h>
15275 #endif
15276 /* Override any gcc2 internal prototype to avoid an error.  */
15277 #ifdef __cplusplus
15278 extern "C"
15279 {
15280 #endif
15281 /* We use char because int might match the return type of a gcc2
15282    builtin and then its argument prototype would still apply.  */
15283 char $ac_func ();
15284 /* The GNU C library defines this for functions which it implements
15285     to always fail with ENOSYS.  Some functions are actually named
15286     something starting with __ and the normal name is an alias.  */
15287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15288 choke me
15289 #else
15290 char (*f) () = $ac_func;
15291 #endif
15292 #ifdef __cplusplus
15293 }
15294 #endif
15295
15296 int
15297 main ()
15298 {
15299 return f != $ac_func;
15300   ;
15301   return 0;
15302 }
15303 _ACEOF
15304 rm -f conftest.$ac_objext conftest$ac_exeext
15305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15306   (eval $ac_link) 2>&5
15307   ac_status=$?
15308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309   (exit $ac_status); } &&
15310          { ac_try='test -s conftest$ac_exeext'
15311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312   (eval $ac_try) 2>&5
15313   ac_status=$?
15314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315   (exit $ac_status); }; }; then
15316   eval "$as_ac_var=yes"
15317 else
15318   echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.$ac_ext >&5
15320
15321 eval "$as_ac_var=no"
15322 fi
15323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15324 fi
15325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15327 if test `eval echo '${'$as_ac_var'}'` = yes; then
15328   cat >>confdefs.h <<_ACEOF
15329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15330 _ACEOF
15331
15332 fi
15333 done
15334
15335     fi
15336   fi
15337
15338
15339
15340   echo "$as_me:$LINENO: checking for finitef declaration" >&5
15341 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15342   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15343     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15344   echo $ECHO_N "(cached) $ECHO_C" >&6
15345 else
15346
15347
15348
15349       ac_ext=cc
15350 ac_cpp='$CXXCPP $CPPFLAGS'
15351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15354
15355       cat >conftest.$ac_ext <<_ACEOF
15356 #line $LINENO "configure"
15357 /* confdefs.h.  */
15358 _ACEOF
15359 cat confdefs.h >>conftest.$ac_ext
15360 cat >>conftest.$ac_ext <<_ACEOF
15361 /* end confdefs.h.  */
15362 #include <math.h>
15363                       #ifdef HAVE_IEEEFP_H
15364                       #include <ieeefp.h>
15365                       #endif
15366
15367 int
15368 main ()
15369 {
15370  finitef(0);
15371   ;
15372   return 0;
15373 }
15374 _ACEOF
15375 rm -f conftest.$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377   (eval $ac_compile) 2>&5
15378   ac_status=$?
15379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380   (exit $ac_status); } &&
15381          { ac_try='test -s conftest.$ac_objext'
15382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383   (eval $ac_try) 2>&5
15384   ac_status=$?
15385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386   (exit $ac_status); }; }; then
15387   glibcxx_cv_func_finitef_use=yes
15388 else
15389   echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.$ac_ext >&5
15391
15392 glibcxx_cv_func_finitef_use=no
15393 fi
15394 rm -f conftest.$ac_objext conftest.$ac_ext
15395       ac_ext=c
15396 ac_cpp='$CPP $CPPFLAGS'
15397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15400
15401
15402 fi
15403
15404   fi
15405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15406 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15407
15408   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15409
15410 for ac_func in finitef
15411 do
15412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15413 echo "$as_me:$LINENO: checking for $ac_func" >&5
15414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15415 if eval "test \"\${$as_ac_var+set}\" = set"; then
15416   echo $ECHO_N "(cached) $ECHO_C" >&6
15417 else
15418   cat >conftest.$ac_ext <<_ACEOF
15419 #line $LINENO "configure"
15420 /* confdefs.h.  */
15421 _ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h.  */
15425 /* System header to define __stub macros and hopefully few prototypes,
15426     which can conflict with char $ac_func (); below.
15427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15428     <limits.h> exists even on freestanding compilers.  */
15429 #ifdef __STDC__
15430 # include <limits.h>
15431 #else
15432 # include <assert.h>
15433 #endif
15434 /* Override any gcc2 internal prototype to avoid an error.  */
15435 #ifdef __cplusplus
15436 extern "C"
15437 {
15438 #endif
15439 /* We use char because int might match the return type of a gcc2
15440    builtin and then its argument prototype would still apply.  */
15441 char $ac_func ();
15442 /* The GNU C library defines this for functions which it implements
15443     to always fail with ENOSYS.  Some functions are actually named
15444     something starting with __ and the normal name is an alias.  */
15445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15446 choke me
15447 #else
15448 char (*f) () = $ac_func;
15449 #endif
15450 #ifdef __cplusplus
15451 }
15452 #endif
15453
15454 int
15455 main ()
15456 {
15457 return f != $ac_func;
15458   ;
15459   return 0;
15460 }
15461 _ACEOF
15462 rm -f conftest.$ac_objext conftest$ac_exeext
15463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15464   (eval $ac_link) 2>&5
15465   ac_status=$?
15466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467   (exit $ac_status); } &&
15468          { ac_try='test -s conftest$ac_exeext'
15469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470   (eval $ac_try) 2>&5
15471   ac_status=$?
15472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473   (exit $ac_status); }; }; then
15474   eval "$as_ac_var=yes"
15475 else
15476   echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15478
15479 eval "$as_ac_var=no"
15480 fi
15481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15482 fi
15483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15485 if test `eval echo '${'$as_ac_var'}'` = yes; then
15486   cat >>confdefs.h <<_ACEOF
15487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15488 _ACEOF
15489
15490 fi
15491 done
15492
15493   else
15494
15495   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15496 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15497   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15498     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15499   echo $ECHO_N "(cached) $ECHO_C" >&6
15500 else
15501
15502
15503
15504       ac_ext=cc
15505 ac_cpp='$CXXCPP $CPPFLAGS'
15506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15509
15510       cat >conftest.$ac_ext <<_ACEOF
15511 #line $LINENO "configure"
15512 /* confdefs.h.  */
15513 _ACEOF
15514 cat confdefs.h >>conftest.$ac_ext
15515 cat >>conftest.$ac_ext <<_ACEOF
15516 /* end confdefs.h.  */
15517 #include <math.h>
15518                       #ifdef HAVE_IEEEFP_H
15519                       #include <ieeefp.h>
15520                       #endif
15521
15522 int
15523 main ()
15524 {
15525  _finitef(0);
15526   ;
15527   return 0;
15528 }
15529 _ACEOF
15530 rm -f conftest.$ac_objext
15531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15532   (eval $ac_compile) 2>&5
15533   ac_status=$?
15534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535   (exit $ac_status); } &&
15536          { ac_try='test -s conftest.$ac_objext'
15537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538   (eval $ac_try) 2>&5
15539   ac_status=$?
15540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541   (exit $ac_status); }; }; then
15542   glibcxx_cv_func__finitef_use=yes
15543 else
15544   echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.$ac_ext >&5
15546
15547 glibcxx_cv_func__finitef_use=no
15548 fi
15549 rm -f conftest.$ac_objext conftest.$ac_ext
15550       ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15555
15556
15557 fi
15558
15559   fi
15560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15561 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15562
15563     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15564
15565 for ac_func in _finitef
15566 do
15567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15568 echo "$as_me:$LINENO: checking for $ac_func" >&5
15569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15570 if eval "test \"\${$as_ac_var+set}\" = set"; then
15571   echo $ECHO_N "(cached) $ECHO_C" >&6
15572 else
15573   cat >conftest.$ac_ext <<_ACEOF
15574 #line $LINENO "configure"
15575 /* confdefs.h.  */
15576 _ACEOF
15577 cat confdefs.h >>conftest.$ac_ext
15578 cat >>conftest.$ac_ext <<_ACEOF
15579 /* end confdefs.h.  */
15580 /* System header to define __stub macros and hopefully few prototypes,
15581     which can conflict with char $ac_func (); below.
15582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15583     <limits.h> exists even on freestanding compilers.  */
15584 #ifdef __STDC__
15585 # include <limits.h>
15586 #else
15587 # include <assert.h>
15588 #endif
15589 /* Override any gcc2 internal prototype to avoid an error.  */
15590 #ifdef __cplusplus
15591 extern "C"
15592 {
15593 #endif
15594 /* We use char because int might match the return type of a gcc2
15595    builtin and then its argument prototype would still apply.  */
15596 char $ac_func ();
15597 /* The GNU C library defines this for functions which it implements
15598     to always fail with ENOSYS.  Some functions are actually named
15599     something starting with __ and the normal name is an alias.  */
15600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15601 choke me
15602 #else
15603 char (*f) () = $ac_func;
15604 #endif
15605 #ifdef __cplusplus
15606 }
15607 #endif
15608
15609 int
15610 main ()
15611 {
15612 return f != $ac_func;
15613   ;
15614   return 0;
15615 }
15616 _ACEOF
15617 rm -f conftest.$ac_objext conftest$ac_exeext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15619   (eval $ac_link) 2>&5
15620   ac_status=$?
15621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622   (exit $ac_status); } &&
15623          { ac_try='test -s conftest$ac_exeext'
15624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625   (eval $ac_try) 2>&5
15626   ac_status=$?
15627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628   (exit $ac_status); }; }; then
15629   eval "$as_ac_var=yes"
15630 else
15631   echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.$ac_ext >&5
15633
15634 eval "$as_ac_var=no"
15635 fi
15636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15637 fi
15638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15640 if test `eval echo '${'$as_ac_var'}'` = yes; then
15641   cat >>confdefs.h <<_ACEOF
15642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15643 _ACEOF
15644
15645 fi
15646 done
15647
15648     fi
15649   fi
15650
15651
15652
15653   echo "$as_me:$LINENO: checking for long double trig functions" >&5
15654 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15655   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15656   echo $ECHO_N "(cached) $ECHO_C" >&6
15657 else
15658
15659
15660
15661     ac_ext=cc
15662 ac_cpp='$CXXCPP $CPPFLAGS'
15663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15666
15667     cat >conftest.$ac_ext <<_ACEOF
15668 #line $LINENO "configure"
15669 /* confdefs.h.  */
15670 _ACEOF
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h.  */
15674 #include <math.h>
15675 int
15676 main ()
15677 {
15678  `for x in acosl asinl atanl \
15679                                           cosl sinl tanl \
15680                                           coshl sinhl tanhl; do echo "$x (0);"; done`
15681   ;
15682   return 0;
15683 }
15684 _ACEOF
15685 rm -f conftest.$ac_objext
15686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15687   (eval $ac_compile) 2>&5
15688   ac_status=$?
15689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690   (exit $ac_status); } &&
15691          { ac_try='test -s conftest.$ac_objext'
15692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693   (eval $ac_try) 2>&5
15694   ac_status=$?
15695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696   (exit $ac_status); }; }; then
15697   glibcxx_cv_func_long_double_trig_use=yes
15698 else
15699   echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15701
15702 glibcxx_cv_func_long_double_trig_use=no
15703 fi
15704 rm -f conftest.$ac_objext conftest.$ac_ext
15705     ac_ext=c
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15710
15711 fi
15712
15713   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15714 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15715   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725 for ac_func in acosl asinl atanl \
15726                                           cosl sinl tanl \
15727                                           coshl sinhl tanhl
15728 do
15729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15730 echo "$as_me:$LINENO: checking for $ac_func" >&5
15731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15732 if eval "test \"\${$as_ac_var+set}\" = set"; then
15733   echo $ECHO_N "(cached) $ECHO_C" >&6
15734 else
15735   cat >conftest.$ac_ext <<_ACEOF
15736 #line $LINENO "configure"
15737 /* confdefs.h.  */
15738 _ACEOF
15739 cat confdefs.h >>conftest.$ac_ext
15740 cat >>conftest.$ac_ext <<_ACEOF
15741 /* end confdefs.h.  */
15742 /* System header to define __stub macros and hopefully few prototypes,
15743     which can conflict with char $ac_func (); below.
15744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15745     <limits.h> exists even on freestanding compilers.  */
15746 #ifdef __STDC__
15747 # include <limits.h>
15748 #else
15749 # include <assert.h>
15750 #endif
15751 /* Override any gcc2 internal prototype to avoid an error.  */
15752 #ifdef __cplusplus
15753 extern "C"
15754 {
15755 #endif
15756 /* We use char because int might match the return type of a gcc2
15757    builtin and then its argument prototype would still apply.  */
15758 char $ac_func ();
15759 /* The GNU C library defines this for functions which it implements
15760     to always fail with ENOSYS.  Some functions are actually named
15761     something starting with __ and the normal name is an alias.  */
15762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15763 choke me
15764 #else
15765 char (*f) () = $ac_func;
15766 #endif
15767 #ifdef __cplusplus
15768 }
15769 #endif
15770
15771 int
15772 main ()
15773 {
15774 return f != $ac_func;
15775   ;
15776   return 0;
15777 }
15778 _ACEOF
15779 rm -f conftest.$ac_objext conftest$ac_exeext
15780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15781   (eval $ac_link) 2>&5
15782   ac_status=$?
15783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784   (exit $ac_status); } &&
15785          { ac_try='test -s conftest$ac_exeext'
15786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787   (eval $ac_try) 2>&5
15788   ac_status=$?
15789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790   (exit $ac_status); }; }; then
15791   eval "$as_ac_var=yes"
15792 else
15793   echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15795
15796 eval "$as_ac_var=no"
15797 fi
15798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15799 fi
15800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15802 if test `eval echo '${'$as_ac_var'}'` = yes; then
15803   cat >>confdefs.h <<_ACEOF
15804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15805 _ACEOF
15806
15807 fi
15808 done
15809
15810   fi
15811
15812
15813   echo "$as_me:$LINENO: checking for long double round functions" >&5
15814 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
15815   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
15816   echo $ECHO_N "(cached) $ECHO_C" >&6
15817 else
15818
15819
15820
15821     ac_ext=cc
15822 ac_cpp='$CXXCPP $CPPFLAGS'
15823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15826
15827     cat >conftest.$ac_ext <<_ACEOF
15828 #line $LINENO "configure"
15829 /* confdefs.h.  */
15830 _ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h.  */
15834 #include <math.h>
15835 int
15836 main ()
15837 {
15838  `for x in ceill floorl; do echo "$x (0);"; done`
15839   ;
15840   return 0;
15841 }
15842 _ACEOF
15843 rm -f conftest.$ac_objext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845   (eval $ac_compile) 2>&5
15846   ac_status=$?
15847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848   (exit $ac_status); } &&
15849          { ac_try='test -s conftest.$ac_objext'
15850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851   (eval $ac_try) 2>&5
15852   ac_status=$?
15853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854   (exit $ac_status); }; }; then
15855   glibcxx_cv_func_long_double_round_use=yes
15856 else
15857   echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15859
15860 glibcxx_cv_func_long_double_round_use=no
15861 fi
15862 rm -f conftest.$ac_objext conftest.$ac_ext
15863     ac_ext=c
15864 ac_cpp='$CPP $CPPFLAGS'
15865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15868
15869 fi
15870
15871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
15872 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
15873   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
15874
15875
15876 for ac_func in ceill floorl
15877 do
15878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15879 echo "$as_me:$LINENO: checking for $ac_func" >&5
15880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15881 if eval "test \"\${$as_ac_var+set}\" = set"; then
15882   echo $ECHO_N "(cached) $ECHO_C" >&6
15883 else
15884   cat >conftest.$ac_ext <<_ACEOF
15885 #line $LINENO "configure"
15886 /* confdefs.h.  */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h.  */
15891 /* System header to define __stub macros and hopefully few prototypes,
15892     which can conflict with char $ac_func (); below.
15893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15894     <limits.h> exists even on freestanding compilers.  */
15895 #ifdef __STDC__
15896 # include <limits.h>
15897 #else
15898 # include <assert.h>
15899 #endif
15900 /* Override any gcc2 internal prototype to avoid an error.  */
15901 #ifdef __cplusplus
15902 extern "C"
15903 {
15904 #endif
15905 /* We use char because int might match the return type of a gcc2
15906    builtin and then its argument prototype would still apply.  */
15907 char $ac_func ();
15908 /* The GNU C library defines this for functions which it implements
15909     to always fail with ENOSYS.  Some functions are actually named
15910     something starting with __ and the normal name is an alias.  */
15911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15912 choke me
15913 #else
15914 char (*f) () = $ac_func;
15915 #endif
15916 #ifdef __cplusplus
15917 }
15918 #endif
15919
15920 int
15921 main ()
15922 {
15923 return f != $ac_func;
15924   ;
15925   return 0;
15926 }
15927 _ACEOF
15928 rm -f conftest.$ac_objext conftest$ac_exeext
15929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15930   (eval $ac_link) 2>&5
15931   ac_status=$?
15932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933   (exit $ac_status); } &&
15934          { ac_try='test -s conftest$ac_exeext'
15935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936   (eval $ac_try) 2>&5
15937   ac_status=$?
15938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939   (exit $ac_status); }; }; then
15940   eval "$as_ac_var=yes"
15941 else
15942   echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15944
15945 eval "$as_ac_var=no"
15946 fi
15947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15948 fi
15949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15951 if test `eval echo '${'$as_ac_var'}'` = yes; then
15952   cat >>confdefs.h <<_ACEOF
15953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15954 _ACEOF
15955
15956 fi
15957 done
15958
15959   fi
15960
15961
15962
15963   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
15964 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
15965   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
15966     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
15967   echo $ECHO_N "(cached) $ECHO_C" >&6
15968 else
15969
15970
15971
15972       ac_ext=cc
15973 ac_cpp='$CXXCPP $CPPFLAGS'
15974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15977
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 #include <math.h>
15986                       #ifdef HAVE_IEEEFP_H
15987                       #include <ieeefp.h>
15988                       #endif
15989
15990 int
15991 main ()
15992 {
15993  isnanl(0);
15994   ;
15995   return 0;
15996 }
15997 _ACEOF
15998 rm -f conftest.$ac_objext
15999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16000   (eval $ac_compile) 2>&5
16001   ac_status=$?
16002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003   (exit $ac_status); } &&
16004          { ac_try='test -s conftest.$ac_objext'
16005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006   (eval $ac_try) 2>&5
16007   ac_status=$?
16008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009   (exit $ac_status); }; }; then
16010   glibcxx_cv_func_isnanl_use=yes
16011 else
16012   echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.$ac_ext >&5
16014
16015 glibcxx_cv_func_isnanl_use=no
16016 fi
16017 rm -f conftest.$ac_objext conftest.$ac_ext
16018       ac_ext=c
16019 ac_cpp='$CPP $CPPFLAGS'
16020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16023
16024
16025 fi
16026
16027   fi
16028   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16029 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16030
16031   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16032
16033 for ac_func in isnanl
16034 do
16035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16036 echo "$as_me:$LINENO: checking for $ac_func" >&5
16037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16038 if eval "test \"\${$as_ac_var+set}\" = set"; then
16039   echo $ECHO_N "(cached) $ECHO_C" >&6
16040 else
16041   cat >conftest.$ac_ext <<_ACEOF
16042 #line $LINENO "configure"
16043 /* confdefs.h.  */
16044 _ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h.  */
16048 /* System header to define __stub macros and hopefully few prototypes,
16049     which can conflict with char $ac_func (); below.
16050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16051     <limits.h> exists even on freestanding compilers.  */
16052 #ifdef __STDC__
16053 # include <limits.h>
16054 #else
16055 # include <assert.h>
16056 #endif
16057 /* Override any gcc2 internal prototype to avoid an error.  */
16058 #ifdef __cplusplus
16059 extern "C"
16060 {
16061 #endif
16062 /* We use char because int might match the return type of a gcc2
16063    builtin and then its argument prototype would still apply.  */
16064 char $ac_func ();
16065 /* The GNU C library defines this for functions which it implements
16066     to always fail with ENOSYS.  Some functions are actually named
16067     something starting with __ and the normal name is an alias.  */
16068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16069 choke me
16070 #else
16071 char (*f) () = $ac_func;
16072 #endif
16073 #ifdef __cplusplus
16074 }
16075 #endif
16076
16077 int
16078 main ()
16079 {
16080 return f != $ac_func;
16081   ;
16082   return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest.$ac_objext conftest$ac_exeext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16087   (eval $ac_link) 2>&5
16088   ac_status=$?
16089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090   (exit $ac_status); } &&
16091          { ac_try='test -s conftest$ac_exeext'
16092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093   (eval $ac_try) 2>&5
16094   ac_status=$?
16095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096   (exit $ac_status); }; }; then
16097   eval "$as_ac_var=yes"
16098 else
16099   echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16101
16102 eval "$as_ac_var=no"
16103 fi
16104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16105 fi
16106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16108 if test `eval echo '${'$as_ac_var'}'` = yes; then
16109   cat >>confdefs.h <<_ACEOF
16110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16111 _ACEOF
16112
16113 fi
16114 done
16115
16116   else
16117
16118   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16119 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16120   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16121     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16122   echo $ECHO_N "(cached) $ECHO_C" >&6
16123 else
16124
16125
16126
16127       ac_ext=cc
16128 ac_cpp='$CXXCPP $CPPFLAGS'
16129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16132
16133       cat >conftest.$ac_ext <<_ACEOF
16134 #line $LINENO "configure"
16135 /* confdefs.h.  */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h.  */
16140 #include <math.h>
16141                       #ifdef HAVE_IEEEFP_H
16142                       #include <ieeefp.h>
16143                       #endif
16144
16145 int
16146 main ()
16147 {
16148  _isnanl(0);
16149   ;
16150   return 0;
16151 }
16152 _ACEOF
16153 rm -f conftest.$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155   (eval $ac_compile) 2>&5
16156   ac_status=$?
16157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158   (exit $ac_status); } &&
16159          { ac_try='test -s conftest.$ac_objext'
16160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161   (eval $ac_try) 2>&5
16162   ac_status=$?
16163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164   (exit $ac_status); }; }; then
16165   glibcxx_cv_func__isnanl_use=yes
16166 else
16167   echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16169
16170 glibcxx_cv_func__isnanl_use=no
16171 fi
16172 rm -f conftest.$ac_objext conftest.$ac_ext
16173       ac_ext=c
16174 ac_cpp='$CPP $CPPFLAGS'
16175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16178
16179
16180 fi
16181
16182   fi
16183   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16184 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16185
16186     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16187
16188 for ac_func in _isnanl
16189 do
16190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16191 echo "$as_me:$LINENO: checking for $ac_func" >&5
16192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16193 if eval "test \"\${$as_ac_var+set}\" = set"; then
16194   echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196   cat >conftest.$ac_ext <<_ACEOF
16197 #line $LINENO "configure"
16198 /* confdefs.h.  */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h.  */
16203 /* System header to define __stub macros and hopefully few prototypes,
16204     which can conflict with char $ac_func (); below.
16205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16206     <limits.h> exists even on freestanding compilers.  */
16207 #ifdef __STDC__
16208 # include <limits.h>
16209 #else
16210 # include <assert.h>
16211 #endif
16212 /* Override any gcc2 internal prototype to avoid an error.  */
16213 #ifdef __cplusplus
16214 extern "C"
16215 {
16216 #endif
16217 /* We use char because int might match the return type of a gcc2
16218    builtin and then its argument prototype would still apply.  */
16219 char $ac_func ();
16220 /* The GNU C library defines this for functions which it implements
16221     to always fail with ENOSYS.  Some functions are actually named
16222     something starting with __ and the normal name is an alias.  */
16223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16224 choke me
16225 #else
16226 char (*f) () = $ac_func;
16227 #endif
16228 #ifdef __cplusplus
16229 }
16230 #endif
16231
16232 int
16233 main ()
16234 {
16235 return f != $ac_func;
16236   ;
16237   return 0;
16238 }
16239 _ACEOF
16240 rm -f conftest.$ac_objext conftest$ac_exeext
16241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16242   (eval $ac_link) 2>&5
16243   ac_status=$?
16244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245   (exit $ac_status); } &&
16246          { ac_try='test -s conftest$ac_exeext'
16247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248   (eval $ac_try) 2>&5
16249   ac_status=$?
16250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251   (exit $ac_status); }; }; then
16252   eval "$as_ac_var=yes"
16253 else
16254   echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 eval "$as_ac_var=no"
16258 fi
16259 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16260 fi
16261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16263 if test `eval echo '${'$as_ac_var'}'` = yes; then
16264   cat >>confdefs.h <<_ACEOF
16265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16266 _ACEOF
16267
16268 fi
16269 done
16270
16271     fi
16272   fi
16273
16274
16275
16276   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16277 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16278   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16279     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16280   echo $ECHO_N "(cached) $ECHO_C" >&6
16281 else
16282
16283
16284
16285       ac_ext=cc
16286 ac_cpp='$CXXCPP $CPPFLAGS'
16287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16290
16291       cat >conftest.$ac_ext <<_ACEOF
16292 #line $LINENO "configure"
16293 /* confdefs.h.  */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h.  */
16298 #include <math.h>
16299                       #ifdef HAVE_IEEEFP_H
16300                       #include <ieeefp.h>
16301                       #endif
16302
16303 int
16304 main ()
16305 {
16306  isinfl(0);
16307   ;
16308   return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313   (eval $ac_compile) 2>&5
16314   ac_status=$?
16315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316   (exit $ac_status); } &&
16317          { ac_try='test -s conftest.$ac_objext'
16318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319   (eval $ac_try) 2>&5
16320   ac_status=$?
16321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322   (exit $ac_status); }; }; then
16323   glibcxx_cv_func_isinfl_use=yes
16324 else
16325   echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.$ac_ext >&5
16327
16328 glibcxx_cv_func_isinfl_use=no
16329 fi
16330 rm -f conftest.$ac_objext conftest.$ac_ext
16331       ac_ext=c
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16336
16337
16338 fi
16339
16340   fi
16341   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16342 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16343
16344   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16345
16346 for ac_func in isinfl
16347 do
16348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16349 echo "$as_me:$LINENO: checking for $ac_func" >&5
16350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16351 if eval "test \"\${$as_ac_var+set}\" = set"; then
16352   echo $ECHO_N "(cached) $ECHO_C" >&6
16353 else
16354   cat >conftest.$ac_ext <<_ACEOF
16355 #line $LINENO "configure"
16356 /* confdefs.h.  */
16357 _ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h.  */
16361 /* System header to define __stub macros and hopefully few prototypes,
16362     which can conflict with char $ac_func (); below.
16363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16364     <limits.h> exists even on freestanding compilers.  */
16365 #ifdef __STDC__
16366 # include <limits.h>
16367 #else
16368 # include <assert.h>
16369 #endif
16370 /* Override any gcc2 internal prototype to avoid an error.  */
16371 #ifdef __cplusplus
16372 extern "C"
16373 {
16374 #endif
16375 /* We use char because int might match the return type of a gcc2
16376    builtin and then its argument prototype would still apply.  */
16377 char $ac_func ();
16378 /* The GNU C library defines this for functions which it implements
16379     to always fail with ENOSYS.  Some functions are actually named
16380     something starting with __ and the normal name is an alias.  */
16381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16382 choke me
16383 #else
16384 char (*f) () = $ac_func;
16385 #endif
16386 #ifdef __cplusplus
16387 }
16388 #endif
16389
16390 int
16391 main ()
16392 {
16393 return f != $ac_func;
16394   ;
16395   return 0;
16396 }
16397 _ACEOF
16398 rm -f conftest.$ac_objext conftest$ac_exeext
16399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16400   (eval $ac_link) 2>&5
16401   ac_status=$?
16402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403   (exit $ac_status); } &&
16404          { ac_try='test -s conftest$ac_exeext'
16405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406   (eval $ac_try) 2>&5
16407   ac_status=$?
16408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409   (exit $ac_status); }; }; then
16410   eval "$as_ac_var=yes"
16411 else
16412   echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.$ac_ext >&5
16414
16415 eval "$as_ac_var=no"
16416 fi
16417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16418 fi
16419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16421 if test `eval echo '${'$as_ac_var'}'` = yes; then
16422   cat >>confdefs.h <<_ACEOF
16423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16424 _ACEOF
16425
16426 fi
16427 done
16428
16429   else
16430
16431   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16432 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16433   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16434     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16435   echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437
16438
16439
16440       ac_ext=cc
16441 ac_cpp='$CXXCPP $CPPFLAGS'
16442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16445
16446       cat >conftest.$ac_ext <<_ACEOF
16447 #line $LINENO "configure"
16448 /* confdefs.h.  */
16449 _ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h.  */
16453 #include <math.h>
16454                       #ifdef HAVE_IEEEFP_H
16455                       #include <ieeefp.h>
16456                       #endif
16457
16458 int
16459 main ()
16460 {
16461  _isinfl(0);
16462   ;
16463   return 0;
16464 }
16465 _ACEOF
16466 rm -f conftest.$ac_objext
16467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16468   (eval $ac_compile) 2>&5
16469   ac_status=$?
16470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471   (exit $ac_status); } &&
16472          { ac_try='test -s conftest.$ac_objext'
16473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474   (eval $ac_try) 2>&5
16475   ac_status=$?
16476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477   (exit $ac_status); }; }; then
16478   glibcxx_cv_func__isinfl_use=yes
16479 else
16480   echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16482
16483 glibcxx_cv_func__isinfl_use=no
16484 fi
16485 rm -f conftest.$ac_objext conftest.$ac_ext
16486       ac_ext=c
16487 ac_cpp='$CPP $CPPFLAGS'
16488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16491
16492
16493 fi
16494
16495   fi
16496   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16497 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16498
16499     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16500
16501 for ac_func in _isinfl
16502 do
16503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16504 echo "$as_me:$LINENO: checking for $ac_func" >&5
16505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16506 if eval "test \"\${$as_ac_var+set}\" = set"; then
16507   echo $ECHO_N "(cached) $ECHO_C" >&6
16508 else
16509   cat >conftest.$ac_ext <<_ACEOF
16510 #line $LINENO "configure"
16511 /* confdefs.h.  */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h.  */
16516 /* System header to define __stub macros and hopefully few prototypes,
16517     which can conflict with char $ac_func (); below.
16518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16519     <limits.h> exists even on freestanding compilers.  */
16520 #ifdef __STDC__
16521 # include <limits.h>
16522 #else
16523 # include <assert.h>
16524 #endif
16525 /* Override any gcc2 internal prototype to avoid an error.  */
16526 #ifdef __cplusplus
16527 extern "C"
16528 {
16529 #endif
16530 /* We use char because int might match the return type of a gcc2
16531    builtin and then its argument prototype would still apply.  */
16532 char $ac_func ();
16533 /* The GNU C library defines this for functions which it implements
16534     to always fail with ENOSYS.  Some functions are actually named
16535     something starting with __ and the normal name is an alias.  */
16536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16537 choke me
16538 #else
16539 char (*f) () = $ac_func;
16540 #endif
16541 #ifdef __cplusplus
16542 }
16543 #endif
16544
16545 int
16546 main ()
16547 {
16548 return f != $ac_func;
16549   ;
16550   return 0;
16551 }
16552 _ACEOF
16553 rm -f conftest.$ac_objext conftest$ac_exeext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16555   (eval $ac_link) 2>&5
16556   ac_status=$?
16557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558   (exit $ac_status); } &&
16559          { ac_try='test -s conftest$ac_exeext'
16560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561   (eval $ac_try) 2>&5
16562   ac_status=$?
16563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564   (exit $ac_status); }; }; then
16565   eval "$as_ac_var=yes"
16566 else
16567   echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16569
16570 eval "$as_ac_var=no"
16571 fi
16572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16573 fi
16574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16576 if test `eval echo '${'$as_ac_var'}'` = yes; then
16577   cat >>confdefs.h <<_ACEOF
16578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16579 _ACEOF
16580
16581 fi
16582 done
16583
16584     fi
16585   fi
16586
16587
16588
16589   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16590 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16591   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16592     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16593   echo $ECHO_N "(cached) $ECHO_C" >&6
16594 else
16595
16596
16597
16598       ac_ext=cc
16599 ac_cpp='$CXXCPP $CPPFLAGS'
16600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16603
16604       cat >conftest.$ac_ext <<_ACEOF
16605 #line $LINENO "configure"
16606 /* confdefs.h.  */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h.  */
16611 #include <math.h>
16612 int
16613 main ()
16614 {
16615  copysignl(0, 0);
16616   ;
16617   return 0;
16618 }
16619 _ACEOF
16620 rm -f conftest.$ac_objext
16621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16622   (eval $ac_compile) 2>&5
16623   ac_status=$?
16624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625   (exit $ac_status); } &&
16626          { ac_try='test -s conftest.$ac_objext'
16627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628   (eval $ac_try) 2>&5
16629   ac_status=$?
16630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631   (exit $ac_status); }; }; then
16632   glibcxx_cv_func_copysignl_use=yes
16633 else
16634   echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16636
16637 glibcxx_cv_func_copysignl_use=no
16638 fi
16639 rm -f conftest.$ac_objext conftest.$ac_ext
16640       ac_ext=c
16641 ac_cpp='$CPP $CPPFLAGS'
16642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16645
16646
16647 fi
16648
16649   fi
16650   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16651 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16652
16653   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16654
16655 for ac_func in copysignl
16656 do
16657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16658 echo "$as_me:$LINENO: checking for $ac_func" >&5
16659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16660 if eval "test \"\${$as_ac_var+set}\" = set"; then
16661   echo $ECHO_N "(cached) $ECHO_C" >&6
16662 else
16663   cat >conftest.$ac_ext <<_ACEOF
16664 #line $LINENO "configure"
16665 /* confdefs.h.  */
16666 _ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h.  */
16670 /* System header to define __stub macros and hopefully few prototypes,
16671     which can conflict with char $ac_func (); below.
16672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16673     <limits.h> exists even on freestanding compilers.  */
16674 #ifdef __STDC__
16675 # include <limits.h>
16676 #else
16677 # include <assert.h>
16678 #endif
16679 /* Override any gcc2 internal prototype to avoid an error.  */
16680 #ifdef __cplusplus
16681 extern "C"
16682 {
16683 #endif
16684 /* We use char because int might match the return type of a gcc2
16685    builtin and then its argument prototype would still apply.  */
16686 char $ac_func ();
16687 /* The GNU C library defines this for functions which it implements
16688     to always fail with ENOSYS.  Some functions are actually named
16689     something starting with __ and the normal name is an alias.  */
16690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16691 choke me
16692 #else
16693 char (*f) () = $ac_func;
16694 #endif
16695 #ifdef __cplusplus
16696 }
16697 #endif
16698
16699 int
16700 main ()
16701 {
16702 return f != $ac_func;
16703   ;
16704   return 0;
16705 }
16706 _ACEOF
16707 rm -f conftest.$ac_objext conftest$ac_exeext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16709   (eval $ac_link) 2>&5
16710   ac_status=$?
16711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712   (exit $ac_status); } &&
16713          { ac_try='test -s conftest$ac_exeext'
16714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715   (eval $ac_try) 2>&5
16716   ac_status=$?
16717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718   (exit $ac_status); }; }; then
16719   eval "$as_ac_var=yes"
16720 else
16721   echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 eval "$as_ac_var=no"
16725 fi
16726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16727 fi
16728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16730 if test `eval echo '${'$as_ac_var'}'` = yes; then
16731   cat >>confdefs.h <<_ACEOF
16732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16733 _ACEOF
16734
16735 fi
16736 done
16737
16738   else
16739
16740   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16741 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
16742   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
16743     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
16744   echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746
16747
16748
16749       ac_ext=cc
16750 ac_cpp='$CXXCPP $CPPFLAGS'
16751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16754
16755       cat >conftest.$ac_ext <<_ACEOF
16756 #line $LINENO "configure"
16757 /* confdefs.h.  */
16758 _ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h.  */
16762 #include <math.h>
16763 int
16764 main ()
16765 {
16766  _copysignl(0, 0);
16767   ;
16768   return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773   (eval $ac_compile) 2>&5
16774   ac_status=$?
16775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776   (exit $ac_status); } &&
16777          { ac_try='test -s conftest.$ac_objext'
16778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779   (eval $ac_try) 2>&5
16780   ac_status=$?
16781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782   (exit $ac_status); }; }; then
16783   glibcxx_cv_func__copysignl_use=yes
16784 else
16785   echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16787
16788 glibcxx_cv_func__copysignl_use=no
16789 fi
16790 rm -f conftest.$ac_objext conftest.$ac_ext
16791       ac_ext=c
16792 ac_cpp='$CPP $CPPFLAGS'
16793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16796
16797
16798 fi
16799
16800   fi
16801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
16802 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
16803
16804     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
16805
16806 for ac_func in _copysignl
16807 do
16808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16809 echo "$as_me:$LINENO: checking for $ac_func" >&5
16810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16811 if eval "test \"\${$as_ac_var+set}\" = set"; then
16812   echo $ECHO_N "(cached) $ECHO_C" >&6
16813 else
16814   cat >conftest.$ac_ext <<_ACEOF
16815 #line $LINENO "configure"
16816 /* confdefs.h.  */
16817 _ACEOF
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h.  */
16821 /* System header to define __stub macros and hopefully few prototypes,
16822     which can conflict with char $ac_func (); below.
16823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16824     <limits.h> exists even on freestanding compilers.  */
16825 #ifdef __STDC__
16826 # include <limits.h>
16827 #else
16828 # include <assert.h>
16829 #endif
16830 /* Override any gcc2 internal prototype to avoid an error.  */
16831 #ifdef __cplusplus
16832 extern "C"
16833 {
16834 #endif
16835 /* We use char because int might match the return type of a gcc2
16836    builtin and then its argument prototype would still apply.  */
16837 char $ac_func ();
16838 /* The GNU C library defines this for functions which it implements
16839     to always fail with ENOSYS.  Some functions are actually named
16840     something starting with __ and the normal name is an alias.  */
16841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16842 choke me
16843 #else
16844 char (*f) () = $ac_func;
16845 #endif
16846 #ifdef __cplusplus
16847 }
16848 #endif
16849
16850 int
16851 main ()
16852 {
16853 return f != $ac_func;
16854   ;
16855   return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext conftest$ac_exeext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16860   (eval $ac_link) 2>&5
16861   ac_status=$?
16862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863   (exit $ac_status); } &&
16864          { ac_try='test -s conftest$ac_exeext'
16865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866   (eval $ac_try) 2>&5
16867   ac_status=$?
16868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869   (exit $ac_status); }; }; then
16870   eval "$as_ac_var=yes"
16871 else
16872   echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875 eval "$as_ac_var=no"
16876 fi
16877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16878 fi
16879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16881 if test `eval echo '${'$as_ac_var'}'` = yes; then
16882   cat >>confdefs.h <<_ACEOF
16883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16884 _ACEOF
16885
16886 fi
16887 done
16888
16889     fi
16890   fi
16891
16892
16893
16894   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
16895 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
16896   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
16897     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
16898   echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900
16901
16902
16903       ac_ext=cc
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908
16909       cat >conftest.$ac_ext <<_ACEOF
16910 #line $LINENO "configure"
16911 /* confdefs.h.  */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h.  */
16916 #include <math.h>
16917 int
16918 main ()
16919 {
16920  atan2l(0, 0);
16921   ;
16922   return 0;
16923 }
16924 _ACEOF
16925 rm -f conftest.$ac_objext
16926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16927   (eval $ac_compile) 2>&5
16928   ac_status=$?
16929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930   (exit $ac_status); } &&
16931          { ac_try='test -s conftest.$ac_objext'
16932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933   (eval $ac_try) 2>&5
16934   ac_status=$?
16935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936   (exit $ac_status); }; }; then
16937   glibcxx_cv_func_atan2l_use=yes
16938 else
16939   echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16941
16942 glibcxx_cv_func_atan2l_use=no
16943 fi
16944 rm -f conftest.$ac_objext conftest.$ac_ext
16945       ac_ext=c
16946 ac_cpp='$CPP $CPPFLAGS'
16947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16950
16951
16952 fi
16953
16954   fi
16955   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
16956 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
16957
16958   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
16959
16960 for ac_func in atan2l
16961 do
16962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16963 echo "$as_me:$LINENO: checking for $ac_func" >&5
16964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16965 if eval "test \"\${$as_ac_var+set}\" = set"; then
16966   echo $ECHO_N "(cached) $ECHO_C" >&6
16967 else
16968   cat >conftest.$ac_ext <<_ACEOF
16969 #line $LINENO "configure"
16970 /* confdefs.h.  */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h.  */
16975 /* System header to define __stub macros and hopefully few prototypes,
16976     which can conflict with char $ac_func (); below.
16977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16978     <limits.h> exists even on freestanding compilers.  */
16979 #ifdef __STDC__
16980 # include <limits.h>
16981 #else
16982 # include <assert.h>
16983 #endif
16984 /* Override any gcc2 internal prototype to avoid an error.  */
16985 #ifdef __cplusplus
16986 extern "C"
16987 {
16988 #endif
16989 /* We use char because int might match the return type of a gcc2
16990    builtin and then its argument prototype would still apply.  */
16991 char $ac_func ();
16992 /* The GNU C library defines this for functions which it implements
16993     to always fail with ENOSYS.  Some functions are actually named
16994     something starting with __ and the normal name is an alias.  */
16995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 choke me
16997 #else
16998 char (*f) () = $ac_func;
16999 #endif
17000 #ifdef __cplusplus
17001 }
17002 #endif
17003
17004 int
17005 main ()
17006 {
17007 return f != $ac_func;
17008   ;
17009   return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext conftest$ac_exeext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17014   (eval $ac_link) 2>&5
17015   ac_status=$?
17016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017   (exit $ac_status); } &&
17018          { ac_try='test -s conftest$ac_exeext'
17019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020   (eval $ac_try) 2>&5
17021   ac_status=$?
17022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023   (exit $ac_status); }; }; then
17024   eval "$as_ac_var=yes"
17025 else
17026   echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 eval "$as_ac_var=no"
17030 fi
17031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17032 fi
17033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17035 if test `eval echo '${'$as_ac_var'}'` = yes; then
17036   cat >>confdefs.h <<_ACEOF
17037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17038 _ACEOF
17039
17040 fi
17041 done
17042
17043   else
17044
17045   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17046 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17047   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17048     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17049   echo $ECHO_N "(cached) $ECHO_C" >&6
17050 else
17051
17052
17053
17054       ac_ext=cc
17055 ac_cpp='$CXXCPP $CPPFLAGS'
17056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17059
17060       cat >conftest.$ac_ext <<_ACEOF
17061 #line $LINENO "configure"
17062 /* confdefs.h.  */
17063 _ACEOF
17064 cat confdefs.h >>conftest.$ac_ext
17065 cat >>conftest.$ac_ext <<_ACEOF
17066 /* end confdefs.h.  */
17067 #include <math.h>
17068 int
17069 main ()
17070 {
17071  _atan2l(0, 0);
17072   ;
17073   return 0;
17074 }
17075 _ACEOF
17076 rm -f conftest.$ac_objext
17077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17078   (eval $ac_compile) 2>&5
17079   ac_status=$?
17080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081   (exit $ac_status); } &&
17082          { ac_try='test -s conftest.$ac_objext'
17083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084   (eval $ac_try) 2>&5
17085   ac_status=$?
17086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087   (exit $ac_status); }; }; then
17088   glibcxx_cv_func__atan2l_use=yes
17089 else
17090   echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17092
17093 glibcxx_cv_func__atan2l_use=no
17094 fi
17095 rm -f conftest.$ac_objext conftest.$ac_ext
17096       ac_ext=c
17097 ac_cpp='$CPP $CPPFLAGS'
17098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17101
17102
17103 fi
17104
17105   fi
17106   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17107 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17108
17109     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17110
17111 for ac_func in _atan2l
17112 do
17113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17114 echo "$as_me:$LINENO: checking for $ac_func" >&5
17115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17116 if eval "test \"\${$as_ac_var+set}\" = set"; then
17117   echo $ECHO_N "(cached) $ECHO_C" >&6
17118 else
17119   cat >conftest.$ac_ext <<_ACEOF
17120 #line $LINENO "configure"
17121 /* confdefs.h.  */
17122 _ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h.  */
17126 /* System header to define __stub macros and hopefully few prototypes,
17127     which can conflict with char $ac_func (); below.
17128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17129     <limits.h> exists even on freestanding compilers.  */
17130 #ifdef __STDC__
17131 # include <limits.h>
17132 #else
17133 # include <assert.h>
17134 #endif
17135 /* Override any gcc2 internal prototype to avoid an error.  */
17136 #ifdef __cplusplus
17137 extern "C"
17138 {
17139 #endif
17140 /* We use char because int might match the return type of a gcc2
17141    builtin and then its argument prototype would still apply.  */
17142 char $ac_func ();
17143 /* The GNU C library defines this for functions which it implements
17144     to always fail with ENOSYS.  Some functions are actually named
17145     something starting with __ and the normal name is an alias.  */
17146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17147 choke me
17148 #else
17149 char (*f) () = $ac_func;
17150 #endif
17151 #ifdef __cplusplus
17152 }
17153 #endif
17154
17155 int
17156 main ()
17157 {
17158 return f != $ac_func;
17159   ;
17160   return 0;
17161 }
17162 _ACEOF
17163 rm -f conftest.$ac_objext conftest$ac_exeext
17164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17165   (eval $ac_link) 2>&5
17166   ac_status=$?
17167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168   (exit $ac_status); } &&
17169          { ac_try='test -s conftest$ac_exeext'
17170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171   (eval $ac_try) 2>&5
17172   ac_status=$?
17173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174   (exit $ac_status); }; }; then
17175   eval "$as_ac_var=yes"
17176 else
17177   echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17179
17180 eval "$as_ac_var=no"
17181 fi
17182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17183 fi
17184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17186 if test `eval echo '${'$as_ac_var'}'` = yes; then
17187   cat >>confdefs.h <<_ACEOF
17188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17189 _ACEOF
17190
17191 fi
17192 done
17193
17194     fi
17195   fi
17196
17197
17198
17199   echo "$as_me:$LINENO: checking for expl declaration" >&5
17200 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17201   if test x${glibcxx_cv_func_expl_use+set} != xset; then
17202     if test "${glibcxx_cv_func_expl_use+set}" = set; then
17203   echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205
17206
17207
17208       ac_ext=cc
17209 ac_cpp='$CXXCPP $CPPFLAGS'
17210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17213
17214       cat >conftest.$ac_ext <<_ACEOF
17215 #line $LINENO "configure"
17216 /* confdefs.h.  */
17217 _ACEOF
17218 cat confdefs.h >>conftest.$ac_ext
17219 cat >>conftest.$ac_ext <<_ACEOF
17220 /* end confdefs.h.  */
17221 #include <math.h>
17222                       #ifdef HAVE_IEEEFP_H
17223                       #include <ieeefp.h>
17224                       #endif
17225
17226 int
17227 main ()
17228 {
17229  expl(0);
17230   ;
17231   return 0;
17232 }
17233 _ACEOF
17234 rm -f conftest.$ac_objext
17235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17236   (eval $ac_compile) 2>&5
17237   ac_status=$?
17238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239   (exit $ac_status); } &&
17240          { ac_try='test -s conftest.$ac_objext'
17241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242   (eval $ac_try) 2>&5
17243   ac_status=$?
17244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245   (exit $ac_status); }; }; then
17246   glibcxx_cv_func_expl_use=yes
17247 else
17248   echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17250
17251 glibcxx_cv_func_expl_use=no
17252 fi
17253 rm -f conftest.$ac_objext conftest.$ac_ext
17254       ac_ext=c
17255 ac_cpp='$CPP $CPPFLAGS'
17256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259
17260
17261 fi
17262
17263   fi
17264   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17265 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17266
17267   if test x$glibcxx_cv_func_expl_use = x"yes"; then
17268
17269 for ac_func in expl
17270 do
17271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17272 echo "$as_me:$LINENO: checking for $ac_func" >&5
17273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17274 if eval "test \"\${$as_ac_var+set}\" = set"; then
17275   echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277   cat >conftest.$ac_ext <<_ACEOF
17278 #line $LINENO "configure"
17279 /* confdefs.h.  */
17280 _ACEOF
17281 cat confdefs.h >>conftest.$ac_ext
17282 cat >>conftest.$ac_ext <<_ACEOF
17283 /* end confdefs.h.  */
17284 /* System header to define __stub macros and hopefully few prototypes,
17285     which can conflict with char $ac_func (); below.
17286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17287     <limits.h> exists even on freestanding compilers.  */
17288 #ifdef __STDC__
17289 # include <limits.h>
17290 #else
17291 # include <assert.h>
17292 #endif
17293 /* Override any gcc2 internal prototype to avoid an error.  */
17294 #ifdef __cplusplus
17295 extern "C"
17296 {
17297 #endif
17298 /* We use char because int might match the return type of a gcc2
17299    builtin and then its argument prototype would still apply.  */
17300 char $ac_func ();
17301 /* The GNU C library defines this for functions which it implements
17302     to always fail with ENOSYS.  Some functions are actually named
17303     something starting with __ and the normal name is an alias.  */
17304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17305 choke me
17306 #else
17307 char (*f) () = $ac_func;
17308 #endif
17309 #ifdef __cplusplus
17310 }
17311 #endif
17312
17313 int
17314 main ()
17315 {
17316 return f != $ac_func;
17317   ;
17318   return 0;
17319 }
17320 _ACEOF
17321 rm -f conftest.$ac_objext conftest$ac_exeext
17322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17323   (eval $ac_link) 2>&5
17324   ac_status=$?
17325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326   (exit $ac_status); } &&
17327          { ac_try='test -s conftest$ac_exeext'
17328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329   (eval $ac_try) 2>&5
17330   ac_status=$?
17331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332   (exit $ac_status); }; }; then
17333   eval "$as_ac_var=yes"
17334 else
17335   echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17337
17338 eval "$as_ac_var=no"
17339 fi
17340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17341 fi
17342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17344 if test `eval echo '${'$as_ac_var'}'` = yes; then
17345   cat >>confdefs.h <<_ACEOF
17346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17347 _ACEOF
17348
17349 fi
17350 done
17351
17352   else
17353
17354   echo "$as_me:$LINENO: checking for _expl declaration" >&5
17355 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17356   if test x${glibcxx_cv_func__expl_use+set} != xset; then
17357     if test "${glibcxx_cv_func__expl_use+set}" = set; then
17358   echo $ECHO_N "(cached) $ECHO_C" >&6
17359 else
17360
17361
17362
17363       ac_ext=cc
17364 ac_cpp='$CXXCPP $CPPFLAGS'
17365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17368
17369       cat >conftest.$ac_ext <<_ACEOF
17370 #line $LINENO "configure"
17371 /* confdefs.h.  */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h.  */
17376 #include <math.h>
17377                       #ifdef HAVE_IEEEFP_H
17378                       #include <ieeefp.h>
17379                       #endif
17380
17381 int
17382 main ()
17383 {
17384  _expl(0);
17385   ;
17386   return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest.$ac_objext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17391   (eval $ac_compile) 2>&5
17392   ac_status=$?
17393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394   (exit $ac_status); } &&
17395          { ac_try='test -s conftest.$ac_objext'
17396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397   (eval $ac_try) 2>&5
17398   ac_status=$?
17399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400   (exit $ac_status); }; }; then
17401   glibcxx_cv_func__expl_use=yes
17402 else
17403   echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 glibcxx_cv_func__expl_use=no
17407 fi
17408 rm -f conftest.$ac_objext conftest.$ac_ext
17409       ac_ext=c
17410 ac_cpp='$CPP $CPPFLAGS'
17411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17414
17415
17416 fi
17417
17418   fi
17419   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17420 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17421
17422     if test x$glibcxx_cv_func__expl_use = x"yes"; then
17423
17424 for ac_func in _expl
17425 do
17426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17427 echo "$as_me:$LINENO: checking for $ac_func" >&5
17428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17429 if eval "test \"\${$as_ac_var+set}\" = set"; then
17430   echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17432   cat >conftest.$ac_ext <<_ACEOF
17433 #line $LINENO "configure"
17434 /* confdefs.h.  */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h.  */
17439 /* System header to define __stub macros and hopefully few prototypes,
17440     which can conflict with char $ac_func (); below.
17441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17442     <limits.h> exists even on freestanding compilers.  */
17443 #ifdef __STDC__
17444 # include <limits.h>
17445 #else
17446 # include <assert.h>
17447 #endif
17448 /* Override any gcc2 internal prototype to avoid an error.  */
17449 #ifdef __cplusplus
17450 extern "C"
17451 {
17452 #endif
17453 /* We use char because int might match the return type of a gcc2
17454    builtin and then its argument prototype would still apply.  */
17455 char $ac_func ();
17456 /* The GNU C library defines this for functions which it implements
17457     to always fail with ENOSYS.  Some functions are actually named
17458     something starting with __ and the normal name is an alias.  */
17459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17460 choke me
17461 #else
17462 char (*f) () = $ac_func;
17463 #endif
17464 #ifdef __cplusplus
17465 }
17466 #endif
17467
17468 int
17469 main ()
17470 {
17471 return f != $ac_func;
17472   ;
17473   return 0;
17474 }
17475 _ACEOF
17476 rm -f conftest.$ac_objext conftest$ac_exeext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17478   (eval $ac_link) 2>&5
17479   ac_status=$?
17480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481   (exit $ac_status); } &&
17482          { ac_try='test -s conftest$ac_exeext'
17483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484   (eval $ac_try) 2>&5
17485   ac_status=$?
17486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487   (exit $ac_status); }; }; then
17488   eval "$as_ac_var=yes"
17489 else
17490   echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17492
17493 eval "$as_ac_var=no"
17494 fi
17495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17496 fi
17497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17499 if test `eval echo '${'$as_ac_var'}'` = yes; then
17500   cat >>confdefs.h <<_ACEOF
17501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17502 _ACEOF
17503
17504 fi
17505 done
17506
17507     fi
17508   fi
17509
17510
17511
17512   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17513 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17514   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17515     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17516   echo $ECHO_N "(cached) $ECHO_C" >&6
17517 else
17518
17519
17520
17521       ac_ext=cc
17522 ac_cpp='$CXXCPP $CPPFLAGS'
17523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17526
17527       cat >conftest.$ac_ext <<_ACEOF
17528 #line $LINENO "configure"
17529 /* confdefs.h.  */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h.  */
17534 #include <math.h>
17535                       #ifdef HAVE_IEEEFP_H
17536                       #include <ieeefp.h>
17537                       #endif
17538
17539 int
17540 main ()
17541 {
17542  fabsl(0);
17543   ;
17544   return 0;
17545 }
17546 _ACEOF
17547 rm -f conftest.$ac_objext
17548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17549   (eval $ac_compile) 2>&5
17550   ac_status=$?
17551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552   (exit $ac_status); } &&
17553          { ac_try='test -s conftest.$ac_objext'
17554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555   (eval $ac_try) 2>&5
17556   ac_status=$?
17557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558   (exit $ac_status); }; }; then
17559   glibcxx_cv_func_fabsl_use=yes
17560 else
17561   echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17563
17564 glibcxx_cv_func_fabsl_use=no
17565 fi
17566 rm -f conftest.$ac_objext conftest.$ac_ext
17567       ac_ext=c
17568 ac_cpp='$CPP $CPPFLAGS'
17569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17572
17573
17574 fi
17575
17576   fi
17577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17578 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17579
17580   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17581
17582 for ac_func in fabsl
17583 do
17584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17585 echo "$as_me:$LINENO: checking for $ac_func" >&5
17586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17587 if eval "test \"\${$as_ac_var+set}\" = set"; then
17588   echo $ECHO_N "(cached) $ECHO_C" >&6
17589 else
17590   cat >conftest.$ac_ext <<_ACEOF
17591 #line $LINENO "configure"
17592 /* confdefs.h.  */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h.  */
17597 /* System header to define __stub macros and hopefully few prototypes,
17598     which can conflict with char $ac_func (); below.
17599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17600     <limits.h> exists even on freestanding compilers.  */
17601 #ifdef __STDC__
17602 # include <limits.h>
17603 #else
17604 # include <assert.h>
17605 #endif
17606 /* Override any gcc2 internal prototype to avoid an error.  */
17607 #ifdef __cplusplus
17608 extern "C"
17609 {
17610 #endif
17611 /* We use char because int might match the return type of a gcc2
17612    builtin and then its argument prototype would still apply.  */
17613 char $ac_func ();
17614 /* The GNU C library defines this for functions which it implements
17615     to always fail with ENOSYS.  Some functions are actually named
17616     something starting with __ and the normal name is an alias.  */
17617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17618 choke me
17619 #else
17620 char (*f) () = $ac_func;
17621 #endif
17622 #ifdef __cplusplus
17623 }
17624 #endif
17625
17626 int
17627 main ()
17628 {
17629 return f != $ac_func;
17630   ;
17631   return 0;
17632 }
17633 _ACEOF
17634 rm -f conftest.$ac_objext conftest$ac_exeext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17636   (eval $ac_link) 2>&5
17637   ac_status=$?
17638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639   (exit $ac_status); } &&
17640          { ac_try='test -s conftest$ac_exeext'
17641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642   (eval $ac_try) 2>&5
17643   ac_status=$?
17644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645   (exit $ac_status); }; }; then
17646   eval "$as_ac_var=yes"
17647 else
17648   echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17650
17651 eval "$as_ac_var=no"
17652 fi
17653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17654 fi
17655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17657 if test `eval echo '${'$as_ac_var'}'` = yes; then
17658   cat >>confdefs.h <<_ACEOF
17659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17660 _ACEOF
17661
17662 fi
17663 done
17664
17665   else
17666
17667   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17668 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17669   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17670     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17671   echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673
17674
17675
17676       ac_ext=cc
17677 ac_cpp='$CXXCPP $CPPFLAGS'
17678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17681
17682       cat >conftest.$ac_ext <<_ACEOF
17683 #line $LINENO "configure"
17684 /* confdefs.h.  */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h.  */
17689 #include <math.h>
17690                       #ifdef HAVE_IEEEFP_H
17691                       #include <ieeefp.h>
17692                       #endif
17693
17694 int
17695 main ()
17696 {
17697  _fabsl(0);
17698   ;
17699   return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704   (eval $ac_compile) 2>&5
17705   ac_status=$?
17706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707   (exit $ac_status); } &&
17708          { ac_try='test -s conftest.$ac_objext'
17709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710   (eval $ac_try) 2>&5
17711   ac_status=$?
17712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713   (exit $ac_status); }; }; then
17714   glibcxx_cv_func__fabsl_use=yes
17715 else
17716   echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17718
17719 glibcxx_cv_func__fabsl_use=no
17720 fi
17721 rm -f conftest.$ac_objext conftest.$ac_ext
17722       ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727
17728
17729 fi
17730
17731   fi
17732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
17733 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
17734
17735     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
17736
17737 for ac_func in _fabsl
17738 do
17739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17740 echo "$as_me:$LINENO: checking for $ac_func" >&5
17741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17742 if eval "test \"\${$as_ac_var+set}\" = set"; then
17743   echo $ECHO_N "(cached) $ECHO_C" >&6
17744 else
17745   cat >conftest.$ac_ext <<_ACEOF
17746 #line $LINENO "configure"
17747 /* confdefs.h.  */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h.  */
17752 /* System header to define __stub macros and hopefully few prototypes,
17753     which can conflict with char $ac_func (); below.
17754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17755     <limits.h> exists even on freestanding compilers.  */
17756 #ifdef __STDC__
17757 # include <limits.h>
17758 #else
17759 # include <assert.h>
17760 #endif
17761 /* Override any gcc2 internal prototype to avoid an error.  */
17762 #ifdef __cplusplus
17763 extern "C"
17764 {
17765 #endif
17766 /* We use char because int might match the return type of a gcc2
17767    builtin and then its argument prototype would still apply.  */
17768 char $ac_func ();
17769 /* The GNU C library defines this for functions which it implements
17770     to always fail with ENOSYS.  Some functions are actually named
17771     something starting with __ and the normal name is an alias.  */
17772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17773 choke me
17774 #else
17775 char (*f) () = $ac_func;
17776 #endif
17777 #ifdef __cplusplus
17778 }
17779 #endif
17780
17781 int
17782 main ()
17783 {
17784 return f != $ac_func;
17785   ;
17786   return 0;
17787 }
17788 _ACEOF
17789 rm -f conftest.$ac_objext conftest$ac_exeext
17790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17791   (eval $ac_link) 2>&5
17792   ac_status=$?
17793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794   (exit $ac_status); } &&
17795          { ac_try='test -s conftest$ac_exeext'
17796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797   (eval $ac_try) 2>&5
17798   ac_status=$?
17799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800   (exit $ac_status); }; }; then
17801   eval "$as_ac_var=yes"
17802 else
17803   echo "$as_me: failed program was:" >&5
17804 sed 's/^/| /' conftest.$ac_ext >&5
17805
17806 eval "$as_ac_var=no"
17807 fi
17808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17809 fi
17810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17812 if test `eval echo '${'$as_ac_var'}'` = yes; then
17813   cat >>confdefs.h <<_ACEOF
17814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17815 _ACEOF
17816
17817 fi
17818 done
17819
17820     fi
17821   fi
17822
17823
17824
17825   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
17826 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
17827   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
17828     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
17829   echo $ECHO_N "(cached) $ECHO_C" >&6
17830 else
17831
17832
17833
17834       ac_ext=cc
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17839
17840       cat >conftest.$ac_ext <<_ACEOF
17841 #line $LINENO "configure"
17842 /* confdefs.h.  */
17843 _ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h.  */
17847 #include <math.h>
17848 int
17849 main ()
17850 {
17851  fmodl(0, 0);
17852   ;
17853   return 0;
17854 }
17855 _ACEOF
17856 rm -f conftest.$ac_objext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17858   (eval $ac_compile) 2>&5
17859   ac_status=$?
17860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861   (exit $ac_status); } &&
17862          { ac_try='test -s conftest.$ac_objext'
17863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864   (eval $ac_try) 2>&5
17865   ac_status=$?
17866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867   (exit $ac_status); }; }; then
17868   glibcxx_cv_func_fmodl_use=yes
17869 else
17870   echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17872
17873 glibcxx_cv_func_fmodl_use=no
17874 fi
17875 rm -f conftest.$ac_objext conftest.$ac_ext
17876       ac_ext=c
17877 ac_cpp='$CPP $CPPFLAGS'
17878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17881
17882
17883 fi
17884
17885   fi
17886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
17887 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
17888
17889   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
17890
17891 for ac_func in fmodl
17892 do
17893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17894 echo "$as_me:$LINENO: checking for $ac_func" >&5
17895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17896 if eval "test \"\${$as_ac_var+set}\" = set"; then
17897   echo $ECHO_N "(cached) $ECHO_C" >&6
17898 else
17899   cat >conftest.$ac_ext <<_ACEOF
17900 #line $LINENO "configure"
17901 /* confdefs.h.  */
17902 _ACEOF
17903 cat confdefs.h >>conftest.$ac_ext
17904 cat >>conftest.$ac_ext <<_ACEOF
17905 /* end confdefs.h.  */
17906 /* System header to define __stub macros and hopefully few prototypes,
17907     which can conflict with char $ac_func (); below.
17908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17909     <limits.h> exists even on freestanding compilers.  */
17910 #ifdef __STDC__
17911 # include <limits.h>
17912 #else
17913 # include <assert.h>
17914 #endif
17915 /* Override any gcc2 internal prototype to avoid an error.  */
17916 #ifdef __cplusplus
17917 extern "C"
17918 {
17919 #endif
17920 /* We use char because int might match the return type of a gcc2
17921    builtin and then its argument prototype would still apply.  */
17922 char $ac_func ();
17923 /* The GNU C library defines this for functions which it implements
17924     to always fail with ENOSYS.  Some functions are actually named
17925     something starting with __ and the normal name is an alias.  */
17926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17927 choke me
17928 #else
17929 char (*f) () = $ac_func;
17930 #endif
17931 #ifdef __cplusplus
17932 }
17933 #endif
17934
17935 int
17936 main ()
17937 {
17938 return f != $ac_func;
17939   ;
17940   return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext conftest$ac_exeext
17944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17945   (eval $ac_link) 2>&5
17946   ac_status=$?
17947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948   (exit $ac_status); } &&
17949          { ac_try='test -s conftest$ac_exeext'
17950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951   (eval $ac_try) 2>&5
17952   ac_status=$?
17953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954   (exit $ac_status); }; }; then
17955   eval "$as_ac_var=yes"
17956 else
17957   echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960 eval "$as_ac_var=no"
17961 fi
17962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17963 fi
17964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17966 if test `eval echo '${'$as_ac_var'}'` = yes; then
17967   cat >>confdefs.h <<_ACEOF
17968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17969 _ACEOF
17970
17971 fi
17972 done
17973
17974   else
17975
17976   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
17977 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
17978   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
17979     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
17980   echo $ECHO_N "(cached) $ECHO_C" >&6
17981 else
17982
17983
17984
17985       ac_ext=cc
17986 ac_cpp='$CXXCPP $CPPFLAGS'
17987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17990
17991       cat >conftest.$ac_ext <<_ACEOF
17992 #line $LINENO "configure"
17993 /* confdefs.h.  */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h.  */
17998 #include <math.h>
17999 int
18000 main ()
18001 {
18002  _fmodl(0, 0);
18003   ;
18004   return 0;
18005 }
18006 _ACEOF
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009   (eval $ac_compile) 2>&5
18010   ac_status=$?
18011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012   (exit $ac_status); } &&
18013          { ac_try='test -s conftest.$ac_objext'
18014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015   (eval $ac_try) 2>&5
18016   ac_status=$?
18017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018   (exit $ac_status); }; }; then
18019   glibcxx_cv_func__fmodl_use=yes
18020 else
18021   echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18023
18024 glibcxx_cv_func__fmodl_use=no
18025 fi
18026 rm -f conftest.$ac_objext conftest.$ac_ext
18027       ac_ext=c
18028 ac_cpp='$CPP $CPPFLAGS'
18029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18032
18033
18034 fi
18035
18036   fi
18037   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18038 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18039
18040     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18041
18042 for ac_func in _fmodl
18043 do
18044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18045 echo "$as_me:$LINENO: checking for $ac_func" >&5
18046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18047 if eval "test \"\${$as_ac_var+set}\" = set"; then
18048   echo $ECHO_N "(cached) $ECHO_C" >&6
18049 else
18050   cat >conftest.$ac_ext <<_ACEOF
18051 #line $LINENO "configure"
18052 /* confdefs.h.  */
18053 _ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h.  */
18057 /* System header to define __stub macros and hopefully few prototypes,
18058     which can conflict with char $ac_func (); below.
18059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18060     <limits.h> exists even on freestanding compilers.  */
18061 #ifdef __STDC__
18062 # include <limits.h>
18063 #else
18064 # include <assert.h>
18065 #endif
18066 /* Override any gcc2 internal prototype to avoid an error.  */
18067 #ifdef __cplusplus
18068 extern "C"
18069 {
18070 #endif
18071 /* We use char because int might match the return type of a gcc2
18072    builtin and then its argument prototype would still apply.  */
18073 char $ac_func ();
18074 /* The GNU C library defines this for functions which it implements
18075     to always fail with ENOSYS.  Some functions are actually named
18076     something starting with __ and the normal name is an alias.  */
18077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18078 choke me
18079 #else
18080 char (*f) () = $ac_func;
18081 #endif
18082 #ifdef __cplusplus
18083 }
18084 #endif
18085
18086 int
18087 main ()
18088 {
18089 return f != $ac_func;
18090   ;
18091   return 0;
18092 }
18093 _ACEOF
18094 rm -f conftest.$ac_objext conftest$ac_exeext
18095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18096   (eval $ac_link) 2>&5
18097   ac_status=$?
18098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099   (exit $ac_status); } &&
18100          { ac_try='test -s conftest$ac_exeext'
18101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102   (eval $ac_try) 2>&5
18103   ac_status=$?
18104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105   (exit $ac_status); }; }; then
18106   eval "$as_ac_var=yes"
18107 else
18108   echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18110
18111 eval "$as_ac_var=no"
18112 fi
18113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18114 fi
18115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18117 if test `eval echo '${'$as_ac_var'}'` = yes; then
18118   cat >>confdefs.h <<_ACEOF
18119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18120 _ACEOF
18121
18122 fi
18123 done
18124
18125     fi
18126   fi
18127
18128
18129
18130   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18131 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18132   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18133     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18134   echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136
18137
18138
18139       ac_ext=cc
18140 ac_cpp='$CXXCPP $CPPFLAGS'
18141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18144
18145       cat >conftest.$ac_ext <<_ACEOF
18146 #line $LINENO "configure"
18147 /* confdefs.h.  */
18148 _ACEOF
18149 cat confdefs.h >>conftest.$ac_ext
18150 cat >>conftest.$ac_ext <<_ACEOF
18151 /* end confdefs.h.  */
18152 #include <math.h>
18153 int
18154 main ()
18155 {
18156  frexpl(0, 0);
18157   ;
18158   return 0;
18159 }
18160 _ACEOF
18161 rm -f conftest.$ac_objext
18162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18163   (eval $ac_compile) 2>&5
18164   ac_status=$?
18165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166   (exit $ac_status); } &&
18167          { ac_try='test -s conftest.$ac_objext'
18168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169   (eval $ac_try) 2>&5
18170   ac_status=$?
18171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172   (exit $ac_status); }; }; then
18173   glibcxx_cv_func_frexpl_use=yes
18174 else
18175   echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 glibcxx_cv_func_frexpl_use=no
18179 fi
18180 rm -f conftest.$ac_objext conftest.$ac_ext
18181       ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187
18188 fi
18189
18190   fi
18191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18192 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18193
18194   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18195
18196 for ac_func in frexpl
18197 do
18198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18199 echo "$as_me:$LINENO: checking for $ac_func" >&5
18200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18201 if eval "test \"\${$as_ac_var+set}\" = set"; then
18202   echo $ECHO_N "(cached) $ECHO_C" >&6
18203 else
18204   cat >conftest.$ac_ext <<_ACEOF
18205 #line $LINENO "configure"
18206 /* confdefs.h.  */
18207 _ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h.  */
18211 /* System header to define __stub macros and hopefully few prototypes,
18212     which can conflict with char $ac_func (); below.
18213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18214     <limits.h> exists even on freestanding compilers.  */
18215 #ifdef __STDC__
18216 # include <limits.h>
18217 #else
18218 # include <assert.h>
18219 #endif
18220 /* Override any gcc2 internal prototype to avoid an error.  */
18221 #ifdef __cplusplus
18222 extern "C"
18223 {
18224 #endif
18225 /* We use char because int might match the return type of a gcc2
18226    builtin and then its argument prototype would still apply.  */
18227 char $ac_func ();
18228 /* The GNU C library defines this for functions which it implements
18229     to always fail with ENOSYS.  Some functions are actually named
18230     something starting with __ and the normal name is an alias.  */
18231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18232 choke me
18233 #else
18234 char (*f) () = $ac_func;
18235 #endif
18236 #ifdef __cplusplus
18237 }
18238 #endif
18239
18240 int
18241 main ()
18242 {
18243 return f != $ac_func;
18244   ;
18245   return 0;
18246 }
18247 _ACEOF
18248 rm -f conftest.$ac_objext conftest$ac_exeext
18249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18250   (eval $ac_link) 2>&5
18251   ac_status=$?
18252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253   (exit $ac_status); } &&
18254          { ac_try='test -s conftest$ac_exeext'
18255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256   (eval $ac_try) 2>&5
18257   ac_status=$?
18258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259   (exit $ac_status); }; }; then
18260   eval "$as_ac_var=yes"
18261 else
18262   echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18264
18265 eval "$as_ac_var=no"
18266 fi
18267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18268 fi
18269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18271 if test `eval echo '${'$as_ac_var'}'` = yes; then
18272   cat >>confdefs.h <<_ACEOF
18273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18274 _ACEOF
18275
18276 fi
18277 done
18278
18279   else
18280
18281   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18282 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18283   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18284     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18285   echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287
18288
18289
18290       ac_ext=cc
18291 ac_cpp='$CXXCPP $CPPFLAGS'
18292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18295
18296       cat >conftest.$ac_ext <<_ACEOF
18297 #line $LINENO "configure"
18298 /* confdefs.h.  */
18299 _ACEOF
18300 cat confdefs.h >>conftest.$ac_ext
18301 cat >>conftest.$ac_ext <<_ACEOF
18302 /* end confdefs.h.  */
18303 #include <math.h>
18304 int
18305 main ()
18306 {
18307  _frexpl(0, 0);
18308   ;
18309   return 0;
18310 }
18311 _ACEOF
18312 rm -f conftest.$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314   (eval $ac_compile) 2>&5
18315   ac_status=$?
18316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317   (exit $ac_status); } &&
18318          { ac_try='test -s conftest.$ac_objext'
18319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320   (eval $ac_try) 2>&5
18321   ac_status=$?
18322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323   (exit $ac_status); }; }; then
18324   glibcxx_cv_func__frexpl_use=yes
18325 else
18326   echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.$ac_ext >&5
18328
18329 glibcxx_cv_func__frexpl_use=no
18330 fi
18331 rm -f conftest.$ac_objext conftest.$ac_ext
18332       ac_ext=c
18333 ac_cpp='$CPP $CPPFLAGS'
18334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18337
18338
18339 fi
18340
18341   fi
18342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18343 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18344
18345     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18346
18347 for ac_func in _frexpl
18348 do
18349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18350 echo "$as_me:$LINENO: checking for $ac_func" >&5
18351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18352 if eval "test \"\${$as_ac_var+set}\" = set"; then
18353   echo $ECHO_N "(cached) $ECHO_C" >&6
18354 else
18355   cat >conftest.$ac_ext <<_ACEOF
18356 #line $LINENO "configure"
18357 /* confdefs.h.  */
18358 _ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h.  */
18362 /* System header to define __stub macros and hopefully few prototypes,
18363     which can conflict with char $ac_func (); below.
18364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18365     <limits.h> exists even on freestanding compilers.  */
18366 #ifdef __STDC__
18367 # include <limits.h>
18368 #else
18369 # include <assert.h>
18370 #endif
18371 /* Override any gcc2 internal prototype to avoid an error.  */
18372 #ifdef __cplusplus
18373 extern "C"
18374 {
18375 #endif
18376 /* We use char because int might match the return type of a gcc2
18377    builtin and then its argument prototype would still apply.  */
18378 char $ac_func ();
18379 /* The GNU C library defines this for functions which it implements
18380     to always fail with ENOSYS.  Some functions are actually named
18381     something starting with __ and the normal name is an alias.  */
18382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18383 choke me
18384 #else
18385 char (*f) () = $ac_func;
18386 #endif
18387 #ifdef __cplusplus
18388 }
18389 #endif
18390
18391 int
18392 main ()
18393 {
18394 return f != $ac_func;
18395   ;
18396   return 0;
18397 }
18398 _ACEOF
18399 rm -f conftest.$ac_objext conftest$ac_exeext
18400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18401   (eval $ac_link) 2>&5
18402   ac_status=$?
18403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404   (exit $ac_status); } &&
18405          { ac_try='test -s conftest$ac_exeext'
18406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407   (eval $ac_try) 2>&5
18408   ac_status=$?
18409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410   (exit $ac_status); }; }; then
18411   eval "$as_ac_var=yes"
18412 else
18413   echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.$ac_ext >&5
18415
18416 eval "$as_ac_var=no"
18417 fi
18418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18419 fi
18420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18422 if test `eval echo '${'$as_ac_var'}'` = yes; then
18423   cat >>confdefs.h <<_ACEOF
18424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18425 _ACEOF
18426
18427 fi
18428 done
18429
18430     fi
18431   fi
18432
18433
18434
18435   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18436 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18437   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18438     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18439   echo $ECHO_N "(cached) $ECHO_C" >&6
18440 else
18441
18442
18443
18444       ac_ext=cc
18445 ac_cpp='$CXXCPP $CPPFLAGS'
18446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18449
18450       cat >conftest.$ac_ext <<_ACEOF
18451 #line $LINENO "configure"
18452 /* confdefs.h.  */
18453 _ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h.  */
18457 #include <math.h>
18458 int
18459 main ()
18460 {
18461  hypotl(0, 0);
18462   ;
18463   return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468   (eval $ac_compile) 2>&5
18469   ac_status=$?
18470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471   (exit $ac_status); } &&
18472          { ac_try='test -s conftest.$ac_objext'
18473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474   (eval $ac_try) 2>&5
18475   ac_status=$?
18476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477   (exit $ac_status); }; }; then
18478   glibcxx_cv_func_hypotl_use=yes
18479 else
18480   echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18482
18483 glibcxx_cv_func_hypotl_use=no
18484 fi
18485 rm -f conftest.$ac_objext conftest.$ac_ext
18486       ac_ext=c
18487 ac_cpp='$CPP $CPPFLAGS'
18488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18491
18492
18493 fi
18494
18495   fi
18496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18497 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18498
18499   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18500
18501 for ac_func in hypotl
18502 do
18503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18504 echo "$as_me:$LINENO: checking for $ac_func" >&5
18505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18506 if eval "test \"\${$as_ac_var+set}\" = set"; then
18507   echo $ECHO_N "(cached) $ECHO_C" >&6
18508 else
18509   cat >conftest.$ac_ext <<_ACEOF
18510 #line $LINENO "configure"
18511 /* confdefs.h.  */
18512 _ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h.  */
18516 /* System header to define __stub macros and hopefully few prototypes,
18517     which can conflict with char $ac_func (); below.
18518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18519     <limits.h> exists even on freestanding compilers.  */
18520 #ifdef __STDC__
18521 # include <limits.h>
18522 #else
18523 # include <assert.h>
18524 #endif
18525 /* Override any gcc2 internal prototype to avoid an error.  */
18526 #ifdef __cplusplus
18527 extern "C"
18528 {
18529 #endif
18530 /* We use char because int might match the return type of a gcc2
18531    builtin and then its argument prototype would still apply.  */
18532 char $ac_func ();
18533 /* The GNU C library defines this for functions which it implements
18534     to always fail with ENOSYS.  Some functions are actually named
18535     something starting with __ and the normal name is an alias.  */
18536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18537 choke me
18538 #else
18539 char (*f) () = $ac_func;
18540 #endif
18541 #ifdef __cplusplus
18542 }
18543 #endif
18544
18545 int
18546 main ()
18547 {
18548 return f != $ac_func;
18549   ;
18550   return 0;
18551 }
18552 _ACEOF
18553 rm -f conftest.$ac_objext conftest$ac_exeext
18554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18555   (eval $ac_link) 2>&5
18556   ac_status=$?
18557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558   (exit $ac_status); } &&
18559          { ac_try='test -s conftest$ac_exeext'
18560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561   (eval $ac_try) 2>&5
18562   ac_status=$?
18563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564   (exit $ac_status); }; }; then
18565   eval "$as_ac_var=yes"
18566 else
18567   echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18569
18570 eval "$as_ac_var=no"
18571 fi
18572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18573 fi
18574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18576 if test `eval echo '${'$as_ac_var'}'` = yes; then
18577   cat >>confdefs.h <<_ACEOF
18578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18579 _ACEOF
18580
18581 fi
18582 done
18583
18584   else
18585
18586   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18587 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18588   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18589     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18590   echo $ECHO_N "(cached) $ECHO_C" >&6
18591 else
18592
18593
18594
18595       ac_ext=cc
18596 ac_cpp='$CXXCPP $CPPFLAGS'
18597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18600
18601       cat >conftest.$ac_ext <<_ACEOF
18602 #line $LINENO "configure"
18603 /* confdefs.h.  */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h.  */
18608 #include <math.h>
18609 int
18610 main ()
18611 {
18612  _hypotl(0, 0);
18613   ;
18614   return 0;
18615 }
18616 _ACEOF
18617 rm -f conftest.$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619   (eval $ac_compile) 2>&5
18620   ac_status=$?
18621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622   (exit $ac_status); } &&
18623          { ac_try='test -s conftest.$ac_objext'
18624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625   (eval $ac_try) 2>&5
18626   ac_status=$?
18627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628   (exit $ac_status); }; }; then
18629   glibcxx_cv_func__hypotl_use=yes
18630 else
18631   echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634 glibcxx_cv_func__hypotl_use=no
18635 fi
18636 rm -f conftest.$ac_objext conftest.$ac_ext
18637       ac_ext=c
18638 ac_cpp='$CPP $CPPFLAGS'
18639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18642
18643
18644 fi
18645
18646   fi
18647   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18648 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18649
18650     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18651
18652 for ac_func in _hypotl
18653 do
18654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18655 echo "$as_me:$LINENO: checking for $ac_func" >&5
18656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18657 if eval "test \"\${$as_ac_var+set}\" = set"; then
18658   echo $ECHO_N "(cached) $ECHO_C" >&6
18659 else
18660   cat >conftest.$ac_ext <<_ACEOF
18661 #line $LINENO "configure"
18662 /* confdefs.h.  */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h.  */
18667 /* System header to define __stub macros and hopefully few prototypes,
18668     which can conflict with char $ac_func (); below.
18669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18670     <limits.h> exists even on freestanding compilers.  */
18671 #ifdef __STDC__
18672 # include <limits.h>
18673 #else
18674 # include <assert.h>
18675 #endif
18676 /* Override any gcc2 internal prototype to avoid an error.  */
18677 #ifdef __cplusplus
18678 extern "C"
18679 {
18680 #endif
18681 /* We use char because int might match the return type of a gcc2
18682    builtin and then its argument prototype would still apply.  */
18683 char $ac_func ();
18684 /* The GNU C library defines this for functions which it implements
18685     to always fail with ENOSYS.  Some functions are actually named
18686     something starting with __ and the normal name is an alias.  */
18687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18688 choke me
18689 #else
18690 char (*f) () = $ac_func;
18691 #endif
18692 #ifdef __cplusplus
18693 }
18694 #endif
18695
18696 int
18697 main ()
18698 {
18699 return f != $ac_func;
18700   ;
18701   return 0;
18702 }
18703 _ACEOF
18704 rm -f conftest.$ac_objext conftest$ac_exeext
18705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18706   (eval $ac_link) 2>&5
18707   ac_status=$?
18708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709   (exit $ac_status); } &&
18710          { ac_try='test -s conftest$ac_exeext'
18711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712   (eval $ac_try) 2>&5
18713   ac_status=$?
18714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715   (exit $ac_status); }; }; then
18716   eval "$as_ac_var=yes"
18717 else
18718   echo "$as_me: failed program was:" >&5
18719 sed 's/^/| /' conftest.$ac_ext >&5
18720
18721 eval "$as_ac_var=no"
18722 fi
18723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18724 fi
18725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18727 if test `eval echo '${'$as_ac_var'}'` = yes; then
18728   cat >>confdefs.h <<_ACEOF
18729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18730 _ACEOF
18731
18732 fi
18733 done
18734
18735     fi
18736   fi
18737
18738
18739
18740   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
18741 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
18742   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
18743     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
18744   echo $ECHO_N "(cached) $ECHO_C" >&6
18745 else
18746
18747
18748
18749       ac_ext=cc
18750 ac_cpp='$CXXCPP $CPPFLAGS'
18751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18754
18755       cat >conftest.$ac_ext <<_ACEOF
18756 #line $LINENO "configure"
18757 /* confdefs.h.  */
18758 _ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h.  */
18762 #include <math.h>
18763 int
18764 main ()
18765 {
18766  ldexpl(0, 0);
18767   ;
18768   return 0;
18769 }
18770 _ACEOF
18771 rm -f conftest.$ac_objext
18772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18773   (eval $ac_compile) 2>&5
18774   ac_status=$?
18775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776   (exit $ac_status); } &&
18777          { ac_try='test -s conftest.$ac_objext'
18778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779   (eval $ac_try) 2>&5
18780   ac_status=$?
18781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782   (exit $ac_status); }; }; then
18783   glibcxx_cv_func_ldexpl_use=yes
18784 else
18785   echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.$ac_ext >&5
18787
18788 glibcxx_cv_func_ldexpl_use=no
18789 fi
18790 rm -f conftest.$ac_objext conftest.$ac_ext
18791       ac_ext=c
18792 ac_cpp='$CPP $CPPFLAGS'
18793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18796
18797
18798 fi
18799
18800   fi
18801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
18802 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
18803
18804   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
18805
18806 for ac_func in ldexpl
18807 do
18808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18809 echo "$as_me:$LINENO: checking for $ac_func" >&5
18810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18811 if eval "test \"\${$as_ac_var+set}\" = set"; then
18812   echo $ECHO_N "(cached) $ECHO_C" >&6
18813 else
18814   cat >conftest.$ac_ext <<_ACEOF
18815 #line $LINENO "configure"
18816 /* confdefs.h.  */
18817 _ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h.  */
18821 /* System header to define __stub macros and hopefully few prototypes,
18822     which can conflict with char $ac_func (); below.
18823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18824     <limits.h> exists even on freestanding compilers.  */
18825 #ifdef __STDC__
18826 # include <limits.h>
18827 #else
18828 # include <assert.h>
18829 #endif
18830 /* Override any gcc2 internal prototype to avoid an error.  */
18831 #ifdef __cplusplus
18832 extern "C"
18833 {
18834 #endif
18835 /* We use char because int might match the return type of a gcc2
18836    builtin and then its argument prototype would still apply.  */
18837 char $ac_func ();
18838 /* The GNU C library defines this for functions which it implements
18839     to always fail with ENOSYS.  Some functions are actually named
18840     something starting with __ and the normal name is an alias.  */
18841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18842 choke me
18843 #else
18844 char (*f) () = $ac_func;
18845 #endif
18846 #ifdef __cplusplus
18847 }
18848 #endif
18849
18850 int
18851 main ()
18852 {
18853 return f != $ac_func;
18854   ;
18855   return 0;
18856 }
18857 _ACEOF
18858 rm -f conftest.$ac_objext conftest$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860   (eval $ac_link) 2>&5
18861   ac_status=$?
18862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863   (exit $ac_status); } &&
18864          { ac_try='test -s conftest$ac_exeext'
18865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866   (eval $ac_try) 2>&5
18867   ac_status=$?
18868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869   (exit $ac_status); }; }; then
18870   eval "$as_ac_var=yes"
18871 else
18872   echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 eval "$as_ac_var=no"
18876 fi
18877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18878 fi
18879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18881 if test `eval echo '${'$as_ac_var'}'` = yes; then
18882   cat >>confdefs.h <<_ACEOF
18883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18884 _ACEOF
18885
18886 fi
18887 done
18888
18889   else
18890
18891   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
18892 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
18893   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
18894     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
18895   echo $ECHO_N "(cached) $ECHO_C" >&6
18896 else
18897
18898
18899
18900       ac_ext=cc
18901 ac_cpp='$CXXCPP $CPPFLAGS'
18902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18905
18906       cat >conftest.$ac_ext <<_ACEOF
18907 #line $LINENO "configure"
18908 /* confdefs.h.  */
18909 _ACEOF
18910 cat confdefs.h >>conftest.$ac_ext
18911 cat >>conftest.$ac_ext <<_ACEOF
18912 /* end confdefs.h.  */
18913 #include <math.h>
18914 int
18915 main ()
18916 {
18917  _ldexpl(0, 0);
18918   ;
18919   return 0;
18920 }
18921 _ACEOF
18922 rm -f conftest.$ac_objext
18923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18924   (eval $ac_compile) 2>&5
18925   ac_status=$?
18926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927   (exit $ac_status); } &&
18928          { ac_try='test -s conftest.$ac_objext'
18929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930   (eval $ac_try) 2>&5
18931   ac_status=$?
18932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933   (exit $ac_status); }; }; then
18934   glibcxx_cv_func__ldexpl_use=yes
18935 else
18936   echo "$as_me: failed program was:" >&5
18937 sed 's/^/| /' conftest.$ac_ext >&5
18938
18939 glibcxx_cv_func__ldexpl_use=no
18940 fi
18941 rm -f conftest.$ac_objext conftest.$ac_ext
18942       ac_ext=c
18943 ac_cpp='$CPP $CPPFLAGS'
18944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18947
18948
18949 fi
18950
18951   fi
18952   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
18953 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
18954
18955     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
18956
18957 for ac_func in _ldexpl
18958 do
18959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18960 echo "$as_me:$LINENO: checking for $ac_func" >&5
18961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18962 if eval "test \"\${$as_ac_var+set}\" = set"; then
18963   echo $ECHO_N "(cached) $ECHO_C" >&6
18964 else
18965   cat >conftest.$ac_ext <<_ACEOF
18966 #line $LINENO "configure"
18967 /* confdefs.h.  */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h.  */
18972 /* System header to define __stub macros and hopefully few prototypes,
18973     which can conflict with char $ac_func (); below.
18974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18975     <limits.h> exists even on freestanding compilers.  */
18976 #ifdef __STDC__
18977 # include <limits.h>
18978 #else
18979 # include <assert.h>
18980 #endif
18981 /* Override any gcc2 internal prototype to avoid an error.  */
18982 #ifdef __cplusplus
18983 extern "C"
18984 {
18985 #endif
18986 /* We use char because int might match the return type of a gcc2
18987    builtin and then its argument prototype would still apply.  */
18988 char $ac_func ();
18989 /* The GNU C library defines this for functions which it implements
18990     to always fail with ENOSYS.  Some functions are actually named
18991     something starting with __ and the normal name is an alias.  */
18992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18993 choke me
18994 #else
18995 char (*f) () = $ac_func;
18996 #endif
18997 #ifdef __cplusplus
18998 }
18999 #endif
19000
19001 int
19002 main ()
19003 {
19004 return f != $ac_func;
19005   ;
19006   return 0;
19007 }
19008 _ACEOF
19009 rm -f conftest.$ac_objext conftest$ac_exeext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19011   (eval $ac_link) 2>&5
19012   ac_status=$?
19013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014   (exit $ac_status); } &&
19015          { ac_try='test -s conftest$ac_exeext'
19016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017   (eval $ac_try) 2>&5
19018   ac_status=$?
19019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020   (exit $ac_status); }; }; then
19021   eval "$as_ac_var=yes"
19022 else
19023   echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19025
19026 eval "$as_ac_var=no"
19027 fi
19028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19029 fi
19030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19032 if test `eval echo '${'$as_ac_var'}'` = yes; then
19033   cat >>confdefs.h <<_ACEOF
19034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19035 _ACEOF
19036
19037 fi
19038 done
19039
19040     fi
19041   fi
19042
19043
19044
19045   echo "$as_me:$LINENO: checking for logl declaration" >&5
19046 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19047   if test x${glibcxx_cv_func_logl_use+set} != xset; then
19048     if test "${glibcxx_cv_func_logl_use+set}" = set; then
19049   echo $ECHO_N "(cached) $ECHO_C" >&6
19050 else
19051
19052
19053
19054       ac_ext=cc
19055 ac_cpp='$CXXCPP $CPPFLAGS'
19056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19059
19060       cat >conftest.$ac_ext <<_ACEOF
19061 #line $LINENO "configure"
19062 /* confdefs.h.  */
19063 _ACEOF
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h.  */
19067 #include <math.h>
19068                       #ifdef HAVE_IEEEFP_H
19069                       #include <ieeefp.h>
19070                       #endif
19071
19072 int
19073 main ()
19074 {
19075  logl(0);
19076   ;
19077   return 0;
19078 }
19079 _ACEOF
19080 rm -f conftest.$ac_objext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19082   (eval $ac_compile) 2>&5
19083   ac_status=$?
19084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085   (exit $ac_status); } &&
19086          { ac_try='test -s conftest.$ac_objext'
19087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088   (eval $ac_try) 2>&5
19089   ac_status=$?
19090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091   (exit $ac_status); }; }; then
19092   glibcxx_cv_func_logl_use=yes
19093 else
19094   echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.$ac_ext >&5
19096
19097 glibcxx_cv_func_logl_use=no
19098 fi
19099 rm -f conftest.$ac_objext conftest.$ac_ext
19100       ac_ext=c
19101 ac_cpp='$CPP $CPPFLAGS'
19102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19105
19106
19107 fi
19108
19109   fi
19110   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19111 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19112
19113   if test x$glibcxx_cv_func_logl_use = x"yes"; then
19114
19115 for ac_func in logl
19116 do
19117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19118 echo "$as_me:$LINENO: checking for $ac_func" >&5
19119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19120 if eval "test \"\${$as_ac_var+set}\" = set"; then
19121   echo $ECHO_N "(cached) $ECHO_C" >&6
19122 else
19123   cat >conftest.$ac_ext <<_ACEOF
19124 #line $LINENO "configure"
19125 /* confdefs.h.  */
19126 _ACEOF
19127 cat confdefs.h >>conftest.$ac_ext
19128 cat >>conftest.$ac_ext <<_ACEOF
19129 /* end confdefs.h.  */
19130 /* System header to define __stub macros and hopefully few prototypes,
19131     which can conflict with char $ac_func (); below.
19132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19133     <limits.h> exists even on freestanding compilers.  */
19134 #ifdef __STDC__
19135 # include <limits.h>
19136 #else
19137 # include <assert.h>
19138 #endif
19139 /* Override any gcc2 internal prototype to avoid an error.  */
19140 #ifdef __cplusplus
19141 extern "C"
19142 {
19143 #endif
19144 /* We use char because int might match the return type of a gcc2
19145    builtin and then its argument prototype would still apply.  */
19146 char $ac_func ();
19147 /* The GNU C library defines this for functions which it implements
19148     to always fail with ENOSYS.  Some functions are actually named
19149     something starting with __ and the normal name is an alias.  */
19150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19151 choke me
19152 #else
19153 char (*f) () = $ac_func;
19154 #endif
19155 #ifdef __cplusplus
19156 }
19157 #endif
19158
19159 int
19160 main ()
19161 {
19162 return f != $ac_func;
19163   ;
19164   return 0;
19165 }
19166 _ACEOF
19167 rm -f conftest.$ac_objext conftest$ac_exeext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19169   (eval $ac_link) 2>&5
19170   ac_status=$?
19171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172   (exit $ac_status); } &&
19173          { ac_try='test -s conftest$ac_exeext'
19174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175   (eval $ac_try) 2>&5
19176   ac_status=$?
19177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178   (exit $ac_status); }; }; then
19179   eval "$as_ac_var=yes"
19180 else
19181   echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19183
19184 eval "$as_ac_var=no"
19185 fi
19186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19187 fi
19188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19190 if test `eval echo '${'$as_ac_var'}'` = yes; then
19191   cat >>confdefs.h <<_ACEOF
19192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19193 _ACEOF
19194
19195 fi
19196 done
19197
19198   else
19199
19200   echo "$as_me:$LINENO: checking for _logl declaration" >&5
19201 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19202   if test x${glibcxx_cv_func__logl_use+set} != xset; then
19203     if test "${glibcxx_cv_func__logl_use+set}" = set; then
19204   echo $ECHO_N "(cached) $ECHO_C" >&6
19205 else
19206
19207
19208
19209       ac_ext=cc
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214
19215       cat >conftest.$ac_ext <<_ACEOF
19216 #line $LINENO "configure"
19217 /* confdefs.h.  */
19218 _ACEOF
19219 cat confdefs.h >>conftest.$ac_ext
19220 cat >>conftest.$ac_ext <<_ACEOF
19221 /* end confdefs.h.  */
19222 #include <math.h>
19223                       #ifdef HAVE_IEEEFP_H
19224                       #include <ieeefp.h>
19225                       #endif
19226
19227 int
19228 main ()
19229 {
19230  _logl(0);
19231   ;
19232   return 0;
19233 }
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19237   (eval $ac_compile) 2>&5
19238   ac_status=$?
19239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240   (exit $ac_status); } &&
19241          { ac_try='test -s conftest.$ac_objext'
19242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243   (eval $ac_try) 2>&5
19244   ac_status=$?
19245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246   (exit $ac_status); }; }; then
19247   glibcxx_cv_func__logl_use=yes
19248 else
19249   echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.$ac_ext >&5
19251
19252 glibcxx_cv_func__logl_use=no
19253 fi
19254 rm -f conftest.$ac_objext conftest.$ac_ext
19255       ac_ext=c
19256 ac_cpp='$CPP $CPPFLAGS'
19257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19260
19261
19262 fi
19263
19264   fi
19265   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19266 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19267
19268     if test x$glibcxx_cv_func__logl_use = x"yes"; then
19269
19270 for ac_func in _logl
19271 do
19272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19273 echo "$as_me:$LINENO: checking for $ac_func" >&5
19274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19275 if eval "test \"\${$as_ac_var+set}\" = set"; then
19276   echo $ECHO_N "(cached) $ECHO_C" >&6
19277 else
19278   cat >conftest.$ac_ext <<_ACEOF
19279 #line $LINENO "configure"
19280 /* confdefs.h.  */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h.  */
19285 /* System header to define __stub macros and hopefully few prototypes,
19286     which can conflict with char $ac_func (); below.
19287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19288     <limits.h> exists even on freestanding compilers.  */
19289 #ifdef __STDC__
19290 # include <limits.h>
19291 #else
19292 # include <assert.h>
19293 #endif
19294 /* Override any gcc2 internal prototype to avoid an error.  */
19295 #ifdef __cplusplus
19296 extern "C"
19297 {
19298 #endif
19299 /* We use char because int might match the return type of a gcc2
19300    builtin and then its argument prototype would still apply.  */
19301 char $ac_func ();
19302 /* The GNU C library defines this for functions which it implements
19303     to always fail with ENOSYS.  Some functions are actually named
19304     something starting with __ and the normal name is an alias.  */
19305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19306 choke me
19307 #else
19308 char (*f) () = $ac_func;
19309 #endif
19310 #ifdef __cplusplus
19311 }
19312 #endif
19313
19314 int
19315 main ()
19316 {
19317 return f != $ac_func;
19318   ;
19319   return 0;
19320 }
19321 _ACEOF
19322 rm -f conftest.$ac_objext conftest$ac_exeext
19323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19324   (eval $ac_link) 2>&5
19325   ac_status=$?
19326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327   (exit $ac_status); } &&
19328          { ac_try='test -s conftest$ac_exeext'
19329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330   (eval $ac_try) 2>&5
19331   ac_status=$?
19332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333   (exit $ac_status); }; }; then
19334   eval "$as_ac_var=yes"
19335 else
19336   echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19338
19339 eval "$as_ac_var=no"
19340 fi
19341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19342 fi
19343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19345 if test `eval echo '${'$as_ac_var'}'` = yes; then
19346   cat >>confdefs.h <<_ACEOF
19347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19348 _ACEOF
19349
19350 fi
19351 done
19352
19353     fi
19354   fi
19355
19356
19357
19358   echo "$as_me:$LINENO: checking for log10l declaration" >&5
19359 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19360   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19361     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19362   echo $ECHO_N "(cached) $ECHO_C" >&6
19363 else
19364
19365
19366
19367       ac_ext=cc
19368 ac_cpp='$CXXCPP $CPPFLAGS'
19369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372
19373       cat >conftest.$ac_ext <<_ACEOF
19374 #line $LINENO "configure"
19375 /* confdefs.h.  */
19376 _ACEOF
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h.  */
19380 #include <math.h>
19381                       #ifdef HAVE_IEEEFP_H
19382                       #include <ieeefp.h>
19383                       #endif
19384
19385 int
19386 main ()
19387 {
19388  log10l(0);
19389   ;
19390   return 0;
19391 }
19392 _ACEOF
19393 rm -f conftest.$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395   (eval $ac_compile) 2>&5
19396   ac_status=$?
19397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398   (exit $ac_status); } &&
19399          { ac_try='test -s conftest.$ac_objext'
19400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401   (eval $ac_try) 2>&5
19402   ac_status=$?
19403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404   (exit $ac_status); }; }; then
19405   glibcxx_cv_func_log10l_use=yes
19406 else
19407   echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19409
19410 glibcxx_cv_func_log10l_use=no
19411 fi
19412 rm -f conftest.$ac_objext conftest.$ac_ext
19413       ac_ext=c
19414 ac_cpp='$CPP $CPPFLAGS'
19415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418
19419
19420 fi
19421
19422   fi
19423   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19424 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19425
19426   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19427
19428 for ac_func in log10l
19429 do
19430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19431 echo "$as_me:$LINENO: checking for $ac_func" >&5
19432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19433 if eval "test \"\${$as_ac_var+set}\" = set"; then
19434   echo $ECHO_N "(cached) $ECHO_C" >&6
19435 else
19436   cat >conftest.$ac_ext <<_ACEOF
19437 #line $LINENO "configure"
19438 /* confdefs.h.  */
19439 _ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h.  */
19443 /* System header to define __stub macros and hopefully few prototypes,
19444     which can conflict with char $ac_func (); below.
19445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19446     <limits.h> exists even on freestanding compilers.  */
19447 #ifdef __STDC__
19448 # include <limits.h>
19449 #else
19450 # include <assert.h>
19451 #endif
19452 /* Override any gcc2 internal prototype to avoid an error.  */
19453 #ifdef __cplusplus
19454 extern "C"
19455 {
19456 #endif
19457 /* We use char because int might match the return type of a gcc2
19458    builtin and then its argument prototype would still apply.  */
19459 char $ac_func ();
19460 /* The GNU C library defines this for functions which it implements
19461     to always fail with ENOSYS.  Some functions are actually named
19462     something starting with __ and the normal name is an alias.  */
19463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19464 choke me
19465 #else
19466 char (*f) () = $ac_func;
19467 #endif
19468 #ifdef __cplusplus
19469 }
19470 #endif
19471
19472 int
19473 main ()
19474 {
19475 return f != $ac_func;
19476   ;
19477   return 0;
19478 }
19479 _ACEOF
19480 rm -f conftest.$ac_objext conftest$ac_exeext
19481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19482   (eval $ac_link) 2>&5
19483   ac_status=$?
19484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485   (exit $ac_status); } &&
19486          { ac_try='test -s conftest$ac_exeext'
19487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488   (eval $ac_try) 2>&5
19489   ac_status=$?
19490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491   (exit $ac_status); }; }; then
19492   eval "$as_ac_var=yes"
19493 else
19494   echo "$as_me: failed program was:" >&5
19495 sed 's/^/| /' conftest.$ac_ext >&5
19496
19497 eval "$as_ac_var=no"
19498 fi
19499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19500 fi
19501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19503 if test `eval echo '${'$as_ac_var'}'` = yes; then
19504   cat >>confdefs.h <<_ACEOF
19505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19506 _ACEOF
19507
19508 fi
19509 done
19510
19511   else
19512
19513   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19514 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19515   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19516     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19517   echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519
19520
19521
19522       ac_ext=cc
19523 ac_cpp='$CXXCPP $CPPFLAGS'
19524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19527
19528       cat >conftest.$ac_ext <<_ACEOF
19529 #line $LINENO "configure"
19530 /* confdefs.h.  */
19531 _ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h.  */
19535 #include <math.h>
19536                       #ifdef HAVE_IEEEFP_H
19537                       #include <ieeefp.h>
19538                       #endif
19539
19540 int
19541 main ()
19542 {
19543  _log10l(0);
19544   ;
19545   return 0;
19546 }
19547 _ACEOF
19548 rm -f conftest.$ac_objext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19550   (eval $ac_compile) 2>&5
19551   ac_status=$?
19552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553   (exit $ac_status); } &&
19554          { ac_try='test -s conftest.$ac_objext'
19555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556   (eval $ac_try) 2>&5
19557   ac_status=$?
19558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559   (exit $ac_status); }; }; then
19560   glibcxx_cv_func__log10l_use=yes
19561 else
19562   echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19564
19565 glibcxx_cv_func__log10l_use=no
19566 fi
19567 rm -f conftest.$ac_objext conftest.$ac_ext
19568       ac_ext=c
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19573
19574
19575 fi
19576
19577   fi
19578   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19579 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19580
19581     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19582
19583 for ac_func in _log10l
19584 do
19585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19586 echo "$as_me:$LINENO: checking for $ac_func" >&5
19587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19588 if eval "test \"\${$as_ac_var+set}\" = set"; then
19589   echo $ECHO_N "(cached) $ECHO_C" >&6
19590 else
19591   cat >conftest.$ac_ext <<_ACEOF
19592 #line $LINENO "configure"
19593 /* confdefs.h.  */
19594 _ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h.  */
19598 /* System header to define __stub macros and hopefully few prototypes,
19599     which can conflict with char $ac_func (); below.
19600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19601     <limits.h> exists even on freestanding compilers.  */
19602 #ifdef __STDC__
19603 # include <limits.h>
19604 #else
19605 # include <assert.h>
19606 #endif
19607 /* Override any gcc2 internal prototype to avoid an error.  */
19608 #ifdef __cplusplus
19609 extern "C"
19610 {
19611 #endif
19612 /* We use char because int might match the return type of a gcc2
19613    builtin and then its argument prototype would still apply.  */
19614 char $ac_func ();
19615 /* The GNU C library defines this for functions which it implements
19616     to always fail with ENOSYS.  Some functions are actually named
19617     something starting with __ and the normal name is an alias.  */
19618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19619 choke me
19620 #else
19621 char (*f) () = $ac_func;
19622 #endif
19623 #ifdef __cplusplus
19624 }
19625 #endif
19626
19627 int
19628 main ()
19629 {
19630 return f != $ac_func;
19631   ;
19632   return 0;
19633 }
19634 _ACEOF
19635 rm -f conftest.$ac_objext conftest$ac_exeext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19637   (eval $ac_link) 2>&5
19638   ac_status=$?
19639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640   (exit $ac_status); } &&
19641          { ac_try='test -s conftest$ac_exeext'
19642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643   (eval $ac_try) 2>&5
19644   ac_status=$?
19645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646   (exit $ac_status); }; }; then
19647   eval "$as_ac_var=yes"
19648 else
19649   echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19651
19652 eval "$as_ac_var=no"
19653 fi
19654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19655 fi
19656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19658 if test `eval echo '${'$as_ac_var'}'` = yes; then
19659   cat >>confdefs.h <<_ACEOF
19660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19661 _ACEOF
19662
19663 fi
19664 done
19665
19666     fi
19667   fi
19668
19669
19670
19671   echo "$as_me:$LINENO: checking for modfl declaration" >&5
19672 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
19673   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
19674     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
19675   echo $ECHO_N "(cached) $ECHO_C" >&6
19676 else
19677
19678
19679
19680       ac_ext=cc
19681 ac_cpp='$CXXCPP $CPPFLAGS'
19682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19685
19686       cat >conftest.$ac_ext <<_ACEOF
19687 #line $LINENO "configure"
19688 /* confdefs.h.  */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h.  */
19693 #include <math.h>
19694 int
19695 main ()
19696 {
19697  modfl(0, 0);
19698   ;
19699   return 0;
19700 }
19701 _ACEOF
19702 rm -f conftest.$ac_objext
19703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19704   (eval $ac_compile) 2>&5
19705   ac_status=$?
19706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707   (exit $ac_status); } &&
19708          { ac_try='test -s conftest.$ac_objext'
19709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710   (eval $ac_try) 2>&5
19711   ac_status=$?
19712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713   (exit $ac_status); }; }; then
19714   glibcxx_cv_func_modfl_use=yes
19715 else
19716   echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19718
19719 glibcxx_cv_func_modfl_use=no
19720 fi
19721 rm -f conftest.$ac_objext conftest.$ac_ext
19722       ac_ext=c
19723 ac_cpp='$CPP $CPPFLAGS'
19724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19727
19728
19729 fi
19730
19731   fi
19732   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
19733 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
19734
19735   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
19736
19737 for ac_func in modfl
19738 do
19739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19740 echo "$as_me:$LINENO: checking for $ac_func" >&5
19741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19742 if eval "test \"\${$as_ac_var+set}\" = set"; then
19743   echo $ECHO_N "(cached) $ECHO_C" >&6
19744 else
19745   cat >conftest.$ac_ext <<_ACEOF
19746 #line $LINENO "configure"
19747 /* confdefs.h.  */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h.  */
19752 /* System header to define __stub macros and hopefully few prototypes,
19753     which can conflict with char $ac_func (); below.
19754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19755     <limits.h> exists even on freestanding compilers.  */
19756 #ifdef __STDC__
19757 # include <limits.h>
19758 #else
19759 # include <assert.h>
19760 #endif
19761 /* Override any gcc2 internal prototype to avoid an error.  */
19762 #ifdef __cplusplus
19763 extern "C"
19764 {
19765 #endif
19766 /* We use char because int might match the return type of a gcc2
19767    builtin and then its argument prototype would still apply.  */
19768 char $ac_func ();
19769 /* The GNU C library defines this for functions which it implements
19770     to always fail with ENOSYS.  Some functions are actually named
19771     something starting with __ and the normal name is an alias.  */
19772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19773 choke me
19774 #else
19775 char (*f) () = $ac_func;
19776 #endif
19777 #ifdef __cplusplus
19778 }
19779 #endif
19780
19781 int
19782 main ()
19783 {
19784 return f != $ac_func;
19785   ;
19786   return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext conftest$ac_exeext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19791   (eval $ac_link) 2>&5
19792   ac_status=$?
19793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794   (exit $ac_status); } &&
19795          { ac_try='test -s conftest$ac_exeext'
19796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797   (eval $ac_try) 2>&5
19798   ac_status=$?
19799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800   (exit $ac_status); }; }; then
19801   eval "$as_ac_var=yes"
19802 else
19803   echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19805
19806 eval "$as_ac_var=no"
19807 fi
19808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19809 fi
19810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19812 if test `eval echo '${'$as_ac_var'}'` = yes; then
19813   cat >>confdefs.h <<_ACEOF
19814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19815 _ACEOF
19816
19817 fi
19818 done
19819
19820   else
19821
19822   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
19823 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
19824   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
19825     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
19826   echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828
19829
19830
19831       ac_ext=cc
19832 ac_cpp='$CXXCPP $CPPFLAGS'
19833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19836
19837       cat >conftest.$ac_ext <<_ACEOF
19838 #line $LINENO "configure"
19839 /* confdefs.h.  */
19840 _ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h.  */
19844 #include <math.h>
19845 int
19846 main ()
19847 {
19848  _modfl(0, 0);
19849   ;
19850   return 0;
19851 }
19852 _ACEOF
19853 rm -f conftest.$ac_objext
19854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19855   (eval $ac_compile) 2>&5
19856   ac_status=$?
19857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858   (exit $ac_status); } &&
19859          { ac_try='test -s conftest.$ac_objext'
19860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861   (eval $ac_try) 2>&5
19862   ac_status=$?
19863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864   (exit $ac_status); }; }; then
19865   glibcxx_cv_func__modfl_use=yes
19866 else
19867   echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19869
19870 glibcxx_cv_func__modfl_use=no
19871 fi
19872 rm -f conftest.$ac_objext conftest.$ac_ext
19873       ac_ext=c
19874 ac_cpp='$CPP $CPPFLAGS'
19875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19878
19879
19880 fi
19881
19882   fi
19883   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
19884 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
19885
19886     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
19887
19888 for ac_func in _modfl
19889 do
19890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19891 echo "$as_me:$LINENO: checking for $ac_func" >&5
19892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19893 if eval "test \"\${$as_ac_var+set}\" = set"; then
19894   echo $ECHO_N "(cached) $ECHO_C" >&6
19895 else
19896   cat >conftest.$ac_ext <<_ACEOF
19897 #line $LINENO "configure"
19898 /* confdefs.h.  */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h.  */
19903 /* System header to define __stub macros and hopefully few prototypes,
19904     which can conflict with char $ac_func (); below.
19905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19906     <limits.h> exists even on freestanding compilers.  */
19907 #ifdef __STDC__
19908 # include <limits.h>
19909 #else
19910 # include <assert.h>
19911 #endif
19912 /* Override any gcc2 internal prototype to avoid an error.  */
19913 #ifdef __cplusplus
19914 extern "C"
19915 {
19916 #endif
19917 /* We use char because int might match the return type of a gcc2
19918    builtin and then its argument prototype would still apply.  */
19919 char $ac_func ();
19920 /* The GNU C library defines this for functions which it implements
19921     to always fail with ENOSYS.  Some functions are actually named
19922     something starting with __ and the normal name is an alias.  */
19923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19924 choke me
19925 #else
19926 char (*f) () = $ac_func;
19927 #endif
19928 #ifdef __cplusplus
19929 }
19930 #endif
19931
19932 int
19933 main ()
19934 {
19935 return f != $ac_func;
19936   ;
19937   return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest.$ac_objext conftest$ac_exeext
19941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19942   (eval $ac_link) 2>&5
19943   ac_status=$?
19944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945   (exit $ac_status); } &&
19946          { ac_try='test -s conftest$ac_exeext'
19947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948   (eval $ac_try) 2>&5
19949   ac_status=$?
19950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951   (exit $ac_status); }; }; then
19952   eval "$as_ac_var=yes"
19953 else
19954   echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 eval "$as_ac_var=no"
19958 fi
19959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19960 fi
19961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19963 if test `eval echo '${'$as_ac_var'}'` = yes; then
19964   cat >>confdefs.h <<_ACEOF
19965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19966 _ACEOF
19967
19968 fi
19969 done
19970
19971     fi
19972   fi
19973
19974
19975
19976   echo "$as_me:$LINENO: checking for powl declaration" >&5
19977 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
19978   if test x${glibcxx_cv_func_powl_use+set} != xset; then
19979     if test "${glibcxx_cv_func_powl_use+set}" = set; then
19980   echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982
19983
19984
19985       ac_ext=cc
19986 ac_cpp='$CXXCPP $CPPFLAGS'
19987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19990
19991       cat >conftest.$ac_ext <<_ACEOF
19992 #line $LINENO "configure"
19993 /* confdefs.h.  */
19994 _ACEOF
19995 cat confdefs.h >>conftest.$ac_ext
19996 cat >>conftest.$ac_ext <<_ACEOF
19997 /* end confdefs.h.  */
19998 #include <math.h>
19999 int
20000 main ()
20001 {
20002  powl(0, 0);
20003   ;
20004   return 0;
20005 }
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009   (eval $ac_compile) 2>&5
20010   ac_status=$?
20011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012   (exit $ac_status); } &&
20013          { ac_try='test -s conftest.$ac_objext'
20014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015   (eval $ac_try) 2>&5
20016   ac_status=$?
20017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018   (exit $ac_status); }; }; then
20019   glibcxx_cv_func_powl_use=yes
20020 else
20021   echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20023
20024 glibcxx_cv_func_powl_use=no
20025 fi
20026 rm -f conftest.$ac_objext conftest.$ac_ext
20027       ac_ext=c
20028 ac_cpp='$CPP $CPPFLAGS'
20029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20032
20033
20034 fi
20035
20036   fi
20037   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20038 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20039
20040   if test x$glibcxx_cv_func_powl_use = x"yes"; then
20041
20042 for ac_func in powl
20043 do
20044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20045 echo "$as_me:$LINENO: checking for $ac_func" >&5
20046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20047 if eval "test \"\${$as_ac_var+set}\" = set"; then
20048   echo $ECHO_N "(cached) $ECHO_C" >&6
20049 else
20050   cat >conftest.$ac_ext <<_ACEOF
20051 #line $LINENO "configure"
20052 /* confdefs.h.  */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h.  */
20057 /* System header to define __stub macros and hopefully few prototypes,
20058     which can conflict with char $ac_func (); below.
20059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20060     <limits.h> exists even on freestanding compilers.  */
20061 #ifdef __STDC__
20062 # include <limits.h>
20063 #else
20064 # include <assert.h>
20065 #endif
20066 /* Override any gcc2 internal prototype to avoid an error.  */
20067 #ifdef __cplusplus
20068 extern "C"
20069 {
20070 #endif
20071 /* We use char because int might match the return type of a gcc2
20072    builtin and then its argument prototype would still apply.  */
20073 char $ac_func ();
20074 /* The GNU C library defines this for functions which it implements
20075     to always fail with ENOSYS.  Some functions are actually named
20076     something starting with __ and the normal name is an alias.  */
20077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20078 choke me
20079 #else
20080 char (*f) () = $ac_func;
20081 #endif
20082 #ifdef __cplusplus
20083 }
20084 #endif
20085
20086 int
20087 main ()
20088 {
20089 return f != $ac_func;
20090   ;
20091   return 0;
20092 }
20093 _ACEOF
20094 rm -f conftest.$ac_objext conftest$ac_exeext
20095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20096   (eval $ac_link) 2>&5
20097   ac_status=$?
20098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099   (exit $ac_status); } &&
20100          { ac_try='test -s conftest$ac_exeext'
20101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102   (eval $ac_try) 2>&5
20103   ac_status=$?
20104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105   (exit $ac_status); }; }; then
20106   eval "$as_ac_var=yes"
20107 else
20108   echo "$as_me: failed program was:" >&5
20109 sed 's/^/| /' conftest.$ac_ext >&5
20110
20111 eval "$as_ac_var=no"
20112 fi
20113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20114 fi
20115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20117 if test `eval echo '${'$as_ac_var'}'` = yes; then
20118   cat >>confdefs.h <<_ACEOF
20119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20120 _ACEOF
20121
20122 fi
20123 done
20124
20125   else
20126
20127   echo "$as_me:$LINENO: checking for _powl declaration" >&5
20128 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20129   if test x${glibcxx_cv_func__powl_use+set} != xset; then
20130     if test "${glibcxx_cv_func__powl_use+set}" = set; then
20131   echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133
20134
20135
20136       ac_ext=cc
20137 ac_cpp='$CXXCPP $CPPFLAGS'
20138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20141
20142       cat >conftest.$ac_ext <<_ACEOF
20143 #line $LINENO "configure"
20144 /* confdefs.h.  */
20145 _ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h.  */
20149 #include <math.h>
20150 int
20151 main ()
20152 {
20153  _powl(0, 0);
20154   ;
20155   return 0;
20156 }
20157 _ACEOF
20158 rm -f conftest.$ac_objext
20159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20160   (eval $ac_compile) 2>&5
20161   ac_status=$?
20162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163   (exit $ac_status); } &&
20164          { ac_try='test -s conftest.$ac_objext'
20165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166   (eval $ac_try) 2>&5
20167   ac_status=$?
20168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169   (exit $ac_status); }; }; then
20170   glibcxx_cv_func__powl_use=yes
20171 else
20172   echo "$as_me: failed program was:" >&5
20173 sed 's/^/| /' conftest.$ac_ext >&5
20174
20175 glibcxx_cv_func__powl_use=no
20176 fi
20177 rm -f conftest.$ac_objext conftest.$ac_ext
20178       ac_ext=c
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20183
20184
20185 fi
20186
20187   fi
20188   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20189 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20190
20191     if test x$glibcxx_cv_func__powl_use = x"yes"; then
20192
20193 for ac_func in _powl
20194 do
20195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20196 echo "$as_me:$LINENO: checking for $ac_func" >&5
20197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20198 if eval "test \"\${$as_ac_var+set}\" = set"; then
20199   echo $ECHO_N "(cached) $ECHO_C" >&6
20200 else
20201   cat >conftest.$ac_ext <<_ACEOF
20202 #line $LINENO "configure"
20203 /* confdefs.h.  */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h.  */
20208 /* System header to define __stub macros and hopefully few prototypes,
20209     which can conflict with char $ac_func (); below.
20210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20211     <limits.h> exists even on freestanding compilers.  */
20212 #ifdef __STDC__
20213 # include <limits.h>
20214 #else
20215 # include <assert.h>
20216 #endif
20217 /* Override any gcc2 internal prototype to avoid an error.  */
20218 #ifdef __cplusplus
20219 extern "C"
20220 {
20221 #endif
20222 /* We use char because int might match the return type of a gcc2
20223    builtin and then its argument prototype would still apply.  */
20224 char $ac_func ();
20225 /* The GNU C library defines this for functions which it implements
20226     to always fail with ENOSYS.  Some functions are actually named
20227     something starting with __ and the normal name is an alias.  */
20228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20229 choke me
20230 #else
20231 char (*f) () = $ac_func;
20232 #endif
20233 #ifdef __cplusplus
20234 }
20235 #endif
20236
20237 int
20238 main ()
20239 {
20240 return f != $ac_func;
20241   ;
20242   return 0;
20243 }
20244 _ACEOF
20245 rm -f conftest.$ac_objext conftest$ac_exeext
20246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20247   (eval $ac_link) 2>&5
20248   ac_status=$?
20249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250   (exit $ac_status); } &&
20251          { ac_try='test -s conftest$ac_exeext'
20252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253   (eval $ac_try) 2>&5
20254   ac_status=$?
20255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256   (exit $ac_status); }; }; then
20257   eval "$as_ac_var=yes"
20258 else
20259   echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.$ac_ext >&5
20261
20262 eval "$as_ac_var=no"
20263 fi
20264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20265 fi
20266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20268 if test `eval echo '${'$as_ac_var'}'` = yes; then
20269   cat >>confdefs.h <<_ACEOF
20270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20271 _ACEOF
20272
20273 fi
20274 done
20275
20276     fi
20277   fi
20278
20279
20280
20281   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20282 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20283   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20284     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20285   echo $ECHO_N "(cached) $ECHO_C" >&6
20286 else
20287
20288
20289
20290       ac_ext=cc
20291 ac_cpp='$CXXCPP $CPPFLAGS'
20292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20295
20296       cat >conftest.$ac_ext <<_ACEOF
20297 #line $LINENO "configure"
20298 /* confdefs.h.  */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h.  */
20303 #include <math.h>
20304                       #ifdef HAVE_IEEEFP_H
20305                       #include <ieeefp.h>
20306                       #endif
20307
20308 int
20309 main ()
20310 {
20311  sqrtl(0);
20312   ;
20313   return 0;
20314 }
20315 _ACEOF
20316 rm -f conftest.$ac_objext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20318   (eval $ac_compile) 2>&5
20319   ac_status=$?
20320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321   (exit $ac_status); } &&
20322          { ac_try='test -s conftest.$ac_objext'
20323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324   (eval $ac_try) 2>&5
20325   ac_status=$?
20326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327   (exit $ac_status); }; }; then
20328   glibcxx_cv_func_sqrtl_use=yes
20329 else
20330   echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20332
20333 glibcxx_cv_func_sqrtl_use=no
20334 fi
20335 rm -f conftest.$ac_objext conftest.$ac_ext
20336       ac_ext=c
20337 ac_cpp='$CPP $CPPFLAGS'
20338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20341
20342
20343 fi
20344
20345   fi
20346   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20347 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20348
20349   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20350
20351 for ac_func in sqrtl
20352 do
20353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20354 echo "$as_me:$LINENO: checking for $ac_func" >&5
20355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20356 if eval "test \"\${$as_ac_var+set}\" = set"; then
20357   echo $ECHO_N "(cached) $ECHO_C" >&6
20358 else
20359   cat >conftest.$ac_ext <<_ACEOF
20360 #line $LINENO "configure"
20361 /* confdefs.h.  */
20362 _ACEOF
20363 cat confdefs.h >>conftest.$ac_ext
20364 cat >>conftest.$ac_ext <<_ACEOF
20365 /* end confdefs.h.  */
20366 /* System header to define __stub macros and hopefully few prototypes,
20367     which can conflict with char $ac_func (); below.
20368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20369     <limits.h> exists even on freestanding compilers.  */
20370 #ifdef __STDC__
20371 # include <limits.h>
20372 #else
20373 # include <assert.h>
20374 #endif
20375 /* Override any gcc2 internal prototype to avoid an error.  */
20376 #ifdef __cplusplus
20377 extern "C"
20378 {
20379 #endif
20380 /* We use char because int might match the return type of a gcc2
20381    builtin and then its argument prototype would still apply.  */
20382 char $ac_func ();
20383 /* The GNU C library defines this for functions which it implements
20384     to always fail with ENOSYS.  Some functions are actually named
20385     something starting with __ and the normal name is an alias.  */
20386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20387 choke me
20388 #else
20389 char (*f) () = $ac_func;
20390 #endif
20391 #ifdef __cplusplus
20392 }
20393 #endif
20394
20395 int
20396 main ()
20397 {
20398 return f != $ac_func;
20399   ;
20400   return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext conftest$ac_exeext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405   (eval $ac_link) 2>&5
20406   ac_status=$?
20407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408   (exit $ac_status); } &&
20409          { ac_try='test -s conftest$ac_exeext'
20410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411   (eval $ac_try) 2>&5
20412   ac_status=$?
20413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414   (exit $ac_status); }; }; then
20415   eval "$as_ac_var=yes"
20416 else
20417   echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 eval "$as_ac_var=no"
20421 fi
20422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20423 fi
20424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20426 if test `eval echo '${'$as_ac_var'}'` = yes; then
20427   cat >>confdefs.h <<_ACEOF
20428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20429 _ACEOF
20430
20431 fi
20432 done
20433
20434   else
20435
20436   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20437 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20438   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20439     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20440   echo $ECHO_N "(cached) $ECHO_C" >&6
20441 else
20442
20443
20444
20445       ac_ext=cc
20446 ac_cpp='$CXXCPP $CPPFLAGS'
20447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20450
20451       cat >conftest.$ac_ext <<_ACEOF
20452 #line $LINENO "configure"
20453 /* confdefs.h.  */
20454 _ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h.  */
20458 #include <math.h>
20459                       #ifdef HAVE_IEEEFP_H
20460                       #include <ieeefp.h>
20461                       #endif
20462
20463 int
20464 main ()
20465 {
20466  _sqrtl(0);
20467   ;
20468   return 0;
20469 }
20470 _ACEOF
20471 rm -f conftest.$ac_objext
20472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20473   (eval $ac_compile) 2>&5
20474   ac_status=$?
20475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476   (exit $ac_status); } &&
20477          { ac_try='test -s conftest.$ac_objext'
20478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479   (eval $ac_try) 2>&5
20480   ac_status=$?
20481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482   (exit $ac_status); }; }; then
20483   glibcxx_cv_func__sqrtl_use=yes
20484 else
20485   echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20487
20488 glibcxx_cv_func__sqrtl_use=no
20489 fi
20490 rm -f conftest.$ac_objext conftest.$ac_ext
20491       ac_ext=c
20492 ac_cpp='$CPP $CPPFLAGS'
20493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20496
20497
20498 fi
20499
20500   fi
20501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20502 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20503
20504     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20505
20506 for ac_func in _sqrtl
20507 do
20508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20509 echo "$as_me:$LINENO: checking for $ac_func" >&5
20510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20511 if eval "test \"\${$as_ac_var+set}\" = set"; then
20512   echo $ECHO_N "(cached) $ECHO_C" >&6
20513 else
20514   cat >conftest.$ac_ext <<_ACEOF
20515 #line $LINENO "configure"
20516 /* confdefs.h.  */
20517 _ACEOF
20518 cat confdefs.h >>conftest.$ac_ext
20519 cat >>conftest.$ac_ext <<_ACEOF
20520 /* end confdefs.h.  */
20521 /* System header to define __stub macros and hopefully few prototypes,
20522     which can conflict with char $ac_func (); below.
20523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20524     <limits.h> exists even on freestanding compilers.  */
20525 #ifdef __STDC__
20526 # include <limits.h>
20527 #else
20528 # include <assert.h>
20529 #endif
20530 /* Override any gcc2 internal prototype to avoid an error.  */
20531 #ifdef __cplusplus
20532 extern "C"
20533 {
20534 #endif
20535 /* We use char because int might match the return type of a gcc2
20536    builtin and then its argument prototype would still apply.  */
20537 char $ac_func ();
20538 /* The GNU C library defines this for functions which it implements
20539     to always fail with ENOSYS.  Some functions are actually named
20540     something starting with __ and the normal name is an alias.  */
20541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20542 choke me
20543 #else
20544 char (*f) () = $ac_func;
20545 #endif
20546 #ifdef __cplusplus
20547 }
20548 #endif
20549
20550 int
20551 main ()
20552 {
20553 return f != $ac_func;
20554   ;
20555   return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext conftest$ac_exeext
20559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20560   (eval $ac_link) 2>&5
20561   ac_status=$?
20562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563   (exit $ac_status); } &&
20564          { ac_try='test -s conftest$ac_exeext'
20565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566   (eval $ac_try) 2>&5
20567   ac_status=$?
20568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569   (exit $ac_status); }; }; then
20570   eval "$as_ac_var=yes"
20571 else
20572   echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20574
20575 eval "$as_ac_var=no"
20576 fi
20577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20578 fi
20579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20581 if test `eval echo '${'$as_ac_var'}'` = yes; then
20582   cat >>confdefs.h <<_ACEOF
20583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20584 _ACEOF
20585
20586 fi
20587 done
20588
20589     fi
20590   fi
20591
20592
20593
20594   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20595 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20596   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20597     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20598   echo $ECHO_N "(cached) $ECHO_C" >&6
20599 else
20600
20601
20602
20603       ac_ext=cc
20604 ac_cpp='$CXXCPP $CPPFLAGS'
20605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20608
20609       cat >conftest.$ac_ext <<_ACEOF
20610 #line $LINENO "configure"
20611 /* confdefs.h.  */
20612 _ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h.  */
20616 #include <math.h>
20617 int
20618 main ()
20619 {
20620  sincosl(0, 0, 0);
20621   ;
20622   return 0;
20623 }
20624 _ACEOF
20625 rm -f conftest.$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627   (eval $ac_compile) 2>&5
20628   ac_status=$?
20629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630   (exit $ac_status); } &&
20631          { ac_try='test -s conftest.$ac_objext'
20632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633   (eval $ac_try) 2>&5
20634   ac_status=$?
20635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636   (exit $ac_status); }; }; then
20637   glibcxx_cv_func_sincosl_use=yes
20638 else
20639   echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20641
20642 glibcxx_cv_func_sincosl_use=no
20643 fi
20644 rm -f conftest.$ac_objext conftest.$ac_ext
20645       ac_ext=c
20646 ac_cpp='$CPP $CPPFLAGS'
20647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20650
20651
20652 fi
20653
20654   fi
20655   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
20656 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
20657
20658   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
20659
20660 for ac_func in sincosl
20661 do
20662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20663 echo "$as_me:$LINENO: checking for $ac_func" >&5
20664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20665 if eval "test \"\${$as_ac_var+set}\" = set"; then
20666   echo $ECHO_N "(cached) $ECHO_C" >&6
20667 else
20668   cat >conftest.$ac_ext <<_ACEOF
20669 #line $LINENO "configure"
20670 /* confdefs.h.  */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h.  */
20675 /* System header to define __stub macros and hopefully few prototypes,
20676     which can conflict with char $ac_func (); below.
20677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20678     <limits.h> exists even on freestanding compilers.  */
20679 #ifdef __STDC__
20680 # include <limits.h>
20681 #else
20682 # include <assert.h>
20683 #endif
20684 /* Override any gcc2 internal prototype to avoid an error.  */
20685 #ifdef __cplusplus
20686 extern "C"
20687 {
20688 #endif
20689 /* We use char because int might match the return type of a gcc2
20690    builtin and then its argument prototype would still apply.  */
20691 char $ac_func ();
20692 /* The GNU C library defines this for functions which it implements
20693     to always fail with ENOSYS.  Some functions are actually named
20694     something starting with __ and the normal name is an alias.  */
20695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20696 choke me
20697 #else
20698 char (*f) () = $ac_func;
20699 #endif
20700 #ifdef __cplusplus
20701 }
20702 #endif
20703
20704 int
20705 main ()
20706 {
20707 return f != $ac_func;
20708   ;
20709   return 0;
20710 }
20711 _ACEOF
20712 rm -f conftest.$ac_objext conftest$ac_exeext
20713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20714   (eval $ac_link) 2>&5
20715   ac_status=$?
20716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717   (exit $ac_status); } &&
20718          { ac_try='test -s conftest$ac_exeext'
20719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720   (eval $ac_try) 2>&5
20721   ac_status=$?
20722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723   (exit $ac_status); }; }; then
20724   eval "$as_ac_var=yes"
20725 else
20726   echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20728
20729 eval "$as_ac_var=no"
20730 fi
20731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20732 fi
20733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20735 if test `eval echo '${'$as_ac_var'}'` = yes; then
20736   cat >>confdefs.h <<_ACEOF
20737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20738 _ACEOF
20739
20740 fi
20741 done
20742
20743   else
20744
20745   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
20746 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
20747   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
20748     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
20749   echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20751
20752
20753
20754       ac_ext=cc
20755 ac_cpp='$CXXCPP $CPPFLAGS'
20756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20759
20760       cat >conftest.$ac_ext <<_ACEOF
20761 #line $LINENO "configure"
20762 /* confdefs.h.  */
20763 _ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h.  */
20767 #include <math.h>
20768 int
20769 main ()
20770 {
20771  _sincosl(0, 0, 0);
20772   ;
20773   return 0;
20774 }
20775 _ACEOF
20776 rm -f conftest.$ac_objext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20778   (eval $ac_compile) 2>&5
20779   ac_status=$?
20780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781   (exit $ac_status); } &&
20782          { ac_try='test -s conftest.$ac_objext'
20783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784   (eval $ac_try) 2>&5
20785   ac_status=$?
20786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787   (exit $ac_status); }; }; then
20788   glibcxx_cv_func__sincosl_use=yes
20789 else
20790   echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20792
20793 glibcxx_cv_func__sincosl_use=no
20794 fi
20795 rm -f conftest.$ac_objext conftest.$ac_ext
20796       ac_ext=c
20797 ac_cpp='$CPP $CPPFLAGS'
20798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20801
20802
20803 fi
20804
20805   fi
20806   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
20807 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
20808
20809     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
20810
20811 for ac_func in _sincosl
20812 do
20813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20814 echo "$as_me:$LINENO: checking for $ac_func" >&5
20815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20816 if eval "test \"\${$as_ac_var+set}\" = set"; then
20817   echo $ECHO_N "(cached) $ECHO_C" >&6
20818 else
20819   cat >conftest.$ac_ext <<_ACEOF
20820 #line $LINENO "configure"
20821 /* confdefs.h.  */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h.  */
20826 /* System header to define __stub macros and hopefully few prototypes,
20827     which can conflict with char $ac_func (); below.
20828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20829     <limits.h> exists even on freestanding compilers.  */
20830 #ifdef __STDC__
20831 # include <limits.h>
20832 #else
20833 # include <assert.h>
20834 #endif
20835 /* Override any gcc2 internal prototype to avoid an error.  */
20836 #ifdef __cplusplus
20837 extern "C"
20838 {
20839 #endif
20840 /* We use char because int might match the return type of a gcc2
20841    builtin and then its argument prototype would still apply.  */
20842 char $ac_func ();
20843 /* The GNU C library defines this for functions which it implements
20844     to always fail with ENOSYS.  Some functions are actually named
20845     something starting with __ and the normal name is an alias.  */
20846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20847 choke me
20848 #else
20849 char (*f) () = $ac_func;
20850 #endif
20851 #ifdef __cplusplus
20852 }
20853 #endif
20854
20855 int
20856 main ()
20857 {
20858 return f != $ac_func;
20859   ;
20860   return 0;
20861 }
20862 _ACEOF
20863 rm -f conftest.$ac_objext conftest$ac_exeext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20865   (eval $ac_link) 2>&5
20866   ac_status=$?
20867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868   (exit $ac_status); } &&
20869          { ac_try='test -s conftest$ac_exeext'
20870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871   (eval $ac_try) 2>&5
20872   ac_status=$?
20873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874   (exit $ac_status); }; }; then
20875   eval "$as_ac_var=yes"
20876 else
20877   echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20879
20880 eval "$as_ac_var=no"
20881 fi
20882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20883 fi
20884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20886 if test `eval echo '${'$as_ac_var'}'` = yes; then
20887   cat >>confdefs.h <<_ACEOF
20888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20889 _ACEOF
20890
20891 fi
20892 done
20893
20894     fi
20895   fi
20896
20897
20898
20899   echo "$as_me:$LINENO: checking for finitel declaration" >&5
20900 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
20901   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
20902     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
20903   echo $ECHO_N "(cached) $ECHO_C" >&6
20904 else
20905
20906
20907
20908       ac_ext=cc
20909 ac_cpp='$CXXCPP $CPPFLAGS'
20910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20913
20914       cat >conftest.$ac_ext <<_ACEOF
20915 #line $LINENO "configure"
20916 /* confdefs.h.  */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h.  */
20921 #include <math.h>
20922                       #ifdef HAVE_IEEEFP_H
20923                       #include <ieeefp.h>
20924                       #endif
20925
20926 int
20927 main ()
20928 {
20929  finitel(0);
20930   ;
20931   return 0;
20932 }
20933 _ACEOF
20934 rm -f conftest.$ac_objext
20935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20936   (eval $ac_compile) 2>&5
20937   ac_status=$?
20938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939   (exit $ac_status); } &&
20940          { ac_try='test -s conftest.$ac_objext'
20941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942   (eval $ac_try) 2>&5
20943   ac_status=$?
20944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945   (exit $ac_status); }; }; then
20946   glibcxx_cv_func_finitel_use=yes
20947 else
20948   echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.$ac_ext >&5
20950
20951 glibcxx_cv_func_finitel_use=no
20952 fi
20953 rm -f conftest.$ac_objext conftest.$ac_ext
20954       ac_ext=c
20955 ac_cpp='$CPP $CPPFLAGS'
20956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20959
20960
20961 fi
20962
20963   fi
20964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
20965 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
20966
20967   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
20968
20969 for ac_func in finitel
20970 do
20971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20972 echo "$as_me:$LINENO: checking for $ac_func" >&5
20973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20974 if eval "test \"\${$as_ac_var+set}\" = set"; then
20975   echo $ECHO_N "(cached) $ECHO_C" >&6
20976 else
20977   cat >conftest.$ac_ext <<_ACEOF
20978 #line $LINENO "configure"
20979 /* confdefs.h.  */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h.  */
20984 /* System header to define __stub macros and hopefully few prototypes,
20985     which can conflict with char $ac_func (); below.
20986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20987     <limits.h> exists even on freestanding compilers.  */
20988 #ifdef __STDC__
20989 # include <limits.h>
20990 #else
20991 # include <assert.h>
20992 #endif
20993 /* Override any gcc2 internal prototype to avoid an error.  */
20994 #ifdef __cplusplus
20995 extern "C"
20996 {
20997 #endif
20998 /* We use char because int might match the return type of a gcc2
20999    builtin and then its argument prototype would still apply.  */
21000 char $ac_func ();
21001 /* The GNU C library defines this for functions which it implements
21002     to always fail with ENOSYS.  Some functions are actually named
21003     something starting with __ and the normal name is an alias.  */
21004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21005 choke me
21006 #else
21007 char (*f) () = $ac_func;
21008 #endif
21009 #ifdef __cplusplus
21010 }
21011 #endif
21012
21013 int
21014 main ()
21015 {
21016 return f != $ac_func;
21017   ;
21018   return 0;
21019 }
21020 _ACEOF
21021 rm -f conftest.$ac_objext conftest$ac_exeext
21022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21023   (eval $ac_link) 2>&5
21024   ac_status=$?
21025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026   (exit $ac_status); } &&
21027          { ac_try='test -s conftest$ac_exeext'
21028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029   (eval $ac_try) 2>&5
21030   ac_status=$?
21031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032   (exit $ac_status); }; }; then
21033   eval "$as_ac_var=yes"
21034 else
21035   echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.$ac_ext >&5
21037
21038 eval "$as_ac_var=no"
21039 fi
21040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21041 fi
21042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21044 if test `eval echo '${'$as_ac_var'}'` = yes; then
21045   cat >>confdefs.h <<_ACEOF
21046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21047 _ACEOF
21048
21049 fi
21050 done
21051
21052   else
21053
21054   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21055 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21056   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21057     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21058   echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21060
21061
21062
21063       ac_ext=cc
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21068
21069       cat >conftest.$ac_ext <<_ACEOF
21070 #line $LINENO "configure"
21071 /* confdefs.h.  */
21072 _ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h.  */
21076 #include <math.h>
21077                       #ifdef HAVE_IEEEFP_H
21078                       #include <ieeefp.h>
21079                       #endif
21080
21081 int
21082 main ()
21083 {
21084  _finitel(0);
21085   ;
21086   return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest.$ac_objext
21090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21091   (eval $ac_compile) 2>&5
21092   ac_status=$?
21093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094   (exit $ac_status); } &&
21095          { ac_try='test -s conftest.$ac_objext'
21096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097   (eval $ac_try) 2>&5
21098   ac_status=$?
21099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100   (exit $ac_status); }; }; then
21101   glibcxx_cv_func__finitel_use=yes
21102 else
21103   echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21105
21106 glibcxx_cv_func__finitel_use=no
21107 fi
21108 rm -f conftest.$ac_objext conftest.$ac_ext
21109       ac_ext=c
21110 ac_cpp='$CPP $CPPFLAGS'
21111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21114
21115
21116 fi
21117
21118   fi
21119   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21120 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21121
21122     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21123
21124 for ac_func in _finitel
21125 do
21126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21127 echo "$as_me:$LINENO: checking for $ac_func" >&5
21128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21129 if eval "test \"\${$as_ac_var+set}\" = set"; then
21130   echo $ECHO_N "(cached) $ECHO_C" >&6
21131 else
21132   cat >conftest.$ac_ext <<_ACEOF
21133 #line $LINENO "configure"
21134 /* confdefs.h.  */
21135 _ACEOF
21136 cat confdefs.h >>conftest.$ac_ext
21137 cat >>conftest.$ac_ext <<_ACEOF
21138 /* end confdefs.h.  */
21139 /* System header to define __stub macros and hopefully few prototypes,
21140     which can conflict with char $ac_func (); below.
21141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21142     <limits.h> exists even on freestanding compilers.  */
21143 #ifdef __STDC__
21144 # include <limits.h>
21145 #else
21146 # include <assert.h>
21147 #endif
21148 /* Override any gcc2 internal prototype to avoid an error.  */
21149 #ifdef __cplusplus
21150 extern "C"
21151 {
21152 #endif
21153 /* We use char because int might match the return type of a gcc2
21154    builtin and then its argument prototype would still apply.  */
21155 char $ac_func ();
21156 /* The GNU C library defines this for functions which it implements
21157     to always fail with ENOSYS.  Some functions are actually named
21158     something starting with __ and the normal name is an alias.  */
21159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21160 choke me
21161 #else
21162 char (*f) () = $ac_func;
21163 #endif
21164 #ifdef __cplusplus
21165 }
21166 #endif
21167
21168 int
21169 main ()
21170 {
21171 return f != $ac_func;
21172   ;
21173   return 0;
21174 }
21175 _ACEOF
21176 rm -f conftest.$ac_objext conftest$ac_exeext
21177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21178   (eval $ac_link) 2>&5
21179   ac_status=$?
21180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181   (exit $ac_status); } &&
21182          { ac_try='test -s conftest$ac_exeext'
21183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184   (eval $ac_try) 2>&5
21185   ac_status=$?
21186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187   (exit $ac_status); }; }; then
21188   eval "$as_ac_var=yes"
21189 else
21190   echo "$as_me: failed program was:" >&5
21191 sed 's/^/| /' conftest.$ac_ext >&5
21192
21193 eval "$as_ac_var=no"
21194 fi
21195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21196 fi
21197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21199 if test `eval echo '${'$as_ac_var'}'` = yes; then
21200   cat >>confdefs.h <<_ACEOF
21201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21202 _ACEOF
21203
21204 fi
21205 done
21206
21207     fi
21208   fi
21209
21210
21211
21212
21213   echo "$as_me:$LINENO: checking for _float trig functions" >&5
21214 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21215   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21216   echo $ECHO_N "(cached) $ECHO_C" >&6
21217 else
21218
21219
21220
21221     ac_ext=cc
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21226
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 #include <math.h>
21235 int
21236 main ()
21237 {
21238  `for x in _acosf _asinf _atanf \
21239                                           _cosf _sinf _tanf \
21240                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21241   ;
21242   return 0;
21243 }
21244 _ACEOF
21245 rm -f conftest.$ac_objext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21247   (eval $ac_compile) 2>&5
21248   ac_status=$?
21249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250   (exit $ac_status); } &&
21251          { ac_try='test -s conftest.$ac_objext'
21252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253   (eval $ac_try) 2>&5
21254   ac_status=$?
21255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256   (exit $ac_status); }; }; then
21257   glibcxx_cv_func__float_trig_use=yes
21258 else
21259   echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262 glibcxx_cv_func__float_trig_use=no
21263 fi
21264 rm -f conftest.$ac_objext conftest.$ac_ext
21265     ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270
21271 fi
21272
21273   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21274 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21275   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285 for ac_func in _acosf _asinf _atanf \
21286                                           _cosf _sinf _tanf \
21287                                           _coshf _sinhf _tanhf
21288 do
21289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21290 echo "$as_me:$LINENO: checking for $ac_func" >&5
21291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21292 if eval "test \"\${$as_ac_var+set}\" = set"; then
21293   echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295   cat >conftest.$ac_ext <<_ACEOF
21296 #line $LINENO "configure"
21297 /* confdefs.h.  */
21298 _ACEOF
21299 cat confdefs.h >>conftest.$ac_ext
21300 cat >>conftest.$ac_ext <<_ACEOF
21301 /* end confdefs.h.  */
21302 /* System header to define __stub macros and hopefully few prototypes,
21303     which can conflict with char $ac_func (); below.
21304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21305     <limits.h> exists even on freestanding compilers.  */
21306 #ifdef __STDC__
21307 # include <limits.h>
21308 #else
21309 # include <assert.h>
21310 #endif
21311 /* Override any gcc2 internal prototype to avoid an error.  */
21312 #ifdef __cplusplus
21313 extern "C"
21314 {
21315 #endif
21316 /* We use char because int might match the return type of a gcc2
21317    builtin and then its argument prototype would still apply.  */
21318 char $ac_func ();
21319 /* The GNU C library defines this for functions which it implements
21320     to always fail with ENOSYS.  Some functions are actually named
21321     something starting with __ and the normal name is an alias.  */
21322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21323 choke me
21324 #else
21325 char (*f) () = $ac_func;
21326 #endif
21327 #ifdef __cplusplus
21328 }
21329 #endif
21330
21331 int
21332 main ()
21333 {
21334 return f != $ac_func;
21335   ;
21336   return 0;
21337 }
21338 _ACEOF
21339 rm -f conftest.$ac_objext conftest$ac_exeext
21340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21341   (eval $ac_link) 2>&5
21342   ac_status=$?
21343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344   (exit $ac_status); } &&
21345          { ac_try='test -s conftest$ac_exeext'
21346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347   (eval $ac_try) 2>&5
21348   ac_status=$?
21349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350   (exit $ac_status); }; }; then
21351   eval "$as_ac_var=yes"
21352 else
21353   echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21355
21356 eval "$as_ac_var=no"
21357 fi
21358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21359 fi
21360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21362 if test `eval echo '${'$as_ac_var'}'` = yes; then
21363   cat >>confdefs.h <<_ACEOF
21364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21365 _ACEOF
21366
21367 fi
21368 done
21369
21370   fi
21371
21372
21373   echo "$as_me:$LINENO: checking for _float round functions" >&5
21374 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21375   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21376   echo $ECHO_N "(cached) $ECHO_C" >&6
21377 else
21378
21379
21380
21381     ac_ext=cc
21382 ac_cpp='$CXXCPP $CPPFLAGS'
21383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21386
21387     cat >conftest.$ac_ext <<_ACEOF
21388 #line $LINENO "configure"
21389 /* confdefs.h.  */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h.  */
21394 #include <math.h>
21395 int
21396 main ()
21397 {
21398  `for x in _ceilf _floorf; do echo "$x (0);"; done`
21399   ;
21400   return 0;
21401 }
21402 _ACEOF
21403 rm -f conftest.$ac_objext
21404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21405   (eval $ac_compile) 2>&5
21406   ac_status=$?
21407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408   (exit $ac_status); } &&
21409          { ac_try='test -s conftest.$ac_objext'
21410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411   (eval $ac_try) 2>&5
21412   ac_status=$?
21413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414   (exit $ac_status); }; }; then
21415   glibcxx_cv_func__float_round_use=yes
21416 else
21417   echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.$ac_ext >&5
21419
21420 glibcxx_cv_func__float_round_use=no
21421 fi
21422 rm -f conftest.$ac_objext conftest.$ac_ext
21423     ac_ext=c
21424 ac_cpp='$CPP $CPPFLAGS'
21425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21428
21429 fi
21430
21431   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21432 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21433   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21434
21435
21436 for ac_func in _ceilf _floorf
21437 do
21438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21439 echo "$as_me:$LINENO: checking for $ac_func" >&5
21440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21441 if eval "test \"\${$as_ac_var+set}\" = set"; then
21442   echo $ECHO_N "(cached) $ECHO_C" >&6
21443 else
21444   cat >conftest.$ac_ext <<_ACEOF
21445 #line $LINENO "configure"
21446 /* confdefs.h.  */
21447 _ACEOF
21448 cat confdefs.h >>conftest.$ac_ext
21449 cat >>conftest.$ac_ext <<_ACEOF
21450 /* end confdefs.h.  */
21451 /* System header to define __stub macros and hopefully few prototypes,
21452     which can conflict with char $ac_func (); below.
21453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21454     <limits.h> exists even on freestanding compilers.  */
21455 #ifdef __STDC__
21456 # include <limits.h>
21457 #else
21458 # include <assert.h>
21459 #endif
21460 /* Override any gcc2 internal prototype to avoid an error.  */
21461 #ifdef __cplusplus
21462 extern "C"
21463 {
21464 #endif
21465 /* We use char because int might match the return type of a gcc2
21466    builtin and then its argument prototype would still apply.  */
21467 char $ac_func ();
21468 /* The GNU C library defines this for functions which it implements
21469     to always fail with ENOSYS.  Some functions are actually named
21470     something starting with __ and the normal name is an alias.  */
21471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21472 choke me
21473 #else
21474 char (*f) () = $ac_func;
21475 #endif
21476 #ifdef __cplusplus
21477 }
21478 #endif
21479
21480 int
21481 main ()
21482 {
21483 return f != $ac_func;
21484   ;
21485   return 0;
21486 }
21487 _ACEOF
21488 rm -f conftest.$ac_objext conftest$ac_exeext
21489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21490   (eval $ac_link) 2>&5
21491   ac_status=$?
21492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493   (exit $ac_status); } &&
21494          { ac_try='test -s conftest$ac_exeext'
21495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496   (eval $ac_try) 2>&5
21497   ac_status=$?
21498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499   (exit $ac_status); }; }; then
21500   eval "$as_ac_var=yes"
21501 else
21502   echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21504
21505 eval "$as_ac_var=no"
21506 fi
21507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21508 fi
21509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21511 if test `eval echo '${'$as_ac_var'}'` = yes; then
21512   cat >>confdefs.h <<_ACEOF
21513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21514 _ACEOF
21515
21516 fi
21517 done
21518
21519   fi
21520
21521
21522
21523   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21524 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21525   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21526   echo $ECHO_N "(cached) $ECHO_C" >&6
21527 else
21528
21529
21530
21531     ac_ext=cc
21532 ac_cpp='$CXXCPP $CPPFLAGS'
21533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21536
21537     cat >conftest.$ac_ext <<_ACEOF
21538 #line $LINENO "configure"
21539 /* confdefs.h.  */
21540 _ACEOF
21541 cat confdefs.h >>conftest.$ac_ext
21542 cat >>conftest.$ac_ext <<_ACEOF
21543 /* end confdefs.h.  */
21544 #include <math.h>
21545 int
21546 main ()
21547 {
21548  `for x in _acosl _asinl _atanl \
21549                                           _cosl _sinl _tanl \
21550                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21551   ;
21552   return 0;
21553 }
21554 _ACEOF
21555 rm -f conftest.$ac_objext
21556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21557   (eval $ac_compile) 2>&5
21558   ac_status=$?
21559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560   (exit $ac_status); } &&
21561          { ac_try='test -s conftest.$ac_objext'
21562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563   (eval $ac_try) 2>&5
21564   ac_status=$?
21565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566   (exit $ac_status); }; }; then
21567   glibcxx_cv_func__long_double_trig_use=yes
21568 else
21569   echo "$as_me: failed program was:" >&5
21570 sed 's/^/| /' conftest.$ac_ext >&5
21571
21572 glibcxx_cv_func__long_double_trig_use=no
21573 fi
21574 rm -f conftest.$ac_objext conftest.$ac_ext
21575     ac_ext=c
21576 ac_cpp='$CPP $CPPFLAGS'
21577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21580
21581 fi
21582
21583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21584 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21585   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595 for ac_func in _acosl _asinl _atanl \
21596                                           _cosl _sinl _tanl \
21597                                           _coshl _sinhl _tanhl
21598 do
21599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21600 echo "$as_me:$LINENO: checking for $ac_func" >&5
21601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21602 if eval "test \"\${$as_ac_var+set}\" = set"; then
21603   echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21605   cat >conftest.$ac_ext <<_ACEOF
21606 #line $LINENO "configure"
21607 /* confdefs.h.  */
21608 _ACEOF
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h.  */
21612 /* System header to define __stub macros and hopefully few prototypes,
21613     which can conflict with char $ac_func (); below.
21614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21615     <limits.h> exists even on freestanding compilers.  */
21616 #ifdef __STDC__
21617 # include <limits.h>
21618 #else
21619 # include <assert.h>
21620 #endif
21621 /* Override any gcc2 internal prototype to avoid an error.  */
21622 #ifdef __cplusplus
21623 extern "C"
21624 {
21625 #endif
21626 /* We use char because int might match the return type of a gcc2
21627    builtin and then its argument prototype would still apply.  */
21628 char $ac_func ();
21629 /* The GNU C library defines this for functions which it implements
21630     to always fail with ENOSYS.  Some functions are actually named
21631     something starting with __ and the normal name is an alias.  */
21632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21633 choke me
21634 #else
21635 char (*f) () = $ac_func;
21636 #endif
21637 #ifdef __cplusplus
21638 }
21639 #endif
21640
21641 int
21642 main ()
21643 {
21644 return f != $ac_func;
21645   ;
21646   return 0;
21647 }
21648 _ACEOF
21649 rm -f conftest.$ac_objext conftest$ac_exeext
21650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21651   (eval $ac_link) 2>&5
21652   ac_status=$?
21653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654   (exit $ac_status); } &&
21655          { ac_try='test -s conftest$ac_exeext'
21656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21657   (eval $ac_try) 2>&5
21658   ac_status=$?
21659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660   (exit $ac_status); }; }; then
21661   eval "$as_ac_var=yes"
21662 else
21663   echo "$as_me: failed program was:" >&5
21664 sed 's/^/| /' conftest.$ac_ext >&5
21665
21666 eval "$as_ac_var=no"
21667 fi
21668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21669 fi
21670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21672 if test `eval echo '${'$as_ac_var'}'` = yes; then
21673   cat >>confdefs.h <<_ACEOF
21674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21675 _ACEOF
21676
21677 fi
21678 done
21679
21680   fi
21681
21682
21683   echo "$as_me:$LINENO: checking for _long double round functions" >&5
21684 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
21685   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
21686   echo $ECHO_N "(cached) $ECHO_C" >&6
21687 else
21688
21689
21690
21691     ac_ext=cc
21692 ac_cpp='$CXXCPP $CPPFLAGS'
21693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21696
21697     cat >conftest.$ac_ext <<_ACEOF
21698 #line $LINENO "configure"
21699 /* confdefs.h.  */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h.  */
21704 #include <math.h>
21705 int
21706 main ()
21707 {
21708  `for x in _ceill _floorl; do echo "$x (0);"; done`
21709   ;
21710   return 0;
21711 }
21712 _ACEOF
21713 rm -f conftest.$ac_objext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21715   (eval $ac_compile) 2>&5
21716   ac_status=$?
21717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718   (exit $ac_status); } &&
21719          { ac_try='test -s conftest.$ac_objext'
21720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721   (eval $ac_try) 2>&5
21722   ac_status=$?
21723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724   (exit $ac_status); }; }; then
21725   glibcxx_cv_func__long_double_round_use=yes
21726 else
21727   echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.$ac_ext >&5
21729
21730 glibcxx_cv_func__long_double_round_use=no
21731 fi
21732 rm -f conftest.$ac_objext conftest.$ac_ext
21733     ac_ext=c
21734 ac_cpp='$CPP $CPPFLAGS'
21735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21738
21739 fi
21740
21741   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
21742 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
21743   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
21744
21745
21746 for ac_func in _ceill _floorl
21747 do
21748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21749 echo "$as_me:$LINENO: checking for $ac_func" >&5
21750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21751 if eval "test \"\${$as_ac_var+set}\" = set"; then
21752   echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754   cat >conftest.$ac_ext <<_ACEOF
21755 #line $LINENO "configure"
21756 /* confdefs.h.  */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h.  */
21761 /* System header to define __stub macros and hopefully few prototypes,
21762     which can conflict with char $ac_func (); below.
21763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21764     <limits.h> exists even on freestanding compilers.  */
21765 #ifdef __STDC__
21766 # include <limits.h>
21767 #else
21768 # include <assert.h>
21769 #endif
21770 /* Override any gcc2 internal prototype to avoid an error.  */
21771 #ifdef __cplusplus
21772 extern "C"
21773 {
21774 #endif
21775 /* We use char because int might match the return type of a gcc2
21776    builtin and then its argument prototype would still apply.  */
21777 char $ac_func ();
21778 /* The GNU C library defines this for functions which it implements
21779     to always fail with ENOSYS.  Some functions are actually named
21780     something starting with __ and the normal name is an alias.  */
21781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21782 choke me
21783 #else
21784 char (*f) () = $ac_func;
21785 #endif
21786 #ifdef __cplusplus
21787 }
21788 #endif
21789
21790 int
21791 main ()
21792 {
21793 return f != $ac_func;
21794   ;
21795   return 0;
21796 }
21797 _ACEOF
21798 rm -f conftest.$ac_objext conftest$ac_exeext
21799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21800   (eval $ac_link) 2>&5
21801   ac_status=$?
21802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803   (exit $ac_status); } &&
21804          { ac_try='test -s conftest$ac_exeext'
21805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21806   (eval $ac_try) 2>&5
21807   ac_status=$?
21808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809   (exit $ac_status); }; }; then
21810   eval "$as_ac_var=yes"
21811 else
21812   echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21814
21815 eval "$as_ac_var=no"
21816 fi
21817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21818 fi
21819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21821 if test `eval echo '${'$as_ac_var'}'` = yes; then
21822   cat >>confdefs.h <<_ACEOF
21823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21824 _ACEOF
21825
21826 fi
21827 done
21828
21829   fi
21830
21831
21832   LIBS="$ac_save_LIBS"
21833   CXXFLAGS="$ac_save_CXXFLAGS"
21834
21835
21836
21837   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
21838 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
21839   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
21840     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
21841   echo $ECHO_N "(cached) $ECHO_C" >&6
21842 else
21843
21844
21845
21846       ac_ext=cc
21847 ac_cpp='$CXXCPP $CPPFLAGS'
21848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21851
21852       cat >conftest.$ac_ext <<_ACEOF
21853 #line $LINENO "configure"
21854 /* confdefs.h.  */
21855 _ACEOF
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h.  */
21859 #include <math.h>
21860 int
21861 main ()
21862 {
21863  __builtin_abs(0);
21864   ;
21865   return 0;
21866 }
21867 _ACEOF
21868 rm -f conftest.$ac_objext
21869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21870   (eval $ac_compile) 2>&5
21871   ac_status=$?
21872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873   (exit $ac_status); } &&
21874          { ac_try='test -s conftest.$ac_objext'
21875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876   (eval $ac_try) 2>&5
21877   ac_status=$?
21878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879   (exit $ac_status); }; }; then
21880   glibcxx_cv_func___builtin_abs_use=yes
21881 else
21882   echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21884
21885 glibcxx_cv_func___builtin_abs_use=no
21886 fi
21887 rm -f conftest.$ac_objext conftest.$ac_ext
21888       ac_ext=c
21889 ac_cpp='$CPP $CPPFLAGS'
21890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21893
21894
21895 fi
21896
21897   fi
21898   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
21899 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
21900   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
21901     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
21902 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
21903     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
21904       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
21905   echo $ECHO_N "(cached) $ECHO_C" >&6
21906 else
21907
21908         cat >conftest.$ac_ext <<_ACEOF
21909 #line $LINENO "configure"
21910 /* confdefs.h.  */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h.  */
21915 #include <math.h>
21916 int
21917 main ()
21918 {
21919  __builtin_abs(0);
21920   ;
21921   return 0;
21922 }
21923 _ACEOF
21924 rm -f conftest.$ac_objext conftest$ac_exeext
21925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21926   (eval $ac_link) 2>&5
21927   ac_status=$?
21928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929   (exit $ac_status); } &&
21930          { ac_try='test -s conftest$ac_exeext'
21931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932   (eval $ac_try) 2>&5
21933   ac_status=$?
21934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935   (exit $ac_status); }; }; then
21936   glibcxx_cv_func___builtin_abs_link=yes
21937 else
21938   echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21940
21941 glibcxx_cv_func___builtin_abs_link=no
21942 fi
21943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21944
21945 fi
21946
21947     fi
21948     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
21949 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
21950     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
21951       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21952       cat >>confdefs.h <<_ACEOF
21953 #define ${ac_tr_func} 1
21954 _ACEOF
21955
21956     fi
21957   fi
21958
21959
21960   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
21961 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
21962   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
21963     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
21964   echo $ECHO_N "(cached) $ECHO_C" >&6
21965 else
21966
21967
21968
21969       ac_ext=cc
21970 ac_cpp='$CXXCPP $CPPFLAGS'
21971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21974
21975       cat >conftest.$ac_ext <<_ACEOF
21976 #line $LINENO "configure"
21977 /* confdefs.h.  */
21978 _ACEOF
21979 cat confdefs.h >>conftest.$ac_ext
21980 cat >>conftest.$ac_ext <<_ACEOF
21981 /* end confdefs.h.  */
21982 #include <math.h>
21983 int
21984 main ()
21985 {
21986  __builtin_fabsf(0);
21987   ;
21988   return 0;
21989 }
21990 _ACEOF
21991 rm -f conftest.$ac_objext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21993   (eval $ac_compile) 2>&5
21994   ac_status=$?
21995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996   (exit $ac_status); } &&
21997          { ac_try='test -s conftest.$ac_objext'
21998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999   (eval $ac_try) 2>&5
22000   ac_status=$?
22001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002   (exit $ac_status); }; }; then
22003   glibcxx_cv_func___builtin_fabsf_use=yes
22004 else
22005   echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 glibcxx_cv_func___builtin_fabsf_use=no
22009 fi
22010 rm -f conftest.$ac_objext conftest.$ac_ext
22011       ac_ext=c
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22016
22017
22018 fi
22019
22020   fi
22021   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22022 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22023   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22024     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22025 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22026     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22027       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22028   echo $ECHO_N "(cached) $ECHO_C" >&6
22029 else
22030
22031         cat >conftest.$ac_ext <<_ACEOF
22032 #line $LINENO "configure"
22033 /* confdefs.h.  */
22034 _ACEOF
22035 cat confdefs.h >>conftest.$ac_ext
22036 cat >>conftest.$ac_ext <<_ACEOF
22037 /* end confdefs.h.  */
22038 #include <math.h>
22039 int
22040 main ()
22041 {
22042  __builtin_fabsf(0);
22043   ;
22044   return 0;
22045 }
22046 _ACEOF
22047 rm -f conftest.$ac_objext conftest$ac_exeext
22048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22049   (eval $ac_link) 2>&5
22050   ac_status=$?
22051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052   (exit $ac_status); } &&
22053          { ac_try='test -s conftest$ac_exeext'
22054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055   (eval $ac_try) 2>&5
22056   ac_status=$?
22057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058   (exit $ac_status); }; }; then
22059   glibcxx_cv_func___builtin_fabsf_link=yes
22060 else
22061   echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22063
22064 glibcxx_cv_func___builtin_fabsf_link=no
22065 fi
22066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22067
22068 fi
22069
22070     fi
22071     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22072 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22073     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22074       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22075       cat >>confdefs.h <<_ACEOF
22076 #define ${ac_tr_func} 1
22077 _ACEOF
22078
22079     fi
22080   fi
22081
22082
22083   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22084 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22085   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22086     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22087   echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089
22090
22091
22092       ac_ext=cc
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22097
22098       cat >conftest.$ac_ext <<_ACEOF
22099 #line $LINENO "configure"
22100 /* confdefs.h.  */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h.  */
22105 #include <math.h>
22106 int
22107 main ()
22108 {
22109  __builtin_fabs(0);
22110   ;
22111   return 0;
22112 }
22113 _ACEOF
22114 rm -f conftest.$ac_objext
22115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22116   (eval $ac_compile) 2>&5
22117   ac_status=$?
22118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119   (exit $ac_status); } &&
22120          { ac_try='test -s conftest.$ac_objext'
22121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122   (eval $ac_try) 2>&5
22123   ac_status=$?
22124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125   (exit $ac_status); }; }; then
22126   glibcxx_cv_func___builtin_fabs_use=yes
22127 else
22128   echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22130
22131 glibcxx_cv_func___builtin_fabs_use=no
22132 fi
22133 rm -f conftest.$ac_objext conftest.$ac_ext
22134       ac_ext=c
22135 ac_cpp='$CPP $CPPFLAGS'
22136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22139
22140
22141 fi
22142
22143   fi
22144   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22145 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22146   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22147     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22148 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22149     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22150       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22151   echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22153
22154         cat >conftest.$ac_ext <<_ACEOF
22155 #line $LINENO "configure"
22156 /* confdefs.h.  */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h.  */
22161 #include <math.h>
22162 int
22163 main ()
22164 {
22165  __builtin_fabs(0);
22166   ;
22167   return 0;
22168 }
22169 _ACEOF
22170 rm -f conftest.$ac_objext conftest$ac_exeext
22171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22172   (eval $ac_link) 2>&5
22173   ac_status=$?
22174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175   (exit $ac_status); } &&
22176          { ac_try='test -s conftest$ac_exeext'
22177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178   (eval $ac_try) 2>&5
22179   ac_status=$?
22180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181   (exit $ac_status); }; }; then
22182   glibcxx_cv_func___builtin_fabs_link=yes
22183 else
22184   echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 glibcxx_cv_func___builtin_fabs_link=no
22188 fi
22189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22190
22191 fi
22192
22193     fi
22194     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22195 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22196     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22197       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22198       cat >>confdefs.h <<_ACEOF
22199 #define ${ac_tr_func} 1
22200 _ACEOF
22201
22202     fi
22203   fi
22204
22205
22206   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22207 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22208   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22209     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22210   echo $ECHO_N "(cached) $ECHO_C" >&6
22211 else
22212
22213
22214
22215       ac_ext=cc
22216 ac_cpp='$CXXCPP $CPPFLAGS'
22217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220
22221       cat >conftest.$ac_ext <<_ACEOF
22222 #line $LINENO "configure"
22223 /* confdefs.h.  */
22224 _ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h.  */
22228 #include <math.h>
22229 int
22230 main ()
22231 {
22232  __builtin_fabsl(0);
22233   ;
22234   return 0;
22235 }
22236 _ACEOF
22237 rm -f conftest.$ac_objext
22238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22239   (eval $ac_compile) 2>&5
22240   ac_status=$?
22241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242   (exit $ac_status); } &&
22243          { ac_try='test -s conftest.$ac_objext'
22244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245   (eval $ac_try) 2>&5
22246   ac_status=$?
22247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248   (exit $ac_status); }; }; then
22249   glibcxx_cv_func___builtin_fabsl_use=yes
22250 else
22251   echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22253
22254 glibcxx_cv_func___builtin_fabsl_use=no
22255 fi
22256 rm -f conftest.$ac_objext conftest.$ac_ext
22257       ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262
22263
22264 fi
22265
22266   fi
22267   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22268 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22269   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22270     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22271 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22272     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22273       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22274   echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276
22277         cat >conftest.$ac_ext <<_ACEOF
22278 #line $LINENO "configure"
22279 /* confdefs.h.  */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h.  */
22284 #include <math.h>
22285 int
22286 main ()
22287 {
22288  __builtin_fabsl(0);
22289   ;
22290   return 0;
22291 }
22292 _ACEOF
22293 rm -f conftest.$ac_objext conftest$ac_exeext
22294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22295   (eval $ac_link) 2>&5
22296   ac_status=$?
22297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298   (exit $ac_status); } &&
22299          { ac_try='test -s conftest$ac_exeext'
22300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22301   (eval $ac_try) 2>&5
22302   ac_status=$?
22303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304   (exit $ac_status); }; }; then
22305   glibcxx_cv_func___builtin_fabsl_link=yes
22306 else
22307   echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22309
22310 glibcxx_cv_func___builtin_fabsl_link=no
22311 fi
22312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22313
22314 fi
22315
22316     fi
22317     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22318 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22319     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22320       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22321       cat >>confdefs.h <<_ACEOF
22322 #define ${ac_tr_func} 1
22323 _ACEOF
22324
22325     fi
22326   fi
22327
22328
22329   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22330 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22331   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22332     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22333   echo $ECHO_N "(cached) $ECHO_C" >&6
22334 else
22335
22336
22337
22338       ac_ext=cc
22339 ac_cpp='$CXXCPP $CPPFLAGS'
22340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22343
22344       cat >conftest.$ac_ext <<_ACEOF
22345 #line $LINENO "configure"
22346 /* confdefs.h.  */
22347 _ACEOF
22348 cat confdefs.h >>conftest.$ac_ext
22349 cat >>conftest.$ac_ext <<_ACEOF
22350 /* end confdefs.h.  */
22351 #include <math.h>
22352 int
22353 main ()
22354 {
22355  __builtin_labs(0);
22356   ;
22357   return 0;
22358 }
22359 _ACEOF
22360 rm -f conftest.$ac_objext
22361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22362   (eval $ac_compile) 2>&5
22363   ac_status=$?
22364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365   (exit $ac_status); } &&
22366          { ac_try='test -s conftest.$ac_objext'
22367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368   (eval $ac_try) 2>&5
22369   ac_status=$?
22370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371   (exit $ac_status); }; }; then
22372   glibcxx_cv_func___builtin_labs_use=yes
22373 else
22374   echo "$as_me: failed program was:" >&5
22375 sed 's/^/| /' conftest.$ac_ext >&5
22376
22377 glibcxx_cv_func___builtin_labs_use=no
22378 fi
22379 rm -f conftest.$ac_objext conftest.$ac_ext
22380       ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22385
22386
22387 fi
22388
22389   fi
22390   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22391 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22392   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22393     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22394 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22395     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22396       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22397   echo $ECHO_N "(cached) $ECHO_C" >&6
22398 else
22399
22400         cat >conftest.$ac_ext <<_ACEOF
22401 #line $LINENO "configure"
22402 /* confdefs.h.  */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h.  */
22407 #include <math.h>
22408 int
22409 main ()
22410 {
22411  __builtin_labs(0);
22412   ;
22413   return 0;
22414 }
22415 _ACEOF
22416 rm -f conftest.$ac_objext conftest$ac_exeext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418   (eval $ac_link) 2>&5
22419   ac_status=$?
22420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421   (exit $ac_status); } &&
22422          { ac_try='test -s conftest$ac_exeext'
22423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424   (eval $ac_try) 2>&5
22425   ac_status=$?
22426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427   (exit $ac_status); }; }; then
22428   glibcxx_cv_func___builtin_labs_link=yes
22429 else
22430   echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 glibcxx_cv_func___builtin_labs_link=no
22434 fi
22435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22436
22437 fi
22438
22439     fi
22440     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22441 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22442     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22443       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22444       cat >>confdefs.h <<_ACEOF
22445 #define ${ac_tr_func} 1
22446 _ACEOF
22447
22448     fi
22449   fi
22450
22451
22452
22453   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22454 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22455   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22456     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22457   echo $ECHO_N "(cached) $ECHO_C" >&6
22458 else
22459
22460
22461
22462       ac_ext=cc
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467
22468       cat >conftest.$ac_ext <<_ACEOF
22469 #line $LINENO "configure"
22470 /* confdefs.h.  */
22471 _ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h.  */
22475 #include <math.h>
22476 int
22477 main ()
22478 {
22479  __builtin_sqrtf(0);
22480   ;
22481   return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22486   (eval $ac_compile) 2>&5
22487   ac_status=$?
22488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489   (exit $ac_status); } &&
22490          { ac_try='test -s conftest.$ac_objext'
22491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492   (eval $ac_try) 2>&5
22493   ac_status=$?
22494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495   (exit $ac_status); }; }; then
22496   glibcxx_cv_func___builtin_sqrtf_use=yes
22497 else
22498   echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.$ac_ext >&5
22500
22501 glibcxx_cv_func___builtin_sqrtf_use=no
22502 fi
22503 rm -f conftest.$ac_objext conftest.$ac_ext
22504       ac_ext=c
22505 ac_cpp='$CPP $CPPFLAGS'
22506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22509
22510
22511 fi
22512
22513   fi
22514   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22515 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22516   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22517     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22518 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22519     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22520       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22521   echo $ECHO_N "(cached) $ECHO_C" >&6
22522 else
22523
22524         cat >conftest.$ac_ext <<_ACEOF
22525 #line $LINENO "configure"
22526 /* confdefs.h.  */
22527 _ACEOF
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h.  */
22531 #include <math.h>
22532 int
22533 main ()
22534 {
22535  __builtin_sqrtf(0);
22536   ;
22537   return 0;
22538 }
22539 _ACEOF
22540 rm -f conftest.$ac_objext conftest$ac_exeext
22541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22542   (eval $ac_link) 2>&5
22543   ac_status=$?
22544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545   (exit $ac_status); } &&
22546          { ac_try='test -s conftest$ac_exeext'
22547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22548   (eval $ac_try) 2>&5
22549   ac_status=$?
22550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551   (exit $ac_status); }; }; then
22552   glibcxx_cv_func___builtin_sqrtf_link=yes
22553 else
22554   echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 glibcxx_cv_func___builtin_sqrtf_link=no
22558 fi
22559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22560
22561 fi
22562
22563     fi
22564     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
22565 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
22566     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
22567       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22568       cat >>confdefs.h <<_ACEOF
22569 #define ${ac_tr_func} 1
22570 _ACEOF
22571
22572     fi
22573   fi
22574
22575
22576   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
22577 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
22578   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
22579     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
22580   echo $ECHO_N "(cached) $ECHO_C" >&6
22581 else
22582
22583
22584
22585       ac_ext=cc
22586 ac_cpp='$CXXCPP $CPPFLAGS'
22587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22590
22591       cat >conftest.$ac_ext <<_ACEOF
22592 #line $LINENO "configure"
22593 /* confdefs.h.  */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h.  */
22598 #include <math.h>
22599 int
22600 main ()
22601 {
22602  __builtin_sqrt(0);
22603   ;
22604   return 0;
22605 }
22606 _ACEOF
22607 rm -f conftest.$ac_objext
22608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22609   (eval $ac_compile) 2>&5
22610   ac_status=$?
22611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612   (exit $ac_status); } &&
22613          { ac_try='test -s conftest.$ac_objext'
22614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615   (eval $ac_try) 2>&5
22616   ac_status=$?
22617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618   (exit $ac_status); }; }; then
22619   glibcxx_cv_func___builtin_sqrt_use=yes
22620 else
22621   echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22623
22624 glibcxx_cv_func___builtin_sqrt_use=no
22625 fi
22626 rm -f conftest.$ac_objext conftest.$ac_ext
22627       ac_ext=c
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632
22633
22634 fi
22635
22636   fi
22637   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
22638 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
22639   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
22640     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
22641 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
22642     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
22643       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
22644   echo $ECHO_N "(cached) $ECHO_C" >&6
22645 else
22646
22647         cat >conftest.$ac_ext <<_ACEOF
22648 #line $LINENO "configure"
22649 /* confdefs.h.  */
22650 _ACEOF
22651 cat confdefs.h >>conftest.$ac_ext
22652 cat >>conftest.$ac_ext <<_ACEOF
22653 /* end confdefs.h.  */
22654 #include <math.h>
22655 int
22656 main ()
22657 {
22658  __builtin_sqrt(0);
22659   ;
22660   return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext conftest$ac_exeext
22664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22665   (eval $ac_link) 2>&5
22666   ac_status=$?
22667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668   (exit $ac_status); } &&
22669          { ac_try='test -s conftest$ac_exeext'
22670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671   (eval $ac_try) 2>&5
22672   ac_status=$?
22673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674   (exit $ac_status); }; }; then
22675   glibcxx_cv_func___builtin_sqrt_link=yes
22676 else
22677   echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 glibcxx_cv_func___builtin_sqrt_link=no
22681 fi
22682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22683
22684 fi
22685
22686     fi
22687     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
22688 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
22689     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
22690       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22691       cat >>confdefs.h <<_ACEOF
22692 #define ${ac_tr_func} 1
22693 _ACEOF
22694
22695     fi
22696   fi
22697
22698
22699   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
22700 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
22701   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
22702     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
22703   echo $ECHO_N "(cached) $ECHO_C" >&6
22704 else
22705
22706
22707
22708       ac_ext=cc
22709 ac_cpp='$CXXCPP $CPPFLAGS'
22710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22713
22714       cat >conftest.$ac_ext <<_ACEOF
22715 #line $LINENO "configure"
22716 /* confdefs.h.  */
22717 _ACEOF
22718 cat confdefs.h >>conftest.$ac_ext
22719 cat >>conftest.$ac_ext <<_ACEOF
22720 /* end confdefs.h.  */
22721 #include <math.h>
22722 int
22723 main ()
22724 {
22725  __builtin_sqrtl(0);
22726   ;
22727   return 0;
22728 }
22729 _ACEOF
22730 rm -f conftest.$ac_objext
22731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22732   (eval $ac_compile) 2>&5
22733   ac_status=$?
22734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735   (exit $ac_status); } &&
22736          { ac_try='test -s conftest.$ac_objext'
22737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738   (eval $ac_try) 2>&5
22739   ac_status=$?
22740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741   (exit $ac_status); }; }; then
22742   glibcxx_cv_func___builtin_sqrtl_use=yes
22743 else
22744   echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.$ac_ext >&5
22746
22747 glibcxx_cv_func___builtin_sqrtl_use=no
22748 fi
22749 rm -f conftest.$ac_objext conftest.$ac_ext
22750       ac_ext=c
22751 ac_cpp='$CPP $CPPFLAGS'
22752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22755
22756
22757 fi
22758
22759   fi
22760   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
22761 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
22762   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
22763     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
22764 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
22765     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
22766       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
22767   echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769
22770         cat >conftest.$ac_ext <<_ACEOF
22771 #line $LINENO "configure"
22772 /* confdefs.h.  */
22773 _ACEOF
22774 cat confdefs.h >>conftest.$ac_ext
22775 cat >>conftest.$ac_ext <<_ACEOF
22776 /* end confdefs.h.  */
22777 #include <math.h>
22778 int
22779 main ()
22780 {
22781  __builtin_sqrtl(0);
22782   ;
22783   return 0;
22784 }
22785 _ACEOF
22786 rm -f conftest.$ac_objext conftest$ac_exeext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22788   (eval $ac_link) 2>&5
22789   ac_status=$?
22790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791   (exit $ac_status); } &&
22792          { ac_try='test -s conftest$ac_exeext'
22793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794   (eval $ac_try) 2>&5
22795   ac_status=$?
22796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797   (exit $ac_status); }; }; then
22798   glibcxx_cv_func___builtin_sqrtl_link=yes
22799 else
22800   echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22802
22803 glibcxx_cv_func___builtin_sqrtl_link=no
22804 fi
22805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22806
22807 fi
22808
22809     fi
22810     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
22811 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
22812     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
22813       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22814       cat >>confdefs.h <<_ACEOF
22815 #define ${ac_tr_func} 1
22816 _ACEOF
22817
22818     fi
22819   fi
22820
22821
22822
22823   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
22824 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
22825   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
22826     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
22827   echo $ECHO_N "(cached) $ECHO_C" >&6
22828 else
22829
22830
22831
22832       ac_ext=cc
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837
22838       cat >conftest.$ac_ext <<_ACEOF
22839 #line $LINENO "configure"
22840 /* confdefs.h.  */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h.  */
22845 #include <math.h>
22846 int
22847 main ()
22848 {
22849  __builtin_sinf(0);
22850   ;
22851   return 0;
22852 }
22853 _ACEOF
22854 rm -f conftest.$ac_objext
22855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22856   (eval $ac_compile) 2>&5
22857   ac_status=$?
22858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859   (exit $ac_status); } &&
22860          { ac_try='test -s conftest.$ac_objext'
22861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862   (eval $ac_try) 2>&5
22863   ac_status=$?
22864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865   (exit $ac_status); }; }; then
22866   glibcxx_cv_func___builtin_sinf_use=yes
22867 else
22868   echo "$as_me: failed program was:" >&5
22869 sed 's/^/| /' conftest.$ac_ext >&5
22870
22871 glibcxx_cv_func___builtin_sinf_use=no
22872 fi
22873 rm -f conftest.$ac_objext conftest.$ac_ext
22874       ac_ext=c
22875 ac_cpp='$CPP $CPPFLAGS'
22876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22879
22880
22881 fi
22882
22883   fi
22884   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
22885 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
22886   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
22887     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
22888 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
22889     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
22890       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
22891   echo $ECHO_N "(cached) $ECHO_C" >&6
22892 else
22893
22894         cat >conftest.$ac_ext <<_ACEOF
22895 #line $LINENO "configure"
22896 /* confdefs.h.  */
22897 _ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h.  */
22901 #include <math.h>
22902 int
22903 main ()
22904 {
22905  __builtin_sinf(0);
22906   ;
22907   return 0;
22908 }
22909 _ACEOF
22910 rm -f conftest.$ac_objext conftest$ac_exeext
22911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22912   (eval $ac_link) 2>&5
22913   ac_status=$?
22914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915   (exit $ac_status); } &&
22916          { ac_try='test -s conftest$ac_exeext'
22917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22918   (eval $ac_try) 2>&5
22919   ac_status=$?
22920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921   (exit $ac_status); }; }; then
22922   glibcxx_cv_func___builtin_sinf_link=yes
22923 else
22924   echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22926
22927 glibcxx_cv_func___builtin_sinf_link=no
22928 fi
22929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22930
22931 fi
22932
22933     fi
22934     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
22935 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
22936     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
22937       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22938       cat >>confdefs.h <<_ACEOF
22939 #define ${ac_tr_func} 1
22940 _ACEOF
22941
22942     fi
22943   fi
22944
22945
22946   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
22947 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
22948   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
22949     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
22950   echo $ECHO_N "(cached) $ECHO_C" >&6
22951 else
22952
22953
22954
22955       ac_ext=cc
22956 ac_cpp='$CXXCPP $CPPFLAGS'
22957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22960
22961       cat >conftest.$ac_ext <<_ACEOF
22962 #line $LINENO "configure"
22963 /* confdefs.h.  */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h.  */
22968 #include <math.h>
22969 int
22970 main ()
22971 {
22972  __builtin_sin(0);
22973   ;
22974   return 0;
22975 }
22976 _ACEOF
22977 rm -f conftest.$ac_objext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22979   (eval $ac_compile) 2>&5
22980   ac_status=$?
22981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982   (exit $ac_status); } &&
22983          { ac_try='test -s conftest.$ac_objext'
22984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22985   (eval $ac_try) 2>&5
22986   ac_status=$?
22987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988   (exit $ac_status); }; }; then
22989   glibcxx_cv_func___builtin_sin_use=yes
22990 else
22991   echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.$ac_ext >&5
22993
22994 glibcxx_cv_func___builtin_sin_use=no
22995 fi
22996 rm -f conftest.$ac_objext conftest.$ac_ext
22997       ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002
23003
23004 fi
23005
23006   fi
23007   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23008 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23009   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23010     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23011 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23012     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23013       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23014   echo $ECHO_N "(cached) $ECHO_C" >&6
23015 else
23016
23017         cat >conftest.$ac_ext <<_ACEOF
23018 #line $LINENO "configure"
23019 /* confdefs.h.  */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h.  */
23024 #include <math.h>
23025 int
23026 main ()
23027 {
23028  __builtin_sin(0);
23029   ;
23030   return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext conftest$ac_exeext
23034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23035   (eval $ac_link) 2>&5
23036   ac_status=$?
23037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038   (exit $ac_status); } &&
23039          { ac_try='test -s conftest$ac_exeext'
23040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041   (eval $ac_try) 2>&5
23042   ac_status=$?
23043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044   (exit $ac_status); }; }; then
23045   glibcxx_cv_func___builtin_sin_link=yes
23046 else
23047   echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23049
23050 glibcxx_cv_func___builtin_sin_link=no
23051 fi
23052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23053
23054 fi
23055
23056     fi
23057     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23058 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23059     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23060       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23061       cat >>confdefs.h <<_ACEOF
23062 #define ${ac_tr_func} 1
23063 _ACEOF
23064
23065     fi
23066   fi
23067
23068
23069   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23070 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23071   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23072     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23073   echo $ECHO_N "(cached) $ECHO_C" >&6
23074 else
23075
23076
23077
23078       ac_ext=cc
23079 ac_cpp='$CXXCPP $CPPFLAGS'
23080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23083
23084       cat >conftest.$ac_ext <<_ACEOF
23085 #line $LINENO "configure"
23086 /* confdefs.h.  */
23087 _ACEOF
23088 cat confdefs.h >>conftest.$ac_ext
23089 cat >>conftest.$ac_ext <<_ACEOF
23090 /* end confdefs.h.  */
23091 #include <math.h>
23092 int
23093 main ()
23094 {
23095  __builtin_sinl(0);
23096   ;
23097   return 0;
23098 }
23099 _ACEOF
23100 rm -f conftest.$ac_objext
23101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23102   (eval $ac_compile) 2>&5
23103   ac_status=$?
23104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105   (exit $ac_status); } &&
23106          { ac_try='test -s conftest.$ac_objext'
23107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108   (eval $ac_try) 2>&5
23109   ac_status=$?
23110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111   (exit $ac_status); }; }; then
23112   glibcxx_cv_func___builtin_sinl_use=yes
23113 else
23114   echo "$as_me: failed program was:" >&5
23115 sed 's/^/| /' conftest.$ac_ext >&5
23116
23117 glibcxx_cv_func___builtin_sinl_use=no
23118 fi
23119 rm -f conftest.$ac_objext conftest.$ac_ext
23120       ac_ext=c
23121 ac_cpp='$CPP $CPPFLAGS'
23122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23125
23126
23127 fi
23128
23129   fi
23130   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23131 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23132   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23133     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23134 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23135     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23136       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23137   echo $ECHO_N "(cached) $ECHO_C" >&6
23138 else
23139
23140         cat >conftest.$ac_ext <<_ACEOF
23141 #line $LINENO "configure"
23142 /* confdefs.h.  */
23143 _ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h.  */
23147 #include <math.h>
23148 int
23149 main ()
23150 {
23151  __builtin_sinl(0);
23152   ;
23153   return 0;
23154 }
23155 _ACEOF
23156 rm -f conftest.$ac_objext conftest$ac_exeext
23157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23158   (eval $ac_link) 2>&5
23159   ac_status=$?
23160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161   (exit $ac_status); } &&
23162          { ac_try='test -s conftest$ac_exeext'
23163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164   (eval $ac_try) 2>&5
23165   ac_status=$?
23166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167   (exit $ac_status); }; }; then
23168   glibcxx_cv_func___builtin_sinl_link=yes
23169 else
23170   echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 glibcxx_cv_func___builtin_sinl_link=no
23174 fi
23175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23176
23177 fi
23178
23179     fi
23180     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23181 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23182     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23183       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23184       cat >>confdefs.h <<_ACEOF
23185 #define ${ac_tr_func} 1
23186 _ACEOF
23187
23188     fi
23189   fi
23190
23191
23192
23193   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23194 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23195   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23196     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23197   echo $ECHO_N "(cached) $ECHO_C" >&6
23198 else
23199
23200
23201
23202       ac_ext=cc
23203 ac_cpp='$CXXCPP $CPPFLAGS'
23204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23207
23208       cat >conftest.$ac_ext <<_ACEOF
23209 #line $LINENO "configure"
23210 /* confdefs.h.  */
23211 _ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h.  */
23215 #include <math.h>
23216 int
23217 main ()
23218 {
23219  __builtin_cosf(0);
23220   ;
23221   return 0;
23222 }
23223 _ACEOF
23224 rm -f conftest.$ac_objext
23225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23226   (eval $ac_compile) 2>&5
23227   ac_status=$?
23228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229   (exit $ac_status); } &&
23230          { ac_try='test -s conftest.$ac_objext'
23231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232   (eval $ac_try) 2>&5
23233   ac_status=$?
23234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235   (exit $ac_status); }; }; then
23236   glibcxx_cv_func___builtin_cosf_use=yes
23237 else
23238   echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 glibcxx_cv_func___builtin_cosf_use=no
23242 fi
23243 rm -f conftest.$ac_objext conftest.$ac_ext
23244       ac_ext=c
23245 ac_cpp='$CPP $CPPFLAGS'
23246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23249
23250
23251 fi
23252
23253   fi
23254   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23255 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23256   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23257     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23258 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23259     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23260       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23261   echo $ECHO_N "(cached) $ECHO_C" >&6
23262 else
23263
23264         cat >conftest.$ac_ext <<_ACEOF
23265 #line $LINENO "configure"
23266 /* confdefs.h.  */
23267 _ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h.  */
23271 #include <math.h>
23272 int
23273 main ()
23274 {
23275  __builtin_cosf(0);
23276   ;
23277   return 0;
23278 }
23279 _ACEOF
23280 rm -f conftest.$ac_objext conftest$ac_exeext
23281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23282   (eval $ac_link) 2>&5
23283   ac_status=$?
23284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285   (exit $ac_status); } &&
23286          { ac_try='test -s conftest$ac_exeext'
23287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288   (eval $ac_try) 2>&5
23289   ac_status=$?
23290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291   (exit $ac_status); }; }; then
23292   glibcxx_cv_func___builtin_cosf_link=yes
23293 else
23294   echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.$ac_ext >&5
23296
23297 glibcxx_cv_func___builtin_cosf_link=no
23298 fi
23299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23300
23301 fi
23302
23303     fi
23304     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23305 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23306     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23307       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23308       cat >>confdefs.h <<_ACEOF
23309 #define ${ac_tr_func} 1
23310 _ACEOF
23311
23312     fi
23313   fi
23314
23315
23316   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23317 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23318   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23319     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23320   echo $ECHO_N "(cached) $ECHO_C" >&6
23321 else
23322
23323
23324
23325       ac_ext=cc
23326 ac_cpp='$CXXCPP $CPPFLAGS'
23327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23330
23331       cat >conftest.$ac_ext <<_ACEOF
23332 #line $LINENO "configure"
23333 /* confdefs.h.  */
23334 _ACEOF
23335 cat confdefs.h >>conftest.$ac_ext
23336 cat >>conftest.$ac_ext <<_ACEOF
23337 /* end confdefs.h.  */
23338 #include <math.h>
23339 int
23340 main ()
23341 {
23342  __builtin_cos(0);
23343   ;
23344   return 0;
23345 }
23346 _ACEOF
23347 rm -f conftest.$ac_objext
23348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23349   (eval $ac_compile) 2>&5
23350   ac_status=$?
23351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352   (exit $ac_status); } &&
23353          { ac_try='test -s conftest.$ac_objext'
23354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355   (eval $ac_try) 2>&5
23356   ac_status=$?
23357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358   (exit $ac_status); }; }; then
23359   glibcxx_cv_func___builtin_cos_use=yes
23360 else
23361   echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 glibcxx_cv_func___builtin_cos_use=no
23365 fi
23366 rm -f conftest.$ac_objext conftest.$ac_ext
23367       ac_ext=c
23368 ac_cpp='$CPP $CPPFLAGS'
23369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23372
23373
23374 fi
23375
23376   fi
23377   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23378 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23379   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23380     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23381 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23382     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23383       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23384   echo $ECHO_N "(cached) $ECHO_C" >&6
23385 else
23386
23387         cat >conftest.$ac_ext <<_ACEOF
23388 #line $LINENO "configure"
23389 /* confdefs.h.  */
23390 _ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h.  */
23394 #include <math.h>
23395 int
23396 main ()
23397 {
23398  __builtin_cos(0);
23399   ;
23400   return 0;
23401 }
23402 _ACEOF
23403 rm -f conftest.$ac_objext conftest$ac_exeext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23405   (eval $ac_link) 2>&5
23406   ac_status=$?
23407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408   (exit $ac_status); } &&
23409          { ac_try='test -s conftest$ac_exeext'
23410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411   (eval $ac_try) 2>&5
23412   ac_status=$?
23413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414   (exit $ac_status); }; }; then
23415   glibcxx_cv_func___builtin_cos_link=yes
23416 else
23417   echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23419
23420 glibcxx_cv_func___builtin_cos_link=no
23421 fi
23422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23423
23424 fi
23425
23426     fi
23427     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23428 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23429     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23430       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23431       cat >>confdefs.h <<_ACEOF
23432 #define ${ac_tr_func} 1
23433 _ACEOF
23434
23435     fi
23436   fi
23437
23438
23439   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23440 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23441   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23442     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23443   echo $ECHO_N "(cached) $ECHO_C" >&6
23444 else
23445
23446
23447
23448       ac_ext=cc
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23453
23454       cat >conftest.$ac_ext <<_ACEOF
23455 #line $LINENO "configure"
23456 /* confdefs.h.  */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h.  */
23461 #include <math.h>
23462 int
23463 main ()
23464 {
23465  __builtin_cosl(0);
23466   ;
23467   return 0;
23468 }
23469 _ACEOF
23470 rm -f conftest.$ac_objext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23472   (eval $ac_compile) 2>&5
23473   ac_status=$?
23474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475   (exit $ac_status); } &&
23476          { ac_try='test -s conftest.$ac_objext'
23477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478   (eval $ac_try) 2>&5
23479   ac_status=$?
23480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481   (exit $ac_status); }; }; then
23482   glibcxx_cv_func___builtin_cosl_use=yes
23483 else
23484   echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 glibcxx_cv_func___builtin_cosl_use=no
23488 fi
23489 rm -f conftest.$ac_objext conftest.$ac_ext
23490       ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495
23496
23497 fi
23498
23499   fi
23500   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23501 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23502   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
23503     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23504 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23505     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
23506       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23507   echo $ECHO_N "(cached) $ECHO_C" >&6
23508 else
23509
23510         cat >conftest.$ac_ext <<_ACEOF
23511 #line $LINENO "configure"
23512 /* confdefs.h.  */
23513 _ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h.  */
23517 #include <math.h>
23518 int
23519 main ()
23520 {
23521  __builtin_cosl(0);
23522   ;
23523   return 0;
23524 }
23525 _ACEOF
23526 rm -f conftest.$ac_objext conftest$ac_exeext
23527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23528   (eval $ac_link) 2>&5
23529   ac_status=$?
23530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531   (exit $ac_status); } &&
23532          { ac_try='test -s conftest$ac_exeext'
23533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534   (eval $ac_try) 2>&5
23535   ac_status=$?
23536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537   (exit $ac_status); }; }; then
23538   glibcxx_cv_func___builtin_cosl_link=yes
23539 else
23540   echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23542
23543 glibcxx_cv_func___builtin_cosl_link=no
23544 fi
23545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23546
23547 fi
23548
23549     fi
23550     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
23551 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
23552     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
23553       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23554       cat >>confdefs.h <<_ACEOF
23555 #define ${ac_tr_func} 1
23556 _ACEOF
23557
23558     fi
23559   fi
23560
23561
23562               dummyvar=no
23563   if test x$dummyvar = x"yes"; then
23564     cat >>confdefs.h <<\_ACEOF
23565 #define HAVE___BUILTIN_ABS 1
23566 _ACEOF
23567
23568     cat >>confdefs.h <<\_ACEOF
23569 #define HAVE___BUILTIN_LABS 1
23570 _ACEOF
23571
23572     cat >>confdefs.h <<\_ACEOF
23573 #define HAVE___BUILTIN_COS 1
23574 _ACEOF
23575
23576     cat >>confdefs.h <<\_ACEOF
23577 #define HAVE___BUILTIN_COSF 1
23578 _ACEOF
23579
23580     cat >>confdefs.h <<\_ACEOF
23581 #define HAVE___BUILTIN_COSL 1
23582 _ACEOF
23583
23584     cat >>confdefs.h <<\_ACEOF
23585 #define HAVE___BUILTIN_FABS 1
23586 _ACEOF
23587
23588     cat >>confdefs.h <<\_ACEOF
23589 #define HAVE___BUILTIN_FABSF 1
23590 _ACEOF
23591
23592     cat >>confdefs.h <<\_ACEOF
23593 #define HAVE___BUILTIN_FABSL 1
23594 _ACEOF
23595
23596     cat >>confdefs.h <<\_ACEOF
23597 #define HAVE___BUILTIN_SIN 1
23598 _ACEOF
23599
23600     cat >>confdefs.h <<\_ACEOF
23601 #define HAVE___BUILTIN_SINF 1
23602 _ACEOF
23603
23604     cat >>confdefs.h <<\_ACEOF
23605 #define HAVE___BUILTIN_SINL 1
23606 _ACEOF
23607
23608     cat >>confdefs.h <<\_ACEOF
23609 #define HAVE___BUILTIN_SQRT 1
23610 _ACEOF
23611
23612     cat >>confdefs.h <<\_ACEOF
23613 #define HAVE___BUILTIN_SQRTF 1
23614 _ACEOF
23615
23616     cat >>confdefs.h <<\_ACEOF
23617 #define HAVE___BUILTIN_SQRTL 1
23618 _ACEOF
23619
23620   fi
23621
23622
23623
23624 echo "$as_me:$LINENO: checking for main in -lm" >&5
23625 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
23626 if test "${ac_cv_lib_m_main+set}" = set; then
23627   echo $ECHO_N "(cached) $ECHO_C" >&6
23628 else
23629   ac_check_lib_save_LIBS=$LIBS
23630 LIBS="-lm  $LIBS"
23631 cat >conftest.$ac_ext <<_ACEOF
23632 #line $LINENO "configure"
23633 /* confdefs.h.  */
23634 _ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h.  */
23638
23639
23640 int
23641 main ()
23642 {
23643 main ();
23644   ;
23645   return 0;
23646 }
23647 _ACEOF
23648 rm -f conftest.$ac_objext conftest$ac_exeext
23649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23650   (eval $ac_link) 2>&5
23651   ac_status=$?
23652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653   (exit $ac_status); } &&
23654          { ac_try='test -s conftest$ac_exeext'
23655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656   (eval $ac_try) 2>&5
23657   ac_status=$?
23658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659   (exit $ac_status); }; }; then
23660   ac_cv_lib_m_main=yes
23661 else
23662   echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 ac_cv_lib_m_main=no
23666 fi
23667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23668 LIBS=$ac_check_lib_save_LIBS
23669 fi
23670 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
23671 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
23672 if test $ac_cv_lib_m_main = yes; then
23673   cat >>confdefs.h <<_ACEOF
23674 #define HAVE_LIBM 1
23675 _ACEOF
23676
23677   LIBS="-lm $LIBS"
23678
23679 fi
23680
23681
23682
23683 for ac_func in nan copysignf
23684 do
23685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23686 echo "$as_me:$LINENO: checking for $ac_func" >&5
23687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23688 if eval "test \"\${$as_ac_var+set}\" = set"; then
23689   echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691   cat >conftest.$ac_ext <<_ACEOF
23692 #line $LINENO "configure"
23693 /* confdefs.h.  */
23694 _ACEOF
23695 cat confdefs.h >>conftest.$ac_ext
23696 cat >>conftest.$ac_ext <<_ACEOF
23697 /* end confdefs.h.  */
23698 /* System header to define __stub macros and hopefully few prototypes,
23699     which can conflict with char $ac_func (); below.
23700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23701     <limits.h> exists even on freestanding compilers.  */
23702 #ifdef __STDC__
23703 # include <limits.h>
23704 #else
23705 # include <assert.h>
23706 #endif
23707 /* Override any gcc2 internal prototype to avoid an error.  */
23708 #ifdef __cplusplus
23709 extern "C"
23710 {
23711 #endif
23712 /* We use char because int might match the return type of a gcc2
23713    builtin and then its argument prototype would still apply.  */
23714 char $ac_func ();
23715 /* The GNU C library defines this for functions which it implements
23716     to always fail with ENOSYS.  Some functions are actually named
23717     something starting with __ and the normal name is an alias.  */
23718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23719 choke me
23720 #else
23721 char (*f) () = $ac_func;
23722 #endif
23723 #ifdef __cplusplus
23724 }
23725 #endif
23726
23727 int
23728 main ()
23729 {
23730 return f != $ac_func;
23731   ;
23732   return 0;
23733 }
23734 _ACEOF
23735 rm -f conftest.$ac_objext conftest$ac_exeext
23736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23737   (eval $ac_link) 2>&5
23738   ac_status=$?
23739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740   (exit $ac_status); } &&
23741          { ac_try='test -s conftest$ac_exeext'
23742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23743   (eval $ac_try) 2>&5
23744   ac_status=$?
23745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746   (exit $ac_status); }; }; then
23747   eval "$as_ac_var=yes"
23748 else
23749   echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.$ac_ext >&5
23751
23752 eval "$as_ac_var=no"
23753 fi
23754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23755 fi
23756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23758 if test `eval echo '${'$as_ac_var'}'` = yes; then
23759   cat >>confdefs.h <<_ACEOF
23760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23761 _ACEOF
23762
23763 else
23764   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
23765 fi
23766 done
23767
23768
23769
23770 for ac_func in __signbit
23771 do
23772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23773 echo "$as_me:$LINENO: checking for $ac_func" >&5
23774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23775 if eval "test \"\${$as_ac_var+set}\" = set"; then
23776   echo $ECHO_N "(cached) $ECHO_C" >&6
23777 else
23778   cat >conftest.$ac_ext <<_ACEOF
23779 #line $LINENO "configure"
23780 /* confdefs.h.  */
23781 _ACEOF
23782 cat confdefs.h >>conftest.$ac_ext
23783 cat >>conftest.$ac_ext <<_ACEOF
23784 /* end confdefs.h.  */
23785 /* System header to define __stub macros and hopefully few prototypes,
23786     which can conflict with char $ac_func (); below.
23787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23788     <limits.h> exists even on freestanding compilers.  */
23789 #ifdef __STDC__
23790 # include <limits.h>
23791 #else
23792 # include <assert.h>
23793 #endif
23794 /* Override any gcc2 internal prototype to avoid an error.  */
23795 #ifdef __cplusplus
23796 extern "C"
23797 {
23798 #endif
23799 /* We use char because int might match the return type of a gcc2
23800    builtin and then its argument prototype would still apply.  */
23801 char $ac_func ();
23802 /* The GNU C library defines this for functions which it implements
23803     to always fail with ENOSYS.  Some functions are actually named
23804     something starting with __ and the normal name is an alias.  */
23805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23806 choke me
23807 #else
23808 char (*f) () = $ac_func;
23809 #endif
23810 #ifdef __cplusplus
23811 }
23812 #endif
23813
23814 int
23815 main ()
23816 {
23817 return f != $ac_func;
23818   ;
23819   return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext conftest$ac_exeext
23823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23824   (eval $ac_link) 2>&5
23825   ac_status=$?
23826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827   (exit $ac_status); } &&
23828          { ac_try='test -s conftest$ac_exeext'
23829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830   (eval $ac_try) 2>&5
23831   ac_status=$?
23832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833   (exit $ac_status); }; }; then
23834   eval "$as_ac_var=yes"
23835 else
23836   echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.$ac_ext >&5
23838
23839 eval "$as_ac_var=no"
23840 fi
23841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23842 fi
23843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23845 if test `eval echo '${'$as_ac_var'}'` = yes; then
23846   cat >>confdefs.h <<_ACEOF
23847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23848 _ACEOF
23849
23850 else
23851   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
23852 fi
23853 done
23854
23855
23856 for ac_func in __signbitf
23857 do
23858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23859 echo "$as_me:$LINENO: checking for $ac_func" >&5
23860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23861 if eval "test \"\${$as_ac_var+set}\" = set"; then
23862   echo $ECHO_N "(cached) $ECHO_C" >&6
23863 else
23864   cat >conftest.$ac_ext <<_ACEOF
23865 #line $LINENO "configure"
23866 /* confdefs.h.  */
23867 _ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
23870 /* end confdefs.h.  */
23871 /* System header to define __stub macros and hopefully few prototypes,
23872     which can conflict with char $ac_func (); below.
23873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23874     <limits.h> exists even on freestanding compilers.  */
23875 #ifdef __STDC__
23876 # include <limits.h>
23877 #else
23878 # include <assert.h>
23879 #endif
23880 /* Override any gcc2 internal prototype to avoid an error.  */
23881 #ifdef __cplusplus
23882 extern "C"
23883 {
23884 #endif
23885 /* We use char because int might match the return type of a gcc2
23886    builtin and then its argument prototype would still apply.  */
23887 char $ac_func ();
23888 /* The GNU C library defines this for functions which it implements
23889     to always fail with ENOSYS.  Some functions are actually named
23890     something starting with __ and the normal name is an alias.  */
23891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23892 choke me
23893 #else
23894 char (*f) () = $ac_func;
23895 #endif
23896 #ifdef __cplusplus
23897 }
23898 #endif
23899
23900 int
23901 main ()
23902 {
23903 return f != $ac_func;
23904   ;
23905   return 0;
23906 }
23907 _ACEOF
23908 rm -f conftest.$ac_objext conftest$ac_exeext
23909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23910   (eval $ac_link) 2>&5
23911   ac_status=$?
23912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913   (exit $ac_status); } &&
23914          { ac_try='test -s conftest$ac_exeext'
23915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916   (eval $ac_try) 2>&5
23917   ac_status=$?
23918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919   (exit $ac_status); }; }; then
23920   eval "$as_ac_var=yes"
23921 else
23922   echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 eval "$as_ac_var=no"
23926 fi
23927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23928 fi
23929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23931 if test `eval echo '${'$as_ac_var'}'` = yes; then
23932   cat >>confdefs.h <<_ACEOF
23933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23934 _ACEOF
23935
23936 else
23937   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
23938 fi
23939 done
23940
23941
23942           if test x$ac_cv_func_copysignl = x"yes"; then
23943
23944 for ac_func in __signbitl
23945 do
23946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23947 echo "$as_me:$LINENO: checking for $ac_func" >&5
23948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23949 if eval "test \"\${$as_ac_var+set}\" = set"; then
23950   echo $ECHO_N "(cached) $ECHO_C" >&6
23951 else
23952   cat >conftest.$ac_ext <<_ACEOF
23953 #line $LINENO "configure"
23954 /* confdefs.h.  */
23955 _ACEOF
23956 cat confdefs.h >>conftest.$ac_ext
23957 cat >>conftest.$ac_ext <<_ACEOF
23958 /* end confdefs.h.  */
23959 /* System header to define __stub macros and hopefully few prototypes,
23960     which can conflict with char $ac_func (); below.
23961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23962     <limits.h> exists even on freestanding compilers.  */
23963 #ifdef __STDC__
23964 # include <limits.h>
23965 #else
23966 # include <assert.h>
23967 #endif
23968 /* Override any gcc2 internal prototype to avoid an error.  */
23969 #ifdef __cplusplus
23970 extern "C"
23971 {
23972 #endif
23973 /* We use char because int might match the return type of a gcc2
23974    builtin and then its argument prototype would still apply.  */
23975 char $ac_func ();
23976 /* The GNU C library defines this for functions which it implements
23977     to always fail with ENOSYS.  Some functions are actually named
23978     something starting with __ and the normal name is an alias.  */
23979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23980 choke me
23981 #else
23982 char (*f) () = $ac_func;
23983 #endif
23984 #ifdef __cplusplus
23985 }
23986 #endif
23987
23988 int
23989 main ()
23990 {
23991 return f != $ac_func;
23992   ;
23993   return 0;
23994 }
23995 _ACEOF
23996 rm -f conftest.$ac_objext conftest$ac_exeext
23997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23998   (eval $ac_link) 2>&5
23999   ac_status=$?
24000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001   (exit $ac_status); } &&
24002          { ac_try='test -s conftest$ac_exeext'
24003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004   (eval $ac_try) 2>&5
24005   ac_status=$?
24006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007   (exit $ac_status); }; }; then
24008   eval "$as_ac_var=yes"
24009 else
24010   echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5
24012
24013 eval "$as_ac_var=no"
24014 fi
24015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24016 fi
24017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24019 if test `eval echo '${'$as_ac_var'}'` = yes; then
24020   cat >>confdefs.h <<_ACEOF
24021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24022 _ACEOF
24023
24024 else
24025   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24026 fi
24027 done
24028
24029   fi
24030
24031   # XXX Review this.  Nothing uses it.
24032   if test -n "$LIBMATHOBJS"; then
24033     need_libmath=yes
24034   fi
24035
24036
24037
24038   # Test wchar.h for mbstate_t, which is needed for char_traits and
24039   # others even if wchar_t support is not on.
24040   echo "$as_me:$LINENO: checking for mbstate_t" >&5
24041 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24042   cat >conftest.$ac_ext <<_ACEOF
24043 #line $LINENO "configure"
24044 /* confdefs.h.  */
24045 _ACEOF
24046 cat confdefs.h >>conftest.$ac_ext
24047 cat >>conftest.$ac_ext <<_ACEOF
24048 /* end confdefs.h.  */
24049 #include <wchar.h>
24050 int
24051 main ()
24052 {
24053 mbstate_t teststate;
24054   ;
24055   return 0;
24056 }
24057 _ACEOF
24058 rm -f conftest.$ac_objext
24059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24060   (eval $ac_compile) 2>&5
24061   ac_status=$?
24062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063   (exit $ac_status); } &&
24064          { ac_try='test -s conftest.$ac_objext'
24065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24066   (eval $ac_try) 2>&5
24067   ac_status=$?
24068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069   (exit $ac_status); }; }; then
24070   have_mbstate_t=yes
24071 else
24072   echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.$ac_ext >&5
24074
24075 have_mbstate_t=no
24076 fi
24077 rm -f conftest.$ac_objext conftest.$ac_ext
24078   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24079 echo "${ECHO_T}$have_mbstate_t" >&6
24080   if test x"$have_mbstate_t" = xyes; then
24081     cat >>confdefs.h <<\_ACEOF
24082 #define HAVE_MBSTATE_T 1
24083 _ACEOF
24084
24085   fi
24086
24087   # Sanity check for existence of ISO C99 headers for extended encoding.
24088
24089 for ac_header in wchar.h
24090 do
24091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24093   echo "$as_me:$LINENO: checking for $ac_header" >&5
24094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24096   echo $ECHO_N "(cached) $ECHO_C" >&6
24097 fi
24098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24100 else
24101   # Is the header compilable?
24102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24104 cat >conftest.$ac_ext <<_ACEOF
24105 #line $LINENO "configure"
24106 /* confdefs.h.  */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h.  */
24111 $ac_includes_default
24112 #include <$ac_header>
24113 _ACEOF
24114 rm -f conftest.$ac_objext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24116   (eval $ac_compile) 2>&5
24117   ac_status=$?
24118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119   (exit $ac_status); } &&
24120          { ac_try='test -s conftest.$ac_objext'
24121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24122   (eval $ac_try) 2>&5
24123   ac_status=$?
24124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125   (exit $ac_status); }; }; then
24126   ac_header_compiler=yes
24127 else
24128   echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.$ac_ext >&5
24130
24131 ac_header_compiler=no
24132 fi
24133 rm -f conftest.$ac_objext conftest.$ac_ext
24134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24135 echo "${ECHO_T}$ac_header_compiler" >&6
24136
24137 # Is the header present?
24138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24140 cat >conftest.$ac_ext <<_ACEOF
24141 #line $LINENO "configure"
24142 /* confdefs.h.  */
24143 _ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h.  */
24147 #include <$ac_header>
24148 _ACEOF
24149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24150   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24151   ac_status=$?
24152   grep -v '^ *+' conftest.er1 >conftest.err
24153   rm -f conftest.er1
24154   cat conftest.err >&5
24155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156   (exit $ac_status); } >/dev/null; then
24157   if test -s conftest.err; then
24158     ac_cpp_err=$ac_c_preproc_warn_flag
24159   else
24160     ac_cpp_err=
24161   fi
24162 else
24163   ac_cpp_err=yes
24164 fi
24165 if test -z "$ac_cpp_err"; then
24166   ac_header_preproc=yes
24167 else
24168   echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24170
24171   ac_header_preproc=no
24172 fi
24173 rm -f conftest.err conftest.$ac_ext
24174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24175 echo "${ECHO_T}$ac_header_preproc" >&6
24176
24177 # So?  What about this header?
24178 case $ac_header_compiler:$ac_header_preproc in
24179   yes:no )
24180     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24182     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24184     (
24185       cat <<\_ASBOX
24186 ## ------------------------------------ ##
24187 ## Report this to bug-autoconf@gnu.org. ##
24188 ## ------------------------------------ ##
24189 _ASBOX
24190     ) |
24191       sed "s/^/$as_me: WARNING:     /" >&2
24192     ;;
24193   no:yes )
24194     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24196     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24198     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24200     (
24201       cat <<\_ASBOX
24202 ## ------------------------------------ ##
24203 ## Report this to bug-autoconf@gnu.org. ##
24204 ## ------------------------------------ ##
24205 _ASBOX
24206     ) |
24207       sed "s/^/$as_me: WARNING:     /" >&2
24208     ;;
24209 esac
24210 echo "$as_me:$LINENO: checking for $ac_header" >&5
24211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24213   echo $ECHO_N "(cached) $ECHO_C" >&6
24214 else
24215   eval "$as_ac_Header=$ac_header_preproc"
24216 fi
24217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24219
24220 fi
24221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24222   cat >>confdefs.h <<_ACEOF
24223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24224 _ACEOF
24225  ac_has_wchar_h=yes
24226 else
24227   ac_has_wchar_h=no
24228 fi
24229
24230 done
24231
24232
24233 for ac_header in wctype.h
24234 do
24235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24237   echo "$as_me:$LINENO: checking for $ac_header" >&5
24238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24240   echo $ECHO_N "(cached) $ECHO_C" >&6
24241 fi
24242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24244 else
24245   # Is the header compilable?
24246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24248 cat >conftest.$ac_ext <<_ACEOF
24249 #line $LINENO "configure"
24250 /* confdefs.h.  */
24251 _ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h.  */
24255 $ac_includes_default
24256 #include <$ac_header>
24257 _ACEOF
24258 rm -f conftest.$ac_objext
24259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24260   (eval $ac_compile) 2>&5
24261   ac_status=$?
24262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263   (exit $ac_status); } &&
24264          { ac_try='test -s conftest.$ac_objext'
24265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266   (eval $ac_try) 2>&5
24267   ac_status=$?
24268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269   (exit $ac_status); }; }; then
24270   ac_header_compiler=yes
24271 else
24272   echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24274
24275 ac_header_compiler=no
24276 fi
24277 rm -f conftest.$ac_objext conftest.$ac_ext
24278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24279 echo "${ECHO_T}$ac_header_compiler" >&6
24280
24281 # Is the header present?
24282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24284 cat >conftest.$ac_ext <<_ACEOF
24285 #line $LINENO "configure"
24286 /* confdefs.h.  */
24287 _ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h.  */
24291 #include <$ac_header>
24292 _ACEOF
24293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24294   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24295   ac_status=$?
24296   grep -v '^ *+' conftest.er1 >conftest.err
24297   rm -f conftest.er1
24298   cat conftest.err >&5
24299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300   (exit $ac_status); } >/dev/null; then
24301   if test -s conftest.err; then
24302     ac_cpp_err=$ac_c_preproc_warn_flag
24303   else
24304     ac_cpp_err=
24305   fi
24306 else
24307   ac_cpp_err=yes
24308 fi
24309 if test -z "$ac_cpp_err"; then
24310   ac_header_preproc=yes
24311 else
24312   echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.$ac_ext >&5
24314
24315   ac_header_preproc=no
24316 fi
24317 rm -f conftest.err conftest.$ac_ext
24318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24319 echo "${ECHO_T}$ac_header_preproc" >&6
24320
24321 # So?  What about this header?
24322 case $ac_header_compiler:$ac_header_preproc in
24323   yes:no )
24324     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24326     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24328     (
24329       cat <<\_ASBOX
24330 ## ------------------------------------ ##
24331 ## Report this to bug-autoconf@gnu.org. ##
24332 ## ------------------------------------ ##
24333 _ASBOX
24334     ) |
24335       sed "s/^/$as_me: WARNING:     /" >&2
24336     ;;
24337   no:yes )
24338     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24340     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24342     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24344     (
24345       cat <<\_ASBOX
24346 ## ------------------------------------ ##
24347 ## Report this to bug-autoconf@gnu.org. ##
24348 ## ------------------------------------ ##
24349 _ASBOX
24350     ) |
24351       sed "s/^/$as_me: WARNING:     /" >&2
24352     ;;
24353 esac
24354 echo "$as_me:$LINENO: checking for $ac_header" >&5
24355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24357   echo $ECHO_N "(cached) $ECHO_C" >&6
24358 else
24359   eval "$as_ac_Header=$ac_header_preproc"
24360 fi
24361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24363
24364 fi
24365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24366   cat >>confdefs.h <<_ACEOF
24367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24368 _ACEOF
24369  ac_has_wctype_h=yes
24370 else
24371   ac_has_wctype_h=no
24372 fi
24373
24374 done
24375
24376
24377   # Only continue checking if the ISO C99 headers exist and support is on.
24378   if test x"$ac_has_wchar_h" = xyes &&
24379      test x"$ac_has_wctype_h" = xyes &&
24380      test x"$enable_c_mbchar" != xno; then
24381
24382     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24383     # numeric_limits can instantiate type_traits<wchar_t>
24384     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24385 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24386     cat >conftest.$ac_ext <<_ACEOF
24387 #line $LINENO "configure"
24388 /* confdefs.h.  */
24389 _ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h.  */
24393 #include <wchar.h>
24394 int
24395 main ()
24396 {
24397 int i = WCHAR_MIN; int j = WCHAR_MAX;
24398   ;
24399   return 0;
24400 }
24401 _ACEOF
24402 rm -f conftest.$ac_objext
24403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24404   (eval $ac_compile) 2>&5
24405   ac_status=$?
24406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407   (exit $ac_status); } &&
24408          { ac_try='test -s conftest.$ac_objext'
24409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24410   (eval $ac_try) 2>&5
24411   ac_status=$?
24412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413   (exit $ac_status); }; }; then
24414   has_wchar_minmax=yes
24415 else
24416   echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24418
24419 has_wchar_minmax=no
24420 fi
24421 rm -f conftest.$ac_objext conftest.$ac_ext
24422     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24423 echo "${ECHO_T}$has_wchar_minmax" >&6
24424
24425     # Test wchar.h for WEOF, which is what we use to determine whether
24426     # to specialize for char_traits<wchar_t> or not.
24427     echo "$as_me:$LINENO: checking for WEOF" >&5
24428 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24429     cat >conftest.$ac_ext <<_ACEOF
24430 #line $LINENO "configure"
24431 /* confdefs.h.  */
24432 _ACEOF
24433 cat confdefs.h >>conftest.$ac_ext
24434 cat >>conftest.$ac_ext <<_ACEOF
24435 /* end confdefs.h.  */
24436
24437       #include <wchar.h>
24438       #include <stddef.h>
24439 int
24440 main ()
24441 {
24442 wint_t i = WEOF;
24443   ;
24444   return 0;
24445 }
24446 _ACEOF
24447 rm -f conftest.$ac_objext
24448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24449   (eval $ac_compile) 2>&5
24450   ac_status=$?
24451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452   (exit $ac_status); } &&
24453          { ac_try='test -s conftest.$ac_objext'
24454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24455   (eval $ac_try) 2>&5
24456   ac_status=$?
24457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24458   (exit $ac_status); }; }; then
24459   has_weof=yes
24460 else
24461   echo "$as_me: failed program was:" >&5
24462 sed 's/^/| /' conftest.$ac_ext >&5
24463
24464 has_weof=no
24465 fi
24466 rm -f conftest.$ac_objext conftest.$ac_ext
24467     echo "$as_me:$LINENO: result: $has_weof" >&5
24468 echo "${ECHO_T}$has_weof" >&6
24469
24470     # Tests for wide character functions used in char_traits<wchar_t>.
24471     ac_wfuncs=yes
24472
24473
24474
24475
24476
24477
24478 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24479 do
24480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24481 echo "$as_me:$LINENO: checking for $ac_func" >&5
24482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24483 if eval "test \"\${$as_ac_var+set}\" = set"; then
24484   echo $ECHO_N "(cached) $ECHO_C" >&6
24485 else
24486   cat >conftest.$ac_ext <<_ACEOF
24487 #line $LINENO "configure"
24488 /* confdefs.h.  */
24489 _ACEOF
24490 cat confdefs.h >>conftest.$ac_ext
24491 cat >>conftest.$ac_ext <<_ACEOF
24492 /* end confdefs.h.  */
24493 /* System header to define __stub macros and hopefully few prototypes,
24494     which can conflict with char $ac_func (); below.
24495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496     <limits.h> exists even on freestanding compilers.  */
24497 #ifdef __STDC__
24498 # include <limits.h>
24499 #else
24500 # include <assert.h>
24501 #endif
24502 /* Override any gcc2 internal prototype to avoid an error.  */
24503 #ifdef __cplusplus
24504 extern "C"
24505 {
24506 #endif
24507 /* We use char because int might match the return type of a gcc2
24508    builtin and then its argument prototype would still apply.  */
24509 char $ac_func ();
24510 /* The GNU C library defines this for functions which it implements
24511     to always fail with ENOSYS.  Some functions are actually named
24512     something starting with __ and the normal name is an alias.  */
24513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24514 choke me
24515 #else
24516 char (*f) () = $ac_func;
24517 #endif
24518 #ifdef __cplusplus
24519 }
24520 #endif
24521
24522 int
24523 main ()
24524 {
24525 return f != $ac_func;
24526   ;
24527   return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24532   (eval $ac_link) 2>&5
24533   ac_status=$?
24534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535   (exit $ac_status); } &&
24536          { ac_try='test -s conftest$ac_exeext'
24537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538   (eval $ac_try) 2>&5
24539   ac_status=$?
24540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541   (exit $ac_status); }; }; then
24542   eval "$as_ac_var=yes"
24543 else
24544   echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24546
24547 eval "$as_ac_var=no"
24548 fi
24549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24550 fi
24551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24553 if test `eval echo '${'$as_ac_var'}'` = yes; then
24554   cat >>confdefs.h <<_ACEOF
24555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24556 _ACEOF
24557
24558 else
24559   ac_wfuncs=no
24560 fi
24561 done
24562
24563
24564     # Checks for names injected into std:: by the c_std headers.
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
24616     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
24617     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
24618     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
24619     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
24620     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
24621 do
24622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24623 echo "$as_me:$LINENO: checking for $ac_func" >&5
24624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24625 if eval "test \"\${$as_ac_var+set}\" = set"; then
24626   echo $ECHO_N "(cached) $ECHO_C" >&6
24627 else
24628   cat >conftest.$ac_ext <<_ACEOF
24629 #line $LINENO "configure"
24630 /* confdefs.h.  */
24631 _ACEOF
24632 cat confdefs.h >>conftest.$ac_ext
24633 cat >>conftest.$ac_ext <<_ACEOF
24634 /* end confdefs.h.  */
24635 /* System header to define __stub macros and hopefully few prototypes,
24636     which can conflict with char $ac_func (); below.
24637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24638     <limits.h> exists even on freestanding compilers.  */
24639 #ifdef __STDC__
24640 # include <limits.h>
24641 #else
24642 # include <assert.h>
24643 #endif
24644 /* Override any gcc2 internal prototype to avoid an error.  */
24645 #ifdef __cplusplus
24646 extern "C"
24647 {
24648 #endif
24649 /* We use char because int might match the return type of a gcc2
24650    builtin and then its argument prototype would still apply.  */
24651 char $ac_func ();
24652 /* The GNU C library defines this for functions which it implements
24653     to always fail with ENOSYS.  Some functions are actually named
24654     something starting with __ and the normal name is an alias.  */
24655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24656 choke me
24657 #else
24658 char (*f) () = $ac_func;
24659 #endif
24660 #ifdef __cplusplus
24661 }
24662 #endif
24663
24664 int
24665 main ()
24666 {
24667 return f != $ac_func;
24668   ;
24669   return 0;
24670 }
24671 _ACEOF
24672 rm -f conftest.$ac_objext conftest$ac_exeext
24673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24674   (eval $ac_link) 2>&5
24675   ac_status=$?
24676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677   (exit $ac_status); } &&
24678          { ac_try='test -s conftest$ac_exeext'
24679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680   (eval $ac_try) 2>&5
24681   ac_status=$?
24682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683   (exit $ac_status); }; }; then
24684   eval "$as_ac_var=yes"
24685 else
24686   echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24688
24689 eval "$as_ac_var=no"
24690 fi
24691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24692 fi
24693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24695 if test `eval echo '${'$as_ac_var'}'` = yes; then
24696   cat >>confdefs.h <<_ACEOF
24697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24698 _ACEOF
24699
24700 else
24701   ac_wfuncs=no
24702 fi
24703 done
24704
24705
24706     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
24707 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
24708     if test x"$has_weof" = xyes &&
24709        test x"$has_wchar_minmax" = xyes &&
24710        test x"$ac_wfuncs" = xyes;
24711     then
24712       ac_isoC99_wchar_t=yes
24713     else
24714       ac_isoC99_wchar_t=no
24715     fi
24716     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
24717 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
24718
24719     # Use iconv for wchar_t to char conversions. As such, check for
24720     # X/Open Portability Guide, version 2 features (XPG2).
24721     if test "${ac_cv_header_iconv_h+set}" = set; then
24722   echo "$as_me:$LINENO: checking for iconv.h" >&5
24723 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
24724 if test "${ac_cv_header_iconv_h+set}" = set; then
24725   echo $ECHO_N "(cached) $ECHO_C" >&6
24726 fi
24727 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
24728 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
24729 else
24730   # Is the header compilable?
24731 echo "$as_me:$LINENO: checking iconv.h usability" >&5
24732 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
24733 cat >conftest.$ac_ext <<_ACEOF
24734 #line $LINENO "configure"
24735 /* confdefs.h.  */
24736 _ACEOF
24737 cat confdefs.h >>conftest.$ac_ext
24738 cat >>conftest.$ac_ext <<_ACEOF
24739 /* end confdefs.h.  */
24740 $ac_includes_default
24741 #include <iconv.h>
24742 _ACEOF
24743 rm -f conftest.$ac_objext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24745   (eval $ac_compile) 2>&5
24746   ac_status=$?
24747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748   (exit $ac_status); } &&
24749          { ac_try='test -s conftest.$ac_objext'
24750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24751   (eval $ac_try) 2>&5
24752   ac_status=$?
24753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754   (exit $ac_status); }; }; then
24755   ac_header_compiler=yes
24756 else
24757   echo "$as_me: failed program was:" >&5
24758 sed 's/^/| /' conftest.$ac_ext >&5
24759
24760 ac_header_compiler=no
24761 fi
24762 rm -f conftest.$ac_objext conftest.$ac_ext
24763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24764 echo "${ECHO_T}$ac_header_compiler" >&6
24765
24766 # Is the header present?
24767 echo "$as_me:$LINENO: checking iconv.h presence" >&5
24768 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
24769 cat >conftest.$ac_ext <<_ACEOF
24770 #line $LINENO "configure"
24771 /* confdefs.h.  */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h.  */
24776 #include <iconv.h>
24777 _ACEOF
24778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24779   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24780   ac_status=$?
24781   grep -v '^ *+' conftest.er1 >conftest.err
24782   rm -f conftest.er1
24783   cat conftest.err >&5
24784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785   (exit $ac_status); } >/dev/null; then
24786   if test -s conftest.err; then
24787     ac_cpp_err=$ac_c_preproc_warn_flag
24788   else
24789     ac_cpp_err=
24790   fi
24791 else
24792   ac_cpp_err=yes
24793 fi
24794 if test -z "$ac_cpp_err"; then
24795   ac_header_preproc=yes
24796 else
24797   echo "$as_me: failed program was:" >&5
24798 sed 's/^/| /' conftest.$ac_ext >&5
24799
24800   ac_header_preproc=no
24801 fi
24802 rm -f conftest.err conftest.$ac_ext
24803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24804 echo "${ECHO_T}$ac_header_preproc" >&6
24805
24806 # So?  What about this header?
24807 case $ac_header_compiler:$ac_header_preproc in
24808   yes:no )
24809     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
24810 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24811     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
24812 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
24813     (
24814       cat <<\_ASBOX
24815 ## ------------------------------------ ##
24816 ## Report this to bug-autoconf@gnu.org. ##
24817 ## ------------------------------------ ##
24818 _ASBOX
24819     ) |
24820       sed "s/^/$as_me: WARNING:     /" >&2
24821     ;;
24822   no:yes )
24823     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
24824 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
24825     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
24826 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
24827     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
24828 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
24829     (
24830       cat <<\_ASBOX
24831 ## ------------------------------------ ##
24832 ## Report this to bug-autoconf@gnu.org. ##
24833 ## ------------------------------------ ##
24834 _ASBOX
24835     ) |
24836       sed "s/^/$as_me: WARNING:     /" >&2
24837     ;;
24838 esac
24839 echo "$as_me:$LINENO: checking for iconv.h" >&5
24840 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
24841 if test "${ac_cv_header_iconv_h+set}" = set; then
24842   echo $ECHO_N "(cached) $ECHO_C" >&6
24843 else
24844   ac_cv_header_iconv_h=$ac_header_preproc
24845 fi
24846 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
24847 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
24848
24849 fi
24850 if test $ac_cv_header_iconv_h = yes; then
24851   ac_has_iconv_h=yes
24852 else
24853   ac_has_iconv_h=no
24854 fi
24855
24856
24857     if test "${ac_cv_header_langinfo_h+set}" = set; then
24858   echo "$as_me:$LINENO: checking for langinfo.h" >&5
24859 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
24860 if test "${ac_cv_header_langinfo_h+set}" = set; then
24861   echo $ECHO_N "(cached) $ECHO_C" >&6
24862 fi
24863 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
24864 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
24865 else
24866   # Is the header compilable?
24867 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
24868 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
24869 cat >conftest.$ac_ext <<_ACEOF
24870 #line $LINENO "configure"
24871 /* confdefs.h.  */
24872 _ACEOF
24873 cat confdefs.h >>conftest.$ac_ext
24874 cat >>conftest.$ac_ext <<_ACEOF
24875 /* end confdefs.h.  */
24876 $ac_includes_default
24877 #include <langinfo.h>
24878 _ACEOF
24879 rm -f conftest.$ac_objext
24880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24881   (eval $ac_compile) 2>&5
24882   ac_status=$?
24883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884   (exit $ac_status); } &&
24885          { ac_try='test -s conftest.$ac_objext'
24886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887   (eval $ac_try) 2>&5
24888   ac_status=$?
24889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890   (exit $ac_status); }; }; then
24891   ac_header_compiler=yes
24892 else
24893   echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 ac_header_compiler=no
24897 fi
24898 rm -f conftest.$ac_objext conftest.$ac_ext
24899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24900 echo "${ECHO_T}$ac_header_compiler" >&6
24901
24902 # Is the header present?
24903 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
24904 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
24905 cat >conftest.$ac_ext <<_ACEOF
24906 #line $LINENO "configure"
24907 /* confdefs.h.  */
24908 _ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h.  */
24912 #include <langinfo.h>
24913 _ACEOF
24914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24915   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24916   ac_status=$?
24917   grep -v '^ *+' conftest.er1 >conftest.err
24918   rm -f conftest.er1
24919   cat conftest.err >&5
24920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921   (exit $ac_status); } >/dev/null; then
24922   if test -s conftest.err; then
24923     ac_cpp_err=$ac_c_preproc_warn_flag
24924   else
24925     ac_cpp_err=
24926   fi
24927 else
24928   ac_cpp_err=yes
24929 fi
24930 if test -z "$ac_cpp_err"; then
24931   ac_header_preproc=yes
24932 else
24933   echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936   ac_header_preproc=no
24937 fi
24938 rm -f conftest.err conftest.$ac_ext
24939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24940 echo "${ECHO_T}$ac_header_preproc" >&6
24941
24942 # So?  What about this header?
24943 case $ac_header_compiler:$ac_header_preproc in
24944   yes:no )
24945     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
24946 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24947     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
24948 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
24949     (
24950       cat <<\_ASBOX
24951 ## ------------------------------------ ##
24952 ## Report this to bug-autoconf@gnu.org. ##
24953 ## ------------------------------------ ##
24954 _ASBOX
24955     ) |
24956       sed "s/^/$as_me: WARNING:     /" >&2
24957     ;;
24958   no:yes )
24959     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
24960 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
24961     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
24962 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
24963     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
24964 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
24965     (
24966       cat <<\_ASBOX
24967 ## ------------------------------------ ##
24968 ## Report this to bug-autoconf@gnu.org. ##
24969 ## ------------------------------------ ##
24970 _ASBOX
24971     ) |
24972       sed "s/^/$as_me: WARNING:     /" >&2
24973     ;;
24974 esac
24975 echo "$as_me:$LINENO: checking for langinfo.h" >&5
24976 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
24977 if test "${ac_cv_header_langinfo_h+set}" = set; then
24978   echo $ECHO_N "(cached) $ECHO_C" >&6
24979 else
24980   ac_cv_header_langinfo_h=$ac_header_preproc
24981 fi
24982 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
24983 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
24984
24985 fi
24986 if test $ac_cv_header_langinfo_h = yes; then
24987   ac_has_langinfo_h=yes
24988 else
24989   ac_has_langinfo_h=no
24990 fi
24991
24992
24993
24994     # Check for existence of libiconv.a providing XPG2 wchar_t support.
24995     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
24996 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
24997 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
24998   echo $ECHO_N "(cached) $ECHO_C" >&6
24999 else
25000   ac_check_lib_save_LIBS=$LIBS
25001 LIBS="-liconv  $LIBS"
25002 cat >conftest.$ac_ext <<_ACEOF
25003 #line $LINENO "configure"
25004 /* confdefs.h.  */
25005 _ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h.  */
25009
25010 /* Override any gcc2 internal prototype to avoid an error.  */
25011 #ifdef __cplusplus
25012 extern "C"
25013 #endif
25014 /* We use char because int might match the return type of a gcc2
25015    builtin and then its argument prototype would still apply.  */
25016 char iconv ();
25017 int
25018 main ()
25019 {
25020 iconv ();
25021   ;
25022   return 0;
25023 }
25024 _ACEOF
25025 rm -f conftest.$ac_objext conftest$ac_exeext
25026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25027   (eval $ac_link) 2>&5
25028   ac_status=$?
25029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030   (exit $ac_status); } &&
25031          { ac_try='test -s conftest$ac_exeext'
25032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033   (eval $ac_try) 2>&5
25034   ac_status=$?
25035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036   (exit $ac_status); }; }; then
25037   ac_cv_lib_iconv_iconv=yes
25038 else
25039   echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25041
25042 ac_cv_lib_iconv_iconv=no
25043 fi
25044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25045 LIBS=$ac_check_lib_save_LIBS
25046 fi
25047 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25048 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25049 if test $ac_cv_lib_iconv_iconv = yes; then
25050   libiconv="-liconv"
25051 fi
25052
25053     ac_save_LIBS="$LIBS"
25054     LIBS="$LIBS $libiconv"
25055
25056
25057
25058
25059
25060 for ac_func in iconv_open iconv_close iconv nl_langinfo
25061 do
25062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25063 echo "$as_me:$LINENO: checking for $ac_func" >&5
25064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25065 if eval "test \"\${$as_ac_var+set}\" = set"; then
25066   echo $ECHO_N "(cached) $ECHO_C" >&6
25067 else
25068   cat >conftest.$ac_ext <<_ACEOF
25069 #line $LINENO "configure"
25070 /* confdefs.h.  */
25071 _ACEOF
25072 cat confdefs.h >>conftest.$ac_ext
25073 cat >>conftest.$ac_ext <<_ACEOF
25074 /* end confdefs.h.  */
25075 /* System header to define __stub macros and hopefully few prototypes,
25076     which can conflict with char $ac_func (); below.
25077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25078     <limits.h> exists even on freestanding compilers.  */
25079 #ifdef __STDC__
25080 # include <limits.h>
25081 #else
25082 # include <assert.h>
25083 #endif
25084 /* Override any gcc2 internal prototype to avoid an error.  */
25085 #ifdef __cplusplus
25086 extern "C"
25087 {
25088 #endif
25089 /* We use char because int might match the return type of a gcc2
25090    builtin and then its argument prototype would still apply.  */
25091 char $ac_func ();
25092 /* The GNU C library defines this for functions which it implements
25093     to always fail with ENOSYS.  Some functions are actually named
25094     something starting with __ and the normal name is an alias.  */
25095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25096 choke me
25097 #else
25098 char (*f) () = $ac_func;
25099 #endif
25100 #ifdef __cplusplus
25101 }
25102 #endif
25103
25104 int
25105 main ()
25106 {
25107 return f != $ac_func;
25108   ;
25109   return 0;
25110 }
25111 _ACEOF
25112 rm -f conftest.$ac_objext conftest$ac_exeext
25113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25114   (eval $ac_link) 2>&5
25115   ac_status=$?
25116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117   (exit $ac_status); } &&
25118          { ac_try='test -s conftest$ac_exeext'
25119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120   (eval $ac_try) 2>&5
25121   ac_status=$?
25122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123   (exit $ac_status); }; }; then
25124   eval "$as_ac_var=yes"
25125 else
25126   echo "$as_me: failed program was:" >&5
25127 sed 's/^/| /' conftest.$ac_ext >&5
25128
25129 eval "$as_ac_var=no"
25130 fi
25131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25132 fi
25133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25135 if test `eval echo '${'$as_ac_var'}'` = yes; then
25136   cat >>confdefs.h <<_ACEOF
25137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25138 _ACEOF
25139  ac_XPG2funcs=yes
25140 else
25141   ac_XPG2funcs=no
25142 fi
25143 done
25144
25145
25146     LIBS="$ac_save_LIBS"
25147
25148     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25149 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25150     if test x"$ac_has_iconv_h" = xyes &&
25151        test x"$ac_has_langinfo_h" = xyes &&
25152        test x"$ac_XPG2funcs" = xyes;
25153     then
25154       ac_XPG2_wchar_t=yes
25155     else
25156       ac_XPG2_wchar_t=no
25157     fi
25158     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25159 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25160
25161     # At the moment, only enable wchar_t specializations if all the
25162     # above support is present.
25163     if test x"$ac_isoC99_wchar_t" = xyes &&
25164        test x"$ac_XPG2_wchar_t" = xyes;
25165     then
25166       cat >>confdefs.h <<\_ACEOF
25167 #define _GLIBCXX_USE_WCHAR_T 1
25168 _ACEOF
25169
25170       enable_wchar_t=yes
25171     fi
25172   fi
25173   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25174 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25175   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25176 echo "${ECHO_T}$enable_wchar_t" >&6
25177
25178
25179   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25180   ac_save_CXXFLAGS="$CXXFLAGS"
25181   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25182
25183
25184   echo "$as_me:$LINENO: checking for strtold declaration" >&5
25185 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25186   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25187     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25188   echo $ECHO_N "(cached) $ECHO_C" >&6
25189 else
25190
25191
25192
25193       ac_ext=cc
25194 ac_cpp='$CXXCPP $CPPFLAGS'
25195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25198
25199       cat >conftest.$ac_ext <<_ACEOF
25200 #line $LINENO "configure"
25201 /* confdefs.h.  */
25202 _ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
25205 /* end confdefs.h.  */
25206 #include <stdlib.h>
25207 int
25208 main ()
25209 {
25210  strtold(0, 0);
25211   ;
25212   return 0;
25213 }
25214 _ACEOF
25215 rm -f conftest.$ac_objext
25216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25217   (eval $ac_compile) 2>&5
25218   ac_status=$?
25219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220   (exit $ac_status); } &&
25221          { ac_try='test -s conftest.$ac_objext'
25222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223   (eval $ac_try) 2>&5
25224   ac_status=$?
25225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226   (exit $ac_status); }; }; then
25227   glibcxx_cv_func_strtold_use=yes
25228 else
25229   echo "$as_me: failed program was:" >&5
25230 sed 's/^/| /' conftest.$ac_ext >&5
25231
25232 glibcxx_cv_func_strtold_use=no
25233 fi
25234 rm -f conftest.$ac_objext conftest.$ac_ext
25235       ac_ext=c
25236 ac_cpp='$CPP $CPPFLAGS'
25237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25240
25241
25242 fi
25243
25244   fi
25245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25246 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25247   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25248
25249 for ac_func in strtold
25250 do
25251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25252 echo "$as_me:$LINENO: checking for $ac_func" >&5
25253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25254 if eval "test \"\${$as_ac_var+set}\" = set"; then
25255   echo $ECHO_N "(cached) $ECHO_C" >&6
25256 else
25257   cat >conftest.$ac_ext <<_ACEOF
25258 #line $LINENO "configure"
25259 /* confdefs.h.  */
25260 _ACEOF
25261 cat confdefs.h >>conftest.$ac_ext
25262 cat >>conftest.$ac_ext <<_ACEOF
25263 /* end confdefs.h.  */
25264 /* System header to define __stub macros and hopefully few prototypes,
25265     which can conflict with char $ac_func (); below.
25266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25267     <limits.h> exists even on freestanding compilers.  */
25268 #ifdef __STDC__
25269 # include <limits.h>
25270 #else
25271 # include <assert.h>
25272 #endif
25273 /* Override any gcc2 internal prototype to avoid an error.  */
25274 #ifdef __cplusplus
25275 extern "C"
25276 {
25277 #endif
25278 /* We use char because int might match the return type of a gcc2
25279    builtin and then its argument prototype would still apply.  */
25280 char $ac_func ();
25281 /* The GNU C library defines this for functions which it implements
25282     to always fail with ENOSYS.  Some functions are actually named
25283     something starting with __ and the normal name is an alias.  */
25284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25285 choke me
25286 #else
25287 char (*f) () = $ac_func;
25288 #endif
25289 #ifdef __cplusplus
25290 }
25291 #endif
25292
25293 int
25294 main ()
25295 {
25296 return f != $ac_func;
25297   ;
25298   return 0;
25299 }
25300 _ACEOF
25301 rm -f conftest.$ac_objext conftest$ac_exeext
25302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25303   (eval $ac_link) 2>&5
25304   ac_status=$?
25305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306   (exit $ac_status); } &&
25307          { ac_try='test -s conftest$ac_exeext'
25308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309   (eval $ac_try) 2>&5
25310   ac_status=$?
25311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312   (exit $ac_status); }; }; then
25313   eval "$as_ac_var=yes"
25314 else
25315   echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25317
25318 eval "$as_ac_var=no"
25319 fi
25320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25321 fi
25322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325   cat >>confdefs.h <<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25327 _ACEOF
25328
25329 fi
25330 done
25331
25332   fi
25333
25334
25335   echo "$as_me:$LINENO: checking for strtof declaration" >&5
25336 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25337   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25338     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25339   echo $ECHO_N "(cached) $ECHO_C" >&6
25340 else
25341
25342
25343
25344       ac_ext=cc
25345 ac_cpp='$CXXCPP $CPPFLAGS'
25346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25349
25350       cat >conftest.$ac_ext <<_ACEOF
25351 #line $LINENO "configure"
25352 /* confdefs.h.  */
25353 _ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h.  */
25357 #include <stdlib.h>
25358 int
25359 main ()
25360 {
25361  strtof(0, 0);
25362   ;
25363   return 0;
25364 }
25365 _ACEOF
25366 rm -f conftest.$ac_objext
25367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25368   (eval $ac_compile) 2>&5
25369   ac_status=$?
25370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371   (exit $ac_status); } &&
25372          { ac_try='test -s conftest.$ac_objext'
25373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25374   (eval $ac_try) 2>&5
25375   ac_status=$?
25376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377   (exit $ac_status); }; }; then
25378   glibcxx_cv_func_strtof_use=yes
25379 else
25380   echo "$as_me: failed program was:" >&5
25381 sed 's/^/| /' conftest.$ac_ext >&5
25382
25383 glibcxx_cv_func_strtof_use=no
25384 fi
25385 rm -f conftest.$ac_objext conftest.$ac_ext
25386       ac_ext=c
25387 ac_cpp='$CPP $CPPFLAGS'
25388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25391
25392
25393 fi
25394
25395   fi
25396   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
25397 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
25398   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25399
25400 for ac_func in strtof
25401 do
25402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25403 echo "$as_me:$LINENO: checking for $ac_func" >&5
25404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25405 if eval "test \"\${$as_ac_var+set}\" = set"; then
25406   echo $ECHO_N "(cached) $ECHO_C" >&6
25407 else
25408   cat >conftest.$ac_ext <<_ACEOF
25409 #line $LINENO "configure"
25410 /* confdefs.h.  */
25411 _ACEOF
25412 cat confdefs.h >>conftest.$ac_ext
25413 cat >>conftest.$ac_ext <<_ACEOF
25414 /* end confdefs.h.  */
25415 /* System header to define __stub macros and hopefully few prototypes,
25416     which can conflict with char $ac_func (); below.
25417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25418     <limits.h> exists even on freestanding compilers.  */
25419 #ifdef __STDC__
25420 # include <limits.h>
25421 #else
25422 # include <assert.h>
25423 #endif
25424 /* Override any gcc2 internal prototype to avoid an error.  */
25425 #ifdef __cplusplus
25426 extern "C"
25427 {
25428 #endif
25429 /* We use char because int might match the return type of a gcc2
25430    builtin and then its argument prototype would still apply.  */
25431 char $ac_func ();
25432 /* The GNU C library defines this for functions which it implements
25433     to always fail with ENOSYS.  Some functions are actually named
25434     something starting with __ and the normal name is an alias.  */
25435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25436 choke me
25437 #else
25438 char (*f) () = $ac_func;
25439 #endif
25440 #ifdef __cplusplus
25441 }
25442 #endif
25443
25444 int
25445 main ()
25446 {
25447 return f != $ac_func;
25448   ;
25449   return 0;
25450 }
25451 _ACEOF
25452 rm -f conftest.$ac_objext conftest$ac_exeext
25453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25454   (eval $ac_link) 2>&5
25455   ac_status=$?
25456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457   (exit $ac_status); } &&
25458          { ac_try='test -s conftest$ac_exeext'
25459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460   (eval $ac_try) 2>&5
25461   ac_status=$?
25462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463   (exit $ac_status); }; }; then
25464   eval "$as_ac_var=yes"
25465 else
25466   echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 eval "$as_ac_var=no"
25470 fi
25471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25472 fi
25473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25475 if test `eval echo '${'$as_ac_var'}'` = yes; then
25476   cat >>confdefs.h <<_ACEOF
25477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25478 _ACEOF
25479
25480 fi
25481 done
25482
25483   fi
25484
25485
25486 for ac_func in drand48
25487 do
25488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25489 echo "$as_me:$LINENO: checking for $ac_func" >&5
25490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25491 if eval "test \"\${$as_ac_var+set}\" = set"; then
25492   echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25494   cat >conftest.$ac_ext <<_ACEOF
25495 #line $LINENO "configure"
25496 /* confdefs.h.  */
25497 _ACEOF
25498 cat confdefs.h >>conftest.$ac_ext
25499 cat >>conftest.$ac_ext <<_ACEOF
25500 /* end confdefs.h.  */
25501 /* System header to define __stub macros and hopefully few prototypes,
25502     which can conflict with char $ac_func (); below.
25503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25504     <limits.h> exists even on freestanding compilers.  */
25505 #ifdef __STDC__
25506 # include <limits.h>
25507 #else
25508 # include <assert.h>
25509 #endif
25510 /* Override any gcc2 internal prototype to avoid an error.  */
25511 #ifdef __cplusplus
25512 extern "C"
25513 {
25514 #endif
25515 /* We use char because int might match the return type of a gcc2
25516    builtin and then its argument prototype would still apply.  */
25517 char $ac_func ();
25518 /* The GNU C library defines this for functions which it implements
25519     to always fail with ENOSYS.  Some functions are actually named
25520     something starting with __ and the normal name is an alias.  */
25521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25522 choke me
25523 #else
25524 char (*f) () = $ac_func;
25525 #endif
25526 #ifdef __cplusplus
25527 }
25528 #endif
25529
25530 int
25531 main ()
25532 {
25533 return f != $ac_func;
25534   ;
25535   return 0;
25536 }
25537 _ACEOF
25538 rm -f conftest.$ac_objext conftest$ac_exeext
25539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25540   (eval $ac_link) 2>&5
25541   ac_status=$?
25542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543   (exit $ac_status); } &&
25544          { ac_try='test -s conftest$ac_exeext'
25545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546   (eval $ac_try) 2>&5
25547   ac_status=$?
25548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549   (exit $ac_status); }; }; then
25550   eval "$as_ac_var=yes"
25551 else
25552   echo "$as_me: failed program was:" >&5
25553 sed 's/^/| /' conftest.$ac_ext >&5
25554
25555 eval "$as_ac_var=no"
25556 fi
25557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25558 fi
25559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25561 if test `eval echo '${'$as_ac_var'}'` = yes; then
25562   cat >>confdefs.h <<_ACEOF
25563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25564 _ACEOF
25565
25566 fi
25567 done
25568
25569
25570   CXXFLAGS="$ac_save_CXXFLAGS"
25571
25572
25573   # For showmanyc_helper().
25574
25575
25576 for ac_header in sys/ioctl.h sys/filio.h
25577 do
25578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25580   echo "$as_me:$LINENO: checking for $ac_header" >&5
25581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25583   echo $ECHO_N "(cached) $ECHO_C" >&6
25584 fi
25585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25587 else
25588   # Is the header compilable?
25589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25591 cat >conftest.$ac_ext <<_ACEOF
25592 #line $LINENO "configure"
25593 /* confdefs.h.  */
25594 _ACEOF
25595 cat confdefs.h >>conftest.$ac_ext
25596 cat >>conftest.$ac_ext <<_ACEOF
25597 /* end confdefs.h.  */
25598 $ac_includes_default
25599 #include <$ac_header>
25600 _ACEOF
25601 rm -f conftest.$ac_objext
25602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25603   (eval $ac_compile) 2>&5
25604   ac_status=$?
25605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606   (exit $ac_status); } &&
25607          { ac_try='test -s conftest.$ac_objext'
25608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25609   (eval $ac_try) 2>&5
25610   ac_status=$?
25611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612   (exit $ac_status); }; }; then
25613   ac_header_compiler=yes
25614 else
25615   echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.$ac_ext >&5
25617
25618 ac_header_compiler=no
25619 fi
25620 rm -f conftest.$ac_objext conftest.$ac_ext
25621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25622 echo "${ECHO_T}$ac_header_compiler" >&6
25623
25624 # Is the header present?
25625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25627 cat >conftest.$ac_ext <<_ACEOF
25628 #line $LINENO "configure"
25629 /* confdefs.h.  */
25630 _ACEOF
25631 cat confdefs.h >>conftest.$ac_ext
25632 cat >>conftest.$ac_ext <<_ACEOF
25633 /* end confdefs.h.  */
25634 #include <$ac_header>
25635 _ACEOF
25636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25637   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25638   ac_status=$?
25639   grep -v '^ *+' conftest.er1 >conftest.err
25640   rm -f conftest.er1
25641   cat conftest.err >&5
25642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643   (exit $ac_status); } >/dev/null; then
25644   if test -s conftest.err; then
25645     ac_cpp_err=$ac_c_preproc_warn_flag
25646   else
25647     ac_cpp_err=
25648   fi
25649 else
25650   ac_cpp_err=yes
25651 fi
25652 if test -z "$ac_cpp_err"; then
25653   ac_header_preproc=yes
25654 else
25655   echo "$as_me: failed program was:" >&5
25656 sed 's/^/| /' conftest.$ac_ext >&5
25657
25658   ac_header_preproc=no
25659 fi
25660 rm -f conftest.err conftest.$ac_ext
25661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25662 echo "${ECHO_T}$ac_header_preproc" >&6
25663
25664 # So?  What about this header?
25665 case $ac_header_compiler:$ac_header_preproc in
25666   yes:no )
25667     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25669     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25671     (
25672       cat <<\_ASBOX
25673 ## ------------------------------------ ##
25674 ## Report this to bug-autoconf@gnu.org. ##
25675 ## ------------------------------------ ##
25676 _ASBOX
25677     ) |
25678       sed "s/^/$as_me: WARNING:     /" >&2
25679     ;;
25680   no:yes )
25681     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25683     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25685     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25687     (
25688       cat <<\_ASBOX
25689 ## ------------------------------------ ##
25690 ## Report this to bug-autoconf@gnu.org. ##
25691 ## ------------------------------------ ##
25692 _ASBOX
25693     ) |
25694       sed "s/^/$as_me: WARNING:     /" >&2
25695     ;;
25696 esac
25697 echo "$as_me:$LINENO: checking for $ac_header" >&5
25698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25700   echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702   eval "$as_ac_Header=$ac_header_preproc"
25703 fi
25704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25706
25707 fi
25708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25709   cat >>confdefs.h <<_ACEOF
25710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25711 _ACEOF
25712
25713 fi
25714
25715 done
25716
25717
25718   if test "${glibcxx_cv_POLL+set}" = set; then
25719   echo $ECHO_N "(cached) $ECHO_C" >&6
25720 else
25721
25722     cat >conftest.$ac_ext <<_ACEOF
25723 #line $LINENO "configure"
25724 /* confdefs.h.  */
25725 _ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h.  */
25729 #include <poll.h>
25730 int
25731 main ()
25732 {
25733 struct pollfd pfd[1];
25734        pfd[0].events = POLLIN;
25735        poll(pfd, 1, 0);
25736   ;
25737   return 0;
25738 }
25739 _ACEOF
25740 rm -f conftest.$ac_objext
25741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25742   (eval $ac_compile) 2>&5
25743   ac_status=$?
25744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745   (exit $ac_status); } &&
25746          { ac_try='test -s conftest.$ac_objext'
25747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748   (eval $ac_try) 2>&5
25749   ac_status=$?
25750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751   (exit $ac_status); }; }; then
25752   glibcxx_cv_POLL=yes
25753 else
25754   echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25756
25757 glibcxx_cv_POLL=no
25758 fi
25759 rm -f conftest.$ac_objext conftest.$ac_ext
25760
25761 fi
25762
25763   if test $glibcxx_cv_POLL = yes; then
25764     cat >>confdefs.h <<\_ACEOF
25765 #define HAVE_POLL 1
25766 _ACEOF
25767
25768   fi
25769
25770
25771   if test "${glibcxx_cv_S_ISREG+set}" = set; then
25772   echo $ECHO_N "(cached) $ECHO_C" >&6
25773 else
25774
25775     cat >conftest.$ac_ext <<_ACEOF
25776 #line $LINENO "configure"
25777 /* confdefs.h.  */
25778 _ACEOF
25779 cat confdefs.h >>conftest.$ac_ext
25780 cat >>conftest.$ac_ext <<_ACEOF
25781 /* end confdefs.h.  */
25782 #include <sys/stat.h>
25783 int
25784 main ()
25785 {
25786 struct stat buffer;
25787        fstat(0, &buffer);
25788        S_ISREG(buffer.st_mode);
25789   ;
25790   return 0;
25791 }
25792 _ACEOF
25793 rm -f conftest.$ac_objext conftest$ac_exeext
25794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25795   (eval $ac_link) 2>&5
25796   ac_status=$?
25797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798   (exit $ac_status); } &&
25799          { ac_try='test -s conftest$ac_exeext'
25800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25801   (eval $ac_try) 2>&5
25802   ac_status=$?
25803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804   (exit $ac_status); }; }; then
25805   glibcxx_cv_S_ISREG=yes
25806 else
25807   echo "$as_me: failed program was:" >&5
25808 sed 's/^/| /' conftest.$ac_ext >&5
25809
25810 glibcxx_cv_S_ISREG=no
25811 fi
25812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25813
25814 fi
25815
25816   if test "${glibcxx_cv_S_IFREG+set}" = set; then
25817   echo $ECHO_N "(cached) $ECHO_C" >&6
25818 else
25819
25820     cat >conftest.$ac_ext <<_ACEOF
25821 #line $LINENO "configure"
25822 /* confdefs.h.  */
25823 _ACEOF
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h.  */
25827 #include <sys/stat.h>
25828 int
25829 main ()
25830 {
25831 struct stat buffer;
25832        fstat(0, &buffer);
25833        S_IFREG & buffer.st_mode;
25834   ;
25835   return 0;
25836 }
25837 _ACEOF
25838 rm -f conftest.$ac_objext conftest$ac_exeext
25839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25840   (eval $ac_link) 2>&5
25841   ac_status=$?
25842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843   (exit $ac_status); } &&
25844          { ac_try='test -s conftest$ac_exeext'
25845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25846   (eval $ac_try) 2>&5
25847   ac_status=$?
25848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849   (exit $ac_status); }; }; then
25850   glibcxx_cv_S_IFREG=yes
25851 else
25852   echo "$as_me: failed program was:" >&5
25853 sed 's/^/| /' conftest.$ac_ext >&5
25854
25855 glibcxx_cv_S_IFREG=no
25856 fi
25857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25858
25859 fi
25860
25861   if test $glibcxx_cv_S_ISREG = yes; then
25862     cat >>confdefs.h <<\_ACEOF
25863 #define HAVE_S_ISREG 1
25864 _ACEOF
25865
25866   elif test $glibcxx_cv_S_IFREG = yes; then
25867     cat >>confdefs.h <<\_ACEOF
25868 #define HAVE_S_IFREG 1
25869 _ACEOF
25870
25871   fi
25872
25873
25874   # For xsputn_2().
25875
25876 for ac_header in sys/uio.h
25877 do
25878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25880   echo "$as_me:$LINENO: checking for $ac_header" >&5
25881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25883   echo $ECHO_N "(cached) $ECHO_C" >&6
25884 fi
25885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25887 else
25888   # Is the header compilable?
25889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25891 cat >conftest.$ac_ext <<_ACEOF
25892 #line $LINENO "configure"
25893 /* confdefs.h.  */
25894 _ACEOF
25895 cat confdefs.h >>conftest.$ac_ext
25896 cat >>conftest.$ac_ext <<_ACEOF
25897 /* end confdefs.h.  */
25898 $ac_includes_default
25899 #include <$ac_header>
25900 _ACEOF
25901 rm -f conftest.$ac_objext
25902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25903   (eval $ac_compile) 2>&5
25904   ac_status=$?
25905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906   (exit $ac_status); } &&
25907          { ac_try='test -s conftest.$ac_objext'
25908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25909   (eval $ac_try) 2>&5
25910   ac_status=$?
25911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912   (exit $ac_status); }; }; then
25913   ac_header_compiler=yes
25914 else
25915   echo "$as_me: failed program was:" >&5
25916 sed 's/^/| /' conftest.$ac_ext >&5
25917
25918 ac_header_compiler=no
25919 fi
25920 rm -f conftest.$ac_objext conftest.$ac_ext
25921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25922 echo "${ECHO_T}$ac_header_compiler" >&6
25923
25924 # Is the header present?
25925 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25927 cat >conftest.$ac_ext <<_ACEOF
25928 #line $LINENO "configure"
25929 /* confdefs.h.  */
25930 _ACEOF
25931 cat confdefs.h >>conftest.$ac_ext
25932 cat >>conftest.$ac_ext <<_ACEOF
25933 /* end confdefs.h.  */
25934 #include <$ac_header>
25935 _ACEOF
25936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25937   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25938   ac_status=$?
25939   grep -v '^ *+' conftest.er1 >conftest.err
25940   rm -f conftest.er1
25941   cat conftest.err >&5
25942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943   (exit $ac_status); } >/dev/null; then
25944   if test -s conftest.err; then
25945     ac_cpp_err=$ac_c_preproc_warn_flag
25946   else
25947     ac_cpp_err=
25948   fi
25949 else
25950   ac_cpp_err=yes
25951 fi
25952 if test -z "$ac_cpp_err"; then
25953   ac_header_preproc=yes
25954 else
25955   echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958   ac_header_preproc=no
25959 fi
25960 rm -f conftest.err conftest.$ac_ext
25961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25962 echo "${ECHO_T}$ac_header_preproc" >&6
25963
25964 # So?  What about this header?
25965 case $ac_header_compiler:$ac_header_preproc in
25966   yes:no )
25967     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25969     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25971     (
25972       cat <<\_ASBOX
25973 ## ------------------------------------ ##
25974 ## Report this to bug-autoconf@gnu.org. ##
25975 ## ------------------------------------ ##
25976 _ASBOX
25977     ) |
25978       sed "s/^/$as_me: WARNING:     /" >&2
25979     ;;
25980   no:yes )
25981     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25983     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25985     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25987     (
25988       cat <<\_ASBOX
25989 ## ------------------------------------ ##
25990 ## Report this to bug-autoconf@gnu.org. ##
25991 ## ------------------------------------ ##
25992 _ASBOX
25993     ) |
25994       sed "s/^/$as_me: WARNING:     /" >&2
25995     ;;
25996 esac
25997 echo "$as_me:$LINENO: checking for $ac_header" >&5
25998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26000   echo $ECHO_N "(cached) $ECHO_C" >&6
26001 else
26002   eval "$as_ac_Header=$ac_header_preproc"
26003 fi
26004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26006
26007 fi
26008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26009   cat >>confdefs.h <<_ACEOF
26010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26011 _ACEOF
26012
26013 fi
26014
26015 done
26016
26017
26018   if test "${glibcxx_cv_WRITEV+set}" = set; then
26019   echo $ECHO_N "(cached) $ECHO_C" >&6
26020 else
26021
26022     cat >conftest.$ac_ext <<_ACEOF
26023 #line $LINENO "configure"
26024 /* confdefs.h.  */
26025 _ACEOF
26026 cat confdefs.h >>conftest.$ac_ext
26027 cat >>conftest.$ac_ext <<_ACEOF
26028 /* end confdefs.h.  */
26029 #include <sys/uio.h>
26030 int
26031 main ()
26032 {
26033 struct iovec iov[2];
26034        writev(0, iov, 0);
26035   ;
26036   return 0;
26037 }
26038 _ACEOF
26039 rm -f conftest.$ac_objext
26040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26041   (eval $ac_compile) 2>&5
26042   ac_status=$?
26043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044   (exit $ac_status); } &&
26045          { ac_try='test -s conftest.$ac_objext'
26046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26047   (eval $ac_try) 2>&5
26048   ac_status=$?
26049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050   (exit $ac_status); }; }; then
26051   glibcxx_cv_WRITEV=yes
26052 else
26053   echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.$ac_ext >&5
26055
26056 glibcxx_cv_WRITEV=no
26057 fi
26058 rm -f conftest.$ac_objext conftest.$ac_ext
26059
26060 fi
26061
26062   if test $glibcxx_cv_WRITEV = yes; then
26063     cat >>confdefs.h <<\_ACEOF
26064 #define HAVE_WRITEV 1
26065 _ACEOF
26066
26067   fi
26068
26069
26070
26071   if test "${ac_cv_header_locale_h+set}" = set; then
26072   echo "$as_me:$LINENO: checking for locale.h" >&5
26073 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26074 if test "${ac_cv_header_locale_h+set}" = set; then
26075   echo $ECHO_N "(cached) $ECHO_C" >&6
26076 fi
26077 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26078 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26079 else
26080   # Is the header compilable?
26081 echo "$as_me:$LINENO: checking locale.h usability" >&5
26082 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26083 cat >conftest.$ac_ext <<_ACEOF
26084 #line $LINENO "configure"
26085 /* confdefs.h.  */
26086 _ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h.  */
26090 $ac_includes_default
26091 #include <locale.h>
26092 _ACEOF
26093 rm -f conftest.$ac_objext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26095   (eval $ac_compile) 2>&5
26096   ac_status=$?
26097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098   (exit $ac_status); } &&
26099          { ac_try='test -s conftest.$ac_objext'
26100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101   (eval $ac_try) 2>&5
26102   ac_status=$?
26103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104   (exit $ac_status); }; }; then
26105   ac_header_compiler=yes
26106 else
26107   echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 ac_header_compiler=no
26111 fi
26112 rm -f conftest.$ac_objext conftest.$ac_ext
26113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26114 echo "${ECHO_T}$ac_header_compiler" >&6
26115
26116 # Is the header present?
26117 echo "$as_me:$LINENO: checking locale.h presence" >&5
26118 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26119 cat >conftest.$ac_ext <<_ACEOF
26120 #line $LINENO "configure"
26121 /* confdefs.h.  */
26122 _ACEOF
26123 cat confdefs.h >>conftest.$ac_ext
26124 cat >>conftest.$ac_ext <<_ACEOF
26125 /* end confdefs.h.  */
26126 #include <locale.h>
26127 _ACEOF
26128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26129   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26130   ac_status=$?
26131   grep -v '^ *+' conftest.er1 >conftest.err
26132   rm -f conftest.er1
26133   cat conftest.err >&5
26134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135   (exit $ac_status); } >/dev/null; then
26136   if test -s conftest.err; then
26137     ac_cpp_err=$ac_c_preproc_warn_flag
26138   else
26139     ac_cpp_err=
26140   fi
26141 else
26142   ac_cpp_err=yes
26143 fi
26144 if test -z "$ac_cpp_err"; then
26145   ac_header_preproc=yes
26146 else
26147   echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150   ac_header_preproc=no
26151 fi
26152 rm -f conftest.err conftest.$ac_ext
26153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26154 echo "${ECHO_T}$ac_header_preproc" >&6
26155
26156 # So?  What about this header?
26157 case $ac_header_compiler:$ac_header_preproc in
26158   yes:no )
26159     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26160 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26161     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26162 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26163     (
26164       cat <<\_ASBOX
26165 ## ------------------------------------ ##
26166 ## Report this to bug-autoconf@gnu.org. ##
26167 ## ------------------------------------ ##
26168 _ASBOX
26169     ) |
26170       sed "s/^/$as_me: WARNING:     /" >&2
26171     ;;
26172   no:yes )
26173     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26174 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26175     { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26176 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26177     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26178 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26179     (
26180       cat <<\_ASBOX
26181 ## ------------------------------------ ##
26182 ## Report this to bug-autoconf@gnu.org. ##
26183 ## ------------------------------------ ##
26184 _ASBOX
26185     ) |
26186       sed "s/^/$as_me: WARNING:     /" >&2
26187     ;;
26188 esac
26189 echo "$as_me:$LINENO: checking for locale.h" >&5
26190 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26191 if test "${ac_cv_header_locale_h+set}" = set; then
26192   echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194   ac_cv_header_locale_h=$ac_header_preproc
26195 fi
26196 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26197 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26198
26199 fi
26200 if test $ac_cv_header_locale_h = yes; then
26201
26202     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26203 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26204 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26205   echo $ECHO_N "(cached) $ECHO_C" >&6
26206 else
26207   cat >conftest.$ac_ext <<_ACEOF
26208 #line $LINENO "configure"
26209 /* confdefs.h.  */
26210 _ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h.  */
26214 #include <locale.h>
26215 int
26216 main ()
26217 {
26218 return LC_MESSAGES
26219   ;
26220   return 0;
26221 }
26222 _ACEOF
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26225   (eval $ac_link) 2>&5
26226   ac_status=$?
26227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228   (exit $ac_status); } &&
26229          { ac_try='test -s conftest$ac_exeext'
26230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231   (eval $ac_try) 2>&5
26232   ac_status=$?
26233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234   (exit $ac_status); }; }; then
26235   ac_cv_val_LC_MESSAGES=yes
26236 else
26237   echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.$ac_ext >&5
26239
26240 ac_cv_val_LC_MESSAGES=no
26241 fi
26242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26243 fi
26244 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26245 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26246     if test $ac_cv_val_LC_MESSAGES = yes; then
26247       cat >>confdefs.h <<\_ACEOF
26248 #define HAVE_LC_MESSAGES 1
26249 _ACEOF
26250
26251     fi
26252
26253 fi
26254
26255
26256
26257
26258   cat >conftest.$ac_ext <<_ACEOF
26259 #line $LINENO "configure"
26260 /* confdefs.h.  */
26261 _ACEOF
26262 cat confdefs.h >>conftest.$ac_ext
26263 cat >>conftest.$ac_ext <<_ACEOF
26264 /* end confdefs.h.  */
26265 #include <setjmp.h>
26266 int
26267 main ()
26268 {
26269 sigjmp_buf env;
26270      while (! sigsetjmp (env, 1))
26271        siglongjmp (env, 1);
26272
26273   ;
26274   return 0;
26275 }
26276 _ACEOF
26277 rm -f conftest.$ac_objext
26278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26279   (eval $ac_compile) 2>&5
26280   ac_status=$?
26281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282   (exit $ac_status); } &&
26283          { ac_try='test -s conftest.$ac_objext'
26284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285   (eval $ac_try) 2>&5
26286   ac_status=$?
26287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288   (exit $ac_status); }; }; then
26289
26290 cat >>confdefs.h <<\_ACEOF
26291 #define HAVE_SIGSETJMP 1
26292 _ACEOF
26293
26294 else
26295   echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.$ac_ext >&5
26297
26298 fi
26299 rm -f conftest.$ac_objext conftest.$ac_ext
26300
26301
26302
26303 for ac_header in stdlib.h unistd.h
26304 do
26305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26307   echo "$as_me:$LINENO: checking for $ac_header" >&5
26308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26310   echo $ECHO_N "(cached) $ECHO_C" >&6
26311 fi
26312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26314 else
26315   # Is the header compilable?
26316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26318 cat >conftest.$ac_ext <<_ACEOF
26319 #line $LINENO "configure"
26320 /* confdefs.h.  */
26321 _ACEOF
26322 cat confdefs.h >>conftest.$ac_ext
26323 cat >>conftest.$ac_ext <<_ACEOF
26324 /* end confdefs.h.  */
26325 $ac_includes_default
26326 #include <$ac_header>
26327 _ACEOF
26328 rm -f conftest.$ac_objext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26330   (eval $ac_compile) 2>&5
26331   ac_status=$?
26332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333   (exit $ac_status); } &&
26334          { ac_try='test -s conftest.$ac_objext'
26335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336   (eval $ac_try) 2>&5
26337   ac_status=$?
26338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339   (exit $ac_status); }; }; then
26340   ac_header_compiler=yes
26341 else
26342   echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.$ac_ext >&5
26344
26345 ac_header_compiler=no
26346 fi
26347 rm -f conftest.$ac_objext conftest.$ac_ext
26348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26349 echo "${ECHO_T}$ac_header_compiler" >&6
26350
26351 # Is the header present?
26352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26354 cat >conftest.$ac_ext <<_ACEOF
26355 #line $LINENO "configure"
26356 /* confdefs.h.  */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h.  */
26361 #include <$ac_header>
26362 _ACEOF
26363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26364   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26365   ac_status=$?
26366   grep -v '^ *+' conftest.er1 >conftest.err
26367   rm -f conftest.er1
26368   cat conftest.err >&5
26369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370   (exit $ac_status); } >/dev/null; then
26371   if test -s conftest.err; then
26372     ac_cpp_err=$ac_c_preproc_warn_flag
26373   else
26374     ac_cpp_err=
26375   fi
26376 else
26377   ac_cpp_err=yes
26378 fi
26379 if test -z "$ac_cpp_err"; then
26380   ac_header_preproc=yes
26381 else
26382   echo "$as_me: failed program was:" >&5
26383 sed 's/^/| /' conftest.$ac_ext >&5
26384
26385   ac_header_preproc=no
26386 fi
26387 rm -f conftest.err conftest.$ac_ext
26388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26389 echo "${ECHO_T}$ac_header_preproc" >&6
26390
26391 # So?  What about this header?
26392 case $ac_header_compiler:$ac_header_preproc in
26393   yes:no )
26394     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26396     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26398     (
26399       cat <<\_ASBOX
26400 ## ------------------------------------ ##
26401 ## Report this to bug-autoconf@gnu.org. ##
26402 ## ------------------------------------ ##
26403 _ASBOX
26404     ) |
26405       sed "s/^/$as_me: WARNING:     /" >&2
26406     ;;
26407   no:yes )
26408     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26410     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26412     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26414     (
26415       cat <<\_ASBOX
26416 ## ------------------------------------ ##
26417 ## Report this to bug-autoconf@gnu.org. ##
26418 ## ------------------------------------ ##
26419 _ASBOX
26420     ) |
26421       sed "s/^/$as_me: WARNING:     /" >&2
26422     ;;
26423 esac
26424 echo "$as_me:$LINENO: checking for $ac_header" >&5
26425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26427   echo $ECHO_N "(cached) $ECHO_C" >&6
26428 else
26429   eval "$as_ac_Header=$ac_header_preproc"
26430 fi
26431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26433
26434 fi
26435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26436   cat >>confdefs.h <<_ACEOF
26437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26438 _ACEOF
26439
26440 fi
26441
26442 done
26443
26444
26445 for ac_func in getpagesize
26446 do
26447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26448 echo "$as_me:$LINENO: checking for $ac_func" >&5
26449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26450 if eval "test \"\${$as_ac_var+set}\" = set"; then
26451   echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453   cat >conftest.$ac_ext <<_ACEOF
26454 #line $LINENO "configure"
26455 /* confdefs.h.  */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h.  */
26460 /* System header to define __stub macros and hopefully few prototypes,
26461     which can conflict with char $ac_func (); below.
26462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26463     <limits.h> exists even on freestanding compilers.  */
26464 #ifdef __STDC__
26465 # include <limits.h>
26466 #else
26467 # include <assert.h>
26468 #endif
26469 /* Override any gcc2 internal prototype to avoid an error.  */
26470 #ifdef __cplusplus
26471 extern "C"
26472 {
26473 #endif
26474 /* We use char because int might match the return type of a gcc2
26475    builtin and then its argument prototype would still apply.  */
26476 char $ac_func ();
26477 /* The GNU C library defines this for functions which it implements
26478     to always fail with ENOSYS.  Some functions are actually named
26479     something starting with __ and the normal name is an alias.  */
26480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26481 choke me
26482 #else
26483 char (*f) () = $ac_func;
26484 #endif
26485 #ifdef __cplusplus
26486 }
26487 #endif
26488
26489 int
26490 main ()
26491 {
26492 return f != $ac_func;
26493   ;
26494   return 0;
26495 }
26496 _ACEOF
26497 rm -f conftest.$ac_objext conftest$ac_exeext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499   (eval $ac_link) 2>&5
26500   ac_status=$?
26501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502   (exit $ac_status); } &&
26503          { ac_try='test -s conftest$ac_exeext'
26504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505   (eval $ac_try) 2>&5
26506   ac_status=$?
26507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508   (exit $ac_status); }; }; then
26509   eval "$as_ac_var=yes"
26510 else
26511   echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26513
26514 eval "$as_ac_var=no"
26515 fi
26516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26517 fi
26518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26520 if test `eval echo '${'$as_ac_var'}'` = yes; then
26521   cat >>confdefs.h <<_ACEOF
26522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26523 _ACEOF
26524
26525 fi
26526 done
26527
26528 echo "$as_me:$LINENO: checking for working mmap" >&5
26529 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
26530 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
26531   echo $ECHO_N "(cached) $ECHO_C" >&6
26532 else
26533   if test "$cross_compiling" = yes; then
26534   ac_cv_func_mmap_fixed_mapped=no
26535 else
26536   cat >conftest.$ac_ext <<_ACEOF
26537 #line $LINENO "configure"
26538 /* confdefs.h.  */
26539 _ACEOF
26540 cat confdefs.h >>conftest.$ac_ext
26541 cat >>conftest.$ac_ext <<_ACEOF
26542 /* end confdefs.h.  */
26543 $ac_includes_default
26544 /* malloc might have been renamed as rpl_malloc. */
26545 #undef malloc
26546
26547 /* Thanks to Mike Haertel and Jim Avera for this test.
26548    Here is a matrix of mmap possibilities:
26549         mmap private not fixed
26550         mmap private fixed at somewhere currently unmapped
26551         mmap private fixed at somewhere already mapped
26552         mmap shared not fixed
26553         mmap shared fixed at somewhere currently unmapped
26554         mmap shared fixed at somewhere already mapped
26555    For private mappings, we should verify that changes cannot be read()
26556    back from the file, nor mmap's back from the file at a different
26557    address.  (There have been systems where private was not correctly
26558    implemented like the infamous i386 svr4.0, and systems where the
26559    VM page cache was not coherent with the file system buffer cache
26560    like early versions of FreeBSD and possibly contemporary NetBSD.)
26561    For shared mappings, we should conversely verify that changes get
26562    propagated back to all the places they're supposed to be.
26563
26564    Grep wants private fixed already mapped.
26565    The main things grep needs to know about mmap are:
26566    * does it exist and is it safe to write into the mmap'd area
26567    * how to use it (BSD variants)  */
26568
26569 #include <fcntl.h>
26570 #include <sys/mman.h>
26571
26572 #if !STDC_HEADERS && !HAVE_STDLIB_H
26573 char *malloc ();
26574 #endif
26575
26576 /* This mess was copied from the GNU getpagesize.h.  */
26577 #if !HAVE_GETPAGESIZE
26578 /* Assume that all systems that can run configure have sys/param.h.  */
26579 # if !HAVE_SYS_PARAM_H
26580 #  define HAVE_SYS_PARAM_H 1
26581 # endif
26582
26583 # ifdef _SC_PAGESIZE
26584 #  define getpagesize() sysconf(_SC_PAGESIZE)
26585 # else /* no _SC_PAGESIZE */
26586 #  if HAVE_SYS_PARAM_H
26587 #   include <sys/param.h>
26588 #   ifdef EXEC_PAGESIZE
26589 #    define getpagesize() EXEC_PAGESIZE
26590 #   else /* no EXEC_PAGESIZE */
26591 #    ifdef NBPG
26592 #     define getpagesize() NBPG * CLSIZE
26593 #     ifndef CLSIZE
26594 #      define CLSIZE 1
26595 #     endif /* no CLSIZE */
26596 #    else /* no NBPG */
26597 #     ifdef NBPC
26598 #      define getpagesize() NBPC
26599 #     else /* no NBPC */
26600 #      ifdef PAGESIZE
26601 #       define getpagesize() PAGESIZE
26602 #      endif /* PAGESIZE */
26603 #     endif /* no NBPC */
26604 #    endif /* no NBPG */
26605 #   endif /* no EXEC_PAGESIZE */
26606 #  else /* no HAVE_SYS_PARAM_H */
26607 #   define getpagesize() 8192   /* punt totally */
26608 #  endif /* no HAVE_SYS_PARAM_H */
26609 # endif /* no _SC_PAGESIZE */
26610
26611 #endif /* no HAVE_GETPAGESIZE */
26612
26613 int
26614 main ()
26615 {
26616   char *data, *data2, *data3;
26617   int i, pagesize;
26618   int fd;
26619
26620   pagesize = getpagesize ();
26621
26622   /* First, make a file with some known garbage in it. */
26623   data = (char *) malloc (pagesize);
26624   if (!data)
26625     exit (1);
26626   for (i = 0; i < pagesize; ++i)
26627     *(data + i) = rand ();
26628   umask (0);
26629   fd = creat ("conftest.mmap", 0600);
26630   if (fd < 0)
26631     exit (1);
26632   if (write (fd, data, pagesize) != pagesize)
26633     exit (1);
26634   close (fd);
26635
26636   /* Next, try to mmap the file at a fixed address which already has
26637      something else allocated at it.  If we can, also make sure that
26638      we see the same garbage.  */
26639   fd = open ("conftest.mmap", O_RDWR);
26640   if (fd < 0)
26641     exit (1);
26642   data2 = (char *) malloc (2 * pagesize);
26643   if (!data2)
26644     exit (1);
26645   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
26646   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
26647                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
26648     exit (1);
26649   for (i = 0; i < pagesize; ++i)
26650     if (*(data + i) != *(data2 + i))
26651       exit (1);
26652
26653   /* Finally, make sure that changes to the mapped area do not
26654      percolate back to the file as seen by read().  (This is a bug on
26655      some variants of i386 svr4.0.)  */
26656   for (i = 0; i < pagesize; ++i)
26657     *(data2 + i) = *(data2 + i) + 1;
26658   data3 = (char *) malloc (pagesize);
26659   if (!data3)
26660     exit (1);
26661   if (read (fd, data3, pagesize) != pagesize)
26662     exit (1);
26663   for (i = 0; i < pagesize; ++i)
26664     if (*(data + i) != *(data3 + i))
26665       exit (1);
26666   close (fd);
26667   exit (0);
26668 }
26669 _ACEOF
26670 rm -f conftest$ac_exeext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26672   (eval $ac_link) 2>&5
26673   ac_status=$?
26674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677   (eval $ac_try) 2>&5
26678   ac_status=$?
26679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680   (exit $ac_status); }; }; then
26681   ac_cv_func_mmap_fixed_mapped=yes
26682 else
26683   echo "$as_me: program exited with status $ac_status" >&5
26684 echo "$as_me: failed program was:" >&5
26685 sed 's/^/| /' conftest.$ac_ext >&5
26686
26687 ( exit $ac_status )
26688 ac_cv_func_mmap_fixed_mapped=no
26689 fi
26690 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26691 fi
26692 fi
26693 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
26694 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
26695 if test $ac_cv_func_mmap_fixed_mapped = yes; then
26696
26697 cat >>confdefs.h <<\_ACEOF
26698 #define HAVE_MMAP 1
26699 _ACEOF
26700
26701 fi
26702 rm -f conftest.mmap
26703
26704
26705 else
26706
26707   # This lets us hard-code the functionality we know we'll have in the cross
26708   # target environment.  "Let" is a sugar-coated word placed on an especially
26709   # dull and tedious hack, actually.
26710   #
26711   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26712   # that involve linking, can't be used:
26713   #    "cannot open sim-crt0.o"
26714   #    "cannot open crt0.o"
26715   # etc.  All this is because there currently exists no unified, consistent
26716   # way for top level CC information to be passed down to target directories:
26717   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26718   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26719   # crosses can be removed.
26720
26721   # If Canadian cross, then don't pick up tools from the build directory.
26722   # Used only in GLIBCXX_EXPORT_INCLUDES.
26723   if test -n "$with_cross_host" &&
26724      test x"$build" != x"$with_cross_host" &&
26725      test x"$build" != x"$target";
26726   then
26727     CANADIAN=yes
26728   else
26729     CANADIAN=no
26730   fi
26731
26732   # Construct crosses by hand, eliminating bits that need ld...
26733   # GLIBCXX_CHECK_COMPILER_FEATURES
26734   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
26735   # GLIBCXX_CHECK_MATH_SUPPORT
26736
26737   # First, test for "known" system libraries.  We may be using newlib even
26738   # on a hosted environment.
26739   if test "x${with_newlib}" = "xyes"; then
26740     os_include_dir="os/newlib"
26741     cat >>confdefs.h <<\_ACEOF
26742 #define HAVE_HYPOT 1
26743 _ACEOF
26744
26745
26746     # GLIBCXX_CHECK_STDLIB_SUPPORT
26747     cat >>confdefs.h <<\_ACEOF
26748 #define HAVE_STRTOF 1
26749 _ACEOF
26750
26751     cat >>confdefs.h <<\_ACEOF
26752 #define HAVE_STRTOLD 1
26753 _ACEOF
26754
26755     # AC_FUNC_MMAP
26756     cat >>confdefs.h <<\_ACEOF
26757 #define HAVE_MMAP 1
26758 _ACEOF
26759
26760
26761     cat >>confdefs.h <<\_ACEOF
26762 #define HAVE_ACOSF 1
26763 _ACEOF
26764
26765     cat >>confdefs.h <<\_ACEOF
26766 #define HAVE_ASINF 1
26767 _ACEOF
26768
26769     cat >>confdefs.h <<\_ACEOF
26770 #define HAVE_ATAN2F 1
26771 _ACEOF
26772
26773     cat >>confdefs.h <<\_ACEOF
26774 #define HAVE_ATANF 1
26775 _ACEOF
26776
26777     cat >>confdefs.h <<\_ACEOF
26778 #define HAVE_CEILF 1
26779 _ACEOF
26780
26781     cat >>confdefs.h <<\_ACEOF
26782 #define HAVE_COPYSIGN 1
26783 _ACEOF
26784
26785     cat >>confdefs.h <<\_ACEOF
26786 #define HAVE_COPYSIGNF 1
26787 _ACEOF
26788
26789     cat >>confdefs.h <<\_ACEOF
26790 #define HAVE_COSF 1
26791 _ACEOF
26792
26793     cat >>confdefs.h <<\_ACEOF
26794 #define HAVE_COSHF 1
26795 _ACEOF
26796
26797     cat >>confdefs.h <<\_ACEOF
26798 #define HAVE_EXPF 1
26799 _ACEOF
26800
26801     cat >>confdefs.h <<\_ACEOF
26802 #define HAVE_FABSF 1
26803 _ACEOF
26804
26805     cat >>confdefs.h <<\_ACEOF
26806 #define HAVE_FLOORF 1
26807 _ACEOF
26808
26809     cat >>confdefs.h <<\_ACEOF
26810 #define HAVE_FMODF 1
26811 _ACEOF
26812
26813     cat >>confdefs.h <<\_ACEOF
26814 #define HAVE_FREXPF 1
26815 _ACEOF
26816
26817     cat >>confdefs.h <<\_ACEOF
26818 #define HAVE_LDEXPF 1
26819 _ACEOF
26820
26821     cat >>confdefs.h <<\_ACEOF
26822 #define HAVE_LOG10F 1
26823 _ACEOF
26824
26825     cat >>confdefs.h <<\_ACEOF
26826 #define HAVE_LOGF 1
26827 _ACEOF
26828
26829     cat >>confdefs.h <<\_ACEOF
26830 #define HAVE_MODFF 1
26831 _ACEOF
26832
26833     cat >>confdefs.h <<\_ACEOF
26834 #define HAVE_POWF 1
26835 _ACEOF
26836
26837     cat >>confdefs.h <<\_ACEOF
26838 #define HAVE_SINF 1
26839 _ACEOF
26840
26841     cat >>confdefs.h <<\_ACEOF
26842 #define HAVE_SINHF 1
26843 _ACEOF
26844
26845     cat >>confdefs.h <<\_ACEOF
26846 #define HAVE_SQRTF 1
26847 _ACEOF
26848
26849     cat >>confdefs.h <<\_ACEOF
26850 #define HAVE_TANF 1
26851 _ACEOF
26852
26853     cat >>confdefs.h <<\_ACEOF
26854 #define HAVE_TANHF 1
26855 _ACEOF
26856
26857   else
26858
26859 # Base decisions on target environment.
26860 case "${host}" in
26861   *-darwin*)
26862     # Darwin versions vary, but the linker should work in a cross environment,
26863     # so we just check for all the features here.
26864     # Check for available headers.
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
26879     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
26880     sys/types.h
26881 do
26882 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26884   echo "$as_me:$LINENO: checking for $ac_header" >&5
26885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26887   echo $ECHO_N "(cached) $ECHO_C" >&6
26888 fi
26889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26891 else
26892   # Is the header compilable?
26893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26895 cat >conftest.$ac_ext <<_ACEOF
26896 #line $LINENO "configure"
26897 /* confdefs.h.  */
26898 _ACEOF
26899 cat confdefs.h >>conftest.$ac_ext
26900 cat >>conftest.$ac_ext <<_ACEOF
26901 /* end confdefs.h.  */
26902 $ac_includes_default
26903 #include <$ac_header>
26904 _ACEOF
26905 rm -f conftest.$ac_objext
26906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26907   (eval $ac_compile) 2>&5
26908   ac_status=$?
26909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910   (exit $ac_status); } &&
26911          { ac_try='test -s conftest.$ac_objext'
26912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26913   (eval $ac_try) 2>&5
26914   ac_status=$?
26915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26916   (exit $ac_status); }; }; then
26917   ac_header_compiler=yes
26918 else
26919   echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.$ac_ext >&5
26921
26922 ac_header_compiler=no
26923 fi
26924 rm -f conftest.$ac_objext conftest.$ac_ext
26925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26926 echo "${ECHO_T}$ac_header_compiler" >&6
26927
26928 # Is the header present?
26929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26931 cat >conftest.$ac_ext <<_ACEOF
26932 #line $LINENO "configure"
26933 /* confdefs.h.  */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h.  */
26938 #include <$ac_header>
26939 _ACEOF
26940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26941   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26942   ac_status=$?
26943   grep -v '^ *+' conftest.er1 >conftest.err
26944   rm -f conftest.er1
26945   cat conftest.err >&5
26946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947   (exit $ac_status); } >/dev/null; then
26948   if test -s conftest.err; then
26949     ac_cpp_err=$ac_c_preproc_warn_flag
26950   else
26951     ac_cpp_err=
26952   fi
26953 else
26954   ac_cpp_err=yes
26955 fi
26956 if test -z "$ac_cpp_err"; then
26957   ac_header_preproc=yes
26958 else
26959   echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.$ac_ext >&5
26961
26962   ac_header_preproc=no
26963 fi
26964 rm -f conftest.err conftest.$ac_ext
26965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26966 echo "${ECHO_T}$ac_header_preproc" >&6
26967
26968 # So?  What about this header?
26969 case $ac_header_compiler:$ac_header_preproc in
26970   yes:no )
26971     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26973     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26975     (
26976       cat <<\_ASBOX
26977 ## ------------------------------------ ##
26978 ## Report this to bug-autoconf@gnu.org. ##
26979 ## ------------------------------------ ##
26980 _ASBOX
26981     ) |
26982       sed "s/^/$as_me: WARNING:     /" >&2
26983     ;;
26984   no:yes )
26985     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26987     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26989     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26991     (
26992       cat <<\_ASBOX
26993 ## ------------------------------------ ##
26994 ## Report this to bug-autoconf@gnu.org. ##
26995 ## ------------------------------------ ##
26996 _ASBOX
26997     ) |
26998       sed "s/^/$as_me: WARNING:     /" >&2
26999     ;;
27000 esac
27001 echo "$as_me:$LINENO: checking for $ac_header" >&5
27002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27004   echo $ECHO_N "(cached) $ECHO_C" >&6
27005 else
27006   eval "$as_ac_Header=$ac_header_preproc"
27007 fi
27008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27010
27011 fi
27012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27013   cat >>confdefs.h <<_ACEOF
27014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27015 _ACEOF
27016
27017 fi
27018
27019 done
27020
27021
27022
27023   # All these tests are for C++; save the language and the compiler flags.
27024   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27025   # found in GLIBCXX_CONFIGURE.
27026
27027
27028   ac_ext=cc
27029 ac_cpp='$CXXCPP $CPPFLAGS'
27030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27033
27034   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27035   ac_save_CXXFLAGS="$CXXFLAGS"
27036
27037   # Check for maintainer-mode bits.
27038   if test x"$USE_MAINTAINER_MODE" = xno; then
27039     WERROR=''
27040   else
27041     WERROR='-Werror'
27042   fi
27043
27044   # Check for -ffunction-sections -fdata-sections
27045   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27046 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27047   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27048   cat >conftest.$ac_ext <<_ACEOF
27049 #line $LINENO "configure"
27050 /* confdefs.h.  */
27051 _ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h.  */
27055
27056 int
27057 main ()
27058 {
27059 int foo;
27060   ;
27061   return 0;
27062 }
27063 _ACEOF
27064 rm -f conftest.$ac_objext
27065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27066   (eval $ac_compile) 2>&5
27067   ac_status=$?
27068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069   (exit $ac_status); } &&
27070          { ac_try='test -s conftest.$ac_objext'
27071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072   (eval $ac_try) 2>&5
27073   ac_status=$?
27074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075   (exit $ac_status); }; }; then
27076   ac_fdsections=yes
27077 else
27078   echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27080
27081 ac_fdsections=no
27082 fi
27083 rm -f conftest.$ac_objext conftest.$ac_ext
27084   if test "$ac_test_CXXFLAGS" = set; then
27085     CXXFLAGS="$ac_save_CXXFLAGS"
27086   else
27087     # this is the suspicious part
27088     CXXFLAGS=''
27089   fi
27090   if test x"$ac_fdsections" = x"yes"; then
27091     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27092   fi
27093   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27094 echo "${ECHO_T}$ac_fdsections" >&6
27095
27096   ac_ext=c
27097 ac_cpp='$CPP $CPPFLAGS'
27098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27101
27102
27103
27104
27105     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27106
27107   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27108   ac_save_CXXFLAGS="$CXXFLAGS"
27109   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27110
27111     echo "$as_me:$LINENO: checking for sin in -lm" >&5
27112 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27113 if test "${ac_cv_lib_m_sin+set}" = set; then
27114   echo $ECHO_N "(cached) $ECHO_C" >&6
27115 else
27116   ac_check_lib_save_LIBS=$LIBS
27117 LIBS="-lm  $LIBS"
27118 cat >conftest.$ac_ext <<_ACEOF
27119 #line $LINENO "configure"
27120 /* confdefs.h.  */
27121 _ACEOF
27122 cat confdefs.h >>conftest.$ac_ext
27123 cat >>conftest.$ac_ext <<_ACEOF
27124 /* end confdefs.h.  */
27125
27126 /* Override any gcc2 internal prototype to avoid an error.  */
27127 #ifdef __cplusplus
27128 extern "C"
27129 #endif
27130 /* We use char because int might match the return type of a gcc2
27131    builtin and then its argument prototype would still apply.  */
27132 char sin ();
27133 int
27134 main ()
27135 {
27136 sin ();
27137   ;
27138   return 0;
27139 }
27140 _ACEOF
27141 rm -f conftest.$ac_objext conftest$ac_exeext
27142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27143   (eval $ac_link) 2>&5
27144   ac_status=$?
27145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146   (exit $ac_status); } &&
27147          { ac_try='test -s conftest$ac_exeext'
27148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149   (eval $ac_try) 2>&5
27150   ac_status=$?
27151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152   (exit $ac_status); }; }; then
27153   ac_cv_lib_m_sin=yes
27154 else
27155   echo "$as_me: failed program was:" >&5
27156 sed 's/^/| /' conftest.$ac_ext >&5
27157
27158 ac_cv_lib_m_sin=no
27159 fi
27160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27161 LIBS=$ac_check_lib_save_LIBS
27162 fi
27163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27164 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27165 if test $ac_cv_lib_m_sin = yes; then
27166   libm="-lm"
27167 fi
27168
27169   ac_save_LIBS="$LIBS"
27170   LIBS="$LIBS $libm"
27171
27172
27173
27174   echo "$as_me:$LINENO: checking for isinf declaration" >&5
27175 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27176   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27177     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27178   echo $ECHO_N "(cached) $ECHO_C" >&6
27179 else
27180
27181
27182
27183       ac_ext=cc
27184 ac_cpp='$CXXCPP $CPPFLAGS'
27185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27188
27189       cat >conftest.$ac_ext <<_ACEOF
27190 #line $LINENO "configure"
27191 /* confdefs.h.  */
27192 _ACEOF
27193 cat confdefs.h >>conftest.$ac_ext
27194 cat >>conftest.$ac_ext <<_ACEOF
27195 /* end confdefs.h.  */
27196 #include <math.h>
27197                       #ifdef HAVE_IEEEFP_H
27198                       #include <ieeefp.h>
27199                       #endif
27200
27201 int
27202 main ()
27203 {
27204  isinf(0);
27205   ;
27206   return 0;
27207 }
27208 _ACEOF
27209 rm -f conftest.$ac_objext
27210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27211   (eval $ac_compile) 2>&5
27212   ac_status=$?
27213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214   (exit $ac_status); } &&
27215          { ac_try='test -s conftest.$ac_objext'
27216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217   (eval $ac_try) 2>&5
27218   ac_status=$?
27219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220   (exit $ac_status); }; }; then
27221   glibcxx_cv_func_isinf_use=yes
27222 else
27223   echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 glibcxx_cv_func_isinf_use=no
27227 fi
27228 rm -f conftest.$ac_objext conftest.$ac_ext
27229       ac_ext=c
27230 ac_cpp='$CPP $CPPFLAGS'
27231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27234
27235
27236 fi
27237
27238   fi
27239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27240 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27241
27242   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27243
27244 for ac_func in isinf
27245 do
27246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27247 echo "$as_me:$LINENO: checking for $ac_func" >&5
27248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27249 if eval "test \"\${$as_ac_var+set}\" = set"; then
27250   echo $ECHO_N "(cached) $ECHO_C" >&6
27251 else
27252   cat >conftest.$ac_ext <<_ACEOF
27253 #line $LINENO "configure"
27254 /* confdefs.h.  */
27255 _ACEOF
27256 cat confdefs.h >>conftest.$ac_ext
27257 cat >>conftest.$ac_ext <<_ACEOF
27258 /* end confdefs.h.  */
27259 /* System header to define __stub macros and hopefully few prototypes,
27260     which can conflict with char $ac_func (); below.
27261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27262     <limits.h> exists even on freestanding compilers.  */
27263 #ifdef __STDC__
27264 # include <limits.h>
27265 #else
27266 # include <assert.h>
27267 #endif
27268 /* Override any gcc2 internal prototype to avoid an error.  */
27269 #ifdef __cplusplus
27270 extern "C"
27271 {
27272 #endif
27273 /* We use char because int might match the return type of a gcc2
27274    builtin and then its argument prototype would still apply.  */
27275 char $ac_func ();
27276 /* The GNU C library defines this for functions which it implements
27277     to always fail with ENOSYS.  Some functions are actually named
27278     something starting with __ and the normal name is an alias.  */
27279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27280 choke me
27281 #else
27282 char (*f) () = $ac_func;
27283 #endif
27284 #ifdef __cplusplus
27285 }
27286 #endif
27287
27288 int
27289 main ()
27290 {
27291 return f != $ac_func;
27292   ;
27293   return 0;
27294 }
27295 _ACEOF
27296 rm -f conftest.$ac_objext conftest$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298   (eval $ac_link) 2>&5
27299   ac_status=$?
27300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301   (exit $ac_status); } &&
27302          { ac_try='test -s conftest$ac_exeext'
27303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27304   (eval $ac_try) 2>&5
27305   ac_status=$?
27306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307   (exit $ac_status); }; }; then
27308   eval "$as_ac_var=yes"
27309 else
27310   echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27312
27313 eval "$as_ac_var=no"
27314 fi
27315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27316 fi
27317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27319 if test `eval echo '${'$as_ac_var'}'` = yes; then
27320   cat >>confdefs.h <<_ACEOF
27321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27322 _ACEOF
27323
27324 fi
27325 done
27326
27327   else
27328
27329   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
27330 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
27331   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27332     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
27333   echo $ECHO_N "(cached) $ECHO_C" >&6
27334 else
27335
27336
27337
27338       ac_ext=cc
27339 ac_cpp='$CXXCPP $CPPFLAGS'
27340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27343
27344       cat >conftest.$ac_ext <<_ACEOF
27345 #line $LINENO "configure"
27346 /* confdefs.h.  */
27347 _ACEOF
27348 cat confdefs.h >>conftest.$ac_ext
27349 cat >>conftest.$ac_ext <<_ACEOF
27350 /* end confdefs.h.  */
27351 #include <math.h>
27352                       #ifdef HAVE_IEEEFP_H
27353                       #include <ieeefp.h>
27354                       #endif
27355
27356 int
27357 main ()
27358 {
27359  _isinf(0);
27360   ;
27361   return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27366   (eval $ac_compile) 2>&5
27367   ac_status=$?
27368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369   (exit $ac_status); } &&
27370          { ac_try='test -s conftest.$ac_objext'
27371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372   (eval $ac_try) 2>&5
27373   ac_status=$?
27374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375   (exit $ac_status); }; }; then
27376   glibcxx_cv_func__isinf_use=yes
27377 else
27378   echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27380
27381 glibcxx_cv_func__isinf_use=no
27382 fi
27383 rm -f conftest.$ac_objext conftest.$ac_ext
27384       ac_ext=c
27385 ac_cpp='$CPP $CPPFLAGS'
27386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27389
27390
27391 fi
27392
27393   fi
27394   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
27395 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
27396
27397     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27398
27399 for ac_func in _isinf
27400 do
27401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27402 echo "$as_me:$LINENO: checking for $ac_func" >&5
27403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27404 if eval "test \"\${$as_ac_var+set}\" = set"; then
27405   echo $ECHO_N "(cached) $ECHO_C" >&6
27406 else
27407   cat >conftest.$ac_ext <<_ACEOF
27408 #line $LINENO "configure"
27409 /* confdefs.h.  */
27410 _ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h.  */
27414 /* System header to define __stub macros and hopefully few prototypes,
27415     which can conflict with char $ac_func (); below.
27416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27417     <limits.h> exists even on freestanding compilers.  */
27418 #ifdef __STDC__
27419 # include <limits.h>
27420 #else
27421 # include <assert.h>
27422 #endif
27423 /* Override any gcc2 internal prototype to avoid an error.  */
27424 #ifdef __cplusplus
27425 extern "C"
27426 {
27427 #endif
27428 /* We use char because int might match the return type of a gcc2
27429    builtin and then its argument prototype would still apply.  */
27430 char $ac_func ();
27431 /* The GNU C library defines this for functions which it implements
27432     to always fail with ENOSYS.  Some functions are actually named
27433     something starting with __ and the normal name is an alias.  */
27434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27435 choke me
27436 #else
27437 char (*f) () = $ac_func;
27438 #endif
27439 #ifdef __cplusplus
27440 }
27441 #endif
27442
27443 int
27444 main ()
27445 {
27446 return f != $ac_func;
27447   ;
27448   return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext conftest$ac_exeext
27452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27453   (eval $ac_link) 2>&5
27454   ac_status=$?
27455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456   (exit $ac_status); } &&
27457          { ac_try='test -s conftest$ac_exeext'
27458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459   (eval $ac_try) 2>&5
27460   ac_status=$?
27461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462   (exit $ac_status); }; }; then
27463   eval "$as_ac_var=yes"
27464 else
27465   echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.$ac_ext >&5
27467
27468 eval "$as_ac_var=no"
27469 fi
27470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27471 fi
27472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27474 if test `eval echo '${'$as_ac_var'}'` = yes; then
27475   cat >>confdefs.h <<_ACEOF
27476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27477 _ACEOF
27478
27479 fi
27480 done
27481
27482     fi
27483   fi
27484
27485
27486
27487   echo "$as_me:$LINENO: checking for isnan declaration" >&5
27488 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
27489   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27490     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
27491   echo $ECHO_N "(cached) $ECHO_C" >&6
27492 else
27493
27494
27495
27496       ac_ext=cc
27497 ac_cpp='$CXXCPP $CPPFLAGS'
27498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27501
27502       cat >conftest.$ac_ext <<_ACEOF
27503 #line $LINENO "configure"
27504 /* confdefs.h.  */
27505 _ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h.  */
27509 #include <math.h>
27510                       #ifdef HAVE_IEEEFP_H
27511                       #include <ieeefp.h>
27512                       #endif
27513
27514 int
27515 main ()
27516 {
27517  isnan(0);
27518   ;
27519   return 0;
27520 }
27521 _ACEOF
27522 rm -f conftest.$ac_objext
27523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27524   (eval $ac_compile) 2>&5
27525   ac_status=$?
27526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527   (exit $ac_status); } &&
27528          { ac_try='test -s conftest.$ac_objext'
27529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530   (eval $ac_try) 2>&5
27531   ac_status=$?
27532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533   (exit $ac_status); }; }; then
27534   glibcxx_cv_func_isnan_use=yes
27535 else
27536   echo "$as_me: failed program was:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27538
27539 glibcxx_cv_func_isnan_use=no
27540 fi
27541 rm -f conftest.$ac_objext conftest.$ac_ext
27542       ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27547
27548
27549 fi
27550
27551   fi
27552   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
27553 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
27554
27555   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27556
27557 for ac_func in isnan
27558 do
27559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27560 echo "$as_me:$LINENO: checking for $ac_func" >&5
27561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27562 if eval "test \"\${$as_ac_var+set}\" = set"; then
27563   echo $ECHO_N "(cached) $ECHO_C" >&6
27564 else
27565   cat >conftest.$ac_ext <<_ACEOF
27566 #line $LINENO "configure"
27567 /* confdefs.h.  */
27568 _ACEOF
27569 cat confdefs.h >>conftest.$ac_ext
27570 cat >>conftest.$ac_ext <<_ACEOF
27571 /* end confdefs.h.  */
27572 /* System header to define __stub macros and hopefully few prototypes,
27573     which can conflict with char $ac_func (); below.
27574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27575     <limits.h> exists even on freestanding compilers.  */
27576 #ifdef __STDC__
27577 # include <limits.h>
27578 #else
27579 # include <assert.h>
27580 #endif
27581 /* Override any gcc2 internal prototype to avoid an error.  */
27582 #ifdef __cplusplus
27583 extern "C"
27584 {
27585 #endif
27586 /* We use char because int might match the return type of a gcc2
27587    builtin and then its argument prototype would still apply.  */
27588 char $ac_func ();
27589 /* The GNU C library defines this for functions which it implements
27590     to always fail with ENOSYS.  Some functions are actually named
27591     something starting with __ and the normal name is an alias.  */
27592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27593 choke me
27594 #else
27595 char (*f) () = $ac_func;
27596 #endif
27597 #ifdef __cplusplus
27598 }
27599 #endif
27600
27601 int
27602 main ()
27603 {
27604 return f != $ac_func;
27605   ;
27606   return 0;
27607 }
27608 _ACEOF
27609 rm -f conftest.$ac_objext conftest$ac_exeext
27610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27611   (eval $ac_link) 2>&5
27612   ac_status=$?
27613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614   (exit $ac_status); } &&
27615          { ac_try='test -s conftest$ac_exeext'
27616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617   (eval $ac_try) 2>&5
27618   ac_status=$?
27619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620   (exit $ac_status); }; }; then
27621   eval "$as_ac_var=yes"
27622 else
27623   echo "$as_me: failed program was:" >&5
27624 sed 's/^/| /' conftest.$ac_ext >&5
27625
27626 eval "$as_ac_var=no"
27627 fi
27628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27629 fi
27630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27632 if test `eval echo '${'$as_ac_var'}'` = yes; then
27633   cat >>confdefs.h <<_ACEOF
27634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27635 _ACEOF
27636
27637 fi
27638 done
27639
27640   else
27641
27642   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
27643 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
27644   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27645     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
27646   echo $ECHO_N "(cached) $ECHO_C" >&6
27647 else
27648
27649
27650
27651       ac_ext=cc
27652 ac_cpp='$CXXCPP $CPPFLAGS'
27653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27656
27657       cat >conftest.$ac_ext <<_ACEOF
27658 #line $LINENO "configure"
27659 /* confdefs.h.  */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h.  */
27664 #include <math.h>
27665                       #ifdef HAVE_IEEEFP_H
27666                       #include <ieeefp.h>
27667                       #endif
27668
27669 int
27670 main ()
27671 {
27672  _isnan(0);
27673   ;
27674   return 0;
27675 }
27676 _ACEOF
27677 rm -f conftest.$ac_objext
27678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27679   (eval $ac_compile) 2>&5
27680   ac_status=$?
27681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27682   (exit $ac_status); } &&
27683          { ac_try='test -s conftest.$ac_objext'
27684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27685   (eval $ac_try) 2>&5
27686   ac_status=$?
27687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688   (exit $ac_status); }; }; then
27689   glibcxx_cv_func__isnan_use=yes
27690 else
27691   echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.$ac_ext >&5
27693
27694 glibcxx_cv_func__isnan_use=no
27695 fi
27696 rm -f conftest.$ac_objext conftest.$ac_ext
27697       ac_ext=c
27698 ac_cpp='$CPP $CPPFLAGS'
27699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27702
27703
27704 fi
27705
27706   fi
27707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
27708 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
27709
27710     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27711
27712 for ac_func in _isnan
27713 do
27714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27715 echo "$as_me:$LINENO: checking for $ac_func" >&5
27716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27717 if eval "test \"\${$as_ac_var+set}\" = set"; then
27718   echo $ECHO_N "(cached) $ECHO_C" >&6
27719 else
27720   cat >conftest.$ac_ext <<_ACEOF
27721 #line $LINENO "configure"
27722 /* confdefs.h.  */
27723 _ACEOF
27724 cat confdefs.h >>conftest.$ac_ext
27725 cat >>conftest.$ac_ext <<_ACEOF
27726 /* end confdefs.h.  */
27727 /* System header to define __stub macros and hopefully few prototypes,
27728     which can conflict with char $ac_func (); below.
27729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27730     <limits.h> exists even on freestanding compilers.  */
27731 #ifdef __STDC__
27732 # include <limits.h>
27733 #else
27734 # include <assert.h>
27735 #endif
27736 /* Override any gcc2 internal prototype to avoid an error.  */
27737 #ifdef __cplusplus
27738 extern "C"
27739 {
27740 #endif
27741 /* We use char because int might match the return type of a gcc2
27742    builtin and then its argument prototype would still apply.  */
27743 char $ac_func ();
27744 /* The GNU C library defines this for functions which it implements
27745     to always fail with ENOSYS.  Some functions are actually named
27746     something starting with __ and the normal name is an alias.  */
27747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27748 choke me
27749 #else
27750 char (*f) () = $ac_func;
27751 #endif
27752 #ifdef __cplusplus
27753 }
27754 #endif
27755
27756 int
27757 main ()
27758 {
27759 return f != $ac_func;
27760   ;
27761   return 0;
27762 }
27763 _ACEOF
27764 rm -f conftest.$ac_objext conftest$ac_exeext
27765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27766   (eval $ac_link) 2>&5
27767   ac_status=$?
27768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769   (exit $ac_status); } &&
27770          { ac_try='test -s conftest$ac_exeext'
27771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772   (eval $ac_try) 2>&5
27773   ac_status=$?
27774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775   (exit $ac_status); }; }; then
27776   eval "$as_ac_var=yes"
27777 else
27778   echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.$ac_ext >&5
27780
27781 eval "$as_ac_var=no"
27782 fi
27783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27784 fi
27785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27787 if test `eval echo '${'$as_ac_var'}'` = yes; then
27788   cat >>confdefs.h <<_ACEOF
27789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27790 _ACEOF
27791
27792 fi
27793 done
27794
27795     fi
27796   fi
27797
27798
27799
27800   echo "$as_me:$LINENO: checking for finite declaration" >&5
27801 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
27802   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27803     if test "${glibcxx_cv_func_finite_use+set}" = set; then
27804   echo $ECHO_N "(cached) $ECHO_C" >&6
27805 else
27806
27807
27808
27809       ac_ext=cc
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27814
27815       cat >conftest.$ac_ext <<_ACEOF
27816 #line $LINENO "configure"
27817 /* confdefs.h.  */
27818 _ACEOF
27819 cat confdefs.h >>conftest.$ac_ext
27820 cat >>conftest.$ac_ext <<_ACEOF
27821 /* end confdefs.h.  */
27822 #include <math.h>
27823                       #ifdef HAVE_IEEEFP_H
27824                       #include <ieeefp.h>
27825                       #endif
27826
27827 int
27828 main ()
27829 {
27830  finite(0);
27831   ;
27832   return 0;
27833 }
27834 _ACEOF
27835 rm -f conftest.$ac_objext
27836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27837   (eval $ac_compile) 2>&5
27838   ac_status=$?
27839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840   (exit $ac_status); } &&
27841          { ac_try='test -s conftest.$ac_objext'
27842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27843   (eval $ac_try) 2>&5
27844   ac_status=$?
27845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846   (exit $ac_status); }; }; then
27847   glibcxx_cv_func_finite_use=yes
27848 else
27849   echo "$as_me: failed program was:" >&5
27850 sed 's/^/| /' conftest.$ac_ext >&5
27851
27852 glibcxx_cv_func_finite_use=no
27853 fi
27854 rm -f conftest.$ac_objext conftest.$ac_ext
27855       ac_ext=c
27856 ac_cpp='$CPP $CPPFLAGS'
27857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27860
27861
27862 fi
27863
27864   fi
27865   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
27866 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
27867
27868   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27869
27870 for ac_func in finite
27871 do
27872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27873 echo "$as_me:$LINENO: checking for $ac_func" >&5
27874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27875 if eval "test \"\${$as_ac_var+set}\" = set"; then
27876   echo $ECHO_N "(cached) $ECHO_C" >&6
27877 else
27878   cat >conftest.$ac_ext <<_ACEOF
27879 #line $LINENO "configure"
27880 /* confdefs.h.  */
27881 _ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h.  */
27885 /* System header to define __stub macros and hopefully few prototypes,
27886     which can conflict with char $ac_func (); below.
27887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27888     <limits.h> exists even on freestanding compilers.  */
27889 #ifdef __STDC__
27890 # include <limits.h>
27891 #else
27892 # include <assert.h>
27893 #endif
27894 /* Override any gcc2 internal prototype to avoid an error.  */
27895 #ifdef __cplusplus
27896 extern "C"
27897 {
27898 #endif
27899 /* We use char because int might match the return type of a gcc2
27900    builtin and then its argument prototype would still apply.  */
27901 char $ac_func ();
27902 /* The GNU C library defines this for functions which it implements
27903     to always fail with ENOSYS.  Some functions are actually named
27904     something starting with __ and the normal name is an alias.  */
27905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27906 choke me
27907 #else
27908 char (*f) () = $ac_func;
27909 #endif
27910 #ifdef __cplusplus
27911 }
27912 #endif
27913
27914 int
27915 main ()
27916 {
27917 return f != $ac_func;
27918   ;
27919   return 0;
27920 }
27921 _ACEOF
27922 rm -f conftest.$ac_objext conftest$ac_exeext
27923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27924   (eval $ac_link) 2>&5
27925   ac_status=$?
27926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927   (exit $ac_status); } &&
27928          { ac_try='test -s conftest$ac_exeext'
27929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930   (eval $ac_try) 2>&5
27931   ac_status=$?
27932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933   (exit $ac_status); }; }; then
27934   eval "$as_ac_var=yes"
27935 else
27936   echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27938
27939 eval "$as_ac_var=no"
27940 fi
27941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27942 fi
27943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27945 if test `eval echo '${'$as_ac_var'}'` = yes; then
27946   cat >>confdefs.h <<_ACEOF
27947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27948 _ACEOF
27949
27950 fi
27951 done
27952
27953   else
27954
27955   echo "$as_me:$LINENO: checking for _finite declaration" >&5
27956 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
27957   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27958     if test "${glibcxx_cv_func__finite_use+set}" = set; then
27959   echo $ECHO_N "(cached) $ECHO_C" >&6
27960 else
27961
27962
27963
27964       ac_ext=cc
27965 ac_cpp='$CXXCPP $CPPFLAGS'
27966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27969
27970       cat >conftest.$ac_ext <<_ACEOF
27971 #line $LINENO "configure"
27972 /* confdefs.h.  */
27973 _ACEOF
27974 cat confdefs.h >>conftest.$ac_ext
27975 cat >>conftest.$ac_ext <<_ACEOF
27976 /* end confdefs.h.  */
27977 #include <math.h>
27978                       #ifdef HAVE_IEEEFP_H
27979                       #include <ieeefp.h>
27980                       #endif
27981
27982 int
27983 main ()
27984 {
27985  _finite(0);
27986   ;
27987   return 0;
27988 }
27989 _ACEOF
27990 rm -f conftest.$ac_objext
27991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27992   (eval $ac_compile) 2>&5
27993   ac_status=$?
27994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995   (exit $ac_status); } &&
27996          { ac_try='test -s conftest.$ac_objext'
27997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998   (eval $ac_try) 2>&5
27999   ac_status=$?
28000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001   (exit $ac_status); }; }; then
28002   glibcxx_cv_func__finite_use=yes
28003 else
28004   echo "$as_me: failed program was:" >&5
28005 sed 's/^/| /' conftest.$ac_ext >&5
28006
28007 glibcxx_cv_func__finite_use=no
28008 fi
28009 rm -f conftest.$ac_objext conftest.$ac_ext
28010       ac_ext=c
28011 ac_cpp='$CPP $CPPFLAGS'
28012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28015
28016
28017 fi
28018
28019   fi
28020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28021 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28022
28023     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28024
28025 for ac_func in _finite
28026 do
28027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28028 echo "$as_me:$LINENO: checking for $ac_func" >&5
28029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28030 if eval "test \"\${$as_ac_var+set}\" = set"; then
28031   echo $ECHO_N "(cached) $ECHO_C" >&6
28032 else
28033   cat >conftest.$ac_ext <<_ACEOF
28034 #line $LINENO "configure"
28035 /* confdefs.h.  */
28036 _ACEOF
28037 cat confdefs.h >>conftest.$ac_ext
28038 cat >>conftest.$ac_ext <<_ACEOF
28039 /* end confdefs.h.  */
28040 /* System header to define __stub macros and hopefully few prototypes,
28041     which can conflict with char $ac_func (); below.
28042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28043     <limits.h> exists even on freestanding compilers.  */
28044 #ifdef __STDC__
28045 # include <limits.h>
28046 #else
28047 # include <assert.h>
28048 #endif
28049 /* Override any gcc2 internal prototype to avoid an error.  */
28050 #ifdef __cplusplus
28051 extern "C"
28052 {
28053 #endif
28054 /* We use char because int might match the return type of a gcc2
28055    builtin and then its argument prototype would still apply.  */
28056 char $ac_func ();
28057 /* The GNU C library defines this for functions which it implements
28058     to always fail with ENOSYS.  Some functions are actually named
28059     something starting with __ and the normal name is an alias.  */
28060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28061 choke me
28062 #else
28063 char (*f) () = $ac_func;
28064 #endif
28065 #ifdef __cplusplus
28066 }
28067 #endif
28068
28069 int
28070 main ()
28071 {
28072 return f != $ac_func;
28073   ;
28074   return 0;
28075 }
28076 _ACEOF
28077 rm -f conftest.$ac_objext conftest$ac_exeext
28078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28079   (eval $ac_link) 2>&5
28080   ac_status=$?
28081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082   (exit $ac_status); } &&
28083          { ac_try='test -s conftest$ac_exeext'
28084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28085   (eval $ac_try) 2>&5
28086   ac_status=$?
28087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088   (exit $ac_status); }; }; then
28089   eval "$as_ac_var=yes"
28090 else
28091   echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28093
28094 eval "$as_ac_var=no"
28095 fi
28096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28097 fi
28098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28100 if test `eval echo '${'$as_ac_var'}'` = yes; then
28101   cat >>confdefs.h <<_ACEOF
28102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28103 _ACEOF
28104
28105 fi
28106 done
28107
28108     fi
28109   fi
28110
28111
28112
28113   echo "$as_me:$LINENO: checking for copysign declaration" >&5
28114 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28115   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28116     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28117   echo $ECHO_N "(cached) $ECHO_C" >&6
28118 else
28119
28120
28121
28122       ac_ext=cc
28123 ac_cpp='$CXXCPP $CPPFLAGS'
28124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28127
28128       cat >conftest.$ac_ext <<_ACEOF
28129 #line $LINENO "configure"
28130 /* confdefs.h.  */
28131 _ACEOF
28132 cat confdefs.h >>conftest.$ac_ext
28133 cat >>conftest.$ac_ext <<_ACEOF
28134 /* end confdefs.h.  */
28135 #include <math.h>
28136 int
28137 main ()
28138 {
28139  copysign(0, 0);
28140   ;
28141   return 0;
28142 }
28143 _ACEOF
28144 rm -f conftest.$ac_objext
28145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28146   (eval $ac_compile) 2>&5
28147   ac_status=$?
28148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149   (exit $ac_status); } &&
28150          { ac_try='test -s conftest.$ac_objext'
28151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152   (eval $ac_try) 2>&5
28153   ac_status=$?
28154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155   (exit $ac_status); }; }; then
28156   glibcxx_cv_func_copysign_use=yes
28157 else
28158   echo "$as_me: failed program was:" >&5
28159 sed 's/^/| /' conftest.$ac_ext >&5
28160
28161 glibcxx_cv_func_copysign_use=no
28162 fi
28163 rm -f conftest.$ac_objext conftest.$ac_ext
28164       ac_ext=c
28165 ac_cpp='$CPP $CPPFLAGS'
28166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28169
28170
28171 fi
28172
28173   fi
28174   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28175 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28176
28177   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28178
28179 for ac_func in copysign
28180 do
28181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28182 echo "$as_me:$LINENO: checking for $ac_func" >&5
28183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28184 if eval "test \"\${$as_ac_var+set}\" = set"; then
28185   echo $ECHO_N "(cached) $ECHO_C" >&6
28186 else
28187   cat >conftest.$ac_ext <<_ACEOF
28188 #line $LINENO "configure"
28189 /* confdefs.h.  */
28190 _ACEOF
28191 cat confdefs.h >>conftest.$ac_ext
28192 cat >>conftest.$ac_ext <<_ACEOF
28193 /* end confdefs.h.  */
28194 /* System header to define __stub macros and hopefully few prototypes,
28195     which can conflict with char $ac_func (); below.
28196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28197     <limits.h> exists even on freestanding compilers.  */
28198 #ifdef __STDC__
28199 # include <limits.h>
28200 #else
28201 # include <assert.h>
28202 #endif
28203 /* Override any gcc2 internal prototype to avoid an error.  */
28204 #ifdef __cplusplus
28205 extern "C"
28206 {
28207 #endif
28208 /* We use char because int might match the return type of a gcc2
28209    builtin and then its argument prototype would still apply.  */
28210 char $ac_func ();
28211 /* The GNU C library defines this for functions which it implements
28212     to always fail with ENOSYS.  Some functions are actually named
28213     something starting with __ and the normal name is an alias.  */
28214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28215 choke me
28216 #else
28217 char (*f) () = $ac_func;
28218 #endif
28219 #ifdef __cplusplus
28220 }
28221 #endif
28222
28223 int
28224 main ()
28225 {
28226 return f != $ac_func;
28227   ;
28228   return 0;
28229 }
28230 _ACEOF
28231 rm -f conftest.$ac_objext conftest$ac_exeext
28232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28233   (eval $ac_link) 2>&5
28234   ac_status=$?
28235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236   (exit $ac_status); } &&
28237          { ac_try='test -s conftest$ac_exeext'
28238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239   (eval $ac_try) 2>&5
28240   ac_status=$?
28241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242   (exit $ac_status); }; }; then
28243   eval "$as_ac_var=yes"
28244 else
28245   echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.$ac_ext >&5
28247
28248 eval "$as_ac_var=no"
28249 fi
28250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28251 fi
28252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28254 if test `eval echo '${'$as_ac_var'}'` = yes; then
28255   cat >>confdefs.h <<_ACEOF
28256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28257 _ACEOF
28258
28259 fi
28260 done
28261
28262   else
28263
28264   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
28265 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
28266   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
28267     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
28268   echo $ECHO_N "(cached) $ECHO_C" >&6
28269 else
28270
28271
28272
28273       ac_ext=cc
28274 ac_cpp='$CXXCPP $CPPFLAGS'
28275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28278
28279       cat >conftest.$ac_ext <<_ACEOF
28280 #line $LINENO "configure"
28281 /* confdefs.h.  */
28282 _ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h.  */
28286 #include <math.h>
28287 int
28288 main ()
28289 {
28290  _copysign(0, 0);
28291   ;
28292   return 0;
28293 }
28294 _ACEOF
28295 rm -f conftest.$ac_objext
28296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28297   (eval $ac_compile) 2>&5
28298   ac_status=$?
28299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300   (exit $ac_status); } &&
28301          { ac_try='test -s conftest.$ac_objext'
28302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28303   (eval $ac_try) 2>&5
28304   ac_status=$?
28305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306   (exit $ac_status); }; }; then
28307   glibcxx_cv_func__copysign_use=yes
28308 else
28309   echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.$ac_ext >&5
28311
28312 glibcxx_cv_func__copysign_use=no
28313 fi
28314 rm -f conftest.$ac_objext conftest.$ac_ext
28315       ac_ext=c
28316 ac_cpp='$CPP $CPPFLAGS'
28317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28320
28321
28322 fi
28323
28324   fi
28325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
28326 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
28327
28328     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
28329
28330 for ac_func in _copysign
28331 do
28332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28333 echo "$as_me:$LINENO: checking for $ac_func" >&5
28334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28335 if eval "test \"\${$as_ac_var+set}\" = set"; then
28336   echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338   cat >conftest.$ac_ext <<_ACEOF
28339 #line $LINENO "configure"
28340 /* confdefs.h.  */
28341 _ACEOF
28342 cat confdefs.h >>conftest.$ac_ext
28343 cat >>conftest.$ac_ext <<_ACEOF
28344 /* end confdefs.h.  */
28345 /* System header to define __stub macros and hopefully few prototypes,
28346     which can conflict with char $ac_func (); below.
28347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28348     <limits.h> exists even on freestanding compilers.  */
28349 #ifdef __STDC__
28350 # include <limits.h>
28351 #else
28352 # include <assert.h>
28353 #endif
28354 /* Override any gcc2 internal prototype to avoid an error.  */
28355 #ifdef __cplusplus
28356 extern "C"
28357 {
28358 #endif
28359 /* We use char because int might match the return type of a gcc2
28360    builtin and then its argument prototype would still apply.  */
28361 char $ac_func ();
28362 /* The GNU C library defines this for functions which it implements
28363     to always fail with ENOSYS.  Some functions are actually named
28364     something starting with __ and the normal name is an alias.  */
28365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28366 choke me
28367 #else
28368 char (*f) () = $ac_func;
28369 #endif
28370 #ifdef __cplusplus
28371 }
28372 #endif
28373
28374 int
28375 main ()
28376 {
28377 return f != $ac_func;
28378   ;
28379   return 0;
28380 }
28381 _ACEOF
28382 rm -f conftest.$ac_objext conftest$ac_exeext
28383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28384   (eval $ac_link) 2>&5
28385   ac_status=$?
28386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387   (exit $ac_status); } &&
28388          { ac_try='test -s conftest$ac_exeext'
28389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390   (eval $ac_try) 2>&5
28391   ac_status=$?
28392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393   (exit $ac_status); }; }; then
28394   eval "$as_ac_var=yes"
28395 else
28396   echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28398
28399 eval "$as_ac_var=no"
28400 fi
28401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28402 fi
28403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28405 if test `eval echo '${'$as_ac_var'}'` = yes; then
28406   cat >>confdefs.h <<_ACEOF
28407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28408 _ACEOF
28409
28410 fi
28411 done
28412
28413     fi
28414   fi
28415
28416
28417
28418   echo "$as_me:$LINENO: checking for sincos declaration" >&5
28419 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
28420   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28421     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
28422   echo $ECHO_N "(cached) $ECHO_C" >&6
28423 else
28424
28425
28426
28427       ac_ext=cc
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28432
28433       cat >conftest.$ac_ext <<_ACEOF
28434 #line $LINENO "configure"
28435 /* confdefs.h.  */
28436 _ACEOF
28437 cat confdefs.h >>conftest.$ac_ext
28438 cat >>conftest.$ac_ext <<_ACEOF
28439 /* end confdefs.h.  */
28440 #include <math.h>
28441 int
28442 main ()
28443 {
28444  sincos(0, 0, 0);
28445   ;
28446   return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext
28450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28451   (eval $ac_compile) 2>&5
28452   ac_status=$?
28453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454   (exit $ac_status); } &&
28455          { ac_try='test -s conftest.$ac_objext'
28456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457   (eval $ac_try) 2>&5
28458   ac_status=$?
28459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460   (exit $ac_status); }; }; then
28461   glibcxx_cv_func_sincos_use=yes
28462 else
28463   echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28465
28466 glibcxx_cv_func_sincos_use=no
28467 fi
28468 rm -f conftest.$ac_objext conftest.$ac_ext
28469       ac_ext=c
28470 ac_cpp='$CPP $CPPFLAGS'
28471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28474
28475
28476 fi
28477
28478   fi
28479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
28480 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
28481
28482   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28483
28484 for ac_func in sincos
28485 do
28486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28487 echo "$as_me:$LINENO: checking for $ac_func" >&5
28488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28489 if eval "test \"\${$as_ac_var+set}\" = set"; then
28490   echo $ECHO_N "(cached) $ECHO_C" >&6
28491 else
28492   cat >conftest.$ac_ext <<_ACEOF
28493 #line $LINENO "configure"
28494 /* confdefs.h.  */
28495 _ACEOF
28496 cat confdefs.h >>conftest.$ac_ext
28497 cat >>conftest.$ac_ext <<_ACEOF
28498 /* end confdefs.h.  */
28499 /* System header to define __stub macros and hopefully few prototypes,
28500     which can conflict with char $ac_func (); below.
28501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28502     <limits.h> exists even on freestanding compilers.  */
28503 #ifdef __STDC__
28504 # include <limits.h>
28505 #else
28506 # include <assert.h>
28507 #endif
28508 /* Override any gcc2 internal prototype to avoid an error.  */
28509 #ifdef __cplusplus
28510 extern "C"
28511 {
28512 #endif
28513 /* We use char because int might match the return type of a gcc2
28514    builtin and then its argument prototype would still apply.  */
28515 char $ac_func ();
28516 /* The GNU C library defines this for functions which it implements
28517     to always fail with ENOSYS.  Some functions are actually named
28518     something starting with __ and the normal name is an alias.  */
28519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28520 choke me
28521 #else
28522 char (*f) () = $ac_func;
28523 #endif
28524 #ifdef __cplusplus
28525 }
28526 #endif
28527
28528 int
28529 main ()
28530 {
28531 return f != $ac_func;
28532   ;
28533   return 0;
28534 }
28535 _ACEOF
28536 rm -f conftest.$ac_objext conftest$ac_exeext
28537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538   (eval $ac_link) 2>&5
28539   ac_status=$?
28540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541   (exit $ac_status); } &&
28542          { ac_try='test -s conftest$ac_exeext'
28543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544   (eval $ac_try) 2>&5
28545   ac_status=$?
28546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547   (exit $ac_status); }; }; then
28548   eval "$as_ac_var=yes"
28549 else
28550   echo "$as_me: failed program was:" >&5
28551 sed 's/^/| /' conftest.$ac_ext >&5
28552
28553 eval "$as_ac_var=no"
28554 fi
28555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28556 fi
28557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28559 if test `eval echo '${'$as_ac_var'}'` = yes; then
28560   cat >>confdefs.h <<_ACEOF
28561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28562 _ACEOF
28563
28564 fi
28565 done
28566
28567   else
28568
28569   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
28570 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
28571   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28572     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
28573   echo $ECHO_N "(cached) $ECHO_C" >&6
28574 else
28575
28576
28577
28578       ac_ext=cc
28579 ac_cpp='$CXXCPP $CPPFLAGS'
28580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583
28584       cat >conftest.$ac_ext <<_ACEOF
28585 #line $LINENO "configure"
28586 /* confdefs.h.  */
28587 _ACEOF
28588 cat confdefs.h >>conftest.$ac_ext
28589 cat >>conftest.$ac_ext <<_ACEOF
28590 /* end confdefs.h.  */
28591 #include <math.h>
28592 int
28593 main ()
28594 {
28595  _sincos(0, 0, 0);
28596   ;
28597   return 0;
28598 }
28599 _ACEOF
28600 rm -f conftest.$ac_objext
28601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28602   (eval $ac_compile) 2>&5
28603   ac_status=$?
28604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605   (exit $ac_status); } &&
28606          { ac_try='test -s conftest.$ac_objext'
28607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28608   (eval $ac_try) 2>&5
28609   ac_status=$?
28610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611   (exit $ac_status); }; }; then
28612   glibcxx_cv_func__sincos_use=yes
28613 else
28614   echo "$as_me: failed program was:" >&5
28615 sed 's/^/| /' conftest.$ac_ext >&5
28616
28617 glibcxx_cv_func__sincos_use=no
28618 fi
28619 rm -f conftest.$ac_objext conftest.$ac_ext
28620       ac_ext=c
28621 ac_cpp='$CPP $CPPFLAGS'
28622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625
28626
28627 fi
28628
28629   fi
28630   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
28631 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
28632
28633     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28634
28635 for ac_func in _sincos
28636 do
28637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28638 echo "$as_me:$LINENO: checking for $ac_func" >&5
28639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28640 if eval "test \"\${$as_ac_var+set}\" = set"; then
28641   echo $ECHO_N "(cached) $ECHO_C" >&6
28642 else
28643   cat >conftest.$ac_ext <<_ACEOF
28644 #line $LINENO "configure"
28645 /* confdefs.h.  */
28646 _ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h.  */
28650 /* System header to define __stub macros and hopefully few prototypes,
28651     which can conflict with char $ac_func (); below.
28652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28653     <limits.h> exists even on freestanding compilers.  */
28654 #ifdef __STDC__
28655 # include <limits.h>
28656 #else
28657 # include <assert.h>
28658 #endif
28659 /* Override any gcc2 internal prototype to avoid an error.  */
28660 #ifdef __cplusplus
28661 extern "C"
28662 {
28663 #endif
28664 /* We use char because int might match the return type of a gcc2
28665    builtin and then its argument prototype would still apply.  */
28666 char $ac_func ();
28667 /* The GNU C library defines this for functions which it implements
28668     to always fail with ENOSYS.  Some functions are actually named
28669     something starting with __ and the normal name is an alias.  */
28670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28671 choke me
28672 #else
28673 char (*f) () = $ac_func;
28674 #endif
28675 #ifdef __cplusplus
28676 }
28677 #endif
28678
28679 int
28680 main ()
28681 {
28682 return f != $ac_func;
28683   ;
28684   return 0;
28685 }
28686 _ACEOF
28687 rm -f conftest.$ac_objext conftest$ac_exeext
28688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28689   (eval $ac_link) 2>&5
28690   ac_status=$?
28691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692   (exit $ac_status); } &&
28693          { ac_try='test -s conftest$ac_exeext'
28694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695   (eval $ac_try) 2>&5
28696   ac_status=$?
28697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698   (exit $ac_status); }; }; then
28699   eval "$as_ac_var=yes"
28700 else
28701   echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28703
28704 eval "$as_ac_var=no"
28705 fi
28706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28707 fi
28708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28710 if test `eval echo '${'$as_ac_var'}'` = yes; then
28711   cat >>confdefs.h <<_ACEOF
28712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28713 _ACEOF
28714
28715 fi
28716 done
28717
28718     fi
28719   fi
28720
28721
28722
28723   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
28724 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
28725   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28726     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
28727   echo $ECHO_N "(cached) $ECHO_C" >&6
28728 else
28729
28730
28731
28732       ac_ext=cc
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28737
28738       cat >conftest.$ac_ext <<_ACEOF
28739 #line $LINENO "configure"
28740 /* confdefs.h.  */
28741 _ACEOF
28742 cat confdefs.h >>conftest.$ac_ext
28743 cat >>conftest.$ac_ext <<_ACEOF
28744 /* end confdefs.h.  */
28745 #include <math.h>
28746                       #ifdef HAVE_IEEEFP_H
28747                       #include <ieeefp.h>
28748                       #endif
28749
28750 int
28751 main ()
28752 {
28753  fpclass(0);
28754   ;
28755   return 0;
28756 }
28757 _ACEOF
28758 rm -f conftest.$ac_objext
28759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28760   (eval $ac_compile) 2>&5
28761   ac_status=$?
28762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763   (exit $ac_status); } &&
28764          { ac_try='test -s conftest.$ac_objext'
28765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766   (eval $ac_try) 2>&5
28767   ac_status=$?
28768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769   (exit $ac_status); }; }; then
28770   glibcxx_cv_func_fpclass_use=yes
28771 else
28772   echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28774
28775 glibcxx_cv_func_fpclass_use=no
28776 fi
28777 rm -f conftest.$ac_objext conftest.$ac_ext
28778       ac_ext=c
28779 ac_cpp='$CPP $CPPFLAGS'
28780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28783
28784
28785 fi
28786
28787   fi
28788   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
28789 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
28790
28791   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28792
28793 for ac_func in fpclass
28794 do
28795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28796 echo "$as_me:$LINENO: checking for $ac_func" >&5
28797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28798 if eval "test \"\${$as_ac_var+set}\" = set"; then
28799   echo $ECHO_N "(cached) $ECHO_C" >&6
28800 else
28801   cat >conftest.$ac_ext <<_ACEOF
28802 #line $LINENO "configure"
28803 /* confdefs.h.  */
28804 _ACEOF
28805 cat confdefs.h >>conftest.$ac_ext
28806 cat >>conftest.$ac_ext <<_ACEOF
28807 /* end confdefs.h.  */
28808 /* System header to define __stub macros and hopefully few prototypes,
28809     which can conflict with char $ac_func (); below.
28810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28811     <limits.h> exists even on freestanding compilers.  */
28812 #ifdef __STDC__
28813 # include <limits.h>
28814 #else
28815 # include <assert.h>
28816 #endif
28817 /* Override any gcc2 internal prototype to avoid an error.  */
28818 #ifdef __cplusplus
28819 extern "C"
28820 {
28821 #endif
28822 /* We use char because int might match the return type of a gcc2
28823    builtin and then its argument prototype would still apply.  */
28824 char $ac_func ();
28825 /* The GNU C library defines this for functions which it implements
28826     to always fail with ENOSYS.  Some functions are actually named
28827     something starting with __ and the normal name is an alias.  */
28828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28829 choke me
28830 #else
28831 char (*f) () = $ac_func;
28832 #endif
28833 #ifdef __cplusplus
28834 }
28835 #endif
28836
28837 int
28838 main ()
28839 {
28840 return f != $ac_func;
28841   ;
28842   return 0;
28843 }
28844 _ACEOF
28845 rm -f conftest.$ac_objext conftest$ac_exeext
28846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28847   (eval $ac_link) 2>&5
28848   ac_status=$?
28849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850   (exit $ac_status); } &&
28851          { ac_try='test -s conftest$ac_exeext'
28852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853   (eval $ac_try) 2>&5
28854   ac_status=$?
28855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856   (exit $ac_status); }; }; then
28857   eval "$as_ac_var=yes"
28858 else
28859   echo "$as_me: failed program was:" >&5
28860 sed 's/^/| /' conftest.$ac_ext >&5
28861
28862 eval "$as_ac_var=no"
28863 fi
28864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28865 fi
28866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28868 if test `eval echo '${'$as_ac_var'}'` = yes; then
28869   cat >>confdefs.h <<_ACEOF
28870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28871 _ACEOF
28872
28873 fi
28874 done
28875
28876   else
28877
28878   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
28879 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
28880   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28881     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
28882   echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884
28885
28886
28887       ac_ext=cc
28888 ac_cpp='$CXXCPP $CPPFLAGS'
28889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28892
28893       cat >conftest.$ac_ext <<_ACEOF
28894 #line $LINENO "configure"
28895 /* confdefs.h.  */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h.  */
28900 #include <math.h>
28901                       #ifdef HAVE_IEEEFP_H
28902                       #include <ieeefp.h>
28903                       #endif
28904
28905 int
28906 main ()
28907 {
28908  _fpclass(0);
28909   ;
28910   return 0;
28911 }
28912 _ACEOF
28913 rm -f conftest.$ac_objext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28915   (eval $ac_compile) 2>&5
28916   ac_status=$?
28917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918   (exit $ac_status); } &&
28919          { ac_try='test -s conftest.$ac_objext'
28920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921   (eval $ac_try) 2>&5
28922   ac_status=$?
28923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924   (exit $ac_status); }; }; then
28925   glibcxx_cv_func__fpclass_use=yes
28926 else
28927   echo "$as_me: failed program was:" >&5
28928 sed 's/^/| /' conftest.$ac_ext >&5
28929
28930 glibcxx_cv_func__fpclass_use=no
28931 fi
28932 rm -f conftest.$ac_objext conftest.$ac_ext
28933       ac_ext=c
28934 ac_cpp='$CPP $CPPFLAGS'
28935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28938
28939
28940 fi
28941
28942   fi
28943   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
28944 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
28945
28946     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28947
28948 for ac_func in _fpclass
28949 do
28950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28951 echo "$as_me:$LINENO: checking for $ac_func" >&5
28952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28953 if eval "test \"\${$as_ac_var+set}\" = set"; then
28954   echo $ECHO_N "(cached) $ECHO_C" >&6
28955 else
28956   cat >conftest.$ac_ext <<_ACEOF
28957 #line $LINENO "configure"
28958 /* confdefs.h.  */
28959 _ACEOF
28960 cat confdefs.h >>conftest.$ac_ext
28961 cat >>conftest.$ac_ext <<_ACEOF
28962 /* end confdefs.h.  */
28963 /* System header to define __stub macros and hopefully few prototypes,
28964     which can conflict with char $ac_func (); below.
28965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28966     <limits.h> exists even on freestanding compilers.  */
28967 #ifdef __STDC__
28968 # include <limits.h>
28969 #else
28970 # include <assert.h>
28971 #endif
28972 /* Override any gcc2 internal prototype to avoid an error.  */
28973 #ifdef __cplusplus
28974 extern "C"
28975 {
28976 #endif
28977 /* We use char because int might match the return type of a gcc2
28978    builtin and then its argument prototype would still apply.  */
28979 char $ac_func ();
28980 /* The GNU C library defines this for functions which it implements
28981     to always fail with ENOSYS.  Some functions are actually named
28982     something starting with __ and the normal name is an alias.  */
28983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28984 choke me
28985 #else
28986 char (*f) () = $ac_func;
28987 #endif
28988 #ifdef __cplusplus
28989 }
28990 #endif
28991
28992 int
28993 main ()
28994 {
28995 return f != $ac_func;
28996   ;
28997   return 0;
28998 }
28999 _ACEOF
29000 rm -f conftest.$ac_objext conftest$ac_exeext
29001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29002   (eval $ac_link) 2>&5
29003   ac_status=$?
29004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005   (exit $ac_status); } &&
29006          { ac_try='test -s conftest$ac_exeext'
29007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29008   (eval $ac_try) 2>&5
29009   ac_status=$?
29010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011   (exit $ac_status); }; }; then
29012   eval "$as_ac_var=yes"
29013 else
29014   echo "$as_me: failed program was:" >&5
29015 sed 's/^/| /' conftest.$ac_ext >&5
29016
29017 eval "$as_ac_var=no"
29018 fi
29019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29020 fi
29021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29023 if test `eval echo '${'$as_ac_var'}'` = yes; then
29024   cat >>confdefs.h <<_ACEOF
29025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29026 _ACEOF
29027
29028 fi
29029 done
29030
29031     fi
29032   fi
29033
29034
29035
29036   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29037 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29038   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29039     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29040   echo $ECHO_N "(cached) $ECHO_C" >&6
29041 else
29042
29043
29044
29045       ac_ext=cc
29046 ac_cpp='$CXXCPP $CPPFLAGS'
29047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29050
29051       cat >conftest.$ac_ext <<_ACEOF
29052 #line $LINENO "configure"
29053 /* confdefs.h.  */
29054 _ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h.  */
29058 #include <math.h>
29059                       #ifdef HAVE_IEEEFP_H
29060                       #include <ieeefp.h>
29061                       #endif
29062
29063 int
29064 main ()
29065 {
29066  qfpclass(0);
29067   ;
29068   return 0;
29069 }
29070 _ACEOF
29071 rm -f conftest.$ac_objext
29072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29073   (eval $ac_compile) 2>&5
29074   ac_status=$?
29075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076   (exit $ac_status); } &&
29077          { ac_try='test -s conftest.$ac_objext'
29078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079   (eval $ac_try) 2>&5
29080   ac_status=$?
29081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082   (exit $ac_status); }; }; then
29083   glibcxx_cv_func_qfpclass_use=yes
29084 else
29085   echo "$as_me: failed program was:" >&5
29086 sed 's/^/| /' conftest.$ac_ext >&5
29087
29088 glibcxx_cv_func_qfpclass_use=no
29089 fi
29090 rm -f conftest.$ac_objext conftest.$ac_ext
29091       ac_ext=c
29092 ac_cpp='$CPP $CPPFLAGS'
29093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29096
29097
29098 fi
29099
29100   fi
29101   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29102 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29103
29104   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29105
29106 for ac_func in qfpclass
29107 do
29108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29109 echo "$as_me:$LINENO: checking for $ac_func" >&5
29110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29111 if eval "test \"\${$as_ac_var+set}\" = set"; then
29112   echo $ECHO_N "(cached) $ECHO_C" >&6
29113 else
29114   cat >conftest.$ac_ext <<_ACEOF
29115 #line $LINENO "configure"
29116 /* confdefs.h.  */
29117 _ACEOF
29118 cat confdefs.h >>conftest.$ac_ext
29119 cat >>conftest.$ac_ext <<_ACEOF
29120 /* end confdefs.h.  */
29121 /* System header to define __stub macros and hopefully few prototypes,
29122     which can conflict with char $ac_func (); below.
29123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29124     <limits.h> exists even on freestanding compilers.  */
29125 #ifdef __STDC__
29126 # include <limits.h>
29127 #else
29128 # include <assert.h>
29129 #endif
29130 /* Override any gcc2 internal prototype to avoid an error.  */
29131 #ifdef __cplusplus
29132 extern "C"
29133 {
29134 #endif
29135 /* We use char because int might match the return type of a gcc2
29136    builtin and then its argument prototype would still apply.  */
29137 char $ac_func ();
29138 /* The GNU C library defines this for functions which it implements
29139     to always fail with ENOSYS.  Some functions are actually named
29140     something starting with __ and the normal name is an alias.  */
29141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29142 choke me
29143 #else
29144 char (*f) () = $ac_func;
29145 #endif
29146 #ifdef __cplusplus
29147 }
29148 #endif
29149
29150 int
29151 main ()
29152 {
29153 return f != $ac_func;
29154   ;
29155   return 0;
29156 }
29157 _ACEOF
29158 rm -f conftest.$ac_objext conftest$ac_exeext
29159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29160   (eval $ac_link) 2>&5
29161   ac_status=$?
29162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163   (exit $ac_status); } &&
29164          { ac_try='test -s conftest$ac_exeext'
29165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166   (eval $ac_try) 2>&5
29167   ac_status=$?
29168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169   (exit $ac_status); }; }; then
29170   eval "$as_ac_var=yes"
29171 else
29172   echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29174
29175 eval "$as_ac_var=no"
29176 fi
29177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29178 fi
29179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29181 if test `eval echo '${'$as_ac_var'}'` = yes; then
29182   cat >>confdefs.h <<_ACEOF
29183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29184 _ACEOF
29185
29186 fi
29187 done
29188
29189   else
29190
29191   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
29192 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
29193   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29194     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
29195   echo $ECHO_N "(cached) $ECHO_C" >&6
29196 else
29197
29198
29199
29200       ac_ext=cc
29201 ac_cpp='$CXXCPP $CPPFLAGS'
29202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29205
29206       cat >conftest.$ac_ext <<_ACEOF
29207 #line $LINENO "configure"
29208 /* confdefs.h.  */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h.  */
29213 #include <math.h>
29214                       #ifdef HAVE_IEEEFP_H
29215                       #include <ieeefp.h>
29216                       #endif
29217
29218 int
29219 main ()
29220 {
29221  _qfpclass(0);
29222   ;
29223   return 0;
29224 }
29225 _ACEOF
29226 rm -f conftest.$ac_objext
29227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29228   (eval $ac_compile) 2>&5
29229   ac_status=$?
29230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231   (exit $ac_status); } &&
29232          { ac_try='test -s conftest.$ac_objext'
29233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29234   (eval $ac_try) 2>&5
29235   ac_status=$?
29236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237   (exit $ac_status); }; }; then
29238   glibcxx_cv_func__qfpclass_use=yes
29239 else
29240   echo "$as_me: failed program was:" >&5
29241 sed 's/^/| /' conftest.$ac_ext >&5
29242
29243 glibcxx_cv_func__qfpclass_use=no
29244 fi
29245 rm -f conftest.$ac_objext conftest.$ac_ext
29246       ac_ext=c
29247 ac_cpp='$CPP $CPPFLAGS'
29248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29251
29252
29253 fi
29254
29255   fi
29256   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
29257 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
29258
29259     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29260
29261 for ac_func in _qfpclass
29262 do
29263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29264 echo "$as_me:$LINENO: checking for $ac_func" >&5
29265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29266 if eval "test \"\${$as_ac_var+set}\" = set"; then
29267   echo $ECHO_N "(cached) $ECHO_C" >&6
29268 else
29269   cat >conftest.$ac_ext <<_ACEOF
29270 #line $LINENO "configure"
29271 /* confdefs.h.  */
29272 _ACEOF
29273 cat confdefs.h >>conftest.$ac_ext
29274 cat >>conftest.$ac_ext <<_ACEOF
29275 /* end confdefs.h.  */
29276 /* System header to define __stub macros and hopefully few prototypes,
29277     which can conflict with char $ac_func (); below.
29278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29279     <limits.h> exists even on freestanding compilers.  */
29280 #ifdef __STDC__
29281 # include <limits.h>
29282 #else
29283 # include <assert.h>
29284 #endif
29285 /* Override any gcc2 internal prototype to avoid an error.  */
29286 #ifdef __cplusplus
29287 extern "C"
29288 {
29289 #endif
29290 /* We use char because int might match the return type of a gcc2
29291    builtin and then its argument prototype would still apply.  */
29292 char $ac_func ();
29293 /* The GNU C library defines this for functions which it implements
29294     to always fail with ENOSYS.  Some functions are actually named
29295     something starting with __ and the normal name is an alias.  */
29296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29297 choke me
29298 #else
29299 char (*f) () = $ac_func;
29300 #endif
29301 #ifdef __cplusplus
29302 }
29303 #endif
29304
29305 int
29306 main ()
29307 {
29308 return f != $ac_func;
29309   ;
29310   return 0;
29311 }
29312 _ACEOF
29313 rm -f conftest.$ac_objext conftest$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315   (eval $ac_link) 2>&5
29316   ac_status=$?
29317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29318   (exit $ac_status); } &&
29319          { ac_try='test -s conftest$ac_exeext'
29320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29321   (eval $ac_try) 2>&5
29322   ac_status=$?
29323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324   (exit $ac_status); }; }; then
29325   eval "$as_ac_var=yes"
29326 else
29327   echo "$as_me: failed program was:" >&5
29328 sed 's/^/| /' conftest.$ac_ext >&5
29329
29330 eval "$as_ac_var=no"
29331 fi
29332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29333 fi
29334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29336 if test `eval echo '${'$as_ac_var'}'` = yes; then
29337   cat >>confdefs.h <<_ACEOF
29338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29339 _ACEOF
29340
29341 fi
29342 done
29343
29344     fi
29345   fi
29346
29347
29348
29349   echo "$as_me:$LINENO: checking for hypot declaration" >&5
29350 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
29351   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29352     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
29353   echo $ECHO_N "(cached) $ECHO_C" >&6
29354 else
29355
29356
29357
29358       ac_ext=cc
29359 ac_cpp='$CXXCPP $CPPFLAGS'
29360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29363
29364       cat >conftest.$ac_ext <<_ACEOF
29365 #line $LINENO "configure"
29366 /* confdefs.h.  */
29367 _ACEOF
29368 cat confdefs.h >>conftest.$ac_ext
29369 cat >>conftest.$ac_ext <<_ACEOF
29370 /* end confdefs.h.  */
29371 #include <math.h>
29372 int
29373 main ()
29374 {
29375  hypot(0, 0);
29376   ;
29377   return 0;
29378 }
29379 _ACEOF
29380 rm -f conftest.$ac_objext
29381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29382   (eval $ac_compile) 2>&5
29383   ac_status=$?
29384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385   (exit $ac_status); } &&
29386          { ac_try='test -s conftest.$ac_objext'
29387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388   (eval $ac_try) 2>&5
29389   ac_status=$?
29390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391   (exit $ac_status); }; }; then
29392   glibcxx_cv_func_hypot_use=yes
29393 else
29394   echo "$as_me: failed program was:" >&5
29395 sed 's/^/| /' conftest.$ac_ext >&5
29396
29397 glibcxx_cv_func_hypot_use=no
29398 fi
29399 rm -f conftest.$ac_objext conftest.$ac_ext
29400       ac_ext=c
29401 ac_cpp='$CPP $CPPFLAGS'
29402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29405
29406
29407 fi
29408
29409   fi
29410   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
29411 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
29412
29413   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29414
29415 for ac_func in hypot
29416 do
29417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29418 echo "$as_me:$LINENO: checking for $ac_func" >&5
29419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29420 if eval "test \"\${$as_ac_var+set}\" = set"; then
29421   echo $ECHO_N "(cached) $ECHO_C" >&6
29422 else
29423   cat >conftest.$ac_ext <<_ACEOF
29424 #line $LINENO "configure"
29425 /* confdefs.h.  */
29426 _ACEOF
29427 cat confdefs.h >>conftest.$ac_ext
29428 cat >>conftest.$ac_ext <<_ACEOF
29429 /* end confdefs.h.  */
29430 /* System header to define __stub macros and hopefully few prototypes,
29431     which can conflict with char $ac_func (); below.
29432     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29433     <limits.h> exists even on freestanding compilers.  */
29434 #ifdef __STDC__
29435 # include <limits.h>
29436 #else
29437 # include <assert.h>
29438 #endif
29439 /* Override any gcc2 internal prototype to avoid an error.  */
29440 #ifdef __cplusplus
29441 extern "C"
29442 {
29443 #endif
29444 /* We use char because int might match the return type of a gcc2
29445    builtin and then its argument prototype would still apply.  */
29446 char $ac_func ();
29447 /* The GNU C library defines this for functions which it implements
29448     to always fail with ENOSYS.  Some functions are actually named
29449     something starting with __ and the normal name is an alias.  */
29450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29451 choke me
29452 #else
29453 char (*f) () = $ac_func;
29454 #endif
29455 #ifdef __cplusplus
29456 }
29457 #endif
29458
29459 int
29460 main ()
29461 {
29462 return f != $ac_func;
29463   ;
29464   return 0;
29465 }
29466 _ACEOF
29467 rm -f conftest.$ac_objext conftest$ac_exeext
29468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29469   (eval $ac_link) 2>&5
29470   ac_status=$?
29471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472   (exit $ac_status); } &&
29473          { ac_try='test -s conftest$ac_exeext'
29474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475   (eval $ac_try) 2>&5
29476   ac_status=$?
29477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478   (exit $ac_status); }; }; then
29479   eval "$as_ac_var=yes"
29480 else
29481   echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.$ac_ext >&5
29483
29484 eval "$as_ac_var=no"
29485 fi
29486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29487 fi
29488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29490 if test `eval echo '${'$as_ac_var'}'` = yes; then
29491   cat >>confdefs.h <<_ACEOF
29492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29493 _ACEOF
29494
29495 fi
29496 done
29497
29498   else
29499
29500   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
29501 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
29502   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29503     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
29504   echo $ECHO_N "(cached) $ECHO_C" >&6
29505 else
29506
29507
29508
29509       ac_ext=cc
29510 ac_cpp='$CXXCPP $CPPFLAGS'
29511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29514
29515       cat >conftest.$ac_ext <<_ACEOF
29516 #line $LINENO "configure"
29517 /* confdefs.h.  */
29518 _ACEOF
29519 cat confdefs.h >>conftest.$ac_ext
29520 cat >>conftest.$ac_ext <<_ACEOF
29521 /* end confdefs.h.  */
29522 #include <math.h>
29523 int
29524 main ()
29525 {
29526  _hypot(0, 0);
29527   ;
29528   return 0;
29529 }
29530 _ACEOF
29531 rm -f conftest.$ac_objext
29532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29533   (eval $ac_compile) 2>&5
29534   ac_status=$?
29535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536   (exit $ac_status); } &&
29537          { ac_try='test -s conftest.$ac_objext'
29538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539   (eval $ac_try) 2>&5
29540   ac_status=$?
29541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542   (exit $ac_status); }; }; then
29543   glibcxx_cv_func__hypot_use=yes
29544 else
29545   echo "$as_me: failed program was:" >&5
29546 sed 's/^/| /' conftest.$ac_ext >&5
29547
29548 glibcxx_cv_func__hypot_use=no
29549 fi
29550 rm -f conftest.$ac_objext conftest.$ac_ext
29551       ac_ext=c
29552 ac_cpp='$CPP $CPPFLAGS'
29553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29556
29557
29558 fi
29559
29560   fi
29561   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
29562 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
29563
29564     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29565
29566 for ac_func in _hypot
29567 do
29568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29569 echo "$as_me:$LINENO: checking for $ac_func" >&5
29570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29571 if eval "test \"\${$as_ac_var+set}\" = set"; then
29572   echo $ECHO_N "(cached) $ECHO_C" >&6
29573 else
29574   cat >conftest.$ac_ext <<_ACEOF
29575 #line $LINENO "configure"
29576 /* confdefs.h.  */
29577 _ACEOF
29578 cat confdefs.h >>conftest.$ac_ext
29579 cat >>conftest.$ac_ext <<_ACEOF
29580 /* end confdefs.h.  */
29581 /* System header to define __stub macros and hopefully few prototypes,
29582     which can conflict with char $ac_func (); below.
29583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29584     <limits.h> exists even on freestanding compilers.  */
29585 #ifdef __STDC__
29586 # include <limits.h>
29587 #else
29588 # include <assert.h>
29589 #endif
29590 /* Override any gcc2 internal prototype to avoid an error.  */
29591 #ifdef __cplusplus
29592 extern "C"
29593 {
29594 #endif
29595 /* We use char because int might match the return type of a gcc2
29596    builtin and then its argument prototype would still apply.  */
29597 char $ac_func ();
29598 /* The GNU C library defines this for functions which it implements
29599     to always fail with ENOSYS.  Some functions are actually named
29600     something starting with __ and the normal name is an alias.  */
29601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29602 choke me
29603 #else
29604 char (*f) () = $ac_func;
29605 #endif
29606 #ifdef __cplusplus
29607 }
29608 #endif
29609
29610 int
29611 main ()
29612 {
29613 return f != $ac_func;
29614   ;
29615   return 0;
29616 }
29617 _ACEOF
29618 rm -f conftest.$ac_objext conftest$ac_exeext
29619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29620   (eval $ac_link) 2>&5
29621   ac_status=$?
29622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623   (exit $ac_status); } &&
29624          { ac_try='test -s conftest$ac_exeext'
29625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626   (eval $ac_try) 2>&5
29627   ac_status=$?
29628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629   (exit $ac_status); }; }; then
29630   eval "$as_ac_var=yes"
29631 else
29632   echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.$ac_ext >&5
29634
29635 eval "$as_ac_var=no"
29636 fi
29637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29638 fi
29639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29641 if test `eval echo '${'$as_ac_var'}'` = yes; then
29642   cat >>confdefs.h <<_ACEOF
29643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29644 _ACEOF
29645
29646 fi
29647 done
29648
29649     fi
29650   fi
29651
29652
29653
29654   echo "$as_me:$LINENO: checking for float trig functions" >&5
29655 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
29656   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
29657   echo $ECHO_N "(cached) $ECHO_C" >&6
29658 else
29659
29660
29661
29662     ac_ext=cc
29663 ac_cpp='$CXXCPP $CPPFLAGS'
29664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29667
29668     cat >conftest.$ac_ext <<_ACEOF
29669 #line $LINENO "configure"
29670 /* confdefs.h.  */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h.  */
29675 #include <math.h>
29676 int
29677 main ()
29678 {
29679  `for x in acosf asinf atanf \
29680                                           cosf sinf tanf \
29681                                           coshf sinhf tanhf; do echo "$x (0);"; done`
29682   ;
29683   return 0;
29684 }
29685 _ACEOF
29686 rm -f conftest.$ac_objext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29688   (eval $ac_compile) 2>&5
29689   ac_status=$?
29690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691   (exit $ac_status); } &&
29692          { ac_try='test -s conftest.$ac_objext'
29693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694   (eval $ac_try) 2>&5
29695   ac_status=$?
29696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697   (exit $ac_status); }; }; then
29698   glibcxx_cv_func_float_trig_use=yes
29699 else
29700   echo "$as_me: failed program was:" >&5
29701 sed 's/^/| /' conftest.$ac_ext >&5
29702
29703 glibcxx_cv_func_float_trig_use=no
29704 fi
29705 rm -f conftest.$ac_objext conftest.$ac_ext
29706     ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29711
29712 fi
29713
29714   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
29715 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
29716   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726 for ac_func in acosf asinf atanf \
29727                                           cosf sinf tanf \
29728                                           coshf sinhf tanhf
29729 do
29730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29731 echo "$as_me:$LINENO: checking for $ac_func" >&5
29732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29733 if eval "test \"\${$as_ac_var+set}\" = set"; then
29734   echo $ECHO_N "(cached) $ECHO_C" >&6
29735 else
29736   cat >conftest.$ac_ext <<_ACEOF
29737 #line $LINENO "configure"
29738 /* confdefs.h.  */
29739 _ACEOF
29740 cat confdefs.h >>conftest.$ac_ext
29741 cat >>conftest.$ac_ext <<_ACEOF
29742 /* end confdefs.h.  */
29743 /* System header to define __stub macros and hopefully few prototypes,
29744     which can conflict with char $ac_func (); below.
29745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29746     <limits.h> exists even on freestanding compilers.  */
29747 #ifdef __STDC__
29748 # include <limits.h>
29749 #else
29750 # include <assert.h>
29751 #endif
29752 /* Override any gcc2 internal prototype to avoid an error.  */
29753 #ifdef __cplusplus
29754 extern "C"
29755 {
29756 #endif
29757 /* We use char because int might match the return type of a gcc2
29758    builtin and then its argument prototype would still apply.  */
29759 char $ac_func ();
29760 /* The GNU C library defines this for functions which it implements
29761     to always fail with ENOSYS.  Some functions are actually named
29762     something starting with __ and the normal name is an alias.  */
29763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29764 choke me
29765 #else
29766 char (*f) () = $ac_func;
29767 #endif
29768 #ifdef __cplusplus
29769 }
29770 #endif
29771
29772 int
29773 main ()
29774 {
29775 return f != $ac_func;
29776   ;
29777   return 0;
29778 }
29779 _ACEOF
29780 rm -f conftest.$ac_objext conftest$ac_exeext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29782   (eval $ac_link) 2>&5
29783   ac_status=$?
29784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785   (exit $ac_status); } &&
29786          { ac_try='test -s conftest$ac_exeext'
29787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788   (eval $ac_try) 2>&5
29789   ac_status=$?
29790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791   (exit $ac_status); }; }; then
29792   eval "$as_ac_var=yes"
29793 else
29794   echo "$as_me: failed program was:" >&5
29795 sed 's/^/| /' conftest.$ac_ext >&5
29796
29797 eval "$as_ac_var=no"
29798 fi
29799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29800 fi
29801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29803 if test `eval echo '${'$as_ac_var'}'` = yes; then
29804   cat >>confdefs.h <<_ACEOF
29805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29806 _ACEOF
29807
29808 fi
29809 done
29810
29811   fi
29812
29813
29814   echo "$as_me:$LINENO: checking for float round functions" >&5
29815 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
29816   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
29817   echo $ECHO_N "(cached) $ECHO_C" >&6
29818 else
29819
29820
29821
29822     ac_ext=cc
29823 ac_cpp='$CXXCPP $CPPFLAGS'
29824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29827
29828     cat >conftest.$ac_ext <<_ACEOF
29829 #line $LINENO "configure"
29830 /* confdefs.h.  */
29831 _ACEOF
29832 cat confdefs.h >>conftest.$ac_ext
29833 cat >>conftest.$ac_ext <<_ACEOF
29834 /* end confdefs.h.  */
29835 #include <math.h>
29836 int
29837 main ()
29838 {
29839  `for x in ceilf floorf; do echo "$x (0);"; done`
29840   ;
29841   return 0;
29842 }
29843 _ACEOF
29844 rm -f conftest.$ac_objext
29845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29846   (eval $ac_compile) 2>&5
29847   ac_status=$?
29848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849   (exit $ac_status); } &&
29850          { ac_try='test -s conftest.$ac_objext'
29851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852   (eval $ac_try) 2>&5
29853   ac_status=$?
29854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855   (exit $ac_status); }; }; then
29856   glibcxx_cv_func_float_round_use=yes
29857 else
29858   echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29860
29861 glibcxx_cv_func_float_round_use=no
29862 fi
29863 rm -f conftest.$ac_objext conftest.$ac_ext
29864     ac_ext=c
29865 ac_cpp='$CPP $CPPFLAGS'
29866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29869
29870 fi
29871
29872   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
29873 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
29874   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29875
29876
29877 for ac_func in ceilf floorf
29878 do
29879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29880 echo "$as_me:$LINENO: checking for $ac_func" >&5
29881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29882 if eval "test \"\${$as_ac_var+set}\" = set"; then
29883   echo $ECHO_N "(cached) $ECHO_C" >&6
29884 else
29885   cat >conftest.$ac_ext <<_ACEOF
29886 #line $LINENO "configure"
29887 /* confdefs.h.  */
29888 _ACEOF
29889 cat confdefs.h >>conftest.$ac_ext
29890 cat >>conftest.$ac_ext <<_ACEOF
29891 /* end confdefs.h.  */
29892 /* System header to define __stub macros and hopefully few prototypes,
29893     which can conflict with char $ac_func (); below.
29894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29895     <limits.h> exists even on freestanding compilers.  */
29896 #ifdef __STDC__
29897 # include <limits.h>
29898 #else
29899 # include <assert.h>
29900 #endif
29901 /* Override any gcc2 internal prototype to avoid an error.  */
29902 #ifdef __cplusplus
29903 extern "C"
29904 {
29905 #endif
29906 /* We use char because int might match the return type of a gcc2
29907    builtin and then its argument prototype would still apply.  */
29908 char $ac_func ();
29909 /* The GNU C library defines this for functions which it implements
29910     to always fail with ENOSYS.  Some functions are actually named
29911     something starting with __ and the normal name is an alias.  */
29912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29913 choke me
29914 #else
29915 char (*f) () = $ac_func;
29916 #endif
29917 #ifdef __cplusplus
29918 }
29919 #endif
29920
29921 int
29922 main ()
29923 {
29924 return f != $ac_func;
29925   ;
29926   return 0;
29927 }
29928 _ACEOF
29929 rm -f conftest.$ac_objext conftest$ac_exeext
29930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29931   (eval $ac_link) 2>&5
29932   ac_status=$?
29933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934   (exit $ac_status); } &&
29935          { ac_try='test -s conftest$ac_exeext'
29936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29937   (eval $ac_try) 2>&5
29938   ac_status=$?
29939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940   (exit $ac_status); }; }; then
29941   eval "$as_ac_var=yes"
29942 else
29943   echo "$as_me: failed program was:" >&5
29944 sed 's/^/| /' conftest.$ac_ext >&5
29945
29946 eval "$as_ac_var=no"
29947 fi
29948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29949 fi
29950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29952 if test `eval echo '${'$as_ac_var'}'` = yes; then
29953   cat >>confdefs.h <<_ACEOF
29954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29955 _ACEOF
29956
29957 fi
29958 done
29959
29960   fi
29961
29962
29963
29964   echo "$as_me:$LINENO: checking for expf declaration" >&5
29965 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
29966   if test x${glibcxx_cv_func_expf_use+set} != xset; then
29967     if test "${glibcxx_cv_func_expf_use+set}" = set; then
29968   echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970
29971
29972
29973       ac_ext=cc
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29978
29979       cat >conftest.$ac_ext <<_ACEOF
29980 #line $LINENO "configure"
29981 /* confdefs.h.  */
29982 _ACEOF
29983 cat confdefs.h >>conftest.$ac_ext
29984 cat >>conftest.$ac_ext <<_ACEOF
29985 /* end confdefs.h.  */
29986 #include <math.h>
29987                       #ifdef HAVE_IEEEFP_H
29988                       #include <ieeefp.h>
29989                       #endif
29990
29991 int
29992 main ()
29993 {
29994  expf(0);
29995   ;
29996   return 0;
29997 }
29998 _ACEOF
29999 rm -f conftest.$ac_objext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30001   (eval $ac_compile) 2>&5
30002   ac_status=$?
30003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004   (exit $ac_status); } &&
30005          { ac_try='test -s conftest.$ac_objext'
30006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007   (eval $ac_try) 2>&5
30008   ac_status=$?
30009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010   (exit $ac_status); }; }; then
30011   glibcxx_cv_func_expf_use=yes
30012 else
30013   echo "$as_me: failed program was:" >&5
30014 sed 's/^/| /' conftest.$ac_ext >&5
30015
30016 glibcxx_cv_func_expf_use=no
30017 fi
30018 rm -f conftest.$ac_objext conftest.$ac_ext
30019       ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30024
30025
30026 fi
30027
30028   fi
30029   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30030 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30031
30032   if test x$glibcxx_cv_func_expf_use = x"yes"; then
30033
30034 for ac_func in expf
30035 do
30036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30037 echo "$as_me:$LINENO: checking for $ac_func" >&5
30038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30039 if eval "test \"\${$as_ac_var+set}\" = set"; then
30040   echo $ECHO_N "(cached) $ECHO_C" >&6
30041 else
30042   cat >conftest.$ac_ext <<_ACEOF
30043 #line $LINENO "configure"
30044 /* confdefs.h.  */
30045 _ACEOF
30046 cat confdefs.h >>conftest.$ac_ext
30047 cat >>conftest.$ac_ext <<_ACEOF
30048 /* end confdefs.h.  */
30049 /* System header to define __stub macros and hopefully few prototypes,
30050     which can conflict with char $ac_func (); below.
30051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30052     <limits.h> exists even on freestanding compilers.  */
30053 #ifdef __STDC__
30054 # include <limits.h>
30055 #else
30056 # include <assert.h>
30057 #endif
30058 /* Override any gcc2 internal prototype to avoid an error.  */
30059 #ifdef __cplusplus
30060 extern "C"
30061 {
30062 #endif
30063 /* We use char because int might match the return type of a gcc2
30064    builtin and then its argument prototype would still apply.  */
30065 char $ac_func ();
30066 /* The GNU C library defines this for functions which it implements
30067     to always fail with ENOSYS.  Some functions are actually named
30068     something starting with __ and the normal name is an alias.  */
30069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30070 choke me
30071 #else
30072 char (*f) () = $ac_func;
30073 #endif
30074 #ifdef __cplusplus
30075 }
30076 #endif
30077
30078 int
30079 main ()
30080 {
30081 return f != $ac_func;
30082   ;
30083   return 0;
30084 }
30085 _ACEOF
30086 rm -f conftest.$ac_objext conftest$ac_exeext
30087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30088   (eval $ac_link) 2>&5
30089   ac_status=$?
30090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091   (exit $ac_status); } &&
30092          { ac_try='test -s conftest$ac_exeext'
30093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094   (eval $ac_try) 2>&5
30095   ac_status=$?
30096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097   (exit $ac_status); }; }; then
30098   eval "$as_ac_var=yes"
30099 else
30100   echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30102
30103 eval "$as_ac_var=no"
30104 fi
30105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30106 fi
30107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30109 if test `eval echo '${'$as_ac_var'}'` = yes; then
30110   cat >>confdefs.h <<_ACEOF
30111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30112 _ACEOF
30113
30114 fi
30115 done
30116
30117   else
30118
30119   echo "$as_me:$LINENO: checking for _expf declaration" >&5
30120 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30121   if test x${glibcxx_cv_func__expf_use+set} != xset; then
30122     if test "${glibcxx_cv_func__expf_use+set}" = set; then
30123   echo $ECHO_N "(cached) $ECHO_C" >&6
30124 else
30125
30126
30127
30128       ac_ext=cc
30129 ac_cpp='$CXXCPP $CPPFLAGS'
30130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30133
30134       cat >conftest.$ac_ext <<_ACEOF
30135 #line $LINENO "configure"
30136 /* confdefs.h.  */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h.  */
30141 #include <math.h>
30142                       #ifdef HAVE_IEEEFP_H
30143                       #include <ieeefp.h>
30144                       #endif
30145
30146 int
30147 main ()
30148 {
30149  _expf(0);
30150   ;
30151   return 0;
30152 }
30153 _ACEOF
30154 rm -f conftest.$ac_objext
30155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30156   (eval $ac_compile) 2>&5
30157   ac_status=$?
30158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159   (exit $ac_status); } &&
30160          { ac_try='test -s conftest.$ac_objext'
30161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162   (eval $ac_try) 2>&5
30163   ac_status=$?
30164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165   (exit $ac_status); }; }; then
30166   glibcxx_cv_func__expf_use=yes
30167 else
30168   echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30170
30171 glibcxx_cv_func__expf_use=no
30172 fi
30173 rm -f conftest.$ac_objext conftest.$ac_ext
30174       ac_ext=c
30175 ac_cpp='$CPP $CPPFLAGS'
30176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30179
30180
30181 fi
30182
30183   fi
30184   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
30185 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
30186
30187     if test x$glibcxx_cv_func__expf_use = x"yes"; then
30188
30189 for ac_func in _expf
30190 do
30191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30192 echo "$as_me:$LINENO: checking for $ac_func" >&5
30193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30194 if eval "test \"\${$as_ac_var+set}\" = set"; then
30195   echo $ECHO_N "(cached) $ECHO_C" >&6
30196 else
30197   cat >conftest.$ac_ext <<_ACEOF
30198 #line $LINENO "configure"
30199 /* confdefs.h.  */
30200 _ACEOF
30201 cat confdefs.h >>conftest.$ac_ext
30202 cat >>conftest.$ac_ext <<_ACEOF
30203 /* end confdefs.h.  */
30204 /* System header to define __stub macros and hopefully few prototypes,
30205     which can conflict with char $ac_func (); below.
30206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30207     <limits.h> exists even on freestanding compilers.  */
30208 #ifdef __STDC__
30209 # include <limits.h>
30210 #else
30211 # include <assert.h>
30212 #endif
30213 /* Override any gcc2 internal prototype to avoid an error.  */
30214 #ifdef __cplusplus
30215 extern "C"
30216 {
30217 #endif
30218 /* We use char because int might match the return type of a gcc2
30219    builtin and then its argument prototype would still apply.  */
30220 char $ac_func ();
30221 /* The GNU C library defines this for functions which it implements
30222     to always fail with ENOSYS.  Some functions are actually named
30223     something starting with __ and the normal name is an alias.  */
30224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30225 choke me
30226 #else
30227 char (*f) () = $ac_func;
30228 #endif
30229 #ifdef __cplusplus
30230 }
30231 #endif
30232
30233 int
30234 main ()
30235 {
30236 return f != $ac_func;
30237   ;
30238   return 0;
30239 }
30240 _ACEOF
30241 rm -f conftest.$ac_objext conftest$ac_exeext
30242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30243   (eval $ac_link) 2>&5
30244   ac_status=$?
30245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246   (exit $ac_status); } &&
30247          { ac_try='test -s conftest$ac_exeext'
30248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30249   (eval $ac_try) 2>&5
30250   ac_status=$?
30251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252   (exit $ac_status); }; }; then
30253   eval "$as_ac_var=yes"
30254 else
30255   echo "$as_me: failed program was:" >&5
30256 sed 's/^/| /' conftest.$ac_ext >&5
30257
30258 eval "$as_ac_var=no"
30259 fi
30260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30261 fi
30262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30264 if test `eval echo '${'$as_ac_var'}'` = yes; then
30265   cat >>confdefs.h <<_ACEOF
30266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30267 _ACEOF
30268
30269 fi
30270 done
30271
30272     fi
30273   fi
30274
30275
30276
30277   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
30278 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
30279   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30280     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
30281   echo $ECHO_N "(cached) $ECHO_C" >&6
30282 else
30283
30284
30285
30286       ac_ext=cc
30287 ac_cpp='$CXXCPP $CPPFLAGS'
30288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30291
30292       cat >conftest.$ac_ext <<_ACEOF
30293 #line $LINENO "configure"
30294 /* confdefs.h.  */
30295 _ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h.  */
30299 #include <math.h>
30300                       #ifdef HAVE_IEEEFP_H
30301                       #include <ieeefp.h>
30302                       #endif
30303
30304 int
30305 main ()
30306 {
30307  isnanf(0);
30308   ;
30309   return 0;
30310 }
30311 _ACEOF
30312 rm -f conftest.$ac_objext
30313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30314   (eval $ac_compile) 2>&5
30315   ac_status=$?
30316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317   (exit $ac_status); } &&
30318          { ac_try='test -s conftest.$ac_objext'
30319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30320   (eval $ac_try) 2>&5
30321   ac_status=$?
30322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323   (exit $ac_status); }; }; then
30324   glibcxx_cv_func_isnanf_use=yes
30325 else
30326   echo "$as_me: failed program was:" >&5
30327 sed 's/^/| /' conftest.$ac_ext >&5
30328
30329 glibcxx_cv_func_isnanf_use=no
30330 fi
30331 rm -f conftest.$ac_objext conftest.$ac_ext
30332       ac_ext=c
30333 ac_cpp='$CPP $CPPFLAGS'
30334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30337
30338
30339 fi
30340
30341   fi
30342   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
30343 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
30344
30345   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30346
30347 for ac_func in isnanf
30348 do
30349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30350 echo "$as_me:$LINENO: checking for $ac_func" >&5
30351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30352 if eval "test \"\${$as_ac_var+set}\" = set"; then
30353   echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355   cat >conftest.$ac_ext <<_ACEOF
30356 #line $LINENO "configure"
30357 /* confdefs.h.  */
30358 _ACEOF
30359 cat confdefs.h >>conftest.$ac_ext
30360 cat >>conftest.$ac_ext <<_ACEOF
30361 /* end confdefs.h.  */
30362 /* System header to define __stub macros and hopefully few prototypes,
30363     which can conflict with char $ac_func (); below.
30364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30365     <limits.h> exists even on freestanding compilers.  */
30366 #ifdef __STDC__
30367 # include <limits.h>
30368 #else
30369 # include <assert.h>
30370 #endif
30371 /* Override any gcc2 internal prototype to avoid an error.  */
30372 #ifdef __cplusplus
30373 extern "C"
30374 {
30375 #endif
30376 /* We use char because int might match the return type of a gcc2
30377    builtin and then its argument prototype would still apply.  */
30378 char $ac_func ();
30379 /* The GNU C library defines this for functions which it implements
30380     to always fail with ENOSYS.  Some functions are actually named
30381     something starting with __ and the normal name is an alias.  */
30382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30383 choke me
30384 #else
30385 char (*f) () = $ac_func;
30386 #endif
30387 #ifdef __cplusplus
30388 }
30389 #endif
30390
30391 int
30392 main ()
30393 {
30394 return f != $ac_func;
30395   ;
30396   return 0;
30397 }
30398 _ACEOF
30399 rm -f conftest.$ac_objext conftest$ac_exeext
30400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30401   (eval $ac_link) 2>&5
30402   ac_status=$?
30403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404   (exit $ac_status); } &&
30405          { ac_try='test -s conftest$ac_exeext'
30406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30407   (eval $ac_try) 2>&5
30408   ac_status=$?
30409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410   (exit $ac_status); }; }; then
30411   eval "$as_ac_var=yes"
30412 else
30413   echo "$as_me: failed program was:" >&5
30414 sed 's/^/| /' conftest.$ac_ext >&5
30415
30416 eval "$as_ac_var=no"
30417 fi
30418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30419 fi
30420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30422 if test `eval echo '${'$as_ac_var'}'` = yes; then
30423   cat >>confdefs.h <<_ACEOF
30424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30425 _ACEOF
30426
30427 fi
30428 done
30429
30430   else
30431
30432   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
30433 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
30434   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30435     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
30436   echo $ECHO_N "(cached) $ECHO_C" >&6
30437 else
30438
30439
30440
30441       ac_ext=cc
30442 ac_cpp='$CXXCPP $CPPFLAGS'
30443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30446
30447       cat >conftest.$ac_ext <<_ACEOF
30448 #line $LINENO "configure"
30449 /* confdefs.h.  */
30450 _ACEOF
30451 cat confdefs.h >>conftest.$ac_ext
30452 cat >>conftest.$ac_ext <<_ACEOF
30453 /* end confdefs.h.  */
30454 #include <math.h>
30455                       #ifdef HAVE_IEEEFP_H
30456                       #include <ieeefp.h>
30457                       #endif
30458
30459 int
30460 main ()
30461 {
30462  _isnanf(0);
30463   ;
30464   return 0;
30465 }
30466 _ACEOF
30467 rm -f conftest.$ac_objext
30468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30469   (eval $ac_compile) 2>&5
30470   ac_status=$?
30471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472   (exit $ac_status); } &&
30473          { ac_try='test -s conftest.$ac_objext'
30474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30475   (eval $ac_try) 2>&5
30476   ac_status=$?
30477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478   (exit $ac_status); }; }; then
30479   glibcxx_cv_func__isnanf_use=yes
30480 else
30481   echo "$as_me: failed program was:" >&5
30482 sed 's/^/| /' conftest.$ac_ext >&5
30483
30484 glibcxx_cv_func__isnanf_use=no
30485 fi
30486 rm -f conftest.$ac_objext conftest.$ac_ext
30487       ac_ext=c
30488 ac_cpp='$CPP $CPPFLAGS'
30489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30492
30493
30494 fi
30495
30496   fi
30497   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
30498 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
30499
30500     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30501
30502 for ac_func in _isnanf
30503 do
30504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30505 echo "$as_me:$LINENO: checking for $ac_func" >&5
30506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30507 if eval "test \"\${$as_ac_var+set}\" = set"; then
30508   echo $ECHO_N "(cached) $ECHO_C" >&6
30509 else
30510   cat >conftest.$ac_ext <<_ACEOF
30511 #line $LINENO "configure"
30512 /* confdefs.h.  */
30513 _ACEOF
30514 cat confdefs.h >>conftest.$ac_ext
30515 cat >>conftest.$ac_ext <<_ACEOF
30516 /* end confdefs.h.  */
30517 /* System header to define __stub macros and hopefully few prototypes,
30518     which can conflict with char $ac_func (); below.
30519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30520     <limits.h> exists even on freestanding compilers.  */
30521 #ifdef __STDC__
30522 # include <limits.h>
30523 #else
30524 # include <assert.h>
30525 #endif
30526 /* Override any gcc2 internal prototype to avoid an error.  */
30527 #ifdef __cplusplus
30528 extern "C"
30529 {
30530 #endif
30531 /* We use char because int might match the return type of a gcc2
30532    builtin and then its argument prototype would still apply.  */
30533 char $ac_func ();
30534 /* The GNU C library defines this for functions which it implements
30535     to always fail with ENOSYS.  Some functions are actually named
30536     something starting with __ and the normal name is an alias.  */
30537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30538 choke me
30539 #else
30540 char (*f) () = $ac_func;
30541 #endif
30542 #ifdef __cplusplus
30543 }
30544 #endif
30545
30546 int
30547 main ()
30548 {
30549 return f != $ac_func;
30550   ;
30551   return 0;
30552 }
30553 _ACEOF
30554 rm -f conftest.$ac_objext conftest$ac_exeext
30555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30556   (eval $ac_link) 2>&5
30557   ac_status=$?
30558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559   (exit $ac_status); } &&
30560          { ac_try='test -s conftest$ac_exeext'
30561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562   (eval $ac_try) 2>&5
30563   ac_status=$?
30564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565   (exit $ac_status); }; }; then
30566   eval "$as_ac_var=yes"
30567 else
30568   echo "$as_me: failed program was:" >&5
30569 sed 's/^/| /' conftest.$ac_ext >&5
30570
30571 eval "$as_ac_var=no"
30572 fi
30573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30574 fi
30575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30577 if test `eval echo '${'$as_ac_var'}'` = yes; then
30578   cat >>confdefs.h <<_ACEOF
30579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30580 _ACEOF
30581
30582 fi
30583 done
30584
30585     fi
30586   fi
30587
30588
30589
30590   echo "$as_me:$LINENO: checking for isinff declaration" >&5
30591 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
30592   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30593     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
30594   echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596
30597
30598
30599       ac_ext=cc
30600 ac_cpp='$CXXCPP $CPPFLAGS'
30601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30604
30605       cat >conftest.$ac_ext <<_ACEOF
30606 #line $LINENO "configure"
30607 /* confdefs.h.  */
30608 _ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h.  */
30612 #include <math.h>
30613                       #ifdef HAVE_IEEEFP_H
30614                       #include <ieeefp.h>
30615                       #endif
30616
30617 int
30618 main ()
30619 {
30620  isinff(0);
30621   ;
30622   return 0;
30623 }
30624 _ACEOF
30625 rm -f conftest.$ac_objext
30626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30627   (eval $ac_compile) 2>&5
30628   ac_status=$?
30629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630   (exit $ac_status); } &&
30631          { ac_try='test -s conftest.$ac_objext'
30632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633   (eval $ac_try) 2>&5
30634   ac_status=$?
30635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636   (exit $ac_status); }; }; then
30637   glibcxx_cv_func_isinff_use=yes
30638 else
30639   echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30641
30642 glibcxx_cv_func_isinff_use=no
30643 fi
30644 rm -f conftest.$ac_objext conftest.$ac_ext
30645       ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650
30651
30652 fi
30653
30654   fi
30655   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
30656 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
30657
30658   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30659
30660 for ac_func in isinff
30661 do
30662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30663 echo "$as_me:$LINENO: checking for $ac_func" >&5
30664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30665 if eval "test \"\${$as_ac_var+set}\" = set"; then
30666   echo $ECHO_N "(cached) $ECHO_C" >&6
30667 else
30668   cat >conftest.$ac_ext <<_ACEOF
30669 #line $LINENO "configure"
30670 /* confdefs.h.  */
30671 _ACEOF
30672 cat confdefs.h >>conftest.$ac_ext
30673 cat >>conftest.$ac_ext <<_ACEOF
30674 /* end confdefs.h.  */
30675 /* System header to define __stub macros and hopefully few prototypes,
30676     which can conflict with char $ac_func (); below.
30677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30678     <limits.h> exists even on freestanding compilers.  */
30679 #ifdef __STDC__
30680 # include <limits.h>
30681 #else
30682 # include <assert.h>
30683 #endif
30684 /* Override any gcc2 internal prototype to avoid an error.  */
30685 #ifdef __cplusplus
30686 extern "C"
30687 {
30688 #endif
30689 /* We use char because int might match the return type of a gcc2
30690    builtin and then its argument prototype would still apply.  */
30691 char $ac_func ();
30692 /* The GNU C library defines this for functions which it implements
30693     to always fail with ENOSYS.  Some functions are actually named
30694     something starting with __ and the normal name is an alias.  */
30695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30696 choke me
30697 #else
30698 char (*f) () = $ac_func;
30699 #endif
30700 #ifdef __cplusplus
30701 }
30702 #endif
30703
30704 int
30705 main ()
30706 {
30707 return f != $ac_func;
30708   ;
30709   return 0;
30710 }
30711 _ACEOF
30712 rm -f conftest.$ac_objext conftest$ac_exeext
30713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30714   (eval $ac_link) 2>&5
30715   ac_status=$?
30716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717   (exit $ac_status); } &&
30718          { ac_try='test -s conftest$ac_exeext'
30719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30720   (eval $ac_try) 2>&5
30721   ac_status=$?
30722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30723   (exit $ac_status); }; }; then
30724   eval "$as_ac_var=yes"
30725 else
30726   echo "$as_me: failed program was:" >&5
30727 sed 's/^/| /' conftest.$ac_ext >&5
30728
30729 eval "$as_ac_var=no"
30730 fi
30731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30732 fi
30733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30735 if test `eval echo '${'$as_ac_var'}'` = yes; then
30736   cat >>confdefs.h <<_ACEOF
30737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30738 _ACEOF
30739
30740 fi
30741 done
30742
30743   else
30744
30745   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
30746 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
30747   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30748     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
30749   echo $ECHO_N "(cached) $ECHO_C" >&6
30750 else
30751
30752
30753
30754       ac_ext=cc
30755 ac_cpp='$CXXCPP $CPPFLAGS'
30756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30759
30760       cat >conftest.$ac_ext <<_ACEOF
30761 #line $LINENO "configure"
30762 /* confdefs.h.  */
30763 _ACEOF
30764 cat confdefs.h >>conftest.$ac_ext
30765 cat >>conftest.$ac_ext <<_ACEOF
30766 /* end confdefs.h.  */
30767 #include <math.h>
30768                       #ifdef HAVE_IEEEFP_H
30769                       #include <ieeefp.h>
30770                       #endif
30771
30772 int
30773 main ()
30774 {
30775  _isinff(0);
30776   ;
30777   return 0;
30778 }
30779 _ACEOF
30780 rm -f conftest.$ac_objext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30782   (eval $ac_compile) 2>&5
30783   ac_status=$?
30784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785   (exit $ac_status); } &&
30786          { ac_try='test -s conftest.$ac_objext'
30787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788   (eval $ac_try) 2>&5
30789   ac_status=$?
30790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791   (exit $ac_status); }; }; then
30792   glibcxx_cv_func__isinff_use=yes
30793 else
30794   echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.$ac_ext >&5
30796
30797 glibcxx_cv_func__isinff_use=no
30798 fi
30799 rm -f conftest.$ac_objext conftest.$ac_ext
30800       ac_ext=c
30801 ac_cpp='$CPP $CPPFLAGS'
30802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30805
30806
30807 fi
30808
30809   fi
30810   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
30811 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
30812
30813     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30814
30815 for ac_func in _isinff
30816 do
30817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30818 echo "$as_me:$LINENO: checking for $ac_func" >&5
30819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30820 if eval "test \"\${$as_ac_var+set}\" = set"; then
30821   echo $ECHO_N "(cached) $ECHO_C" >&6
30822 else
30823   cat >conftest.$ac_ext <<_ACEOF
30824 #line $LINENO "configure"
30825 /* confdefs.h.  */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h.  */
30830 /* System header to define __stub macros and hopefully few prototypes,
30831     which can conflict with char $ac_func (); below.
30832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30833     <limits.h> exists even on freestanding compilers.  */
30834 #ifdef __STDC__
30835 # include <limits.h>
30836 #else
30837 # include <assert.h>
30838 #endif
30839 /* Override any gcc2 internal prototype to avoid an error.  */
30840 #ifdef __cplusplus
30841 extern "C"
30842 {
30843 #endif
30844 /* We use char because int might match the return type of a gcc2
30845    builtin and then its argument prototype would still apply.  */
30846 char $ac_func ();
30847 /* The GNU C library defines this for functions which it implements
30848     to always fail with ENOSYS.  Some functions are actually named
30849     something starting with __ and the normal name is an alias.  */
30850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30851 choke me
30852 #else
30853 char (*f) () = $ac_func;
30854 #endif
30855 #ifdef __cplusplus
30856 }
30857 #endif
30858
30859 int
30860 main ()
30861 {
30862 return f != $ac_func;
30863   ;
30864   return 0;
30865 }
30866 _ACEOF
30867 rm -f conftest.$ac_objext conftest$ac_exeext
30868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30869   (eval $ac_link) 2>&5
30870   ac_status=$?
30871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872   (exit $ac_status); } &&
30873          { ac_try='test -s conftest$ac_exeext'
30874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30875   (eval $ac_try) 2>&5
30876   ac_status=$?
30877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878   (exit $ac_status); }; }; then
30879   eval "$as_ac_var=yes"
30880 else
30881   echo "$as_me: failed program was:" >&5
30882 sed 's/^/| /' conftest.$ac_ext >&5
30883
30884 eval "$as_ac_var=no"
30885 fi
30886 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30887 fi
30888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30890 if test `eval echo '${'$as_ac_var'}'` = yes; then
30891   cat >>confdefs.h <<_ACEOF
30892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30893 _ACEOF
30894
30895 fi
30896 done
30897
30898     fi
30899   fi
30900
30901
30902
30903   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
30904 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
30905   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30906     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
30907   echo $ECHO_N "(cached) $ECHO_C" >&6
30908 else
30909
30910
30911
30912       ac_ext=cc
30913 ac_cpp='$CXXCPP $CPPFLAGS'
30914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30917
30918       cat >conftest.$ac_ext <<_ACEOF
30919 #line $LINENO "configure"
30920 /* confdefs.h.  */
30921 _ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h.  */
30925 #include <math.h>
30926 int
30927 main ()
30928 {
30929  atan2f(0, 0);
30930   ;
30931   return 0;
30932 }
30933 _ACEOF
30934 rm -f conftest.$ac_objext
30935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30936   (eval $ac_compile) 2>&5
30937   ac_status=$?
30938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939   (exit $ac_status); } &&
30940          { ac_try='test -s conftest.$ac_objext'
30941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942   (eval $ac_try) 2>&5
30943   ac_status=$?
30944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945   (exit $ac_status); }; }; then
30946   glibcxx_cv_func_atan2f_use=yes
30947 else
30948   echo "$as_me: failed program was:" >&5
30949 sed 's/^/| /' conftest.$ac_ext >&5
30950
30951 glibcxx_cv_func_atan2f_use=no
30952 fi
30953 rm -f conftest.$ac_objext conftest.$ac_ext
30954       ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959
30960
30961 fi
30962
30963   fi
30964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
30965 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
30966
30967   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30968
30969 for ac_func in atan2f
30970 do
30971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30972 echo "$as_me:$LINENO: checking for $ac_func" >&5
30973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30974 if eval "test \"\${$as_ac_var+set}\" = set"; then
30975   echo $ECHO_N "(cached) $ECHO_C" >&6
30976 else
30977   cat >conftest.$ac_ext <<_ACEOF
30978 #line $LINENO "configure"
30979 /* confdefs.h.  */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h.  */
30984 /* System header to define __stub macros and hopefully few prototypes,
30985     which can conflict with char $ac_func (); below.
30986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30987     <limits.h> exists even on freestanding compilers.  */
30988 #ifdef __STDC__
30989 # include <limits.h>
30990 #else
30991 # include <assert.h>
30992 #endif
30993 /* Override any gcc2 internal prototype to avoid an error.  */
30994 #ifdef __cplusplus
30995 extern "C"
30996 {
30997 #endif
30998 /* We use char because int might match the return type of a gcc2
30999    builtin and then its argument prototype would still apply.  */
31000 char $ac_func ();
31001 /* The GNU C library defines this for functions which it implements
31002     to always fail with ENOSYS.  Some functions are actually named
31003     something starting with __ and the normal name is an alias.  */
31004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31005 choke me
31006 #else
31007 char (*f) () = $ac_func;
31008 #endif
31009 #ifdef __cplusplus
31010 }
31011 #endif
31012
31013 int
31014 main ()
31015 {
31016 return f != $ac_func;
31017   ;
31018   return 0;
31019 }
31020 _ACEOF
31021 rm -f conftest.$ac_objext conftest$ac_exeext
31022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31023   (eval $ac_link) 2>&5
31024   ac_status=$?
31025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026   (exit $ac_status); } &&
31027          { ac_try='test -s conftest$ac_exeext'
31028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029   (eval $ac_try) 2>&5
31030   ac_status=$?
31031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032   (exit $ac_status); }; }; then
31033   eval "$as_ac_var=yes"
31034 else
31035   echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.$ac_ext >&5
31037
31038 eval "$as_ac_var=no"
31039 fi
31040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31041 fi
31042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31044 if test `eval echo '${'$as_ac_var'}'` = yes; then
31045   cat >>confdefs.h <<_ACEOF
31046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31047 _ACEOF
31048
31049 fi
31050 done
31051
31052   else
31053
31054   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31055 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31056   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31057     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31058   echo $ECHO_N "(cached) $ECHO_C" >&6
31059 else
31060
31061
31062
31063       ac_ext=cc
31064 ac_cpp='$CXXCPP $CPPFLAGS'
31065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31068
31069       cat >conftest.$ac_ext <<_ACEOF
31070 #line $LINENO "configure"
31071 /* confdefs.h.  */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h.  */
31076 #include <math.h>
31077 int
31078 main ()
31079 {
31080  _atan2f(0, 0);
31081   ;
31082   return 0;
31083 }
31084 _ACEOF
31085 rm -f conftest.$ac_objext
31086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31087   (eval $ac_compile) 2>&5
31088   ac_status=$?
31089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090   (exit $ac_status); } &&
31091          { ac_try='test -s conftest.$ac_objext'
31092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31093   (eval $ac_try) 2>&5
31094   ac_status=$?
31095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096   (exit $ac_status); }; }; then
31097   glibcxx_cv_func__atan2f_use=yes
31098 else
31099   echo "$as_me: failed program was:" >&5
31100 sed 's/^/| /' conftest.$ac_ext >&5
31101
31102 glibcxx_cv_func__atan2f_use=no
31103 fi
31104 rm -f conftest.$ac_objext conftest.$ac_ext
31105       ac_ext=c
31106 ac_cpp='$CPP $CPPFLAGS'
31107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31110
31111
31112 fi
31113
31114   fi
31115   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31116 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31117
31118     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31119
31120 for ac_func in _atan2f
31121 do
31122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31123 echo "$as_me:$LINENO: checking for $ac_func" >&5
31124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31125 if eval "test \"\${$as_ac_var+set}\" = set"; then
31126   echo $ECHO_N "(cached) $ECHO_C" >&6
31127 else
31128   cat >conftest.$ac_ext <<_ACEOF
31129 #line $LINENO "configure"
31130 /* confdefs.h.  */
31131 _ACEOF
31132 cat confdefs.h >>conftest.$ac_ext
31133 cat >>conftest.$ac_ext <<_ACEOF
31134 /* end confdefs.h.  */
31135 /* System header to define __stub macros and hopefully few prototypes,
31136     which can conflict with char $ac_func (); below.
31137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31138     <limits.h> exists even on freestanding compilers.  */
31139 #ifdef __STDC__
31140 # include <limits.h>
31141 #else
31142 # include <assert.h>
31143 #endif
31144 /* Override any gcc2 internal prototype to avoid an error.  */
31145 #ifdef __cplusplus
31146 extern "C"
31147 {
31148 #endif
31149 /* We use char because int might match the return type of a gcc2
31150    builtin and then its argument prototype would still apply.  */
31151 char $ac_func ();
31152 /* The GNU C library defines this for functions which it implements
31153     to always fail with ENOSYS.  Some functions are actually named
31154     something starting with __ and the normal name is an alias.  */
31155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31156 choke me
31157 #else
31158 char (*f) () = $ac_func;
31159 #endif
31160 #ifdef __cplusplus
31161 }
31162 #endif
31163
31164 int
31165 main ()
31166 {
31167 return f != $ac_func;
31168   ;
31169   return 0;
31170 }
31171 _ACEOF
31172 rm -f conftest.$ac_objext conftest$ac_exeext
31173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31174   (eval $ac_link) 2>&5
31175   ac_status=$?
31176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177   (exit $ac_status); } &&
31178          { ac_try='test -s conftest$ac_exeext'
31179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31180   (eval $ac_try) 2>&5
31181   ac_status=$?
31182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183   (exit $ac_status); }; }; then
31184   eval "$as_ac_var=yes"
31185 else
31186   echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31188
31189 eval "$as_ac_var=no"
31190 fi
31191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31192 fi
31193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31195 if test `eval echo '${'$as_ac_var'}'` = yes; then
31196   cat >>confdefs.h <<_ACEOF
31197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31198 _ACEOF
31199
31200 fi
31201 done
31202
31203     fi
31204   fi
31205
31206
31207
31208   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
31209 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
31210   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31211     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
31212   echo $ECHO_N "(cached) $ECHO_C" >&6
31213 else
31214
31215
31216
31217       ac_ext=cc
31218 ac_cpp='$CXXCPP $CPPFLAGS'
31219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31222
31223       cat >conftest.$ac_ext <<_ACEOF
31224 #line $LINENO "configure"
31225 /* confdefs.h.  */
31226 _ACEOF
31227 cat confdefs.h >>conftest.$ac_ext
31228 cat >>conftest.$ac_ext <<_ACEOF
31229 /* end confdefs.h.  */
31230 #include <math.h>
31231                       #ifdef HAVE_IEEEFP_H
31232                       #include <ieeefp.h>
31233                       #endif
31234
31235 int
31236 main ()
31237 {
31238  fabsf(0);
31239   ;
31240   return 0;
31241 }
31242 _ACEOF
31243 rm -f conftest.$ac_objext
31244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31245   (eval $ac_compile) 2>&5
31246   ac_status=$?
31247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248   (exit $ac_status); } &&
31249          { ac_try='test -s conftest.$ac_objext'
31250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31251   (eval $ac_try) 2>&5
31252   ac_status=$?
31253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254   (exit $ac_status); }; }; then
31255   glibcxx_cv_func_fabsf_use=yes
31256 else
31257   echo "$as_me: failed program was:" >&5
31258 sed 's/^/| /' conftest.$ac_ext >&5
31259
31260 glibcxx_cv_func_fabsf_use=no
31261 fi
31262 rm -f conftest.$ac_objext conftest.$ac_ext
31263       ac_ext=c
31264 ac_cpp='$CPP $CPPFLAGS'
31265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31268
31269
31270 fi
31271
31272   fi
31273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
31274 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
31275
31276   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31277
31278 for ac_func in fabsf
31279 do
31280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31281 echo "$as_me:$LINENO: checking for $ac_func" >&5
31282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31283 if eval "test \"\${$as_ac_var+set}\" = set"; then
31284   echo $ECHO_N "(cached) $ECHO_C" >&6
31285 else
31286   cat >conftest.$ac_ext <<_ACEOF
31287 #line $LINENO "configure"
31288 /* confdefs.h.  */
31289 _ACEOF
31290 cat confdefs.h >>conftest.$ac_ext
31291 cat >>conftest.$ac_ext <<_ACEOF
31292 /* end confdefs.h.  */
31293 /* System header to define __stub macros and hopefully few prototypes,
31294     which can conflict with char $ac_func (); below.
31295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31296     <limits.h> exists even on freestanding compilers.  */
31297 #ifdef __STDC__
31298 # include <limits.h>
31299 #else
31300 # include <assert.h>
31301 #endif
31302 /* Override any gcc2 internal prototype to avoid an error.  */
31303 #ifdef __cplusplus
31304 extern "C"
31305 {
31306 #endif
31307 /* We use char because int might match the return type of a gcc2
31308    builtin and then its argument prototype would still apply.  */
31309 char $ac_func ();
31310 /* The GNU C library defines this for functions which it implements
31311     to always fail with ENOSYS.  Some functions are actually named
31312     something starting with __ and the normal name is an alias.  */
31313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31314 choke me
31315 #else
31316 char (*f) () = $ac_func;
31317 #endif
31318 #ifdef __cplusplus
31319 }
31320 #endif
31321
31322 int
31323 main ()
31324 {
31325 return f != $ac_func;
31326   ;
31327   return 0;
31328 }
31329 _ACEOF
31330 rm -f conftest.$ac_objext conftest$ac_exeext
31331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31332   (eval $ac_link) 2>&5
31333   ac_status=$?
31334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335   (exit $ac_status); } &&
31336          { ac_try='test -s conftest$ac_exeext'
31337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338   (eval $ac_try) 2>&5
31339   ac_status=$?
31340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341   (exit $ac_status); }; }; then
31342   eval "$as_ac_var=yes"
31343 else
31344   echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 eval "$as_ac_var=no"
31348 fi
31349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31350 fi
31351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31353 if test `eval echo '${'$as_ac_var'}'` = yes; then
31354   cat >>confdefs.h <<_ACEOF
31355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31356 _ACEOF
31357
31358 fi
31359 done
31360
31361   else
31362
31363   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
31364 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
31365   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31366     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
31367   echo $ECHO_N "(cached) $ECHO_C" >&6
31368 else
31369
31370
31371
31372       ac_ext=cc
31373 ac_cpp='$CXXCPP $CPPFLAGS'
31374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31377
31378       cat >conftest.$ac_ext <<_ACEOF
31379 #line $LINENO "configure"
31380 /* confdefs.h.  */
31381 _ACEOF
31382 cat confdefs.h >>conftest.$ac_ext
31383 cat >>conftest.$ac_ext <<_ACEOF
31384 /* end confdefs.h.  */
31385 #include <math.h>
31386                       #ifdef HAVE_IEEEFP_H
31387                       #include <ieeefp.h>
31388                       #endif
31389
31390 int
31391 main ()
31392 {
31393  _fabsf(0);
31394   ;
31395   return 0;
31396 }
31397 _ACEOF
31398 rm -f conftest.$ac_objext
31399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31400   (eval $ac_compile) 2>&5
31401   ac_status=$?
31402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403   (exit $ac_status); } &&
31404          { ac_try='test -s conftest.$ac_objext'
31405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406   (eval $ac_try) 2>&5
31407   ac_status=$?
31408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409   (exit $ac_status); }; }; then
31410   glibcxx_cv_func__fabsf_use=yes
31411 else
31412   echo "$as_me: failed program was:" >&5
31413 sed 's/^/| /' conftest.$ac_ext >&5
31414
31415 glibcxx_cv_func__fabsf_use=no
31416 fi
31417 rm -f conftest.$ac_objext conftest.$ac_ext
31418       ac_ext=c
31419 ac_cpp='$CPP $CPPFLAGS'
31420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31423
31424
31425 fi
31426
31427   fi
31428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
31429 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
31430
31431     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31432
31433 for ac_func in _fabsf
31434 do
31435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31436 echo "$as_me:$LINENO: checking for $ac_func" >&5
31437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31438 if eval "test \"\${$as_ac_var+set}\" = set"; then
31439   echo $ECHO_N "(cached) $ECHO_C" >&6
31440 else
31441   cat >conftest.$ac_ext <<_ACEOF
31442 #line $LINENO "configure"
31443 /* confdefs.h.  */
31444 _ACEOF
31445 cat confdefs.h >>conftest.$ac_ext
31446 cat >>conftest.$ac_ext <<_ACEOF
31447 /* end confdefs.h.  */
31448 /* System header to define __stub macros and hopefully few prototypes,
31449     which can conflict with char $ac_func (); below.
31450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451     <limits.h> exists even on freestanding compilers.  */
31452 #ifdef __STDC__
31453 # include <limits.h>
31454 #else
31455 # include <assert.h>
31456 #endif
31457 /* Override any gcc2 internal prototype to avoid an error.  */
31458 #ifdef __cplusplus
31459 extern "C"
31460 {
31461 #endif
31462 /* We use char because int might match the return type of a gcc2
31463    builtin and then its argument prototype would still apply.  */
31464 char $ac_func ();
31465 /* The GNU C library defines this for functions which it implements
31466     to always fail with ENOSYS.  Some functions are actually named
31467     something starting with __ and the normal name is an alias.  */
31468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31469 choke me
31470 #else
31471 char (*f) () = $ac_func;
31472 #endif
31473 #ifdef __cplusplus
31474 }
31475 #endif
31476
31477 int
31478 main ()
31479 {
31480 return f != $ac_func;
31481   ;
31482   return 0;
31483 }
31484 _ACEOF
31485 rm -f conftest.$ac_objext conftest$ac_exeext
31486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31487   (eval $ac_link) 2>&5
31488   ac_status=$?
31489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490   (exit $ac_status); } &&
31491          { ac_try='test -s conftest$ac_exeext'
31492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493   (eval $ac_try) 2>&5
31494   ac_status=$?
31495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496   (exit $ac_status); }; }; then
31497   eval "$as_ac_var=yes"
31498 else
31499   echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31501
31502 eval "$as_ac_var=no"
31503 fi
31504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31505 fi
31506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31508 if test `eval echo '${'$as_ac_var'}'` = yes; then
31509   cat >>confdefs.h <<_ACEOF
31510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31511 _ACEOF
31512
31513 fi
31514 done
31515
31516     fi
31517   fi
31518
31519
31520
31521   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
31522 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
31523   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31524     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
31525   echo $ECHO_N "(cached) $ECHO_C" >&6
31526 else
31527
31528
31529
31530       ac_ext=cc
31531 ac_cpp='$CXXCPP $CPPFLAGS'
31532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31535
31536       cat >conftest.$ac_ext <<_ACEOF
31537 #line $LINENO "configure"
31538 /* confdefs.h.  */
31539 _ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h.  */
31543 #include <math.h>
31544 int
31545 main ()
31546 {
31547  fmodf(0, 0);
31548   ;
31549   return 0;
31550 }
31551 _ACEOF
31552 rm -f conftest.$ac_objext
31553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31554   (eval $ac_compile) 2>&5
31555   ac_status=$?
31556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557   (exit $ac_status); } &&
31558          { ac_try='test -s conftest.$ac_objext'
31559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31560   (eval $ac_try) 2>&5
31561   ac_status=$?
31562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563   (exit $ac_status); }; }; then
31564   glibcxx_cv_func_fmodf_use=yes
31565 else
31566   echo "$as_me: failed program was:" >&5
31567 sed 's/^/| /' conftest.$ac_ext >&5
31568
31569 glibcxx_cv_func_fmodf_use=no
31570 fi
31571 rm -f conftest.$ac_objext conftest.$ac_ext
31572       ac_ext=c
31573 ac_cpp='$CPP $CPPFLAGS'
31574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31577
31578
31579 fi
31580
31581   fi
31582   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
31583 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
31584
31585   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31586
31587 for ac_func in fmodf
31588 do
31589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31590 echo "$as_me:$LINENO: checking for $ac_func" >&5
31591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31592 if eval "test \"\${$as_ac_var+set}\" = set"; then
31593   echo $ECHO_N "(cached) $ECHO_C" >&6
31594 else
31595   cat >conftest.$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31597 /* confdefs.h.  */
31598 _ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h.  */
31602 /* System header to define __stub macros and hopefully few prototypes,
31603     which can conflict with char $ac_func (); below.
31604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31605     <limits.h> exists even on freestanding compilers.  */
31606 #ifdef __STDC__
31607 # include <limits.h>
31608 #else
31609 # include <assert.h>
31610 #endif
31611 /* Override any gcc2 internal prototype to avoid an error.  */
31612 #ifdef __cplusplus
31613 extern "C"
31614 {
31615 #endif
31616 /* We use char because int might match the return type of a gcc2
31617    builtin and then its argument prototype would still apply.  */
31618 char $ac_func ();
31619 /* The GNU C library defines this for functions which it implements
31620     to always fail with ENOSYS.  Some functions are actually named
31621     something starting with __ and the normal name is an alias.  */
31622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31623 choke me
31624 #else
31625 char (*f) () = $ac_func;
31626 #endif
31627 #ifdef __cplusplus
31628 }
31629 #endif
31630
31631 int
31632 main ()
31633 {
31634 return f != $ac_func;
31635   ;
31636   return 0;
31637 }
31638 _ACEOF
31639 rm -f conftest.$ac_objext conftest$ac_exeext
31640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31641   (eval $ac_link) 2>&5
31642   ac_status=$?
31643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644   (exit $ac_status); } &&
31645          { ac_try='test -s conftest$ac_exeext'
31646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647   (eval $ac_try) 2>&5
31648   ac_status=$?
31649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650   (exit $ac_status); }; }; then
31651   eval "$as_ac_var=yes"
31652 else
31653   echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31655
31656 eval "$as_ac_var=no"
31657 fi
31658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31659 fi
31660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31662 if test `eval echo '${'$as_ac_var'}'` = yes; then
31663   cat >>confdefs.h <<_ACEOF
31664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31665 _ACEOF
31666
31667 fi
31668 done
31669
31670   else
31671
31672   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
31673 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
31674   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31675     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
31676   echo $ECHO_N "(cached) $ECHO_C" >&6
31677 else
31678
31679
31680
31681       ac_ext=cc
31682 ac_cpp='$CXXCPP $CPPFLAGS'
31683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31686
31687       cat >conftest.$ac_ext <<_ACEOF
31688 #line $LINENO "configure"
31689 /* confdefs.h.  */
31690 _ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h.  */
31694 #include <math.h>
31695 int
31696 main ()
31697 {
31698  _fmodf(0, 0);
31699   ;
31700   return 0;
31701 }
31702 _ACEOF
31703 rm -f conftest.$ac_objext
31704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31705   (eval $ac_compile) 2>&5
31706   ac_status=$?
31707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708   (exit $ac_status); } &&
31709          { ac_try='test -s conftest.$ac_objext'
31710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711   (eval $ac_try) 2>&5
31712   ac_status=$?
31713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714   (exit $ac_status); }; }; then
31715   glibcxx_cv_func__fmodf_use=yes
31716 else
31717   echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31719
31720 glibcxx_cv_func__fmodf_use=no
31721 fi
31722 rm -f conftest.$ac_objext conftest.$ac_ext
31723       ac_ext=c
31724 ac_cpp='$CPP $CPPFLAGS'
31725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31728
31729
31730 fi
31731
31732   fi
31733   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
31734 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
31735
31736     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31737
31738 for ac_func in _fmodf
31739 do
31740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31741 echo "$as_me:$LINENO: checking for $ac_func" >&5
31742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31743 if eval "test \"\${$as_ac_var+set}\" = set"; then
31744   echo $ECHO_N "(cached) $ECHO_C" >&6
31745 else
31746   cat >conftest.$ac_ext <<_ACEOF
31747 #line $LINENO "configure"
31748 /* confdefs.h.  */
31749 _ACEOF
31750 cat confdefs.h >>conftest.$ac_ext
31751 cat >>conftest.$ac_ext <<_ACEOF
31752 /* end confdefs.h.  */
31753 /* System header to define __stub macros and hopefully few prototypes,
31754     which can conflict with char $ac_func (); below.
31755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31756     <limits.h> exists even on freestanding compilers.  */
31757 #ifdef __STDC__
31758 # include <limits.h>
31759 #else
31760 # include <assert.h>
31761 #endif
31762 /* Override any gcc2 internal prototype to avoid an error.  */
31763 #ifdef __cplusplus
31764 extern "C"
31765 {
31766 #endif
31767 /* We use char because int might match the return type of a gcc2
31768    builtin and then its argument prototype would still apply.  */
31769 char $ac_func ();
31770 /* The GNU C library defines this for functions which it implements
31771     to always fail with ENOSYS.  Some functions are actually named
31772     something starting with __ and the normal name is an alias.  */
31773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31774 choke me
31775 #else
31776 char (*f) () = $ac_func;
31777 #endif
31778 #ifdef __cplusplus
31779 }
31780 #endif
31781
31782 int
31783 main ()
31784 {
31785 return f != $ac_func;
31786   ;
31787   return 0;
31788 }
31789 _ACEOF
31790 rm -f conftest.$ac_objext conftest$ac_exeext
31791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31792   (eval $ac_link) 2>&5
31793   ac_status=$?
31794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795   (exit $ac_status); } &&
31796          { ac_try='test -s conftest$ac_exeext'
31797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31798   (eval $ac_try) 2>&5
31799   ac_status=$?
31800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801   (exit $ac_status); }; }; then
31802   eval "$as_ac_var=yes"
31803 else
31804   echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31806
31807 eval "$as_ac_var=no"
31808 fi
31809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31810 fi
31811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31813 if test `eval echo '${'$as_ac_var'}'` = yes; then
31814   cat >>confdefs.h <<_ACEOF
31815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31816 _ACEOF
31817
31818 fi
31819 done
31820
31821     fi
31822   fi
31823
31824
31825
31826   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
31827 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
31828   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31829     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
31830   echo $ECHO_N "(cached) $ECHO_C" >&6
31831 else
31832
31833
31834
31835       ac_ext=cc
31836 ac_cpp='$CXXCPP $CPPFLAGS'
31837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31840
31841       cat >conftest.$ac_ext <<_ACEOF
31842 #line $LINENO "configure"
31843 /* confdefs.h.  */
31844 _ACEOF
31845 cat confdefs.h >>conftest.$ac_ext
31846 cat >>conftest.$ac_ext <<_ACEOF
31847 /* end confdefs.h.  */
31848 #include <math.h>
31849 int
31850 main ()
31851 {
31852  frexpf(0, 0);
31853   ;
31854   return 0;
31855 }
31856 _ACEOF
31857 rm -f conftest.$ac_objext
31858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31859   (eval $ac_compile) 2>&5
31860   ac_status=$?
31861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862   (exit $ac_status); } &&
31863          { ac_try='test -s conftest.$ac_objext'
31864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865   (eval $ac_try) 2>&5
31866   ac_status=$?
31867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868   (exit $ac_status); }; }; then
31869   glibcxx_cv_func_frexpf_use=yes
31870 else
31871   echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.$ac_ext >&5
31873
31874 glibcxx_cv_func_frexpf_use=no
31875 fi
31876 rm -f conftest.$ac_objext conftest.$ac_ext
31877       ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31882
31883
31884 fi
31885
31886   fi
31887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
31888 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
31889
31890   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31891
31892 for ac_func in frexpf
31893 do
31894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31895 echo "$as_me:$LINENO: checking for $ac_func" >&5
31896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31897 if eval "test \"\${$as_ac_var+set}\" = set"; then
31898   echo $ECHO_N "(cached) $ECHO_C" >&6
31899 else
31900   cat >conftest.$ac_ext <<_ACEOF
31901 #line $LINENO "configure"
31902 /* confdefs.h.  */
31903 _ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h.  */
31907 /* System header to define __stub macros and hopefully few prototypes,
31908     which can conflict with char $ac_func (); below.
31909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31910     <limits.h> exists even on freestanding compilers.  */
31911 #ifdef __STDC__
31912 # include <limits.h>
31913 #else
31914 # include <assert.h>
31915 #endif
31916 /* Override any gcc2 internal prototype to avoid an error.  */
31917 #ifdef __cplusplus
31918 extern "C"
31919 {
31920 #endif
31921 /* We use char because int might match the return type of a gcc2
31922    builtin and then its argument prototype would still apply.  */
31923 char $ac_func ();
31924 /* The GNU C library defines this for functions which it implements
31925     to always fail with ENOSYS.  Some functions are actually named
31926     something starting with __ and the normal name is an alias.  */
31927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31928 choke me
31929 #else
31930 char (*f) () = $ac_func;
31931 #endif
31932 #ifdef __cplusplus
31933 }
31934 #endif
31935
31936 int
31937 main ()
31938 {
31939 return f != $ac_func;
31940   ;
31941   return 0;
31942 }
31943 _ACEOF
31944 rm -f conftest.$ac_objext conftest$ac_exeext
31945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31946   (eval $ac_link) 2>&5
31947   ac_status=$?
31948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949   (exit $ac_status); } &&
31950          { ac_try='test -s conftest$ac_exeext'
31951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952   (eval $ac_try) 2>&5
31953   ac_status=$?
31954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955   (exit $ac_status); }; }; then
31956   eval "$as_ac_var=yes"
31957 else
31958   echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.$ac_ext >&5
31960
31961 eval "$as_ac_var=no"
31962 fi
31963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31964 fi
31965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31967 if test `eval echo '${'$as_ac_var'}'` = yes; then
31968   cat >>confdefs.h <<_ACEOF
31969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31970 _ACEOF
31971
31972 fi
31973 done
31974
31975   else
31976
31977   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
31978 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
31979   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31980     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
31981   echo $ECHO_N "(cached) $ECHO_C" >&6
31982 else
31983
31984
31985
31986       ac_ext=cc
31987 ac_cpp='$CXXCPP $CPPFLAGS'
31988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31991
31992       cat >conftest.$ac_ext <<_ACEOF
31993 #line $LINENO "configure"
31994 /* confdefs.h.  */
31995 _ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h.  */
31999 #include <math.h>
32000 int
32001 main ()
32002 {
32003  _frexpf(0, 0);
32004   ;
32005   return 0;
32006 }
32007 _ACEOF
32008 rm -f conftest.$ac_objext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32010   (eval $ac_compile) 2>&5
32011   ac_status=$?
32012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013   (exit $ac_status); } &&
32014          { ac_try='test -s conftest.$ac_objext'
32015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016   (eval $ac_try) 2>&5
32017   ac_status=$?
32018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019   (exit $ac_status); }; }; then
32020   glibcxx_cv_func__frexpf_use=yes
32021 else
32022   echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.$ac_ext >&5
32024
32025 glibcxx_cv_func__frexpf_use=no
32026 fi
32027 rm -f conftest.$ac_objext conftest.$ac_ext
32028       ac_ext=c
32029 ac_cpp='$CPP $CPPFLAGS'
32030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32033
32034
32035 fi
32036
32037   fi
32038   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32039 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32040
32041     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32042
32043 for ac_func in _frexpf
32044 do
32045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32046 echo "$as_me:$LINENO: checking for $ac_func" >&5
32047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32048 if eval "test \"\${$as_ac_var+set}\" = set"; then
32049   echo $ECHO_N "(cached) $ECHO_C" >&6
32050 else
32051   cat >conftest.$ac_ext <<_ACEOF
32052 #line $LINENO "configure"
32053 /* confdefs.h.  */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h.  */
32058 /* System header to define __stub macros and hopefully few prototypes,
32059     which can conflict with char $ac_func (); below.
32060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32061     <limits.h> exists even on freestanding compilers.  */
32062 #ifdef __STDC__
32063 # include <limits.h>
32064 #else
32065 # include <assert.h>
32066 #endif
32067 /* Override any gcc2 internal prototype to avoid an error.  */
32068 #ifdef __cplusplus
32069 extern "C"
32070 {
32071 #endif
32072 /* We use char because int might match the return type of a gcc2
32073    builtin and then its argument prototype would still apply.  */
32074 char $ac_func ();
32075 /* The GNU C library defines this for functions which it implements
32076     to always fail with ENOSYS.  Some functions are actually named
32077     something starting with __ and the normal name is an alias.  */
32078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32079 choke me
32080 #else
32081 char (*f) () = $ac_func;
32082 #endif
32083 #ifdef __cplusplus
32084 }
32085 #endif
32086
32087 int
32088 main ()
32089 {
32090 return f != $ac_func;
32091   ;
32092   return 0;
32093 }
32094 _ACEOF
32095 rm -f conftest.$ac_objext conftest$ac_exeext
32096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32097   (eval $ac_link) 2>&5
32098   ac_status=$?
32099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100   (exit $ac_status); } &&
32101          { ac_try='test -s conftest$ac_exeext'
32102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103   (eval $ac_try) 2>&5
32104   ac_status=$?
32105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106   (exit $ac_status); }; }; then
32107   eval "$as_ac_var=yes"
32108 else
32109   echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32111
32112 eval "$as_ac_var=no"
32113 fi
32114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32115 fi
32116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32118 if test `eval echo '${'$as_ac_var'}'` = yes; then
32119   cat >>confdefs.h <<_ACEOF
32120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32121 _ACEOF
32122
32123 fi
32124 done
32125
32126     fi
32127   fi
32128
32129
32130
32131   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
32132 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
32133   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32134     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
32135   echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32137
32138
32139
32140       ac_ext=cc
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145
32146       cat >conftest.$ac_ext <<_ACEOF
32147 #line $LINENO "configure"
32148 /* confdefs.h.  */
32149 _ACEOF
32150 cat confdefs.h >>conftest.$ac_ext
32151 cat >>conftest.$ac_ext <<_ACEOF
32152 /* end confdefs.h.  */
32153 #include <math.h>
32154 int
32155 main ()
32156 {
32157  hypotf(0, 0);
32158   ;
32159   return 0;
32160 }
32161 _ACEOF
32162 rm -f conftest.$ac_objext
32163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32164   (eval $ac_compile) 2>&5
32165   ac_status=$?
32166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167   (exit $ac_status); } &&
32168          { ac_try='test -s conftest.$ac_objext'
32169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170   (eval $ac_try) 2>&5
32171   ac_status=$?
32172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173   (exit $ac_status); }; }; then
32174   glibcxx_cv_func_hypotf_use=yes
32175 else
32176   echo "$as_me: failed program was:" >&5
32177 sed 's/^/| /' conftest.$ac_ext >&5
32178
32179 glibcxx_cv_func_hypotf_use=no
32180 fi
32181 rm -f conftest.$ac_objext conftest.$ac_ext
32182       ac_ext=c
32183 ac_cpp='$CPP $CPPFLAGS'
32184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32187
32188
32189 fi
32190
32191   fi
32192   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
32193 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
32194
32195   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32196
32197 for ac_func in hypotf
32198 do
32199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32200 echo "$as_me:$LINENO: checking for $ac_func" >&5
32201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32202 if eval "test \"\${$as_ac_var+set}\" = set"; then
32203   echo $ECHO_N "(cached) $ECHO_C" >&6
32204 else
32205   cat >conftest.$ac_ext <<_ACEOF
32206 #line $LINENO "configure"
32207 /* confdefs.h.  */
32208 _ACEOF
32209 cat confdefs.h >>conftest.$ac_ext
32210 cat >>conftest.$ac_ext <<_ACEOF
32211 /* end confdefs.h.  */
32212 /* System header to define __stub macros and hopefully few prototypes,
32213     which can conflict with char $ac_func (); below.
32214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32215     <limits.h> exists even on freestanding compilers.  */
32216 #ifdef __STDC__
32217 # include <limits.h>
32218 #else
32219 # include <assert.h>
32220 #endif
32221 /* Override any gcc2 internal prototype to avoid an error.  */
32222 #ifdef __cplusplus
32223 extern "C"
32224 {
32225 #endif
32226 /* We use char because int might match the return type of a gcc2
32227    builtin and then its argument prototype would still apply.  */
32228 char $ac_func ();
32229 /* The GNU C library defines this for functions which it implements
32230     to always fail with ENOSYS.  Some functions are actually named
32231     something starting with __ and the normal name is an alias.  */
32232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32233 choke me
32234 #else
32235 char (*f) () = $ac_func;
32236 #endif
32237 #ifdef __cplusplus
32238 }
32239 #endif
32240
32241 int
32242 main ()
32243 {
32244 return f != $ac_func;
32245   ;
32246   return 0;
32247 }
32248 _ACEOF
32249 rm -f conftest.$ac_objext conftest$ac_exeext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32251   (eval $ac_link) 2>&5
32252   ac_status=$?
32253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254   (exit $ac_status); } &&
32255          { ac_try='test -s conftest$ac_exeext'
32256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32257   (eval $ac_try) 2>&5
32258   ac_status=$?
32259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260   (exit $ac_status); }; }; then
32261   eval "$as_ac_var=yes"
32262 else
32263   echo "$as_me: failed program was:" >&5
32264 sed 's/^/| /' conftest.$ac_ext >&5
32265
32266 eval "$as_ac_var=no"
32267 fi
32268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32269 fi
32270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32272 if test `eval echo '${'$as_ac_var'}'` = yes; then
32273   cat >>confdefs.h <<_ACEOF
32274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32275 _ACEOF
32276
32277 fi
32278 done
32279
32280   else
32281
32282   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
32283 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
32284   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32285     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
32286   echo $ECHO_N "(cached) $ECHO_C" >&6
32287 else
32288
32289
32290
32291       ac_ext=cc
32292 ac_cpp='$CXXCPP $CPPFLAGS'
32293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32296
32297       cat >conftest.$ac_ext <<_ACEOF
32298 #line $LINENO "configure"
32299 /* confdefs.h.  */
32300 _ACEOF
32301 cat confdefs.h >>conftest.$ac_ext
32302 cat >>conftest.$ac_ext <<_ACEOF
32303 /* end confdefs.h.  */
32304 #include <math.h>
32305 int
32306 main ()
32307 {
32308  _hypotf(0, 0);
32309   ;
32310   return 0;
32311 }
32312 _ACEOF
32313 rm -f conftest.$ac_objext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32315   (eval $ac_compile) 2>&5
32316   ac_status=$?
32317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318   (exit $ac_status); } &&
32319          { ac_try='test -s conftest.$ac_objext'
32320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32321   (eval $ac_try) 2>&5
32322   ac_status=$?
32323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324   (exit $ac_status); }; }; then
32325   glibcxx_cv_func__hypotf_use=yes
32326 else
32327   echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.$ac_ext >&5
32329
32330 glibcxx_cv_func__hypotf_use=no
32331 fi
32332 rm -f conftest.$ac_objext conftest.$ac_ext
32333       ac_ext=c
32334 ac_cpp='$CPP $CPPFLAGS'
32335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32338
32339
32340 fi
32341
32342   fi
32343   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
32344 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
32345
32346     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32347
32348 for ac_func in _hypotf
32349 do
32350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32351 echo "$as_me:$LINENO: checking for $ac_func" >&5
32352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32353 if eval "test \"\${$as_ac_var+set}\" = set"; then
32354   echo $ECHO_N "(cached) $ECHO_C" >&6
32355 else
32356   cat >conftest.$ac_ext <<_ACEOF
32357 #line $LINENO "configure"
32358 /* confdefs.h.  */
32359 _ACEOF
32360 cat confdefs.h >>conftest.$ac_ext
32361 cat >>conftest.$ac_ext <<_ACEOF
32362 /* end confdefs.h.  */
32363 /* System header to define __stub macros and hopefully few prototypes,
32364     which can conflict with char $ac_func (); below.
32365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32366     <limits.h> exists even on freestanding compilers.  */
32367 #ifdef __STDC__
32368 # include <limits.h>
32369 #else
32370 # include <assert.h>
32371 #endif
32372 /* Override any gcc2 internal prototype to avoid an error.  */
32373 #ifdef __cplusplus
32374 extern "C"
32375 {
32376 #endif
32377 /* We use char because int might match the return type of a gcc2
32378    builtin and then its argument prototype would still apply.  */
32379 char $ac_func ();
32380 /* The GNU C library defines this for functions which it implements
32381     to always fail with ENOSYS.  Some functions are actually named
32382     something starting with __ and the normal name is an alias.  */
32383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32384 choke me
32385 #else
32386 char (*f) () = $ac_func;
32387 #endif
32388 #ifdef __cplusplus
32389 }
32390 #endif
32391
32392 int
32393 main ()
32394 {
32395 return f != $ac_func;
32396   ;
32397   return 0;
32398 }
32399 _ACEOF
32400 rm -f conftest.$ac_objext conftest$ac_exeext
32401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32402   (eval $ac_link) 2>&5
32403   ac_status=$?
32404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405   (exit $ac_status); } &&
32406          { ac_try='test -s conftest$ac_exeext'
32407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408   (eval $ac_try) 2>&5
32409   ac_status=$?
32410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411   (exit $ac_status); }; }; then
32412   eval "$as_ac_var=yes"
32413 else
32414   echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.$ac_ext >&5
32416
32417 eval "$as_ac_var=no"
32418 fi
32419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32420 fi
32421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32423 if test `eval echo '${'$as_ac_var'}'` = yes; then
32424   cat >>confdefs.h <<_ACEOF
32425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32426 _ACEOF
32427
32428 fi
32429 done
32430
32431     fi
32432   fi
32433
32434
32435
32436   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
32437 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
32438   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32439     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
32440   echo $ECHO_N "(cached) $ECHO_C" >&6
32441 else
32442
32443
32444
32445       ac_ext=cc
32446 ac_cpp='$CXXCPP $CPPFLAGS'
32447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32450
32451       cat >conftest.$ac_ext <<_ACEOF
32452 #line $LINENO "configure"
32453 /* confdefs.h.  */
32454 _ACEOF
32455 cat confdefs.h >>conftest.$ac_ext
32456 cat >>conftest.$ac_ext <<_ACEOF
32457 /* end confdefs.h.  */
32458 #include <math.h>
32459 int
32460 main ()
32461 {
32462  ldexpf(0, 0);
32463   ;
32464   return 0;
32465 }
32466 _ACEOF
32467 rm -f conftest.$ac_objext
32468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32469   (eval $ac_compile) 2>&5
32470   ac_status=$?
32471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472   (exit $ac_status); } &&
32473          { ac_try='test -s conftest.$ac_objext'
32474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475   (eval $ac_try) 2>&5
32476   ac_status=$?
32477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478   (exit $ac_status); }; }; then
32479   glibcxx_cv_func_ldexpf_use=yes
32480 else
32481   echo "$as_me: failed program was:" >&5
32482 sed 's/^/| /' conftest.$ac_ext >&5
32483
32484 glibcxx_cv_func_ldexpf_use=no
32485 fi
32486 rm -f conftest.$ac_objext conftest.$ac_ext
32487       ac_ext=c
32488 ac_cpp='$CPP $CPPFLAGS'
32489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32492
32493
32494 fi
32495
32496   fi
32497   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
32498 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
32499
32500   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32501
32502 for ac_func in ldexpf
32503 do
32504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32505 echo "$as_me:$LINENO: checking for $ac_func" >&5
32506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32507 if eval "test \"\${$as_ac_var+set}\" = set"; then
32508   echo $ECHO_N "(cached) $ECHO_C" >&6
32509 else
32510   cat >conftest.$ac_ext <<_ACEOF
32511 #line $LINENO "configure"
32512 /* confdefs.h.  */
32513 _ACEOF
32514 cat confdefs.h >>conftest.$ac_ext
32515 cat >>conftest.$ac_ext <<_ACEOF
32516 /* end confdefs.h.  */
32517 /* System header to define __stub macros and hopefully few prototypes,
32518     which can conflict with char $ac_func (); below.
32519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32520     <limits.h> exists even on freestanding compilers.  */
32521 #ifdef __STDC__
32522 # include <limits.h>
32523 #else
32524 # include <assert.h>
32525 #endif
32526 /* Override any gcc2 internal prototype to avoid an error.  */
32527 #ifdef __cplusplus
32528 extern "C"
32529 {
32530 #endif
32531 /* We use char because int might match the return type of a gcc2
32532    builtin and then its argument prototype would still apply.  */
32533 char $ac_func ();
32534 /* The GNU C library defines this for functions which it implements
32535     to always fail with ENOSYS.  Some functions are actually named
32536     something starting with __ and the normal name is an alias.  */
32537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32538 choke me
32539 #else
32540 char (*f) () = $ac_func;
32541 #endif
32542 #ifdef __cplusplus
32543 }
32544 #endif
32545
32546 int
32547 main ()
32548 {
32549 return f != $ac_func;
32550   ;
32551   return 0;
32552 }
32553 _ACEOF
32554 rm -f conftest.$ac_objext conftest$ac_exeext
32555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32556   (eval $ac_link) 2>&5
32557   ac_status=$?
32558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559   (exit $ac_status); } &&
32560          { ac_try='test -s conftest$ac_exeext'
32561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562   (eval $ac_try) 2>&5
32563   ac_status=$?
32564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565   (exit $ac_status); }; }; then
32566   eval "$as_ac_var=yes"
32567 else
32568   echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571 eval "$as_ac_var=no"
32572 fi
32573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32574 fi
32575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32577 if test `eval echo '${'$as_ac_var'}'` = yes; then
32578   cat >>confdefs.h <<_ACEOF
32579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32580 _ACEOF
32581
32582 fi
32583 done
32584
32585   else
32586
32587   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
32588 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
32589   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32590     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
32591   echo $ECHO_N "(cached) $ECHO_C" >&6
32592 else
32593
32594
32595
32596       ac_ext=cc
32597 ac_cpp='$CXXCPP $CPPFLAGS'
32598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32601
32602       cat >conftest.$ac_ext <<_ACEOF
32603 #line $LINENO "configure"
32604 /* confdefs.h.  */
32605 _ACEOF
32606 cat confdefs.h >>conftest.$ac_ext
32607 cat >>conftest.$ac_ext <<_ACEOF
32608 /* end confdefs.h.  */
32609 #include <math.h>
32610 int
32611 main ()
32612 {
32613  _ldexpf(0, 0);
32614   ;
32615   return 0;
32616 }
32617 _ACEOF
32618 rm -f conftest.$ac_objext
32619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32620   (eval $ac_compile) 2>&5
32621   ac_status=$?
32622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623   (exit $ac_status); } &&
32624          { ac_try='test -s conftest.$ac_objext'
32625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626   (eval $ac_try) 2>&5
32627   ac_status=$?
32628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629   (exit $ac_status); }; }; then
32630   glibcxx_cv_func__ldexpf_use=yes
32631 else
32632   echo "$as_me: failed program was:" >&5
32633 sed 's/^/| /' conftest.$ac_ext >&5
32634
32635 glibcxx_cv_func__ldexpf_use=no
32636 fi
32637 rm -f conftest.$ac_objext conftest.$ac_ext
32638       ac_ext=c
32639 ac_cpp='$CPP $CPPFLAGS'
32640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32643
32644
32645 fi
32646
32647   fi
32648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
32649 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
32650
32651     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32652
32653 for ac_func in _ldexpf
32654 do
32655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32656 echo "$as_me:$LINENO: checking for $ac_func" >&5
32657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32658 if eval "test \"\${$as_ac_var+set}\" = set"; then
32659   echo $ECHO_N "(cached) $ECHO_C" >&6
32660 else
32661   cat >conftest.$ac_ext <<_ACEOF
32662 #line $LINENO "configure"
32663 /* confdefs.h.  */
32664 _ACEOF
32665 cat confdefs.h >>conftest.$ac_ext
32666 cat >>conftest.$ac_ext <<_ACEOF
32667 /* end confdefs.h.  */
32668 /* System header to define __stub macros and hopefully few prototypes,
32669     which can conflict with char $ac_func (); below.
32670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32671     <limits.h> exists even on freestanding compilers.  */
32672 #ifdef __STDC__
32673 # include <limits.h>
32674 #else
32675 # include <assert.h>
32676 #endif
32677 /* Override any gcc2 internal prototype to avoid an error.  */
32678 #ifdef __cplusplus
32679 extern "C"
32680 {
32681 #endif
32682 /* We use char because int might match the return type of a gcc2
32683    builtin and then its argument prototype would still apply.  */
32684 char $ac_func ();
32685 /* The GNU C library defines this for functions which it implements
32686     to always fail with ENOSYS.  Some functions are actually named
32687     something starting with __ and the normal name is an alias.  */
32688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32689 choke me
32690 #else
32691 char (*f) () = $ac_func;
32692 #endif
32693 #ifdef __cplusplus
32694 }
32695 #endif
32696
32697 int
32698 main ()
32699 {
32700 return f != $ac_func;
32701   ;
32702   return 0;
32703 }
32704 _ACEOF
32705 rm -f conftest.$ac_objext conftest$ac_exeext
32706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32707   (eval $ac_link) 2>&5
32708   ac_status=$?
32709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710   (exit $ac_status); } &&
32711          { ac_try='test -s conftest$ac_exeext'
32712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713   (eval $ac_try) 2>&5
32714   ac_status=$?
32715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716   (exit $ac_status); }; }; then
32717   eval "$as_ac_var=yes"
32718 else
32719   echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.$ac_ext >&5
32721
32722 eval "$as_ac_var=no"
32723 fi
32724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32725 fi
32726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32728 if test `eval echo '${'$as_ac_var'}'` = yes; then
32729   cat >>confdefs.h <<_ACEOF
32730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32731 _ACEOF
32732
32733 fi
32734 done
32735
32736     fi
32737   fi
32738
32739
32740
32741   echo "$as_me:$LINENO: checking for logf declaration" >&5
32742 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
32743   if test x${glibcxx_cv_func_logf_use+set} != xset; then
32744     if test "${glibcxx_cv_func_logf_use+set}" = set; then
32745   echo $ECHO_N "(cached) $ECHO_C" >&6
32746 else
32747
32748
32749
32750       ac_ext=cc
32751 ac_cpp='$CXXCPP $CPPFLAGS'
32752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32755
32756       cat >conftest.$ac_ext <<_ACEOF
32757 #line $LINENO "configure"
32758 /* confdefs.h.  */
32759 _ACEOF
32760 cat confdefs.h >>conftest.$ac_ext
32761 cat >>conftest.$ac_ext <<_ACEOF
32762 /* end confdefs.h.  */
32763 #include <math.h>
32764                       #ifdef HAVE_IEEEFP_H
32765                       #include <ieeefp.h>
32766                       #endif
32767
32768 int
32769 main ()
32770 {
32771  logf(0);
32772   ;
32773   return 0;
32774 }
32775 _ACEOF
32776 rm -f conftest.$ac_objext
32777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32778   (eval $ac_compile) 2>&5
32779   ac_status=$?
32780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781   (exit $ac_status); } &&
32782          { ac_try='test -s conftest.$ac_objext'
32783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784   (eval $ac_try) 2>&5
32785   ac_status=$?
32786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787   (exit $ac_status); }; }; then
32788   glibcxx_cv_func_logf_use=yes
32789 else
32790   echo "$as_me: failed program was:" >&5
32791 sed 's/^/| /' conftest.$ac_ext >&5
32792
32793 glibcxx_cv_func_logf_use=no
32794 fi
32795 rm -f conftest.$ac_objext conftest.$ac_ext
32796       ac_ext=c
32797 ac_cpp='$CPP $CPPFLAGS'
32798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801
32802
32803 fi
32804
32805   fi
32806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
32807 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
32808
32809   if test x$glibcxx_cv_func_logf_use = x"yes"; then
32810
32811 for ac_func in logf
32812 do
32813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32814 echo "$as_me:$LINENO: checking for $ac_func" >&5
32815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32816 if eval "test \"\${$as_ac_var+set}\" = set"; then
32817   echo $ECHO_N "(cached) $ECHO_C" >&6
32818 else
32819   cat >conftest.$ac_ext <<_ACEOF
32820 #line $LINENO "configure"
32821 /* confdefs.h.  */
32822 _ACEOF
32823 cat confdefs.h >>conftest.$ac_ext
32824 cat >>conftest.$ac_ext <<_ACEOF
32825 /* end confdefs.h.  */
32826 /* System header to define __stub macros and hopefully few prototypes,
32827     which can conflict with char $ac_func (); below.
32828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32829     <limits.h> exists even on freestanding compilers.  */
32830 #ifdef __STDC__
32831 # include <limits.h>
32832 #else
32833 # include <assert.h>
32834 #endif
32835 /* Override any gcc2 internal prototype to avoid an error.  */
32836 #ifdef __cplusplus
32837 extern "C"
32838 {
32839 #endif
32840 /* We use char because int might match the return type of a gcc2
32841    builtin and then its argument prototype would still apply.  */
32842 char $ac_func ();
32843 /* The GNU C library defines this for functions which it implements
32844     to always fail with ENOSYS.  Some functions are actually named
32845     something starting with __ and the normal name is an alias.  */
32846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32847 choke me
32848 #else
32849 char (*f) () = $ac_func;
32850 #endif
32851 #ifdef __cplusplus
32852 }
32853 #endif
32854
32855 int
32856 main ()
32857 {
32858 return f != $ac_func;
32859   ;
32860   return 0;
32861 }
32862 _ACEOF
32863 rm -f conftest.$ac_objext conftest$ac_exeext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32865   (eval $ac_link) 2>&5
32866   ac_status=$?
32867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868   (exit $ac_status); } &&
32869          { ac_try='test -s conftest$ac_exeext'
32870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871   (eval $ac_try) 2>&5
32872   ac_status=$?
32873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874   (exit $ac_status); }; }; then
32875   eval "$as_ac_var=yes"
32876 else
32877   echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.$ac_ext >&5
32879
32880 eval "$as_ac_var=no"
32881 fi
32882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32883 fi
32884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32886 if test `eval echo '${'$as_ac_var'}'` = yes; then
32887   cat >>confdefs.h <<_ACEOF
32888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32889 _ACEOF
32890
32891 fi
32892 done
32893
32894   else
32895
32896   echo "$as_me:$LINENO: checking for _logf declaration" >&5
32897 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
32898   if test x${glibcxx_cv_func__logf_use+set} != xset; then
32899     if test "${glibcxx_cv_func__logf_use+set}" = set; then
32900   echo $ECHO_N "(cached) $ECHO_C" >&6
32901 else
32902
32903
32904
32905       ac_ext=cc
32906 ac_cpp='$CXXCPP $CPPFLAGS'
32907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32910
32911       cat >conftest.$ac_ext <<_ACEOF
32912 #line $LINENO "configure"
32913 /* confdefs.h.  */
32914 _ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h.  */
32918 #include <math.h>
32919                       #ifdef HAVE_IEEEFP_H
32920                       #include <ieeefp.h>
32921                       #endif
32922
32923 int
32924 main ()
32925 {
32926  _logf(0);
32927   ;
32928   return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext
32932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32933   (eval $ac_compile) 2>&5
32934   ac_status=$?
32935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936   (exit $ac_status); } &&
32937          { ac_try='test -s conftest.$ac_objext'
32938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32939   (eval $ac_try) 2>&5
32940   ac_status=$?
32941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942   (exit $ac_status); }; }; then
32943   glibcxx_cv_func__logf_use=yes
32944 else
32945   echo "$as_me: failed program was:" >&5
32946 sed 's/^/| /' conftest.$ac_ext >&5
32947
32948 glibcxx_cv_func__logf_use=no
32949 fi
32950 rm -f conftest.$ac_objext conftest.$ac_ext
32951       ac_ext=c
32952 ac_cpp='$CPP $CPPFLAGS'
32953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32956
32957
32958 fi
32959
32960   fi
32961   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
32962 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
32963
32964     if test x$glibcxx_cv_func__logf_use = x"yes"; then
32965
32966 for ac_func in _logf
32967 do
32968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32969 echo "$as_me:$LINENO: checking for $ac_func" >&5
32970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32971 if eval "test \"\${$as_ac_var+set}\" = set"; then
32972   echo $ECHO_N "(cached) $ECHO_C" >&6
32973 else
32974   cat >conftest.$ac_ext <<_ACEOF
32975 #line $LINENO "configure"
32976 /* confdefs.h.  */
32977 _ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h.  */
32981 /* System header to define __stub macros and hopefully few prototypes,
32982     which can conflict with char $ac_func (); below.
32983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32984     <limits.h> exists even on freestanding compilers.  */
32985 #ifdef __STDC__
32986 # include <limits.h>
32987 #else
32988 # include <assert.h>
32989 #endif
32990 /* Override any gcc2 internal prototype to avoid an error.  */
32991 #ifdef __cplusplus
32992 extern "C"
32993 {
32994 #endif
32995 /* We use char because int might match the return type of a gcc2
32996    builtin and then its argument prototype would still apply.  */
32997 char $ac_func ();
32998 /* The GNU C library defines this for functions which it implements
32999     to always fail with ENOSYS.  Some functions are actually named
33000     something starting with __ and the normal name is an alias.  */
33001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33002 choke me
33003 #else
33004 char (*f) () = $ac_func;
33005 #endif
33006 #ifdef __cplusplus
33007 }
33008 #endif
33009
33010 int
33011 main ()
33012 {
33013 return f != $ac_func;
33014   ;
33015   return 0;
33016 }
33017 _ACEOF
33018 rm -f conftest.$ac_objext conftest$ac_exeext
33019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33020   (eval $ac_link) 2>&5
33021   ac_status=$?
33022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023   (exit $ac_status); } &&
33024          { ac_try='test -s conftest$ac_exeext'
33025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026   (eval $ac_try) 2>&5
33027   ac_status=$?
33028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029   (exit $ac_status); }; }; then
33030   eval "$as_ac_var=yes"
33031 else
33032   echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.$ac_ext >&5
33034
33035 eval "$as_ac_var=no"
33036 fi
33037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33038 fi
33039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33041 if test `eval echo '${'$as_ac_var'}'` = yes; then
33042   cat >>confdefs.h <<_ACEOF
33043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33044 _ACEOF
33045
33046 fi
33047 done
33048
33049     fi
33050   fi
33051
33052
33053
33054   echo "$as_me:$LINENO: checking for log10f declaration" >&5
33055 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33056   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33057     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33058   echo $ECHO_N "(cached) $ECHO_C" >&6
33059 else
33060
33061
33062
33063       ac_ext=cc
33064 ac_cpp='$CXXCPP $CPPFLAGS'
33065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33068
33069       cat >conftest.$ac_ext <<_ACEOF
33070 #line $LINENO "configure"
33071 /* confdefs.h.  */
33072 _ACEOF
33073 cat confdefs.h >>conftest.$ac_ext
33074 cat >>conftest.$ac_ext <<_ACEOF
33075 /* end confdefs.h.  */
33076 #include <math.h>
33077                       #ifdef HAVE_IEEEFP_H
33078                       #include <ieeefp.h>
33079                       #endif
33080
33081 int
33082 main ()
33083 {
33084  log10f(0);
33085   ;
33086   return 0;
33087 }
33088 _ACEOF
33089 rm -f conftest.$ac_objext
33090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33091   (eval $ac_compile) 2>&5
33092   ac_status=$?
33093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094   (exit $ac_status); } &&
33095          { ac_try='test -s conftest.$ac_objext'
33096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33097   (eval $ac_try) 2>&5
33098   ac_status=$?
33099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100   (exit $ac_status); }; }; then
33101   glibcxx_cv_func_log10f_use=yes
33102 else
33103   echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.$ac_ext >&5
33105
33106 glibcxx_cv_func_log10f_use=no
33107 fi
33108 rm -f conftest.$ac_objext conftest.$ac_ext
33109       ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33114
33115
33116 fi
33117
33118   fi
33119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
33120 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
33121
33122   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33123
33124 for ac_func in log10f
33125 do
33126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33127 echo "$as_me:$LINENO: checking for $ac_func" >&5
33128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33129 if eval "test \"\${$as_ac_var+set}\" = set"; then
33130   echo $ECHO_N "(cached) $ECHO_C" >&6
33131 else
33132   cat >conftest.$ac_ext <<_ACEOF
33133 #line $LINENO "configure"
33134 /* confdefs.h.  */
33135 _ACEOF
33136 cat confdefs.h >>conftest.$ac_ext
33137 cat >>conftest.$ac_ext <<_ACEOF
33138 /* end confdefs.h.  */
33139 /* System header to define __stub macros and hopefully few prototypes,
33140     which can conflict with char $ac_func (); below.
33141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33142     <limits.h> exists even on freestanding compilers.  */
33143 #ifdef __STDC__
33144 # include <limits.h>
33145 #else
33146 # include <assert.h>
33147 #endif
33148 /* Override any gcc2 internal prototype to avoid an error.  */
33149 #ifdef __cplusplus
33150 extern "C"
33151 {
33152 #endif
33153 /* We use char because int might match the return type of a gcc2
33154    builtin and then its argument prototype would still apply.  */
33155 char $ac_func ();
33156 /* The GNU C library defines this for functions which it implements
33157     to always fail with ENOSYS.  Some functions are actually named
33158     something starting with __ and the normal name is an alias.  */
33159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33160 choke me
33161 #else
33162 char (*f) () = $ac_func;
33163 #endif
33164 #ifdef __cplusplus
33165 }
33166 #endif
33167
33168 int
33169 main ()
33170 {
33171 return f != $ac_func;
33172   ;
33173   return 0;
33174 }
33175 _ACEOF
33176 rm -f conftest.$ac_objext conftest$ac_exeext
33177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33178   (eval $ac_link) 2>&5
33179   ac_status=$?
33180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181   (exit $ac_status); } &&
33182          { ac_try='test -s conftest$ac_exeext'
33183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33184   (eval $ac_try) 2>&5
33185   ac_status=$?
33186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187   (exit $ac_status); }; }; then
33188   eval "$as_ac_var=yes"
33189 else
33190   echo "$as_me: failed program was:" >&5
33191 sed 's/^/| /' conftest.$ac_ext >&5
33192
33193 eval "$as_ac_var=no"
33194 fi
33195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33196 fi
33197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33199 if test `eval echo '${'$as_ac_var'}'` = yes; then
33200   cat >>confdefs.h <<_ACEOF
33201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33202 _ACEOF
33203
33204 fi
33205 done
33206
33207   else
33208
33209   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
33210 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
33211   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
33212     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
33213   echo $ECHO_N "(cached) $ECHO_C" >&6
33214 else
33215
33216
33217
33218       ac_ext=cc
33219 ac_cpp='$CXXCPP $CPPFLAGS'
33220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33223
33224       cat >conftest.$ac_ext <<_ACEOF
33225 #line $LINENO "configure"
33226 /* confdefs.h.  */
33227 _ACEOF
33228 cat confdefs.h >>conftest.$ac_ext
33229 cat >>conftest.$ac_ext <<_ACEOF
33230 /* end confdefs.h.  */
33231 #include <math.h>
33232                       #ifdef HAVE_IEEEFP_H
33233                       #include <ieeefp.h>
33234                       #endif
33235
33236 int
33237 main ()
33238 {
33239  _log10f(0);
33240   ;
33241   return 0;
33242 }
33243 _ACEOF
33244 rm -f conftest.$ac_objext
33245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33246   (eval $ac_compile) 2>&5
33247   ac_status=$?
33248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249   (exit $ac_status); } &&
33250          { ac_try='test -s conftest.$ac_objext'
33251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33252   (eval $ac_try) 2>&5
33253   ac_status=$?
33254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255   (exit $ac_status); }; }; then
33256   glibcxx_cv_func__log10f_use=yes
33257 else
33258   echo "$as_me: failed program was:" >&5
33259 sed 's/^/| /' conftest.$ac_ext >&5
33260
33261 glibcxx_cv_func__log10f_use=no
33262 fi
33263 rm -f conftest.$ac_objext conftest.$ac_ext
33264       ac_ext=c
33265 ac_cpp='$CPP $CPPFLAGS'
33266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33269
33270
33271 fi
33272
33273   fi
33274   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
33275 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
33276
33277     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
33278
33279 for ac_func in _log10f
33280 do
33281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33282 echo "$as_me:$LINENO: checking for $ac_func" >&5
33283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33284 if eval "test \"\${$as_ac_var+set}\" = set"; then
33285   echo $ECHO_N "(cached) $ECHO_C" >&6
33286 else
33287   cat >conftest.$ac_ext <<_ACEOF
33288 #line $LINENO "configure"
33289 /* confdefs.h.  */
33290 _ACEOF
33291 cat confdefs.h >>conftest.$ac_ext
33292 cat >>conftest.$ac_ext <<_ACEOF
33293 /* end confdefs.h.  */
33294 /* System header to define __stub macros and hopefully few prototypes,
33295     which can conflict with char $ac_func (); below.
33296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297     <limits.h> exists even on freestanding compilers.  */
33298 #ifdef __STDC__
33299 # include <limits.h>
33300 #else
33301 # include <assert.h>
33302 #endif
33303 /* Override any gcc2 internal prototype to avoid an error.  */
33304 #ifdef __cplusplus
33305 extern "C"
33306 {
33307 #endif
33308 /* We use char because int might match the return type of a gcc2
33309    builtin and then its argument prototype would still apply.  */
33310 char $ac_func ();
33311 /* The GNU C library defines this for functions which it implements
33312     to always fail with ENOSYS.  Some functions are actually named
33313     something starting with __ and the normal name is an alias.  */
33314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33315 choke me
33316 #else
33317 char (*f) () = $ac_func;
33318 #endif
33319 #ifdef __cplusplus
33320 }
33321 #endif
33322
33323 int
33324 main ()
33325 {
33326 return f != $ac_func;
33327   ;
33328   return 0;
33329 }
33330 _ACEOF
33331 rm -f conftest.$ac_objext conftest$ac_exeext
33332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33333   (eval $ac_link) 2>&5
33334   ac_status=$?
33335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336   (exit $ac_status); } &&
33337          { ac_try='test -s conftest$ac_exeext'
33338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339   (eval $ac_try) 2>&5
33340   ac_status=$?
33341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342   (exit $ac_status); }; }; then
33343   eval "$as_ac_var=yes"
33344 else
33345   echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33347
33348 eval "$as_ac_var=no"
33349 fi
33350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33351 fi
33352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33354 if test `eval echo '${'$as_ac_var'}'` = yes; then
33355   cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33357 _ACEOF
33358
33359 fi
33360 done
33361
33362     fi
33363   fi
33364
33365
33366
33367   echo "$as_me:$LINENO: checking for modff declaration" >&5
33368 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
33369   if test x${glibcxx_cv_func_modff_use+set} != xset; then
33370     if test "${glibcxx_cv_func_modff_use+set}" = set; then
33371   echo $ECHO_N "(cached) $ECHO_C" >&6
33372 else
33373
33374
33375
33376       ac_ext=cc
33377 ac_cpp='$CXXCPP $CPPFLAGS'
33378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33381
33382       cat >conftest.$ac_ext <<_ACEOF
33383 #line $LINENO "configure"
33384 /* confdefs.h.  */
33385 _ACEOF
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h.  */
33389 #include <math.h>
33390 int
33391 main ()
33392 {
33393  modff(0, 0);
33394   ;
33395   return 0;
33396 }
33397 _ACEOF
33398 rm -f conftest.$ac_objext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33400   (eval $ac_compile) 2>&5
33401   ac_status=$?
33402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403   (exit $ac_status); } &&
33404          { ac_try='test -s conftest.$ac_objext'
33405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406   (eval $ac_try) 2>&5
33407   ac_status=$?
33408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409   (exit $ac_status); }; }; then
33410   glibcxx_cv_func_modff_use=yes
33411 else
33412   echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33414
33415 glibcxx_cv_func_modff_use=no
33416 fi
33417 rm -f conftest.$ac_objext conftest.$ac_ext
33418       ac_ext=c
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33423
33424
33425 fi
33426
33427   fi
33428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
33429 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
33430
33431   if test x$glibcxx_cv_func_modff_use = x"yes"; then
33432
33433 for ac_func in modff
33434 do
33435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33436 echo "$as_me:$LINENO: checking for $ac_func" >&5
33437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33438 if eval "test \"\${$as_ac_var+set}\" = set"; then
33439   echo $ECHO_N "(cached) $ECHO_C" >&6
33440 else
33441   cat >conftest.$ac_ext <<_ACEOF
33442 #line $LINENO "configure"
33443 /* confdefs.h.  */
33444 _ACEOF
33445 cat confdefs.h >>conftest.$ac_ext
33446 cat >>conftest.$ac_ext <<_ACEOF
33447 /* end confdefs.h.  */
33448 /* System header to define __stub macros and hopefully few prototypes,
33449     which can conflict with char $ac_func (); below.
33450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33451     <limits.h> exists even on freestanding compilers.  */
33452 #ifdef __STDC__
33453 # include <limits.h>
33454 #else
33455 # include <assert.h>
33456 #endif
33457 /* Override any gcc2 internal prototype to avoid an error.  */
33458 #ifdef __cplusplus
33459 extern "C"
33460 {
33461 #endif
33462 /* We use char because int might match the return type of a gcc2
33463    builtin and then its argument prototype would still apply.  */
33464 char $ac_func ();
33465 /* The GNU C library defines this for functions which it implements
33466     to always fail with ENOSYS.  Some functions are actually named
33467     something starting with __ and the normal name is an alias.  */
33468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33469 choke me
33470 #else
33471 char (*f) () = $ac_func;
33472 #endif
33473 #ifdef __cplusplus
33474 }
33475 #endif
33476
33477 int
33478 main ()
33479 {
33480 return f != $ac_func;
33481   ;
33482   return 0;
33483 }
33484 _ACEOF
33485 rm -f conftest.$ac_objext conftest$ac_exeext
33486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33487   (eval $ac_link) 2>&5
33488   ac_status=$?
33489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490   (exit $ac_status); } &&
33491          { ac_try='test -s conftest$ac_exeext'
33492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33493   (eval $ac_try) 2>&5
33494   ac_status=$?
33495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496   (exit $ac_status); }; }; then
33497   eval "$as_ac_var=yes"
33498 else
33499   echo "$as_me: failed program was:" >&5
33500 sed 's/^/| /' conftest.$ac_ext >&5
33501
33502 eval "$as_ac_var=no"
33503 fi
33504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33505 fi
33506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33508 if test `eval echo '${'$as_ac_var'}'` = yes; then
33509   cat >>confdefs.h <<_ACEOF
33510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33511 _ACEOF
33512
33513 fi
33514 done
33515
33516   else
33517
33518   echo "$as_me:$LINENO: checking for _modff declaration" >&5
33519 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
33520   if test x${glibcxx_cv_func__modff_use+set} != xset; then
33521     if test "${glibcxx_cv_func__modff_use+set}" = set; then
33522   echo $ECHO_N "(cached) $ECHO_C" >&6
33523 else
33524
33525
33526
33527       ac_ext=cc
33528 ac_cpp='$CXXCPP $CPPFLAGS'
33529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33532
33533       cat >conftest.$ac_ext <<_ACEOF
33534 #line $LINENO "configure"
33535 /* confdefs.h.  */
33536 _ACEOF
33537 cat confdefs.h >>conftest.$ac_ext
33538 cat >>conftest.$ac_ext <<_ACEOF
33539 /* end confdefs.h.  */
33540 #include <math.h>
33541 int
33542 main ()
33543 {
33544  _modff(0, 0);
33545   ;
33546   return 0;
33547 }
33548 _ACEOF
33549 rm -f conftest.$ac_objext
33550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33551   (eval $ac_compile) 2>&5
33552   ac_status=$?
33553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554   (exit $ac_status); } &&
33555          { ac_try='test -s conftest.$ac_objext'
33556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33557   (eval $ac_try) 2>&5
33558   ac_status=$?
33559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33560   (exit $ac_status); }; }; then
33561   glibcxx_cv_func__modff_use=yes
33562 else
33563   echo "$as_me: failed program was:" >&5
33564 sed 's/^/| /' conftest.$ac_ext >&5
33565
33566 glibcxx_cv_func__modff_use=no
33567 fi
33568 rm -f conftest.$ac_objext conftest.$ac_ext
33569       ac_ext=c
33570 ac_cpp='$CPP $CPPFLAGS'
33571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33574
33575
33576 fi
33577
33578   fi
33579   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
33580 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
33581
33582     if test x$glibcxx_cv_func__modff_use = x"yes"; then
33583
33584 for ac_func in _modff
33585 do
33586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33587 echo "$as_me:$LINENO: checking for $ac_func" >&5
33588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33589 if eval "test \"\${$as_ac_var+set}\" = set"; then
33590   echo $ECHO_N "(cached) $ECHO_C" >&6
33591 else
33592   cat >conftest.$ac_ext <<_ACEOF
33593 #line $LINENO "configure"
33594 /* confdefs.h.  */
33595 _ACEOF
33596 cat confdefs.h >>conftest.$ac_ext
33597 cat >>conftest.$ac_ext <<_ACEOF
33598 /* end confdefs.h.  */
33599 /* System header to define __stub macros and hopefully few prototypes,
33600     which can conflict with char $ac_func (); below.
33601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33602     <limits.h> exists even on freestanding compilers.  */
33603 #ifdef __STDC__
33604 # include <limits.h>
33605 #else
33606 # include <assert.h>
33607 #endif
33608 /* Override any gcc2 internal prototype to avoid an error.  */
33609 #ifdef __cplusplus
33610 extern "C"
33611 {
33612 #endif
33613 /* We use char because int might match the return type of a gcc2
33614    builtin and then its argument prototype would still apply.  */
33615 char $ac_func ();
33616 /* The GNU C library defines this for functions which it implements
33617     to always fail with ENOSYS.  Some functions are actually named
33618     something starting with __ and the normal name is an alias.  */
33619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33620 choke me
33621 #else
33622 char (*f) () = $ac_func;
33623 #endif
33624 #ifdef __cplusplus
33625 }
33626 #endif
33627
33628 int
33629 main ()
33630 {
33631 return f != $ac_func;
33632   ;
33633   return 0;
33634 }
33635 _ACEOF
33636 rm -f conftest.$ac_objext conftest$ac_exeext
33637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33638   (eval $ac_link) 2>&5
33639   ac_status=$?
33640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641   (exit $ac_status); } &&
33642          { ac_try='test -s conftest$ac_exeext'
33643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644   (eval $ac_try) 2>&5
33645   ac_status=$?
33646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647   (exit $ac_status); }; }; then
33648   eval "$as_ac_var=yes"
33649 else
33650   echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33652
33653 eval "$as_ac_var=no"
33654 fi
33655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33656 fi
33657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33659 if test `eval echo '${'$as_ac_var'}'` = yes; then
33660   cat >>confdefs.h <<_ACEOF
33661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33662 _ACEOF
33663
33664 fi
33665 done
33666
33667     fi
33668   fi
33669
33670
33671
33672   echo "$as_me:$LINENO: checking for powf declaration" >&5
33673 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
33674   if test x${glibcxx_cv_func_powf_use+set} != xset; then
33675     if test "${glibcxx_cv_func_powf_use+set}" = set; then
33676   echo $ECHO_N "(cached) $ECHO_C" >&6
33677 else
33678
33679
33680
33681       ac_ext=cc
33682 ac_cpp='$CXXCPP $CPPFLAGS'
33683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33686
33687       cat >conftest.$ac_ext <<_ACEOF
33688 #line $LINENO "configure"
33689 /* confdefs.h.  */
33690 _ACEOF
33691 cat confdefs.h >>conftest.$ac_ext
33692 cat >>conftest.$ac_ext <<_ACEOF
33693 /* end confdefs.h.  */
33694 #include <math.h>
33695 int
33696 main ()
33697 {
33698  powf(0, 0);
33699   ;
33700   return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext
33704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33705   (eval $ac_compile) 2>&5
33706   ac_status=$?
33707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708   (exit $ac_status); } &&
33709          { ac_try='test -s conftest.$ac_objext'
33710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33711   (eval $ac_try) 2>&5
33712   ac_status=$?
33713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714   (exit $ac_status); }; }; then
33715   glibcxx_cv_func_powf_use=yes
33716 else
33717   echo "$as_me: failed program was:" >&5
33718 sed 's/^/| /' conftest.$ac_ext >&5
33719
33720 glibcxx_cv_func_powf_use=no
33721 fi
33722 rm -f conftest.$ac_objext conftest.$ac_ext
33723       ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728
33729
33730 fi
33731
33732   fi
33733   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
33734 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
33735
33736   if test x$glibcxx_cv_func_powf_use = x"yes"; then
33737
33738 for ac_func in powf
33739 do
33740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33741 echo "$as_me:$LINENO: checking for $ac_func" >&5
33742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33743 if eval "test \"\${$as_ac_var+set}\" = set"; then
33744   echo $ECHO_N "(cached) $ECHO_C" >&6
33745 else
33746   cat >conftest.$ac_ext <<_ACEOF
33747 #line $LINENO "configure"
33748 /* confdefs.h.  */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h.  */
33753 /* System header to define __stub macros and hopefully few prototypes,
33754     which can conflict with char $ac_func (); below.
33755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33756     <limits.h> exists even on freestanding compilers.  */
33757 #ifdef __STDC__
33758 # include <limits.h>
33759 #else
33760 # include <assert.h>
33761 #endif
33762 /* Override any gcc2 internal prototype to avoid an error.  */
33763 #ifdef __cplusplus
33764 extern "C"
33765 {
33766 #endif
33767 /* We use char because int might match the return type of a gcc2
33768    builtin and then its argument prototype would still apply.  */
33769 char $ac_func ();
33770 /* The GNU C library defines this for functions which it implements
33771     to always fail with ENOSYS.  Some functions are actually named
33772     something starting with __ and the normal name is an alias.  */
33773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33774 choke me
33775 #else
33776 char (*f) () = $ac_func;
33777 #endif
33778 #ifdef __cplusplus
33779 }
33780 #endif
33781
33782 int
33783 main ()
33784 {
33785 return f != $ac_func;
33786   ;
33787   return 0;
33788 }
33789 _ACEOF
33790 rm -f conftest.$ac_objext conftest$ac_exeext
33791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33792   (eval $ac_link) 2>&5
33793   ac_status=$?
33794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795   (exit $ac_status); } &&
33796          { ac_try='test -s conftest$ac_exeext'
33797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798   (eval $ac_try) 2>&5
33799   ac_status=$?
33800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801   (exit $ac_status); }; }; then
33802   eval "$as_ac_var=yes"
33803 else
33804   echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33806
33807 eval "$as_ac_var=no"
33808 fi
33809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33810 fi
33811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33813 if test `eval echo '${'$as_ac_var'}'` = yes; then
33814   cat >>confdefs.h <<_ACEOF
33815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33816 _ACEOF
33817
33818 fi
33819 done
33820
33821   else
33822
33823   echo "$as_me:$LINENO: checking for _powf declaration" >&5
33824 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
33825   if test x${glibcxx_cv_func__powf_use+set} != xset; then
33826     if test "${glibcxx_cv_func__powf_use+set}" = set; then
33827   echo $ECHO_N "(cached) $ECHO_C" >&6
33828 else
33829
33830
33831
33832       ac_ext=cc
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837
33838       cat >conftest.$ac_ext <<_ACEOF
33839 #line $LINENO "configure"
33840 /* confdefs.h.  */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h.  */
33845 #include <math.h>
33846 int
33847 main ()
33848 {
33849  _powf(0, 0);
33850   ;
33851   return 0;
33852 }
33853 _ACEOF
33854 rm -f conftest.$ac_objext
33855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33856   (eval $ac_compile) 2>&5
33857   ac_status=$?
33858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859   (exit $ac_status); } &&
33860          { ac_try='test -s conftest.$ac_objext'
33861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862   (eval $ac_try) 2>&5
33863   ac_status=$?
33864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865   (exit $ac_status); }; }; then
33866   glibcxx_cv_func__powf_use=yes
33867 else
33868   echo "$as_me: failed program was:" >&5
33869 sed 's/^/| /' conftest.$ac_ext >&5
33870
33871 glibcxx_cv_func__powf_use=no
33872 fi
33873 rm -f conftest.$ac_objext conftest.$ac_ext
33874       ac_ext=c
33875 ac_cpp='$CPP $CPPFLAGS'
33876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33879
33880
33881 fi
33882
33883   fi
33884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
33885 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
33886
33887     if test x$glibcxx_cv_func__powf_use = x"yes"; then
33888
33889 for ac_func in _powf
33890 do
33891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33892 echo "$as_me:$LINENO: checking for $ac_func" >&5
33893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33894 if eval "test \"\${$as_ac_var+set}\" = set"; then
33895   echo $ECHO_N "(cached) $ECHO_C" >&6
33896 else
33897   cat >conftest.$ac_ext <<_ACEOF
33898 #line $LINENO "configure"
33899 /* confdefs.h.  */
33900 _ACEOF
33901 cat confdefs.h >>conftest.$ac_ext
33902 cat >>conftest.$ac_ext <<_ACEOF
33903 /* end confdefs.h.  */
33904 /* System header to define __stub macros and hopefully few prototypes,
33905     which can conflict with char $ac_func (); below.
33906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33907     <limits.h> exists even on freestanding compilers.  */
33908 #ifdef __STDC__
33909 # include <limits.h>
33910 #else
33911 # include <assert.h>
33912 #endif
33913 /* Override any gcc2 internal prototype to avoid an error.  */
33914 #ifdef __cplusplus
33915 extern "C"
33916 {
33917 #endif
33918 /* We use char because int might match the return type of a gcc2
33919    builtin and then its argument prototype would still apply.  */
33920 char $ac_func ();
33921 /* The GNU C library defines this for functions which it implements
33922     to always fail with ENOSYS.  Some functions are actually named
33923     something starting with __ and the normal name is an alias.  */
33924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33925 choke me
33926 #else
33927 char (*f) () = $ac_func;
33928 #endif
33929 #ifdef __cplusplus
33930 }
33931 #endif
33932
33933 int
33934 main ()
33935 {
33936 return f != $ac_func;
33937   ;
33938   return 0;
33939 }
33940 _ACEOF
33941 rm -f conftest.$ac_objext conftest$ac_exeext
33942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33943   (eval $ac_link) 2>&5
33944   ac_status=$?
33945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946   (exit $ac_status); } &&
33947          { ac_try='test -s conftest$ac_exeext'
33948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949   (eval $ac_try) 2>&5
33950   ac_status=$?
33951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952   (exit $ac_status); }; }; then
33953   eval "$as_ac_var=yes"
33954 else
33955   echo "$as_me: failed program was:" >&5
33956 sed 's/^/| /' conftest.$ac_ext >&5
33957
33958 eval "$as_ac_var=no"
33959 fi
33960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33961 fi
33962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33964 if test `eval echo '${'$as_ac_var'}'` = yes; then
33965   cat >>confdefs.h <<_ACEOF
33966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33967 _ACEOF
33968
33969 fi
33970 done
33971
33972     fi
33973   fi
33974
33975
33976
33977   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
33978 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
33979   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33980     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
33981   echo $ECHO_N "(cached) $ECHO_C" >&6
33982 else
33983
33984
33985
33986       ac_ext=cc
33987 ac_cpp='$CXXCPP $CPPFLAGS'
33988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33991
33992       cat >conftest.$ac_ext <<_ACEOF
33993 #line $LINENO "configure"
33994 /* confdefs.h.  */
33995 _ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h.  */
33999 #include <math.h>
34000                       #ifdef HAVE_IEEEFP_H
34001                       #include <ieeefp.h>
34002                       #endif
34003
34004 int
34005 main ()
34006 {
34007  sqrtf(0);
34008   ;
34009   return 0;
34010 }
34011 _ACEOF
34012 rm -f conftest.$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014   (eval $ac_compile) 2>&5
34015   ac_status=$?
34016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017   (exit $ac_status); } &&
34018          { ac_try='test -s conftest.$ac_objext'
34019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020   (eval $ac_try) 2>&5
34021   ac_status=$?
34022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023   (exit $ac_status); }; }; then
34024   glibcxx_cv_func_sqrtf_use=yes
34025 else
34026   echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34028
34029 glibcxx_cv_func_sqrtf_use=no
34030 fi
34031 rm -f conftest.$ac_objext conftest.$ac_ext
34032       ac_ext=c
34033 ac_cpp='$CPP $CPPFLAGS'
34034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037
34038
34039 fi
34040
34041   fi
34042   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
34043 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
34044
34045   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34046
34047 for ac_func in sqrtf
34048 do
34049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34050 echo "$as_me:$LINENO: checking for $ac_func" >&5
34051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34052 if eval "test \"\${$as_ac_var+set}\" = set"; then
34053   echo $ECHO_N "(cached) $ECHO_C" >&6
34054 else
34055   cat >conftest.$ac_ext <<_ACEOF
34056 #line $LINENO "configure"
34057 /* confdefs.h.  */
34058 _ACEOF
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h.  */
34062 /* System header to define __stub macros and hopefully few prototypes,
34063     which can conflict with char $ac_func (); below.
34064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34065     <limits.h> exists even on freestanding compilers.  */
34066 #ifdef __STDC__
34067 # include <limits.h>
34068 #else
34069 # include <assert.h>
34070 #endif
34071 /* Override any gcc2 internal prototype to avoid an error.  */
34072 #ifdef __cplusplus
34073 extern "C"
34074 {
34075 #endif
34076 /* We use char because int might match the return type of a gcc2
34077    builtin and then its argument prototype would still apply.  */
34078 char $ac_func ();
34079 /* The GNU C library defines this for functions which it implements
34080     to always fail with ENOSYS.  Some functions are actually named
34081     something starting with __ and the normal name is an alias.  */
34082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34083 choke me
34084 #else
34085 char (*f) () = $ac_func;
34086 #endif
34087 #ifdef __cplusplus
34088 }
34089 #endif
34090
34091 int
34092 main ()
34093 {
34094 return f != $ac_func;
34095   ;
34096   return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext conftest$ac_exeext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34101   (eval $ac_link) 2>&5
34102   ac_status=$?
34103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104   (exit $ac_status); } &&
34105          { ac_try='test -s conftest$ac_exeext'
34106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34107   (eval $ac_try) 2>&5
34108   ac_status=$?
34109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110   (exit $ac_status); }; }; then
34111   eval "$as_ac_var=yes"
34112 else
34113   echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.$ac_ext >&5
34115
34116 eval "$as_ac_var=no"
34117 fi
34118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34119 fi
34120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34122 if test `eval echo '${'$as_ac_var'}'` = yes; then
34123   cat >>confdefs.h <<_ACEOF
34124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34125 _ACEOF
34126
34127 fi
34128 done
34129
34130   else
34131
34132   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
34133 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
34134   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34135     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
34136   echo $ECHO_N "(cached) $ECHO_C" >&6
34137 else
34138
34139
34140
34141       ac_ext=cc
34142 ac_cpp='$CXXCPP $CPPFLAGS'
34143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34146
34147       cat >conftest.$ac_ext <<_ACEOF
34148 #line $LINENO "configure"
34149 /* confdefs.h.  */
34150 _ACEOF
34151 cat confdefs.h >>conftest.$ac_ext
34152 cat >>conftest.$ac_ext <<_ACEOF
34153 /* end confdefs.h.  */
34154 #include <math.h>
34155                       #ifdef HAVE_IEEEFP_H
34156                       #include <ieeefp.h>
34157                       #endif
34158
34159 int
34160 main ()
34161 {
34162  _sqrtf(0);
34163   ;
34164   return 0;
34165 }
34166 _ACEOF
34167 rm -f conftest.$ac_objext
34168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34169   (eval $ac_compile) 2>&5
34170   ac_status=$?
34171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172   (exit $ac_status); } &&
34173          { ac_try='test -s conftest.$ac_objext'
34174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175   (eval $ac_try) 2>&5
34176   ac_status=$?
34177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178   (exit $ac_status); }; }; then
34179   glibcxx_cv_func__sqrtf_use=yes
34180 else
34181   echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34183
34184 glibcxx_cv_func__sqrtf_use=no
34185 fi
34186 rm -f conftest.$ac_objext conftest.$ac_ext
34187       ac_ext=c
34188 ac_cpp='$CPP $CPPFLAGS'
34189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34192
34193
34194 fi
34195
34196   fi
34197   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
34198 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
34199
34200     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
34201
34202 for ac_func in _sqrtf
34203 do
34204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34205 echo "$as_me:$LINENO: checking for $ac_func" >&5
34206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34207 if eval "test \"\${$as_ac_var+set}\" = set"; then
34208   echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210   cat >conftest.$ac_ext <<_ACEOF
34211 #line $LINENO "configure"
34212 /* confdefs.h.  */
34213 _ACEOF
34214 cat confdefs.h >>conftest.$ac_ext
34215 cat >>conftest.$ac_ext <<_ACEOF
34216 /* end confdefs.h.  */
34217 /* System header to define __stub macros and hopefully few prototypes,
34218     which can conflict with char $ac_func (); below.
34219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34220     <limits.h> exists even on freestanding compilers.  */
34221 #ifdef __STDC__
34222 # include <limits.h>
34223 #else
34224 # include <assert.h>
34225 #endif
34226 /* Override any gcc2 internal prototype to avoid an error.  */
34227 #ifdef __cplusplus
34228 extern "C"
34229 {
34230 #endif
34231 /* We use char because int might match the return type of a gcc2
34232    builtin and then its argument prototype would still apply.  */
34233 char $ac_func ();
34234 /* The GNU C library defines this for functions which it implements
34235     to always fail with ENOSYS.  Some functions are actually named
34236     something starting with __ and the normal name is an alias.  */
34237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34238 choke me
34239 #else
34240 char (*f) () = $ac_func;
34241 #endif
34242 #ifdef __cplusplus
34243 }
34244 #endif
34245
34246 int
34247 main ()
34248 {
34249 return f != $ac_func;
34250   ;
34251   return 0;
34252 }
34253 _ACEOF
34254 rm -f conftest.$ac_objext conftest$ac_exeext
34255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34256   (eval $ac_link) 2>&5
34257   ac_status=$?
34258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259   (exit $ac_status); } &&
34260          { ac_try='test -s conftest$ac_exeext'
34261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262   (eval $ac_try) 2>&5
34263   ac_status=$?
34264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265   (exit $ac_status); }; }; then
34266   eval "$as_ac_var=yes"
34267 else
34268   echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34270
34271 eval "$as_ac_var=no"
34272 fi
34273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34274 fi
34275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34277 if test `eval echo '${'$as_ac_var'}'` = yes; then
34278   cat >>confdefs.h <<_ACEOF
34279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34280 _ACEOF
34281
34282 fi
34283 done
34284
34285     fi
34286   fi
34287
34288
34289
34290   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
34291 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
34292   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
34293     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
34294   echo $ECHO_N "(cached) $ECHO_C" >&6
34295 else
34296
34297
34298
34299       ac_ext=cc
34300 ac_cpp='$CXXCPP $CPPFLAGS'
34301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34304
34305       cat >conftest.$ac_ext <<_ACEOF
34306 #line $LINENO "configure"
34307 /* confdefs.h.  */
34308 _ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h.  */
34312 #include <math.h>
34313 int
34314 main ()
34315 {
34316  sincosf(0, 0, 0);
34317   ;
34318   return 0;
34319 }
34320 _ACEOF
34321 rm -f conftest.$ac_objext
34322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34323   (eval $ac_compile) 2>&5
34324   ac_status=$?
34325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326   (exit $ac_status); } &&
34327          { ac_try='test -s conftest.$ac_objext'
34328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329   (eval $ac_try) 2>&5
34330   ac_status=$?
34331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332   (exit $ac_status); }; }; then
34333   glibcxx_cv_func_sincosf_use=yes
34334 else
34335   echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.$ac_ext >&5
34337
34338 glibcxx_cv_func_sincosf_use=no
34339 fi
34340 rm -f conftest.$ac_objext conftest.$ac_ext
34341       ac_ext=c
34342 ac_cpp='$CPP $CPPFLAGS'
34343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34346
34347
34348 fi
34349
34350   fi
34351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
34352 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
34353
34354   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
34355
34356 for ac_func in sincosf
34357 do
34358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34359 echo "$as_me:$LINENO: checking for $ac_func" >&5
34360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34361 if eval "test \"\${$as_ac_var+set}\" = set"; then
34362   echo $ECHO_N "(cached) $ECHO_C" >&6
34363 else
34364   cat >conftest.$ac_ext <<_ACEOF
34365 #line $LINENO "configure"
34366 /* confdefs.h.  */
34367 _ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h.  */
34371 /* System header to define __stub macros and hopefully few prototypes,
34372     which can conflict with char $ac_func (); below.
34373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34374     <limits.h> exists even on freestanding compilers.  */
34375 #ifdef __STDC__
34376 # include <limits.h>
34377 #else
34378 # include <assert.h>
34379 #endif
34380 /* Override any gcc2 internal prototype to avoid an error.  */
34381 #ifdef __cplusplus
34382 extern "C"
34383 {
34384 #endif
34385 /* We use char because int might match the return type of a gcc2
34386    builtin and then its argument prototype would still apply.  */
34387 char $ac_func ();
34388 /* The GNU C library defines this for functions which it implements
34389     to always fail with ENOSYS.  Some functions are actually named
34390     something starting with __ and the normal name is an alias.  */
34391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34392 choke me
34393 #else
34394 char (*f) () = $ac_func;
34395 #endif
34396 #ifdef __cplusplus
34397 }
34398 #endif
34399
34400 int
34401 main ()
34402 {
34403 return f != $ac_func;
34404   ;
34405   return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34410   (eval $ac_link) 2>&5
34411   ac_status=$?
34412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413   (exit $ac_status); } &&
34414          { ac_try='test -s conftest$ac_exeext'
34415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416   (eval $ac_try) 2>&5
34417   ac_status=$?
34418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419   (exit $ac_status); }; }; then
34420   eval "$as_ac_var=yes"
34421 else
34422   echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.$ac_ext >&5
34424
34425 eval "$as_ac_var=no"
34426 fi
34427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34428 fi
34429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34431 if test `eval echo '${'$as_ac_var'}'` = yes; then
34432   cat >>confdefs.h <<_ACEOF
34433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34434 _ACEOF
34435
34436 fi
34437 done
34438
34439   else
34440
34441   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
34442 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
34443   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
34444     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
34445   echo $ECHO_N "(cached) $ECHO_C" >&6
34446 else
34447
34448
34449
34450       ac_ext=cc
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455
34456       cat >conftest.$ac_ext <<_ACEOF
34457 #line $LINENO "configure"
34458 /* confdefs.h.  */
34459 _ACEOF
34460 cat confdefs.h >>conftest.$ac_ext
34461 cat >>conftest.$ac_ext <<_ACEOF
34462 /* end confdefs.h.  */
34463 #include <math.h>
34464 int
34465 main ()
34466 {
34467  _sincosf(0, 0, 0);
34468   ;
34469   return 0;
34470 }
34471 _ACEOF
34472 rm -f conftest.$ac_objext
34473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34474   (eval $ac_compile) 2>&5
34475   ac_status=$?
34476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477   (exit $ac_status); } &&
34478          { ac_try='test -s conftest.$ac_objext'
34479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480   (eval $ac_try) 2>&5
34481   ac_status=$?
34482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483   (exit $ac_status); }; }; then
34484   glibcxx_cv_func__sincosf_use=yes
34485 else
34486   echo "$as_me: failed program was:" >&5
34487 sed 's/^/| /' conftest.$ac_ext >&5
34488
34489 glibcxx_cv_func__sincosf_use=no
34490 fi
34491 rm -f conftest.$ac_objext conftest.$ac_ext
34492       ac_ext=c
34493 ac_cpp='$CPP $CPPFLAGS'
34494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34497
34498
34499 fi
34500
34501   fi
34502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
34503 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
34504
34505     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
34506
34507 for ac_func in _sincosf
34508 do
34509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34510 echo "$as_me:$LINENO: checking for $ac_func" >&5
34511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34512 if eval "test \"\${$as_ac_var+set}\" = set"; then
34513   echo $ECHO_N "(cached) $ECHO_C" >&6
34514 else
34515   cat >conftest.$ac_ext <<_ACEOF
34516 #line $LINENO "configure"
34517 /* confdefs.h.  */
34518 _ACEOF
34519 cat confdefs.h >>conftest.$ac_ext
34520 cat >>conftest.$ac_ext <<_ACEOF
34521 /* end confdefs.h.  */
34522 /* System header to define __stub macros and hopefully few prototypes,
34523     which can conflict with char $ac_func (); below.
34524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34525     <limits.h> exists even on freestanding compilers.  */
34526 #ifdef __STDC__
34527 # include <limits.h>
34528 #else
34529 # include <assert.h>
34530 #endif
34531 /* Override any gcc2 internal prototype to avoid an error.  */
34532 #ifdef __cplusplus
34533 extern "C"
34534 {
34535 #endif
34536 /* We use char because int might match the return type of a gcc2
34537    builtin and then its argument prototype would still apply.  */
34538 char $ac_func ();
34539 /* The GNU C library defines this for functions which it implements
34540     to always fail with ENOSYS.  Some functions are actually named
34541     something starting with __ and the normal name is an alias.  */
34542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34543 choke me
34544 #else
34545 char (*f) () = $ac_func;
34546 #endif
34547 #ifdef __cplusplus
34548 }
34549 #endif
34550
34551 int
34552 main ()
34553 {
34554 return f != $ac_func;
34555   ;
34556   return 0;
34557 }
34558 _ACEOF
34559 rm -f conftest.$ac_objext conftest$ac_exeext
34560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34561   (eval $ac_link) 2>&5
34562   ac_status=$?
34563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564   (exit $ac_status); } &&
34565          { ac_try='test -s conftest$ac_exeext'
34566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567   (eval $ac_try) 2>&5
34568   ac_status=$?
34569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570   (exit $ac_status); }; }; then
34571   eval "$as_ac_var=yes"
34572 else
34573   echo "$as_me: failed program was:" >&5
34574 sed 's/^/| /' conftest.$ac_ext >&5
34575
34576 eval "$as_ac_var=no"
34577 fi
34578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34579 fi
34580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34582 if test `eval echo '${'$as_ac_var'}'` = yes; then
34583   cat >>confdefs.h <<_ACEOF
34584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34585 _ACEOF
34586
34587 fi
34588 done
34589
34590     fi
34591   fi
34592
34593
34594
34595   echo "$as_me:$LINENO: checking for finitef declaration" >&5
34596 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
34597   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
34598     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
34599   echo $ECHO_N "(cached) $ECHO_C" >&6
34600 else
34601
34602
34603
34604       ac_ext=cc
34605 ac_cpp='$CXXCPP $CPPFLAGS'
34606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34609
34610       cat >conftest.$ac_ext <<_ACEOF
34611 #line $LINENO "configure"
34612 /* confdefs.h.  */
34613 _ACEOF
34614 cat confdefs.h >>conftest.$ac_ext
34615 cat >>conftest.$ac_ext <<_ACEOF
34616 /* end confdefs.h.  */
34617 #include <math.h>
34618                       #ifdef HAVE_IEEEFP_H
34619                       #include <ieeefp.h>
34620                       #endif
34621
34622 int
34623 main ()
34624 {
34625  finitef(0);
34626   ;
34627   return 0;
34628 }
34629 _ACEOF
34630 rm -f conftest.$ac_objext
34631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34632   (eval $ac_compile) 2>&5
34633   ac_status=$?
34634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635   (exit $ac_status); } &&
34636          { ac_try='test -s conftest.$ac_objext'
34637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638   (eval $ac_try) 2>&5
34639   ac_status=$?
34640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641   (exit $ac_status); }; }; then
34642   glibcxx_cv_func_finitef_use=yes
34643 else
34644   echo "$as_me: failed program was:" >&5
34645 sed 's/^/| /' conftest.$ac_ext >&5
34646
34647 glibcxx_cv_func_finitef_use=no
34648 fi
34649 rm -f conftest.$ac_objext conftest.$ac_ext
34650       ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655
34656
34657 fi
34658
34659   fi
34660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
34661 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
34662
34663   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
34664
34665 for ac_func in finitef
34666 do
34667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34668 echo "$as_me:$LINENO: checking for $ac_func" >&5
34669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34670 if eval "test \"\${$as_ac_var+set}\" = set"; then
34671   echo $ECHO_N "(cached) $ECHO_C" >&6
34672 else
34673   cat >conftest.$ac_ext <<_ACEOF
34674 #line $LINENO "configure"
34675 /* confdefs.h.  */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h.  */
34680 /* System header to define __stub macros and hopefully few prototypes,
34681     which can conflict with char $ac_func (); below.
34682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34683     <limits.h> exists even on freestanding compilers.  */
34684 #ifdef __STDC__
34685 # include <limits.h>
34686 #else
34687 # include <assert.h>
34688 #endif
34689 /* Override any gcc2 internal prototype to avoid an error.  */
34690 #ifdef __cplusplus
34691 extern "C"
34692 {
34693 #endif
34694 /* We use char because int might match the return type of a gcc2
34695    builtin and then its argument prototype would still apply.  */
34696 char $ac_func ();
34697 /* The GNU C library defines this for functions which it implements
34698     to always fail with ENOSYS.  Some functions are actually named
34699     something starting with __ and the normal name is an alias.  */
34700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34701 choke me
34702 #else
34703 char (*f) () = $ac_func;
34704 #endif
34705 #ifdef __cplusplus
34706 }
34707 #endif
34708
34709 int
34710 main ()
34711 {
34712 return f != $ac_func;
34713   ;
34714   return 0;
34715 }
34716 _ACEOF
34717 rm -f conftest.$ac_objext conftest$ac_exeext
34718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34719   (eval $ac_link) 2>&5
34720   ac_status=$?
34721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722   (exit $ac_status); } &&
34723          { ac_try='test -s conftest$ac_exeext'
34724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34725   (eval $ac_try) 2>&5
34726   ac_status=$?
34727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728   (exit $ac_status); }; }; then
34729   eval "$as_ac_var=yes"
34730 else
34731   echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34733
34734 eval "$as_ac_var=no"
34735 fi
34736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34737 fi
34738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34740 if test `eval echo '${'$as_ac_var'}'` = yes; then
34741   cat >>confdefs.h <<_ACEOF
34742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34743 _ACEOF
34744
34745 fi
34746 done
34747
34748   else
34749
34750   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
34751 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
34752   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
34753     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
34754   echo $ECHO_N "(cached) $ECHO_C" >&6
34755 else
34756
34757
34758
34759       ac_ext=cc
34760 ac_cpp='$CXXCPP $CPPFLAGS'
34761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764
34765       cat >conftest.$ac_ext <<_ACEOF
34766 #line $LINENO "configure"
34767 /* confdefs.h.  */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h.  */
34772 #include <math.h>
34773                       #ifdef HAVE_IEEEFP_H
34774                       #include <ieeefp.h>
34775                       #endif
34776
34777 int
34778 main ()
34779 {
34780  _finitef(0);
34781   ;
34782   return 0;
34783 }
34784 _ACEOF
34785 rm -f conftest.$ac_objext
34786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34787   (eval $ac_compile) 2>&5
34788   ac_status=$?
34789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790   (exit $ac_status); } &&
34791          { ac_try='test -s conftest.$ac_objext'
34792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793   (eval $ac_try) 2>&5
34794   ac_status=$?
34795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796   (exit $ac_status); }; }; then
34797   glibcxx_cv_func__finitef_use=yes
34798 else
34799   echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34801
34802 glibcxx_cv_func__finitef_use=no
34803 fi
34804 rm -f conftest.$ac_objext conftest.$ac_ext
34805       ac_ext=c
34806 ac_cpp='$CPP $CPPFLAGS'
34807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34810
34811
34812 fi
34813
34814   fi
34815   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
34816 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
34817
34818     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
34819
34820 for ac_func in _finitef
34821 do
34822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34823 echo "$as_me:$LINENO: checking for $ac_func" >&5
34824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34825 if eval "test \"\${$as_ac_var+set}\" = set"; then
34826   echo $ECHO_N "(cached) $ECHO_C" >&6
34827 else
34828   cat >conftest.$ac_ext <<_ACEOF
34829 #line $LINENO "configure"
34830 /* confdefs.h.  */
34831 _ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h.  */
34835 /* System header to define __stub macros and hopefully few prototypes,
34836     which can conflict with char $ac_func (); below.
34837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34838     <limits.h> exists even on freestanding compilers.  */
34839 #ifdef __STDC__
34840 # include <limits.h>
34841 #else
34842 # include <assert.h>
34843 #endif
34844 /* Override any gcc2 internal prototype to avoid an error.  */
34845 #ifdef __cplusplus
34846 extern "C"
34847 {
34848 #endif
34849 /* We use char because int might match the return type of a gcc2
34850    builtin and then its argument prototype would still apply.  */
34851 char $ac_func ();
34852 /* The GNU C library defines this for functions which it implements
34853     to always fail with ENOSYS.  Some functions are actually named
34854     something starting with __ and the normal name is an alias.  */
34855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34856 choke me
34857 #else
34858 char (*f) () = $ac_func;
34859 #endif
34860 #ifdef __cplusplus
34861 }
34862 #endif
34863
34864 int
34865 main ()
34866 {
34867 return f != $ac_func;
34868   ;
34869   return 0;
34870 }
34871 _ACEOF
34872 rm -f conftest.$ac_objext conftest$ac_exeext
34873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34874   (eval $ac_link) 2>&5
34875   ac_status=$?
34876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877   (exit $ac_status); } &&
34878          { ac_try='test -s conftest$ac_exeext'
34879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34880   (eval $ac_try) 2>&5
34881   ac_status=$?
34882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883   (exit $ac_status); }; }; then
34884   eval "$as_ac_var=yes"
34885 else
34886   echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34888
34889 eval "$as_ac_var=no"
34890 fi
34891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34892 fi
34893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896   cat >>confdefs.h <<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 _ACEOF
34899
34900 fi
34901 done
34902
34903     fi
34904   fi
34905
34906
34907
34908   echo "$as_me:$LINENO: checking for long double trig functions" >&5
34909 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
34910   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
34911   echo $ECHO_N "(cached) $ECHO_C" >&6
34912 else
34913
34914
34915
34916     ac_ext=cc
34917 ac_cpp='$CXXCPP $CPPFLAGS'
34918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34921
34922     cat >conftest.$ac_ext <<_ACEOF
34923 #line $LINENO "configure"
34924 /* confdefs.h.  */
34925 _ACEOF
34926 cat confdefs.h >>conftest.$ac_ext
34927 cat >>conftest.$ac_ext <<_ACEOF
34928 /* end confdefs.h.  */
34929 #include <math.h>
34930 int
34931 main ()
34932 {
34933  `for x in acosl asinl atanl \
34934                                           cosl sinl tanl \
34935                                           coshl sinhl tanhl; do echo "$x (0);"; done`
34936   ;
34937   return 0;
34938 }
34939 _ACEOF
34940 rm -f conftest.$ac_objext
34941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34942   (eval $ac_compile) 2>&5
34943   ac_status=$?
34944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945   (exit $ac_status); } &&
34946          { ac_try='test -s conftest.$ac_objext'
34947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948   (eval $ac_try) 2>&5
34949   ac_status=$?
34950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951   (exit $ac_status); }; }; then
34952   glibcxx_cv_func_long_double_trig_use=yes
34953 else
34954   echo "$as_me: failed program was:" >&5
34955 sed 's/^/| /' conftest.$ac_ext >&5
34956
34957 glibcxx_cv_func_long_double_trig_use=no
34958 fi
34959 rm -f conftest.$ac_objext conftest.$ac_ext
34960     ac_ext=c
34961 ac_cpp='$CPP $CPPFLAGS'
34962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34965
34966 fi
34967
34968   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
34969 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
34970   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980 for ac_func in acosl asinl atanl \
34981                                           cosl sinl tanl \
34982                                           coshl sinhl tanhl
34983 do
34984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34985 echo "$as_me:$LINENO: checking for $ac_func" >&5
34986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34987 if eval "test \"\${$as_ac_var+set}\" = set"; then
34988   echo $ECHO_N "(cached) $ECHO_C" >&6
34989 else
34990   cat >conftest.$ac_ext <<_ACEOF
34991 #line $LINENO "configure"
34992 /* confdefs.h.  */
34993 _ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h.  */
34997 /* System header to define __stub macros and hopefully few prototypes,
34998     which can conflict with char $ac_func (); below.
34999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35000     <limits.h> exists even on freestanding compilers.  */
35001 #ifdef __STDC__
35002 # include <limits.h>
35003 #else
35004 # include <assert.h>
35005 #endif
35006 /* Override any gcc2 internal prototype to avoid an error.  */
35007 #ifdef __cplusplus
35008 extern "C"
35009 {
35010 #endif
35011 /* We use char because int might match the return type of a gcc2
35012    builtin and then its argument prototype would still apply.  */
35013 char $ac_func ();
35014 /* The GNU C library defines this for functions which it implements
35015     to always fail with ENOSYS.  Some functions are actually named
35016     something starting with __ and the normal name is an alias.  */
35017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35018 choke me
35019 #else
35020 char (*f) () = $ac_func;
35021 #endif
35022 #ifdef __cplusplus
35023 }
35024 #endif
35025
35026 int
35027 main ()
35028 {
35029 return f != $ac_func;
35030   ;
35031   return 0;
35032 }
35033 _ACEOF
35034 rm -f conftest.$ac_objext conftest$ac_exeext
35035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35036   (eval $ac_link) 2>&5
35037   ac_status=$?
35038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039   (exit $ac_status); } &&
35040          { ac_try='test -s conftest$ac_exeext'
35041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042   (eval $ac_try) 2>&5
35043   ac_status=$?
35044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045   (exit $ac_status); }; }; then
35046   eval "$as_ac_var=yes"
35047 else
35048   echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051 eval "$as_ac_var=no"
35052 fi
35053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35054 fi
35055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35057 if test `eval echo '${'$as_ac_var'}'` = yes; then
35058   cat >>confdefs.h <<_ACEOF
35059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 _ACEOF
35061
35062 fi
35063 done
35064
35065   fi
35066
35067
35068   echo "$as_me:$LINENO: checking for long double round functions" >&5
35069 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
35070   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
35071   echo $ECHO_N "(cached) $ECHO_C" >&6
35072 else
35073
35074
35075
35076     ac_ext=cc
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35081
35082     cat >conftest.$ac_ext <<_ACEOF
35083 #line $LINENO "configure"
35084 /* confdefs.h.  */
35085 _ACEOF
35086 cat confdefs.h >>conftest.$ac_ext
35087 cat >>conftest.$ac_ext <<_ACEOF
35088 /* end confdefs.h.  */
35089 #include <math.h>
35090 int
35091 main ()
35092 {
35093  `for x in ceill floorl; do echo "$x (0);"; done`
35094   ;
35095   return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35100   (eval $ac_compile) 2>&5
35101   ac_status=$?
35102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103   (exit $ac_status); } &&
35104          { ac_try='test -s conftest.$ac_objext'
35105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35106   (eval $ac_try) 2>&5
35107   ac_status=$?
35108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109   (exit $ac_status); }; }; then
35110   glibcxx_cv_func_long_double_round_use=yes
35111 else
35112   echo "$as_me: failed program was:" >&5
35113 sed 's/^/| /' conftest.$ac_ext >&5
35114
35115 glibcxx_cv_func_long_double_round_use=no
35116 fi
35117 rm -f conftest.$ac_objext conftest.$ac_ext
35118     ac_ext=c
35119 ac_cpp='$CPP $CPPFLAGS'
35120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35123
35124 fi
35125
35126   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
35127 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
35128   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35129
35130
35131 for ac_func in ceill floorl
35132 do
35133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35134 echo "$as_me:$LINENO: checking for $ac_func" >&5
35135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35136 if eval "test \"\${$as_ac_var+set}\" = set"; then
35137   echo $ECHO_N "(cached) $ECHO_C" >&6
35138 else
35139   cat >conftest.$ac_ext <<_ACEOF
35140 #line $LINENO "configure"
35141 /* confdefs.h.  */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h.  */
35146 /* System header to define __stub macros and hopefully few prototypes,
35147     which can conflict with char $ac_func (); below.
35148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35149     <limits.h> exists even on freestanding compilers.  */
35150 #ifdef __STDC__
35151 # include <limits.h>
35152 #else
35153 # include <assert.h>
35154 #endif
35155 /* Override any gcc2 internal prototype to avoid an error.  */
35156 #ifdef __cplusplus
35157 extern "C"
35158 {
35159 #endif
35160 /* We use char because int might match the return type of a gcc2
35161    builtin and then its argument prototype would still apply.  */
35162 char $ac_func ();
35163 /* The GNU C library defines this for functions which it implements
35164     to always fail with ENOSYS.  Some functions are actually named
35165     something starting with __ and the normal name is an alias.  */
35166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35167 choke me
35168 #else
35169 char (*f) () = $ac_func;
35170 #endif
35171 #ifdef __cplusplus
35172 }
35173 #endif
35174
35175 int
35176 main ()
35177 {
35178 return f != $ac_func;
35179   ;
35180   return 0;
35181 }
35182 _ACEOF
35183 rm -f conftest.$ac_objext conftest$ac_exeext
35184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35185   (eval $ac_link) 2>&5
35186   ac_status=$?
35187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188   (exit $ac_status); } &&
35189          { ac_try='test -s conftest$ac_exeext'
35190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191   (eval $ac_try) 2>&5
35192   ac_status=$?
35193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194   (exit $ac_status); }; }; then
35195   eval "$as_ac_var=yes"
35196 else
35197   echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35199
35200 eval "$as_ac_var=no"
35201 fi
35202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35203 fi
35204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35206 if test `eval echo '${'$as_ac_var'}'` = yes; then
35207   cat >>confdefs.h <<_ACEOF
35208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35209 _ACEOF
35210
35211 fi
35212 done
35213
35214   fi
35215
35216
35217
35218   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
35219 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
35220   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35221     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
35222   echo $ECHO_N "(cached) $ECHO_C" >&6
35223 else
35224
35225
35226
35227       ac_ext=cc
35228 ac_cpp='$CXXCPP $CPPFLAGS'
35229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232
35233       cat >conftest.$ac_ext <<_ACEOF
35234 #line $LINENO "configure"
35235 /* confdefs.h.  */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h.  */
35240 #include <math.h>
35241                       #ifdef HAVE_IEEEFP_H
35242                       #include <ieeefp.h>
35243                       #endif
35244
35245 int
35246 main ()
35247 {
35248  isnanl(0);
35249   ;
35250   return 0;
35251 }
35252 _ACEOF
35253 rm -f conftest.$ac_objext
35254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35255   (eval $ac_compile) 2>&5
35256   ac_status=$?
35257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258   (exit $ac_status); } &&
35259          { ac_try='test -s conftest.$ac_objext'
35260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261   (eval $ac_try) 2>&5
35262   ac_status=$?
35263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264   (exit $ac_status); }; }; then
35265   glibcxx_cv_func_isnanl_use=yes
35266 else
35267   echo "$as_me: failed program was:" >&5
35268 sed 's/^/| /' conftest.$ac_ext >&5
35269
35270 glibcxx_cv_func_isnanl_use=no
35271 fi
35272 rm -f conftest.$ac_objext conftest.$ac_ext
35273       ac_ext=c
35274 ac_cpp='$CPP $CPPFLAGS'
35275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278
35279
35280 fi
35281
35282   fi
35283   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
35284 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
35285
35286   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35287
35288 for ac_func in isnanl
35289 do
35290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35291 echo "$as_me:$LINENO: checking for $ac_func" >&5
35292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35293 if eval "test \"\${$as_ac_var+set}\" = set"; then
35294   echo $ECHO_N "(cached) $ECHO_C" >&6
35295 else
35296   cat >conftest.$ac_ext <<_ACEOF
35297 #line $LINENO "configure"
35298 /* confdefs.h.  */
35299 _ACEOF
35300 cat confdefs.h >>conftest.$ac_ext
35301 cat >>conftest.$ac_ext <<_ACEOF
35302 /* end confdefs.h.  */
35303 /* System header to define __stub macros and hopefully few prototypes,
35304     which can conflict with char $ac_func (); below.
35305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35306     <limits.h> exists even on freestanding compilers.  */
35307 #ifdef __STDC__
35308 # include <limits.h>
35309 #else
35310 # include <assert.h>
35311 #endif
35312 /* Override any gcc2 internal prototype to avoid an error.  */
35313 #ifdef __cplusplus
35314 extern "C"
35315 {
35316 #endif
35317 /* We use char because int might match the return type of a gcc2
35318    builtin and then its argument prototype would still apply.  */
35319 char $ac_func ();
35320 /* The GNU C library defines this for functions which it implements
35321     to always fail with ENOSYS.  Some functions are actually named
35322     something starting with __ and the normal name is an alias.  */
35323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35324 choke me
35325 #else
35326 char (*f) () = $ac_func;
35327 #endif
35328 #ifdef __cplusplus
35329 }
35330 #endif
35331
35332 int
35333 main ()
35334 {
35335 return f != $ac_func;
35336   ;
35337   return 0;
35338 }
35339 _ACEOF
35340 rm -f conftest.$ac_objext conftest$ac_exeext
35341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35342   (eval $ac_link) 2>&5
35343   ac_status=$?
35344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345   (exit $ac_status); } &&
35346          { ac_try='test -s conftest$ac_exeext'
35347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348   (eval $ac_try) 2>&5
35349   ac_status=$?
35350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351   (exit $ac_status); }; }; then
35352   eval "$as_ac_var=yes"
35353 else
35354   echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.$ac_ext >&5
35356
35357 eval "$as_ac_var=no"
35358 fi
35359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35360 fi
35361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35363 if test `eval echo '${'$as_ac_var'}'` = yes; then
35364   cat >>confdefs.h <<_ACEOF
35365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35366 _ACEOF
35367
35368 fi
35369 done
35370
35371   else
35372
35373   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
35374 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
35375   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35376     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
35377   echo $ECHO_N "(cached) $ECHO_C" >&6
35378 else
35379
35380
35381
35382       ac_ext=cc
35383 ac_cpp='$CXXCPP $CPPFLAGS'
35384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387
35388       cat >conftest.$ac_ext <<_ACEOF
35389 #line $LINENO "configure"
35390 /* confdefs.h.  */
35391 _ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h.  */
35395 #include <math.h>
35396                       #ifdef HAVE_IEEEFP_H
35397                       #include <ieeefp.h>
35398                       #endif
35399
35400 int
35401 main ()
35402 {
35403  _isnanl(0);
35404   ;
35405   return 0;
35406 }
35407 _ACEOF
35408 rm -f conftest.$ac_objext
35409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35410   (eval $ac_compile) 2>&5
35411   ac_status=$?
35412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413   (exit $ac_status); } &&
35414          { ac_try='test -s conftest.$ac_objext'
35415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416   (eval $ac_try) 2>&5
35417   ac_status=$?
35418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419   (exit $ac_status); }; }; then
35420   glibcxx_cv_func__isnanl_use=yes
35421 else
35422   echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35424
35425 glibcxx_cv_func__isnanl_use=no
35426 fi
35427 rm -f conftest.$ac_objext conftest.$ac_ext
35428       ac_ext=c
35429 ac_cpp='$CPP $CPPFLAGS'
35430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35433
35434
35435 fi
35436
35437   fi
35438   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
35439 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
35440
35441     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35442
35443 for ac_func in _isnanl
35444 do
35445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35446 echo "$as_me:$LINENO: checking for $ac_func" >&5
35447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35448 if eval "test \"\${$as_ac_var+set}\" = set"; then
35449   echo $ECHO_N "(cached) $ECHO_C" >&6
35450 else
35451   cat >conftest.$ac_ext <<_ACEOF
35452 #line $LINENO "configure"
35453 /* confdefs.h.  */
35454 _ACEOF
35455 cat confdefs.h >>conftest.$ac_ext
35456 cat >>conftest.$ac_ext <<_ACEOF
35457 /* end confdefs.h.  */
35458 /* System header to define __stub macros and hopefully few prototypes,
35459     which can conflict with char $ac_func (); below.
35460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35461     <limits.h> exists even on freestanding compilers.  */
35462 #ifdef __STDC__
35463 # include <limits.h>
35464 #else
35465 # include <assert.h>
35466 #endif
35467 /* Override any gcc2 internal prototype to avoid an error.  */
35468 #ifdef __cplusplus
35469 extern "C"
35470 {
35471 #endif
35472 /* We use char because int might match the return type of a gcc2
35473    builtin and then its argument prototype would still apply.  */
35474 char $ac_func ();
35475 /* The GNU C library defines this for functions which it implements
35476     to always fail with ENOSYS.  Some functions are actually named
35477     something starting with __ and the normal name is an alias.  */
35478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35479 choke me
35480 #else
35481 char (*f) () = $ac_func;
35482 #endif
35483 #ifdef __cplusplus
35484 }
35485 #endif
35486
35487 int
35488 main ()
35489 {
35490 return f != $ac_func;
35491   ;
35492   return 0;
35493 }
35494 _ACEOF
35495 rm -f conftest.$ac_objext conftest$ac_exeext
35496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35497   (eval $ac_link) 2>&5
35498   ac_status=$?
35499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500   (exit $ac_status); } &&
35501          { ac_try='test -s conftest$ac_exeext'
35502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35503   (eval $ac_try) 2>&5
35504   ac_status=$?
35505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506   (exit $ac_status); }; }; then
35507   eval "$as_ac_var=yes"
35508 else
35509   echo "$as_me: failed program was:" >&5
35510 sed 's/^/| /' conftest.$ac_ext >&5
35511
35512 eval "$as_ac_var=no"
35513 fi
35514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35515 fi
35516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35518 if test `eval echo '${'$as_ac_var'}'` = yes; then
35519   cat >>confdefs.h <<_ACEOF
35520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35521 _ACEOF
35522
35523 fi
35524 done
35525
35526     fi
35527   fi
35528
35529
35530
35531   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
35532 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
35533   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35534     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
35535   echo $ECHO_N "(cached) $ECHO_C" >&6
35536 else
35537
35538
35539
35540       ac_ext=cc
35541 ac_cpp='$CXXCPP $CPPFLAGS'
35542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35545
35546       cat >conftest.$ac_ext <<_ACEOF
35547 #line $LINENO "configure"
35548 /* confdefs.h.  */
35549 _ACEOF
35550 cat confdefs.h >>conftest.$ac_ext
35551 cat >>conftest.$ac_ext <<_ACEOF
35552 /* end confdefs.h.  */
35553 #include <math.h>
35554                       #ifdef HAVE_IEEEFP_H
35555                       #include <ieeefp.h>
35556                       #endif
35557
35558 int
35559 main ()
35560 {
35561  isinfl(0);
35562   ;
35563   return 0;
35564 }
35565 _ACEOF
35566 rm -f conftest.$ac_objext
35567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35568   (eval $ac_compile) 2>&5
35569   ac_status=$?
35570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571   (exit $ac_status); } &&
35572          { ac_try='test -s conftest.$ac_objext'
35573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35574   (eval $ac_try) 2>&5
35575   ac_status=$?
35576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577   (exit $ac_status); }; }; then
35578   glibcxx_cv_func_isinfl_use=yes
35579 else
35580   echo "$as_me: failed program was:" >&5
35581 sed 's/^/| /' conftest.$ac_ext >&5
35582
35583 glibcxx_cv_func_isinfl_use=no
35584 fi
35585 rm -f conftest.$ac_objext conftest.$ac_ext
35586       ac_ext=c
35587 ac_cpp='$CPP $CPPFLAGS'
35588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35591
35592
35593 fi
35594
35595   fi
35596   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
35597 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
35598
35599   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35600
35601 for ac_func in isinfl
35602 do
35603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35604 echo "$as_me:$LINENO: checking for $ac_func" >&5
35605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35606 if eval "test \"\${$as_ac_var+set}\" = set"; then
35607   echo $ECHO_N "(cached) $ECHO_C" >&6
35608 else
35609   cat >conftest.$ac_ext <<_ACEOF
35610 #line $LINENO "configure"
35611 /* confdefs.h.  */
35612 _ACEOF
35613 cat confdefs.h >>conftest.$ac_ext
35614 cat >>conftest.$ac_ext <<_ACEOF
35615 /* end confdefs.h.  */
35616 /* System header to define __stub macros and hopefully few prototypes,
35617     which can conflict with char $ac_func (); below.
35618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35619     <limits.h> exists even on freestanding compilers.  */
35620 #ifdef __STDC__
35621 # include <limits.h>
35622 #else
35623 # include <assert.h>
35624 #endif
35625 /* Override any gcc2 internal prototype to avoid an error.  */
35626 #ifdef __cplusplus
35627 extern "C"
35628 {
35629 #endif
35630 /* We use char because int might match the return type of a gcc2
35631    builtin and then its argument prototype would still apply.  */
35632 char $ac_func ();
35633 /* The GNU C library defines this for functions which it implements
35634     to always fail with ENOSYS.  Some functions are actually named
35635     something starting with __ and the normal name is an alias.  */
35636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35637 choke me
35638 #else
35639 char (*f) () = $ac_func;
35640 #endif
35641 #ifdef __cplusplus
35642 }
35643 #endif
35644
35645 int
35646 main ()
35647 {
35648 return f != $ac_func;
35649   ;
35650   return 0;
35651 }
35652 _ACEOF
35653 rm -f conftest.$ac_objext conftest$ac_exeext
35654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35655   (eval $ac_link) 2>&5
35656   ac_status=$?
35657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658   (exit $ac_status); } &&
35659          { ac_try='test -s conftest$ac_exeext'
35660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661   (eval $ac_try) 2>&5
35662   ac_status=$?
35663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664   (exit $ac_status); }; }; then
35665   eval "$as_ac_var=yes"
35666 else
35667   echo "$as_me: failed program was:" >&5
35668 sed 's/^/| /' conftest.$ac_ext >&5
35669
35670 eval "$as_ac_var=no"
35671 fi
35672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35673 fi
35674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35676 if test `eval echo '${'$as_ac_var'}'` = yes; then
35677   cat >>confdefs.h <<_ACEOF
35678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35679 _ACEOF
35680
35681 fi
35682 done
35683
35684   else
35685
35686   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
35687 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
35688   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35689     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
35690   echo $ECHO_N "(cached) $ECHO_C" >&6
35691 else
35692
35693
35694
35695       ac_ext=cc
35696 ac_cpp='$CXXCPP $CPPFLAGS'
35697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35700
35701       cat >conftest.$ac_ext <<_ACEOF
35702 #line $LINENO "configure"
35703 /* confdefs.h.  */
35704 _ACEOF
35705 cat confdefs.h >>conftest.$ac_ext
35706 cat >>conftest.$ac_ext <<_ACEOF
35707 /* end confdefs.h.  */
35708 #include <math.h>
35709                       #ifdef HAVE_IEEEFP_H
35710                       #include <ieeefp.h>
35711                       #endif
35712
35713 int
35714 main ()
35715 {
35716  _isinfl(0);
35717   ;
35718   return 0;
35719 }
35720 _ACEOF
35721 rm -f conftest.$ac_objext
35722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35723   (eval $ac_compile) 2>&5
35724   ac_status=$?
35725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726   (exit $ac_status); } &&
35727          { ac_try='test -s conftest.$ac_objext'
35728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729   (eval $ac_try) 2>&5
35730   ac_status=$?
35731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732   (exit $ac_status); }; }; then
35733   glibcxx_cv_func__isinfl_use=yes
35734 else
35735   echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.$ac_ext >&5
35737
35738 glibcxx_cv_func__isinfl_use=no
35739 fi
35740 rm -f conftest.$ac_objext conftest.$ac_ext
35741       ac_ext=c
35742 ac_cpp='$CPP $CPPFLAGS'
35743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746
35747
35748 fi
35749
35750   fi
35751   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
35752 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
35753
35754     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35755
35756 for ac_func in _isinfl
35757 do
35758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35759 echo "$as_me:$LINENO: checking for $ac_func" >&5
35760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35761 if eval "test \"\${$as_ac_var+set}\" = set"; then
35762   echo $ECHO_N "(cached) $ECHO_C" >&6
35763 else
35764   cat >conftest.$ac_ext <<_ACEOF
35765 #line $LINENO "configure"
35766 /* confdefs.h.  */
35767 _ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h.  */
35771 /* System header to define __stub macros and hopefully few prototypes,
35772     which can conflict with char $ac_func (); below.
35773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35774     <limits.h> exists even on freestanding compilers.  */
35775 #ifdef __STDC__
35776 # include <limits.h>
35777 #else
35778 # include <assert.h>
35779 #endif
35780 /* Override any gcc2 internal prototype to avoid an error.  */
35781 #ifdef __cplusplus
35782 extern "C"
35783 {
35784 #endif
35785 /* We use char because int might match the return type of a gcc2
35786    builtin and then its argument prototype would still apply.  */
35787 char $ac_func ();
35788 /* The GNU C library defines this for functions which it implements
35789     to always fail with ENOSYS.  Some functions are actually named
35790     something starting with __ and the normal name is an alias.  */
35791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35792 choke me
35793 #else
35794 char (*f) () = $ac_func;
35795 #endif
35796 #ifdef __cplusplus
35797 }
35798 #endif
35799
35800 int
35801 main ()
35802 {
35803 return f != $ac_func;
35804   ;
35805   return 0;
35806 }
35807 _ACEOF
35808 rm -f conftest.$ac_objext conftest$ac_exeext
35809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35810   (eval $ac_link) 2>&5
35811   ac_status=$?
35812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813   (exit $ac_status); } &&
35814          { ac_try='test -s conftest$ac_exeext'
35815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816   (eval $ac_try) 2>&5
35817   ac_status=$?
35818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819   (exit $ac_status); }; }; then
35820   eval "$as_ac_var=yes"
35821 else
35822   echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.$ac_ext >&5
35824
35825 eval "$as_ac_var=no"
35826 fi
35827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35828 fi
35829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35831 if test `eval echo '${'$as_ac_var'}'` = yes; then
35832   cat >>confdefs.h <<_ACEOF
35833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35834 _ACEOF
35835
35836 fi
35837 done
35838
35839     fi
35840   fi
35841
35842
35843
35844   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
35845 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
35846   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
35847     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
35848   echo $ECHO_N "(cached) $ECHO_C" >&6
35849 else
35850
35851
35852
35853       ac_ext=cc
35854 ac_cpp='$CXXCPP $CPPFLAGS'
35855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35858
35859       cat >conftest.$ac_ext <<_ACEOF
35860 #line $LINENO "configure"
35861 /* confdefs.h.  */
35862 _ACEOF
35863 cat confdefs.h >>conftest.$ac_ext
35864 cat >>conftest.$ac_ext <<_ACEOF
35865 /* end confdefs.h.  */
35866 #include <math.h>
35867 int
35868 main ()
35869 {
35870  copysignl(0, 0);
35871   ;
35872   return 0;
35873 }
35874 _ACEOF
35875 rm -f conftest.$ac_objext
35876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35877   (eval $ac_compile) 2>&5
35878   ac_status=$?
35879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880   (exit $ac_status); } &&
35881          { ac_try='test -s conftest.$ac_objext'
35882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883   (eval $ac_try) 2>&5
35884   ac_status=$?
35885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886   (exit $ac_status); }; }; then
35887   glibcxx_cv_func_copysignl_use=yes
35888 else
35889   echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.$ac_ext >&5
35891
35892 glibcxx_cv_func_copysignl_use=no
35893 fi
35894 rm -f conftest.$ac_objext conftest.$ac_ext
35895       ac_ext=c
35896 ac_cpp='$CPP $CPPFLAGS'
35897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35900
35901
35902 fi
35903
35904   fi
35905   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
35906 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
35907
35908   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
35909
35910 for ac_func in copysignl
35911 do
35912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35913 echo "$as_me:$LINENO: checking for $ac_func" >&5
35914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35915 if eval "test \"\${$as_ac_var+set}\" = set"; then
35916   echo $ECHO_N "(cached) $ECHO_C" >&6
35917 else
35918   cat >conftest.$ac_ext <<_ACEOF
35919 #line $LINENO "configure"
35920 /* confdefs.h.  */
35921 _ACEOF
35922 cat confdefs.h >>conftest.$ac_ext
35923 cat >>conftest.$ac_ext <<_ACEOF
35924 /* end confdefs.h.  */
35925 /* System header to define __stub macros and hopefully few prototypes,
35926     which can conflict with char $ac_func (); below.
35927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35928     <limits.h> exists even on freestanding compilers.  */
35929 #ifdef __STDC__
35930 # include <limits.h>
35931 #else
35932 # include <assert.h>
35933 #endif
35934 /* Override any gcc2 internal prototype to avoid an error.  */
35935 #ifdef __cplusplus
35936 extern "C"
35937 {
35938 #endif
35939 /* We use char because int might match the return type of a gcc2
35940    builtin and then its argument prototype would still apply.  */
35941 char $ac_func ();
35942 /* The GNU C library defines this for functions which it implements
35943     to always fail with ENOSYS.  Some functions are actually named
35944     something starting with __ and the normal name is an alias.  */
35945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35946 choke me
35947 #else
35948 char (*f) () = $ac_func;
35949 #endif
35950 #ifdef __cplusplus
35951 }
35952 #endif
35953
35954 int
35955 main ()
35956 {
35957 return f != $ac_func;
35958   ;
35959   return 0;
35960 }
35961 _ACEOF
35962 rm -f conftest.$ac_objext conftest$ac_exeext
35963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35964   (eval $ac_link) 2>&5
35965   ac_status=$?
35966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967   (exit $ac_status); } &&
35968          { ac_try='test -s conftest$ac_exeext'
35969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970   (eval $ac_try) 2>&5
35971   ac_status=$?
35972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973   (exit $ac_status); }; }; then
35974   eval "$as_ac_var=yes"
35975 else
35976   echo "$as_me: failed program was:" >&5
35977 sed 's/^/| /' conftest.$ac_ext >&5
35978
35979 eval "$as_ac_var=no"
35980 fi
35981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35982 fi
35983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35985 if test `eval echo '${'$as_ac_var'}'` = yes; then
35986   cat >>confdefs.h <<_ACEOF
35987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35988 _ACEOF
35989
35990 fi
35991 done
35992
35993   else
35994
35995   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
35996 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
35997   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
35998     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
35999   echo $ECHO_N "(cached) $ECHO_C" >&6
36000 else
36001
36002
36003
36004       ac_ext=cc
36005 ac_cpp='$CXXCPP $CPPFLAGS'
36006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36009
36010       cat >conftest.$ac_ext <<_ACEOF
36011 #line $LINENO "configure"
36012 /* confdefs.h.  */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h.  */
36017 #include <math.h>
36018 int
36019 main ()
36020 {
36021  _copysignl(0, 0);
36022   ;
36023   return 0;
36024 }
36025 _ACEOF
36026 rm -f conftest.$ac_objext
36027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36028   (eval $ac_compile) 2>&5
36029   ac_status=$?
36030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031   (exit $ac_status); } &&
36032          { ac_try='test -s conftest.$ac_objext'
36033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36034   (eval $ac_try) 2>&5
36035   ac_status=$?
36036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037   (exit $ac_status); }; }; then
36038   glibcxx_cv_func__copysignl_use=yes
36039 else
36040   echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.$ac_ext >&5
36042
36043 glibcxx_cv_func__copysignl_use=no
36044 fi
36045 rm -f conftest.$ac_objext conftest.$ac_ext
36046       ac_ext=c
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051
36052
36053 fi
36054
36055   fi
36056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
36057 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
36058
36059     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
36060
36061 for ac_func in _copysignl
36062 do
36063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36064 echo "$as_me:$LINENO: checking for $ac_func" >&5
36065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36066 if eval "test \"\${$as_ac_var+set}\" = set"; then
36067   echo $ECHO_N "(cached) $ECHO_C" >&6
36068 else
36069   cat >conftest.$ac_ext <<_ACEOF
36070 #line $LINENO "configure"
36071 /* confdefs.h.  */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h.  */
36076 /* System header to define __stub macros and hopefully few prototypes,
36077     which can conflict with char $ac_func (); below.
36078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36079     <limits.h> exists even on freestanding compilers.  */
36080 #ifdef __STDC__
36081 # include <limits.h>
36082 #else
36083 # include <assert.h>
36084 #endif
36085 /* Override any gcc2 internal prototype to avoid an error.  */
36086 #ifdef __cplusplus
36087 extern "C"
36088 {
36089 #endif
36090 /* We use char because int might match the return type of a gcc2
36091    builtin and then its argument prototype would still apply.  */
36092 char $ac_func ();
36093 /* The GNU C library defines this for functions which it implements
36094     to always fail with ENOSYS.  Some functions are actually named
36095     something starting with __ and the normal name is an alias.  */
36096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36097 choke me
36098 #else
36099 char (*f) () = $ac_func;
36100 #endif
36101 #ifdef __cplusplus
36102 }
36103 #endif
36104
36105 int
36106 main ()
36107 {
36108 return f != $ac_func;
36109   ;
36110   return 0;
36111 }
36112 _ACEOF
36113 rm -f conftest.$ac_objext conftest$ac_exeext
36114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36115   (eval $ac_link) 2>&5
36116   ac_status=$?
36117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118   (exit $ac_status); } &&
36119          { ac_try='test -s conftest$ac_exeext'
36120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121   (eval $ac_try) 2>&5
36122   ac_status=$?
36123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124   (exit $ac_status); }; }; then
36125   eval "$as_ac_var=yes"
36126 else
36127   echo "$as_me: failed program was:" >&5
36128 sed 's/^/| /' conftest.$ac_ext >&5
36129
36130 eval "$as_ac_var=no"
36131 fi
36132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36133 fi
36134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36136 if test `eval echo '${'$as_ac_var'}'` = yes; then
36137   cat >>confdefs.h <<_ACEOF
36138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36139 _ACEOF
36140
36141 fi
36142 done
36143
36144     fi
36145   fi
36146
36147
36148
36149   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
36150 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
36151   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36152     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
36153   echo $ECHO_N "(cached) $ECHO_C" >&6
36154 else
36155
36156
36157
36158       ac_ext=cc
36159 ac_cpp='$CXXCPP $CPPFLAGS'
36160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36163
36164       cat >conftest.$ac_ext <<_ACEOF
36165 #line $LINENO "configure"
36166 /* confdefs.h.  */
36167 _ACEOF
36168 cat confdefs.h >>conftest.$ac_ext
36169 cat >>conftest.$ac_ext <<_ACEOF
36170 /* end confdefs.h.  */
36171 #include <math.h>
36172 int
36173 main ()
36174 {
36175  atan2l(0, 0);
36176   ;
36177   return 0;
36178 }
36179 _ACEOF
36180 rm -f conftest.$ac_objext
36181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36182   (eval $ac_compile) 2>&5
36183   ac_status=$?
36184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185   (exit $ac_status); } &&
36186          { ac_try='test -s conftest.$ac_objext'
36187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188   (eval $ac_try) 2>&5
36189   ac_status=$?
36190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191   (exit $ac_status); }; }; then
36192   glibcxx_cv_func_atan2l_use=yes
36193 else
36194   echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36196
36197 glibcxx_cv_func_atan2l_use=no
36198 fi
36199 rm -f conftest.$ac_objext conftest.$ac_ext
36200       ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205
36206
36207 fi
36208
36209   fi
36210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
36211 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
36212
36213   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36214
36215 for ac_func in atan2l
36216 do
36217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36218 echo "$as_me:$LINENO: checking for $ac_func" >&5
36219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36220 if eval "test \"\${$as_ac_var+set}\" = set"; then
36221   echo $ECHO_N "(cached) $ECHO_C" >&6
36222 else
36223   cat >conftest.$ac_ext <<_ACEOF
36224 #line $LINENO "configure"
36225 /* confdefs.h.  */
36226 _ACEOF
36227 cat confdefs.h >>conftest.$ac_ext
36228 cat >>conftest.$ac_ext <<_ACEOF
36229 /* end confdefs.h.  */
36230 /* System header to define __stub macros and hopefully few prototypes,
36231     which can conflict with char $ac_func (); below.
36232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36233     <limits.h> exists even on freestanding compilers.  */
36234 #ifdef __STDC__
36235 # include <limits.h>
36236 #else
36237 # include <assert.h>
36238 #endif
36239 /* Override any gcc2 internal prototype to avoid an error.  */
36240 #ifdef __cplusplus
36241 extern "C"
36242 {
36243 #endif
36244 /* We use char because int might match the return type of a gcc2
36245    builtin and then its argument prototype would still apply.  */
36246 char $ac_func ();
36247 /* The GNU C library defines this for functions which it implements
36248     to always fail with ENOSYS.  Some functions are actually named
36249     something starting with __ and the normal name is an alias.  */
36250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36251 choke me
36252 #else
36253 char (*f) () = $ac_func;
36254 #endif
36255 #ifdef __cplusplus
36256 }
36257 #endif
36258
36259 int
36260 main ()
36261 {
36262 return f != $ac_func;
36263   ;
36264   return 0;
36265 }
36266 _ACEOF
36267 rm -f conftest.$ac_objext conftest$ac_exeext
36268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36269   (eval $ac_link) 2>&5
36270   ac_status=$?
36271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272   (exit $ac_status); } &&
36273          { ac_try='test -s conftest$ac_exeext'
36274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36275   (eval $ac_try) 2>&5
36276   ac_status=$?
36277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278   (exit $ac_status); }; }; then
36279   eval "$as_ac_var=yes"
36280 else
36281   echo "$as_me: failed program was:" >&5
36282 sed 's/^/| /' conftest.$ac_ext >&5
36283
36284 eval "$as_ac_var=no"
36285 fi
36286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36287 fi
36288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36290 if test `eval echo '${'$as_ac_var'}'` = yes; then
36291   cat >>confdefs.h <<_ACEOF
36292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36293 _ACEOF
36294
36295 fi
36296 done
36297
36298   else
36299
36300   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
36301 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
36302   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36303     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
36304   echo $ECHO_N "(cached) $ECHO_C" >&6
36305 else
36306
36307
36308
36309       ac_ext=cc
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36314
36315       cat >conftest.$ac_ext <<_ACEOF
36316 #line $LINENO "configure"
36317 /* confdefs.h.  */
36318 _ACEOF
36319 cat confdefs.h >>conftest.$ac_ext
36320 cat >>conftest.$ac_ext <<_ACEOF
36321 /* end confdefs.h.  */
36322 #include <math.h>
36323 int
36324 main ()
36325 {
36326  _atan2l(0, 0);
36327   ;
36328   return 0;
36329 }
36330 _ACEOF
36331 rm -f conftest.$ac_objext
36332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36333   (eval $ac_compile) 2>&5
36334   ac_status=$?
36335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336   (exit $ac_status); } &&
36337          { ac_try='test -s conftest.$ac_objext'
36338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339   (eval $ac_try) 2>&5
36340   ac_status=$?
36341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342   (exit $ac_status); }; }; then
36343   glibcxx_cv_func__atan2l_use=yes
36344 else
36345   echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.$ac_ext >&5
36347
36348 glibcxx_cv_func__atan2l_use=no
36349 fi
36350 rm -f conftest.$ac_objext conftest.$ac_ext
36351       ac_ext=c
36352 ac_cpp='$CPP $CPPFLAGS'
36353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36356
36357
36358 fi
36359
36360   fi
36361   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
36362 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
36363
36364     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36365
36366 for ac_func in _atan2l
36367 do
36368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36369 echo "$as_me:$LINENO: checking for $ac_func" >&5
36370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36371 if eval "test \"\${$as_ac_var+set}\" = set"; then
36372   echo $ECHO_N "(cached) $ECHO_C" >&6
36373 else
36374   cat >conftest.$ac_ext <<_ACEOF
36375 #line $LINENO "configure"
36376 /* confdefs.h.  */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h.  */
36381 /* System header to define __stub macros and hopefully few prototypes,
36382     which can conflict with char $ac_func (); below.
36383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36384     <limits.h> exists even on freestanding compilers.  */
36385 #ifdef __STDC__
36386 # include <limits.h>
36387 #else
36388 # include <assert.h>
36389 #endif
36390 /* Override any gcc2 internal prototype to avoid an error.  */
36391 #ifdef __cplusplus
36392 extern "C"
36393 {
36394 #endif
36395 /* We use char because int might match the return type of a gcc2
36396    builtin and then its argument prototype would still apply.  */
36397 char $ac_func ();
36398 /* The GNU C library defines this for functions which it implements
36399     to always fail with ENOSYS.  Some functions are actually named
36400     something starting with __ and the normal name is an alias.  */
36401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36402 choke me
36403 #else
36404 char (*f) () = $ac_func;
36405 #endif
36406 #ifdef __cplusplus
36407 }
36408 #endif
36409
36410 int
36411 main ()
36412 {
36413 return f != $ac_func;
36414   ;
36415   return 0;
36416 }
36417 _ACEOF
36418 rm -f conftest.$ac_objext conftest$ac_exeext
36419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36420   (eval $ac_link) 2>&5
36421   ac_status=$?
36422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423   (exit $ac_status); } &&
36424          { ac_try='test -s conftest$ac_exeext'
36425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36426   (eval $ac_try) 2>&5
36427   ac_status=$?
36428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429   (exit $ac_status); }; }; then
36430   eval "$as_ac_var=yes"
36431 else
36432   echo "$as_me: failed program was:" >&5
36433 sed 's/^/| /' conftest.$ac_ext >&5
36434
36435 eval "$as_ac_var=no"
36436 fi
36437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36438 fi
36439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36441 if test `eval echo '${'$as_ac_var'}'` = yes; then
36442   cat >>confdefs.h <<_ACEOF
36443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36444 _ACEOF
36445
36446 fi
36447 done
36448
36449     fi
36450   fi
36451
36452
36453
36454   echo "$as_me:$LINENO: checking for expl declaration" >&5
36455 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
36456   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36457     if test "${glibcxx_cv_func_expl_use+set}" = set; then
36458   echo $ECHO_N "(cached) $ECHO_C" >&6
36459 else
36460
36461
36462
36463       ac_ext=cc
36464 ac_cpp='$CXXCPP $CPPFLAGS'
36465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36468
36469       cat >conftest.$ac_ext <<_ACEOF
36470 #line $LINENO "configure"
36471 /* confdefs.h.  */
36472 _ACEOF
36473 cat confdefs.h >>conftest.$ac_ext
36474 cat >>conftest.$ac_ext <<_ACEOF
36475 /* end confdefs.h.  */
36476 #include <math.h>
36477                       #ifdef HAVE_IEEEFP_H
36478                       #include <ieeefp.h>
36479                       #endif
36480
36481 int
36482 main ()
36483 {
36484  expl(0);
36485   ;
36486   return 0;
36487 }
36488 _ACEOF
36489 rm -f conftest.$ac_objext
36490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36491   (eval $ac_compile) 2>&5
36492   ac_status=$?
36493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494   (exit $ac_status); } &&
36495          { ac_try='test -s conftest.$ac_objext'
36496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36497   (eval $ac_try) 2>&5
36498   ac_status=$?
36499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500   (exit $ac_status); }; }; then
36501   glibcxx_cv_func_expl_use=yes
36502 else
36503   echo "$as_me: failed program was:" >&5
36504 sed 's/^/| /' conftest.$ac_ext >&5
36505
36506 glibcxx_cv_func_expl_use=no
36507 fi
36508 rm -f conftest.$ac_objext conftest.$ac_ext
36509       ac_ext=c
36510 ac_cpp='$CPP $CPPFLAGS'
36511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514
36515
36516 fi
36517
36518   fi
36519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
36520 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
36521
36522   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36523
36524 for ac_func in expl
36525 do
36526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36527 echo "$as_me:$LINENO: checking for $ac_func" >&5
36528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36529 if eval "test \"\${$as_ac_var+set}\" = set"; then
36530   echo $ECHO_N "(cached) $ECHO_C" >&6
36531 else
36532   cat >conftest.$ac_ext <<_ACEOF
36533 #line $LINENO "configure"
36534 /* confdefs.h.  */
36535 _ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h.  */
36539 /* System header to define __stub macros and hopefully few prototypes,
36540     which can conflict with char $ac_func (); below.
36541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36542     <limits.h> exists even on freestanding compilers.  */
36543 #ifdef __STDC__
36544 # include <limits.h>
36545 #else
36546 # include <assert.h>
36547 #endif
36548 /* Override any gcc2 internal prototype to avoid an error.  */
36549 #ifdef __cplusplus
36550 extern "C"
36551 {
36552 #endif
36553 /* We use char because int might match the return type of a gcc2
36554    builtin and then its argument prototype would still apply.  */
36555 char $ac_func ();
36556 /* The GNU C library defines this for functions which it implements
36557     to always fail with ENOSYS.  Some functions are actually named
36558     something starting with __ and the normal name is an alias.  */
36559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36560 choke me
36561 #else
36562 char (*f) () = $ac_func;
36563 #endif
36564 #ifdef __cplusplus
36565 }
36566 #endif
36567
36568 int
36569 main ()
36570 {
36571 return f != $ac_func;
36572   ;
36573   return 0;
36574 }
36575 _ACEOF
36576 rm -f conftest.$ac_objext conftest$ac_exeext
36577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36578   (eval $ac_link) 2>&5
36579   ac_status=$?
36580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581   (exit $ac_status); } &&
36582          { ac_try='test -s conftest$ac_exeext'
36583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584   (eval $ac_try) 2>&5
36585   ac_status=$?
36586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587   (exit $ac_status); }; }; then
36588   eval "$as_ac_var=yes"
36589 else
36590   echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 eval "$as_ac_var=no"
36594 fi
36595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36596 fi
36597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36599 if test `eval echo '${'$as_ac_var'}'` = yes; then
36600   cat >>confdefs.h <<_ACEOF
36601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36602 _ACEOF
36603
36604 fi
36605 done
36606
36607   else
36608
36609   echo "$as_me:$LINENO: checking for _expl declaration" >&5
36610 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
36611   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36612     if test "${glibcxx_cv_func__expl_use+set}" = set; then
36613   echo $ECHO_N "(cached) $ECHO_C" >&6
36614 else
36615
36616
36617
36618       ac_ext=cc
36619 ac_cpp='$CXXCPP $CPPFLAGS'
36620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36623
36624       cat >conftest.$ac_ext <<_ACEOF
36625 #line $LINENO "configure"
36626 /* confdefs.h.  */
36627 _ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h.  */
36631 #include <math.h>
36632                       #ifdef HAVE_IEEEFP_H
36633                       #include <ieeefp.h>
36634                       #endif
36635
36636 int
36637 main ()
36638 {
36639  _expl(0);
36640   ;
36641   return 0;
36642 }
36643 _ACEOF
36644 rm -f conftest.$ac_objext
36645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36646   (eval $ac_compile) 2>&5
36647   ac_status=$?
36648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649   (exit $ac_status); } &&
36650          { ac_try='test -s conftest.$ac_objext'
36651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36652   (eval $ac_try) 2>&5
36653   ac_status=$?
36654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655   (exit $ac_status); }; }; then
36656   glibcxx_cv_func__expl_use=yes
36657 else
36658   echo "$as_me: failed program was:" >&5
36659 sed 's/^/| /' conftest.$ac_ext >&5
36660
36661 glibcxx_cv_func__expl_use=no
36662 fi
36663 rm -f conftest.$ac_objext conftest.$ac_ext
36664       ac_ext=c
36665 ac_cpp='$CPP $CPPFLAGS'
36666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36669
36670
36671 fi
36672
36673   fi
36674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
36675 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
36676
36677     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36678
36679 for ac_func in _expl
36680 do
36681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36682 echo "$as_me:$LINENO: checking for $ac_func" >&5
36683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36684 if eval "test \"\${$as_ac_var+set}\" = set"; then
36685   echo $ECHO_N "(cached) $ECHO_C" >&6
36686 else
36687   cat >conftest.$ac_ext <<_ACEOF
36688 #line $LINENO "configure"
36689 /* confdefs.h.  */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h.  */
36694 /* System header to define __stub macros and hopefully few prototypes,
36695     which can conflict with char $ac_func (); below.
36696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36697     <limits.h> exists even on freestanding compilers.  */
36698 #ifdef __STDC__
36699 # include <limits.h>
36700 #else
36701 # include <assert.h>
36702 #endif
36703 /* Override any gcc2 internal prototype to avoid an error.  */
36704 #ifdef __cplusplus
36705 extern "C"
36706 {
36707 #endif
36708 /* We use char because int might match the return type of a gcc2
36709    builtin and then its argument prototype would still apply.  */
36710 char $ac_func ();
36711 /* The GNU C library defines this for functions which it implements
36712     to always fail with ENOSYS.  Some functions are actually named
36713     something starting with __ and the normal name is an alias.  */
36714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36715 choke me
36716 #else
36717 char (*f) () = $ac_func;
36718 #endif
36719 #ifdef __cplusplus
36720 }
36721 #endif
36722
36723 int
36724 main ()
36725 {
36726 return f != $ac_func;
36727   ;
36728   return 0;
36729 }
36730 _ACEOF
36731 rm -f conftest.$ac_objext conftest$ac_exeext
36732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36733   (eval $ac_link) 2>&5
36734   ac_status=$?
36735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736   (exit $ac_status); } &&
36737          { ac_try='test -s conftest$ac_exeext'
36738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739   (eval $ac_try) 2>&5
36740   ac_status=$?
36741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742   (exit $ac_status); }; }; then
36743   eval "$as_ac_var=yes"
36744 else
36745   echo "$as_me: failed program was:" >&5
36746 sed 's/^/| /' conftest.$ac_ext >&5
36747
36748 eval "$as_ac_var=no"
36749 fi
36750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36751 fi
36752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36754 if test `eval echo '${'$as_ac_var'}'` = yes; then
36755   cat >>confdefs.h <<_ACEOF
36756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36757 _ACEOF
36758
36759 fi
36760 done
36761
36762     fi
36763   fi
36764
36765
36766
36767   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36768 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36769   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36770     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36771   echo $ECHO_N "(cached) $ECHO_C" >&6
36772 else
36773
36774
36775
36776       ac_ext=cc
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781
36782       cat >conftest.$ac_ext <<_ACEOF
36783 #line $LINENO "configure"
36784 /* confdefs.h.  */
36785 _ACEOF
36786 cat confdefs.h >>conftest.$ac_ext
36787 cat >>conftest.$ac_ext <<_ACEOF
36788 /* end confdefs.h.  */
36789 #include <math.h>
36790                       #ifdef HAVE_IEEEFP_H
36791                       #include <ieeefp.h>
36792                       #endif
36793
36794 int
36795 main ()
36796 {
36797  fabsl(0);
36798   ;
36799   return 0;
36800 }
36801 _ACEOF
36802 rm -f conftest.$ac_objext
36803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36804   (eval $ac_compile) 2>&5
36805   ac_status=$?
36806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807   (exit $ac_status); } &&
36808          { ac_try='test -s conftest.$ac_objext'
36809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36810   (eval $ac_try) 2>&5
36811   ac_status=$?
36812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813   (exit $ac_status); }; }; then
36814   glibcxx_cv_func_fabsl_use=yes
36815 else
36816   echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.$ac_ext >&5
36818
36819 glibcxx_cv_func_fabsl_use=no
36820 fi
36821 rm -f conftest.$ac_objext conftest.$ac_ext
36822       ac_ext=c
36823 ac_cpp='$CPP $CPPFLAGS'
36824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36827
36828
36829 fi
36830
36831   fi
36832   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36833 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36834
36835   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36836
36837 for ac_func in fabsl
36838 do
36839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36840 echo "$as_me:$LINENO: checking for $ac_func" >&5
36841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36842 if eval "test \"\${$as_ac_var+set}\" = set"; then
36843   echo $ECHO_N "(cached) $ECHO_C" >&6
36844 else
36845   cat >conftest.$ac_ext <<_ACEOF
36846 #line $LINENO "configure"
36847 /* confdefs.h.  */
36848 _ACEOF
36849 cat confdefs.h >>conftest.$ac_ext
36850 cat >>conftest.$ac_ext <<_ACEOF
36851 /* end confdefs.h.  */
36852 /* System header to define __stub macros and hopefully few prototypes,
36853     which can conflict with char $ac_func (); below.
36854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36855     <limits.h> exists even on freestanding compilers.  */
36856 #ifdef __STDC__
36857 # include <limits.h>
36858 #else
36859 # include <assert.h>
36860 #endif
36861 /* Override any gcc2 internal prototype to avoid an error.  */
36862 #ifdef __cplusplus
36863 extern "C"
36864 {
36865 #endif
36866 /* We use char because int might match the return type of a gcc2
36867    builtin and then its argument prototype would still apply.  */
36868 char $ac_func ();
36869 /* The GNU C library defines this for functions which it implements
36870     to always fail with ENOSYS.  Some functions are actually named
36871     something starting with __ and the normal name is an alias.  */
36872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36873 choke me
36874 #else
36875 char (*f) () = $ac_func;
36876 #endif
36877 #ifdef __cplusplus
36878 }
36879 #endif
36880
36881 int
36882 main ()
36883 {
36884 return f != $ac_func;
36885   ;
36886   return 0;
36887 }
36888 _ACEOF
36889 rm -f conftest.$ac_objext conftest$ac_exeext
36890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36891   (eval $ac_link) 2>&5
36892   ac_status=$?
36893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894   (exit $ac_status); } &&
36895          { ac_try='test -s conftest$ac_exeext'
36896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36897   (eval $ac_try) 2>&5
36898   ac_status=$?
36899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900   (exit $ac_status); }; }; then
36901   eval "$as_ac_var=yes"
36902 else
36903   echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.$ac_ext >&5
36905
36906 eval "$as_ac_var=no"
36907 fi
36908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36909 fi
36910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36912 if test `eval echo '${'$as_ac_var'}'` = yes; then
36913   cat >>confdefs.h <<_ACEOF
36914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36915 _ACEOF
36916
36917 fi
36918 done
36919
36920   else
36921
36922   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36923 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36924   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36925     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36926   echo $ECHO_N "(cached) $ECHO_C" >&6
36927 else
36928
36929
36930
36931       ac_ext=cc
36932 ac_cpp='$CXXCPP $CPPFLAGS'
36933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36936
36937       cat >conftest.$ac_ext <<_ACEOF
36938 #line $LINENO "configure"
36939 /* confdefs.h.  */
36940 _ACEOF
36941 cat confdefs.h >>conftest.$ac_ext
36942 cat >>conftest.$ac_ext <<_ACEOF
36943 /* end confdefs.h.  */
36944 #include <math.h>
36945                       #ifdef HAVE_IEEEFP_H
36946                       #include <ieeefp.h>
36947                       #endif
36948
36949 int
36950 main ()
36951 {
36952  _fabsl(0);
36953   ;
36954   return 0;
36955 }
36956 _ACEOF
36957 rm -f conftest.$ac_objext
36958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36959   (eval $ac_compile) 2>&5
36960   ac_status=$?
36961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962   (exit $ac_status); } &&
36963          { ac_try='test -s conftest.$ac_objext'
36964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36965   (eval $ac_try) 2>&5
36966   ac_status=$?
36967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968   (exit $ac_status); }; }; then
36969   glibcxx_cv_func__fabsl_use=yes
36970 else
36971   echo "$as_me: failed program was:" >&5
36972 sed 's/^/| /' conftest.$ac_ext >&5
36973
36974 glibcxx_cv_func__fabsl_use=no
36975 fi
36976 rm -f conftest.$ac_objext conftest.$ac_ext
36977       ac_ext=c
36978 ac_cpp='$CPP $CPPFLAGS'
36979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36982
36983
36984 fi
36985
36986   fi
36987   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36988 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36989
36990     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36991
36992 for ac_func in _fabsl
36993 do
36994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36995 echo "$as_me:$LINENO: checking for $ac_func" >&5
36996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36997 if eval "test \"\${$as_ac_var+set}\" = set"; then
36998   echo $ECHO_N "(cached) $ECHO_C" >&6
36999 else
37000   cat >conftest.$ac_ext <<_ACEOF
37001 #line $LINENO "configure"
37002 /* confdefs.h.  */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h.  */
37007 /* System header to define __stub macros and hopefully few prototypes,
37008     which can conflict with char $ac_func (); below.
37009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37010     <limits.h> exists even on freestanding compilers.  */
37011 #ifdef __STDC__
37012 # include <limits.h>
37013 #else
37014 # include <assert.h>
37015 #endif
37016 /* Override any gcc2 internal prototype to avoid an error.  */
37017 #ifdef __cplusplus
37018 extern "C"
37019 {
37020 #endif
37021 /* We use char because int might match the return type of a gcc2
37022    builtin and then its argument prototype would still apply.  */
37023 char $ac_func ();
37024 /* The GNU C library defines this for functions which it implements
37025     to always fail with ENOSYS.  Some functions are actually named
37026     something starting with __ and the normal name is an alias.  */
37027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37028 choke me
37029 #else
37030 char (*f) () = $ac_func;
37031 #endif
37032 #ifdef __cplusplus
37033 }
37034 #endif
37035
37036 int
37037 main ()
37038 {
37039 return f != $ac_func;
37040   ;
37041   return 0;
37042 }
37043 _ACEOF
37044 rm -f conftest.$ac_objext conftest$ac_exeext
37045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37046   (eval $ac_link) 2>&5
37047   ac_status=$?
37048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049   (exit $ac_status); } &&
37050          { ac_try='test -s conftest$ac_exeext'
37051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052   (eval $ac_try) 2>&5
37053   ac_status=$?
37054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055   (exit $ac_status); }; }; then
37056   eval "$as_ac_var=yes"
37057 else
37058   echo "$as_me: failed program was:" >&5
37059 sed 's/^/| /' conftest.$ac_ext >&5
37060
37061 eval "$as_ac_var=no"
37062 fi
37063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37064 fi
37065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37067 if test `eval echo '${'$as_ac_var'}'` = yes; then
37068   cat >>confdefs.h <<_ACEOF
37069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37070 _ACEOF
37071
37072 fi
37073 done
37074
37075     fi
37076   fi
37077
37078
37079
37080   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
37081 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
37082   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37083     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
37084   echo $ECHO_N "(cached) $ECHO_C" >&6
37085 else
37086
37087
37088
37089       ac_ext=cc
37090 ac_cpp='$CXXCPP $CPPFLAGS'
37091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37094
37095       cat >conftest.$ac_ext <<_ACEOF
37096 #line $LINENO "configure"
37097 /* confdefs.h.  */
37098 _ACEOF
37099 cat confdefs.h >>conftest.$ac_ext
37100 cat >>conftest.$ac_ext <<_ACEOF
37101 /* end confdefs.h.  */
37102 #include <math.h>
37103 int
37104 main ()
37105 {
37106  fmodl(0, 0);
37107   ;
37108   return 0;
37109 }
37110 _ACEOF
37111 rm -f conftest.$ac_objext
37112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37113   (eval $ac_compile) 2>&5
37114   ac_status=$?
37115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116   (exit $ac_status); } &&
37117          { ac_try='test -s conftest.$ac_objext'
37118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37119   (eval $ac_try) 2>&5
37120   ac_status=$?
37121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122   (exit $ac_status); }; }; then
37123   glibcxx_cv_func_fmodl_use=yes
37124 else
37125   echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37127
37128 glibcxx_cv_func_fmodl_use=no
37129 fi
37130 rm -f conftest.$ac_objext conftest.$ac_ext
37131       ac_ext=c
37132 ac_cpp='$CPP $CPPFLAGS'
37133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136
37137
37138 fi
37139
37140   fi
37141   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
37142 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
37143
37144   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37145
37146 for ac_func in fmodl
37147 do
37148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37149 echo "$as_me:$LINENO: checking for $ac_func" >&5
37150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37151 if eval "test \"\${$as_ac_var+set}\" = set"; then
37152   echo $ECHO_N "(cached) $ECHO_C" >&6
37153 else
37154   cat >conftest.$ac_ext <<_ACEOF
37155 #line $LINENO "configure"
37156 /* confdefs.h.  */
37157 _ACEOF
37158 cat confdefs.h >>conftest.$ac_ext
37159 cat >>conftest.$ac_ext <<_ACEOF
37160 /* end confdefs.h.  */
37161 /* System header to define __stub macros and hopefully few prototypes,
37162     which can conflict with char $ac_func (); below.
37163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37164     <limits.h> exists even on freestanding compilers.  */
37165 #ifdef __STDC__
37166 # include <limits.h>
37167 #else
37168 # include <assert.h>
37169 #endif
37170 /* Override any gcc2 internal prototype to avoid an error.  */
37171 #ifdef __cplusplus
37172 extern "C"
37173 {
37174 #endif
37175 /* We use char because int might match the return type of a gcc2
37176    builtin and then its argument prototype would still apply.  */
37177 char $ac_func ();
37178 /* The GNU C library defines this for functions which it implements
37179     to always fail with ENOSYS.  Some functions are actually named
37180     something starting with __ and the normal name is an alias.  */
37181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37182 choke me
37183 #else
37184 char (*f) () = $ac_func;
37185 #endif
37186 #ifdef __cplusplus
37187 }
37188 #endif
37189
37190 int
37191 main ()
37192 {
37193 return f != $ac_func;
37194   ;
37195   return 0;
37196 }
37197 _ACEOF
37198 rm -f conftest.$ac_objext conftest$ac_exeext
37199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37200   (eval $ac_link) 2>&5
37201   ac_status=$?
37202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203   (exit $ac_status); } &&
37204          { ac_try='test -s conftest$ac_exeext'
37205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206   (eval $ac_try) 2>&5
37207   ac_status=$?
37208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209   (exit $ac_status); }; }; then
37210   eval "$as_ac_var=yes"
37211 else
37212   echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37214
37215 eval "$as_ac_var=no"
37216 fi
37217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37218 fi
37219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37221 if test `eval echo '${'$as_ac_var'}'` = yes; then
37222   cat >>confdefs.h <<_ACEOF
37223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37224 _ACEOF
37225
37226 fi
37227 done
37228
37229   else
37230
37231   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
37232 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
37233   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37234     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
37235   echo $ECHO_N "(cached) $ECHO_C" >&6
37236 else
37237
37238
37239
37240       ac_ext=cc
37241 ac_cpp='$CXXCPP $CPPFLAGS'
37242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37245
37246       cat >conftest.$ac_ext <<_ACEOF
37247 #line $LINENO "configure"
37248 /* confdefs.h.  */
37249 _ACEOF
37250 cat confdefs.h >>conftest.$ac_ext
37251 cat >>conftest.$ac_ext <<_ACEOF
37252 /* end confdefs.h.  */
37253 #include <math.h>
37254 int
37255 main ()
37256 {
37257  _fmodl(0, 0);
37258   ;
37259   return 0;
37260 }
37261 _ACEOF
37262 rm -f conftest.$ac_objext
37263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37264   (eval $ac_compile) 2>&5
37265   ac_status=$?
37266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37267   (exit $ac_status); } &&
37268          { ac_try='test -s conftest.$ac_objext'
37269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270   (eval $ac_try) 2>&5
37271   ac_status=$?
37272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273   (exit $ac_status); }; }; then
37274   glibcxx_cv_func__fmodl_use=yes
37275 else
37276   echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37278
37279 glibcxx_cv_func__fmodl_use=no
37280 fi
37281 rm -f conftest.$ac_objext conftest.$ac_ext
37282       ac_ext=c
37283 ac_cpp='$CPP $CPPFLAGS'
37284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37287
37288
37289 fi
37290
37291   fi
37292   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
37293 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
37294
37295     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37296
37297 for ac_func in _fmodl
37298 do
37299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37300 echo "$as_me:$LINENO: checking for $ac_func" >&5
37301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37302 if eval "test \"\${$as_ac_var+set}\" = set"; then
37303   echo $ECHO_N "(cached) $ECHO_C" >&6
37304 else
37305   cat >conftest.$ac_ext <<_ACEOF
37306 #line $LINENO "configure"
37307 /* confdefs.h.  */
37308 _ACEOF
37309 cat confdefs.h >>conftest.$ac_ext
37310 cat >>conftest.$ac_ext <<_ACEOF
37311 /* end confdefs.h.  */
37312 /* System header to define __stub macros and hopefully few prototypes,
37313     which can conflict with char $ac_func (); below.
37314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37315     <limits.h> exists even on freestanding compilers.  */
37316 #ifdef __STDC__
37317 # include <limits.h>
37318 #else
37319 # include <assert.h>
37320 #endif
37321 /* Override any gcc2 internal prototype to avoid an error.  */
37322 #ifdef __cplusplus
37323 extern "C"
37324 {
37325 #endif
37326 /* We use char because int might match the return type of a gcc2
37327    builtin and then its argument prototype would still apply.  */
37328 char $ac_func ();
37329 /* The GNU C library defines this for functions which it implements
37330     to always fail with ENOSYS.  Some functions are actually named
37331     something starting with __ and the normal name is an alias.  */
37332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37333 choke me
37334 #else
37335 char (*f) () = $ac_func;
37336 #endif
37337 #ifdef __cplusplus
37338 }
37339 #endif
37340
37341 int
37342 main ()
37343 {
37344 return f != $ac_func;
37345   ;
37346   return 0;
37347 }
37348 _ACEOF
37349 rm -f conftest.$ac_objext conftest$ac_exeext
37350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37351   (eval $ac_link) 2>&5
37352   ac_status=$?
37353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354   (exit $ac_status); } &&
37355          { ac_try='test -s conftest$ac_exeext'
37356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357   (eval $ac_try) 2>&5
37358   ac_status=$?
37359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360   (exit $ac_status); }; }; then
37361   eval "$as_ac_var=yes"
37362 else
37363   echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 eval "$as_ac_var=no"
37367 fi
37368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37369 fi
37370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37372 if test `eval echo '${'$as_ac_var'}'` = yes; then
37373   cat >>confdefs.h <<_ACEOF
37374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37375 _ACEOF
37376
37377 fi
37378 done
37379
37380     fi
37381   fi
37382
37383
37384
37385   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
37386 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
37387   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37388     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
37389   echo $ECHO_N "(cached) $ECHO_C" >&6
37390 else
37391
37392
37393
37394       ac_ext=cc
37395 ac_cpp='$CXXCPP $CPPFLAGS'
37396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37399
37400       cat >conftest.$ac_ext <<_ACEOF
37401 #line $LINENO "configure"
37402 /* confdefs.h.  */
37403 _ACEOF
37404 cat confdefs.h >>conftest.$ac_ext
37405 cat >>conftest.$ac_ext <<_ACEOF
37406 /* end confdefs.h.  */
37407 #include <math.h>
37408 int
37409 main ()
37410 {
37411  frexpl(0, 0);
37412   ;
37413   return 0;
37414 }
37415 _ACEOF
37416 rm -f conftest.$ac_objext
37417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37418   (eval $ac_compile) 2>&5
37419   ac_status=$?
37420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421   (exit $ac_status); } &&
37422          { ac_try='test -s conftest.$ac_objext'
37423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37424   (eval $ac_try) 2>&5
37425   ac_status=$?
37426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427   (exit $ac_status); }; }; then
37428   glibcxx_cv_func_frexpl_use=yes
37429 else
37430   echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37432
37433 glibcxx_cv_func_frexpl_use=no
37434 fi
37435 rm -f conftest.$ac_objext conftest.$ac_ext
37436       ac_ext=c
37437 ac_cpp='$CPP $CPPFLAGS'
37438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37441
37442
37443 fi
37444
37445   fi
37446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
37447 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
37448
37449   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37450
37451 for ac_func in frexpl
37452 do
37453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37454 echo "$as_me:$LINENO: checking for $ac_func" >&5
37455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37456 if eval "test \"\${$as_ac_var+set}\" = set"; then
37457   echo $ECHO_N "(cached) $ECHO_C" >&6
37458 else
37459   cat >conftest.$ac_ext <<_ACEOF
37460 #line $LINENO "configure"
37461 /* confdefs.h.  */
37462 _ACEOF
37463 cat confdefs.h >>conftest.$ac_ext
37464 cat >>conftest.$ac_ext <<_ACEOF
37465 /* end confdefs.h.  */
37466 /* System header to define __stub macros and hopefully few prototypes,
37467     which can conflict with char $ac_func (); below.
37468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37469     <limits.h> exists even on freestanding compilers.  */
37470 #ifdef __STDC__
37471 # include <limits.h>
37472 #else
37473 # include <assert.h>
37474 #endif
37475 /* Override any gcc2 internal prototype to avoid an error.  */
37476 #ifdef __cplusplus
37477 extern "C"
37478 {
37479 #endif
37480 /* We use char because int might match the return type of a gcc2
37481    builtin and then its argument prototype would still apply.  */
37482 char $ac_func ();
37483 /* The GNU C library defines this for functions which it implements
37484     to always fail with ENOSYS.  Some functions are actually named
37485     something starting with __ and the normal name is an alias.  */
37486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37487 choke me
37488 #else
37489 char (*f) () = $ac_func;
37490 #endif
37491 #ifdef __cplusplus
37492 }
37493 #endif
37494
37495 int
37496 main ()
37497 {
37498 return f != $ac_func;
37499   ;
37500   return 0;
37501 }
37502 _ACEOF
37503 rm -f conftest.$ac_objext conftest$ac_exeext
37504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37505   (eval $ac_link) 2>&5
37506   ac_status=$?
37507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508   (exit $ac_status); } &&
37509          { ac_try='test -s conftest$ac_exeext'
37510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511   (eval $ac_try) 2>&5
37512   ac_status=$?
37513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514   (exit $ac_status); }; }; then
37515   eval "$as_ac_var=yes"
37516 else
37517   echo "$as_me: failed program was:" >&5
37518 sed 's/^/| /' conftest.$ac_ext >&5
37519
37520 eval "$as_ac_var=no"
37521 fi
37522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37523 fi
37524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37526 if test `eval echo '${'$as_ac_var'}'` = yes; then
37527   cat >>confdefs.h <<_ACEOF
37528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37529 _ACEOF
37530
37531 fi
37532 done
37533
37534   else
37535
37536   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37537 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37538   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37539     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37540   echo $ECHO_N "(cached) $ECHO_C" >&6
37541 else
37542
37543
37544
37545       ac_ext=cc
37546 ac_cpp='$CXXCPP $CPPFLAGS'
37547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37550
37551       cat >conftest.$ac_ext <<_ACEOF
37552 #line $LINENO "configure"
37553 /* confdefs.h.  */
37554 _ACEOF
37555 cat confdefs.h >>conftest.$ac_ext
37556 cat >>conftest.$ac_ext <<_ACEOF
37557 /* end confdefs.h.  */
37558 #include <math.h>
37559 int
37560 main ()
37561 {
37562  _frexpl(0, 0);
37563   ;
37564   return 0;
37565 }
37566 _ACEOF
37567 rm -f conftest.$ac_objext
37568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37569   (eval $ac_compile) 2>&5
37570   ac_status=$?
37571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572   (exit $ac_status); } &&
37573          { ac_try='test -s conftest.$ac_objext'
37574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37575   (eval $ac_try) 2>&5
37576   ac_status=$?
37577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578   (exit $ac_status); }; }; then
37579   glibcxx_cv_func__frexpl_use=yes
37580 else
37581   echo "$as_me: failed program was:" >&5
37582 sed 's/^/| /' conftest.$ac_ext >&5
37583
37584 glibcxx_cv_func__frexpl_use=no
37585 fi
37586 rm -f conftest.$ac_objext conftest.$ac_ext
37587       ac_ext=c
37588 ac_cpp='$CPP $CPPFLAGS'
37589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37592
37593
37594 fi
37595
37596   fi
37597   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37598 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37599
37600     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37601
37602 for ac_func in _frexpl
37603 do
37604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37605 echo "$as_me:$LINENO: checking for $ac_func" >&5
37606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37607 if eval "test \"\${$as_ac_var+set}\" = set"; then
37608   echo $ECHO_N "(cached) $ECHO_C" >&6
37609 else
37610   cat >conftest.$ac_ext <<_ACEOF
37611 #line $LINENO "configure"
37612 /* confdefs.h.  */
37613 _ACEOF
37614 cat confdefs.h >>conftest.$ac_ext
37615 cat >>conftest.$ac_ext <<_ACEOF
37616 /* end confdefs.h.  */
37617 /* System header to define __stub macros and hopefully few prototypes,
37618     which can conflict with char $ac_func (); below.
37619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37620     <limits.h> exists even on freestanding compilers.  */
37621 #ifdef __STDC__
37622 # include <limits.h>
37623 #else
37624 # include <assert.h>
37625 #endif
37626 /* Override any gcc2 internal prototype to avoid an error.  */
37627 #ifdef __cplusplus
37628 extern "C"
37629 {
37630 #endif
37631 /* We use char because int might match the return type of a gcc2
37632    builtin and then its argument prototype would still apply.  */
37633 char $ac_func ();
37634 /* The GNU C library defines this for functions which it implements
37635     to always fail with ENOSYS.  Some functions are actually named
37636     something starting with __ and the normal name is an alias.  */
37637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37638 choke me
37639 #else
37640 char (*f) () = $ac_func;
37641 #endif
37642 #ifdef __cplusplus
37643 }
37644 #endif
37645
37646 int
37647 main ()
37648 {
37649 return f != $ac_func;
37650   ;
37651   return 0;
37652 }
37653 _ACEOF
37654 rm -f conftest.$ac_objext conftest$ac_exeext
37655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37656   (eval $ac_link) 2>&5
37657   ac_status=$?
37658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659   (exit $ac_status); } &&
37660          { ac_try='test -s conftest$ac_exeext'
37661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37662   (eval $ac_try) 2>&5
37663   ac_status=$?
37664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665   (exit $ac_status); }; }; then
37666   eval "$as_ac_var=yes"
37667 else
37668   echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37670
37671 eval "$as_ac_var=no"
37672 fi
37673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37674 fi
37675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37677 if test `eval echo '${'$as_ac_var'}'` = yes; then
37678   cat >>confdefs.h <<_ACEOF
37679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37680 _ACEOF
37681
37682 fi
37683 done
37684
37685     fi
37686   fi
37687
37688
37689
37690   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37691 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37692   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37693     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37694   echo $ECHO_N "(cached) $ECHO_C" >&6
37695 else
37696
37697
37698
37699       ac_ext=cc
37700 ac_cpp='$CXXCPP $CPPFLAGS'
37701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37704
37705       cat >conftest.$ac_ext <<_ACEOF
37706 #line $LINENO "configure"
37707 /* confdefs.h.  */
37708 _ACEOF
37709 cat confdefs.h >>conftest.$ac_ext
37710 cat >>conftest.$ac_ext <<_ACEOF
37711 /* end confdefs.h.  */
37712 #include <math.h>
37713 int
37714 main ()
37715 {
37716  hypotl(0, 0);
37717   ;
37718   return 0;
37719 }
37720 _ACEOF
37721 rm -f conftest.$ac_objext
37722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37723   (eval $ac_compile) 2>&5
37724   ac_status=$?
37725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726   (exit $ac_status); } &&
37727          { ac_try='test -s conftest.$ac_objext'
37728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37729   (eval $ac_try) 2>&5
37730   ac_status=$?
37731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732   (exit $ac_status); }; }; then
37733   glibcxx_cv_func_hypotl_use=yes
37734 else
37735   echo "$as_me: failed program was:" >&5
37736 sed 's/^/| /' conftest.$ac_ext >&5
37737
37738 glibcxx_cv_func_hypotl_use=no
37739 fi
37740 rm -f conftest.$ac_objext conftest.$ac_ext
37741       ac_ext=c
37742 ac_cpp='$CPP $CPPFLAGS'
37743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37746
37747
37748 fi
37749
37750   fi
37751   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37752 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37753
37754   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37755
37756 for ac_func in hypotl
37757 do
37758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37759 echo "$as_me:$LINENO: checking for $ac_func" >&5
37760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37761 if eval "test \"\${$as_ac_var+set}\" = set"; then
37762   echo $ECHO_N "(cached) $ECHO_C" >&6
37763 else
37764   cat >conftest.$ac_ext <<_ACEOF
37765 #line $LINENO "configure"
37766 /* confdefs.h.  */
37767 _ACEOF
37768 cat confdefs.h >>conftest.$ac_ext
37769 cat >>conftest.$ac_ext <<_ACEOF
37770 /* end confdefs.h.  */
37771 /* System header to define __stub macros and hopefully few prototypes,
37772     which can conflict with char $ac_func (); below.
37773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37774     <limits.h> exists even on freestanding compilers.  */
37775 #ifdef __STDC__
37776 # include <limits.h>
37777 #else
37778 # include <assert.h>
37779 #endif
37780 /* Override any gcc2 internal prototype to avoid an error.  */
37781 #ifdef __cplusplus
37782 extern "C"
37783 {
37784 #endif
37785 /* We use char because int might match the return type of a gcc2
37786    builtin and then its argument prototype would still apply.  */
37787 char $ac_func ();
37788 /* The GNU C library defines this for functions which it implements
37789     to always fail with ENOSYS.  Some functions are actually named
37790     something starting with __ and the normal name is an alias.  */
37791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37792 choke me
37793 #else
37794 char (*f) () = $ac_func;
37795 #endif
37796 #ifdef __cplusplus
37797 }
37798 #endif
37799
37800 int
37801 main ()
37802 {
37803 return f != $ac_func;
37804   ;
37805   return 0;
37806 }
37807 _ACEOF
37808 rm -f conftest.$ac_objext conftest$ac_exeext
37809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37810   (eval $ac_link) 2>&5
37811   ac_status=$?
37812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813   (exit $ac_status); } &&
37814          { ac_try='test -s conftest$ac_exeext'
37815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37816   (eval $ac_try) 2>&5
37817   ac_status=$?
37818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37819   (exit $ac_status); }; }; then
37820   eval "$as_ac_var=yes"
37821 else
37822   echo "$as_me: failed program was:" >&5
37823 sed 's/^/| /' conftest.$ac_ext >&5
37824
37825 eval "$as_ac_var=no"
37826 fi
37827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37828 fi
37829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37831 if test `eval echo '${'$as_ac_var'}'` = yes; then
37832   cat >>confdefs.h <<_ACEOF
37833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37834 _ACEOF
37835
37836 fi
37837 done
37838
37839   else
37840
37841   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37842 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37843   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37844     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37845   echo $ECHO_N "(cached) $ECHO_C" >&6
37846 else
37847
37848
37849
37850       ac_ext=cc
37851 ac_cpp='$CXXCPP $CPPFLAGS'
37852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37855
37856       cat >conftest.$ac_ext <<_ACEOF
37857 #line $LINENO "configure"
37858 /* confdefs.h.  */
37859 _ACEOF
37860 cat confdefs.h >>conftest.$ac_ext
37861 cat >>conftest.$ac_ext <<_ACEOF
37862 /* end confdefs.h.  */
37863 #include <math.h>
37864 int
37865 main ()
37866 {
37867  _hypotl(0, 0);
37868   ;
37869   return 0;
37870 }
37871 _ACEOF
37872 rm -f conftest.$ac_objext
37873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37874   (eval $ac_compile) 2>&5
37875   ac_status=$?
37876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877   (exit $ac_status); } &&
37878          { ac_try='test -s conftest.$ac_objext'
37879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37880   (eval $ac_try) 2>&5
37881   ac_status=$?
37882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883   (exit $ac_status); }; }; then
37884   glibcxx_cv_func__hypotl_use=yes
37885 else
37886   echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889 glibcxx_cv_func__hypotl_use=no
37890 fi
37891 rm -f conftest.$ac_objext conftest.$ac_ext
37892       ac_ext=c
37893 ac_cpp='$CPP $CPPFLAGS'
37894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37897
37898
37899 fi
37900
37901   fi
37902   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37903 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37904
37905     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37906
37907 for ac_func in _hypotl
37908 do
37909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37910 echo "$as_me:$LINENO: checking for $ac_func" >&5
37911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37912 if eval "test \"\${$as_ac_var+set}\" = set"; then
37913   echo $ECHO_N "(cached) $ECHO_C" >&6
37914 else
37915   cat >conftest.$ac_ext <<_ACEOF
37916 #line $LINENO "configure"
37917 /* confdefs.h.  */
37918 _ACEOF
37919 cat confdefs.h >>conftest.$ac_ext
37920 cat >>conftest.$ac_ext <<_ACEOF
37921 /* end confdefs.h.  */
37922 /* System header to define __stub macros and hopefully few prototypes,
37923     which can conflict with char $ac_func (); below.
37924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37925     <limits.h> exists even on freestanding compilers.  */
37926 #ifdef __STDC__
37927 # include <limits.h>
37928 #else
37929 # include <assert.h>
37930 #endif
37931 /* Override any gcc2 internal prototype to avoid an error.  */
37932 #ifdef __cplusplus
37933 extern "C"
37934 {
37935 #endif
37936 /* We use char because int might match the return type of a gcc2
37937    builtin and then its argument prototype would still apply.  */
37938 char $ac_func ();
37939 /* The GNU C library defines this for functions which it implements
37940     to always fail with ENOSYS.  Some functions are actually named
37941     something starting with __ and the normal name is an alias.  */
37942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37943 choke me
37944 #else
37945 char (*f) () = $ac_func;
37946 #endif
37947 #ifdef __cplusplus
37948 }
37949 #endif
37950
37951 int
37952 main ()
37953 {
37954 return f != $ac_func;
37955   ;
37956   return 0;
37957 }
37958 _ACEOF
37959 rm -f conftest.$ac_objext conftest$ac_exeext
37960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37961   (eval $ac_link) 2>&5
37962   ac_status=$?
37963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964   (exit $ac_status); } &&
37965          { ac_try='test -s conftest$ac_exeext'
37966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967   (eval $ac_try) 2>&5
37968   ac_status=$?
37969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970   (exit $ac_status); }; }; then
37971   eval "$as_ac_var=yes"
37972 else
37973   echo "$as_me: failed program was:" >&5
37974 sed 's/^/| /' conftest.$ac_ext >&5
37975
37976 eval "$as_ac_var=no"
37977 fi
37978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37979 fi
37980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37982 if test `eval echo '${'$as_ac_var'}'` = yes; then
37983   cat >>confdefs.h <<_ACEOF
37984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37985 _ACEOF
37986
37987 fi
37988 done
37989
37990     fi
37991   fi
37992
37993
37994
37995   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37996 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37997   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37998     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37999   echo $ECHO_N "(cached) $ECHO_C" >&6
38000 else
38001
38002
38003
38004       ac_ext=cc
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38009
38010       cat >conftest.$ac_ext <<_ACEOF
38011 #line $LINENO "configure"
38012 /* confdefs.h.  */
38013 _ACEOF
38014 cat confdefs.h >>conftest.$ac_ext
38015 cat >>conftest.$ac_ext <<_ACEOF
38016 /* end confdefs.h.  */
38017 #include <math.h>
38018 int
38019 main ()
38020 {
38021  ldexpl(0, 0);
38022   ;
38023   return 0;
38024 }
38025 _ACEOF
38026 rm -f conftest.$ac_objext
38027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38028   (eval $ac_compile) 2>&5
38029   ac_status=$?
38030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031   (exit $ac_status); } &&
38032          { ac_try='test -s conftest.$ac_objext'
38033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034   (eval $ac_try) 2>&5
38035   ac_status=$?
38036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037   (exit $ac_status); }; }; then
38038   glibcxx_cv_func_ldexpl_use=yes
38039 else
38040   echo "$as_me: failed program was:" >&5
38041 sed 's/^/| /' conftest.$ac_ext >&5
38042
38043 glibcxx_cv_func_ldexpl_use=no
38044 fi
38045 rm -f conftest.$ac_objext conftest.$ac_ext
38046       ac_ext=c
38047 ac_cpp='$CPP $CPPFLAGS'
38048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38051
38052
38053 fi
38054
38055   fi
38056   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
38057 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
38058
38059   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38060
38061 for ac_func in ldexpl
38062 do
38063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38064 echo "$as_me:$LINENO: checking for $ac_func" >&5
38065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38066 if eval "test \"\${$as_ac_var+set}\" = set"; then
38067   echo $ECHO_N "(cached) $ECHO_C" >&6
38068 else
38069   cat >conftest.$ac_ext <<_ACEOF
38070 #line $LINENO "configure"
38071 /* confdefs.h.  */
38072 _ACEOF
38073 cat confdefs.h >>conftest.$ac_ext
38074 cat >>conftest.$ac_ext <<_ACEOF
38075 /* end confdefs.h.  */
38076 /* System header to define __stub macros and hopefully few prototypes,
38077     which can conflict with char $ac_func (); below.
38078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38079     <limits.h> exists even on freestanding compilers.  */
38080 #ifdef __STDC__
38081 # include <limits.h>
38082 #else
38083 # include <assert.h>
38084 #endif
38085 /* Override any gcc2 internal prototype to avoid an error.  */
38086 #ifdef __cplusplus
38087 extern "C"
38088 {
38089 #endif
38090 /* We use char because int might match the return type of a gcc2
38091    builtin and then its argument prototype would still apply.  */
38092 char $ac_func ();
38093 /* The GNU C library defines this for functions which it implements
38094     to always fail with ENOSYS.  Some functions are actually named
38095     something starting with __ and the normal name is an alias.  */
38096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38097 choke me
38098 #else
38099 char (*f) () = $ac_func;
38100 #endif
38101 #ifdef __cplusplus
38102 }
38103 #endif
38104
38105 int
38106 main ()
38107 {
38108 return f != $ac_func;
38109   ;
38110   return 0;
38111 }
38112 _ACEOF
38113 rm -f conftest.$ac_objext conftest$ac_exeext
38114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38115   (eval $ac_link) 2>&5
38116   ac_status=$?
38117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118   (exit $ac_status); } &&
38119          { ac_try='test -s conftest$ac_exeext'
38120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121   (eval $ac_try) 2>&5
38122   ac_status=$?
38123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124   (exit $ac_status); }; }; then
38125   eval "$as_ac_var=yes"
38126 else
38127   echo "$as_me: failed program was:" >&5
38128 sed 's/^/| /' conftest.$ac_ext >&5
38129
38130 eval "$as_ac_var=no"
38131 fi
38132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38133 fi
38134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38136 if test `eval echo '${'$as_ac_var'}'` = yes; then
38137   cat >>confdefs.h <<_ACEOF
38138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38139 _ACEOF
38140
38141 fi
38142 done
38143
38144   else
38145
38146   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
38147 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
38148   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38149     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
38150   echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152
38153
38154
38155       ac_ext=cc
38156 ac_cpp='$CXXCPP $CPPFLAGS'
38157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38160
38161       cat >conftest.$ac_ext <<_ACEOF
38162 #line $LINENO "configure"
38163 /* confdefs.h.  */
38164 _ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h.  */
38168 #include <math.h>
38169 int
38170 main ()
38171 {
38172  _ldexpl(0, 0);
38173   ;
38174   return 0;
38175 }
38176 _ACEOF
38177 rm -f conftest.$ac_objext
38178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38179   (eval $ac_compile) 2>&5
38180   ac_status=$?
38181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182   (exit $ac_status); } &&
38183          { ac_try='test -s conftest.$ac_objext'
38184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185   (eval $ac_try) 2>&5
38186   ac_status=$?
38187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188   (exit $ac_status); }; }; then
38189   glibcxx_cv_func__ldexpl_use=yes
38190 else
38191   echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38193
38194 glibcxx_cv_func__ldexpl_use=no
38195 fi
38196 rm -f conftest.$ac_objext conftest.$ac_ext
38197       ac_ext=c
38198 ac_cpp='$CPP $CPPFLAGS'
38199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202
38203
38204 fi
38205
38206   fi
38207   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
38208 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
38209
38210     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38211
38212 for ac_func in _ldexpl
38213 do
38214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38215 echo "$as_me:$LINENO: checking for $ac_func" >&5
38216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38217 if eval "test \"\${$as_ac_var+set}\" = set"; then
38218   echo $ECHO_N "(cached) $ECHO_C" >&6
38219 else
38220   cat >conftest.$ac_ext <<_ACEOF
38221 #line $LINENO "configure"
38222 /* confdefs.h.  */
38223 _ACEOF
38224 cat confdefs.h >>conftest.$ac_ext
38225 cat >>conftest.$ac_ext <<_ACEOF
38226 /* end confdefs.h.  */
38227 /* System header to define __stub macros and hopefully few prototypes,
38228     which can conflict with char $ac_func (); below.
38229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38230     <limits.h> exists even on freestanding compilers.  */
38231 #ifdef __STDC__
38232 # include <limits.h>
38233 #else
38234 # include <assert.h>
38235 #endif
38236 /* Override any gcc2 internal prototype to avoid an error.  */
38237 #ifdef __cplusplus
38238 extern "C"
38239 {
38240 #endif
38241 /* We use char because int might match the return type of a gcc2
38242    builtin and then its argument prototype would still apply.  */
38243 char $ac_func ();
38244 /* The GNU C library defines this for functions which it implements
38245     to always fail with ENOSYS.  Some functions are actually named
38246     something starting with __ and the normal name is an alias.  */
38247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38248 choke me
38249 #else
38250 char (*f) () = $ac_func;
38251 #endif
38252 #ifdef __cplusplus
38253 }
38254 #endif
38255
38256 int
38257 main ()
38258 {
38259 return f != $ac_func;
38260   ;
38261   return 0;
38262 }
38263 _ACEOF
38264 rm -f conftest.$ac_objext conftest$ac_exeext
38265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38266   (eval $ac_link) 2>&5
38267   ac_status=$?
38268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269   (exit $ac_status); } &&
38270          { ac_try='test -s conftest$ac_exeext'
38271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38272   (eval $ac_try) 2>&5
38273   ac_status=$?
38274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275   (exit $ac_status); }; }; then
38276   eval "$as_ac_var=yes"
38277 else
38278   echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38280
38281 eval "$as_ac_var=no"
38282 fi
38283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38284 fi
38285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38287 if test `eval echo '${'$as_ac_var'}'` = yes; then
38288   cat >>confdefs.h <<_ACEOF
38289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38290 _ACEOF
38291
38292 fi
38293 done
38294
38295     fi
38296   fi
38297
38298
38299
38300   echo "$as_me:$LINENO: checking for logl declaration" >&5
38301 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
38302   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38303     if test "${glibcxx_cv_func_logl_use+set}" = set; then
38304   echo $ECHO_N "(cached) $ECHO_C" >&6
38305 else
38306
38307
38308
38309       ac_ext=cc
38310 ac_cpp='$CXXCPP $CPPFLAGS'
38311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38314
38315       cat >conftest.$ac_ext <<_ACEOF
38316 #line $LINENO "configure"
38317 /* confdefs.h.  */
38318 _ACEOF
38319 cat confdefs.h >>conftest.$ac_ext
38320 cat >>conftest.$ac_ext <<_ACEOF
38321 /* end confdefs.h.  */
38322 #include <math.h>
38323                       #ifdef HAVE_IEEEFP_H
38324                       #include <ieeefp.h>
38325                       #endif
38326
38327 int
38328 main ()
38329 {
38330  logl(0);
38331   ;
38332   return 0;
38333 }
38334 _ACEOF
38335 rm -f conftest.$ac_objext
38336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38337   (eval $ac_compile) 2>&5
38338   ac_status=$?
38339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340   (exit $ac_status); } &&
38341          { ac_try='test -s conftest.$ac_objext'
38342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343   (eval $ac_try) 2>&5
38344   ac_status=$?
38345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346   (exit $ac_status); }; }; then
38347   glibcxx_cv_func_logl_use=yes
38348 else
38349   echo "$as_me: failed program was:" >&5
38350 sed 's/^/| /' conftest.$ac_ext >&5
38351
38352 glibcxx_cv_func_logl_use=no
38353 fi
38354 rm -f conftest.$ac_objext conftest.$ac_ext
38355       ac_ext=c
38356 ac_cpp='$CPP $CPPFLAGS'
38357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38360
38361
38362 fi
38363
38364   fi
38365   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38366 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38367
38368   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38369
38370 for ac_func in logl
38371 do
38372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38373 echo "$as_me:$LINENO: checking for $ac_func" >&5
38374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38375 if eval "test \"\${$as_ac_var+set}\" = set"; then
38376   echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378   cat >conftest.$ac_ext <<_ACEOF
38379 #line $LINENO "configure"
38380 /* confdefs.h.  */
38381 _ACEOF
38382 cat confdefs.h >>conftest.$ac_ext
38383 cat >>conftest.$ac_ext <<_ACEOF
38384 /* end confdefs.h.  */
38385 /* System header to define __stub macros and hopefully few prototypes,
38386     which can conflict with char $ac_func (); below.
38387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38388     <limits.h> exists even on freestanding compilers.  */
38389 #ifdef __STDC__
38390 # include <limits.h>
38391 #else
38392 # include <assert.h>
38393 #endif
38394 /* Override any gcc2 internal prototype to avoid an error.  */
38395 #ifdef __cplusplus
38396 extern "C"
38397 {
38398 #endif
38399 /* We use char because int might match the return type of a gcc2
38400    builtin and then its argument prototype would still apply.  */
38401 char $ac_func ();
38402 /* The GNU C library defines this for functions which it implements
38403     to always fail with ENOSYS.  Some functions are actually named
38404     something starting with __ and the normal name is an alias.  */
38405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38406 choke me
38407 #else
38408 char (*f) () = $ac_func;
38409 #endif
38410 #ifdef __cplusplus
38411 }
38412 #endif
38413
38414 int
38415 main ()
38416 {
38417 return f != $ac_func;
38418   ;
38419   return 0;
38420 }
38421 _ACEOF
38422 rm -f conftest.$ac_objext conftest$ac_exeext
38423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38424   (eval $ac_link) 2>&5
38425   ac_status=$?
38426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427   (exit $ac_status); } &&
38428          { ac_try='test -s conftest$ac_exeext'
38429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430   (eval $ac_try) 2>&5
38431   ac_status=$?
38432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433   (exit $ac_status); }; }; then
38434   eval "$as_ac_var=yes"
38435 else
38436   echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38438
38439 eval "$as_ac_var=no"
38440 fi
38441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38442 fi
38443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38445 if test `eval echo '${'$as_ac_var'}'` = yes; then
38446   cat >>confdefs.h <<_ACEOF
38447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38448 _ACEOF
38449
38450 fi
38451 done
38452
38453   else
38454
38455   echo "$as_me:$LINENO: checking for _logl declaration" >&5
38456 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38457   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38458     if test "${glibcxx_cv_func__logl_use+set}" = set; then
38459   echo $ECHO_N "(cached) $ECHO_C" >&6
38460 else
38461
38462
38463
38464       ac_ext=cc
38465 ac_cpp='$CXXCPP $CPPFLAGS'
38466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38469
38470       cat >conftest.$ac_ext <<_ACEOF
38471 #line $LINENO "configure"
38472 /* confdefs.h.  */
38473 _ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h.  */
38477 #include <math.h>
38478                       #ifdef HAVE_IEEEFP_H
38479                       #include <ieeefp.h>
38480                       #endif
38481
38482 int
38483 main ()
38484 {
38485  _logl(0);
38486   ;
38487   return 0;
38488 }
38489 _ACEOF
38490 rm -f conftest.$ac_objext
38491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38492   (eval $ac_compile) 2>&5
38493   ac_status=$?
38494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38495   (exit $ac_status); } &&
38496          { ac_try='test -s conftest.$ac_objext'
38497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38498   (eval $ac_try) 2>&5
38499   ac_status=$?
38500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38501   (exit $ac_status); }; }; then
38502   glibcxx_cv_func__logl_use=yes
38503 else
38504   echo "$as_me: failed program was:" >&5
38505 sed 's/^/| /' conftest.$ac_ext >&5
38506
38507 glibcxx_cv_func__logl_use=no
38508 fi
38509 rm -f conftest.$ac_objext conftest.$ac_ext
38510       ac_ext=c
38511 ac_cpp='$CPP $CPPFLAGS'
38512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38515
38516
38517 fi
38518
38519   fi
38520   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38521 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38522
38523     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38524
38525 for ac_func in _logl
38526 do
38527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38528 echo "$as_me:$LINENO: checking for $ac_func" >&5
38529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38530 if eval "test \"\${$as_ac_var+set}\" = set"; then
38531   echo $ECHO_N "(cached) $ECHO_C" >&6
38532 else
38533   cat >conftest.$ac_ext <<_ACEOF
38534 #line $LINENO "configure"
38535 /* confdefs.h.  */
38536 _ACEOF
38537 cat confdefs.h >>conftest.$ac_ext
38538 cat >>conftest.$ac_ext <<_ACEOF
38539 /* end confdefs.h.  */
38540 /* System header to define __stub macros and hopefully few prototypes,
38541     which can conflict with char $ac_func (); below.
38542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38543     <limits.h> exists even on freestanding compilers.  */
38544 #ifdef __STDC__
38545 # include <limits.h>
38546 #else
38547 # include <assert.h>
38548 #endif
38549 /* Override any gcc2 internal prototype to avoid an error.  */
38550 #ifdef __cplusplus
38551 extern "C"
38552 {
38553 #endif
38554 /* We use char because int might match the return type of a gcc2
38555    builtin and then its argument prototype would still apply.  */
38556 char $ac_func ();
38557 /* The GNU C library defines this for functions which it implements
38558     to always fail with ENOSYS.  Some functions are actually named
38559     something starting with __ and the normal name is an alias.  */
38560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38561 choke me
38562 #else
38563 char (*f) () = $ac_func;
38564 #endif
38565 #ifdef __cplusplus
38566 }
38567 #endif
38568
38569 int
38570 main ()
38571 {
38572 return f != $ac_func;
38573   ;
38574   return 0;
38575 }
38576 _ACEOF
38577 rm -f conftest.$ac_objext conftest$ac_exeext
38578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38579   (eval $ac_link) 2>&5
38580   ac_status=$?
38581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582   (exit $ac_status); } &&
38583          { ac_try='test -s conftest$ac_exeext'
38584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38585   (eval $ac_try) 2>&5
38586   ac_status=$?
38587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588   (exit $ac_status); }; }; then
38589   eval "$as_ac_var=yes"
38590 else
38591   echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.$ac_ext >&5
38593
38594 eval "$as_ac_var=no"
38595 fi
38596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38597 fi
38598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38600 if test `eval echo '${'$as_ac_var'}'` = yes; then
38601   cat >>confdefs.h <<_ACEOF
38602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38603 _ACEOF
38604
38605 fi
38606 done
38607
38608     fi
38609   fi
38610
38611
38612
38613   echo "$as_me:$LINENO: checking for log10l declaration" >&5
38614 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38615   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38616     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38617   echo $ECHO_N "(cached) $ECHO_C" >&6
38618 else
38619
38620
38621
38622       ac_ext=cc
38623 ac_cpp='$CXXCPP $CPPFLAGS'
38624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38627
38628       cat >conftest.$ac_ext <<_ACEOF
38629 #line $LINENO "configure"
38630 /* confdefs.h.  */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h.  */
38635 #include <math.h>
38636                       #ifdef HAVE_IEEEFP_H
38637                       #include <ieeefp.h>
38638                       #endif
38639
38640 int
38641 main ()
38642 {
38643  log10l(0);
38644   ;
38645   return 0;
38646 }
38647 _ACEOF
38648 rm -f conftest.$ac_objext
38649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38650   (eval $ac_compile) 2>&5
38651   ac_status=$?
38652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653   (exit $ac_status); } &&
38654          { ac_try='test -s conftest.$ac_objext'
38655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656   (eval $ac_try) 2>&5
38657   ac_status=$?
38658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659   (exit $ac_status); }; }; then
38660   glibcxx_cv_func_log10l_use=yes
38661 else
38662   echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38664
38665 glibcxx_cv_func_log10l_use=no
38666 fi
38667 rm -f conftest.$ac_objext conftest.$ac_ext
38668       ac_ext=c
38669 ac_cpp='$CPP $CPPFLAGS'
38670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38673
38674
38675 fi
38676
38677   fi
38678   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38679 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38680
38681   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38682
38683 for ac_func in log10l
38684 do
38685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38686 echo "$as_me:$LINENO: checking for $ac_func" >&5
38687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38688 if eval "test \"\${$as_ac_var+set}\" = set"; then
38689   echo $ECHO_N "(cached) $ECHO_C" >&6
38690 else
38691   cat >conftest.$ac_ext <<_ACEOF
38692 #line $LINENO "configure"
38693 /* confdefs.h.  */
38694 _ACEOF
38695 cat confdefs.h >>conftest.$ac_ext
38696 cat >>conftest.$ac_ext <<_ACEOF
38697 /* end confdefs.h.  */
38698 /* System header to define __stub macros and hopefully few prototypes,
38699     which can conflict with char $ac_func (); below.
38700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38701     <limits.h> exists even on freestanding compilers.  */
38702 #ifdef __STDC__
38703 # include <limits.h>
38704 #else
38705 # include <assert.h>
38706 #endif
38707 /* Override any gcc2 internal prototype to avoid an error.  */
38708 #ifdef __cplusplus
38709 extern "C"
38710 {
38711 #endif
38712 /* We use char because int might match the return type of a gcc2
38713    builtin and then its argument prototype would still apply.  */
38714 char $ac_func ();
38715 /* The GNU C library defines this for functions which it implements
38716     to always fail with ENOSYS.  Some functions are actually named
38717     something starting with __ and the normal name is an alias.  */
38718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38719 choke me
38720 #else
38721 char (*f) () = $ac_func;
38722 #endif
38723 #ifdef __cplusplus
38724 }
38725 #endif
38726
38727 int
38728 main ()
38729 {
38730 return f != $ac_func;
38731   ;
38732   return 0;
38733 }
38734 _ACEOF
38735 rm -f conftest.$ac_objext conftest$ac_exeext
38736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38737   (eval $ac_link) 2>&5
38738   ac_status=$?
38739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740   (exit $ac_status); } &&
38741          { ac_try='test -s conftest$ac_exeext'
38742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743   (eval $ac_try) 2>&5
38744   ac_status=$?
38745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746   (exit $ac_status); }; }; then
38747   eval "$as_ac_var=yes"
38748 else
38749   echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38751
38752 eval "$as_ac_var=no"
38753 fi
38754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38755 fi
38756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38758 if test `eval echo '${'$as_ac_var'}'` = yes; then
38759   cat >>confdefs.h <<_ACEOF
38760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38761 _ACEOF
38762
38763 fi
38764 done
38765
38766   else
38767
38768   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38769 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38770   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38771     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38772   echo $ECHO_N "(cached) $ECHO_C" >&6
38773 else
38774
38775
38776
38777       ac_ext=cc
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782
38783       cat >conftest.$ac_ext <<_ACEOF
38784 #line $LINENO "configure"
38785 /* confdefs.h.  */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h.  */
38790 #include <math.h>
38791                       #ifdef HAVE_IEEEFP_H
38792                       #include <ieeefp.h>
38793                       #endif
38794
38795 int
38796 main ()
38797 {
38798  _log10l(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__log10l_use=yes
38816 else
38817   echo "$as_me: failed program was:" >&5
38818 sed 's/^/| /' conftest.$ac_ext >&5
38819
38820 glibcxx_cv_func__log10l_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__log10l_use" >&5
38834 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38835
38836     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38837
38838 for ac_func in _log10l
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   cat >conftest.$ac_ext <<_ACEOF
38847 #line $LINENO "configure"
38848 /* confdefs.h.  */
38849 _ACEOF
38850 cat confdefs.h >>conftest.$ac_ext
38851 cat >>conftest.$ac_ext <<_ACEOF
38852 /* end confdefs.h.  */
38853 /* System header to define __stub macros and hopefully few prototypes,
38854     which can conflict with char $ac_func (); below.
38855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38856     <limits.h> exists even on freestanding compilers.  */
38857 #ifdef __STDC__
38858 # include <limits.h>
38859 #else
38860 # include <assert.h>
38861 #endif
38862 /* Override any gcc2 internal prototype to avoid an error.  */
38863 #ifdef __cplusplus
38864 extern "C"
38865 {
38866 #endif
38867 /* We use char because int might match the return type of a gcc2
38868    builtin and then its argument prototype would still apply.  */
38869 char $ac_func ();
38870 /* The GNU C library defines this for functions which it implements
38871     to always fail with ENOSYS.  Some functions are actually named
38872     something starting with __ and the normal name is an alias.  */
38873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38874 choke me
38875 #else
38876 char (*f) () = $ac_func;
38877 #endif
38878 #ifdef __cplusplus
38879 }
38880 #endif
38881
38882 int
38883 main ()
38884 {
38885 return f != $ac_func;
38886   ;
38887   return 0;
38888 }
38889 _ACEOF
38890 rm -f conftest.$ac_objext conftest$ac_exeext
38891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38892   (eval $ac_link) 2>&5
38893   ac_status=$?
38894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895   (exit $ac_status); } &&
38896          { ac_try='test -s conftest$ac_exeext'
38897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898   (eval $ac_try) 2>&5
38899   ac_status=$?
38900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901   (exit $ac_status); }; }; then
38902   eval "$as_ac_var=yes"
38903 else
38904   echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.$ac_ext >&5
38906
38907 eval "$as_ac_var=no"
38908 fi
38909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38910 fi
38911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38913 if test `eval echo '${'$as_ac_var'}'` = yes; then
38914   cat >>confdefs.h <<_ACEOF
38915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38916 _ACEOF
38917
38918 fi
38919 done
38920
38921     fi
38922   fi
38923
38924
38925
38926   echo "$as_me:$LINENO: checking for modfl declaration" >&5
38927 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38928   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38929     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38930   echo $ECHO_N "(cached) $ECHO_C" >&6
38931 else
38932
38933
38934
38935       ac_ext=cc
38936 ac_cpp='$CXXCPP $CPPFLAGS'
38937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38940
38941       cat >conftest.$ac_ext <<_ACEOF
38942 #line $LINENO "configure"
38943 /* confdefs.h.  */
38944 _ACEOF
38945 cat confdefs.h >>conftest.$ac_ext
38946 cat >>conftest.$ac_ext <<_ACEOF
38947 /* end confdefs.h.  */
38948 #include <math.h>
38949 int
38950 main ()
38951 {
38952  modfl(0, 0);
38953   ;
38954   return 0;
38955 }
38956 _ACEOF
38957 rm -f conftest.$ac_objext
38958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38959   (eval $ac_compile) 2>&5
38960   ac_status=$?
38961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962   (exit $ac_status); } &&
38963          { ac_try='test -s conftest.$ac_objext'
38964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38965   (eval $ac_try) 2>&5
38966   ac_status=$?
38967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968   (exit $ac_status); }; }; then
38969   glibcxx_cv_func_modfl_use=yes
38970 else
38971   echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.$ac_ext >&5
38973
38974 glibcxx_cv_func_modfl_use=no
38975 fi
38976 rm -f conftest.$ac_objext conftest.$ac_ext
38977       ac_ext=c
38978 ac_cpp='$CPP $CPPFLAGS'
38979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38982
38983
38984 fi
38985
38986   fi
38987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38988 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38989
38990   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38991
38992 for ac_func in modfl
38993 do
38994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38995 echo "$as_me:$LINENO: checking for $ac_func" >&5
38996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38997 if eval "test \"\${$as_ac_var+set}\" = set"; then
38998   echo $ECHO_N "(cached) $ECHO_C" >&6
38999 else
39000   cat >conftest.$ac_ext <<_ACEOF
39001 #line $LINENO "configure"
39002 /* confdefs.h.  */
39003 _ACEOF
39004 cat confdefs.h >>conftest.$ac_ext
39005 cat >>conftest.$ac_ext <<_ACEOF
39006 /* end confdefs.h.  */
39007 /* System header to define __stub macros and hopefully few prototypes,
39008     which can conflict with char $ac_func (); below.
39009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39010     <limits.h> exists even on freestanding compilers.  */
39011 #ifdef __STDC__
39012 # include <limits.h>
39013 #else
39014 # include <assert.h>
39015 #endif
39016 /* Override any gcc2 internal prototype to avoid an error.  */
39017 #ifdef __cplusplus
39018 extern "C"
39019 {
39020 #endif
39021 /* We use char because int might match the return type of a gcc2
39022    builtin and then its argument prototype would still apply.  */
39023 char $ac_func ();
39024 /* The GNU C library defines this for functions which it implements
39025     to always fail with ENOSYS.  Some functions are actually named
39026     something starting with __ and the normal name is an alias.  */
39027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39028 choke me
39029 #else
39030 char (*f) () = $ac_func;
39031 #endif
39032 #ifdef __cplusplus
39033 }
39034 #endif
39035
39036 int
39037 main ()
39038 {
39039 return f != $ac_func;
39040   ;
39041   return 0;
39042 }
39043 _ACEOF
39044 rm -f conftest.$ac_objext conftest$ac_exeext
39045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39046   (eval $ac_link) 2>&5
39047   ac_status=$?
39048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049   (exit $ac_status); } &&
39050          { ac_try='test -s conftest$ac_exeext'
39051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39052   (eval $ac_try) 2>&5
39053   ac_status=$?
39054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055   (exit $ac_status); }; }; then
39056   eval "$as_ac_var=yes"
39057 else
39058   echo "$as_me: failed program was:" >&5
39059 sed 's/^/| /' conftest.$ac_ext >&5
39060
39061 eval "$as_ac_var=no"
39062 fi
39063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39064 fi
39065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39067 if test `eval echo '${'$as_ac_var'}'` = yes; then
39068   cat >>confdefs.h <<_ACEOF
39069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39070 _ACEOF
39071
39072 fi
39073 done
39074
39075   else
39076
39077   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
39078 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
39079   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39080     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
39081   echo $ECHO_N "(cached) $ECHO_C" >&6
39082 else
39083
39084
39085
39086       ac_ext=cc
39087 ac_cpp='$CXXCPP $CPPFLAGS'
39088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39091
39092       cat >conftest.$ac_ext <<_ACEOF
39093 #line $LINENO "configure"
39094 /* confdefs.h.  */
39095 _ACEOF
39096 cat confdefs.h >>conftest.$ac_ext
39097 cat >>conftest.$ac_ext <<_ACEOF
39098 /* end confdefs.h.  */
39099 #include <math.h>
39100 int
39101 main ()
39102 {
39103  _modfl(0, 0);
39104   ;
39105   return 0;
39106 }
39107 _ACEOF
39108 rm -f conftest.$ac_objext
39109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39110   (eval $ac_compile) 2>&5
39111   ac_status=$?
39112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113   (exit $ac_status); } &&
39114          { ac_try='test -s conftest.$ac_objext'
39115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116   (eval $ac_try) 2>&5
39117   ac_status=$?
39118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119   (exit $ac_status); }; }; then
39120   glibcxx_cv_func__modfl_use=yes
39121 else
39122   echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.$ac_ext >&5
39124
39125 glibcxx_cv_func__modfl_use=no
39126 fi
39127 rm -f conftest.$ac_objext conftest.$ac_ext
39128       ac_ext=c
39129 ac_cpp='$CPP $CPPFLAGS'
39130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39133
39134
39135 fi
39136
39137   fi
39138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
39139 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
39140
39141     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39142
39143 for ac_func in _modfl
39144 do
39145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39146 echo "$as_me:$LINENO: checking for $ac_func" >&5
39147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39148 if eval "test \"\${$as_ac_var+set}\" = set"; then
39149   echo $ECHO_N "(cached) $ECHO_C" >&6
39150 else
39151   cat >conftest.$ac_ext <<_ACEOF
39152 #line $LINENO "configure"
39153 /* confdefs.h.  */
39154 _ACEOF
39155 cat confdefs.h >>conftest.$ac_ext
39156 cat >>conftest.$ac_ext <<_ACEOF
39157 /* end confdefs.h.  */
39158 /* System header to define __stub macros and hopefully few prototypes,
39159     which can conflict with char $ac_func (); below.
39160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39161     <limits.h> exists even on freestanding compilers.  */
39162 #ifdef __STDC__
39163 # include <limits.h>
39164 #else
39165 # include <assert.h>
39166 #endif
39167 /* Override any gcc2 internal prototype to avoid an error.  */
39168 #ifdef __cplusplus
39169 extern "C"
39170 {
39171 #endif
39172 /* We use char because int might match the return type of a gcc2
39173    builtin and then its argument prototype would still apply.  */
39174 char $ac_func ();
39175 /* The GNU C library defines this for functions which it implements
39176     to always fail with ENOSYS.  Some functions are actually named
39177     something starting with __ and the normal name is an alias.  */
39178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39179 choke me
39180 #else
39181 char (*f) () = $ac_func;
39182 #endif
39183 #ifdef __cplusplus
39184 }
39185 #endif
39186
39187 int
39188 main ()
39189 {
39190 return f != $ac_func;
39191   ;
39192   return 0;
39193 }
39194 _ACEOF
39195 rm -f conftest.$ac_objext conftest$ac_exeext
39196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39197   (eval $ac_link) 2>&5
39198   ac_status=$?
39199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200   (exit $ac_status); } &&
39201          { ac_try='test -s conftest$ac_exeext'
39202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39203   (eval $ac_try) 2>&5
39204   ac_status=$?
39205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206   (exit $ac_status); }; }; then
39207   eval "$as_ac_var=yes"
39208 else
39209   echo "$as_me: failed program was:" >&5
39210 sed 's/^/| /' conftest.$ac_ext >&5
39211
39212 eval "$as_ac_var=no"
39213 fi
39214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39215 fi
39216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39218 if test `eval echo '${'$as_ac_var'}'` = yes; then
39219   cat >>confdefs.h <<_ACEOF
39220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39221 _ACEOF
39222
39223 fi
39224 done
39225
39226     fi
39227   fi
39228
39229
39230
39231   echo "$as_me:$LINENO: checking for powl declaration" >&5
39232 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39233   if test x${glibcxx_cv_func_powl_use+set} != xset; then
39234     if test "${glibcxx_cv_func_powl_use+set}" = set; then
39235   echo $ECHO_N "(cached) $ECHO_C" >&6
39236 else
39237
39238
39239
39240       ac_ext=cc
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39245
39246       cat >conftest.$ac_ext <<_ACEOF
39247 #line $LINENO "configure"
39248 /* confdefs.h.  */
39249 _ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h.  */
39253 #include <math.h>
39254 int
39255 main ()
39256 {
39257  powl(0, 0);
39258   ;
39259   return 0;
39260 }
39261 _ACEOF
39262 rm -f conftest.$ac_objext
39263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39264   (eval $ac_compile) 2>&5
39265   ac_status=$?
39266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267   (exit $ac_status); } &&
39268          { ac_try='test -s conftest.$ac_objext'
39269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270   (eval $ac_try) 2>&5
39271   ac_status=$?
39272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273   (exit $ac_status); }; }; then
39274   glibcxx_cv_func_powl_use=yes
39275 else
39276   echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39278
39279 glibcxx_cv_func_powl_use=no
39280 fi
39281 rm -f conftest.$ac_objext conftest.$ac_ext
39282       ac_ext=c
39283 ac_cpp='$CPP $CPPFLAGS'
39284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287
39288
39289 fi
39290
39291   fi
39292   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39293 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39294
39295   if test x$glibcxx_cv_func_powl_use = x"yes"; then
39296
39297 for ac_func in powl
39298 do
39299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39300 echo "$as_me:$LINENO: checking for $ac_func" >&5
39301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39302 if eval "test \"\${$as_ac_var+set}\" = set"; then
39303   echo $ECHO_N "(cached) $ECHO_C" >&6
39304 else
39305   cat >conftest.$ac_ext <<_ACEOF
39306 #line $LINENO "configure"
39307 /* confdefs.h.  */
39308 _ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h.  */
39312 /* System header to define __stub macros and hopefully few prototypes,
39313     which can conflict with char $ac_func (); below.
39314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39315     <limits.h> exists even on freestanding compilers.  */
39316 #ifdef __STDC__
39317 # include <limits.h>
39318 #else
39319 # include <assert.h>
39320 #endif
39321 /* Override any gcc2 internal prototype to avoid an error.  */
39322 #ifdef __cplusplus
39323 extern "C"
39324 {
39325 #endif
39326 /* We use char because int might match the return type of a gcc2
39327    builtin and then its argument prototype would still apply.  */
39328 char $ac_func ();
39329 /* The GNU C library defines this for functions which it implements
39330     to always fail with ENOSYS.  Some functions are actually named
39331     something starting with __ and the normal name is an alias.  */
39332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39333 choke me
39334 #else
39335 char (*f) () = $ac_func;
39336 #endif
39337 #ifdef __cplusplus
39338 }
39339 #endif
39340
39341 int
39342 main ()
39343 {
39344 return f != $ac_func;
39345   ;
39346   return 0;
39347 }
39348 _ACEOF
39349 rm -f conftest.$ac_objext conftest$ac_exeext
39350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39351   (eval $ac_link) 2>&5
39352   ac_status=$?
39353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39354   (exit $ac_status); } &&
39355          { ac_try='test -s conftest$ac_exeext'
39356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39357   (eval $ac_try) 2>&5
39358   ac_status=$?
39359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360   (exit $ac_status); }; }; then
39361   eval "$as_ac_var=yes"
39362 else
39363   echo "$as_me: failed program was:" >&5
39364 sed 's/^/| /' conftest.$ac_ext >&5
39365
39366 eval "$as_ac_var=no"
39367 fi
39368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39369 fi
39370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39372 if test `eval echo '${'$as_ac_var'}'` = yes; then
39373   cat >>confdefs.h <<_ACEOF
39374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39375 _ACEOF
39376
39377 fi
39378 done
39379
39380   else
39381
39382   echo "$as_me:$LINENO: checking for _powl declaration" >&5
39383 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39384   if test x${glibcxx_cv_func__powl_use+set} != xset; then
39385     if test "${glibcxx_cv_func__powl_use+set}" = set; then
39386   echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39388
39389
39390
39391       ac_ext=cc
39392 ac_cpp='$CXXCPP $CPPFLAGS'
39393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39396
39397       cat >conftest.$ac_ext <<_ACEOF
39398 #line $LINENO "configure"
39399 /* confdefs.h.  */
39400 _ACEOF
39401 cat confdefs.h >>conftest.$ac_ext
39402 cat >>conftest.$ac_ext <<_ACEOF
39403 /* end confdefs.h.  */
39404 #include <math.h>
39405 int
39406 main ()
39407 {
39408  _powl(0, 0);
39409   ;
39410   return 0;
39411 }
39412 _ACEOF
39413 rm -f conftest.$ac_objext
39414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39415   (eval $ac_compile) 2>&5
39416   ac_status=$?
39417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39418   (exit $ac_status); } &&
39419          { ac_try='test -s conftest.$ac_objext'
39420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39421   (eval $ac_try) 2>&5
39422   ac_status=$?
39423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424   (exit $ac_status); }; }; then
39425   glibcxx_cv_func__powl_use=yes
39426 else
39427   echo "$as_me: failed program was:" >&5
39428 sed 's/^/| /' conftest.$ac_ext >&5
39429
39430 glibcxx_cv_func__powl_use=no
39431 fi
39432 rm -f conftest.$ac_objext conftest.$ac_ext
39433       ac_ext=c
39434 ac_cpp='$CPP $CPPFLAGS'
39435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39438
39439
39440 fi
39441
39442   fi
39443   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39444 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39445
39446     if test x$glibcxx_cv_func__powl_use = x"yes"; then
39447
39448 for ac_func in _powl
39449 do
39450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39451 echo "$as_me:$LINENO: checking for $ac_func" >&5
39452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39453 if eval "test \"\${$as_ac_var+set}\" = set"; then
39454   echo $ECHO_N "(cached) $ECHO_C" >&6
39455 else
39456   cat >conftest.$ac_ext <<_ACEOF
39457 #line $LINENO "configure"
39458 /* confdefs.h.  */
39459 _ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h.  */
39463 /* System header to define __stub macros and hopefully few prototypes,
39464     which can conflict with char $ac_func (); below.
39465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466     <limits.h> exists even on freestanding compilers.  */
39467 #ifdef __STDC__
39468 # include <limits.h>
39469 #else
39470 # include <assert.h>
39471 #endif
39472 /* Override any gcc2 internal prototype to avoid an error.  */
39473 #ifdef __cplusplus
39474 extern "C"
39475 {
39476 #endif
39477 /* We use char because int might match the return type of a gcc2
39478    builtin and then its argument prototype would still apply.  */
39479 char $ac_func ();
39480 /* The GNU C library defines this for functions which it implements
39481     to always fail with ENOSYS.  Some functions are actually named
39482     something starting with __ and the normal name is an alias.  */
39483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39484 choke me
39485 #else
39486 char (*f) () = $ac_func;
39487 #endif
39488 #ifdef __cplusplus
39489 }
39490 #endif
39491
39492 int
39493 main ()
39494 {
39495 return f != $ac_func;
39496   ;
39497   return 0;
39498 }
39499 _ACEOF
39500 rm -f conftest.$ac_objext conftest$ac_exeext
39501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39502   (eval $ac_link) 2>&5
39503   ac_status=$?
39504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505   (exit $ac_status); } &&
39506          { ac_try='test -s conftest$ac_exeext'
39507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508   (eval $ac_try) 2>&5
39509   ac_status=$?
39510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511   (exit $ac_status); }; }; then
39512   eval "$as_ac_var=yes"
39513 else
39514   echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.$ac_ext >&5
39516
39517 eval "$as_ac_var=no"
39518 fi
39519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39520 fi
39521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39523 if test `eval echo '${'$as_ac_var'}'` = yes; then
39524   cat >>confdefs.h <<_ACEOF
39525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39526 _ACEOF
39527
39528 fi
39529 done
39530
39531     fi
39532   fi
39533
39534
39535
39536   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39537 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39538   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39539     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39540   echo $ECHO_N "(cached) $ECHO_C" >&6
39541 else
39542
39543
39544
39545       ac_ext=cc
39546 ac_cpp='$CXXCPP $CPPFLAGS'
39547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39550
39551       cat >conftest.$ac_ext <<_ACEOF
39552 #line $LINENO "configure"
39553 /* confdefs.h.  */
39554 _ACEOF
39555 cat confdefs.h >>conftest.$ac_ext
39556 cat >>conftest.$ac_ext <<_ACEOF
39557 /* end confdefs.h.  */
39558 #include <math.h>
39559                       #ifdef HAVE_IEEEFP_H
39560                       #include <ieeefp.h>
39561                       #endif
39562
39563 int
39564 main ()
39565 {
39566  sqrtl(0);
39567   ;
39568   return 0;
39569 }
39570 _ACEOF
39571 rm -f conftest.$ac_objext
39572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39573   (eval $ac_compile) 2>&5
39574   ac_status=$?
39575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576   (exit $ac_status); } &&
39577          { ac_try='test -s conftest.$ac_objext'
39578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39579   (eval $ac_try) 2>&5
39580   ac_status=$?
39581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582   (exit $ac_status); }; }; then
39583   glibcxx_cv_func_sqrtl_use=yes
39584 else
39585   echo "$as_me: failed program was:" >&5
39586 sed 's/^/| /' conftest.$ac_ext >&5
39587
39588 glibcxx_cv_func_sqrtl_use=no
39589 fi
39590 rm -f conftest.$ac_objext conftest.$ac_ext
39591       ac_ext=c
39592 ac_cpp='$CPP $CPPFLAGS'
39593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39596
39597
39598 fi
39599
39600   fi
39601   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39602 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39603
39604   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39605
39606 for ac_func in sqrtl
39607 do
39608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39609 echo "$as_me:$LINENO: checking for $ac_func" >&5
39610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39611 if eval "test \"\${$as_ac_var+set}\" = set"; then
39612   echo $ECHO_N "(cached) $ECHO_C" >&6
39613 else
39614   cat >conftest.$ac_ext <<_ACEOF
39615 #line $LINENO "configure"
39616 /* confdefs.h.  */
39617 _ACEOF
39618 cat confdefs.h >>conftest.$ac_ext
39619 cat >>conftest.$ac_ext <<_ACEOF
39620 /* end confdefs.h.  */
39621 /* System header to define __stub macros and hopefully few prototypes,
39622     which can conflict with char $ac_func (); below.
39623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39624     <limits.h> exists even on freestanding compilers.  */
39625 #ifdef __STDC__
39626 # include <limits.h>
39627 #else
39628 # include <assert.h>
39629 #endif
39630 /* Override any gcc2 internal prototype to avoid an error.  */
39631 #ifdef __cplusplus
39632 extern "C"
39633 {
39634 #endif
39635 /* We use char because int might match the return type of a gcc2
39636    builtin and then its argument prototype would still apply.  */
39637 char $ac_func ();
39638 /* The GNU C library defines this for functions which it implements
39639     to always fail with ENOSYS.  Some functions are actually named
39640     something starting with __ and the normal name is an alias.  */
39641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39642 choke me
39643 #else
39644 char (*f) () = $ac_func;
39645 #endif
39646 #ifdef __cplusplus
39647 }
39648 #endif
39649
39650 int
39651 main ()
39652 {
39653 return f != $ac_func;
39654   ;
39655   return 0;
39656 }
39657 _ACEOF
39658 rm -f conftest.$ac_objext conftest$ac_exeext
39659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39660   (eval $ac_link) 2>&5
39661   ac_status=$?
39662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663   (exit $ac_status); } &&
39664          { ac_try='test -s conftest$ac_exeext'
39665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39666   (eval $ac_try) 2>&5
39667   ac_status=$?
39668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669   (exit $ac_status); }; }; then
39670   eval "$as_ac_var=yes"
39671 else
39672   echo "$as_me: failed program was:" >&5
39673 sed 's/^/| /' conftest.$ac_ext >&5
39674
39675 eval "$as_ac_var=no"
39676 fi
39677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39678 fi
39679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39681 if test `eval echo '${'$as_ac_var'}'` = yes; then
39682   cat >>confdefs.h <<_ACEOF
39683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39684 _ACEOF
39685
39686 fi
39687 done
39688
39689   else
39690
39691   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39692 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39693   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39694     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39695   echo $ECHO_N "(cached) $ECHO_C" >&6
39696 else
39697
39698
39699
39700       ac_ext=cc
39701 ac_cpp='$CXXCPP $CPPFLAGS'
39702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39705
39706       cat >conftest.$ac_ext <<_ACEOF
39707 #line $LINENO "configure"
39708 /* confdefs.h.  */
39709 _ACEOF
39710 cat confdefs.h >>conftest.$ac_ext
39711 cat >>conftest.$ac_ext <<_ACEOF
39712 /* end confdefs.h.  */
39713 #include <math.h>
39714                       #ifdef HAVE_IEEEFP_H
39715                       #include <ieeefp.h>
39716                       #endif
39717
39718 int
39719 main ()
39720 {
39721  _sqrtl(0);
39722   ;
39723   return 0;
39724 }
39725 _ACEOF
39726 rm -f conftest.$ac_objext
39727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39728   (eval $ac_compile) 2>&5
39729   ac_status=$?
39730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731   (exit $ac_status); } &&
39732          { ac_try='test -s conftest.$ac_objext'
39733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734   (eval $ac_try) 2>&5
39735   ac_status=$?
39736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737   (exit $ac_status); }; }; then
39738   glibcxx_cv_func__sqrtl_use=yes
39739 else
39740   echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.$ac_ext >&5
39742
39743 glibcxx_cv_func__sqrtl_use=no
39744 fi
39745 rm -f conftest.$ac_objext conftest.$ac_ext
39746       ac_ext=c
39747 ac_cpp='$CPP $CPPFLAGS'
39748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39751
39752
39753 fi
39754
39755   fi
39756   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39757 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39758
39759     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39760
39761 for ac_func in _sqrtl
39762 do
39763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39764 echo "$as_me:$LINENO: checking for $ac_func" >&5
39765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39766 if eval "test \"\${$as_ac_var+set}\" = set"; then
39767   echo $ECHO_N "(cached) $ECHO_C" >&6
39768 else
39769   cat >conftest.$ac_ext <<_ACEOF
39770 #line $LINENO "configure"
39771 /* confdefs.h.  */
39772 _ACEOF
39773 cat confdefs.h >>conftest.$ac_ext
39774 cat >>conftest.$ac_ext <<_ACEOF
39775 /* end confdefs.h.  */
39776 /* System header to define __stub macros and hopefully few prototypes,
39777     which can conflict with char $ac_func (); below.
39778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39779     <limits.h> exists even on freestanding compilers.  */
39780 #ifdef __STDC__
39781 # include <limits.h>
39782 #else
39783 # include <assert.h>
39784 #endif
39785 /* Override any gcc2 internal prototype to avoid an error.  */
39786 #ifdef __cplusplus
39787 extern "C"
39788 {
39789 #endif
39790 /* We use char because int might match the return type of a gcc2
39791    builtin and then its argument prototype would still apply.  */
39792 char $ac_func ();
39793 /* The GNU C library defines this for functions which it implements
39794     to always fail with ENOSYS.  Some functions are actually named
39795     something starting with __ and the normal name is an alias.  */
39796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39797 choke me
39798 #else
39799 char (*f) () = $ac_func;
39800 #endif
39801 #ifdef __cplusplus
39802 }
39803 #endif
39804
39805 int
39806 main ()
39807 {
39808 return f != $ac_func;
39809   ;
39810   return 0;
39811 }
39812 _ACEOF
39813 rm -f conftest.$ac_objext conftest$ac_exeext
39814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39815   (eval $ac_link) 2>&5
39816   ac_status=$?
39817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818   (exit $ac_status); } &&
39819          { ac_try='test -s conftest$ac_exeext'
39820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821   (eval $ac_try) 2>&5
39822   ac_status=$?
39823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824   (exit $ac_status); }; }; then
39825   eval "$as_ac_var=yes"
39826 else
39827   echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39829
39830 eval "$as_ac_var=no"
39831 fi
39832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39833 fi
39834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39836 if test `eval echo '${'$as_ac_var'}'` = yes; then
39837   cat >>confdefs.h <<_ACEOF
39838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39839 _ACEOF
39840
39841 fi
39842 done
39843
39844     fi
39845   fi
39846
39847
39848
39849   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39850 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39851   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39852     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39853   echo $ECHO_N "(cached) $ECHO_C" >&6
39854 else
39855
39856
39857
39858       ac_ext=cc
39859 ac_cpp='$CXXCPP $CPPFLAGS'
39860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39863
39864       cat >conftest.$ac_ext <<_ACEOF
39865 #line $LINENO "configure"
39866 /* confdefs.h.  */
39867 _ACEOF
39868 cat confdefs.h >>conftest.$ac_ext
39869 cat >>conftest.$ac_ext <<_ACEOF
39870 /* end confdefs.h.  */
39871 #include <math.h>
39872 int
39873 main ()
39874 {
39875  sincosl(0, 0, 0);
39876   ;
39877   return 0;
39878 }
39879 _ACEOF
39880 rm -f conftest.$ac_objext
39881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39882   (eval $ac_compile) 2>&5
39883   ac_status=$?
39884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885   (exit $ac_status); } &&
39886          { ac_try='test -s conftest.$ac_objext'
39887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888   (eval $ac_try) 2>&5
39889   ac_status=$?
39890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891   (exit $ac_status); }; }; then
39892   glibcxx_cv_func_sincosl_use=yes
39893 else
39894   echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.$ac_ext >&5
39896
39897 glibcxx_cv_func_sincosl_use=no
39898 fi
39899 rm -f conftest.$ac_objext conftest.$ac_ext
39900       ac_ext=c
39901 ac_cpp='$CPP $CPPFLAGS'
39902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39905
39906
39907 fi
39908
39909   fi
39910   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
39911 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
39912
39913   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39914
39915 for ac_func in sincosl
39916 do
39917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39918 echo "$as_me:$LINENO: checking for $ac_func" >&5
39919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39920 if eval "test \"\${$as_ac_var+set}\" = set"; then
39921   echo $ECHO_N "(cached) $ECHO_C" >&6
39922 else
39923   cat >conftest.$ac_ext <<_ACEOF
39924 #line $LINENO "configure"
39925 /* confdefs.h.  */
39926 _ACEOF
39927 cat confdefs.h >>conftest.$ac_ext
39928 cat >>conftest.$ac_ext <<_ACEOF
39929 /* end confdefs.h.  */
39930 /* System header to define __stub macros and hopefully few prototypes,
39931     which can conflict with char $ac_func (); below.
39932     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39933     <limits.h> exists even on freestanding compilers.  */
39934 #ifdef __STDC__
39935 # include <limits.h>
39936 #else
39937 # include <assert.h>
39938 #endif
39939 /* Override any gcc2 internal prototype to avoid an error.  */
39940 #ifdef __cplusplus
39941 extern "C"
39942 {
39943 #endif
39944 /* We use char because int might match the return type of a gcc2
39945    builtin and then its argument prototype would still apply.  */
39946 char $ac_func ();
39947 /* The GNU C library defines this for functions which it implements
39948     to always fail with ENOSYS.  Some functions are actually named
39949     something starting with __ and the normal name is an alias.  */
39950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39951 choke me
39952 #else
39953 char (*f) () = $ac_func;
39954 #endif
39955 #ifdef __cplusplus
39956 }
39957 #endif
39958
39959 int
39960 main ()
39961 {
39962 return f != $ac_func;
39963   ;
39964   return 0;
39965 }
39966 _ACEOF
39967 rm -f conftest.$ac_objext conftest$ac_exeext
39968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39969   (eval $ac_link) 2>&5
39970   ac_status=$?
39971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39972   (exit $ac_status); } &&
39973          { ac_try='test -s conftest$ac_exeext'
39974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39975   (eval $ac_try) 2>&5
39976   ac_status=$?
39977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39978   (exit $ac_status); }; }; then
39979   eval "$as_ac_var=yes"
39980 else
39981   echo "$as_me: failed program was:" >&5
39982 sed 's/^/| /' conftest.$ac_ext >&5
39983
39984 eval "$as_ac_var=no"
39985 fi
39986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39987 fi
39988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39990 if test `eval echo '${'$as_ac_var'}'` = yes; then
39991   cat >>confdefs.h <<_ACEOF
39992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39993 _ACEOF
39994
39995 fi
39996 done
39997
39998   else
39999
40000   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
40001 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
40002   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40003     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
40004   echo $ECHO_N "(cached) $ECHO_C" >&6
40005 else
40006
40007
40008
40009       ac_ext=cc
40010 ac_cpp='$CXXCPP $CPPFLAGS'
40011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40014
40015       cat >conftest.$ac_ext <<_ACEOF
40016 #line $LINENO "configure"
40017 /* confdefs.h.  */
40018 _ACEOF
40019 cat confdefs.h >>conftest.$ac_ext
40020 cat >>conftest.$ac_ext <<_ACEOF
40021 /* end confdefs.h.  */
40022 #include <math.h>
40023 int
40024 main ()
40025 {
40026  _sincosl(0, 0, 0);
40027   ;
40028   return 0;
40029 }
40030 _ACEOF
40031 rm -f conftest.$ac_objext
40032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40033   (eval $ac_compile) 2>&5
40034   ac_status=$?
40035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40036   (exit $ac_status); } &&
40037          { ac_try='test -s conftest.$ac_objext'
40038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40039   (eval $ac_try) 2>&5
40040   ac_status=$?
40041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042   (exit $ac_status); }; }; then
40043   glibcxx_cv_func__sincosl_use=yes
40044 else
40045   echo "$as_me: failed program was:" >&5
40046 sed 's/^/| /' conftest.$ac_ext >&5
40047
40048 glibcxx_cv_func__sincosl_use=no
40049 fi
40050 rm -f conftest.$ac_objext conftest.$ac_ext
40051       ac_ext=c
40052 ac_cpp='$CPP $CPPFLAGS'
40053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40056
40057
40058 fi
40059
40060   fi
40061   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40062 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40063
40064     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40065
40066 for ac_func in _sincosl
40067 do
40068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40069 echo "$as_me:$LINENO: checking for $ac_func" >&5
40070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40071 if eval "test \"\${$as_ac_var+set}\" = set"; then
40072   echo $ECHO_N "(cached) $ECHO_C" >&6
40073 else
40074   cat >conftest.$ac_ext <<_ACEOF
40075 #line $LINENO "configure"
40076 /* confdefs.h.  */
40077 _ACEOF
40078 cat confdefs.h >>conftest.$ac_ext
40079 cat >>conftest.$ac_ext <<_ACEOF
40080 /* end confdefs.h.  */
40081 /* System header to define __stub macros and hopefully few prototypes,
40082     which can conflict with char $ac_func (); below.
40083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40084     <limits.h> exists even on freestanding compilers.  */
40085 #ifdef __STDC__
40086 # include <limits.h>
40087 #else
40088 # include <assert.h>
40089 #endif
40090 /* Override any gcc2 internal prototype to avoid an error.  */
40091 #ifdef __cplusplus
40092 extern "C"
40093 {
40094 #endif
40095 /* We use char because int might match the return type of a gcc2
40096    builtin and then its argument prototype would still apply.  */
40097 char $ac_func ();
40098 /* The GNU C library defines this for functions which it implements
40099     to always fail with ENOSYS.  Some functions are actually named
40100     something starting with __ and the normal name is an alias.  */
40101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40102 choke me
40103 #else
40104 char (*f) () = $ac_func;
40105 #endif
40106 #ifdef __cplusplus
40107 }
40108 #endif
40109
40110 int
40111 main ()
40112 {
40113 return f != $ac_func;
40114   ;
40115   return 0;
40116 }
40117 _ACEOF
40118 rm -f conftest.$ac_objext conftest$ac_exeext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40120   (eval $ac_link) 2>&5
40121   ac_status=$?
40122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123   (exit $ac_status); } &&
40124          { ac_try='test -s conftest$ac_exeext'
40125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40126   (eval $ac_try) 2>&5
40127   ac_status=$?
40128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129   (exit $ac_status); }; }; then
40130   eval "$as_ac_var=yes"
40131 else
40132   echo "$as_me: failed program was:" >&5
40133 sed 's/^/| /' conftest.$ac_ext >&5
40134
40135 eval "$as_ac_var=no"
40136 fi
40137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40138 fi
40139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40141 if test `eval echo '${'$as_ac_var'}'` = yes; then
40142   cat >>confdefs.h <<_ACEOF
40143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40144 _ACEOF
40145
40146 fi
40147 done
40148
40149     fi
40150   fi
40151
40152
40153
40154   echo "$as_me:$LINENO: checking for finitel declaration" >&5
40155 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40156   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40157     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40158   echo $ECHO_N "(cached) $ECHO_C" >&6
40159 else
40160
40161
40162
40163       ac_ext=cc
40164 ac_cpp='$CXXCPP $CPPFLAGS'
40165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40168
40169       cat >conftest.$ac_ext <<_ACEOF
40170 #line $LINENO "configure"
40171 /* confdefs.h.  */
40172 _ACEOF
40173 cat confdefs.h >>conftest.$ac_ext
40174 cat >>conftest.$ac_ext <<_ACEOF
40175 /* end confdefs.h.  */
40176 #include <math.h>
40177                       #ifdef HAVE_IEEEFP_H
40178                       #include <ieeefp.h>
40179                       #endif
40180
40181 int
40182 main ()
40183 {
40184  finitel(0);
40185   ;
40186   return 0;
40187 }
40188 _ACEOF
40189 rm -f conftest.$ac_objext
40190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40191   (eval $ac_compile) 2>&5
40192   ac_status=$?
40193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194   (exit $ac_status); } &&
40195          { ac_try='test -s conftest.$ac_objext'
40196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40197   (eval $ac_try) 2>&5
40198   ac_status=$?
40199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200   (exit $ac_status); }; }; then
40201   glibcxx_cv_func_finitel_use=yes
40202 else
40203   echo "$as_me: failed program was:" >&5
40204 sed 's/^/| /' conftest.$ac_ext >&5
40205
40206 glibcxx_cv_func_finitel_use=no
40207 fi
40208 rm -f conftest.$ac_objext conftest.$ac_ext
40209       ac_ext=c
40210 ac_cpp='$CPP $CPPFLAGS'
40211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40214
40215
40216 fi
40217
40218   fi
40219   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40220 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40221
40222   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40223
40224 for ac_func in finitel
40225 do
40226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40227 echo "$as_me:$LINENO: checking for $ac_func" >&5
40228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40229 if eval "test \"\${$as_ac_var+set}\" = set"; then
40230   echo $ECHO_N "(cached) $ECHO_C" >&6
40231 else
40232   cat >conftest.$ac_ext <<_ACEOF
40233 #line $LINENO "configure"
40234 /* confdefs.h.  */
40235 _ACEOF
40236 cat confdefs.h >>conftest.$ac_ext
40237 cat >>conftest.$ac_ext <<_ACEOF
40238 /* end confdefs.h.  */
40239 /* System header to define __stub macros and hopefully few prototypes,
40240     which can conflict with char $ac_func (); below.
40241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40242     <limits.h> exists even on freestanding compilers.  */
40243 #ifdef __STDC__
40244 # include <limits.h>
40245 #else
40246 # include <assert.h>
40247 #endif
40248 /* Override any gcc2 internal prototype to avoid an error.  */
40249 #ifdef __cplusplus
40250 extern "C"
40251 {
40252 #endif
40253 /* We use char because int might match the return type of a gcc2
40254    builtin and then its argument prototype would still apply.  */
40255 char $ac_func ();
40256 /* The GNU C library defines this for functions which it implements
40257     to always fail with ENOSYS.  Some functions are actually named
40258     something starting with __ and the normal name is an alias.  */
40259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40260 choke me
40261 #else
40262 char (*f) () = $ac_func;
40263 #endif
40264 #ifdef __cplusplus
40265 }
40266 #endif
40267
40268 int
40269 main ()
40270 {
40271 return f != $ac_func;
40272   ;
40273   return 0;
40274 }
40275 _ACEOF
40276 rm -f conftest.$ac_objext conftest$ac_exeext
40277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40278   (eval $ac_link) 2>&5
40279   ac_status=$?
40280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281   (exit $ac_status); } &&
40282          { ac_try='test -s conftest$ac_exeext'
40283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40284   (eval $ac_try) 2>&5
40285   ac_status=$?
40286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287   (exit $ac_status); }; }; then
40288   eval "$as_ac_var=yes"
40289 else
40290   echo "$as_me: failed program was:" >&5
40291 sed 's/^/| /' conftest.$ac_ext >&5
40292
40293 eval "$as_ac_var=no"
40294 fi
40295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40296 fi
40297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40299 if test `eval echo '${'$as_ac_var'}'` = yes; then
40300   cat >>confdefs.h <<_ACEOF
40301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40302 _ACEOF
40303
40304 fi
40305 done
40306
40307   else
40308
40309   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40310 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40311   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40312     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40313   echo $ECHO_N "(cached) $ECHO_C" >&6
40314 else
40315
40316
40317
40318       ac_ext=cc
40319 ac_cpp='$CXXCPP $CPPFLAGS'
40320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40323
40324       cat >conftest.$ac_ext <<_ACEOF
40325 #line $LINENO "configure"
40326 /* confdefs.h.  */
40327 _ACEOF
40328 cat confdefs.h >>conftest.$ac_ext
40329 cat >>conftest.$ac_ext <<_ACEOF
40330 /* end confdefs.h.  */
40331 #include <math.h>
40332                       #ifdef HAVE_IEEEFP_H
40333                       #include <ieeefp.h>
40334                       #endif
40335
40336 int
40337 main ()
40338 {
40339  _finitel(0);
40340   ;
40341   return 0;
40342 }
40343 _ACEOF
40344 rm -f conftest.$ac_objext
40345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40346   (eval $ac_compile) 2>&5
40347   ac_status=$?
40348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349   (exit $ac_status); } &&
40350          { ac_try='test -s conftest.$ac_objext'
40351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40352   (eval $ac_try) 2>&5
40353   ac_status=$?
40354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355   (exit $ac_status); }; }; then
40356   glibcxx_cv_func__finitel_use=yes
40357 else
40358   echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40360
40361 glibcxx_cv_func__finitel_use=no
40362 fi
40363 rm -f conftest.$ac_objext conftest.$ac_ext
40364       ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40369
40370
40371 fi
40372
40373   fi
40374   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40375 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40376
40377     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40378
40379 for ac_func in _finitel
40380 do
40381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40382 echo "$as_me:$LINENO: checking for $ac_func" >&5
40383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40384 if eval "test \"\${$as_ac_var+set}\" = set"; then
40385   echo $ECHO_N "(cached) $ECHO_C" >&6
40386 else
40387   cat >conftest.$ac_ext <<_ACEOF
40388 #line $LINENO "configure"
40389 /* confdefs.h.  */
40390 _ACEOF
40391 cat confdefs.h >>conftest.$ac_ext
40392 cat >>conftest.$ac_ext <<_ACEOF
40393 /* end confdefs.h.  */
40394 /* System header to define __stub macros and hopefully few prototypes,
40395     which can conflict with char $ac_func (); below.
40396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40397     <limits.h> exists even on freestanding compilers.  */
40398 #ifdef __STDC__
40399 # include <limits.h>
40400 #else
40401 # include <assert.h>
40402 #endif
40403 /* Override any gcc2 internal prototype to avoid an error.  */
40404 #ifdef __cplusplus
40405 extern "C"
40406 {
40407 #endif
40408 /* We use char because int might match the return type of a gcc2
40409    builtin and then its argument prototype would still apply.  */
40410 char $ac_func ();
40411 /* The GNU C library defines this for functions which it implements
40412     to always fail with ENOSYS.  Some functions are actually named
40413     something starting with __ and the normal name is an alias.  */
40414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40415 choke me
40416 #else
40417 char (*f) () = $ac_func;
40418 #endif
40419 #ifdef __cplusplus
40420 }
40421 #endif
40422
40423 int
40424 main ()
40425 {
40426 return f != $ac_func;
40427   ;
40428   return 0;
40429 }
40430 _ACEOF
40431 rm -f conftest.$ac_objext conftest$ac_exeext
40432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40433   (eval $ac_link) 2>&5
40434   ac_status=$?
40435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436   (exit $ac_status); } &&
40437          { ac_try='test -s conftest$ac_exeext'
40438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40439   (eval $ac_try) 2>&5
40440   ac_status=$?
40441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442   (exit $ac_status); }; }; then
40443   eval "$as_ac_var=yes"
40444 else
40445   echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.$ac_ext >&5
40447
40448 eval "$as_ac_var=no"
40449 fi
40450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40451 fi
40452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40454 if test `eval echo '${'$as_ac_var'}'` = yes; then
40455   cat >>confdefs.h <<_ACEOF
40456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40457 _ACEOF
40458
40459 fi
40460 done
40461
40462     fi
40463   fi
40464
40465
40466
40467
40468   echo "$as_me:$LINENO: checking for _float trig functions" >&5
40469 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
40470   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
40471   echo $ECHO_N "(cached) $ECHO_C" >&6
40472 else
40473
40474
40475
40476     ac_ext=cc
40477 ac_cpp='$CXXCPP $CPPFLAGS'
40478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40481
40482     cat >conftest.$ac_ext <<_ACEOF
40483 #line $LINENO "configure"
40484 /* confdefs.h.  */
40485 _ACEOF
40486 cat confdefs.h >>conftest.$ac_ext
40487 cat >>conftest.$ac_ext <<_ACEOF
40488 /* end confdefs.h.  */
40489 #include <math.h>
40490 int
40491 main ()
40492 {
40493  `for x in _acosf _asinf _atanf \
40494                                           _cosf _sinf _tanf \
40495                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
40496   ;
40497   return 0;
40498 }
40499 _ACEOF
40500 rm -f conftest.$ac_objext
40501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40502   (eval $ac_compile) 2>&5
40503   ac_status=$?
40504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505   (exit $ac_status); } &&
40506          { ac_try='test -s conftest.$ac_objext'
40507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40508   (eval $ac_try) 2>&5
40509   ac_status=$?
40510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511   (exit $ac_status); }; }; then
40512   glibcxx_cv_func__float_trig_use=yes
40513 else
40514   echo "$as_me: failed program was:" >&5
40515 sed 's/^/| /' conftest.$ac_ext >&5
40516
40517 glibcxx_cv_func__float_trig_use=no
40518 fi
40519 rm -f conftest.$ac_objext conftest.$ac_ext
40520     ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525
40526 fi
40527
40528   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
40529 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
40530   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540 for ac_func in _acosf _asinf _atanf \
40541                                           _cosf _sinf _tanf \
40542                                           _coshf _sinhf _tanhf
40543 do
40544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40545 echo "$as_me:$LINENO: checking for $ac_func" >&5
40546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40547 if eval "test \"\${$as_ac_var+set}\" = set"; then
40548   echo $ECHO_N "(cached) $ECHO_C" >&6
40549 else
40550   cat >conftest.$ac_ext <<_ACEOF
40551 #line $LINENO "configure"
40552 /* confdefs.h.  */
40553 _ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h.  */
40557 /* System header to define __stub macros and hopefully few prototypes,
40558     which can conflict with char $ac_func (); below.
40559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40560     <limits.h> exists even on freestanding compilers.  */
40561 #ifdef __STDC__
40562 # include <limits.h>
40563 #else
40564 # include <assert.h>
40565 #endif
40566 /* Override any gcc2 internal prototype to avoid an error.  */
40567 #ifdef __cplusplus
40568 extern "C"
40569 {
40570 #endif
40571 /* We use char because int might match the return type of a gcc2
40572    builtin and then its argument prototype would still apply.  */
40573 char $ac_func ();
40574 /* The GNU C library defines this for functions which it implements
40575     to always fail with ENOSYS.  Some functions are actually named
40576     something starting with __ and the normal name is an alias.  */
40577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40578 choke me
40579 #else
40580 char (*f) () = $ac_func;
40581 #endif
40582 #ifdef __cplusplus
40583 }
40584 #endif
40585
40586 int
40587 main ()
40588 {
40589 return f != $ac_func;
40590   ;
40591   return 0;
40592 }
40593 _ACEOF
40594 rm -f conftest.$ac_objext conftest$ac_exeext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40596   (eval $ac_link) 2>&5
40597   ac_status=$?
40598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40599   (exit $ac_status); } &&
40600          { ac_try='test -s conftest$ac_exeext'
40601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40602   (eval $ac_try) 2>&5
40603   ac_status=$?
40604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40605   (exit $ac_status); }; }; then
40606   eval "$as_ac_var=yes"
40607 else
40608   echo "$as_me: failed program was:" >&5
40609 sed 's/^/| /' conftest.$ac_ext >&5
40610
40611 eval "$as_ac_var=no"
40612 fi
40613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40614 fi
40615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40617 if test `eval echo '${'$as_ac_var'}'` = yes; then
40618   cat >>confdefs.h <<_ACEOF
40619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40620 _ACEOF
40621
40622 fi
40623 done
40624
40625   fi
40626
40627
40628   echo "$as_me:$LINENO: checking for _float round functions" >&5
40629 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
40630   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
40631   echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633
40634
40635
40636     ac_ext=cc
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641
40642     cat >conftest.$ac_ext <<_ACEOF
40643 #line $LINENO "configure"
40644 /* confdefs.h.  */
40645 _ACEOF
40646 cat confdefs.h >>conftest.$ac_ext
40647 cat >>conftest.$ac_ext <<_ACEOF
40648 /* end confdefs.h.  */
40649 #include <math.h>
40650 int
40651 main ()
40652 {
40653  `for x in _ceilf _floorf; do echo "$x (0);"; done`
40654   ;
40655   return 0;
40656 }
40657 _ACEOF
40658 rm -f conftest.$ac_objext
40659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40660   (eval $ac_compile) 2>&5
40661   ac_status=$?
40662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663   (exit $ac_status); } &&
40664          { ac_try='test -s conftest.$ac_objext'
40665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40666   (eval $ac_try) 2>&5
40667   ac_status=$?
40668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669   (exit $ac_status); }; }; then
40670   glibcxx_cv_func__float_round_use=yes
40671 else
40672   echo "$as_me: failed program was:" >&5
40673 sed 's/^/| /' conftest.$ac_ext >&5
40674
40675 glibcxx_cv_func__float_round_use=no
40676 fi
40677 rm -f conftest.$ac_objext conftest.$ac_ext
40678     ac_ext=c
40679 ac_cpp='$CPP $CPPFLAGS'
40680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40683
40684 fi
40685
40686   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
40687 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
40688   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40689
40690
40691 for ac_func in _ceilf _floorf
40692 do
40693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40694 echo "$as_me:$LINENO: checking for $ac_func" >&5
40695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40696 if eval "test \"\${$as_ac_var+set}\" = set"; then
40697   echo $ECHO_N "(cached) $ECHO_C" >&6
40698 else
40699   cat >conftest.$ac_ext <<_ACEOF
40700 #line $LINENO "configure"
40701 /* confdefs.h.  */
40702 _ACEOF
40703 cat confdefs.h >>conftest.$ac_ext
40704 cat >>conftest.$ac_ext <<_ACEOF
40705 /* end confdefs.h.  */
40706 /* System header to define __stub macros and hopefully few prototypes,
40707     which can conflict with char $ac_func (); below.
40708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40709     <limits.h> exists even on freestanding compilers.  */
40710 #ifdef __STDC__
40711 # include <limits.h>
40712 #else
40713 # include <assert.h>
40714 #endif
40715 /* Override any gcc2 internal prototype to avoid an error.  */
40716 #ifdef __cplusplus
40717 extern "C"
40718 {
40719 #endif
40720 /* We use char because int might match the return type of a gcc2
40721    builtin and then its argument prototype would still apply.  */
40722 char $ac_func ();
40723 /* The GNU C library defines this for functions which it implements
40724     to always fail with ENOSYS.  Some functions are actually named
40725     something starting with __ and the normal name is an alias.  */
40726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40727 choke me
40728 #else
40729 char (*f) () = $ac_func;
40730 #endif
40731 #ifdef __cplusplus
40732 }
40733 #endif
40734
40735 int
40736 main ()
40737 {
40738 return f != $ac_func;
40739   ;
40740   return 0;
40741 }
40742 _ACEOF
40743 rm -f conftest.$ac_objext conftest$ac_exeext
40744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40745   (eval $ac_link) 2>&5
40746   ac_status=$?
40747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748   (exit $ac_status); } &&
40749          { ac_try='test -s conftest$ac_exeext'
40750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751   (eval $ac_try) 2>&5
40752   ac_status=$?
40753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754   (exit $ac_status); }; }; then
40755   eval "$as_ac_var=yes"
40756 else
40757   echo "$as_me: failed program was:" >&5
40758 sed 's/^/| /' conftest.$ac_ext >&5
40759
40760 eval "$as_ac_var=no"
40761 fi
40762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40763 fi
40764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40766 if test `eval echo '${'$as_ac_var'}'` = yes; then
40767   cat >>confdefs.h <<_ACEOF
40768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40769 _ACEOF
40770
40771 fi
40772 done
40773
40774   fi
40775
40776
40777
40778   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
40779 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
40780   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
40781   echo $ECHO_N "(cached) $ECHO_C" >&6
40782 else
40783
40784
40785
40786     ac_ext=cc
40787 ac_cpp='$CXXCPP $CPPFLAGS'
40788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40791
40792     cat >conftest.$ac_ext <<_ACEOF
40793 #line $LINENO "configure"
40794 /* confdefs.h.  */
40795 _ACEOF
40796 cat confdefs.h >>conftest.$ac_ext
40797 cat >>conftest.$ac_ext <<_ACEOF
40798 /* end confdefs.h.  */
40799 #include <math.h>
40800 int
40801 main ()
40802 {
40803  `for x in _acosl _asinl _atanl \
40804                                           _cosl _sinl _tanl \
40805                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
40806   ;
40807   return 0;
40808 }
40809 _ACEOF
40810 rm -f conftest.$ac_objext
40811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40812   (eval $ac_compile) 2>&5
40813   ac_status=$?
40814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815   (exit $ac_status); } &&
40816          { ac_try='test -s conftest.$ac_objext'
40817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40818   (eval $ac_try) 2>&5
40819   ac_status=$?
40820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40821   (exit $ac_status); }; }; then
40822   glibcxx_cv_func__long_double_trig_use=yes
40823 else
40824   echo "$as_me: failed program was:" >&5
40825 sed 's/^/| /' conftest.$ac_ext >&5
40826
40827 glibcxx_cv_func__long_double_trig_use=no
40828 fi
40829 rm -f conftest.$ac_objext conftest.$ac_ext
40830     ac_ext=c
40831 ac_cpp='$CPP $CPPFLAGS'
40832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40835
40836 fi
40837
40838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
40839 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
40840   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850 for ac_func in _acosl _asinl _atanl \
40851                                           _cosl _sinl _tanl \
40852                                           _coshl _sinhl _tanhl
40853 do
40854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40855 echo "$as_me:$LINENO: checking for $ac_func" >&5
40856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40857 if eval "test \"\${$as_ac_var+set}\" = set"; then
40858   echo $ECHO_N "(cached) $ECHO_C" >&6
40859 else
40860   cat >conftest.$ac_ext <<_ACEOF
40861 #line $LINENO "configure"
40862 /* confdefs.h.  */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h.  */
40867 /* System header to define __stub macros and hopefully few prototypes,
40868     which can conflict with char $ac_func (); below.
40869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40870     <limits.h> exists even on freestanding compilers.  */
40871 #ifdef __STDC__
40872 # include <limits.h>
40873 #else
40874 # include <assert.h>
40875 #endif
40876 /* Override any gcc2 internal prototype to avoid an error.  */
40877 #ifdef __cplusplus
40878 extern "C"
40879 {
40880 #endif
40881 /* We use char because int might match the return type of a gcc2
40882    builtin and then its argument prototype would still apply.  */
40883 char $ac_func ();
40884 /* The GNU C library defines this for functions which it implements
40885     to always fail with ENOSYS.  Some functions are actually named
40886     something starting with __ and the normal name is an alias.  */
40887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40888 choke me
40889 #else
40890 char (*f) () = $ac_func;
40891 #endif
40892 #ifdef __cplusplus
40893 }
40894 #endif
40895
40896 int
40897 main ()
40898 {
40899 return f != $ac_func;
40900   ;
40901   return 0;
40902 }
40903 _ACEOF
40904 rm -f conftest.$ac_objext conftest$ac_exeext
40905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40906   (eval $ac_link) 2>&5
40907   ac_status=$?
40908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909   (exit $ac_status); } &&
40910          { ac_try='test -s conftest$ac_exeext'
40911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40912   (eval $ac_try) 2>&5
40913   ac_status=$?
40914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915   (exit $ac_status); }; }; then
40916   eval "$as_ac_var=yes"
40917 else
40918   echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.$ac_ext >&5
40920
40921 eval "$as_ac_var=no"
40922 fi
40923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40924 fi
40925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40927 if test `eval echo '${'$as_ac_var'}'` = yes; then
40928   cat >>confdefs.h <<_ACEOF
40929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40930 _ACEOF
40931
40932 fi
40933 done
40934
40935   fi
40936
40937
40938   echo "$as_me:$LINENO: checking for _long double round functions" >&5
40939 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
40940   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
40941   echo $ECHO_N "(cached) $ECHO_C" >&6
40942 else
40943
40944
40945
40946     ac_ext=cc
40947 ac_cpp='$CXXCPP $CPPFLAGS'
40948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40951
40952     cat >conftest.$ac_ext <<_ACEOF
40953 #line $LINENO "configure"
40954 /* confdefs.h.  */
40955 _ACEOF
40956 cat confdefs.h >>conftest.$ac_ext
40957 cat >>conftest.$ac_ext <<_ACEOF
40958 /* end confdefs.h.  */
40959 #include <math.h>
40960 int
40961 main ()
40962 {
40963  `for x in _ceill _floorl; do echo "$x (0);"; done`
40964   ;
40965   return 0;
40966 }
40967 _ACEOF
40968 rm -f conftest.$ac_objext
40969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40970   (eval $ac_compile) 2>&5
40971   ac_status=$?
40972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40973   (exit $ac_status); } &&
40974          { ac_try='test -s conftest.$ac_objext'
40975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40976   (eval $ac_try) 2>&5
40977   ac_status=$?
40978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40979   (exit $ac_status); }; }; then
40980   glibcxx_cv_func__long_double_round_use=yes
40981 else
40982   echo "$as_me: failed program was:" >&5
40983 sed 's/^/| /' conftest.$ac_ext >&5
40984
40985 glibcxx_cv_func__long_double_round_use=no
40986 fi
40987 rm -f conftest.$ac_objext conftest.$ac_ext
40988     ac_ext=c
40989 ac_cpp='$CPP $CPPFLAGS'
40990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40993
40994 fi
40995
40996   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
40997 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
40998   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
40999
41000
41001 for ac_func in _ceill _floorl
41002 do
41003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41004 echo "$as_me:$LINENO: checking for $ac_func" >&5
41005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41006 if eval "test \"\${$as_ac_var+set}\" = set"; then
41007   echo $ECHO_N "(cached) $ECHO_C" >&6
41008 else
41009   cat >conftest.$ac_ext <<_ACEOF
41010 #line $LINENO "configure"
41011 /* confdefs.h.  */
41012 _ACEOF
41013 cat confdefs.h >>conftest.$ac_ext
41014 cat >>conftest.$ac_ext <<_ACEOF
41015 /* end confdefs.h.  */
41016 /* System header to define __stub macros and hopefully few prototypes,
41017     which can conflict with char $ac_func (); below.
41018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41019     <limits.h> exists even on freestanding compilers.  */
41020 #ifdef __STDC__
41021 # include <limits.h>
41022 #else
41023 # include <assert.h>
41024 #endif
41025 /* Override any gcc2 internal prototype to avoid an error.  */
41026 #ifdef __cplusplus
41027 extern "C"
41028 {
41029 #endif
41030 /* We use char because int might match the return type of a gcc2
41031    builtin and then its argument prototype would still apply.  */
41032 char $ac_func ();
41033 /* The GNU C library defines this for functions which it implements
41034     to always fail with ENOSYS.  Some functions are actually named
41035     something starting with __ and the normal name is an alias.  */
41036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41037 choke me
41038 #else
41039 char (*f) () = $ac_func;
41040 #endif
41041 #ifdef __cplusplus
41042 }
41043 #endif
41044
41045 int
41046 main ()
41047 {
41048 return f != $ac_func;
41049   ;
41050   return 0;
41051 }
41052 _ACEOF
41053 rm -f conftest.$ac_objext conftest$ac_exeext
41054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41055   (eval $ac_link) 2>&5
41056   ac_status=$?
41057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058   (exit $ac_status); } &&
41059          { ac_try='test -s conftest$ac_exeext'
41060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41061   (eval $ac_try) 2>&5
41062   ac_status=$?
41063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064   (exit $ac_status); }; }; then
41065   eval "$as_ac_var=yes"
41066 else
41067   echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41069
41070 eval "$as_ac_var=no"
41071 fi
41072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41073 fi
41074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41076 if test `eval echo '${'$as_ac_var'}'` = yes; then
41077   cat >>confdefs.h <<_ACEOF
41078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41079 _ACEOF
41080
41081 fi
41082 done
41083
41084   fi
41085
41086
41087   LIBS="$ac_save_LIBS"
41088   CXXFLAGS="$ac_save_CXXFLAGS"
41089
41090
41091
41092   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
41093 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
41094   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
41095     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
41096   echo $ECHO_N "(cached) $ECHO_C" >&6
41097 else
41098
41099
41100
41101       ac_ext=cc
41102 ac_cpp='$CXXCPP $CPPFLAGS'
41103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41106
41107       cat >conftest.$ac_ext <<_ACEOF
41108 #line $LINENO "configure"
41109 /* confdefs.h.  */
41110 _ACEOF
41111 cat confdefs.h >>conftest.$ac_ext
41112 cat >>conftest.$ac_ext <<_ACEOF
41113 /* end confdefs.h.  */
41114 #include <math.h>
41115 int
41116 main ()
41117 {
41118  __builtin_abs(0);
41119   ;
41120   return 0;
41121 }
41122 _ACEOF
41123 rm -f conftest.$ac_objext
41124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41125   (eval $ac_compile) 2>&5
41126   ac_status=$?
41127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128   (exit $ac_status); } &&
41129          { ac_try='test -s conftest.$ac_objext'
41130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131   (eval $ac_try) 2>&5
41132   ac_status=$?
41133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134   (exit $ac_status); }; }; then
41135   glibcxx_cv_func___builtin_abs_use=yes
41136 else
41137   echo "$as_me: failed program was:" >&5
41138 sed 's/^/| /' conftest.$ac_ext >&5
41139
41140 glibcxx_cv_func___builtin_abs_use=no
41141 fi
41142 rm -f conftest.$ac_objext conftest.$ac_ext
41143       ac_ext=c
41144 ac_cpp='$CPP $CPPFLAGS'
41145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41148
41149
41150 fi
41151
41152   fi
41153   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
41154 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
41155   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
41156     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
41157 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
41158     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
41159       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
41160   echo $ECHO_N "(cached) $ECHO_C" >&6
41161 else
41162
41163         cat >conftest.$ac_ext <<_ACEOF
41164 #line $LINENO "configure"
41165 /* confdefs.h.  */
41166 _ACEOF
41167 cat confdefs.h >>conftest.$ac_ext
41168 cat >>conftest.$ac_ext <<_ACEOF
41169 /* end confdefs.h.  */
41170 #include <math.h>
41171 int
41172 main ()
41173 {
41174  __builtin_abs(0);
41175   ;
41176   return 0;
41177 }
41178 _ACEOF
41179 rm -f conftest.$ac_objext conftest$ac_exeext
41180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41181   (eval $ac_link) 2>&5
41182   ac_status=$?
41183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41184   (exit $ac_status); } &&
41185          { ac_try='test -s conftest$ac_exeext'
41186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41187   (eval $ac_try) 2>&5
41188   ac_status=$?
41189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190   (exit $ac_status); }; }; then
41191   glibcxx_cv_func___builtin_abs_link=yes
41192 else
41193   echo "$as_me: failed program was:" >&5
41194 sed 's/^/| /' conftest.$ac_ext >&5
41195
41196 glibcxx_cv_func___builtin_abs_link=no
41197 fi
41198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41199
41200 fi
41201
41202     fi
41203     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
41204 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
41205     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
41206       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41207       cat >>confdefs.h <<_ACEOF
41208 #define ${ac_tr_func} 1
41209 _ACEOF
41210
41211     fi
41212   fi
41213
41214
41215   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
41216 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
41217   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
41218     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
41219   echo $ECHO_N "(cached) $ECHO_C" >&6
41220 else
41221
41222
41223
41224       ac_ext=cc
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41229
41230       cat >conftest.$ac_ext <<_ACEOF
41231 #line $LINENO "configure"
41232 /* confdefs.h.  */
41233 _ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h.  */
41237 #include <math.h>
41238 int
41239 main ()
41240 {
41241  __builtin_fabsf(0);
41242   ;
41243   return 0;
41244 }
41245 _ACEOF
41246 rm -f conftest.$ac_objext
41247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41248   (eval $ac_compile) 2>&5
41249   ac_status=$?
41250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41251   (exit $ac_status); } &&
41252          { ac_try='test -s conftest.$ac_objext'
41253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41254   (eval $ac_try) 2>&5
41255   ac_status=$?
41256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257   (exit $ac_status); }; }; then
41258   glibcxx_cv_func___builtin_fabsf_use=yes
41259 else
41260   echo "$as_me: failed program was:" >&5
41261 sed 's/^/| /' conftest.$ac_ext >&5
41262
41263 glibcxx_cv_func___builtin_fabsf_use=no
41264 fi
41265 rm -f conftest.$ac_objext conftest.$ac_ext
41266       ac_ext=c
41267 ac_cpp='$CPP $CPPFLAGS'
41268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41271
41272
41273 fi
41274
41275   fi
41276   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
41277 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
41278   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
41279     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
41280 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
41281     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
41282       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
41283   echo $ECHO_N "(cached) $ECHO_C" >&6
41284 else
41285
41286         cat >conftest.$ac_ext <<_ACEOF
41287 #line $LINENO "configure"
41288 /* confdefs.h.  */
41289 _ACEOF
41290 cat confdefs.h >>conftest.$ac_ext
41291 cat >>conftest.$ac_ext <<_ACEOF
41292 /* end confdefs.h.  */
41293 #include <math.h>
41294 int
41295 main ()
41296 {
41297  __builtin_fabsf(0);
41298   ;
41299   return 0;
41300 }
41301 _ACEOF
41302 rm -f conftest.$ac_objext conftest$ac_exeext
41303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41304   (eval $ac_link) 2>&5
41305   ac_status=$?
41306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307   (exit $ac_status); } &&
41308          { ac_try='test -s conftest$ac_exeext'
41309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310   (eval $ac_try) 2>&5
41311   ac_status=$?
41312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313   (exit $ac_status); }; }; then
41314   glibcxx_cv_func___builtin_fabsf_link=yes
41315 else
41316   echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.$ac_ext >&5
41318
41319 glibcxx_cv_func___builtin_fabsf_link=no
41320 fi
41321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41322
41323 fi
41324
41325     fi
41326     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
41327 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
41328     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
41329       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41330       cat >>confdefs.h <<_ACEOF
41331 #define ${ac_tr_func} 1
41332 _ACEOF
41333
41334     fi
41335   fi
41336
41337
41338   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
41339 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
41340   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
41341     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
41342   echo $ECHO_N "(cached) $ECHO_C" >&6
41343 else
41344
41345
41346
41347       ac_ext=cc
41348 ac_cpp='$CXXCPP $CPPFLAGS'
41349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41352
41353       cat >conftest.$ac_ext <<_ACEOF
41354 #line $LINENO "configure"
41355 /* confdefs.h.  */
41356 _ACEOF
41357 cat confdefs.h >>conftest.$ac_ext
41358 cat >>conftest.$ac_ext <<_ACEOF
41359 /* end confdefs.h.  */
41360 #include <math.h>
41361 int
41362 main ()
41363 {
41364  __builtin_fabs(0);
41365   ;
41366   return 0;
41367 }
41368 _ACEOF
41369 rm -f conftest.$ac_objext
41370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41371   (eval $ac_compile) 2>&5
41372   ac_status=$?
41373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374   (exit $ac_status); } &&
41375          { ac_try='test -s conftest.$ac_objext'
41376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41377   (eval $ac_try) 2>&5
41378   ac_status=$?
41379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380   (exit $ac_status); }; }; then
41381   glibcxx_cv_func___builtin_fabs_use=yes
41382 else
41383   echo "$as_me: failed program was:" >&5
41384 sed 's/^/| /' conftest.$ac_ext >&5
41385
41386 glibcxx_cv_func___builtin_fabs_use=no
41387 fi
41388 rm -f conftest.$ac_objext conftest.$ac_ext
41389       ac_ext=c
41390 ac_cpp='$CPP $CPPFLAGS'
41391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41394
41395
41396 fi
41397
41398   fi
41399   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
41400 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
41401   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
41402     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
41403 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
41404     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
41405       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
41406   echo $ECHO_N "(cached) $ECHO_C" >&6
41407 else
41408
41409         cat >conftest.$ac_ext <<_ACEOF
41410 #line $LINENO "configure"
41411 /* confdefs.h.  */
41412 _ACEOF
41413 cat confdefs.h >>conftest.$ac_ext
41414 cat >>conftest.$ac_ext <<_ACEOF
41415 /* end confdefs.h.  */
41416 #include <math.h>
41417 int
41418 main ()
41419 {
41420  __builtin_fabs(0);
41421   ;
41422   return 0;
41423 }
41424 _ACEOF
41425 rm -f conftest.$ac_objext conftest$ac_exeext
41426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41427   (eval $ac_link) 2>&5
41428   ac_status=$?
41429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430   (exit $ac_status); } &&
41431          { ac_try='test -s conftest$ac_exeext'
41432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41433   (eval $ac_try) 2>&5
41434   ac_status=$?
41435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436   (exit $ac_status); }; }; then
41437   glibcxx_cv_func___builtin_fabs_link=yes
41438 else
41439   echo "$as_me: failed program was:" >&5
41440 sed 's/^/| /' conftest.$ac_ext >&5
41441
41442 glibcxx_cv_func___builtin_fabs_link=no
41443 fi
41444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41445
41446 fi
41447
41448     fi
41449     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
41450 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
41451     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
41452       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41453       cat >>confdefs.h <<_ACEOF
41454 #define ${ac_tr_func} 1
41455 _ACEOF
41456
41457     fi
41458   fi
41459
41460
41461   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
41462 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
41463   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
41464     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
41465   echo $ECHO_N "(cached) $ECHO_C" >&6
41466 else
41467
41468
41469
41470       ac_ext=cc
41471 ac_cpp='$CXXCPP $CPPFLAGS'
41472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41475
41476       cat >conftest.$ac_ext <<_ACEOF
41477 #line $LINENO "configure"
41478 /* confdefs.h.  */
41479 _ACEOF
41480 cat confdefs.h >>conftest.$ac_ext
41481 cat >>conftest.$ac_ext <<_ACEOF
41482 /* end confdefs.h.  */
41483 #include <math.h>
41484 int
41485 main ()
41486 {
41487  __builtin_fabsl(0);
41488   ;
41489   return 0;
41490 }
41491 _ACEOF
41492 rm -f conftest.$ac_objext
41493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41494   (eval $ac_compile) 2>&5
41495   ac_status=$?
41496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497   (exit $ac_status); } &&
41498          { ac_try='test -s conftest.$ac_objext'
41499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41500   (eval $ac_try) 2>&5
41501   ac_status=$?
41502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503   (exit $ac_status); }; }; then
41504   glibcxx_cv_func___builtin_fabsl_use=yes
41505 else
41506   echo "$as_me: failed program was:" >&5
41507 sed 's/^/| /' conftest.$ac_ext >&5
41508
41509 glibcxx_cv_func___builtin_fabsl_use=no
41510 fi
41511 rm -f conftest.$ac_objext conftest.$ac_ext
41512       ac_ext=c
41513 ac_cpp='$CPP $CPPFLAGS'
41514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41517
41518
41519 fi
41520
41521   fi
41522   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
41523 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
41524   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
41525     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
41526 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
41527     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
41528       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
41529   echo $ECHO_N "(cached) $ECHO_C" >&6
41530 else
41531
41532         cat >conftest.$ac_ext <<_ACEOF
41533 #line $LINENO "configure"
41534 /* confdefs.h.  */
41535 _ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h.  */
41539 #include <math.h>
41540 int
41541 main ()
41542 {
41543  __builtin_fabsl(0);
41544   ;
41545   return 0;
41546 }
41547 _ACEOF
41548 rm -f conftest.$ac_objext conftest$ac_exeext
41549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41550   (eval $ac_link) 2>&5
41551   ac_status=$?
41552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553   (exit $ac_status); } &&
41554          { ac_try='test -s conftest$ac_exeext'
41555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41556   (eval $ac_try) 2>&5
41557   ac_status=$?
41558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559   (exit $ac_status); }; }; then
41560   glibcxx_cv_func___builtin_fabsl_link=yes
41561 else
41562   echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41564
41565 glibcxx_cv_func___builtin_fabsl_link=no
41566 fi
41567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41568
41569 fi
41570
41571     fi
41572     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
41573 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
41574     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
41575       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41576       cat >>confdefs.h <<_ACEOF
41577 #define ${ac_tr_func} 1
41578 _ACEOF
41579
41580     fi
41581   fi
41582
41583
41584   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
41585 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
41586   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
41587     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
41588   echo $ECHO_N "(cached) $ECHO_C" >&6
41589 else
41590
41591
41592
41593       ac_ext=cc
41594 ac_cpp='$CXXCPP $CPPFLAGS'
41595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41598
41599       cat >conftest.$ac_ext <<_ACEOF
41600 #line $LINENO "configure"
41601 /* confdefs.h.  */
41602 _ACEOF
41603 cat confdefs.h >>conftest.$ac_ext
41604 cat >>conftest.$ac_ext <<_ACEOF
41605 /* end confdefs.h.  */
41606 #include <math.h>
41607 int
41608 main ()
41609 {
41610  __builtin_labs(0);
41611   ;
41612   return 0;
41613 }
41614 _ACEOF
41615 rm -f conftest.$ac_objext
41616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41617   (eval $ac_compile) 2>&5
41618   ac_status=$?
41619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620   (exit $ac_status); } &&
41621          { ac_try='test -s conftest.$ac_objext'
41622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41623   (eval $ac_try) 2>&5
41624   ac_status=$?
41625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626   (exit $ac_status); }; }; then
41627   glibcxx_cv_func___builtin_labs_use=yes
41628 else
41629   echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41631
41632 glibcxx_cv_func___builtin_labs_use=no
41633 fi
41634 rm -f conftest.$ac_objext conftest.$ac_ext
41635       ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640
41641
41642 fi
41643
41644   fi
41645   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
41646 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
41647   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
41648     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
41649 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
41650     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
41651       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
41652   echo $ECHO_N "(cached) $ECHO_C" >&6
41653 else
41654
41655         cat >conftest.$ac_ext <<_ACEOF
41656 #line $LINENO "configure"
41657 /* confdefs.h.  */
41658 _ACEOF
41659 cat confdefs.h >>conftest.$ac_ext
41660 cat >>conftest.$ac_ext <<_ACEOF
41661 /* end confdefs.h.  */
41662 #include <math.h>
41663 int
41664 main ()
41665 {
41666  __builtin_labs(0);
41667   ;
41668   return 0;
41669 }
41670 _ACEOF
41671 rm -f conftest.$ac_objext conftest$ac_exeext
41672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41673   (eval $ac_link) 2>&5
41674   ac_status=$?
41675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676   (exit $ac_status); } &&
41677          { ac_try='test -s conftest$ac_exeext'
41678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41679   (eval $ac_try) 2>&5
41680   ac_status=$?
41681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682   (exit $ac_status); }; }; then
41683   glibcxx_cv_func___builtin_labs_link=yes
41684 else
41685   echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.$ac_ext >&5
41687
41688 glibcxx_cv_func___builtin_labs_link=no
41689 fi
41690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41691
41692 fi
41693
41694     fi
41695     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
41696 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
41697     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
41698       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41699       cat >>confdefs.h <<_ACEOF
41700 #define ${ac_tr_func} 1
41701 _ACEOF
41702
41703     fi
41704   fi
41705
41706
41707
41708   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
41709 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
41710   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
41711     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
41712   echo $ECHO_N "(cached) $ECHO_C" >&6
41713 else
41714
41715
41716
41717       ac_ext=cc
41718 ac_cpp='$CXXCPP $CPPFLAGS'
41719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41722
41723       cat >conftest.$ac_ext <<_ACEOF
41724 #line $LINENO "configure"
41725 /* confdefs.h.  */
41726 _ACEOF
41727 cat confdefs.h >>conftest.$ac_ext
41728 cat >>conftest.$ac_ext <<_ACEOF
41729 /* end confdefs.h.  */
41730 #include <math.h>
41731 int
41732 main ()
41733 {
41734  __builtin_sqrtf(0);
41735   ;
41736   return 0;
41737 }
41738 _ACEOF
41739 rm -f conftest.$ac_objext
41740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41741   (eval $ac_compile) 2>&5
41742   ac_status=$?
41743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744   (exit $ac_status); } &&
41745          { ac_try='test -s conftest.$ac_objext'
41746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41747   (eval $ac_try) 2>&5
41748   ac_status=$?
41749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750   (exit $ac_status); }; }; then
41751   glibcxx_cv_func___builtin_sqrtf_use=yes
41752 else
41753   echo "$as_me: failed program was:" >&5
41754 sed 's/^/| /' conftest.$ac_ext >&5
41755
41756 glibcxx_cv_func___builtin_sqrtf_use=no
41757 fi
41758 rm -f conftest.$ac_objext conftest.$ac_ext
41759       ac_ext=c
41760 ac_cpp='$CPP $CPPFLAGS'
41761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41764
41765
41766 fi
41767
41768   fi
41769   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
41770 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
41771   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
41772     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
41773 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
41774     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
41775       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
41776   echo $ECHO_N "(cached) $ECHO_C" >&6
41777 else
41778
41779         cat >conftest.$ac_ext <<_ACEOF
41780 #line $LINENO "configure"
41781 /* confdefs.h.  */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h.  */
41786 #include <math.h>
41787 int
41788 main ()
41789 {
41790  __builtin_sqrtf(0);
41791   ;
41792   return 0;
41793 }
41794 _ACEOF
41795 rm -f conftest.$ac_objext conftest$ac_exeext
41796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41797   (eval $ac_link) 2>&5
41798   ac_status=$?
41799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800   (exit $ac_status); } &&
41801          { ac_try='test -s conftest$ac_exeext'
41802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41803   (eval $ac_try) 2>&5
41804   ac_status=$?
41805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41806   (exit $ac_status); }; }; then
41807   glibcxx_cv_func___builtin_sqrtf_link=yes
41808 else
41809   echo "$as_me: failed program was:" >&5
41810 sed 's/^/| /' conftest.$ac_ext >&5
41811
41812 glibcxx_cv_func___builtin_sqrtf_link=no
41813 fi
41814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41815
41816 fi
41817
41818     fi
41819     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
41820 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
41821     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
41822       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41823       cat >>confdefs.h <<_ACEOF
41824 #define ${ac_tr_func} 1
41825 _ACEOF
41826
41827     fi
41828   fi
41829
41830
41831   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
41832 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
41833   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
41834     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
41835   echo $ECHO_N "(cached) $ECHO_C" >&6
41836 else
41837
41838
41839
41840       ac_ext=cc
41841 ac_cpp='$CXXCPP $CPPFLAGS'
41842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41845
41846       cat >conftest.$ac_ext <<_ACEOF
41847 #line $LINENO "configure"
41848 /* confdefs.h.  */
41849 _ACEOF
41850 cat confdefs.h >>conftest.$ac_ext
41851 cat >>conftest.$ac_ext <<_ACEOF
41852 /* end confdefs.h.  */
41853 #include <math.h>
41854 int
41855 main ()
41856 {
41857  __builtin_sqrt(0);
41858   ;
41859   return 0;
41860 }
41861 _ACEOF
41862 rm -f conftest.$ac_objext
41863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41864   (eval $ac_compile) 2>&5
41865   ac_status=$?
41866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867   (exit $ac_status); } &&
41868          { ac_try='test -s conftest.$ac_objext'
41869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870   (eval $ac_try) 2>&5
41871   ac_status=$?
41872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873   (exit $ac_status); }; }; then
41874   glibcxx_cv_func___builtin_sqrt_use=yes
41875 else
41876   echo "$as_me: failed program was:" >&5
41877 sed 's/^/| /' conftest.$ac_ext >&5
41878
41879 glibcxx_cv_func___builtin_sqrt_use=no
41880 fi
41881 rm -f conftest.$ac_objext conftest.$ac_ext
41882       ac_ext=c
41883 ac_cpp='$CPP $CPPFLAGS'
41884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41887
41888
41889 fi
41890
41891   fi
41892   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
41893 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
41894   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
41895     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
41896 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
41897     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
41898       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
41899   echo $ECHO_N "(cached) $ECHO_C" >&6
41900 else
41901
41902         cat >conftest.$ac_ext <<_ACEOF
41903 #line $LINENO "configure"
41904 /* confdefs.h.  */
41905 _ACEOF
41906 cat confdefs.h >>conftest.$ac_ext
41907 cat >>conftest.$ac_ext <<_ACEOF
41908 /* end confdefs.h.  */
41909 #include <math.h>
41910 int
41911 main ()
41912 {
41913  __builtin_sqrt(0);
41914   ;
41915   return 0;
41916 }
41917 _ACEOF
41918 rm -f conftest.$ac_objext conftest$ac_exeext
41919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41920   (eval $ac_link) 2>&5
41921   ac_status=$?
41922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923   (exit $ac_status); } &&
41924          { ac_try='test -s conftest$ac_exeext'
41925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41926   (eval $ac_try) 2>&5
41927   ac_status=$?
41928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41929   (exit $ac_status); }; }; then
41930   glibcxx_cv_func___builtin_sqrt_link=yes
41931 else
41932   echo "$as_me: failed program was:" >&5
41933 sed 's/^/| /' conftest.$ac_ext >&5
41934
41935 glibcxx_cv_func___builtin_sqrt_link=no
41936 fi
41937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41938
41939 fi
41940
41941     fi
41942     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
41943 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
41944     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
41945       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41946       cat >>confdefs.h <<_ACEOF
41947 #define ${ac_tr_func} 1
41948 _ACEOF
41949
41950     fi
41951   fi
41952
41953
41954   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
41955 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
41956   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
41957     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
41958   echo $ECHO_N "(cached) $ECHO_C" >&6
41959 else
41960
41961
41962
41963       ac_ext=cc
41964 ac_cpp='$CXXCPP $CPPFLAGS'
41965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41968
41969       cat >conftest.$ac_ext <<_ACEOF
41970 #line $LINENO "configure"
41971 /* confdefs.h.  */
41972 _ACEOF
41973 cat confdefs.h >>conftest.$ac_ext
41974 cat >>conftest.$ac_ext <<_ACEOF
41975 /* end confdefs.h.  */
41976 #include <math.h>
41977 int
41978 main ()
41979 {
41980  __builtin_sqrtl(0);
41981   ;
41982   return 0;
41983 }
41984 _ACEOF
41985 rm -f conftest.$ac_objext
41986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41987   (eval $ac_compile) 2>&5
41988   ac_status=$?
41989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41990   (exit $ac_status); } &&
41991          { ac_try='test -s conftest.$ac_objext'
41992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41993   (eval $ac_try) 2>&5
41994   ac_status=$?
41995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996   (exit $ac_status); }; }; then
41997   glibcxx_cv_func___builtin_sqrtl_use=yes
41998 else
41999   echo "$as_me: failed program was:" >&5
42000 sed 's/^/| /' conftest.$ac_ext >&5
42001
42002 glibcxx_cv_func___builtin_sqrtl_use=no
42003 fi
42004 rm -f conftest.$ac_objext conftest.$ac_ext
42005       ac_ext=c
42006 ac_cpp='$CPP $CPPFLAGS'
42007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42010
42011
42012 fi
42013
42014   fi
42015   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
42016 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
42017   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
42018     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
42019 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
42020     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
42021       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
42022   echo $ECHO_N "(cached) $ECHO_C" >&6
42023 else
42024
42025         cat >conftest.$ac_ext <<_ACEOF
42026 #line $LINENO "configure"
42027 /* confdefs.h.  */
42028 _ACEOF
42029 cat confdefs.h >>conftest.$ac_ext
42030 cat >>conftest.$ac_ext <<_ACEOF
42031 /* end confdefs.h.  */
42032 #include <math.h>
42033 int
42034 main ()
42035 {
42036  __builtin_sqrtl(0);
42037   ;
42038   return 0;
42039 }
42040 _ACEOF
42041 rm -f conftest.$ac_objext conftest$ac_exeext
42042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42043   (eval $ac_link) 2>&5
42044   ac_status=$?
42045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046   (exit $ac_status); } &&
42047          { ac_try='test -s conftest$ac_exeext'
42048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049   (eval $ac_try) 2>&5
42050   ac_status=$?
42051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052   (exit $ac_status); }; }; then
42053   glibcxx_cv_func___builtin_sqrtl_link=yes
42054 else
42055   echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.$ac_ext >&5
42057
42058 glibcxx_cv_func___builtin_sqrtl_link=no
42059 fi
42060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42061
42062 fi
42063
42064     fi
42065     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
42066 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
42067     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
42068       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42069       cat >>confdefs.h <<_ACEOF
42070 #define ${ac_tr_func} 1
42071 _ACEOF
42072
42073     fi
42074   fi
42075
42076
42077
42078   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
42079 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
42080   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
42081     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
42082   echo $ECHO_N "(cached) $ECHO_C" >&6
42083 else
42084
42085
42086
42087       ac_ext=cc
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42092
42093       cat >conftest.$ac_ext <<_ACEOF
42094 #line $LINENO "configure"
42095 /* confdefs.h.  */
42096 _ACEOF
42097 cat confdefs.h >>conftest.$ac_ext
42098 cat >>conftest.$ac_ext <<_ACEOF
42099 /* end confdefs.h.  */
42100 #include <math.h>
42101 int
42102 main ()
42103 {
42104  __builtin_sinf(0);
42105   ;
42106   return 0;
42107 }
42108 _ACEOF
42109 rm -f conftest.$ac_objext
42110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42111   (eval $ac_compile) 2>&5
42112   ac_status=$?
42113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42114   (exit $ac_status); } &&
42115          { ac_try='test -s conftest.$ac_objext'
42116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42117   (eval $ac_try) 2>&5
42118   ac_status=$?
42119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42120   (exit $ac_status); }; }; then
42121   glibcxx_cv_func___builtin_sinf_use=yes
42122 else
42123   echo "$as_me: failed program was:" >&5
42124 sed 's/^/| /' conftest.$ac_ext >&5
42125
42126 glibcxx_cv_func___builtin_sinf_use=no
42127 fi
42128 rm -f conftest.$ac_objext conftest.$ac_ext
42129       ac_ext=c
42130 ac_cpp='$CPP $CPPFLAGS'
42131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42134
42135
42136 fi
42137
42138   fi
42139   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
42140 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
42141   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
42142     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
42143 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
42144     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
42145       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
42146   echo $ECHO_N "(cached) $ECHO_C" >&6
42147 else
42148
42149         cat >conftest.$ac_ext <<_ACEOF
42150 #line $LINENO "configure"
42151 /* confdefs.h.  */
42152 _ACEOF
42153 cat confdefs.h >>conftest.$ac_ext
42154 cat >>conftest.$ac_ext <<_ACEOF
42155 /* end confdefs.h.  */
42156 #include <math.h>
42157 int
42158 main ()
42159 {
42160  __builtin_sinf(0);
42161   ;
42162   return 0;
42163 }
42164 _ACEOF
42165 rm -f conftest.$ac_objext conftest$ac_exeext
42166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42167   (eval $ac_link) 2>&5
42168   ac_status=$?
42169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170   (exit $ac_status); } &&
42171          { ac_try='test -s conftest$ac_exeext'
42172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42173   (eval $ac_try) 2>&5
42174   ac_status=$?
42175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176   (exit $ac_status); }; }; then
42177   glibcxx_cv_func___builtin_sinf_link=yes
42178 else
42179   echo "$as_me: failed program was:" >&5
42180 sed 's/^/| /' conftest.$ac_ext >&5
42181
42182 glibcxx_cv_func___builtin_sinf_link=no
42183 fi
42184 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42185
42186 fi
42187
42188     fi
42189     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
42190 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
42191     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
42192       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42193       cat >>confdefs.h <<_ACEOF
42194 #define ${ac_tr_func} 1
42195 _ACEOF
42196
42197     fi
42198   fi
42199
42200
42201   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
42202 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
42203   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
42204     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
42205   echo $ECHO_N "(cached) $ECHO_C" >&6
42206 else
42207
42208
42209
42210       ac_ext=cc
42211 ac_cpp='$CXXCPP $CPPFLAGS'
42212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42215
42216       cat >conftest.$ac_ext <<_ACEOF
42217 #line $LINENO "configure"
42218 /* confdefs.h.  */
42219 _ACEOF
42220 cat confdefs.h >>conftest.$ac_ext
42221 cat >>conftest.$ac_ext <<_ACEOF
42222 /* end confdefs.h.  */
42223 #include <math.h>
42224 int
42225 main ()
42226 {
42227  __builtin_sin(0);
42228   ;
42229   return 0;
42230 }
42231 _ACEOF
42232 rm -f conftest.$ac_objext
42233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42234   (eval $ac_compile) 2>&5
42235   ac_status=$?
42236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237   (exit $ac_status); } &&
42238          { ac_try='test -s conftest.$ac_objext'
42239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42240   (eval $ac_try) 2>&5
42241   ac_status=$?
42242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42243   (exit $ac_status); }; }; then
42244   glibcxx_cv_func___builtin_sin_use=yes
42245 else
42246   echo "$as_me: failed program was:" >&5
42247 sed 's/^/| /' conftest.$ac_ext >&5
42248
42249 glibcxx_cv_func___builtin_sin_use=no
42250 fi
42251 rm -f conftest.$ac_objext conftest.$ac_ext
42252       ac_ext=c
42253 ac_cpp='$CPP $CPPFLAGS'
42254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42257
42258
42259 fi
42260
42261   fi
42262   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
42263 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
42264   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
42265     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
42266 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
42267     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
42268       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
42269   echo $ECHO_N "(cached) $ECHO_C" >&6
42270 else
42271
42272         cat >conftest.$ac_ext <<_ACEOF
42273 #line $LINENO "configure"
42274 /* confdefs.h.  */
42275 _ACEOF
42276 cat confdefs.h >>conftest.$ac_ext
42277 cat >>conftest.$ac_ext <<_ACEOF
42278 /* end confdefs.h.  */
42279 #include <math.h>
42280 int
42281 main ()
42282 {
42283  __builtin_sin(0);
42284   ;
42285   return 0;
42286 }
42287 _ACEOF
42288 rm -f conftest.$ac_objext conftest$ac_exeext
42289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42290   (eval $ac_link) 2>&5
42291   ac_status=$?
42292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293   (exit $ac_status); } &&
42294          { ac_try='test -s conftest$ac_exeext'
42295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42296   (eval $ac_try) 2>&5
42297   ac_status=$?
42298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42299   (exit $ac_status); }; }; then
42300   glibcxx_cv_func___builtin_sin_link=yes
42301 else
42302   echo "$as_me: failed program was:" >&5
42303 sed 's/^/| /' conftest.$ac_ext >&5
42304
42305 glibcxx_cv_func___builtin_sin_link=no
42306 fi
42307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42308
42309 fi
42310
42311     fi
42312     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
42313 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
42314     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
42315       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42316       cat >>confdefs.h <<_ACEOF
42317 #define ${ac_tr_func} 1
42318 _ACEOF
42319
42320     fi
42321   fi
42322
42323
42324   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
42325 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
42326   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
42327     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
42328   echo $ECHO_N "(cached) $ECHO_C" >&6
42329 else
42330
42331
42332
42333       ac_ext=cc
42334 ac_cpp='$CXXCPP $CPPFLAGS'
42335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42338
42339       cat >conftest.$ac_ext <<_ACEOF
42340 #line $LINENO "configure"
42341 /* confdefs.h.  */
42342 _ACEOF
42343 cat confdefs.h >>conftest.$ac_ext
42344 cat >>conftest.$ac_ext <<_ACEOF
42345 /* end confdefs.h.  */
42346 #include <math.h>
42347 int
42348 main ()
42349 {
42350  __builtin_sinl(0);
42351   ;
42352   return 0;
42353 }
42354 _ACEOF
42355 rm -f conftest.$ac_objext
42356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42357   (eval $ac_compile) 2>&5
42358   ac_status=$?
42359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360   (exit $ac_status); } &&
42361          { ac_try='test -s conftest.$ac_objext'
42362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363   (eval $ac_try) 2>&5
42364   ac_status=$?
42365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366   (exit $ac_status); }; }; then
42367   glibcxx_cv_func___builtin_sinl_use=yes
42368 else
42369   echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42371
42372 glibcxx_cv_func___builtin_sinl_use=no
42373 fi
42374 rm -f conftest.$ac_objext conftest.$ac_ext
42375       ac_ext=c
42376 ac_cpp='$CPP $CPPFLAGS'
42377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42380
42381
42382 fi
42383
42384   fi
42385   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
42386 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
42387   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
42388     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
42389 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
42390     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
42391       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
42392   echo $ECHO_N "(cached) $ECHO_C" >&6
42393 else
42394
42395         cat >conftest.$ac_ext <<_ACEOF
42396 #line $LINENO "configure"
42397 /* confdefs.h.  */
42398 _ACEOF
42399 cat confdefs.h >>conftest.$ac_ext
42400 cat >>conftest.$ac_ext <<_ACEOF
42401 /* end confdefs.h.  */
42402 #include <math.h>
42403 int
42404 main ()
42405 {
42406  __builtin_sinl(0);
42407   ;
42408   return 0;
42409 }
42410 _ACEOF
42411 rm -f conftest.$ac_objext conftest$ac_exeext
42412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42413   (eval $ac_link) 2>&5
42414   ac_status=$?
42415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416   (exit $ac_status); } &&
42417          { ac_try='test -s conftest$ac_exeext'
42418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419   (eval $ac_try) 2>&5
42420   ac_status=$?
42421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422   (exit $ac_status); }; }; then
42423   glibcxx_cv_func___builtin_sinl_link=yes
42424 else
42425   echo "$as_me: failed program was:" >&5
42426 sed 's/^/| /' conftest.$ac_ext >&5
42427
42428 glibcxx_cv_func___builtin_sinl_link=no
42429 fi
42430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42431
42432 fi
42433
42434     fi
42435     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
42436 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
42437     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
42438       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42439       cat >>confdefs.h <<_ACEOF
42440 #define ${ac_tr_func} 1
42441 _ACEOF
42442
42443     fi
42444   fi
42445
42446
42447
42448   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
42449 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
42450   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
42451     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
42452   echo $ECHO_N "(cached) $ECHO_C" >&6
42453 else
42454
42455
42456
42457       ac_ext=cc
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462
42463       cat >conftest.$ac_ext <<_ACEOF
42464 #line $LINENO "configure"
42465 /* confdefs.h.  */
42466 _ACEOF
42467 cat confdefs.h >>conftest.$ac_ext
42468 cat >>conftest.$ac_ext <<_ACEOF
42469 /* end confdefs.h.  */
42470 #include <math.h>
42471 int
42472 main ()
42473 {
42474  __builtin_cosf(0);
42475   ;
42476   return 0;
42477 }
42478 _ACEOF
42479 rm -f conftest.$ac_objext
42480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42481   (eval $ac_compile) 2>&5
42482   ac_status=$?
42483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484   (exit $ac_status); } &&
42485          { ac_try='test -s conftest.$ac_objext'
42486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42487   (eval $ac_try) 2>&5
42488   ac_status=$?
42489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42490   (exit $ac_status); }; }; then
42491   glibcxx_cv_func___builtin_cosf_use=yes
42492 else
42493   echo "$as_me: failed program was:" >&5
42494 sed 's/^/| /' conftest.$ac_ext >&5
42495
42496 glibcxx_cv_func___builtin_cosf_use=no
42497 fi
42498 rm -f conftest.$ac_objext conftest.$ac_ext
42499       ac_ext=c
42500 ac_cpp='$CPP $CPPFLAGS'
42501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42504
42505
42506 fi
42507
42508   fi
42509   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
42510 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
42511   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
42512     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
42513 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
42514     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
42515       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
42516   echo $ECHO_N "(cached) $ECHO_C" >&6
42517 else
42518
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_cosf(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_cosf_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_cosf_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_cosf_link" >&5
42560 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
42561     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
42562       ac_tr_func=HAVE_`echo __builtin_cosf | 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_cos declaration" >&5
42572 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
42573   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
42574     if test "${glibcxx_cv_func___builtin_cos_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_cos(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_cos_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_cos_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_cos_use" >&5
42633 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
42634   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
42635     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
42636 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
42637     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
42638       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
42639   echo $ECHO_N "(cached) $ECHO_C" >&6
42640 else
42641
42642         cat >conftest.$ac_ext <<_ACEOF
42643 #line $LINENO "configure"
42644 /* confdefs.h.  */
42645 _ACEOF
42646 cat confdefs.h >>conftest.$ac_ext
42647 cat >>conftest.$ac_ext <<_ACEOF
42648 /* end confdefs.h.  */
42649 #include <math.h>
42650 int
42651 main ()
42652 {
42653  __builtin_cos(0);
42654   ;
42655   return 0;
42656 }
42657 _ACEOF
42658 rm -f conftest.$ac_objext conftest$ac_exeext
42659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42660   (eval $ac_link) 2>&5
42661   ac_status=$?
42662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663   (exit $ac_status); } &&
42664          { ac_try='test -s conftest$ac_exeext'
42665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666   (eval $ac_try) 2>&5
42667   ac_status=$?
42668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669   (exit $ac_status); }; }; then
42670   glibcxx_cv_func___builtin_cos_link=yes
42671 else
42672   echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675 glibcxx_cv_func___builtin_cos_link=no
42676 fi
42677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42678
42679 fi
42680
42681     fi
42682     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
42683 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
42684     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
42685       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42686       cat >>confdefs.h <<_ACEOF
42687 #define ${ac_tr_func} 1
42688 _ACEOF
42689
42690     fi
42691   fi
42692
42693
42694   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
42695 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
42696   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
42697     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
42698   echo $ECHO_N "(cached) $ECHO_C" >&6
42699 else
42700
42701
42702
42703       ac_ext=cc
42704 ac_cpp='$CXXCPP $CPPFLAGS'
42705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42708
42709       cat >conftest.$ac_ext <<_ACEOF
42710 #line $LINENO "configure"
42711 /* confdefs.h.  */
42712 _ACEOF
42713 cat confdefs.h >>conftest.$ac_ext
42714 cat >>conftest.$ac_ext <<_ACEOF
42715 /* end confdefs.h.  */
42716 #include <math.h>
42717 int
42718 main ()
42719 {
42720  __builtin_cosl(0);
42721   ;
42722   return 0;
42723 }
42724 _ACEOF
42725 rm -f conftest.$ac_objext
42726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42727   (eval $ac_compile) 2>&5
42728   ac_status=$?
42729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730   (exit $ac_status); } &&
42731          { ac_try='test -s conftest.$ac_objext'
42732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42733   (eval $ac_try) 2>&5
42734   ac_status=$?
42735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42736   (exit $ac_status); }; }; then
42737   glibcxx_cv_func___builtin_cosl_use=yes
42738 else
42739   echo "$as_me: failed program was:" >&5
42740 sed 's/^/| /' conftest.$ac_ext >&5
42741
42742 glibcxx_cv_func___builtin_cosl_use=no
42743 fi
42744 rm -f conftest.$ac_objext conftest.$ac_ext
42745       ac_ext=c
42746 ac_cpp='$CPP $CPPFLAGS'
42747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42750
42751
42752 fi
42753
42754   fi
42755   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
42756 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
42757   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
42758     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
42759 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
42760     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
42761       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
42762   echo $ECHO_N "(cached) $ECHO_C" >&6
42763 else
42764
42765         cat >conftest.$ac_ext <<_ACEOF
42766 #line $LINENO "configure"
42767 /* confdefs.h.  */
42768 _ACEOF
42769 cat confdefs.h >>conftest.$ac_ext
42770 cat >>conftest.$ac_ext <<_ACEOF
42771 /* end confdefs.h.  */
42772 #include <math.h>
42773 int
42774 main ()
42775 {
42776  __builtin_cosl(0);
42777   ;
42778   return 0;
42779 }
42780 _ACEOF
42781 rm -f conftest.$ac_objext conftest$ac_exeext
42782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42783   (eval $ac_link) 2>&5
42784   ac_status=$?
42785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786   (exit $ac_status); } &&
42787          { ac_try='test -s conftest$ac_exeext'
42788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42789   (eval $ac_try) 2>&5
42790   ac_status=$?
42791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792   (exit $ac_status); }; }; then
42793   glibcxx_cv_func___builtin_cosl_link=yes
42794 else
42795   echo "$as_me: failed program was:" >&5
42796 sed 's/^/| /' conftest.$ac_ext >&5
42797
42798 glibcxx_cv_func___builtin_cosl_link=no
42799 fi
42800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42801
42802 fi
42803
42804     fi
42805     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
42806 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
42807     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
42808       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42809       cat >>confdefs.h <<_ACEOF
42810 #define ${ac_tr_func} 1
42811 _ACEOF
42812
42813     fi
42814   fi
42815
42816
42817               dummyvar=no
42818   if test x$dummyvar = x"yes"; then
42819     cat >>confdefs.h <<\_ACEOF
42820 #define HAVE___BUILTIN_ABS 1
42821 _ACEOF
42822
42823     cat >>confdefs.h <<\_ACEOF
42824 #define HAVE___BUILTIN_LABS 1
42825 _ACEOF
42826
42827     cat >>confdefs.h <<\_ACEOF
42828 #define HAVE___BUILTIN_COS 1
42829 _ACEOF
42830
42831     cat >>confdefs.h <<\_ACEOF
42832 #define HAVE___BUILTIN_COSF 1
42833 _ACEOF
42834
42835     cat >>confdefs.h <<\_ACEOF
42836 #define HAVE___BUILTIN_COSL 1
42837 _ACEOF
42838
42839     cat >>confdefs.h <<\_ACEOF
42840 #define HAVE___BUILTIN_FABS 1
42841 _ACEOF
42842
42843     cat >>confdefs.h <<\_ACEOF
42844 #define HAVE___BUILTIN_FABSF 1
42845 _ACEOF
42846
42847     cat >>confdefs.h <<\_ACEOF
42848 #define HAVE___BUILTIN_FABSL 1
42849 _ACEOF
42850
42851     cat >>confdefs.h <<\_ACEOF
42852 #define HAVE___BUILTIN_SIN 1
42853 _ACEOF
42854
42855     cat >>confdefs.h <<\_ACEOF
42856 #define HAVE___BUILTIN_SINF 1
42857 _ACEOF
42858
42859     cat >>confdefs.h <<\_ACEOF
42860 #define HAVE___BUILTIN_SINL 1
42861 _ACEOF
42862
42863     cat >>confdefs.h <<\_ACEOF
42864 #define HAVE___BUILTIN_SQRT 1
42865 _ACEOF
42866
42867     cat >>confdefs.h <<\_ACEOF
42868 #define HAVE___BUILTIN_SQRTF 1
42869 _ACEOF
42870
42871     cat >>confdefs.h <<\_ACEOF
42872 #define HAVE___BUILTIN_SQRTL 1
42873 _ACEOF
42874
42875   fi
42876
42877
42878
42879 echo "$as_me:$LINENO: checking for main in -lm" >&5
42880 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
42881 if test "${ac_cv_lib_m_main+set}" = set; then
42882   echo $ECHO_N "(cached) $ECHO_C" >&6
42883 else
42884   ac_check_lib_save_LIBS=$LIBS
42885 LIBS="-lm  $LIBS"
42886 cat >conftest.$ac_ext <<_ACEOF
42887 #line $LINENO "configure"
42888 /* confdefs.h.  */
42889 _ACEOF
42890 cat confdefs.h >>conftest.$ac_ext
42891 cat >>conftest.$ac_ext <<_ACEOF
42892 /* end confdefs.h.  */
42893
42894
42895 int
42896 main ()
42897 {
42898 main ();
42899   ;
42900   return 0;
42901 }
42902 _ACEOF
42903 rm -f conftest.$ac_objext conftest$ac_exeext
42904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42905   (eval $ac_link) 2>&5
42906   ac_status=$?
42907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908   (exit $ac_status); } &&
42909          { ac_try='test -s conftest$ac_exeext'
42910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911   (eval $ac_try) 2>&5
42912   ac_status=$?
42913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914   (exit $ac_status); }; }; then
42915   ac_cv_lib_m_main=yes
42916 else
42917   echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.$ac_ext >&5
42919
42920 ac_cv_lib_m_main=no
42921 fi
42922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42923 LIBS=$ac_check_lib_save_LIBS
42924 fi
42925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
42926 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
42927 if test $ac_cv_lib_m_main = yes; then
42928   cat >>confdefs.h <<_ACEOF
42929 #define HAVE_LIBM 1
42930 _ACEOF
42931
42932   LIBS="-lm $LIBS"
42933
42934 fi
42935
42936
42937
42938 for ac_func in nan copysignf
42939 do
42940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42941 echo "$as_me:$LINENO: checking for $ac_func" >&5
42942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42943 if eval "test \"\${$as_ac_var+set}\" = set"; then
42944   echo $ECHO_N "(cached) $ECHO_C" >&6
42945 else
42946   cat >conftest.$ac_ext <<_ACEOF
42947 #line $LINENO "configure"
42948 /* confdefs.h.  */
42949 _ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h.  */
42953 /* System header to define __stub macros and hopefully few prototypes,
42954     which can conflict with char $ac_func (); below.
42955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42956     <limits.h> exists even on freestanding compilers.  */
42957 #ifdef __STDC__
42958 # include <limits.h>
42959 #else
42960 # include <assert.h>
42961 #endif
42962 /* Override any gcc2 internal prototype to avoid an error.  */
42963 #ifdef __cplusplus
42964 extern "C"
42965 {
42966 #endif
42967 /* We use char because int might match the return type of a gcc2
42968    builtin and then its argument prototype would still apply.  */
42969 char $ac_func ();
42970 /* The GNU C library defines this for functions which it implements
42971     to always fail with ENOSYS.  Some functions are actually named
42972     something starting with __ and the normal name is an alias.  */
42973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42974 choke me
42975 #else
42976 char (*f) () = $ac_func;
42977 #endif
42978 #ifdef __cplusplus
42979 }
42980 #endif
42981
42982 int
42983 main ()
42984 {
42985 return f != $ac_func;
42986   ;
42987   return 0;
42988 }
42989 _ACEOF
42990 rm -f conftest.$ac_objext conftest$ac_exeext
42991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42992   (eval $ac_link) 2>&5
42993   ac_status=$?
42994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995   (exit $ac_status); } &&
42996          { ac_try='test -s conftest$ac_exeext'
42997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998   (eval $ac_try) 2>&5
42999   ac_status=$?
43000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001   (exit $ac_status); }; }; then
43002   eval "$as_ac_var=yes"
43003 else
43004   echo "$as_me: failed program was:" >&5
43005 sed 's/^/| /' conftest.$ac_ext >&5
43006
43007 eval "$as_ac_var=no"
43008 fi
43009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43010 fi
43011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43013 if test `eval echo '${'$as_ac_var'}'` = yes; then
43014   cat >>confdefs.h <<_ACEOF
43015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43016 _ACEOF
43017
43018 else
43019   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
43020 fi
43021 done
43022
43023
43024
43025 for ac_func in __signbit
43026 do
43027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43028 echo "$as_me:$LINENO: checking for $ac_func" >&5
43029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43030 if eval "test \"\${$as_ac_var+set}\" = set"; then
43031   echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033   cat >conftest.$ac_ext <<_ACEOF
43034 #line $LINENO "configure"
43035 /* confdefs.h.  */
43036 _ACEOF
43037 cat confdefs.h >>conftest.$ac_ext
43038 cat >>conftest.$ac_ext <<_ACEOF
43039 /* end confdefs.h.  */
43040 /* System header to define __stub macros and hopefully few prototypes,
43041     which can conflict with char $ac_func (); below.
43042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43043     <limits.h> exists even on freestanding compilers.  */
43044 #ifdef __STDC__
43045 # include <limits.h>
43046 #else
43047 # include <assert.h>
43048 #endif
43049 /* Override any gcc2 internal prototype to avoid an error.  */
43050 #ifdef __cplusplus
43051 extern "C"
43052 {
43053 #endif
43054 /* We use char because int might match the return type of a gcc2
43055    builtin and then its argument prototype would still apply.  */
43056 char $ac_func ();
43057 /* The GNU C library defines this for functions which it implements
43058     to always fail with ENOSYS.  Some functions are actually named
43059     something starting with __ and the normal name is an alias.  */
43060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43061 choke me
43062 #else
43063 char (*f) () = $ac_func;
43064 #endif
43065 #ifdef __cplusplus
43066 }
43067 #endif
43068
43069 int
43070 main ()
43071 {
43072 return f != $ac_func;
43073   ;
43074   return 0;
43075 }
43076 _ACEOF
43077 rm -f conftest.$ac_objext conftest$ac_exeext
43078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43079   (eval $ac_link) 2>&5
43080   ac_status=$?
43081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082   (exit $ac_status); } &&
43083          { ac_try='test -s conftest$ac_exeext'
43084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43085   (eval $ac_try) 2>&5
43086   ac_status=$?
43087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088   (exit $ac_status); }; }; then
43089   eval "$as_ac_var=yes"
43090 else
43091   echo "$as_me: failed program was:" >&5
43092 sed 's/^/| /' conftest.$ac_ext >&5
43093
43094 eval "$as_ac_var=no"
43095 fi
43096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43097 fi
43098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43100 if test `eval echo '${'$as_ac_var'}'` = yes; then
43101   cat >>confdefs.h <<_ACEOF
43102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43103 _ACEOF
43104
43105 else
43106   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
43107 fi
43108 done
43109
43110
43111 for ac_func in __signbitf
43112 do
43113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43114 echo "$as_me:$LINENO: checking for $ac_func" >&5
43115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43116 if eval "test \"\${$as_ac_var+set}\" = set"; then
43117   echo $ECHO_N "(cached) $ECHO_C" >&6
43118 else
43119   cat >conftest.$ac_ext <<_ACEOF
43120 #line $LINENO "configure"
43121 /* confdefs.h.  */
43122 _ACEOF
43123 cat confdefs.h >>conftest.$ac_ext
43124 cat >>conftest.$ac_ext <<_ACEOF
43125 /* end confdefs.h.  */
43126 /* System header to define __stub macros and hopefully few prototypes,
43127     which can conflict with char $ac_func (); below.
43128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43129     <limits.h> exists even on freestanding compilers.  */
43130 #ifdef __STDC__
43131 # include <limits.h>
43132 #else
43133 # include <assert.h>
43134 #endif
43135 /* Override any gcc2 internal prototype to avoid an error.  */
43136 #ifdef __cplusplus
43137 extern "C"
43138 {
43139 #endif
43140 /* We use char because int might match the return type of a gcc2
43141    builtin and then its argument prototype would still apply.  */
43142 char $ac_func ();
43143 /* The GNU C library defines this for functions which it implements
43144     to always fail with ENOSYS.  Some functions are actually named
43145     something starting with __ and the normal name is an alias.  */
43146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43147 choke me
43148 #else
43149 char (*f) () = $ac_func;
43150 #endif
43151 #ifdef __cplusplus
43152 }
43153 #endif
43154
43155 int
43156 main ()
43157 {
43158 return f != $ac_func;
43159   ;
43160   return 0;
43161 }
43162 _ACEOF
43163 rm -f conftest.$ac_objext conftest$ac_exeext
43164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43165   (eval $ac_link) 2>&5
43166   ac_status=$?
43167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168   (exit $ac_status); } &&
43169          { ac_try='test -s conftest$ac_exeext'
43170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43171   (eval $ac_try) 2>&5
43172   ac_status=$?
43173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174   (exit $ac_status); }; }; then
43175   eval "$as_ac_var=yes"
43176 else
43177   echo "$as_me: failed program was:" >&5
43178 sed 's/^/| /' conftest.$ac_ext >&5
43179
43180 eval "$as_ac_var=no"
43181 fi
43182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43183 fi
43184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43186 if test `eval echo '${'$as_ac_var'}'` = yes; then
43187   cat >>confdefs.h <<_ACEOF
43188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43189 _ACEOF
43190
43191 else
43192   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
43193 fi
43194 done
43195
43196
43197           if test x$ac_cv_func_copysignl = x"yes"; then
43198
43199 for ac_func in __signbitl
43200 do
43201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43202 echo "$as_me:$LINENO: checking for $ac_func" >&5
43203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43204 if eval "test \"\${$as_ac_var+set}\" = set"; then
43205   echo $ECHO_N "(cached) $ECHO_C" >&6
43206 else
43207   cat >conftest.$ac_ext <<_ACEOF
43208 #line $LINENO "configure"
43209 /* confdefs.h.  */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h.  */
43214 /* System header to define __stub macros and hopefully few prototypes,
43215     which can conflict with char $ac_func (); below.
43216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43217     <limits.h> exists even on freestanding compilers.  */
43218 #ifdef __STDC__
43219 # include <limits.h>
43220 #else
43221 # include <assert.h>
43222 #endif
43223 /* Override any gcc2 internal prototype to avoid an error.  */
43224 #ifdef __cplusplus
43225 extern "C"
43226 {
43227 #endif
43228 /* We use char because int might match the return type of a gcc2
43229    builtin and then its argument prototype would still apply.  */
43230 char $ac_func ();
43231 /* The GNU C library defines this for functions which it implements
43232     to always fail with ENOSYS.  Some functions are actually named
43233     something starting with __ and the normal name is an alias.  */
43234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43235 choke me
43236 #else
43237 char (*f) () = $ac_func;
43238 #endif
43239 #ifdef __cplusplus
43240 }
43241 #endif
43242
43243 int
43244 main ()
43245 {
43246 return f != $ac_func;
43247   ;
43248   return 0;
43249 }
43250 _ACEOF
43251 rm -f conftest.$ac_objext conftest$ac_exeext
43252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43253   (eval $ac_link) 2>&5
43254   ac_status=$?
43255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43256   (exit $ac_status); } &&
43257          { ac_try='test -s conftest$ac_exeext'
43258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43259   (eval $ac_try) 2>&5
43260   ac_status=$?
43261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43262   (exit $ac_status); }; }; then
43263   eval "$as_ac_var=yes"
43264 else
43265   echo "$as_me: failed program was:" >&5
43266 sed 's/^/| /' conftest.$ac_ext >&5
43267
43268 eval "$as_ac_var=no"
43269 fi
43270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43271 fi
43272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43274 if test `eval echo '${'$as_ac_var'}'` = yes; then
43275   cat >>confdefs.h <<_ACEOF
43276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43277 _ACEOF
43278
43279 else
43280   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
43281 fi
43282 done
43283
43284   fi
43285
43286   # XXX Review this.  Nothing uses it.
43287   if test -n "$LIBMATHOBJS"; then
43288     need_libmath=yes
43289   fi
43290
43291
43292
43293   # Test wchar.h for mbstate_t, which is needed for char_traits and
43294   # others even if wchar_t support is not on.
43295   echo "$as_me:$LINENO: checking for mbstate_t" >&5
43296 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
43297   cat >conftest.$ac_ext <<_ACEOF
43298 #line $LINENO "configure"
43299 /* confdefs.h.  */
43300 _ACEOF
43301 cat confdefs.h >>conftest.$ac_ext
43302 cat >>conftest.$ac_ext <<_ACEOF
43303 /* end confdefs.h.  */
43304 #include <wchar.h>
43305 int
43306 main ()
43307 {
43308 mbstate_t teststate;
43309   ;
43310   return 0;
43311 }
43312 _ACEOF
43313 rm -f conftest.$ac_objext
43314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43315   (eval $ac_compile) 2>&5
43316   ac_status=$?
43317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318   (exit $ac_status); } &&
43319          { ac_try='test -s conftest.$ac_objext'
43320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43321   (eval $ac_try) 2>&5
43322   ac_status=$?
43323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324   (exit $ac_status); }; }; then
43325   have_mbstate_t=yes
43326 else
43327   echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.$ac_ext >&5
43329
43330 have_mbstate_t=no
43331 fi
43332 rm -f conftest.$ac_objext conftest.$ac_ext
43333   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
43334 echo "${ECHO_T}$have_mbstate_t" >&6
43335   if test x"$have_mbstate_t" = xyes; then
43336     cat >>confdefs.h <<\_ACEOF
43337 #define HAVE_MBSTATE_T 1
43338 _ACEOF
43339
43340   fi
43341
43342   # Sanity check for existence of ISO C99 headers for extended encoding.
43343
43344 for ac_header in wchar.h
43345 do
43346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43348   echo "$as_me:$LINENO: checking for $ac_header" >&5
43349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43351   echo $ECHO_N "(cached) $ECHO_C" >&6
43352 fi
43353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43355 else
43356   # Is the header compilable?
43357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43359 cat >conftest.$ac_ext <<_ACEOF
43360 #line $LINENO "configure"
43361 /* confdefs.h.  */
43362 _ACEOF
43363 cat confdefs.h >>conftest.$ac_ext
43364 cat >>conftest.$ac_ext <<_ACEOF
43365 /* end confdefs.h.  */
43366 $ac_includes_default
43367 #include <$ac_header>
43368 _ACEOF
43369 rm -f conftest.$ac_objext
43370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43371   (eval $ac_compile) 2>&5
43372   ac_status=$?
43373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374   (exit $ac_status); } &&
43375          { ac_try='test -s conftest.$ac_objext'
43376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43377   (eval $ac_try) 2>&5
43378   ac_status=$?
43379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380   (exit $ac_status); }; }; then
43381   ac_header_compiler=yes
43382 else
43383   echo "$as_me: failed program was:" >&5
43384 sed 's/^/| /' conftest.$ac_ext >&5
43385
43386 ac_header_compiler=no
43387 fi
43388 rm -f conftest.$ac_objext conftest.$ac_ext
43389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43390 echo "${ECHO_T}$ac_header_compiler" >&6
43391
43392 # Is the header present?
43393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43395 cat >conftest.$ac_ext <<_ACEOF
43396 #line $LINENO "configure"
43397 /* confdefs.h.  */
43398 _ACEOF
43399 cat confdefs.h >>conftest.$ac_ext
43400 cat >>conftest.$ac_ext <<_ACEOF
43401 /* end confdefs.h.  */
43402 #include <$ac_header>
43403 _ACEOF
43404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43405   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43406   ac_status=$?
43407   grep -v '^ *+' conftest.er1 >conftest.err
43408   rm -f conftest.er1
43409   cat conftest.err >&5
43410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411   (exit $ac_status); } >/dev/null; then
43412   if test -s conftest.err; then
43413     ac_cpp_err=$ac_c_preproc_warn_flag
43414   else
43415     ac_cpp_err=
43416   fi
43417 else
43418   ac_cpp_err=yes
43419 fi
43420 if test -z "$ac_cpp_err"; then
43421   ac_header_preproc=yes
43422 else
43423   echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.$ac_ext >&5
43425
43426   ac_header_preproc=no
43427 fi
43428 rm -f conftest.err conftest.$ac_ext
43429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43430 echo "${ECHO_T}$ac_header_preproc" >&6
43431
43432 # So?  What about this header?
43433 case $ac_header_compiler:$ac_header_preproc in
43434   yes:no )
43435     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43437     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43439     (
43440       cat <<\_ASBOX
43441 ## ------------------------------------ ##
43442 ## Report this to bug-autoconf@gnu.org. ##
43443 ## ------------------------------------ ##
43444 _ASBOX
43445     ) |
43446       sed "s/^/$as_me: WARNING:     /" >&2
43447     ;;
43448   no:yes )
43449     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43451     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43453     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43455     (
43456       cat <<\_ASBOX
43457 ## ------------------------------------ ##
43458 ## Report this to bug-autoconf@gnu.org. ##
43459 ## ------------------------------------ ##
43460 _ASBOX
43461     ) |
43462       sed "s/^/$as_me: WARNING:     /" >&2
43463     ;;
43464 esac
43465 echo "$as_me:$LINENO: checking for $ac_header" >&5
43466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43468   echo $ECHO_N "(cached) $ECHO_C" >&6
43469 else
43470   eval "$as_ac_Header=$ac_header_preproc"
43471 fi
43472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43474
43475 fi
43476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43477   cat >>confdefs.h <<_ACEOF
43478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43479 _ACEOF
43480  ac_has_wchar_h=yes
43481 else
43482   ac_has_wchar_h=no
43483 fi
43484
43485 done
43486
43487
43488 for ac_header in wctype.h
43489 do
43490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43492   echo "$as_me:$LINENO: checking for $ac_header" >&5
43493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43495   echo $ECHO_N "(cached) $ECHO_C" >&6
43496 fi
43497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43499 else
43500   # Is the header compilable?
43501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43503 cat >conftest.$ac_ext <<_ACEOF
43504 #line $LINENO "configure"
43505 /* confdefs.h.  */
43506 _ACEOF
43507 cat confdefs.h >>conftest.$ac_ext
43508 cat >>conftest.$ac_ext <<_ACEOF
43509 /* end confdefs.h.  */
43510 $ac_includes_default
43511 #include <$ac_header>
43512 _ACEOF
43513 rm -f conftest.$ac_objext
43514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43515   (eval $ac_compile) 2>&5
43516   ac_status=$?
43517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518   (exit $ac_status); } &&
43519          { ac_try='test -s conftest.$ac_objext'
43520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43521   (eval $ac_try) 2>&5
43522   ac_status=$?
43523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524   (exit $ac_status); }; }; then
43525   ac_header_compiler=yes
43526 else
43527   echo "$as_me: failed program was:" >&5
43528 sed 's/^/| /' conftest.$ac_ext >&5
43529
43530 ac_header_compiler=no
43531 fi
43532 rm -f conftest.$ac_objext conftest.$ac_ext
43533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43534 echo "${ECHO_T}$ac_header_compiler" >&6
43535
43536 # Is the header present?
43537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43539 cat >conftest.$ac_ext <<_ACEOF
43540 #line $LINENO "configure"
43541 /* confdefs.h.  */
43542 _ACEOF
43543 cat confdefs.h >>conftest.$ac_ext
43544 cat >>conftest.$ac_ext <<_ACEOF
43545 /* end confdefs.h.  */
43546 #include <$ac_header>
43547 _ACEOF
43548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43549   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43550   ac_status=$?
43551   grep -v '^ *+' conftest.er1 >conftest.err
43552   rm -f conftest.er1
43553   cat conftest.err >&5
43554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555   (exit $ac_status); } >/dev/null; then
43556   if test -s conftest.err; then
43557     ac_cpp_err=$ac_c_preproc_warn_flag
43558   else
43559     ac_cpp_err=
43560   fi
43561 else
43562   ac_cpp_err=yes
43563 fi
43564 if test -z "$ac_cpp_err"; then
43565   ac_header_preproc=yes
43566 else
43567   echo "$as_me: failed program was:" >&5
43568 sed 's/^/| /' conftest.$ac_ext >&5
43569
43570   ac_header_preproc=no
43571 fi
43572 rm -f conftest.err conftest.$ac_ext
43573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43574 echo "${ECHO_T}$ac_header_preproc" >&6
43575
43576 # So?  What about this header?
43577 case $ac_header_compiler:$ac_header_preproc in
43578   yes:no )
43579     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43581     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43583     (
43584       cat <<\_ASBOX
43585 ## ------------------------------------ ##
43586 ## Report this to bug-autoconf@gnu.org. ##
43587 ## ------------------------------------ ##
43588 _ASBOX
43589     ) |
43590       sed "s/^/$as_me: WARNING:     /" >&2
43591     ;;
43592   no:yes )
43593     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43595     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43597     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43599     (
43600       cat <<\_ASBOX
43601 ## ------------------------------------ ##
43602 ## Report this to bug-autoconf@gnu.org. ##
43603 ## ------------------------------------ ##
43604 _ASBOX
43605     ) |
43606       sed "s/^/$as_me: WARNING:     /" >&2
43607     ;;
43608 esac
43609 echo "$as_me:$LINENO: checking for $ac_header" >&5
43610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43612   echo $ECHO_N "(cached) $ECHO_C" >&6
43613 else
43614   eval "$as_ac_Header=$ac_header_preproc"
43615 fi
43616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43618
43619 fi
43620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43621   cat >>confdefs.h <<_ACEOF
43622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43623 _ACEOF
43624  ac_has_wctype_h=yes
43625 else
43626   ac_has_wctype_h=no
43627 fi
43628
43629 done
43630
43631
43632   # Only continue checking if the ISO C99 headers exist and support is on.
43633   if test x"$ac_has_wchar_h" = xyes &&
43634      test x"$ac_has_wctype_h" = xyes &&
43635      test x"$enable_c_mbchar" != xno; then
43636
43637     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
43638     # numeric_limits can instantiate type_traits<wchar_t>
43639     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
43640 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
43641     cat >conftest.$ac_ext <<_ACEOF
43642 #line $LINENO "configure"
43643 /* confdefs.h.  */
43644 _ACEOF
43645 cat confdefs.h >>conftest.$ac_ext
43646 cat >>conftest.$ac_ext <<_ACEOF
43647 /* end confdefs.h.  */
43648 #include <wchar.h>
43649 int
43650 main ()
43651 {
43652 int i = WCHAR_MIN; int j = WCHAR_MAX;
43653   ;
43654   return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext
43658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43659   (eval $ac_compile) 2>&5
43660   ac_status=$?
43661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662   (exit $ac_status); } &&
43663          { ac_try='test -s conftest.$ac_objext'
43664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665   (eval $ac_try) 2>&5
43666   ac_status=$?
43667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668   (exit $ac_status); }; }; then
43669   has_wchar_minmax=yes
43670 else
43671   echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43673
43674 has_wchar_minmax=no
43675 fi
43676 rm -f conftest.$ac_objext conftest.$ac_ext
43677     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
43678 echo "${ECHO_T}$has_wchar_minmax" >&6
43679
43680     # Test wchar.h for WEOF, which is what we use to determine whether
43681     # to specialize for char_traits<wchar_t> or not.
43682     echo "$as_me:$LINENO: checking for WEOF" >&5
43683 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
43684     cat >conftest.$ac_ext <<_ACEOF
43685 #line $LINENO "configure"
43686 /* confdefs.h.  */
43687 _ACEOF
43688 cat confdefs.h >>conftest.$ac_ext
43689 cat >>conftest.$ac_ext <<_ACEOF
43690 /* end confdefs.h.  */
43691
43692       #include <wchar.h>
43693       #include <stddef.h>
43694 int
43695 main ()
43696 {
43697 wint_t i = WEOF;
43698   ;
43699   return 0;
43700 }
43701 _ACEOF
43702 rm -f conftest.$ac_objext
43703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43704   (eval $ac_compile) 2>&5
43705   ac_status=$?
43706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707   (exit $ac_status); } &&
43708          { ac_try='test -s conftest.$ac_objext'
43709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43710   (eval $ac_try) 2>&5
43711   ac_status=$?
43712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713   (exit $ac_status); }; }; then
43714   has_weof=yes
43715 else
43716   echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43718
43719 has_weof=no
43720 fi
43721 rm -f conftest.$ac_objext conftest.$ac_ext
43722     echo "$as_me:$LINENO: result: $has_weof" >&5
43723 echo "${ECHO_T}$has_weof" >&6
43724
43725     # Tests for wide character functions used in char_traits<wchar_t>.
43726     ac_wfuncs=yes
43727
43728
43729
43730
43731
43732
43733 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
43734 do
43735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43736 echo "$as_me:$LINENO: checking for $ac_func" >&5
43737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43738 if eval "test \"\${$as_ac_var+set}\" = set"; then
43739   echo $ECHO_N "(cached) $ECHO_C" >&6
43740 else
43741   cat >conftest.$ac_ext <<_ACEOF
43742 #line $LINENO "configure"
43743 /* confdefs.h.  */
43744 _ACEOF
43745 cat confdefs.h >>conftest.$ac_ext
43746 cat >>conftest.$ac_ext <<_ACEOF
43747 /* end confdefs.h.  */
43748 /* System header to define __stub macros and hopefully few prototypes,
43749     which can conflict with char $ac_func (); below.
43750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43751     <limits.h> exists even on freestanding compilers.  */
43752 #ifdef __STDC__
43753 # include <limits.h>
43754 #else
43755 # include <assert.h>
43756 #endif
43757 /* Override any gcc2 internal prototype to avoid an error.  */
43758 #ifdef __cplusplus
43759 extern "C"
43760 {
43761 #endif
43762 /* We use char because int might match the return type of a gcc2
43763    builtin and then its argument prototype would still apply.  */
43764 char $ac_func ();
43765 /* The GNU C library defines this for functions which it implements
43766     to always fail with ENOSYS.  Some functions are actually named
43767     something starting with __ and the normal name is an alias.  */
43768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43769 choke me
43770 #else
43771 char (*f) () = $ac_func;
43772 #endif
43773 #ifdef __cplusplus
43774 }
43775 #endif
43776
43777 int
43778 main ()
43779 {
43780 return f != $ac_func;
43781   ;
43782   return 0;
43783 }
43784 _ACEOF
43785 rm -f conftest.$ac_objext conftest$ac_exeext
43786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43787   (eval $ac_link) 2>&5
43788   ac_status=$?
43789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43790   (exit $ac_status); } &&
43791          { ac_try='test -s conftest$ac_exeext'
43792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43793   (eval $ac_try) 2>&5
43794   ac_status=$?
43795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796   (exit $ac_status); }; }; then
43797   eval "$as_ac_var=yes"
43798 else
43799   echo "$as_me: failed program was:" >&5
43800 sed 's/^/| /' conftest.$ac_ext >&5
43801
43802 eval "$as_ac_var=no"
43803 fi
43804 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43805 fi
43806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43808 if test `eval echo '${'$as_ac_var'}'` = yes; then
43809   cat >>confdefs.h <<_ACEOF
43810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43811 _ACEOF
43812
43813 else
43814   ac_wfuncs=no
43815 fi
43816 done
43817
43818
43819     # Checks for names injected into std:: by the c_std headers.
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
43871     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
43872     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
43873     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
43874     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
43875     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
43876 do
43877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43878 echo "$as_me:$LINENO: checking for $ac_func" >&5
43879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43880 if eval "test \"\${$as_ac_var+set}\" = set"; then
43881   echo $ECHO_N "(cached) $ECHO_C" >&6
43882 else
43883   cat >conftest.$ac_ext <<_ACEOF
43884 #line $LINENO "configure"
43885 /* confdefs.h.  */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h.  */
43890 /* System header to define __stub macros and hopefully few prototypes,
43891     which can conflict with char $ac_func (); below.
43892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43893     <limits.h> exists even on freestanding compilers.  */
43894 #ifdef __STDC__
43895 # include <limits.h>
43896 #else
43897 # include <assert.h>
43898 #endif
43899 /* Override any gcc2 internal prototype to avoid an error.  */
43900 #ifdef __cplusplus
43901 extern "C"
43902 {
43903 #endif
43904 /* We use char because int might match the return type of a gcc2
43905    builtin and then its argument prototype would still apply.  */
43906 char $ac_func ();
43907 /* The GNU C library defines this for functions which it implements
43908     to always fail with ENOSYS.  Some functions are actually named
43909     something starting with __ and the normal name is an alias.  */
43910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43911 choke me
43912 #else
43913 char (*f) () = $ac_func;
43914 #endif
43915 #ifdef __cplusplus
43916 }
43917 #endif
43918
43919 int
43920 main ()
43921 {
43922 return f != $ac_func;
43923   ;
43924   return 0;
43925 }
43926 _ACEOF
43927 rm -f conftest.$ac_objext conftest$ac_exeext
43928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43929   (eval $ac_link) 2>&5
43930   ac_status=$?
43931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932   (exit $ac_status); } &&
43933          { ac_try='test -s conftest$ac_exeext'
43934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43935   (eval $ac_try) 2>&5
43936   ac_status=$?
43937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938   (exit $ac_status); }; }; then
43939   eval "$as_ac_var=yes"
43940 else
43941   echo "$as_me: failed program was:" >&5
43942 sed 's/^/| /' conftest.$ac_ext >&5
43943
43944 eval "$as_ac_var=no"
43945 fi
43946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43947 fi
43948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43950 if test `eval echo '${'$as_ac_var'}'` = yes; then
43951   cat >>confdefs.h <<_ACEOF
43952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43953 _ACEOF
43954
43955 else
43956   ac_wfuncs=no
43957 fi
43958 done
43959
43960
43961     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
43962 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
43963     if test x"$has_weof" = xyes &&
43964        test x"$has_wchar_minmax" = xyes &&
43965        test x"$ac_wfuncs" = xyes;
43966     then
43967       ac_isoC99_wchar_t=yes
43968     else
43969       ac_isoC99_wchar_t=no
43970     fi
43971     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
43972 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
43973
43974     # Use iconv for wchar_t to char conversions. As such, check for
43975     # X/Open Portability Guide, version 2 features (XPG2).
43976     if test "${ac_cv_header_iconv_h+set}" = set; then
43977   echo "$as_me:$LINENO: checking for iconv.h" >&5
43978 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
43979 if test "${ac_cv_header_iconv_h+set}" = set; then
43980   echo $ECHO_N "(cached) $ECHO_C" >&6
43981 fi
43982 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
43983 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
43984 else
43985   # Is the header compilable?
43986 echo "$as_me:$LINENO: checking iconv.h usability" >&5
43987 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
43988 cat >conftest.$ac_ext <<_ACEOF
43989 #line $LINENO "configure"
43990 /* confdefs.h.  */
43991 _ACEOF
43992 cat confdefs.h >>conftest.$ac_ext
43993 cat >>conftest.$ac_ext <<_ACEOF
43994 /* end confdefs.h.  */
43995 $ac_includes_default
43996 #include <iconv.h>
43997 _ACEOF
43998 rm -f conftest.$ac_objext
43999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44000   (eval $ac_compile) 2>&5
44001   ac_status=$?
44002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003   (exit $ac_status); } &&
44004          { ac_try='test -s conftest.$ac_objext'
44005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44006   (eval $ac_try) 2>&5
44007   ac_status=$?
44008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44009   (exit $ac_status); }; }; then
44010   ac_header_compiler=yes
44011 else
44012   echo "$as_me: failed program was:" >&5
44013 sed 's/^/| /' conftest.$ac_ext >&5
44014
44015 ac_header_compiler=no
44016 fi
44017 rm -f conftest.$ac_objext conftest.$ac_ext
44018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44019 echo "${ECHO_T}$ac_header_compiler" >&6
44020
44021 # Is the header present?
44022 echo "$as_me:$LINENO: checking iconv.h presence" >&5
44023 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
44024 cat >conftest.$ac_ext <<_ACEOF
44025 #line $LINENO "configure"
44026 /* confdefs.h.  */
44027 _ACEOF
44028 cat confdefs.h >>conftest.$ac_ext
44029 cat >>conftest.$ac_ext <<_ACEOF
44030 /* end confdefs.h.  */
44031 #include <iconv.h>
44032 _ACEOF
44033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44034   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44035   ac_status=$?
44036   grep -v '^ *+' conftest.er1 >conftest.err
44037   rm -f conftest.er1
44038   cat conftest.err >&5
44039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040   (exit $ac_status); } >/dev/null; then
44041   if test -s conftest.err; then
44042     ac_cpp_err=$ac_c_preproc_warn_flag
44043   else
44044     ac_cpp_err=
44045   fi
44046 else
44047   ac_cpp_err=yes
44048 fi
44049 if test -z "$ac_cpp_err"; then
44050   ac_header_preproc=yes
44051 else
44052   echo "$as_me: failed program was:" >&5
44053 sed 's/^/| /' conftest.$ac_ext >&5
44054
44055   ac_header_preproc=no
44056 fi
44057 rm -f conftest.err conftest.$ac_ext
44058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44059 echo "${ECHO_T}$ac_header_preproc" >&6
44060
44061 # So?  What about this header?
44062 case $ac_header_compiler:$ac_header_preproc in
44063   yes:no )
44064     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
44065 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
44066     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
44067 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
44068     (
44069       cat <<\_ASBOX
44070 ## ------------------------------------ ##
44071 ## Report this to bug-autoconf@gnu.org. ##
44072 ## ------------------------------------ ##
44073 _ASBOX
44074     ) |
44075       sed "s/^/$as_me: WARNING:     /" >&2
44076     ;;
44077   no:yes )
44078     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
44079 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
44080     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
44081 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
44082     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
44083 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
44084     (
44085       cat <<\_ASBOX
44086 ## ------------------------------------ ##
44087 ## Report this to bug-autoconf@gnu.org. ##
44088 ## ------------------------------------ ##
44089 _ASBOX
44090     ) |
44091       sed "s/^/$as_me: WARNING:     /" >&2
44092     ;;
44093 esac
44094 echo "$as_me:$LINENO: checking for iconv.h" >&5
44095 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
44096 if test "${ac_cv_header_iconv_h+set}" = set; then
44097   echo $ECHO_N "(cached) $ECHO_C" >&6
44098 else
44099   ac_cv_header_iconv_h=$ac_header_preproc
44100 fi
44101 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
44102 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
44103
44104 fi
44105 if test $ac_cv_header_iconv_h = yes; then
44106   ac_has_iconv_h=yes
44107 else
44108   ac_has_iconv_h=no
44109 fi
44110
44111
44112     if test "${ac_cv_header_langinfo_h+set}" = set; then
44113   echo "$as_me:$LINENO: checking for langinfo.h" >&5
44114 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
44115 if test "${ac_cv_header_langinfo_h+set}" = set; then
44116   echo $ECHO_N "(cached) $ECHO_C" >&6
44117 fi
44118 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
44119 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
44120 else
44121   # Is the header compilable?
44122 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
44123 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
44124 cat >conftest.$ac_ext <<_ACEOF
44125 #line $LINENO "configure"
44126 /* confdefs.h.  */
44127 _ACEOF
44128 cat confdefs.h >>conftest.$ac_ext
44129 cat >>conftest.$ac_ext <<_ACEOF
44130 /* end confdefs.h.  */
44131 $ac_includes_default
44132 #include <langinfo.h>
44133 _ACEOF
44134 rm -f conftest.$ac_objext
44135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44136   (eval $ac_compile) 2>&5
44137   ac_status=$?
44138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139   (exit $ac_status); } &&
44140          { ac_try='test -s conftest.$ac_objext'
44141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142   (eval $ac_try) 2>&5
44143   ac_status=$?
44144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145   (exit $ac_status); }; }; then
44146   ac_header_compiler=yes
44147 else
44148   echo "$as_me: failed program was:" >&5
44149 sed 's/^/| /' conftest.$ac_ext >&5
44150
44151 ac_header_compiler=no
44152 fi
44153 rm -f conftest.$ac_objext conftest.$ac_ext
44154 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44155 echo "${ECHO_T}$ac_header_compiler" >&6
44156
44157 # Is the header present?
44158 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
44159 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
44160 cat >conftest.$ac_ext <<_ACEOF
44161 #line $LINENO "configure"
44162 /* confdefs.h.  */
44163 _ACEOF
44164 cat confdefs.h >>conftest.$ac_ext
44165 cat >>conftest.$ac_ext <<_ACEOF
44166 /* end confdefs.h.  */
44167 #include <langinfo.h>
44168 _ACEOF
44169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44170   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44171   ac_status=$?
44172   grep -v '^ *+' conftest.er1 >conftest.err
44173   rm -f conftest.er1
44174   cat conftest.err >&5
44175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176   (exit $ac_status); } >/dev/null; then
44177   if test -s conftest.err; then
44178     ac_cpp_err=$ac_c_preproc_warn_flag
44179   else
44180     ac_cpp_err=
44181   fi
44182 else
44183   ac_cpp_err=yes
44184 fi
44185 if test -z "$ac_cpp_err"; then
44186   ac_header_preproc=yes
44187 else
44188   echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.$ac_ext >&5
44190
44191   ac_header_preproc=no
44192 fi
44193 rm -f conftest.err conftest.$ac_ext
44194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44195 echo "${ECHO_T}$ac_header_preproc" >&6
44196
44197 # So?  What about this header?
44198 case $ac_header_compiler:$ac_header_preproc in
44199   yes:no )
44200     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
44201 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
44202     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
44203 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
44204     (
44205       cat <<\_ASBOX
44206 ## ------------------------------------ ##
44207 ## Report this to bug-autoconf@gnu.org. ##
44208 ## ------------------------------------ ##
44209 _ASBOX
44210     ) |
44211       sed "s/^/$as_me: WARNING:     /" >&2
44212     ;;
44213   no:yes )
44214     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
44215 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
44216     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
44217 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
44218     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
44219 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
44220     (
44221       cat <<\_ASBOX
44222 ## ------------------------------------ ##
44223 ## Report this to bug-autoconf@gnu.org. ##
44224 ## ------------------------------------ ##
44225 _ASBOX
44226     ) |
44227       sed "s/^/$as_me: WARNING:     /" >&2
44228     ;;
44229 esac
44230 echo "$as_me:$LINENO: checking for langinfo.h" >&5
44231 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
44232 if test "${ac_cv_header_langinfo_h+set}" = set; then
44233   echo $ECHO_N "(cached) $ECHO_C" >&6
44234 else
44235   ac_cv_header_langinfo_h=$ac_header_preproc
44236 fi
44237 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
44238 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
44239
44240 fi
44241 if test $ac_cv_header_langinfo_h = yes; then
44242   ac_has_langinfo_h=yes
44243 else
44244   ac_has_langinfo_h=no
44245 fi
44246
44247
44248
44249     # Check for existence of libiconv.a providing XPG2 wchar_t support.
44250     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
44251 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
44252 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
44253   echo $ECHO_N "(cached) $ECHO_C" >&6
44254 else
44255   ac_check_lib_save_LIBS=$LIBS
44256 LIBS="-liconv  $LIBS"
44257 cat >conftest.$ac_ext <<_ACEOF
44258 #line $LINENO "configure"
44259 /* confdefs.h.  */
44260 _ACEOF
44261 cat confdefs.h >>conftest.$ac_ext
44262 cat >>conftest.$ac_ext <<_ACEOF
44263 /* end confdefs.h.  */
44264
44265 /* Override any gcc2 internal prototype to avoid an error.  */
44266 #ifdef __cplusplus
44267 extern "C"
44268 #endif
44269 /* We use char because int might match the return type of a gcc2
44270    builtin and then its argument prototype would still apply.  */
44271 char iconv ();
44272 int
44273 main ()
44274 {
44275 iconv ();
44276   ;
44277   return 0;
44278 }
44279 _ACEOF
44280 rm -f conftest.$ac_objext conftest$ac_exeext
44281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44282   (eval $ac_link) 2>&5
44283   ac_status=$?
44284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44285   (exit $ac_status); } &&
44286          { ac_try='test -s conftest$ac_exeext'
44287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44288   (eval $ac_try) 2>&5
44289   ac_status=$?
44290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291   (exit $ac_status); }; }; then
44292   ac_cv_lib_iconv_iconv=yes
44293 else
44294   echo "$as_me: failed program was:" >&5
44295 sed 's/^/| /' conftest.$ac_ext >&5
44296
44297 ac_cv_lib_iconv_iconv=no
44298 fi
44299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44300 LIBS=$ac_check_lib_save_LIBS
44301 fi
44302 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
44303 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
44304 if test $ac_cv_lib_iconv_iconv = yes; then
44305   libiconv="-liconv"
44306 fi
44307
44308     ac_save_LIBS="$LIBS"
44309     LIBS="$LIBS $libiconv"
44310
44311
44312
44313
44314
44315 for ac_func in iconv_open iconv_close iconv nl_langinfo
44316 do
44317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44318 echo "$as_me:$LINENO: checking for $ac_func" >&5
44319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44320 if eval "test \"\${$as_ac_var+set}\" = set"; then
44321   echo $ECHO_N "(cached) $ECHO_C" >&6
44322 else
44323   cat >conftest.$ac_ext <<_ACEOF
44324 #line $LINENO "configure"
44325 /* confdefs.h.  */
44326 _ACEOF
44327 cat confdefs.h >>conftest.$ac_ext
44328 cat >>conftest.$ac_ext <<_ACEOF
44329 /* end confdefs.h.  */
44330 /* System header to define __stub macros and hopefully few prototypes,
44331     which can conflict with char $ac_func (); below.
44332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44333     <limits.h> exists even on freestanding compilers.  */
44334 #ifdef __STDC__
44335 # include <limits.h>
44336 #else
44337 # include <assert.h>
44338 #endif
44339 /* Override any gcc2 internal prototype to avoid an error.  */
44340 #ifdef __cplusplus
44341 extern "C"
44342 {
44343 #endif
44344 /* We use char because int might match the return type of a gcc2
44345    builtin and then its argument prototype would still apply.  */
44346 char $ac_func ();
44347 /* The GNU C library defines this for functions which it implements
44348     to always fail with ENOSYS.  Some functions are actually named
44349     something starting with __ and the normal name is an alias.  */
44350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44351 choke me
44352 #else
44353 char (*f) () = $ac_func;
44354 #endif
44355 #ifdef __cplusplus
44356 }
44357 #endif
44358
44359 int
44360 main ()
44361 {
44362 return f != $ac_func;
44363   ;
44364   return 0;
44365 }
44366 _ACEOF
44367 rm -f conftest.$ac_objext conftest$ac_exeext
44368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44369   (eval $ac_link) 2>&5
44370   ac_status=$?
44371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372   (exit $ac_status); } &&
44373          { ac_try='test -s conftest$ac_exeext'
44374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44375   (eval $ac_try) 2>&5
44376   ac_status=$?
44377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378   (exit $ac_status); }; }; then
44379   eval "$as_ac_var=yes"
44380 else
44381   echo "$as_me: failed program was:" >&5
44382 sed 's/^/| /' conftest.$ac_ext >&5
44383
44384 eval "$as_ac_var=no"
44385 fi
44386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44387 fi
44388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44390 if test `eval echo '${'$as_ac_var'}'` = yes; then
44391   cat >>confdefs.h <<_ACEOF
44392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44393 _ACEOF
44394  ac_XPG2funcs=yes
44395 else
44396   ac_XPG2funcs=no
44397 fi
44398 done
44399
44400
44401     LIBS="$ac_save_LIBS"
44402
44403     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
44404 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
44405     if test x"$ac_has_iconv_h" = xyes &&
44406        test x"$ac_has_langinfo_h" = xyes &&
44407        test x"$ac_XPG2funcs" = xyes;
44408     then
44409       ac_XPG2_wchar_t=yes
44410     else
44411       ac_XPG2_wchar_t=no
44412     fi
44413     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
44414 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
44415
44416     # At the moment, only enable wchar_t specializations if all the
44417     # above support is present.
44418     if test x"$ac_isoC99_wchar_t" = xyes &&
44419        test x"$ac_XPG2_wchar_t" = xyes;
44420     then
44421       cat >>confdefs.h <<\_ACEOF
44422 #define _GLIBCXX_USE_WCHAR_T 1
44423 _ACEOF
44424
44425       enable_wchar_t=yes
44426     fi
44427   fi
44428   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
44429 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
44430   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
44431 echo "${ECHO_T}$enable_wchar_t" >&6
44432
44433
44434   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44435   ac_save_CXXFLAGS="$CXXFLAGS"
44436   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44437
44438
44439   echo "$as_me:$LINENO: checking for strtold declaration" >&5
44440 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
44441   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44442     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
44443   echo $ECHO_N "(cached) $ECHO_C" >&6
44444 else
44445
44446
44447
44448       ac_ext=cc
44449 ac_cpp='$CXXCPP $CPPFLAGS'
44450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44453
44454       cat >conftest.$ac_ext <<_ACEOF
44455 #line $LINENO "configure"
44456 /* confdefs.h.  */
44457 _ACEOF
44458 cat confdefs.h >>conftest.$ac_ext
44459 cat >>conftest.$ac_ext <<_ACEOF
44460 /* end confdefs.h.  */
44461 #include <stdlib.h>
44462 int
44463 main ()
44464 {
44465  strtold(0, 0);
44466   ;
44467   return 0;
44468 }
44469 _ACEOF
44470 rm -f conftest.$ac_objext
44471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44472   (eval $ac_compile) 2>&5
44473   ac_status=$?
44474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475   (exit $ac_status); } &&
44476          { ac_try='test -s conftest.$ac_objext'
44477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478   (eval $ac_try) 2>&5
44479   ac_status=$?
44480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481   (exit $ac_status); }; }; then
44482   glibcxx_cv_func_strtold_use=yes
44483 else
44484   echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44486
44487 glibcxx_cv_func_strtold_use=no
44488 fi
44489 rm -f conftest.$ac_objext conftest.$ac_ext
44490       ac_ext=c
44491 ac_cpp='$CPP $CPPFLAGS'
44492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44495
44496
44497 fi
44498
44499   fi
44500   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
44501 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
44502   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44503
44504 for ac_func in strtold
44505 do
44506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44507 echo "$as_me:$LINENO: checking for $ac_func" >&5
44508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44509 if eval "test \"\${$as_ac_var+set}\" = set"; then
44510   echo $ECHO_N "(cached) $ECHO_C" >&6
44511 else
44512   cat >conftest.$ac_ext <<_ACEOF
44513 #line $LINENO "configure"
44514 /* confdefs.h.  */
44515 _ACEOF
44516 cat confdefs.h >>conftest.$ac_ext
44517 cat >>conftest.$ac_ext <<_ACEOF
44518 /* end confdefs.h.  */
44519 /* System header to define __stub macros and hopefully few prototypes,
44520     which can conflict with char $ac_func (); below.
44521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44522     <limits.h> exists even on freestanding compilers.  */
44523 #ifdef __STDC__
44524 # include <limits.h>
44525 #else
44526 # include <assert.h>
44527 #endif
44528 /* Override any gcc2 internal prototype to avoid an error.  */
44529 #ifdef __cplusplus
44530 extern "C"
44531 {
44532 #endif
44533 /* We use char because int might match the return type of a gcc2
44534    builtin and then its argument prototype would still apply.  */
44535 char $ac_func ();
44536 /* The GNU C library defines this for functions which it implements
44537     to always fail with ENOSYS.  Some functions are actually named
44538     something starting with __ and the normal name is an alias.  */
44539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44540 choke me
44541 #else
44542 char (*f) () = $ac_func;
44543 #endif
44544 #ifdef __cplusplus
44545 }
44546 #endif
44547
44548 int
44549 main ()
44550 {
44551 return f != $ac_func;
44552   ;
44553   return 0;
44554 }
44555 _ACEOF
44556 rm -f conftest.$ac_objext conftest$ac_exeext
44557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44558   (eval $ac_link) 2>&5
44559   ac_status=$?
44560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561   (exit $ac_status); } &&
44562          { ac_try='test -s conftest$ac_exeext'
44563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44564   (eval $ac_try) 2>&5
44565   ac_status=$?
44566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44567   (exit $ac_status); }; }; then
44568   eval "$as_ac_var=yes"
44569 else
44570   echo "$as_me: failed program was:" >&5
44571 sed 's/^/| /' conftest.$ac_ext >&5
44572
44573 eval "$as_ac_var=no"
44574 fi
44575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44576 fi
44577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44579 if test `eval echo '${'$as_ac_var'}'` = yes; then
44580   cat >>confdefs.h <<_ACEOF
44581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44582 _ACEOF
44583
44584 fi
44585 done
44586
44587   fi
44588
44589
44590   echo "$as_me:$LINENO: checking for strtof declaration" >&5
44591 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
44592   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44593     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
44594   echo $ECHO_N "(cached) $ECHO_C" >&6
44595 else
44596
44597
44598
44599       ac_ext=cc
44600 ac_cpp='$CXXCPP $CPPFLAGS'
44601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44604
44605       cat >conftest.$ac_ext <<_ACEOF
44606 #line $LINENO "configure"
44607 /* confdefs.h.  */
44608 _ACEOF
44609 cat confdefs.h >>conftest.$ac_ext
44610 cat >>conftest.$ac_ext <<_ACEOF
44611 /* end confdefs.h.  */
44612 #include <stdlib.h>
44613 int
44614 main ()
44615 {
44616  strtof(0, 0);
44617   ;
44618   return 0;
44619 }
44620 _ACEOF
44621 rm -f conftest.$ac_objext
44622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44623   (eval $ac_compile) 2>&5
44624   ac_status=$?
44625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626   (exit $ac_status); } &&
44627          { ac_try='test -s conftest.$ac_objext'
44628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44629   (eval $ac_try) 2>&5
44630   ac_status=$?
44631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632   (exit $ac_status); }; }; then
44633   glibcxx_cv_func_strtof_use=yes
44634 else
44635   echo "$as_me: failed program was:" >&5
44636 sed 's/^/| /' conftest.$ac_ext >&5
44637
44638 glibcxx_cv_func_strtof_use=no
44639 fi
44640 rm -f conftest.$ac_objext conftest.$ac_ext
44641       ac_ext=c
44642 ac_cpp='$CPP $CPPFLAGS'
44643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44646
44647
44648 fi
44649
44650   fi
44651   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
44652 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
44653   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44654
44655 for ac_func in strtof
44656 do
44657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44658 echo "$as_me:$LINENO: checking for $ac_func" >&5
44659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44660 if eval "test \"\${$as_ac_var+set}\" = set"; then
44661   echo $ECHO_N "(cached) $ECHO_C" >&6
44662 else
44663   cat >conftest.$ac_ext <<_ACEOF
44664 #line $LINENO "configure"
44665 /* confdefs.h.  */
44666 _ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h.  */
44670 /* System header to define __stub macros and hopefully few prototypes,
44671     which can conflict with char $ac_func (); below.
44672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44673     <limits.h> exists even on freestanding compilers.  */
44674 #ifdef __STDC__
44675 # include <limits.h>
44676 #else
44677 # include <assert.h>
44678 #endif
44679 /* Override any gcc2 internal prototype to avoid an error.  */
44680 #ifdef __cplusplus
44681 extern "C"
44682 {
44683 #endif
44684 /* We use char because int might match the return type of a gcc2
44685    builtin and then its argument prototype would still apply.  */
44686 char $ac_func ();
44687 /* The GNU C library defines this for functions which it implements
44688     to always fail with ENOSYS.  Some functions are actually named
44689     something starting with __ and the normal name is an alias.  */
44690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44691 choke me
44692 #else
44693 char (*f) () = $ac_func;
44694 #endif
44695 #ifdef __cplusplus
44696 }
44697 #endif
44698
44699 int
44700 main ()
44701 {
44702 return f != $ac_func;
44703   ;
44704   return 0;
44705 }
44706 _ACEOF
44707 rm -f conftest.$ac_objext conftest$ac_exeext
44708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44709   (eval $ac_link) 2>&5
44710   ac_status=$?
44711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712   (exit $ac_status); } &&
44713          { ac_try='test -s conftest$ac_exeext'
44714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715   (eval $ac_try) 2>&5
44716   ac_status=$?
44717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718   (exit $ac_status); }; }; then
44719   eval "$as_ac_var=yes"
44720 else
44721   echo "$as_me: failed program was:" >&5
44722 sed 's/^/| /' conftest.$ac_ext >&5
44723
44724 eval "$as_ac_var=no"
44725 fi
44726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44727 fi
44728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44730 if test `eval echo '${'$as_ac_var'}'` = yes; then
44731   cat >>confdefs.h <<_ACEOF
44732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44733 _ACEOF
44734
44735 fi
44736 done
44737
44738   fi
44739
44740
44741 for ac_func in drand48
44742 do
44743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44744 echo "$as_me:$LINENO: checking for $ac_func" >&5
44745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44746 if eval "test \"\${$as_ac_var+set}\" = set"; then
44747   echo $ECHO_N "(cached) $ECHO_C" >&6
44748 else
44749   cat >conftest.$ac_ext <<_ACEOF
44750 #line $LINENO "configure"
44751 /* confdefs.h.  */
44752 _ACEOF
44753 cat confdefs.h >>conftest.$ac_ext
44754 cat >>conftest.$ac_ext <<_ACEOF
44755 /* end confdefs.h.  */
44756 /* System header to define __stub macros and hopefully few prototypes,
44757     which can conflict with char $ac_func (); below.
44758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44759     <limits.h> exists even on freestanding compilers.  */
44760 #ifdef __STDC__
44761 # include <limits.h>
44762 #else
44763 # include <assert.h>
44764 #endif
44765 /* Override any gcc2 internal prototype to avoid an error.  */
44766 #ifdef __cplusplus
44767 extern "C"
44768 {
44769 #endif
44770 /* We use char because int might match the return type of a gcc2
44771    builtin and then its argument prototype would still apply.  */
44772 char $ac_func ();
44773 /* The GNU C library defines this for functions which it implements
44774     to always fail with ENOSYS.  Some functions are actually named
44775     something starting with __ and the normal name is an alias.  */
44776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44777 choke me
44778 #else
44779 char (*f) () = $ac_func;
44780 #endif
44781 #ifdef __cplusplus
44782 }
44783 #endif
44784
44785 int
44786 main ()
44787 {
44788 return f != $ac_func;
44789   ;
44790   return 0;
44791 }
44792 _ACEOF
44793 rm -f conftest.$ac_objext conftest$ac_exeext
44794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44795   (eval $ac_link) 2>&5
44796   ac_status=$?
44797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44798   (exit $ac_status); } &&
44799          { ac_try='test -s conftest$ac_exeext'
44800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44801   (eval $ac_try) 2>&5
44802   ac_status=$?
44803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44804   (exit $ac_status); }; }; then
44805   eval "$as_ac_var=yes"
44806 else
44807   echo "$as_me: failed program was:" >&5
44808 sed 's/^/| /' conftest.$ac_ext >&5
44809
44810 eval "$as_ac_var=no"
44811 fi
44812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44813 fi
44814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44816 if test `eval echo '${'$as_ac_var'}'` = yes; then
44817   cat >>confdefs.h <<_ACEOF
44818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44819 _ACEOF
44820
44821 fi
44822 done
44823
44824
44825   CXXFLAGS="$ac_save_CXXFLAGS"
44826
44827
44828     # For showmanyc_helper().
44829
44830
44831 for ac_header in sys/ioctl.h sys/filio.h
44832 do
44833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44835   echo "$as_me:$LINENO: checking for $ac_header" >&5
44836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44838   echo $ECHO_N "(cached) $ECHO_C" >&6
44839 fi
44840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44842 else
44843   # Is the header compilable?
44844 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44845 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44846 cat >conftest.$ac_ext <<_ACEOF
44847 #line $LINENO "configure"
44848 /* confdefs.h.  */
44849 _ACEOF
44850 cat confdefs.h >>conftest.$ac_ext
44851 cat >>conftest.$ac_ext <<_ACEOF
44852 /* end confdefs.h.  */
44853 $ac_includes_default
44854 #include <$ac_header>
44855 _ACEOF
44856 rm -f conftest.$ac_objext
44857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44858   (eval $ac_compile) 2>&5
44859   ac_status=$?
44860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861   (exit $ac_status); } &&
44862          { ac_try='test -s conftest.$ac_objext'
44863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864   (eval $ac_try) 2>&5
44865   ac_status=$?
44866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867   (exit $ac_status); }; }; then
44868   ac_header_compiler=yes
44869 else
44870   echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.$ac_ext >&5
44872
44873 ac_header_compiler=no
44874 fi
44875 rm -f conftest.$ac_objext conftest.$ac_ext
44876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44877 echo "${ECHO_T}$ac_header_compiler" >&6
44878
44879 # Is the header present?
44880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44882 cat >conftest.$ac_ext <<_ACEOF
44883 #line $LINENO "configure"
44884 /* confdefs.h.  */
44885 _ACEOF
44886 cat confdefs.h >>conftest.$ac_ext
44887 cat >>conftest.$ac_ext <<_ACEOF
44888 /* end confdefs.h.  */
44889 #include <$ac_header>
44890 _ACEOF
44891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44892   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44893   ac_status=$?
44894   grep -v '^ *+' conftest.er1 >conftest.err
44895   rm -f conftest.er1
44896   cat conftest.err >&5
44897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44898   (exit $ac_status); } >/dev/null; then
44899   if test -s conftest.err; then
44900     ac_cpp_err=$ac_c_preproc_warn_flag
44901   else
44902     ac_cpp_err=
44903   fi
44904 else
44905   ac_cpp_err=yes
44906 fi
44907 if test -z "$ac_cpp_err"; then
44908   ac_header_preproc=yes
44909 else
44910   echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.$ac_ext >&5
44912
44913   ac_header_preproc=no
44914 fi
44915 rm -f conftest.err conftest.$ac_ext
44916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44917 echo "${ECHO_T}$ac_header_preproc" >&6
44918
44919 # So?  What about this header?
44920 case $ac_header_compiler:$ac_header_preproc in
44921   yes:no )
44922     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44924     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44926     (
44927       cat <<\_ASBOX
44928 ## ------------------------------------ ##
44929 ## Report this to bug-autoconf@gnu.org. ##
44930 ## ------------------------------------ ##
44931 _ASBOX
44932     ) |
44933       sed "s/^/$as_me: WARNING:     /" >&2
44934     ;;
44935   no:yes )
44936     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44938     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44940     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44941 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44942     (
44943       cat <<\_ASBOX
44944 ## ------------------------------------ ##
44945 ## Report this to bug-autoconf@gnu.org. ##
44946 ## ------------------------------------ ##
44947 _ASBOX
44948     ) |
44949       sed "s/^/$as_me: WARNING:     /" >&2
44950     ;;
44951 esac
44952 echo "$as_me:$LINENO: checking for $ac_header" >&5
44953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44955   echo $ECHO_N "(cached) $ECHO_C" >&6
44956 else
44957   eval "$as_ac_Header=$ac_header_preproc"
44958 fi
44959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44961
44962 fi
44963 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44964   cat >>confdefs.h <<_ACEOF
44965 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44966 _ACEOF
44967
44968 fi
44969
44970 done
44971
44972
44973   if test "${glibcxx_cv_POLL+set}" = set; then
44974   echo $ECHO_N "(cached) $ECHO_C" >&6
44975 else
44976
44977     cat >conftest.$ac_ext <<_ACEOF
44978 #line $LINENO "configure"
44979 /* confdefs.h.  */
44980 _ACEOF
44981 cat confdefs.h >>conftest.$ac_ext
44982 cat >>conftest.$ac_ext <<_ACEOF
44983 /* end confdefs.h.  */
44984 #include <poll.h>
44985 int
44986 main ()
44987 {
44988 struct pollfd pfd[1];
44989        pfd[0].events = POLLIN;
44990        poll(pfd, 1, 0);
44991   ;
44992   return 0;
44993 }
44994 _ACEOF
44995 rm -f conftest.$ac_objext
44996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44997   (eval $ac_compile) 2>&5
44998   ac_status=$?
44999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000   (exit $ac_status); } &&
45001          { ac_try='test -s conftest.$ac_objext'
45002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45003   (eval $ac_try) 2>&5
45004   ac_status=$?
45005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006   (exit $ac_status); }; }; then
45007   glibcxx_cv_POLL=yes
45008 else
45009   echo "$as_me: failed program was:" >&5
45010 sed 's/^/| /' conftest.$ac_ext >&5
45011
45012 glibcxx_cv_POLL=no
45013 fi
45014 rm -f conftest.$ac_objext conftest.$ac_ext
45015
45016 fi
45017
45018   if test $glibcxx_cv_POLL = yes; then
45019     cat >>confdefs.h <<\_ACEOF
45020 #define HAVE_POLL 1
45021 _ACEOF
45022
45023   fi
45024
45025
45026   if test "${glibcxx_cv_S_ISREG+set}" = set; then
45027   echo $ECHO_N "(cached) $ECHO_C" >&6
45028 else
45029
45030     cat >conftest.$ac_ext <<_ACEOF
45031 #line $LINENO "configure"
45032 /* confdefs.h.  */
45033 _ACEOF
45034 cat confdefs.h >>conftest.$ac_ext
45035 cat >>conftest.$ac_ext <<_ACEOF
45036 /* end confdefs.h.  */
45037 #include <sys/stat.h>
45038 int
45039 main ()
45040 {
45041 struct stat buffer;
45042        fstat(0, &buffer);
45043        S_ISREG(buffer.st_mode);
45044   ;
45045   return 0;
45046 }
45047 _ACEOF
45048 rm -f conftest.$ac_objext conftest$ac_exeext
45049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45050   (eval $ac_link) 2>&5
45051   ac_status=$?
45052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053   (exit $ac_status); } &&
45054          { ac_try='test -s conftest$ac_exeext'
45055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45056   (eval $ac_try) 2>&5
45057   ac_status=$?
45058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059   (exit $ac_status); }; }; then
45060   glibcxx_cv_S_ISREG=yes
45061 else
45062   echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.$ac_ext >&5
45064
45065 glibcxx_cv_S_ISREG=no
45066 fi
45067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45068
45069 fi
45070
45071   if test "${glibcxx_cv_S_IFREG+set}" = set; then
45072   echo $ECHO_N "(cached) $ECHO_C" >&6
45073 else
45074
45075     cat >conftest.$ac_ext <<_ACEOF
45076 #line $LINENO "configure"
45077 /* confdefs.h.  */
45078 _ACEOF
45079 cat confdefs.h >>conftest.$ac_ext
45080 cat >>conftest.$ac_ext <<_ACEOF
45081 /* end confdefs.h.  */
45082 #include <sys/stat.h>
45083 int
45084 main ()
45085 {
45086 struct stat buffer;
45087        fstat(0, &buffer);
45088        S_IFREG & buffer.st_mode;
45089   ;
45090   return 0;
45091 }
45092 _ACEOF
45093 rm -f conftest.$ac_objext conftest$ac_exeext
45094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45095   (eval $ac_link) 2>&5
45096   ac_status=$?
45097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45098   (exit $ac_status); } &&
45099          { ac_try='test -s conftest$ac_exeext'
45100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45101   (eval $ac_try) 2>&5
45102   ac_status=$?
45103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104   (exit $ac_status); }; }; then
45105   glibcxx_cv_S_IFREG=yes
45106 else
45107   echo "$as_me: failed program was:" >&5
45108 sed 's/^/| /' conftest.$ac_ext >&5
45109
45110 glibcxx_cv_S_IFREG=no
45111 fi
45112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45113
45114 fi
45115
45116   if test $glibcxx_cv_S_ISREG = yes; then
45117     cat >>confdefs.h <<\_ACEOF
45118 #define HAVE_S_ISREG 1
45119 _ACEOF
45120
45121   elif test $glibcxx_cv_S_IFREG = yes; then
45122     cat >>confdefs.h <<\_ACEOF
45123 #define HAVE_S_IFREG 1
45124 _ACEOF
45125
45126   fi
45127
45128
45129     # For xsputn_2().
45130
45131 for ac_header in sys/uio.h
45132 do
45133 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45135   echo "$as_me:$LINENO: checking for $ac_header" >&5
45136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45138   echo $ECHO_N "(cached) $ECHO_C" >&6
45139 fi
45140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45142 else
45143   # Is the header compilable?
45144 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45145 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45146 cat >conftest.$ac_ext <<_ACEOF
45147 #line $LINENO "configure"
45148 /* confdefs.h.  */
45149 _ACEOF
45150 cat confdefs.h >>conftest.$ac_ext
45151 cat >>conftest.$ac_ext <<_ACEOF
45152 /* end confdefs.h.  */
45153 $ac_includes_default
45154 #include <$ac_header>
45155 _ACEOF
45156 rm -f conftest.$ac_objext
45157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45158   (eval $ac_compile) 2>&5
45159   ac_status=$?
45160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161   (exit $ac_status); } &&
45162          { ac_try='test -s conftest.$ac_objext'
45163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45164   (eval $ac_try) 2>&5
45165   ac_status=$?
45166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167   (exit $ac_status); }; }; then
45168   ac_header_compiler=yes
45169 else
45170   echo "$as_me: failed program was:" >&5
45171 sed 's/^/| /' conftest.$ac_ext >&5
45172
45173 ac_header_compiler=no
45174 fi
45175 rm -f conftest.$ac_objext conftest.$ac_ext
45176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45177 echo "${ECHO_T}$ac_header_compiler" >&6
45178
45179 # Is the header present?
45180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45182 cat >conftest.$ac_ext <<_ACEOF
45183 #line $LINENO "configure"
45184 /* confdefs.h.  */
45185 _ACEOF
45186 cat confdefs.h >>conftest.$ac_ext
45187 cat >>conftest.$ac_ext <<_ACEOF
45188 /* end confdefs.h.  */
45189 #include <$ac_header>
45190 _ACEOF
45191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45192   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45193   ac_status=$?
45194   grep -v '^ *+' conftest.er1 >conftest.err
45195   rm -f conftest.er1
45196   cat conftest.err >&5
45197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198   (exit $ac_status); } >/dev/null; then
45199   if test -s conftest.err; then
45200     ac_cpp_err=$ac_c_preproc_warn_flag
45201   else
45202     ac_cpp_err=
45203   fi
45204 else
45205   ac_cpp_err=yes
45206 fi
45207 if test -z "$ac_cpp_err"; then
45208   ac_header_preproc=yes
45209 else
45210   echo "$as_me: failed program was:" >&5
45211 sed 's/^/| /' conftest.$ac_ext >&5
45212
45213   ac_header_preproc=no
45214 fi
45215 rm -f conftest.err conftest.$ac_ext
45216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45217 echo "${ECHO_T}$ac_header_preproc" >&6
45218
45219 # So?  What about this header?
45220 case $ac_header_compiler:$ac_header_preproc in
45221   yes:no )
45222     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45224     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45226     (
45227       cat <<\_ASBOX
45228 ## ------------------------------------ ##
45229 ## Report this to bug-autoconf@gnu.org. ##
45230 ## ------------------------------------ ##
45231 _ASBOX
45232     ) |
45233       sed "s/^/$as_me: WARNING:     /" >&2
45234     ;;
45235   no:yes )
45236     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45238     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45240     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45242     (
45243       cat <<\_ASBOX
45244 ## ------------------------------------ ##
45245 ## Report this to bug-autoconf@gnu.org. ##
45246 ## ------------------------------------ ##
45247 _ASBOX
45248     ) |
45249       sed "s/^/$as_me: WARNING:     /" >&2
45250     ;;
45251 esac
45252 echo "$as_me:$LINENO: checking for $ac_header" >&5
45253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45255   echo $ECHO_N "(cached) $ECHO_C" >&6
45256 else
45257   eval "$as_ac_Header=$ac_header_preproc"
45258 fi
45259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45261
45262 fi
45263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45264   cat >>confdefs.h <<_ACEOF
45265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45266 _ACEOF
45267
45268 fi
45269
45270 done
45271
45272
45273   if test "${glibcxx_cv_WRITEV+set}" = set; then
45274   echo $ECHO_N "(cached) $ECHO_C" >&6
45275 else
45276
45277     cat >conftest.$ac_ext <<_ACEOF
45278 #line $LINENO "configure"
45279 /* confdefs.h.  */
45280 _ACEOF
45281 cat confdefs.h >>conftest.$ac_ext
45282 cat >>conftest.$ac_ext <<_ACEOF
45283 /* end confdefs.h.  */
45284 #include <sys/uio.h>
45285 int
45286 main ()
45287 {
45288 struct iovec iov[2];
45289        writev(0, iov, 0);
45290   ;
45291   return 0;
45292 }
45293 _ACEOF
45294 rm -f conftest.$ac_objext
45295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45296   (eval $ac_compile) 2>&5
45297   ac_status=$?
45298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299   (exit $ac_status); } &&
45300          { ac_try='test -s conftest.$ac_objext'
45301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45302   (eval $ac_try) 2>&5
45303   ac_status=$?
45304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305   (exit $ac_status); }; }; then
45306   glibcxx_cv_WRITEV=yes
45307 else
45308   echo "$as_me: failed program was:" >&5
45309 sed 's/^/| /' conftest.$ac_ext >&5
45310
45311 glibcxx_cv_WRITEV=no
45312 fi
45313 rm -f conftest.$ac_objext conftest.$ac_ext
45314
45315 fi
45316
45317   if test $glibcxx_cv_WRITEV = yes; then
45318     cat >>confdefs.h <<\_ACEOF
45319 #define HAVE_WRITEV 1
45320 _ACEOF
45321
45322   fi
45323
45324
45325     cat >>confdefs.h <<\_ACEOF
45326 #define HAVE_LC_MESSAGES 1
45327 _ACEOF
45328
45329
45330     cat >conftest.$ac_ext <<_ACEOF
45331 #line $LINENO "configure"
45332 /* confdefs.h.  */
45333 _ACEOF
45334 cat confdefs.h >>conftest.$ac_ext
45335 cat >>conftest.$ac_ext <<_ACEOF
45336 /* end confdefs.h.  */
45337 #include <setjmp.h>
45338 int
45339 main ()
45340 {
45341 sigjmp_buf env;
45342        while (! sigsetjmp (env, 1))
45343          siglongjmp (env, 1);
45344
45345   ;
45346   return 0;
45347 }
45348 _ACEOF
45349 rm -f conftest.$ac_objext
45350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45351   (eval $ac_compile) 2>&5
45352   ac_status=$?
45353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45354   (exit $ac_status); } &&
45355          { ac_try='test -s conftest.$ac_objext'
45356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45357   (eval $ac_try) 2>&5
45358   ac_status=$?
45359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360   (exit $ac_status); }; }; then
45361
45362 cat >>confdefs.h <<\_ACEOF
45363 #define HAVE_SIGSETJMP 1
45364 _ACEOF
45365
45366 else
45367   echo "$as_me: failed program was:" >&5
45368 sed 's/^/| /' conftest.$ac_ext >&5
45369
45370 fi
45371 rm -f conftest.$ac_objext conftest.$ac_ext
45372
45373     cat >>confdefs.h <<\_ACEOF
45374 #define HAVE_MMAP 1
45375 _ACEOF
45376
45377     ;;
45378
45379   *-freebsd*)
45380     #os_include_dir="os/bsd/freebsd"
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
45398       machine/endian.h machine/param.h sys/machine.h sys/types.h \
45399       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
45400       sys/time.h unistd.h
45401 do
45402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45404   echo "$as_me:$LINENO: checking for $ac_header" >&5
45405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45407   echo $ECHO_N "(cached) $ECHO_C" >&6
45408 fi
45409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45411 else
45412   # Is the header compilable?
45413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45415 cat >conftest.$ac_ext <<_ACEOF
45416 #line $LINENO "configure"
45417 /* confdefs.h.  */
45418 _ACEOF
45419 cat confdefs.h >>conftest.$ac_ext
45420 cat >>conftest.$ac_ext <<_ACEOF
45421 /* end confdefs.h.  */
45422 $ac_includes_default
45423 #include <$ac_header>
45424 _ACEOF
45425 rm -f conftest.$ac_objext
45426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45427   (eval $ac_compile) 2>&5
45428   ac_status=$?
45429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45430   (exit $ac_status); } &&
45431          { ac_try='test -s conftest.$ac_objext'
45432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45433   (eval $ac_try) 2>&5
45434   ac_status=$?
45435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45436   (exit $ac_status); }; }; then
45437   ac_header_compiler=yes
45438 else
45439   echo "$as_me: failed program was:" >&5
45440 sed 's/^/| /' conftest.$ac_ext >&5
45441
45442 ac_header_compiler=no
45443 fi
45444 rm -f conftest.$ac_objext conftest.$ac_ext
45445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45446 echo "${ECHO_T}$ac_header_compiler" >&6
45447
45448 # Is the header present?
45449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45451 cat >conftest.$ac_ext <<_ACEOF
45452 #line $LINENO "configure"
45453 /* confdefs.h.  */
45454 _ACEOF
45455 cat confdefs.h >>conftest.$ac_ext
45456 cat >>conftest.$ac_ext <<_ACEOF
45457 /* end confdefs.h.  */
45458 #include <$ac_header>
45459 _ACEOF
45460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45461   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45462   ac_status=$?
45463   grep -v '^ *+' conftest.er1 >conftest.err
45464   rm -f conftest.er1
45465   cat conftest.err >&5
45466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467   (exit $ac_status); } >/dev/null; then
45468   if test -s conftest.err; then
45469     ac_cpp_err=$ac_c_preproc_warn_flag
45470   else
45471     ac_cpp_err=
45472   fi
45473 else
45474   ac_cpp_err=yes
45475 fi
45476 if test -z "$ac_cpp_err"; then
45477   ac_header_preproc=yes
45478 else
45479   echo "$as_me: failed program was:" >&5
45480 sed 's/^/| /' conftest.$ac_ext >&5
45481
45482   ac_header_preproc=no
45483 fi
45484 rm -f conftest.err conftest.$ac_ext
45485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45486 echo "${ECHO_T}$ac_header_preproc" >&6
45487
45488 # So?  What about this header?
45489 case $ac_header_compiler:$ac_header_preproc in
45490   yes:no )
45491     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45493     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45495     (
45496       cat <<\_ASBOX
45497 ## ------------------------------------ ##
45498 ## Report this to bug-autoconf@gnu.org. ##
45499 ## ------------------------------------ ##
45500 _ASBOX
45501     ) |
45502       sed "s/^/$as_me: WARNING:     /" >&2
45503     ;;
45504   no:yes )
45505     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45507     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45509     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45511     (
45512       cat <<\_ASBOX
45513 ## ------------------------------------ ##
45514 ## Report this to bug-autoconf@gnu.org. ##
45515 ## ------------------------------------ ##
45516 _ASBOX
45517     ) |
45518       sed "s/^/$as_me: WARNING:     /" >&2
45519     ;;
45520 esac
45521 echo "$as_me:$LINENO: checking for $ac_header" >&5
45522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45524   echo $ECHO_N "(cached) $ECHO_C" >&6
45525 else
45526   eval "$as_ac_Header=$ac_header_preproc"
45527 fi
45528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45530
45531 fi
45532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45533   cat >>confdefs.h <<_ACEOF
45534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45535 _ACEOF
45536
45537 fi
45538
45539 done
45540
45541     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45542
45543
45544   # If we're not using GNU ld, then there's no point in even trying these
45545   # tests.  Check for that first.  We should have already tested for gld
45546   # by now (in libtool), but require it now just to be safe...
45547   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45548   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45549
45550
45551
45552   # The name set by libtool depends on the version of libtool.  Shame on us
45553   # for depending on an impl detail, but c'est la vie.  Older versions used
45554   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45555   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45556   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45557   # set (hence we're using an older libtool), then set it.
45558   if test x${with_gnu_ld+set} != xset; then
45559     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45560       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45561       with_gnu_ld=no
45562     else
45563       with_gnu_ld=$ac_cv_prog_gnu_ld
45564     fi
45565   fi
45566
45567   # Start by getting the version number.  I think the libtool test already
45568   # does some of this, but throws away the result.
45569
45570   ldver=`$LD --version 2>/dev/null | head -1 | \
45571          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
45572
45573   glibcxx_gnu_ld_version=`echo $ldver | \
45574          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45575
45576   # Set --gc-sections.
45577   if test "$with_gnu_ld" = "notbroken"; then
45578     # GNU ld it is!  Joy and bunny rabbits!
45579
45580     # All these tests are for C++; save the language and the compiler flags.
45581     # Need to do this so that g++ won't try to link in libstdc++
45582     ac_test_CFLAGS="${CFLAGS+set}"
45583     ac_save_CFLAGS="$CFLAGS"
45584     CFLAGS='-x c++  -Wl,--gc-sections'
45585
45586     # Check for -Wl,--gc-sections
45587     # XXX This test is broken at the moment, as symbols required for linking
45588     # are now in libsupc++ (not built yet).  In addition, this test has
45589     # cored on solaris in the past.  In addition, --gc-sections doesn't
45590     # really work at the moment (keeps on discarding used sections, first
45591     # .eh_frame and now some of the glibc sections for iconv).
45592     # Bzzzzt.  Thanks for playing, maybe next time.
45593     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
45594 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
45595     if test "$cross_compiling" = yes; then
45596   ac_sectionLDflags=yes
45597 else
45598   cat >conftest.$ac_ext <<_ACEOF
45599 #line $LINENO "configure"
45600 /* confdefs.h.  */
45601 _ACEOF
45602 cat confdefs.h >>conftest.$ac_ext
45603 cat >>conftest.$ac_ext <<_ACEOF
45604 /* end confdefs.h.  */
45605
45606      int main(void)
45607      {
45608        try { throw 1; }
45609        catch (...) { };
45610        return 0;
45611      }
45612
45613 _ACEOF
45614 rm -f conftest$ac_exeext
45615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45616   (eval $ac_link) 2>&5
45617   ac_status=$?
45618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45619   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45621   (eval $ac_try) 2>&5
45622   ac_status=$?
45623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624   (exit $ac_status); }; }; then
45625   ac_sectionLDflags=yes
45626 else
45627   echo "$as_me: program exited with status $ac_status" >&5
45628 echo "$as_me: failed program was:" >&5
45629 sed 's/^/| /' conftest.$ac_ext >&5
45630
45631 ( exit $ac_status )
45632 ac_sectionLDflags=no
45633 fi
45634 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45635 fi
45636     if test "$ac_test_CFLAGS" = set; then
45637       CFLAGS="$ac_save_CFLAGS"
45638     else
45639       # this is the suspicious part
45640       CFLAGS=''
45641     fi
45642     if test "$ac_sectionLDflags" = "yes"; then
45643       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45644     fi
45645     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
45646 echo "${ECHO_T}$ac_sectionLDflags" >&6
45647   fi
45648
45649   # Set linker optimization flags.
45650   if test x"$with_gnu_ld" = x"yes"; then
45651     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45652   fi
45653
45654
45655
45656
45657
45658
45659 echo "$as_me:$LINENO: checking for main in -lm" >&5
45660 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
45661 if test "${ac_cv_lib_m_main+set}" = set; then
45662   echo $ECHO_N "(cached) $ECHO_C" >&6
45663 else
45664   ac_check_lib_save_LIBS=$LIBS
45665 LIBS="-lm  $LIBS"
45666 cat >conftest.$ac_ext <<_ACEOF
45667 #line $LINENO "configure"
45668 /* confdefs.h.  */
45669 _ACEOF
45670 cat confdefs.h >>conftest.$ac_ext
45671 cat >>conftest.$ac_ext <<_ACEOF
45672 /* end confdefs.h.  */
45673
45674
45675 int
45676 main ()
45677 {
45678 main ();
45679   ;
45680   return 0;
45681 }
45682 _ACEOF
45683 rm -f conftest.$ac_objext conftest$ac_exeext
45684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45685   (eval $ac_link) 2>&5
45686   ac_status=$?
45687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45688   (exit $ac_status); } &&
45689          { ac_try='test -s conftest$ac_exeext'
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_cv_lib_m_main=yes
45696 else
45697   echo "$as_me: failed program was:" >&5
45698 sed 's/^/| /' conftest.$ac_ext >&5
45699
45700 ac_cv_lib_m_main=no
45701 fi
45702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45703 LIBS=$ac_check_lib_save_LIBS
45704 fi
45705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
45706 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
45707 if test $ac_cv_lib_m_main = yes; then
45708   cat >>confdefs.h <<_ACEOF
45709 #define HAVE_LIBM 1
45710 _ACEOF
45711
45712   LIBS="-lm $LIBS"
45713
45714 fi
45715
45716
45717
45718 for ac_func in nan copysignf
45719 do
45720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45721 echo "$as_me:$LINENO: checking for $ac_func" >&5
45722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45723 if eval "test \"\${$as_ac_var+set}\" = set"; then
45724   echo $ECHO_N "(cached) $ECHO_C" >&6
45725 else
45726   cat >conftest.$ac_ext <<_ACEOF
45727 #line $LINENO "configure"
45728 /* confdefs.h.  */
45729 _ACEOF
45730 cat confdefs.h >>conftest.$ac_ext
45731 cat >>conftest.$ac_ext <<_ACEOF
45732 /* end confdefs.h.  */
45733 /* System header to define __stub macros and hopefully few prototypes,
45734     which can conflict with char $ac_func (); below.
45735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45736     <limits.h> exists even on freestanding compilers.  */
45737 #ifdef __STDC__
45738 # include <limits.h>
45739 #else
45740 # include <assert.h>
45741 #endif
45742 /* Override any gcc2 internal prototype to avoid an error.  */
45743 #ifdef __cplusplus
45744 extern "C"
45745 {
45746 #endif
45747 /* We use char because int might match the return type of a gcc2
45748    builtin and then its argument prototype would still apply.  */
45749 char $ac_func ();
45750 /* The GNU C library defines this for functions which it implements
45751     to always fail with ENOSYS.  Some functions are actually named
45752     something starting with __ and the normal name is an alias.  */
45753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45754 choke me
45755 #else
45756 char (*f) () = $ac_func;
45757 #endif
45758 #ifdef __cplusplus
45759 }
45760 #endif
45761
45762 int
45763 main ()
45764 {
45765 return f != $ac_func;
45766   ;
45767   return 0;
45768 }
45769 _ACEOF
45770 rm -f conftest.$ac_objext conftest$ac_exeext
45771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45772   (eval $ac_link) 2>&5
45773   ac_status=$?
45774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45775   (exit $ac_status); } &&
45776          { ac_try='test -s conftest$ac_exeext'
45777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45778   (eval $ac_try) 2>&5
45779   ac_status=$?
45780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781   (exit $ac_status); }; }; then
45782   eval "$as_ac_var=yes"
45783 else
45784   echo "$as_me: failed program was:" >&5
45785 sed 's/^/| /' conftest.$ac_ext >&5
45786
45787 eval "$as_ac_var=no"
45788 fi
45789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45790 fi
45791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45793 if test `eval echo '${'$as_ac_var'}'` = yes; then
45794   cat >>confdefs.h <<_ACEOF
45795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45796 _ACEOF
45797
45798 else
45799   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
45800 fi
45801 done
45802
45803
45804
45805 for ac_func in __signbit
45806 do
45807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45808 echo "$as_me:$LINENO: checking for $ac_func" >&5
45809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45810 if eval "test \"\${$as_ac_var+set}\" = set"; then
45811   echo $ECHO_N "(cached) $ECHO_C" >&6
45812 else
45813   cat >conftest.$ac_ext <<_ACEOF
45814 #line $LINENO "configure"
45815 /* confdefs.h.  */
45816 _ACEOF
45817 cat confdefs.h >>conftest.$ac_ext
45818 cat >>conftest.$ac_ext <<_ACEOF
45819 /* end confdefs.h.  */
45820 /* System header to define __stub macros and hopefully few prototypes,
45821     which can conflict with char $ac_func (); below.
45822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45823     <limits.h> exists even on freestanding compilers.  */
45824 #ifdef __STDC__
45825 # include <limits.h>
45826 #else
45827 # include <assert.h>
45828 #endif
45829 /* Override any gcc2 internal prototype to avoid an error.  */
45830 #ifdef __cplusplus
45831 extern "C"
45832 {
45833 #endif
45834 /* We use char because int might match the return type of a gcc2
45835    builtin and then its argument prototype would still apply.  */
45836 char $ac_func ();
45837 /* The GNU C library defines this for functions which it implements
45838     to always fail with ENOSYS.  Some functions are actually named
45839     something starting with __ and the normal name is an alias.  */
45840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45841 choke me
45842 #else
45843 char (*f) () = $ac_func;
45844 #endif
45845 #ifdef __cplusplus
45846 }
45847 #endif
45848
45849 int
45850 main ()
45851 {
45852 return f != $ac_func;
45853   ;
45854   return 0;
45855 }
45856 _ACEOF
45857 rm -f conftest.$ac_objext conftest$ac_exeext
45858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45859   (eval $ac_link) 2>&5
45860   ac_status=$?
45861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45862   (exit $ac_status); } &&
45863          { ac_try='test -s conftest$ac_exeext'
45864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45865   (eval $ac_try) 2>&5
45866   ac_status=$?
45867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45868   (exit $ac_status); }; }; then
45869   eval "$as_ac_var=yes"
45870 else
45871   echo "$as_me: failed program was:" >&5
45872 sed 's/^/| /' conftest.$ac_ext >&5
45873
45874 eval "$as_ac_var=no"
45875 fi
45876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45877 fi
45878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45880 if test `eval echo '${'$as_ac_var'}'` = yes; then
45881   cat >>confdefs.h <<_ACEOF
45882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45883 _ACEOF
45884
45885 else
45886   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
45887 fi
45888 done
45889
45890
45891 for ac_func in __signbitf
45892 do
45893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45894 echo "$as_me:$LINENO: checking for $ac_func" >&5
45895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45896 if eval "test \"\${$as_ac_var+set}\" = set"; then
45897   echo $ECHO_N "(cached) $ECHO_C" >&6
45898 else
45899   cat >conftest.$ac_ext <<_ACEOF
45900 #line $LINENO "configure"
45901 /* confdefs.h.  */
45902 _ACEOF
45903 cat confdefs.h >>conftest.$ac_ext
45904 cat >>conftest.$ac_ext <<_ACEOF
45905 /* end confdefs.h.  */
45906 /* System header to define __stub macros and hopefully few prototypes,
45907     which can conflict with char $ac_func (); below.
45908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45909     <limits.h> exists even on freestanding compilers.  */
45910 #ifdef __STDC__
45911 # include <limits.h>
45912 #else
45913 # include <assert.h>
45914 #endif
45915 /* Override any gcc2 internal prototype to avoid an error.  */
45916 #ifdef __cplusplus
45917 extern "C"
45918 {
45919 #endif
45920 /* We use char because int might match the return type of a gcc2
45921    builtin and then its argument prototype would still apply.  */
45922 char $ac_func ();
45923 /* The GNU C library defines this for functions which it implements
45924     to always fail with ENOSYS.  Some functions are actually named
45925     something starting with __ and the normal name is an alias.  */
45926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45927 choke me
45928 #else
45929 char (*f) () = $ac_func;
45930 #endif
45931 #ifdef __cplusplus
45932 }
45933 #endif
45934
45935 int
45936 main ()
45937 {
45938 return f != $ac_func;
45939   ;
45940   return 0;
45941 }
45942 _ACEOF
45943 rm -f conftest.$ac_objext conftest$ac_exeext
45944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45945   (eval $ac_link) 2>&5
45946   ac_status=$?
45947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45948   (exit $ac_status); } &&
45949          { ac_try='test -s conftest$ac_exeext'
45950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45951   (eval $ac_try) 2>&5
45952   ac_status=$?
45953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45954   (exit $ac_status); }; }; then
45955   eval "$as_ac_var=yes"
45956 else
45957   echo "$as_me: failed program was:" >&5
45958 sed 's/^/| /' conftest.$ac_ext >&5
45959
45960 eval "$as_ac_var=no"
45961 fi
45962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45963 fi
45964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45966 if test `eval echo '${'$as_ac_var'}'` = yes; then
45967   cat >>confdefs.h <<_ACEOF
45968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45969 _ACEOF
45970
45971 else
45972   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
45973 fi
45974 done
45975
45976
45977           if test x$ac_cv_func_copysignl = x"yes"; then
45978
45979 for ac_func in __signbitl
45980 do
45981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45982 echo "$as_me:$LINENO: checking for $ac_func" >&5
45983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45984 if eval "test \"\${$as_ac_var+set}\" = set"; then
45985   echo $ECHO_N "(cached) $ECHO_C" >&6
45986 else
45987   cat >conftest.$ac_ext <<_ACEOF
45988 #line $LINENO "configure"
45989 /* confdefs.h.  */
45990 _ACEOF
45991 cat confdefs.h >>conftest.$ac_ext
45992 cat >>conftest.$ac_ext <<_ACEOF
45993 /* end confdefs.h.  */
45994 /* System header to define __stub macros and hopefully few prototypes,
45995     which can conflict with char $ac_func (); below.
45996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45997     <limits.h> exists even on freestanding compilers.  */
45998 #ifdef __STDC__
45999 # include <limits.h>
46000 #else
46001 # include <assert.h>
46002 #endif
46003 /* Override any gcc2 internal prototype to avoid an error.  */
46004 #ifdef __cplusplus
46005 extern "C"
46006 {
46007 #endif
46008 /* We use char because int might match the return type of a gcc2
46009    builtin and then its argument prototype would still apply.  */
46010 char $ac_func ();
46011 /* The GNU C library defines this for functions which it implements
46012     to always fail with ENOSYS.  Some functions are actually named
46013     something starting with __ and the normal name is an alias.  */
46014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46015 choke me
46016 #else
46017 char (*f) () = $ac_func;
46018 #endif
46019 #ifdef __cplusplus
46020 }
46021 #endif
46022
46023 int
46024 main ()
46025 {
46026 return f != $ac_func;
46027   ;
46028   return 0;
46029 }
46030 _ACEOF
46031 rm -f conftest.$ac_objext conftest$ac_exeext
46032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46033   (eval $ac_link) 2>&5
46034   ac_status=$?
46035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036   (exit $ac_status); } &&
46037          { ac_try='test -s conftest$ac_exeext'
46038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46039   (eval $ac_try) 2>&5
46040   ac_status=$?
46041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042   (exit $ac_status); }; }; then
46043   eval "$as_ac_var=yes"
46044 else
46045   echo "$as_me: failed program was:" >&5
46046 sed 's/^/| /' conftest.$ac_ext >&5
46047
46048 eval "$as_ac_var=no"
46049 fi
46050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46051 fi
46052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46054 if test `eval echo '${'$as_ac_var'}'` = yes; then
46055   cat >>confdefs.h <<_ACEOF
46056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46057 _ACEOF
46058
46059 else
46060   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
46061 fi
46062 done
46063
46064   fi
46065
46066   # XXX Review this.  Nothing uses it.
46067   if test -n "$LIBMATHOBJS"; then
46068     need_libmath=yes
46069   fi
46070
46071
46072
46073   # Test wchar.h for mbstate_t, which is needed for char_traits and
46074   # others even if wchar_t support is not on.
46075   echo "$as_me:$LINENO: checking for mbstate_t" >&5
46076 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
46077   cat >conftest.$ac_ext <<_ACEOF
46078 #line $LINENO "configure"
46079 /* confdefs.h.  */
46080 _ACEOF
46081 cat confdefs.h >>conftest.$ac_ext
46082 cat >>conftest.$ac_ext <<_ACEOF
46083 /* end confdefs.h.  */
46084 #include <wchar.h>
46085 int
46086 main ()
46087 {
46088 mbstate_t teststate;
46089   ;
46090   return 0;
46091 }
46092 _ACEOF
46093 rm -f conftest.$ac_objext
46094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46095   (eval $ac_compile) 2>&5
46096   ac_status=$?
46097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46098   (exit $ac_status); } &&
46099          { ac_try='test -s conftest.$ac_objext'
46100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46101   (eval $ac_try) 2>&5
46102   ac_status=$?
46103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104   (exit $ac_status); }; }; then
46105   have_mbstate_t=yes
46106 else
46107   echo "$as_me: failed program was:" >&5
46108 sed 's/^/| /' conftest.$ac_ext >&5
46109
46110 have_mbstate_t=no
46111 fi
46112 rm -f conftest.$ac_objext conftest.$ac_ext
46113   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
46114 echo "${ECHO_T}$have_mbstate_t" >&6
46115   if test x"$have_mbstate_t" = xyes; then
46116     cat >>confdefs.h <<\_ACEOF
46117 #define HAVE_MBSTATE_T 1
46118 _ACEOF
46119
46120   fi
46121
46122   # Sanity check for existence of ISO C99 headers for extended encoding.
46123
46124 for ac_header in wchar.h
46125 do
46126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46128   echo "$as_me:$LINENO: checking for $ac_header" >&5
46129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46131   echo $ECHO_N "(cached) $ECHO_C" >&6
46132 fi
46133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46135 else
46136   # Is the header compilable?
46137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46139 cat >conftest.$ac_ext <<_ACEOF
46140 #line $LINENO "configure"
46141 /* confdefs.h.  */
46142 _ACEOF
46143 cat confdefs.h >>conftest.$ac_ext
46144 cat >>conftest.$ac_ext <<_ACEOF
46145 /* end confdefs.h.  */
46146 $ac_includes_default
46147 #include <$ac_header>
46148 _ACEOF
46149 rm -f conftest.$ac_objext
46150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46151   (eval $ac_compile) 2>&5
46152   ac_status=$?
46153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46154   (exit $ac_status); } &&
46155          { ac_try='test -s conftest.$ac_objext'
46156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46157   (eval $ac_try) 2>&5
46158   ac_status=$?
46159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160   (exit $ac_status); }; }; then
46161   ac_header_compiler=yes
46162 else
46163   echo "$as_me: failed program was:" >&5
46164 sed 's/^/| /' conftest.$ac_ext >&5
46165
46166 ac_header_compiler=no
46167 fi
46168 rm -f conftest.$ac_objext conftest.$ac_ext
46169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46170 echo "${ECHO_T}$ac_header_compiler" >&6
46171
46172 # Is the header present?
46173 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46174 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46175 cat >conftest.$ac_ext <<_ACEOF
46176 #line $LINENO "configure"
46177 /* confdefs.h.  */
46178 _ACEOF
46179 cat confdefs.h >>conftest.$ac_ext
46180 cat >>conftest.$ac_ext <<_ACEOF
46181 /* end confdefs.h.  */
46182 #include <$ac_header>
46183 _ACEOF
46184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46185   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46186   ac_status=$?
46187   grep -v '^ *+' conftest.er1 >conftest.err
46188   rm -f conftest.er1
46189   cat conftest.err >&5
46190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191   (exit $ac_status); } >/dev/null; then
46192   if test -s conftest.err; then
46193     ac_cpp_err=$ac_c_preproc_warn_flag
46194   else
46195     ac_cpp_err=
46196   fi
46197 else
46198   ac_cpp_err=yes
46199 fi
46200 if test -z "$ac_cpp_err"; then
46201   ac_header_preproc=yes
46202 else
46203   echo "$as_me: failed program was:" >&5
46204 sed 's/^/| /' conftest.$ac_ext >&5
46205
46206   ac_header_preproc=no
46207 fi
46208 rm -f conftest.err conftest.$ac_ext
46209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46210 echo "${ECHO_T}$ac_header_preproc" >&6
46211
46212 # So?  What about this header?
46213 case $ac_header_compiler:$ac_header_preproc in
46214   yes:no )
46215     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46217     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46219     (
46220       cat <<\_ASBOX
46221 ## ------------------------------------ ##
46222 ## Report this to bug-autoconf@gnu.org. ##
46223 ## ------------------------------------ ##
46224 _ASBOX
46225     ) |
46226       sed "s/^/$as_me: WARNING:     /" >&2
46227     ;;
46228   no:yes )
46229     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46231     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46233     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46235     (
46236       cat <<\_ASBOX
46237 ## ------------------------------------ ##
46238 ## Report this to bug-autoconf@gnu.org. ##
46239 ## ------------------------------------ ##
46240 _ASBOX
46241     ) |
46242       sed "s/^/$as_me: WARNING:     /" >&2
46243     ;;
46244 esac
46245 echo "$as_me:$LINENO: checking for $ac_header" >&5
46246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46248   echo $ECHO_N "(cached) $ECHO_C" >&6
46249 else
46250   eval "$as_ac_Header=$ac_header_preproc"
46251 fi
46252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46254
46255 fi
46256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46257   cat >>confdefs.h <<_ACEOF
46258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46259 _ACEOF
46260  ac_has_wchar_h=yes
46261 else
46262   ac_has_wchar_h=no
46263 fi
46264
46265 done
46266
46267
46268 for ac_header in wctype.h
46269 do
46270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46272   echo "$as_me:$LINENO: checking for $ac_header" >&5
46273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46275   echo $ECHO_N "(cached) $ECHO_C" >&6
46276 fi
46277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46279 else
46280   # Is the header compilable?
46281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46283 cat >conftest.$ac_ext <<_ACEOF
46284 #line $LINENO "configure"
46285 /* confdefs.h.  */
46286 _ACEOF
46287 cat confdefs.h >>conftest.$ac_ext
46288 cat >>conftest.$ac_ext <<_ACEOF
46289 /* end confdefs.h.  */
46290 $ac_includes_default
46291 #include <$ac_header>
46292 _ACEOF
46293 rm -f conftest.$ac_objext
46294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46295   (eval $ac_compile) 2>&5
46296   ac_status=$?
46297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298   (exit $ac_status); } &&
46299          { ac_try='test -s conftest.$ac_objext'
46300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46301   (eval $ac_try) 2>&5
46302   ac_status=$?
46303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304   (exit $ac_status); }; }; then
46305   ac_header_compiler=yes
46306 else
46307   echo "$as_me: failed program was:" >&5
46308 sed 's/^/| /' conftest.$ac_ext >&5
46309
46310 ac_header_compiler=no
46311 fi
46312 rm -f conftest.$ac_objext conftest.$ac_ext
46313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46314 echo "${ECHO_T}$ac_header_compiler" >&6
46315
46316 # Is the header present?
46317 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46318 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46319 cat >conftest.$ac_ext <<_ACEOF
46320 #line $LINENO "configure"
46321 /* confdefs.h.  */
46322 _ACEOF
46323 cat confdefs.h >>conftest.$ac_ext
46324 cat >>conftest.$ac_ext <<_ACEOF
46325 /* end confdefs.h.  */
46326 #include <$ac_header>
46327 _ACEOF
46328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46329   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46330   ac_status=$?
46331   grep -v '^ *+' conftest.er1 >conftest.err
46332   rm -f conftest.er1
46333   cat conftest.err >&5
46334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46335   (exit $ac_status); } >/dev/null; then
46336   if test -s conftest.err; then
46337     ac_cpp_err=$ac_c_preproc_warn_flag
46338   else
46339     ac_cpp_err=
46340   fi
46341 else
46342   ac_cpp_err=yes
46343 fi
46344 if test -z "$ac_cpp_err"; then
46345   ac_header_preproc=yes
46346 else
46347   echo "$as_me: failed program was:" >&5
46348 sed 's/^/| /' conftest.$ac_ext >&5
46349
46350   ac_header_preproc=no
46351 fi
46352 rm -f conftest.err conftest.$ac_ext
46353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46354 echo "${ECHO_T}$ac_header_preproc" >&6
46355
46356 # So?  What about this header?
46357 case $ac_header_compiler:$ac_header_preproc in
46358   yes:no )
46359     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46361     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46363     (
46364       cat <<\_ASBOX
46365 ## ------------------------------------ ##
46366 ## Report this to bug-autoconf@gnu.org. ##
46367 ## ------------------------------------ ##
46368 _ASBOX
46369     ) |
46370       sed "s/^/$as_me: WARNING:     /" >&2
46371     ;;
46372   no:yes )
46373     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46375     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46377     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46379     (
46380       cat <<\_ASBOX
46381 ## ------------------------------------ ##
46382 ## Report this to bug-autoconf@gnu.org. ##
46383 ## ------------------------------------ ##
46384 _ASBOX
46385     ) |
46386       sed "s/^/$as_me: WARNING:     /" >&2
46387     ;;
46388 esac
46389 echo "$as_me:$LINENO: checking for $ac_header" >&5
46390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46392   echo $ECHO_N "(cached) $ECHO_C" >&6
46393 else
46394   eval "$as_ac_Header=$ac_header_preproc"
46395 fi
46396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46398
46399 fi
46400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46401   cat >>confdefs.h <<_ACEOF
46402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46403 _ACEOF
46404  ac_has_wctype_h=yes
46405 else
46406   ac_has_wctype_h=no
46407 fi
46408
46409 done
46410
46411
46412   # Only continue checking if the ISO C99 headers exist and support is on.
46413   if test x"$ac_has_wchar_h" = xyes &&
46414      test x"$ac_has_wctype_h" = xyes &&
46415      test x"$enable_c_mbchar" != xno; then
46416
46417     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
46418     # numeric_limits can instantiate type_traits<wchar_t>
46419     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
46420 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
46421     cat >conftest.$ac_ext <<_ACEOF
46422 #line $LINENO "configure"
46423 /* confdefs.h.  */
46424 _ACEOF
46425 cat confdefs.h >>conftest.$ac_ext
46426 cat >>conftest.$ac_ext <<_ACEOF
46427 /* end confdefs.h.  */
46428 #include <wchar.h>
46429 int
46430 main ()
46431 {
46432 int i = WCHAR_MIN; int j = WCHAR_MAX;
46433   ;
46434   return 0;
46435 }
46436 _ACEOF
46437 rm -f conftest.$ac_objext
46438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46439   (eval $ac_compile) 2>&5
46440   ac_status=$?
46441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442   (exit $ac_status); } &&
46443          { ac_try='test -s conftest.$ac_objext'
46444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46445   (eval $ac_try) 2>&5
46446   ac_status=$?
46447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46448   (exit $ac_status); }; }; then
46449   has_wchar_minmax=yes
46450 else
46451   echo "$as_me: failed program was:" >&5
46452 sed 's/^/| /' conftest.$ac_ext >&5
46453
46454 has_wchar_minmax=no
46455 fi
46456 rm -f conftest.$ac_objext conftest.$ac_ext
46457     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
46458 echo "${ECHO_T}$has_wchar_minmax" >&6
46459
46460     # Test wchar.h for WEOF, which is what we use to determine whether
46461     # to specialize for char_traits<wchar_t> or not.
46462     echo "$as_me:$LINENO: checking for WEOF" >&5
46463 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
46464     cat >conftest.$ac_ext <<_ACEOF
46465 #line $LINENO "configure"
46466 /* confdefs.h.  */
46467 _ACEOF
46468 cat confdefs.h >>conftest.$ac_ext
46469 cat >>conftest.$ac_ext <<_ACEOF
46470 /* end confdefs.h.  */
46471
46472       #include <wchar.h>
46473       #include <stddef.h>
46474 int
46475 main ()
46476 {
46477 wint_t i = WEOF;
46478   ;
46479   return 0;
46480 }
46481 _ACEOF
46482 rm -f conftest.$ac_objext
46483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46484   (eval $ac_compile) 2>&5
46485   ac_status=$?
46486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46487   (exit $ac_status); } &&
46488          { ac_try='test -s conftest.$ac_objext'
46489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46490   (eval $ac_try) 2>&5
46491   ac_status=$?
46492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46493   (exit $ac_status); }; }; then
46494   has_weof=yes
46495 else
46496   echo "$as_me: failed program was:" >&5
46497 sed 's/^/| /' conftest.$ac_ext >&5
46498
46499 has_weof=no
46500 fi
46501 rm -f conftest.$ac_objext conftest.$ac_ext
46502     echo "$as_me:$LINENO: result: $has_weof" >&5
46503 echo "${ECHO_T}$has_weof" >&6
46504
46505     # Tests for wide character functions used in char_traits<wchar_t>.
46506     ac_wfuncs=yes
46507
46508
46509
46510
46511
46512
46513 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
46514 do
46515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46516 echo "$as_me:$LINENO: checking for $ac_func" >&5
46517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46518 if eval "test \"\${$as_ac_var+set}\" = set"; then
46519   echo $ECHO_N "(cached) $ECHO_C" >&6
46520 else
46521   cat >conftest.$ac_ext <<_ACEOF
46522 #line $LINENO "configure"
46523 /* confdefs.h.  */
46524 _ACEOF
46525 cat confdefs.h >>conftest.$ac_ext
46526 cat >>conftest.$ac_ext <<_ACEOF
46527 /* end confdefs.h.  */
46528 /* System header to define __stub macros and hopefully few prototypes,
46529     which can conflict with char $ac_func (); below.
46530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46531     <limits.h> exists even on freestanding compilers.  */
46532 #ifdef __STDC__
46533 # include <limits.h>
46534 #else
46535 # include <assert.h>
46536 #endif
46537 /* Override any gcc2 internal prototype to avoid an error.  */
46538 #ifdef __cplusplus
46539 extern "C"
46540 {
46541 #endif
46542 /* We use char because int might match the return type of a gcc2
46543    builtin and then its argument prototype would still apply.  */
46544 char $ac_func ();
46545 /* The GNU C library defines this for functions which it implements
46546     to always fail with ENOSYS.  Some functions are actually named
46547     something starting with __ and the normal name is an alias.  */
46548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46549 choke me
46550 #else
46551 char (*f) () = $ac_func;
46552 #endif
46553 #ifdef __cplusplus
46554 }
46555 #endif
46556
46557 int
46558 main ()
46559 {
46560 return f != $ac_func;
46561   ;
46562   return 0;
46563 }
46564 _ACEOF
46565 rm -f conftest.$ac_objext conftest$ac_exeext
46566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46567   (eval $ac_link) 2>&5
46568   ac_status=$?
46569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570   (exit $ac_status); } &&
46571          { ac_try='test -s conftest$ac_exeext'
46572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46573   (eval $ac_try) 2>&5
46574   ac_status=$?
46575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576   (exit $ac_status); }; }; then
46577   eval "$as_ac_var=yes"
46578 else
46579   echo "$as_me: failed program was:" >&5
46580 sed 's/^/| /' conftest.$ac_ext >&5
46581
46582 eval "$as_ac_var=no"
46583 fi
46584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46585 fi
46586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46588 if test `eval echo '${'$as_ac_var'}'` = yes; then
46589   cat >>confdefs.h <<_ACEOF
46590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46591 _ACEOF
46592
46593 else
46594   ac_wfuncs=no
46595 fi
46596 done
46597
46598
46599     # Checks for names injected into std:: by the c_std headers.
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
46651     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
46652     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
46653     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
46654     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
46655     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
46656 do
46657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46658 echo "$as_me:$LINENO: checking for $ac_func" >&5
46659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46660 if eval "test \"\${$as_ac_var+set}\" = set"; then
46661   echo $ECHO_N "(cached) $ECHO_C" >&6
46662 else
46663   cat >conftest.$ac_ext <<_ACEOF
46664 #line $LINENO "configure"
46665 /* confdefs.h.  */
46666 _ACEOF
46667 cat confdefs.h >>conftest.$ac_ext
46668 cat >>conftest.$ac_ext <<_ACEOF
46669 /* end confdefs.h.  */
46670 /* System header to define __stub macros and hopefully few prototypes,
46671     which can conflict with char $ac_func (); below.
46672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46673     <limits.h> exists even on freestanding compilers.  */
46674 #ifdef __STDC__
46675 # include <limits.h>
46676 #else
46677 # include <assert.h>
46678 #endif
46679 /* Override any gcc2 internal prototype to avoid an error.  */
46680 #ifdef __cplusplus
46681 extern "C"
46682 {
46683 #endif
46684 /* We use char because int might match the return type of a gcc2
46685    builtin and then its argument prototype would still apply.  */
46686 char $ac_func ();
46687 /* The GNU C library defines this for functions which it implements
46688     to always fail with ENOSYS.  Some functions are actually named
46689     something starting with __ and the normal name is an alias.  */
46690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46691 choke me
46692 #else
46693 char (*f) () = $ac_func;
46694 #endif
46695 #ifdef __cplusplus
46696 }
46697 #endif
46698
46699 int
46700 main ()
46701 {
46702 return f != $ac_func;
46703   ;
46704   return 0;
46705 }
46706 _ACEOF
46707 rm -f conftest.$ac_objext conftest$ac_exeext
46708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46709   (eval $ac_link) 2>&5
46710   ac_status=$?
46711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46712   (exit $ac_status); } &&
46713          { ac_try='test -s conftest$ac_exeext'
46714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46715   (eval $ac_try) 2>&5
46716   ac_status=$?
46717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46718   (exit $ac_status); }; }; then
46719   eval "$as_ac_var=yes"
46720 else
46721   echo "$as_me: failed program was:" >&5
46722 sed 's/^/| /' conftest.$ac_ext >&5
46723
46724 eval "$as_ac_var=no"
46725 fi
46726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46727 fi
46728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46730 if test `eval echo '${'$as_ac_var'}'` = yes; then
46731   cat >>confdefs.h <<_ACEOF
46732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46733 _ACEOF
46734
46735 else
46736   ac_wfuncs=no
46737 fi
46738 done
46739
46740
46741     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
46742 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
46743     if test x"$has_weof" = xyes &&
46744        test x"$has_wchar_minmax" = xyes &&
46745        test x"$ac_wfuncs" = xyes;
46746     then
46747       ac_isoC99_wchar_t=yes
46748     else
46749       ac_isoC99_wchar_t=no
46750     fi
46751     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
46752 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
46753
46754     # Use iconv for wchar_t to char conversions. As such, check for
46755     # X/Open Portability Guide, version 2 features (XPG2).
46756     if test "${ac_cv_header_iconv_h+set}" = set; then
46757   echo "$as_me:$LINENO: checking for iconv.h" >&5
46758 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
46759 if test "${ac_cv_header_iconv_h+set}" = set; then
46760   echo $ECHO_N "(cached) $ECHO_C" >&6
46761 fi
46762 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
46763 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
46764 else
46765   # Is the header compilable?
46766 echo "$as_me:$LINENO: checking iconv.h usability" >&5
46767 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
46768 cat >conftest.$ac_ext <<_ACEOF
46769 #line $LINENO "configure"
46770 /* confdefs.h.  */
46771 _ACEOF
46772 cat confdefs.h >>conftest.$ac_ext
46773 cat >>conftest.$ac_ext <<_ACEOF
46774 /* end confdefs.h.  */
46775 $ac_includes_default
46776 #include <iconv.h>
46777 _ACEOF
46778 rm -f conftest.$ac_objext
46779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46780   (eval $ac_compile) 2>&5
46781   ac_status=$?
46782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783   (exit $ac_status); } &&
46784          { ac_try='test -s conftest.$ac_objext'
46785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46786   (eval $ac_try) 2>&5
46787   ac_status=$?
46788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46789   (exit $ac_status); }; }; then
46790   ac_header_compiler=yes
46791 else
46792   echo "$as_me: failed program was:" >&5
46793 sed 's/^/| /' conftest.$ac_ext >&5
46794
46795 ac_header_compiler=no
46796 fi
46797 rm -f conftest.$ac_objext conftest.$ac_ext
46798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46799 echo "${ECHO_T}$ac_header_compiler" >&6
46800
46801 # Is the header present?
46802 echo "$as_me:$LINENO: checking iconv.h presence" >&5
46803 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
46804 cat >conftest.$ac_ext <<_ACEOF
46805 #line $LINENO "configure"
46806 /* confdefs.h.  */
46807 _ACEOF
46808 cat confdefs.h >>conftest.$ac_ext
46809 cat >>conftest.$ac_ext <<_ACEOF
46810 /* end confdefs.h.  */
46811 #include <iconv.h>
46812 _ACEOF
46813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46814   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46815   ac_status=$?
46816   grep -v '^ *+' conftest.er1 >conftest.err
46817   rm -f conftest.er1
46818   cat conftest.err >&5
46819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820   (exit $ac_status); } >/dev/null; then
46821   if test -s conftest.err; then
46822     ac_cpp_err=$ac_c_preproc_warn_flag
46823   else
46824     ac_cpp_err=
46825   fi
46826 else
46827   ac_cpp_err=yes
46828 fi
46829 if test -z "$ac_cpp_err"; then
46830   ac_header_preproc=yes
46831 else
46832   echo "$as_me: failed program was:" >&5
46833 sed 's/^/| /' conftest.$ac_ext >&5
46834
46835   ac_header_preproc=no
46836 fi
46837 rm -f conftest.err conftest.$ac_ext
46838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46839 echo "${ECHO_T}$ac_header_preproc" >&6
46840
46841 # So?  What about this header?
46842 case $ac_header_compiler:$ac_header_preproc in
46843   yes:no )
46844     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
46845 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
46846     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
46847 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
46848     (
46849       cat <<\_ASBOX
46850 ## ------------------------------------ ##
46851 ## Report this to bug-autoconf@gnu.org. ##
46852 ## ------------------------------------ ##
46853 _ASBOX
46854     ) |
46855       sed "s/^/$as_me: WARNING:     /" >&2
46856     ;;
46857   no:yes )
46858     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
46859 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
46860     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
46861 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
46862     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
46863 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
46864     (
46865       cat <<\_ASBOX
46866 ## ------------------------------------ ##
46867 ## Report this to bug-autoconf@gnu.org. ##
46868 ## ------------------------------------ ##
46869 _ASBOX
46870     ) |
46871       sed "s/^/$as_me: WARNING:     /" >&2
46872     ;;
46873 esac
46874 echo "$as_me:$LINENO: checking for iconv.h" >&5
46875 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
46876 if test "${ac_cv_header_iconv_h+set}" = set; then
46877   echo $ECHO_N "(cached) $ECHO_C" >&6
46878 else
46879   ac_cv_header_iconv_h=$ac_header_preproc
46880 fi
46881 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
46882 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
46883
46884 fi
46885 if test $ac_cv_header_iconv_h = yes; then
46886   ac_has_iconv_h=yes
46887 else
46888   ac_has_iconv_h=no
46889 fi
46890
46891
46892     if test "${ac_cv_header_langinfo_h+set}" = set; then
46893   echo "$as_me:$LINENO: checking for langinfo.h" >&5
46894 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
46895 if test "${ac_cv_header_langinfo_h+set}" = set; then
46896   echo $ECHO_N "(cached) $ECHO_C" >&6
46897 fi
46898 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
46899 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
46900 else
46901   # Is the header compilable?
46902 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
46903 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
46904 cat >conftest.$ac_ext <<_ACEOF
46905 #line $LINENO "configure"
46906 /* confdefs.h.  */
46907 _ACEOF
46908 cat confdefs.h >>conftest.$ac_ext
46909 cat >>conftest.$ac_ext <<_ACEOF
46910 /* end confdefs.h.  */
46911 $ac_includes_default
46912 #include <langinfo.h>
46913 _ACEOF
46914 rm -f conftest.$ac_objext
46915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46916   (eval $ac_compile) 2>&5
46917   ac_status=$?
46918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919   (exit $ac_status); } &&
46920          { ac_try='test -s conftest.$ac_objext'
46921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46922   (eval $ac_try) 2>&5
46923   ac_status=$?
46924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46925   (exit $ac_status); }; }; then
46926   ac_header_compiler=yes
46927 else
46928   echo "$as_me: failed program was:" >&5
46929 sed 's/^/| /' conftest.$ac_ext >&5
46930
46931 ac_header_compiler=no
46932 fi
46933 rm -f conftest.$ac_objext conftest.$ac_ext
46934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46935 echo "${ECHO_T}$ac_header_compiler" >&6
46936
46937 # Is the header present?
46938 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
46939 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
46940 cat >conftest.$ac_ext <<_ACEOF
46941 #line $LINENO "configure"
46942 /* confdefs.h.  */
46943 _ACEOF
46944 cat confdefs.h >>conftest.$ac_ext
46945 cat >>conftest.$ac_ext <<_ACEOF
46946 /* end confdefs.h.  */
46947 #include <langinfo.h>
46948 _ACEOF
46949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46950   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46951   ac_status=$?
46952   grep -v '^ *+' conftest.er1 >conftest.err
46953   rm -f conftest.er1
46954   cat conftest.err >&5
46955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956   (exit $ac_status); } >/dev/null; then
46957   if test -s conftest.err; then
46958     ac_cpp_err=$ac_c_preproc_warn_flag
46959   else
46960     ac_cpp_err=
46961   fi
46962 else
46963   ac_cpp_err=yes
46964 fi
46965 if test -z "$ac_cpp_err"; then
46966   ac_header_preproc=yes
46967 else
46968   echo "$as_me: failed program was:" >&5
46969 sed 's/^/| /' conftest.$ac_ext >&5
46970
46971   ac_header_preproc=no
46972 fi
46973 rm -f conftest.err conftest.$ac_ext
46974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46975 echo "${ECHO_T}$ac_header_preproc" >&6
46976
46977 # So?  What about this header?
46978 case $ac_header_compiler:$ac_header_preproc in
46979   yes:no )
46980     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
46981 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
46982     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
46983 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
46984     (
46985       cat <<\_ASBOX
46986 ## ------------------------------------ ##
46987 ## Report this to bug-autoconf@gnu.org. ##
46988 ## ------------------------------------ ##
46989 _ASBOX
46990     ) |
46991       sed "s/^/$as_me: WARNING:     /" >&2
46992     ;;
46993   no:yes )
46994     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
46995 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
46996     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
46997 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
46998     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
46999 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
47000     (
47001       cat <<\_ASBOX
47002 ## ------------------------------------ ##
47003 ## Report this to bug-autoconf@gnu.org. ##
47004 ## ------------------------------------ ##
47005 _ASBOX
47006     ) |
47007       sed "s/^/$as_me: WARNING:     /" >&2
47008     ;;
47009 esac
47010 echo "$as_me:$LINENO: checking for langinfo.h" >&5
47011 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
47012 if test "${ac_cv_header_langinfo_h+set}" = set; then
47013   echo $ECHO_N "(cached) $ECHO_C" >&6
47014 else
47015   ac_cv_header_langinfo_h=$ac_header_preproc
47016 fi
47017 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
47018 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
47019
47020 fi
47021 if test $ac_cv_header_langinfo_h = yes; then
47022   ac_has_langinfo_h=yes
47023 else
47024   ac_has_langinfo_h=no
47025 fi
47026
47027
47028
47029     # Check for existence of libiconv.a providing XPG2 wchar_t support.
47030     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
47031 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
47032 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
47033   echo $ECHO_N "(cached) $ECHO_C" >&6
47034 else
47035   ac_check_lib_save_LIBS=$LIBS
47036 LIBS="-liconv  $LIBS"
47037 cat >conftest.$ac_ext <<_ACEOF
47038 #line $LINENO "configure"
47039 /* confdefs.h.  */
47040 _ACEOF
47041 cat confdefs.h >>conftest.$ac_ext
47042 cat >>conftest.$ac_ext <<_ACEOF
47043 /* end confdefs.h.  */
47044
47045 /* Override any gcc2 internal prototype to avoid an error.  */
47046 #ifdef __cplusplus
47047 extern "C"
47048 #endif
47049 /* We use char because int might match the return type of a gcc2
47050    builtin and then its argument prototype would still apply.  */
47051 char iconv ();
47052 int
47053 main ()
47054 {
47055 iconv ();
47056   ;
47057   return 0;
47058 }
47059 _ACEOF
47060 rm -f conftest.$ac_objext conftest$ac_exeext
47061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47062   (eval $ac_link) 2>&5
47063   ac_status=$?
47064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47065   (exit $ac_status); } &&
47066          { ac_try='test -s conftest$ac_exeext'
47067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47068   (eval $ac_try) 2>&5
47069   ac_status=$?
47070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47071   (exit $ac_status); }; }; then
47072   ac_cv_lib_iconv_iconv=yes
47073 else
47074   echo "$as_me: failed program was:" >&5
47075 sed 's/^/| /' conftest.$ac_ext >&5
47076
47077 ac_cv_lib_iconv_iconv=no
47078 fi
47079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47080 LIBS=$ac_check_lib_save_LIBS
47081 fi
47082 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
47083 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
47084 if test $ac_cv_lib_iconv_iconv = yes; then
47085   libiconv="-liconv"
47086 fi
47087
47088     ac_save_LIBS="$LIBS"
47089     LIBS="$LIBS $libiconv"
47090
47091
47092
47093
47094
47095 for ac_func in iconv_open iconv_close iconv nl_langinfo
47096 do
47097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47098 echo "$as_me:$LINENO: checking for $ac_func" >&5
47099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47100 if eval "test \"\${$as_ac_var+set}\" = set"; then
47101   echo $ECHO_N "(cached) $ECHO_C" >&6
47102 else
47103   cat >conftest.$ac_ext <<_ACEOF
47104 #line $LINENO "configure"
47105 /* confdefs.h.  */
47106 _ACEOF
47107 cat confdefs.h >>conftest.$ac_ext
47108 cat >>conftest.$ac_ext <<_ACEOF
47109 /* end confdefs.h.  */
47110 /* System header to define __stub macros and hopefully few prototypes,
47111     which can conflict with char $ac_func (); below.
47112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47113     <limits.h> exists even on freestanding compilers.  */
47114 #ifdef __STDC__
47115 # include <limits.h>
47116 #else
47117 # include <assert.h>
47118 #endif
47119 /* Override any gcc2 internal prototype to avoid an error.  */
47120 #ifdef __cplusplus
47121 extern "C"
47122 {
47123 #endif
47124 /* We use char because int might match the return type of a gcc2
47125    builtin and then its argument prototype would still apply.  */
47126 char $ac_func ();
47127 /* The GNU C library defines this for functions which it implements
47128     to always fail with ENOSYS.  Some functions are actually named
47129     something starting with __ and the normal name is an alias.  */
47130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47131 choke me
47132 #else
47133 char (*f) () = $ac_func;
47134 #endif
47135 #ifdef __cplusplus
47136 }
47137 #endif
47138
47139 int
47140 main ()
47141 {
47142 return f != $ac_func;
47143   ;
47144   return 0;
47145 }
47146 _ACEOF
47147 rm -f conftest.$ac_objext conftest$ac_exeext
47148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47149   (eval $ac_link) 2>&5
47150   ac_status=$?
47151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47152   (exit $ac_status); } &&
47153          { ac_try='test -s conftest$ac_exeext'
47154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47155   (eval $ac_try) 2>&5
47156   ac_status=$?
47157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158   (exit $ac_status); }; }; then
47159   eval "$as_ac_var=yes"
47160 else
47161   echo "$as_me: failed program was:" >&5
47162 sed 's/^/| /' conftest.$ac_ext >&5
47163
47164 eval "$as_ac_var=no"
47165 fi
47166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47167 fi
47168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47170 if test `eval echo '${'$as_ac_var'}'` = yes; then
47171   cat >>confdefs.h <<_ACEOF
47172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47173 _ACEOF
47174  ac_XPG2funcs=yes
47175 else
47176   ac_XPG2funcs=no
47177 fi
47178 done
47179
47180
47181     LIBS="$ac_save_LIBS"
47182
47183     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
47184 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
47185     if test x"$ac_has_iconv_h" = xyes &&
47186        test x"$ac_has_langinfo_h" = xyes &&
47187        test x"$ac_XPG2funcs" = xyes;
47188     then
47189       ac_XPG2_wchar_t=yes
47190     else
47191       ac_XPG2_wchar_t=no
47192     fi
47193     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
47194 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
47195
47196     # At the moment, only enable wchar_t specializations if all the
47197     # above support is present.
47198     if test x"$ac_isoC99_wchar_t" = xyes &&
47199        test x"$ac_XPG2_wchar_t" = xyes;
47200     then
47201       cat >>confdefs.h <<\_ACEOF
47202 #define _GLIBCXX_USE_WCHAR_T 1
47203 _ACEOF
47204
47205       enable_wchar_t=yes
47206     fi
47207   fi
47208   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
47209 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
47210   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
47211 echo "${ECHO_T}$enable_wchar_t" >&6
47212
47213     cat >>confdefs.h <<\_ACEOF
47214 #define HAVE_LC_MESSAGES 1
47215 _ACEOF
47216
47217     cat >>confdefs.h <<\_ACEOF
47218 #define HAVE_DRAND48 1
47219 _ACEOF
47220
47221     cat >>confdefs.h <<\_ACEOF
47222 #define HAVE_GETPAGESIZE 1
47223 _ACEOF
47224
47225     cat >>confdefs.h <<\_ACEOF
47226 #define HAVE_SETENV 1
47227 _ACEOF
47228
47229     cat >>confdefs.h <<\_ACEOF
47230 #define HAVE_SIGSETJMP 1
47231 _ACEOF
47232
47233     cat >>confdefs.h <<\_ACEOF
47234 #define HAVE_COPYSIGN 1
47235 _ACEOF
47236
47237     cat >>confdefs.h <<\_ACEOF
47238 #define HAVE_COPYSIGNF 1
47239 _ACEOF
47240
47241     cat >>confdefs.h <<\_ACEOF
47242 #define HAVE_FINITEF 1
47243 _ACEOF
47244
47245     cat >>confdefs.h <<\_ACEOF
47246 #define HAVE_FINITE 1
47247 _ACEOF
47248
47249     cat >>confdefs.h <<\_ACEOF
47250 #define HAVE_FREXPF 1
47251 _ACEOF
47252
47253     cat >>confdefs.h <<\_ACEOF
47254 #define HAVE_HYPOT 1
47255 _ACEOF
47256
47257     cat >>confdefs.h <<\_ACEOF
47258 #define HAVE_HYPOTF 1
47259 _ACEOF
47260
47261     cat >>confdefs.h <<\_ACEOF
47262 #define HAVE_ISINF 1
47263 _ACEOF
47264
47265     cat >>confdefs.h <<\_ACEOF
47266 #define HAVE_ISNAN 1
47267 _ACEOF
47268
47269     cat >>confdefs.h <<\_ACEOF
47270 #define HAVE_ISNANF 1
47271 _ACEOF
47272
47273
47274     cat >>confdefs.h <<\_ACEOF
47275 #define HAVE_MMAP 1
47276 _ACEOF
47277
47278     cat >>confdefs.h <<\_ACEOF
47279 #define HAVE_ACOSF 1
47280 _ACEOF
47281
47282     cat >>confdefs.h <<\_ACEOF
47283 #define HAVE_ASINF 1
47284 _ACEOF
47285
47286     cat >>confdefs.h <<\_ACEOF
47287 #define HAVE_ATAN2F 1
47288 _ACEOF
47289
47290     cat >>confdefs.h <<\_ACEOF
47291 #define HAVE_ATANF 1
47292 _ACEOF
47293
47294     cat >>confdefs.h <<\_ACEOF
47295 #define HAVE_CEILF 1
47296 _ACEOF
47297
47298     cat >>confdefs.h <<\_ACEOF
47299 #define HAVE_COPYSIGN 1
47300 _ACEOF
47301
47302     cat >>confdefs.h <<\_ACEOF
47303 #define HAVE_COPYSIGNF 1
47304 _ACEOF
47305
47306     cat >>confdefs.h <<\_ACEOF
47307 #define HAVE_COSF 1
47308 _ACEOF
47309
47310     cat >>confdefs.h <<\_ACEOF
47311 #define HAVE_COSHF 1
47312 _ACEOF
47313
47314     cat >>confdefs.h <<\_ACEOF
47315 #define HAVE_EXPF 1
47316 _ACEOF
47317
47318     cat >>confdefs.h <<\_ACEOF
47319 #define HAVE_FABSF 1
47320 _ACEOF
47321
47322     cat >>confdefs.h <<\_ACEOF
47323 #define HAVE_FLOORF 1
47324 _ACEOF
47325
47326     cat >>confdefs.h <<\_ACEOF
47327 #define HAVE_FMODF 1
47328 _ACEOF
47329
47330     cat >>confdefs.h <<\_ACEOF
47331 #define HAVE_FREXPF 1
47332 _ACEOF
47333
47334     cat >>confdefs.h <<\_ACEOF
47335 #define HAVE_LDEXPF 1
47336 _ACEOF
47337
47338     cat >>confdefs.h <<\_ACEOF
47339 #define HAVE_LOG10F 1
47340 _ACEOF
47341
47342     cat >>confdefs.h <<\_ACEOF
47343 #define HAVE_LOGF 1
47344 _ACEOF
47345
47346     cat >>confdefs.h <<\_ACEOF
47347 #define HAVE_MODFF 1
47348 _ACEOF
47349
47350     cat >>confdefs.h <<\_ACEOF
47351 #define HAVE_POWF 1
47352 _ACEOF
47353
47354     cat >>confdefs.h <<\_ACEOF
47355 #define HAVE_SINF 1
47356 _ACEOF
47357
47358     cat >>confdefs.h <<\_ACEOF
47359 #define HAVE_SINHF 1
47360 _ACEOF
47361
47362     cat >>confdefs.h <<\_ACEOF
47363 #define HAVE_SQRTF 1
47364 _ACEOF
47365
47366     cat >>confdefs.h <<\_ACEOF
47367 #define HAVE_TANF 1
47368 _ACEOF
47369
47370     cat >>confdefs.h <<\_ACEOF
47371 #define HAVE_TANHF 1
47372 _ACEOF
47373
47374     if test x"long_double_math_on_this_cpu" = x"yes"; then
47375       cat >>confdefs.h <<\_ACEOF
47376 #define HAVE_FINITEL 1
47377 _ACEOF
47378
47379       cat >>confdefs.h <<\_ACEOF
47380 #define HAVE_ISINFL 1
47381 _ACEOF
47382
47383       cat >>confdefs.h <<\_ACEOF
47384 #define HAVE_ISNANL 1
47385 _ACEOF
47386
47387     fi
47388     ;;
47389   *-hpux*)
47390     #os_include_dir="os/hpux"
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
47404       machine/endian.h machine/param.h sys/machine.h sys/types.h \
47405       fp.h locale.h float.h inttypes.h
47406 do
47407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47409   echo "$as_me:$LINENO: checking for $ac_header" >&5
47410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47412   echo $ECHO_N "(cached) $ECHO_C" >&6
47413 fi
47414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47416 else
47417   # Is the header compilable?
47418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47420 cat >conftest.$ac_ext <<_ACEOF
47421 #line $LINENO "configure"
47422 /* confdefs.h.  */
47423 _ACEOF
47424 cat confdefs.h >>conftest.$ac_ext
47425 cat >>conftest.$ac_ext <<_ACEOF
47426 /* end confdefs.h.  */
47427 $ac_includes_default
47428 #include <$ac_header>
47429 _ACEOF
47430 rm -f conftest.$ac_objext
47431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47432   (eval $ac_compile) 2>&5
47433   ac_status=$?
47434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47435   (exit $ac_status); } &&
47436          { ac_try='test -s conftest.$ac_objext'
47437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47438   (eval $ac_try) 2>&5
47439   ac_status=$?
47440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47441   (exit $ac_status); }; }; then
47442   ac_header_compiler=yes
47443 else
47444   echo "$as_me: failed program was:" >&5
47445 sed 's/^/| /' conftest.$ac_ext >&5
47446
47447 ac_header_compiler=no
47448 fi
47449 rm -f conftest.$ac_objext conftest.$ac_ext
47450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47451 echo "${ECHO_T}$ac_header_compiler" >&6
47452
47453 # Is the header present?
47454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47456 cat >conftest.$ac_ext <<_ACEOF
47457 #line $LINENO "configure"
47458 /* confdefs.h.  */
47459 _ACEOF
47460 cat confdefs.h >>conftest.$ac_ext
47461 cat >>conftest.$ac_ext <<_ACEOF
47462 /* end confdefs.h.  */
47463 #include <$ac_header>
47464 _ACEOF
47465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47466   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47467   ac_status=$?
47468   grep -v '^ *+' conftest.er1 >conftest.err
47469   rm -f conftest.er1
47470   cat conftest.err >&5
47471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47472   (exit $ac_status); } >/dev/null; then
47473   if test -s conftest.err; then
47474     ac_cpp_err=$ac_c_preproc_warn_flag
47475   else
47476     ac_cpp_err=
47477   fi
47478 else
47479   ac_cpp_err=yes
47480 fi
47481 if test -z "$ac_cpp_err"; then
47482   ac_header_preproc=yes
47483 else
47484   echo "$as_me: failed program was:" >&5
47485 sed 's/^/| /' conftest.$ac_ext >&5
47486
47487   ac_header_preproc=no
47488 fi
47489 rm -f conftest.err conftest.$ac_ext
47490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47491 echo "${ECHO_T}$ac_header_preproc" >&6
47492
47493 # So?  What about this header?
47494 case $ac_header_compiler:$ac_header_preproc in
47495   yes:no )
47496     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47498     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47500     (
47501       cat <<\_ASBOX
47502 ## ------------------------------------ ##
47503 ## Report this to bug-autoconf@gnu.org. ##
47504 ## ------------------------------------ ##
47505 _ASBOX
47506     ) |
47507       sed "s/^/$as_me: WARNING:     /" >&2
47508     ;;
47509   no:yes )
47510     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47512     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47514     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47515 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47516     (
47517       cat <<\_ASBOX
47518 ## ------------------------------------ ##
47519 ## Report this to bug-autoconf@gnu.org. ##
47520 ## ------------------------------------ ##
47521 _ASBOX
47522     ) |
47523       sed "s/^/$as_me: WARNING:     /" >&2
47524     ;;
47525 esac
47526 echo "$as_me:$LINENO: checking for $ac_header" >&5
47527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47529   echo $ECHO_N "(cached) $ECHO_C" >&6
47530 else
47531   eval "$as_ac_Header=$ac_header_preproc"
47532 fi
47533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47535
47536 fi
47537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47538   cat >>confdefs.h <<_ACEOF
47539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47540 _ACEOF
47541
47542 fi
47543
47544 done
47545
47546     SECTION_FLAGS='-ffunction-sections -fdata-sections'
47547
47548
47549   # If we're not using GNU ld, then there's no point in even trying these
47550   # tests.  Check for that first.  We should have already tested for gld
47551   # by now (in libtool), but require it now just to be safe...
47552   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47553   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47554
47555
47556
47557   # The name set by libtool depends on the version of libtool.  Shame on us
47558   # for depending on an impl detail, but c'est la vie.  Older versions used
47559   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47560   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47561   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47562   # set (hence we're using an older libtool), then set it.
47563   if test x${with_gnu_ld+set} != xset; then
47564     if test x${ac_cv_prog_gnu_ld+set} != xset; then
47565       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47566       with_gnu_ld=no
47567     else
47568       with_gnu_ld=$ac_cv_prog_gnu_ld
47569     fi
47570   fi
47571
47572   # Start by getting the version number.  I think the libtool test already
47573   # does some of this, but throws away the result.
47574
47575   ldver=`$LD --version 2>/dev/null | head -1 | \
47576          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
47577
47578   glibcxx_gnu_ld_version=`echo $ldver | \
47579          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47580
47581   # Set --gc-sections.
47582   if test "$with_gnu_ld" = "notbroken"; then
47583     # GNU ld it is!  Joy and bunny rabbits!
47584
47585     # All these tests are for C++; save the language and the compiler flags.
47586     # Need to do this so that g++ won't try to link in libstdc++
47587     ac_test_CFLAGS="${CFLAGS+set}"
47588     ac_save_CFLAGS="$CFLAGS"
47589     CFLAGS='-x c++  -Wl,--gc-sections'
47590
47591     # Check for -Wl,--gc-sections
47592     # XXX This test is broken at the moment, as symbols required for linking
47593     # are now in libsupc++ (not built yet).  In addition, this test has
47594     # cored on solaris in the past.  In addition, --gc-sections doesn't
47595     # really work at the moment (keeps on discarding used sections, first
47596     # .eh_frame and now some of the glibc sections for iconv).
47597     # Bzzzzt.  Thanks for playing, maybe next time.
47598     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
47599 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
47600     if test "$cross_compiling" = yes; then
47601   ac_sectionLDflags=yes
47602 else
47603   cat >conftest.$ac_ext <<_ACEOF
47604 #line $LINENO "configure"
47605 /* confdefs.h.  */
47606 _ACEOF
47607 cat confdefs.h >>conftest.$ac_ext
47608 cat >>conftest.$ac_ext <<_ACEOF
47609 /* end confdefs.h.  */
47610
47611      int main(void)
47612      {
47613        try { throw 1; }
47614        catch (...) { };
47615        return 0;
47616      }
47617
47618 _ACEOF
47619 rm -f conftest$ac_exeext
47620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47621   (eval $ac_link) 2>&5
47622   ac_status=$?
47623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47626   (eval $ac_try) 2>&5
47627   ac_status=$?
47628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629   (exit $ac_status); }; }; then
47630   ac_sectionLDflags=yes
47631 else
47632   echo "$as_me: program exited with status $ac_status" >&5
47633 echo "$as_me: failed program was:" >&5
47634 sed 's/^/| /' conftest.$ac_ext >&5
47635
47636 ( exit $ac_status )
47637 ac_sectionLDflags=no
47638 fi
47639 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47640 fi
47641     if test "$ac_test_CFLAGS" = set; then
47642       CFLAGS="$ac_save_CFLAGS"
47643     else
47644       # this is the suspicious part
47645       CFLAGS=''
47646     fi
47647     if test "$ac_sectionLDflags" = "yes"; then
47648       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47649     fi
47650     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
47651 echo "${ECHO_T}$ac_sectionLDflags" >&6
47652   fi
47653
47654   # Set linker optimization flags.
47655   if test x"$with_gnu_ld" = x"yes"; then
47656     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47657   fi
47658
47659
47660
47661
47662
47663
47664 echo "$as_me:$LINENO: checking for main in -lm" >&5
47665 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47666 if test "${ac_cv_lib_m_main+set}" = set; then
47667   echo $ECHO_N "(cached) $ECHO_C" >&6
47668 else
47669   ac_check_lib_save_LIBS=$LIBS
47670 LIBS="-lm  $LIBS"
47671 cat >conftest.$ac_ext <<_ACEOF
47672 #line $LINENO "configure"
47673 /* confdefs.h.  */
47674 _ACEOF
47675 cat confdefs.h >>conftest.$ac_ext
47676 cat >>conftest.$ac_ext <<_ACEOF
47677 /* end confdefs.h.  */
47678
47679
47680 int
47681 main ()
47682 {
47683 main ();
47684   ;
47685   return 0;
47686 }
47687 _ACEOF
47688 rm -f conftest.$ac_objext conftest$ac_exeext
47689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47690   (eval $ac_link) 2>&5
47691   ac_status=$?
47692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693   (exit $ac_status); } &&
47694          { ac_try='test -s conftest$ac_exeext'
47695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47696   (eval $ac_try) 2>&5
47697   ac_status=$?
47698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699   (exit $ac_status); }; }; then
47700   ac_cv_lib_m_main=yes
47701 else
47702   echo "$as_me: failed program was:" >&5
47703 sed 's/^/| /' conftest.$ac_ext >&5
47704
47705 ac_cv_lib_m_main=no
47706 fi
47707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47708 LIBS=$ac_check_lib_save_LIBS
47709 fi
47710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47711 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47712 if test $ac_cv_lib_m_main = yes; then
47713   cat >>confdefs.h <<_ACEOF
47714 #define HAVE_LIBM 1
47715 _ACEOF
47716
47717   LIBS="-lm $LIBS"
47718
47719 fi
47720
47721
47722
47723 for ac_func in nan copysignf
47724 do
47725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47726 echo "$as_me:$LINENO: checking for $ac_func" >&5
47727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47728 if eval "test \"\${$as_ac_var+set}\" = set"; then
47729   echo $ECHO_N "(cached) $ECHO_C" >&6
47730 else
47731   cat >conftest.$ac_ext <<_ACEOF
47732 #line $LINENO "configure"
47733 /* confdefs.h.  */
47734 _ACEOF
47735 cat confdefs.h >>conftest.$ac_ext
47736 cat >>conftest.$ac_ext <<_ACEOF
47737 /* end confdefs.h.  */
47738 /* System header to define __stub macros and hopefully few prototypes,
47739     which can conflict with char $ac_func (); below.
47740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47741     <limits.h> exists even on freestanding compilers.  */
47742 #ifdef __STDC__
47743 # include <limits.h>
47744 #else
47745 # include <assert.h>
47746 #endif
47747 /* Override any gcc2 internal prototype to avoid an error.  */
47748 #ifdef __cplusplus
47749 extern "C"
47750 {
47751 #endif
47752 /* We use char because int might match the return type of a gcc2
47753    builtin and then its argument prototype would still apply.  */
47754 char $ac_func ();
47755 /* The GNU C library defines this for functions which it implements
47756     to always fail with ENOSYS.  Some functions are actually named
47757     something starting with __ and the normal name is an alias.  */
47758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47759 choke me
47760 #else
47761 char (*f) () = $ac_func;
47762 #endif
47763 #ifdef __cplusplus
47764 }
47765 #endif
47766
47767 int
47768 main ()
47769 {
47770 return f != $ac_func;
47771   ;
47772   return 0;
47773 }
47774 _ACEOF
47775 rm -f conftest.$ac_objext conftest$ac_exeext
47776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47777   (eval $ac_link) 2>&5
47778   ac_status=$?
47779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47780   (exit $ac_status); } &&
47781          { ac_try='test -s conftest$ac_exeext'
47782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47783   (eval $ac_try) 2>&5
47784   ac_status=$?
47785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47786   (exit $ac_status); }; }; then
47787   eval "$as_ac_var=yes"
47788 else
47789   echo "$as_me: failed program was:" >&5
47790 sed 's/^/| /' conftest.$ac_ext >&5
47791
47792 eval "$as_ac_var=no"
47793 fi
47794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47795 fi
47796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47798 if test `eval echo '${'$as_ac_var'}'` = yes; then
47799   cat >>confdefs.h <<_ACEOF
47800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47801 _ACEOF
47802
47803 else
47804   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47805 fi
47806 done
47807
47808
47809
47810 for ac_func in __signbit
47811 do
47812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47813 echo "$as_me:$LINENO: checking for $ac_func" >&5
47814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47815 if eval "test \"\${$as_ac_var+set}\" = set"; then
47816   echo $ECHO_N "(cached) $ECHO_C" >&6
47817 else
47818   cat >conftest.$ac_ext <<_ACEOF
47819 #line $LINENO "configure"
47820 /* confdefs.h.  */
47821 _ACEOF
47822 cat confdefs.h >>conftest.$ac_ext
47823 cat >>conftest.$ac_ext <<_ACEOF
47824 /* end confdefs.h.  */
47825 /* System header to define __stub macros and hopefully few prototypes,
47826     which can conflict with char $ac_func (); below.
47827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47828     <limits.h> exists even on freestanding compilers.  */
47829 #ifdef __STDC__
47830 # include <limits.h>
47831 #else
47832 # include <assert.h>
47833 #endif
47834 /* Override any gcc2 internal prototype to avoid an error.  */
47835 #ifdef __cplusplus
47836 extern "C"
47837 {
47838 #endif
47839 /* We use char because int might match the return type of a gcc2
47840    builtin and then its argument prototype would still apply.  */
47841 char $ac_func ();
47842 /* The GNU C library defines this for functions which it implements
47843     to always fail with ENOSYS.  Some functions are actually named
47844     something starting with __ and the normal name is an alias.  */
47845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47846 choke me
47847 #else
47848 char (*f) () = $ac_func;
47849 #endif
47850 #ifdef __cplusplus
47851 }
47852 #endif
47853
47854 int
47855 main ()
47856 {
47857 return f != $ac_func;
47858   ;
47859   return 0;
47860 }
47861 _ACEOF
47862 rm -f conftest.$ac_objext conftest$ac_exeext
47863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47864   (eval $ac_link) 2>&5
47865   ac_status=$?
47866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867   (exit $ac_status); } &&
47868          { ac_try='test -s conftest$ac_exeext'
47869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47870   (eval $ac_try) 2>&5
47871   ac_status=$?
47872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47873   (exit $ac_status); }; }; then
47874   eval "$as_ac_var=yes"
47875 else
47876   echo "$as_me: failed program was:" >&5
47877 sed 's/^/| /' conftest.$ac_ext >&5
47878
47879 eval "$as_ac_var=no"
47880 fi
47881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47882 fi
47883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47885 if test `eval echo '${'$as_ac_var'}'` = yes; then
47886   cat >>confdefs.h <<_ACEOF
47887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47888 _ACEOF
47889
47890 else
47891   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47892 fi
47893 done
47894
47895
47896 for ac_func in __signbitf
47897 do
47898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47899 echo "$as_me:$LINENO: checking for $ac_func" >&5
47900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47901 if eval "test \"\${$as_ac_var+set}\" = set"; then
47902   echo $ECHO_N "(cached) $ECHO_C" >&6
47903 else
47904   cat >conftest.$ac_ext <<_ACEOF
47905 #line $LINENO "configure"
47906 /* confdefs.h.  */
47907 _ACEOF
47908 cat confdefs.h >>conftest.$ac_ext
47909 cat >>conftest.$ac_ext <<_ACEOF
47910 /* end confdefs.h.  */
47911 /* System header to define __stub macros and hopefully few prototypes,
47912     which can conflict with char $ac_func (); below.
47913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47914     <limits.h> exists even on freestanding compilers.  */
47915 #ifdef __STDC__
47916 # include <limits.h>
47917 #else
47918 # include <assert.h>
47919 #endif
47920 /* Override any gcc2 internal prototype to avoid an error.  */
47921 #ifdef __cplusplus
47922 extern "C"
47923 {
47924 #endif
47925 /* We use char because int might match the return type of a gcc2
47926    builtin and then its argument prototype would still apply.  */
47927 char $ac_func ();
47928 /* The GNU C library defines this for functions which it implements
47929     to always fail with ENOSYS.  Some functions are actually named
47930     something starting with __ and the normal name is an alias.  */
47931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47932 choke me
47933 #else
47934 char (*f) () = $ac_func;
47935 #endif
47936 #ifdef __cplusplus
47937 }
47938 #endif
47939
47940 int
47941 main ()
47942 {
47943 return f != $ac_func;
47944   ;
47945   return 0;
47946 }
47947 _ACEOF
47948 rm -f conftest.$ac_objext conftest$ac_exeext
47949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47950   (eval $ac_link) 2>&5
47951   ac_status=$?
47952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47953   (exit $ac_status); } &&
47954          { ac_try='test -s conftest$ac_exeext'
47955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47956   (eval $ac_try) 2>&5
47957   ac_status=$?
47958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959   (exit $ac_status); }; }; then
47960   eval "$as_ac_var=yes"
47961 else
47962   echo "$as_me: failed program was:" >&5
47963 sed 's/^/| /' conftest.$ac_ext >&5
47964
47965 eval "$as_ac_var=no"
47966 fi
47967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47968 fi
47969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47971 if test `eval echo '${'$as_ac_var'}'` = yes; then
47972   cat >>confdefs.h <<_ACEOF
47973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47974 _ACEOF
47975
47976 else
47977   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47978 fi
47979 done
47980
47981
47982           if test x$ac_cv_func_copysignl = x"yes"; then
47983
47984 for ac_func in __signbitl
47985 do
47986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47987 echo "$as_me:$LINENO: checking for $ac_func" >&5
47988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47989 if eval "test \"\${$as_ac_var+set}\" = set"; then
47990   echo $ECHO_N "(cached) $ECHO_C" >&6
47991 else
47992   cat >conftest.$ac_ext <<_ACEOF
47993 #line $LINENO "configure"
47994 /* confdefs.h.  */
47995 _ACEOF
47996 cat confdefs.h >>conftest.$ac_ext
47997 cat >>conftest.$ac_ext <<_ACEOF
47998 /* end confdefs.h.  */
47999 /* System header to define __stub macros and hopefully few prototypes,
48000     which can conflict with char $ac_func (); below.
48001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48002     <limits.h> exists even on freestanding compilers.  */
48003 #ifdef __STDC__
48004 # include <limits.h>
48005 #else
48006 # include <assert.h>
48007 #endif
48008 /* Override any gcc2 internal prototype to avoid an error.  */
48009 #ifdef __cplusplus
48010 extern "C"
48011 {
48012 #endif
48013 /* We use char because int might match the return type of a gcc2
48014    builtin and then its argument prototype would still apply.  */
48015 char $ac_func ();
48016 /* The GNU C library defines this for functions which it implements
48017     to always fail with ENOSYS.  Some functions are actually named
48018     something starting with __ and the normal name is an alias.  */
48019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48020 choke me
48021 #else
48022 char (*f) () = $ac_func;
48023 #endif
48024 #ifdef __cplusplus
48025 }
48026 #endif
48027
48028 int
48029 main ()
48030 {
48031 return f != $ac_func;
48032   ;
48033   return 0;
48034 }
48035 _ACEOF
48036 rm -f conftest.$ac_objext conftest$ac_exeext
48037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48038   (eval $ac_link) 2>&5
48039   ac_status=$?
48040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48041   (exit $ac_status); } &&
48042          { ac_try='test -s conftest$ac_exeext'
48043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48044   (eval $ac_try) 2>&5
48045   ac_status=$?
48046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047   (exit $ac_status); }; }; then
48048   eval "$as_ac_var=yes"
48049 else
48050   echo "$as_me: failed program was:" >&5
48051 sed 's/^/| /' conftest.$ac_ext >&5
48052
48053 eval "$as_ac_var=no"
48054 fi
48055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48056 fi
48057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48059 if test `eval echo '${'$as_ac_var'}'` = yes; then
48060   cat >>confdefs.h <<_ACEOF
48061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48062 _ACEOF
48063
48064 else
48065   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
48066 fi
48067 done
48068
48069   fi
48070
48071   # XXX Review this.  Nothing uses it.
48072   if test -n "$LIBMATHOBJS"; then
48073     need_libmath=yes
48074   fi
48075
48076
48077
48078   # Test wchar.h for mbstate_t, which is needed for char_traits and
48079   # others even if wchar_t support is not on.
48080   echo "$as_me:$LINENO: checking for mbstate_t" >&5
48081 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
48082   cat >conftest.$ac_ext <<_ACEOF
48083 #line $LINENO "configure"
48084 /* confdefs.h.  */
48085 _ACEOF
48086 cat confdefs.h >>conftest.$ac_ext
48087 cat >>conftest.$ac_ext <<_ACEOF
48088 /* end confdefs.h.  */
48089 #include <wchar.h>
48090 int
48091 main ()
48092 {
48093 mbstate_t teststate;
48094   ;
48095   return 0;
48096 }
48097 _ACEOF
48098 rm -f conftest.$ac_objext
48099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48100   (eval $ac_compile) 2>&5
48101   ac_status=$?
48102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48103   (exit $ac_status); } &&
48104          { ac_try='test -s conftest.$ac_objext'
48105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48106   (eval $ac_try) 2>&5
48107   ac_status=$?
48108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48109   (exit $ac_status); }; }; then
48110   have_mbstate_t=yes
48111 else
48112   echo "$as_me: failed program was:" >&5
48113 sed 's/^/| /' conftest.$ac_ext >&5
48114
48115 have_mbstate_t=no
48116 fi
48117 rm -f conftest.$ac_objext conftest.$ac_ext
48118   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
48119 echo "${ECHO_T}$have_mbstate_t" >&6
48120   if test x"$have_mbstate_t" = xyes; then
48121     cat >>confdefs.h <<\_ACEOF
48122 #define HAVE_MBSTATE_T 1
48123 _ACEOF
48124
48125   fi
48126
48127   # Sanity check for existence of ISO C99 headers for extended encoding.
48128
48129 for ac_header in wchar.h
48130 do
48131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48133   echo "$as_me:$LINENO: checking for $ac_header" >&5
48134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48136   echo $ECHO_N "(cached) $ECHO_C" >&6
48137 fi
48138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48140 else
48141   # Is the header compilable?
48142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48144 cat >conftest.$ac_ext <<_ACEOF
48145 #line $LINENO "configure"
48146 /* confdefs.h.  */
48147 _ACEOF
48148 cat confdefs.h >>conftest.$ac_ext
48149 cat >>conftest.$ac_ext <<_ACEOF
48150 /* end confdefs.h.  */
48151 $ac_includes_default
48152 #include <$ac_header>
48153 _ACEOF
48154 rm -f conftest.$ac_objext
48155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48156   (eval $ac_compile) 2>&5
48157   ac_status=$?
48158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48159   (exit $ac_status); } &&
48160          { ac_try='test -s conftest.$ac_objext'
48161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48162   (eval $ac_try) 2>&5
48163   ac_status=$?
48164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48165   (exit $ac_status); }; }; then
48166   ac_header_compiler=yes
48167 else
48168   echo "$as_me: failed program was:" >&5
48169 sed 's/^/| /' conftest.$ac_ext >&5
48170
48171 ac_header_compiler=no
48172 fi
48173 rm -f conftest.$ac_objext conftest.$ac_ext
48174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48175 echo "${ECHO_T}$ac_header_compiler" >&6
48176
48177 # Is the header present?
48178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48180 cat >conftest.$ac_ext <<_ACEOF
48181 #line $LINENO "configure"
48182 /* confdefs.h.  */
48183 _ACEOF
48184 cat confdefs.h >>conftest.$ac_ext
48185 cat >>conftest.$ac_ext <<_ACEOF
48186 /* end confdefs.h.  */
48187 #include <$ac_header>
48188 _ACEOF
48189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48190   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48191   ac_status=$?
48192   grep -v '^ *+' conftest.er1 >conftest.err
48193   rm -f conftest.er1
48194   cat conftest.err >&5
48195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48196   (exit $ac_status); } >/dev/null; then
48197   if test -s conftest.err; then
48198     ac_cpp_err=$ac_c_preproc_warn_flag
48199   else
48200     ac_cpp_err=
48201   fi
48202 else
48203   ac_cpp_err=yes
48204 fi
48205 if test -z "$ac_cpp_err"; then
48206   ac_header_preproc=yes
48207 else
48208   echo "$as_me: failed program was:" >&5
48209 sed 's/^/| /' conftest.$ac_ext >&5
48210
48211   ac_header_preproc=no
48212 fi
48213 rm -f conftest.err conftest.$ac_ext
48214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48215 echo "${ECHO_T}$ac_header_preproc" >&6
48216
48217 # So?  What about this header?
48218 case $ac_header_compiler:$ac_header_preproc in
48219   yes:no )
48220     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48222     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48224     (
48225       cat <<\_ASBOX
48226 ## ------------------------------------ ##
48227 ## Report this to bug-autoconf@gnu.org. ##
48228 ## ------------------------------------ ##
48229 _ASBOX
48230     ) |
48231       sed "s/^/$as_me: WARNING:     /" >&2
48232     ;;
48233   no:yes )
48234     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48236     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48238     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48240     (
48241       cat <<\_ASBOX
48242 ## ------------------------------------ ##
48243 ## Report this to bug-autoconf@gnu.org. ##
48244 ## ------------------------------------ ##
48245 _ASBOX
48246     ) |
48247       sed "s/^/$as_me: WARNING:     /" >&2
48248     ;;
48249 esac
48250 echo "$as_me:$LINENO: checking for $ac_header" >&5
48251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48253   echo $ECHO_N "(cached) $ECHO_C" >&6
48254 else
48255   eval "$as_ac_Header=$ac_header_preproc"
48256 fi
48257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48259
48260 fi
48261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48262   cat >>confdefs.h <<_ACEOF
48263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48264 _ACEOF
48265  ac_has_wchar_h=yes
48266 else
48267   ac_has_wchar_h=no
48268 fi
48269
48270 done
48271
48272
48273 for ac_header in wctype.h
48274 do
48275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48277   echo "$as_me:$LINENO: checking for $ac_header" >&5
48278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48280   echo $ECHO_N "(cached) $ECHO_C" >&6
48281 fi
48282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48284 else
48285   # Is the header compilable?
48286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48288 cat >conftest.$ac_ext <<_ACEOF
48289 #line $LINENO "configure"
48290 /* confdefs.h.  */
48291 _ACEOF
48292 cat confdefs.h >>conftest.$ac_ext
48293 cat >>conftest.$ac_ext <<_ACEOF
48294 /* end confdefs.h.  */
48295 $ac_includes_default
48296 #include <$ac_header>
48297 _ACEOF
48298 rm -f conftest.$ac_objext
48299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48300   (eval $ac_compile) 2>&5
48301   ac_status=$?
48302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48303   (exit $ac_status); } &&
48304          { ac_try='test -s conftest.$ac_objext'
48305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48306   (eval $ac_try) 2>&5
48307   ac_status=$?
48308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48309   (exit $ac_status); }; }; then
48310   ac_header_compiler=yes
48311 else
48312   echo "$as_me: failed program was:" >&5
48313 sed 's/^/| /' conftest.$ac_ext >&5
48314
48315 ac_header_compiler=no
48316 fi
48317 rm -f conftest.$ac_objext conftest.$ac_ext
48318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48319 echo "${ECHO_T}$ac_header_compiler" >&6
48320
48321 # Is the header present?
48322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48324 cat >conftest.$ac_ext <<_ACEOF
48325 #line $LINENO "configure"
48326 /* confdefs.h.  */
48327 _ACEOF
48328 cat confdefs.h >>conftest.$ac_ext
48329 cat >>conftest.$ac_ext <<_ACEOF
48330 /* end confdefs.h.  */
48331 #include <$ac_header>
48332 _ACEOF
48333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48334   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48335   ac_status=$?
48336   grep -v '^ *+' conftest.er1 >conftest.err
48337   rm -f conftest.er1
48338   cat conftest.err >&5
48339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48340   (exit $ac_status); } >/dev/null; then
48341   if test -s conftest.err; then
48342     ac_cpp_err=$ac_c_preproc_warn_flag
48343   else
48344     ac_cpp_err=
48345   fi
48346 else
48347   ac_cpp_err=yes
48348 fi
48349 if test -z "$ac_cpp_err"; then
48350   ac_header_preproc=yes
48351 else
48352   echo "$as_me: failed program was:" >&5
48353 sed 's/^/| /' conftest.$ac_ext >&5
48354
48355   ac_header_preproc=no
48356 fi
48357 rm -f conftest.err conftest.$ac_ext
48358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48359 echo "${ECHO_T}$ac_header_preproc" >&6
48360
48361 # So?  What about this header?
48362 case $ac_header_compiler:$ac_header_preproc in
48363   yes:no )
48364     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48366     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48368     (
48369       cat <<\_ASBOX
48370 ## ------------------------------------ ##
48371 ## Report this to bug-autoconf@gnu.org. ##
48372 ## ------------------------------------ ##
48373 _ASBOX
48374     ) |
48375       sed "s/^/$as_me: WARNING:     /" >&2
48376     ;;
48377   no:yes )
48378     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48380     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48382     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48384     (
48385       cat <<\_ASBOX
48386 ## ------------------------------------ ##
48387 ## Report this to bug-autoconf@gnu.org. ##
48388 ## ------------------------------------ ##
48389 _ASBOX
48390     ) |
48391       sed "s/^/$as_me: WARNING:     /" >&2
48392     ;;
48393 esac
48394 echo "$as_me:$LINENO: checking for $ac_header" >&5
48395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48397   echo $ECHO_N "(cached) $ECHO_C" >&6
48398 else
48399   eval "$as_ac_Header=$ac_header_preproc"
48400 fi
48401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48403
48404 fi
48405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48406   cat >>confdefs.h <<_ACEOF
48407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48408 _ACEOF
48409  ac_has_wctype_h=yes
48410 else
48411   ac_has_wctype_h=no
48412 fi
48413
48414 done
48415
48416
48417   # Only continue checking if the ISO C99 headers exist and support is on.
48418   if test x"$ac_has_wchar_h" = xyes &&
48419      test x"$ac_has_wctype_h" = xyes &&
48420      test x"$enable_c_mbchar" != xno; then
48421
48422     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
48423     # numeric_limits can instantiate type_traits<wchar_t>
48424     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
48425 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
48426     cat >conftest.$ac_ext <<_ACEOF
48427 #line $LINENO "configure"
48428 /* confdefs.h.  */
48429 _ACEOF
48430 cat confdefs.h >>conftest.$ac_ext
48431 cat >>conftest.$ac_ext <<_ACEOF
48432 /* end confdefs.h.  */
48433 #include <wchar.h>
48434 int
48435 main ()
48436 {
48437 int i = WCHAR_MIN; int j = WCHAR_MAX;
48438   ;
48439   return 0;
48440 }
48441 _ACEOF
48442 rm -f conftest.$ac_objext
48443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48444   (eval $ac_compile) 2>&5
48445   ac_status=$?
48446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447   (exit $ac_status); } &&
48448          { ac_try='test -s conftest.$ac_objext'
48449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450   (eval $ac_try) 2>&5
48451   ac_status=$?
48452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453   (exit $ac_status); }; }; then
48454   has_wchar_minmax=yes
48455 else
48456   echo "$as_me: failed program was:" >&5
48457 sed 's/^/| /' conftest.$ac_ext >&5
48458
48459 has_wchar_minmax=no
48460 fi
48461 rm -f conftest.$ac_objext conftest.$ac_ext
48462     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
48463 echo "${ECHO_T}$has_wchar_minmax" >&6
48464
48465     # Test wchar.h for WEOF, which is what we use to determine whether
48466     # to specialize for char_traits<wchar_t> or not.
48467     echo "$as_me:$LINENO: checking for WEOF" >&5
48468 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
48469     cat >conftest.$ac_ext <<_ACEOF
48470 #line $LINENO "configure"
48471 /* confdefs.h.  */
48472 _ACEOF
48473 cat confdefs.h >>conftest.$ac_ext
48474 cat >>conftest.$ac_ext <<_ACEOF
48475 /* end confdefs.h.  */
48476
48477       #include <wchar.h>
48478       #include <stddef.h>
48479 int
48480 main ()
48481 {
48482 wint_t i = WEOF;
48483   ;
48484   return 0;
48485 }
48486 _ACEOF
48487 rm -f conftest.$ac_objext
48488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48489   (eval $ac_compile) 2>&5
48490   ac_status=$?
48491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48492   (exit $ac_status); } &&
48493          { ac_try='test -s conftest.$ac_objext'
48494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48495   (eval $ac_try) 2>&5
48496   ac_status=$?
48497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498   (exit $ac_status); }; }; then
48499   has_weof=yes
48500 else
48501   echo "$as_me: failed program was:" >&5
48502 sed 's/^/| /' conftest.$ac_ext >&5
48503
48504 has_weof=no
48505 fi
48506 rm -f conftest.$ac_objext conftest.$ac_ext
48507     echo "$as_me:$LINENO: result: $has_weof" >&5
48508 echo "${ECHO_T}$has_weof" >&6
48509
48510     # Tests for wide character functions used in char_traits<wchar_t>.
48511     ac_wfuncs=yes
48512
48513
48514
48515
48516
48517
48518 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
48519 do
48520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48521 echo "$as_me:$LINENO: checking for $ac_func" >&5
48522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48523 if eval "test \"\${$as_ac_var+set}\" = set"; then
48524   echo $ECHO_N "(cached) $ECHO_C" >&6
48525 else
48526   cat >conftest.$ac_ext <<_ACEOF
48527 #line $LINENO "configure"
48528 /* confdefs.h.  */
48529 _ACEOF
48530 cat confdefs.h >>conftest.$ac_ext
48531 cat >>conftest.$ac_ext <<_ACEOF
48532 /* end confdefs.h.  */
48533 /* System header to define __stub macros and hopefully few prototypes,
48534     which can conflict with char $ac_func (); below.
48535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48536     <limits.h> exists even on freestanding compilers.  */
48537 #ifdef __STDC__
48538 # include <limits.h>
48539 #else
48540 # include <assert.h>
48541 #endif
48542 /* Override any gcc2 internal prototype to avoid an error.  */
48543 #ifdef __cplusplus
48544 extern "C"
48545 {
48546 #endif
48547 /* We use char because int might match the return type of a gcc2
48548    builtin and then its argument prototype would still apply.  */
48549 char $ac_func ();
48550 /* The GNU C library defines this for functions which it implements
48551     to always fail with ENOSYS.  Some functions are actually named
48552     something starting with __ and the normal name is an alias.  */
48553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48554 choke me
48555 #else
48556 char (*f) () = $ac_func;
48557 #endif
48558 #ifdef __cplusplus
48559 }
48560 #endif
48561
48562 int
48563 main ()
48564 {
48565 return f != $ac_func;
48566   ;
48567   return 0;
48568 }
48569 _ACEOF
48570 rm -f conftest.$ac_objext conftest$ac_exeext
48571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48572   (eval $ac_link) 2>&5
48573   ac_status=$?
48574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48575   (exit $ac_status); } &&
48576          { ac_try='test -s conftest$ac_exeext'
48577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48578   (eval $ac_try) 2>&5
48579   ac_status=$?
48580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48581   (exit $ac_status); }; }; then
48582   eval "$as_ac_var=yes"
48583 else
48584   echo "$as_me: failed program was:" >&5
48585 sed 's/^/| /' conftest.$ac_ext >&5
48586
48587 eval "$as_ac_var=no"
48588 fi
48589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48590 fi
48591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48593 if test `eval echo '${'$as_ac_var'}'` = yes; then
48594   cat >>confdefs.h <<_ACEOF
48595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48596 _ACEOF
48597
48598 else
48599   ac_wfuncs=no
48600 fi
48601 done
48602
48603
48604     # Checks for names injected into std:: by the c_std headers.
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48656     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
48657     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48658     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
48659     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48660     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48661 do
48662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48663 echo "$as_me:$LINENO: checking for $ac_func" >&5
48664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48665 if eval "test \"\${$as_ac_var+set}\" = set"; then
48666   echo $ECHO_N "(cached) $ECHO_C" >&6
48667 else
48668   cat >conftest.$ac_ext <<_ACEOF
48669 #line $LINENO "configure"
48670 /* confdefs.h.  */
48671 _ACEOF
48672 cat confdefs.h >>conftest.$ac_ext
48673 cat >>conftest.$ac_ext <<_ACEOF
48674 /* end confdefs.h.  */
48675 /* System header to define __stub macros and hopefully few prototypes,
48676     which can conflict with char $ac_func (); below.
48677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48678     <limits.h> exists even on freestanding compilers.  */
48679 #ifdef __STDC__
48680 # include <limits.h>
48681 #else
48682 # include <assert.h>
48683 #endif
48684 /* Override any gcc2 internal prototype to avoid an error.  */
48685 #ifdef __cplusplus
48686 extern "C"
48687 {
48688 #endif
48689 /* We use char because int might match the return type of a gcc2
48690    builtin and then its argument prototype would still apply.  */
48691 char $ac_func ();
48692 /* The GNU C library defines this for functions which it implements
48693     to always fail with ENOSYS.  Some functions are actually named
48694     something starting with __ and the normal name is an alias.  */
48695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48696 choke me
48697 #else
48698 char (*f) () = $ac_func;
48699 #endif
48700 #ifdef __cplusplus
48701 }
48702 #endif
48703
48704 int
48705 main ()
48706 {
48707 return f != $ac_func;
48708   ;
48709   return 0;
48710 }
48711 _ACEOF
48712 rm -f conftest.$ac_objext conftest$ac_exeext
48713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48714   (eval $ac_link) 2>&5
48715   ac_status=$?
48716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48717   (exit $ac_status); } &&
48718          { ac_try='test -s conftest$ac_exeext'
48719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48720   (eval $ac_try) 2>&5
48721   ac_status=$?
48722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48723   (exit $ac_status); }; }; then
48724   eval "$as_ac_var=yes"
48725 else
48726   echo "$as_me: failed program was:" >&5
48727 sed 's/^/| /' conftest.$ac_ext >&5
48728
48729 eval "$as_ac_var=no"
48730 fi
48731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48732 fi
48733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48735 if test `eval echo '${'$as_ac_var'}'` = yes; then
48736   cat >>confdefs.h <<_ACEOF
48737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48738 _ACEOF
48739
48740 else
48741   ac_wfuncs=no
48742 fi
48743 done
48744
48745
48746     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48747 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48748     if test x"$has_weof" = xyes &&
48749        test x"$has_wchar_minmax" = xyes &&
48750        test x"$ac_wfuncs" = xyes;
48751     then
48752       ac_isoC99_wchar_t=yes
48753     else
48754       ac_isoC99_wchar_t=no
48755     fi
48756     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48757 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48758
48759     # Use iconv for wchar_t to char conversions. As such, check for
48760     # X/Open Portability Guide, version 2 features (XPG2).
48761     if test "${ac_cv_header_iconv_h+set}" = set; then
48762   echo "$as_me:$LINENO: checking for iconv.h" >&5
48763 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48764 if test "${ac_cv_header_iconv_h+set}" = set; then
48765   echo $ECHO_N "(cached) $ECHO_C" >&6
48766 fi
48767 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48768 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48769 else
48770   # Is the header compilable?
48771 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48772 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48773 cat >conftest.$ac_ext <<_ACEOF
48774 #line $LINENO "configure"
48775 /* confdefs.h.  */
48776 _ACEOF
48777 cat confdefs.h >>conftest.$ac_ext
48778 cat >>conftest.$ac_ext <<_ACEOF
48779 /* end confdefs.h.  */
48780 $ac_includes_default
48781 #include <iconv.h>
48782 _ACEOF
48783 rm -f conftest.$ac_objext
48784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48785   (eval $ac_compile) 2>&5
48786   ac_status=$?
48787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48788   (exit $ac_status); } &&
48789          { ac_try='test -s conftest.$ac_objext'
48790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48791   (eval $ac_try) 2>&5
48792   ac_status=$?
48793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48794   (exit $ac_status); }; }; then
48795   ac_header_compiler=yes
48796 else
48797   echo "$as_me: failed program was:" >&5
48798 sed 's/^/| /' conftest.$ac_ext >&5
48799
48800 ac_header_compiler=no
48801 fi
48802 rm -f conftest.$ac_objext conftest.$ac_ext
48803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48804 echo "${ECHO_T}$ac_header_compiler" >&6
48805
48806 # Is the header present?
48807 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48808 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48809 cat >conftest.$ac_ext <<_ACEOF
48810 #line $LINENO "configure"
48811 /* confdefs.h.  */
48812 _ACEOF
48813 cat confdefs.h >>conftest.$ac_ext
48814 cat >>conftest.$ac_ext <<_ACEOF
48815 /* end confdefs.h.  */
48816 #include <iconv.h>
48817 _ACEOF
48818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48819   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48820   ac_status=$?
48821   grep -v '^ *+' conftest.er1 >conftest.err
48822   rm -f conftest.er1
48823   cat conftest.err >&5
48824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48825   (exit $ac_status); } >/dev/null; then
48826   if test -s conftest.err; then
48827     ac_cpp_err=$ac_c_preproc_warn_flag
48828   else
48829     ac_cpp_err=
48830   fi
48831 else
48832   ac_cpp_err=yes
48833 fi
48834 if test -z "$ac_cpp_err"; then
48835   ac_header_preproc=yes
48836 else
48837   echo "$as_me: failed program was:" >&5
48838 sed 's/^/| /' conftest.$ac_ext >&5
48839
48840   ac_header_preproc=no
48841 fi
48842 rm -f conftest.err conftest.$ac_ext
48843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48844 echo "${ECHO_T}$ac_header_preproc" >&6
48845
48846 # So?  What about this header?
48847 case $ac_header_compiler:$ac_header_preproc in
48848   yes:no )
48849     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48850 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48851     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48852 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48853     (
48854       cat <<\_ASBOX
48855 ## ------------------------------------ ##
48856 ## Report this to bug-autoconf@gnu.org. ##
48857 ## ------------------------------------ ##
48858 _ASBOX
48859     ) |
48860       sed "s/^/$as_me: WARNING:     /" >&2
48861     ;;
48862   no:yes )
48863     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48864 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48865     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48866 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48867     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48868 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48869     (
48870       cat <<\_ASBOX
48871 ## ------------------------------------ ##
48872 ## Report this to bug-autoconf@gnu.org. ##
48873 ## ------------------------------------ ##
48874 _ASBOX
48875     ) |
48876       sed "s/^/$as_me: WARNING:     /" >&2
48877     ;;
48878 esac
48879 echo "$as_me:$LINENO: checking for iconv.h" >&5
48880 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48881 if test "${ac_cv_header_iconv_h+set}" = set; then
48882   echo $ECHO_N "(cached) $ECHO_C" >&6
48883 else
48884   ac_cv_header_iconv_h=$ac_header_preproc
48885 fi
48886 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48887 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48888
48889 fi
48890 if test $ac_cv_header_iconv_h = yes; then
48891   ac_has_iconv_h=yes
48892 else
48893   ac_has_iconv_h=no
48894 fi
48895
48896
48897     if test "${ac_cv_header_langinfo_h+set}" = set; then
48898   echo "$as_me:$LINENO: checking for langinfo.h" >&5
48899 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48900 if test "${ac_cv_header_langinfo_h+set}" = set; then
48901   echo $ECHO_N "(cached) $ECHO_C" >&6
48902 fi
48903 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48904 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48905 else
48906   # Is the header compilable?
48907 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48908 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48909 cat >conftest.$ac_ext <<_ACEOF
48910 #line $LINENO "configure"
48911 /* confdefs.h.  */
48912 _ACEOF
48913 cat confdefs.h >>conftest.$ac_ext
48914 cat >>conftest.$ac_ext <<_ACEOF
48915 /* end confdefs.h.  */
48916 $ac_includes_default
48917 #include <langinfo.h>
48918 _ACEOF
48919 rm -f conftest.$ac_objext
48920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48921   (eval $ac_compile) 2>&5
48922   ac_status=$?
48923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48924   (exit $ac_status); } &&
48925          { ac_try='test -s conftest.$ac_objext'
48926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48927   (eval $ac_try) 2>&5
48928   ac_status=$?
48929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930   (exit $ac_status); }; }; then
48931   ac_header_compiler=yes
48932 else
48933   echo "$as_me: failed program was:" >&5
48934 sed 's/^/| /' conftest.$ac_ext >&5
48935
48936 ac_header_compiler=no
48937 fi
48938 rm -f conftest.$ac_objext conftest.$ac_ext
48939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48940 echo "${ECHO_T}$ac_header_compiler" >&6
48941
48942 # Is the header present?
48943 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48944 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48945 cat >conftest.$ac_ext <<_ACEOF
48946 #line $LINENO "configure"
48947 /* confdefs.h.  */
48948 _ACEOF
48949 cat confdefs.h >>conftest.$ac_ext
48950 cat >>conftest.$ac_ext <<_ACEOF
48951 /* end confdefs.h.  */
48952 #include <langinfo.h>
48953 _ACEOF
48954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48955   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48956   ac_status=$?
48957   grep -v '^ *+' conftest.er1 >conftest.err
48958   rm -f conftest.er1
48959   cat conftest.err >&5
48960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48961   (exit $ac_status); } >/dev/null; then
48962   if test -s conftest.err; then
48963     ac_cpp_err=$ac_c_preproc_warn_flag
48964   else
48965     ac_cpp_err=
48966   fi
48967 else
48968   ac_cpp_err=yes
48969 fi
48970 if test -z "$ac_cpp_err"; then
48971   ac_header_preproc=yes
48972 else
48973   echo "$as_me: failed program was:" >&5
48974 sed 's/^/| /' conftest.$ac_ext >&5
48975
48976   ac_header_preproc=no
48977 fi
48978 rm -f conftest.err conftest.$ac_ext
48979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48980 echo "${ECHO_T}$ac_header_preproc" >&6
48981
48982 # So?  What about this header?
48983 case $ac_header_compiler:$ac_header_preproc in
48984   yes:no )
48985     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48986 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48987     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48988 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48989     (
48990       cat <<\_ASBOX
48991 ## ------------------------------------ ##
48992 ## Report this to bug-autoconf@gnu.org. ##
48993 ## ------------------------------------ ##
48994 _ASBOX
48995     ) |
48996       sed "s/^/$as_me: WARNING:     /" >&2
48997     ;;
48998   no:yes )
48999     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
49000 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
49001     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
49002 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
49003     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
49004 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
49005     (
49006       cat <<\_ASBOX
49007 ## ------------------------------------ ##
49008 ## Report this to bug-autoconf@gnu.org. ##
49009 ## ------------------------------------ ##
49010 _ASBOX
49011     ) |
49012       sed "s/^/$as_me: WARNING:     /" >&2
49013     ;;
49014 esac
49015 echo "$as_me:$LINENO: checking for langinfo.h" >&5
49016 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
49017 if test "${ac_cv_header_langinfo_h+set}" = set; then
49018   echo $ECHO_N "(cached) $ECHO_C" >&6
49019 else
49020   ac_cv_header_langinfo_h=$ac_header_preproc
49021 fi
49022 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
49023 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
49024
49025 fi
49026 if test $ac_cv_header_langinfo_h = yes; then
49027   ac_has_langinfo_h=yes
49028 else
49029   ac_has_langinfo_h=no
49030 fi
49031
49032
49033
49034     # Check for existence of libiconv.a providing XPG2 wchar_t support.
49035     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
49036 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
49037 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
49038   echo $ECHO_N "(cached) $ECHO_C" >&6
49039 else
49040   ac_check_lib_save_LIBS=$LIBS
49041 LIBS="-liconv  $LIBS"
49042 cat >conftest.$ac_ext <<_ACEOF
49043 #line $LINENO "configure"
49044 /* confdefs.h.  */
49045 _ACEOF
49046 cat confdefs.h >>conftest.$ac_ext
49047 cat >>conftest.$ac_ext <<_ACEOF
49048 /* end confdefs.h.  */
49049
49050 /* Override any gcc2 internal prototype to avoid an error.  */
49051 #ifdef __cplusplus
49052 extern "C"
49053 #endif
49054 /* We use char because int might match the return type of a gcc2
49055    builtin and then its argument prototype would still apply.  */
49056 char iconv ();
49057 int
49058 main ()
49059 {
49060 iconv ();
49061   ;
49062   return 0;
49063 }
49064 _ACEOF
49065 rm -f conftest.$ac_objext conftest$ac_exeext
49066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49067   (eval $ac_link) 2>&5
49068   ac_status=$?
49069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49070   (exit $ac_status); } &&
49071          { ac_try='test -s conftest$ac_exeext'
49072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49073   (eval $ac_try) 2>&5
49074   ac_status=$?
49075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49076   (exit $ac_status); }; }; then
49077   ac_cv_lib_iconv_iconv=yes
49078 else
49079   echo "$as_me: failed program was:" >&5
49080 sed 's/^/| /' conftest.$ac_ext >&5
49081
49082 ac_cv_lib_iconv_iconv=no
49083 fi
49084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49085 LIBS=$ac_check_lib_save_LIBS
49086 fi
49087 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
49088 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
49089 if test $ac_cv_lib_iconv_iconv = yes; then
49090   libiconv="-liconv"
49091 fi
49092
49093     ac_save_LIBS="$LIBS"
49094     LIBS="$LIBS $libiconv"
49095
49096
49097
49098
49099
49100 for ac_func in iconv_open iconv_close iconv nl_langinfo
49101 do
49102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49103 echo "$as_me:$LINENO: checking for $ac_func" >&5
49104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49105 if eval "test \"\${$as_ac_var+set}\" = set"; then
49106   echo $ECHO_N "(cached) $ECHO_C" >&6
49107 else
49108   cat >conftest.$ac_ext <<_ACEOF
49109 #line $LINENO "configure"
49110 /* confdefs.h.  */
49111 _ACEOF
49112 cat confdefs.h >>conftest.$ac_ext
49113 cat >>conftest.$ac_ext <<_ACEOF
49114 /* end confdefs.h.  */
49115 /* System header to define __stub macros and hopefully few prototypes,
49116     which can conflict with char $ac_func (); below.
49117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49118     <limits.h> exists even on freestanding compilers.  */
49119 #ifdef __STDC__
49120 # include <limits.h>
49121 #else
49122 # include <assert.h>
49123 #endif
49124 /* Override any gcc2 internal prototype to avoid an error.  */
49125 #ifdef __cplusplus
49126 extern "C"
49127 {
49128 #endif
49129 /* We use char because int might match the return type of a gcc2
49130    builtin and then its argument prototype would still apply.  */
49131 char $ac_func ();
49132 /* The GNU C library defines this for functions which it implements
49133     to always fail with ENOSYS.  Some functions are actually named
49134     something starting with __ and the normal name is an alias.  */
49135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49136 choke me
49137 #else
49138 char (*f) () = $ac_func;
49139 #endif
49140 #ifdef __cplusplus
49141 }
49142 #endif
49143
49144 int
49145 main ()
49146 {
49147 return f != $ac_func;
49148   ;
49149   return 0;
49150 }
49151 _ACEOF
49152 rm -f conftest.$ac_objext conftest$ac_exeext
49153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49154   (eval $ac_link) 2>&5
49155   ac_status=$?
49156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49157   (exit $ac_status); } &&
49158          { ac_try='test -s conftest$ac_exeext'
49159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49160   (eval $ac_try) 2>&5
49161   ac_status=$?
49162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49163   (exit $ac_status); }; }; then
49164   eval "$as_ac_var=yes"
49165 else
49166   echo "$as_me: failed program was:" >&5
49167 sed 's/^/| /' conftest.$ac_ext >&5
49168
49169 eval "$as_ac_var=no"
49170 fi
49171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49172 fi
49173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49175 if test `eval echo '${'$as_ac_var'}'` = yes; then
49176   cat >>confdefs.h <<_ACEOF
49177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49178 _ACEOF
49179  ac_XPG2funcs=yes
49180 else
49181   ac_XPG2funcs=no
49182 fi
49183 done
49184
49185
49186     LIBS="$ac_save_LIBS"
49187
49188     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
49189 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
49190     if test x"$ac_has_iconv_h" = xyes &&
49191        test x"$ac_has_langinfo_h" = xyes &&
49192        test x"$ac_XPG2funcs" = xyes;
49193     then
49194       ac_XPG2_wchar_t=yes
49195     else
49196       ac_XPG2_wchar_t=no
49197     fi
49198     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
49199 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
49200
49201     # At the moment, only enable wchar_t specializations if all the
49202     # above support is present.
49203     if test x"$ac_isoC99_wchar_t" = xyes &&
49204        test x"$ac_XPG2_wchar_t" = xyes;
49205     then
49206       cat >>confdefs.h <<\_ACEOF
49207 #define _GLIBCXX_USE_WCHAR_T 1
49208 _ACEOF
49209
49210       enable_wchar_t=yes
49211     fi
49212   fi
49213   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
49214 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
49215   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
49216 echo "${ECHO_T}$enable_wchar_t" >&6
49217
49218     cat >>confdefs.h <<\_ACEOF
49219 #define HAVE_COPYSIGN 1
49220 _ACEOF
49221
49222     cat >>confdefs.h <<\_ACEOF
49223 #define HAVE_COPYSIGNF 1
49224 _ACEOF
49225
49226     cat >>confdefs.h <<\_ACEOF
49227 #define HAVE_FREXPF 1
49228 _ACEOF
49229
49230     cat >>confdefs.h <<\_ACEOF
49231 #define HAVE_HYPOT 1
49232 _ACEOF
49233
49234     case "$target" in
49235       *-hpux10*)
49236         cat >>confdefs.h <<\_ACEOF
49237 #define HAVE_FINITE 1
49238 _ACEOF
49239
49240         cat >>confdefs.h <<\_ACEOF
49241 #define HAVE_FINITEF 1
49242 _ACEOF
49243
49244         cat >>confdefs.h <<\_ACEOF
49245 #define HAVE_ISINF 1
49246 _ACEOF
49247
49248         cat >>confdefs.h <<\_ACEOF
49249 #define HAVE_ISINFF 1
49250 _ACEOF
49251
49252         cat >>confdefs.h <<\_ACEOF
49253 #define HAVE_ISNAN 1
49254 _ACEOF
49255
49256         cat >>confdefs.h <<\_ACEOF
49257 #define HAVE_ISNANF 1
49258 _ACEOF
49259
49260         ;;
49261     esac
49262     ;;
49263   *-linux*)
49264     #os_include_dir="os/gnu-linux"
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
49278       machine/endian.h machine/param.h sys/machine.h sys/types.h \
49279       fp.h locale.h float.h inttypes.h
49280 do
49281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49283   echo "$as_me:$LINENO: checking for $ac_header" >&5
49284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49286   echo $ECHO_N "(cached) $ECHO_C" >&6
49287 fi
49288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49290 else
49291   # Is the header compilable?
49292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49294 cat >conftest.$ac_ext <<_ACEOF
49295 #line $LINENO "configure"
49296 /* confdefs.h.  */
49297 _ACEOF
49298 cat confdefs.h >>conftest.$ac_ext
49299 cat >>conftest.$ac_ext <<_ACEOF
49300 /* end confdefs.h.  */
49301 $ac_includes_default
49302 #include <$ac_header>
49303 _ACEOF
49304 rm -f conftest.$ac_objext
49305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49306   (eval $ac_compile) 2>&5
49307   ac_status=$?
49308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49309   (exit $ac_status); } &&
49310          { ac_try='test -s conftest.$ac_objext'
49311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49312   (eval $ac_try) 2>&5
49313   ac_status=$?
49314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49315   (exit $ac_status); }; }; then
49316   ac_header_compiler=yes
49317 else
49318   echo "$as_me: failed program was:" >&5
49319 sed 's/^/| /' conftest.$ac_ext >&5
49320
49321 ac_header_compiler=no
49322 fi
49323 rm -f conftest.$ac_objext conftest.$ac_ext
49324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49325 echo "${ECHO_T}$ac_header_compiler" >&6
49326
49327 # Is the header present?
49328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49330 cat >conftest.$ac_ext <<_ACEOF
49331 #line $LINENO "configure"
49332 /* confdefs.h.  */
49333 _ACEOF
49334 cat confdefs.h >>conftest.$ac_ext
49335 cat >>conftest.$ac_ext <<_ACEOF
49336 /* end confdefs.h.  */
49337 #include <$ac_header>
49338 _ACEOF
49339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49340   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49341   ac_status=$?
49342   grep -v '^ *+' conftest.er1 >conftest.err
49343   rm -f conftest.er1
49344   cat conftest.err >&5
49345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49346   (exit $ac_status); } >/dev/null; then
49347   if test -s conftest.err; then
49348     ac_cpp_err=$ac_c_preproc_warn_flag
49349   else
49350     ac_cpp_err=
49351   fi
49352 else
49353   ac_cpp_err=yes
49354 fi
49355 if test -z "$ac_cpp_err"; then
49356   ac_header_preproc=yes
49357 else
49358   echo "$as_me: failed program was:" >&5
49359 sed 's/^/| /' conftest.$ac_ext >&5
49360
49361   ac_header_preproc=no
49362 fi
49363 rm -f conftest.err conftest.$ac_ext
49364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49365 echo "${ECHO_T}$ac_header_preproc" >&6
49366
49367 # So?  What about this header?
49368 case $ac_header_compiler:$ac_header_preproc in
49369   yes:no )
49370     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49372     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49374     (
49375       cat <<\_ASBOX
49376 ## ------------------------------------ ##
49377 ## Report this to bug-autoconf@gnu.org. ##
49378 ## ------------------------------------ ##
49379 _ASBOX
49380     ) |
49381       sed "s/^/$as_me: WARNING:     /" >&2
49382     ;;
49383   no:yes )
49384     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49386     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49388     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49390     (
49391       cat <<\_ASBOX
49392 ## ------------------------------------ ##
49393 ## Report this to bug-autoconf@gnu.org. ##
49394 ## ------------------------------------ ##
49395 _ASBOX
49396     ) |
49397       sed "s/^/$as_me: WARNING:     /" >&2
49398     ;;
49399 esac
49400 echo "$as_me:$LINENO: checking for $ac_header" >&5
49401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49403   echo $ECHO_N "(cached) $ECHO_C" >&6
49404 else
49405   eval "$as_ac_Header=$ac_header_preproc"
49406 fi
49407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49409
49410 fi
49411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49412   cat >>confdefs.h <<_ACEOF
49413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49414 _ACEOF
49415
49416 fi
49417
49418 done
49419
49420     SECTION_FLAGS='-ffunction-sections -fdata-sections'
49421
49422
49423   # If we're not using GNU ld, then there's no point in even trying these
49424   # tests.  Check for that first.  We should have already tested for gld
49425   # by now (in libtool), but require it now just to be safe...
49426   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49427   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49428
49429
49430
49431   # The name set by libtool depends on the version of libtool.  Shame on us
49432   # for depending on an impl detail, but c'est la vie.  Older versions used
49433   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49434   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49435   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
49436   # set (hence we're using an older libtool), then set it.
49437   if test x${with_gnu_ld+set} != xset; then
49438     if test x${ac_cv_prog_gnu_ld+set} != xset; then
49439       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
49440       with_gnu_ld=no
49441     else
49442       with_gnu_ld=$ac_cv_prog_gnu_ld
49443     fi
49444   fi
49445
49446   # Start by getting the version number.  I think the libtool test already
49447   # does some of this, but throws away the result.
49448
49449   ldver=`$LD --version 2>/dev/null | head -1 | \
49450          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49451
49452   glibcxx_gnu_ld_version=`echo $ldver | \
49453          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49454
49455   # Set --gc-sections.
49456   if test "$with_gnu_ld" = "notbroken"; then
49457     # GNU ld it is!  Joy and bunny rabbits!
49458
49459     # All these tests are for C++; save the language and the compiler flags.
49460     # Need to do this so that g++ won't try to link in libstdc++
49461     ac_test_CFLAGS="${CFLAGS+set}"
49462     ac_save_CFLAGS="$CFLAGS"
49463     CFLAGS='-x c++  -Wl,--gc-sections'
49464
49465     # Check for -Wl,--gc-sections
49466     # XXX This test is broken at the moment, as symbols required for linking
49467     # are now in libsupc++ (not built yet).  In addition, this test has
49468     # cored on solaris in the past.  In addition, --gc-sections doesn't
49469     # really work at the moment (keeps on discarding used sections, first
49470     # .eh_frame and now some of the glibc sections for iconv).
49471     # Bzzzzt.  Thanks for playing, maybe next time.
49472     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49473 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49474     if test "$cross_compiling" = yes; then
49475   ac_sectionLDflags=yes
49476 else
49477   cat >conftest.$ac_ext <<_ACEOF
49478 #line $LINENO "configure"
49479 /* confdefs.h.  */
49480 _ACEOF
49481 cat confdefs.h >>conftest.$ac_ext
49482 cat >>conftest.$ac_ext <<_ACEOF
49483 /* end confdefs.h.  */
49484
49485      int main(void)
49486      {
49487        try { throw 1; }
49488        catch (...) { };
49489        return 0;
49490      }
49491
49492 _ACEOF
49493 rm -f conftest$ac_exeext
49494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49495   (eval $ac_link) 2>&5
49496   ac_status=$?
49497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49500   (eval $ac_try) 2>&5
49501   ac_status=$?
49502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49503   (exit $ac_status); }; }; then
49504   ac_sectionLDflags=yes
49505 else
49506   echo "$as_me: program exited with status $ac_status" >&5
49507 echo "$as_me: failed program was:" >&5
49508 sed 's/^/| /' conftest.$ac_ext >&5
49509
49510 ( exit $ac_status )
49511 ac_sectionLDflags=no
49512 fi
49513 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49514 fi
49515     if test "$ac_test_CFLAGS" = set; then
49516       CFLAGS="$ac_save_CFLAGS"
49517     else
49518       # this is the suspicious part
49519       CFLAGS=''
49520     fi
49521     if test "$ac_sectionLDflags" = "yes"; then
49522       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49523     fi
49524     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49525 echo "${ECHO_T}$ac_sectionLDflags" >&6
49526   fi
49527
49528   # Set linker optimization flags.
49529   if test x"$with_gnu_ld" = x"yes"; then
49530     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49531   fi
49532
49533
49534
49535
49536
49537
49538 echo "$as_me:$LINENO: checking for main in -lm" >&5
49539 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49540 if test "${ac_cv_lib_m_main+set}" = set; then
49541   echo $ECHO_N "(cached) $ECHO_C" >&6
49542 else
49543   ac_check_lib_save_LIBS=$LIBS
49544 LIBS="-lm  $LIBS"
49545 cat >conftest.$ac_ext <<_ACEOF
49546 #line $LINENO "configure"
49547 /* confdefs.h.  */
49548 _ACEOF
49549 cat confdefs.h >>conftest.$ac_ext
49550 cat >>conftest.$ac_ext <<_ACEOF
49551 /* end confdefs.h.  */
49552
49553
49554 int
49555 main ()
49556 {
49557 main ();
49558   ;
49559   return 0;
49560 }
49561 _ACEOF
49562 rm -f conftest.$ac_objext conftest$ac_exeext
49563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49564   (eval $ac_link) 2>&5
49565   ac_status=$?
49566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49567   (exit $ac_status); } &&
49568          { ac_try='test -s conftest$ac_exeext'
49569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49570   (eval $ac_try) 2>&5
49571   ac_status=$?
49572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49573   (exit $ac_status); }; }; then
49574   ac_cv_lib_m_main=yes
49575 else
49576   echo "$as_me: failed program was:" >&5
49577 sed 's/^/| /' conftest.$ac_ext >&5
49578
49579 ac_cv_lib_m_main=no
49580 fi
49581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49582 LIBS=$ac_check_lib_save_LIBS
49583 fi
49584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49585 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49586 if test $ac_cv_lib_m_main = yes; then
49587   cat >>confdefs.h <<_ACEOF
49588 #define HAVE_LIBM 1
49589 _ACEOF
49590
49591   LIBS="-lm $LIBS"
49592
49593 fi
49594
49595
49596
49597 for ac_func in nan copysignf
49598 do
49599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49600 echo "$as_me:$LINENO: checking for $ac_func" >&5
49601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49602 if eval "test \"\${$as_ac_var+set}\" = set"; then
49603   echo $ECHO_N "(cached) $ECHO_C" >&6
49604 else
49605   cat >conftest.$ac_ext <<_ACEOF
49606 #line $LINENO "configure"
49607 /* confdefs.h.  */
49608 _ACEOF
49609 cat confdefs.h >>conftest.$ac_ext
49610 cat >>conftest.$ac_ext <<_ACEOF
49611 /* end confdefs.h.  */
49612 /* System header to define __stub macros and hopefully few prototypes,
49613     which can conflict with char $ac_func (); below.
49614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49615     <limits.h> exists even on freestanding compilers.  */
49616 #ifdef __STDC__
49617 # include <limits.h>
49618 #else
49619 # include <assert.h>
49620 #endif
49621 /* Override any gcc2 internal prototype to avoid an error.  */
49622 #ifdef __cplusplus
49623 extern "C"
49624 {
49625 #endif
49626 /* We use char because int might match the return type of a gcc2
49627    builtin and then its argument prototype would still apply.  */
49628 char $ac_func ();
49629 /* The GNU C library defines this for functions which it implements
49630     to always fail with ENOSYS.  Some functions are actually named
49631     something starting with __ and the normal name is an alias.  */
49632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49633 choke me
49634 #else
49635 char (*f) () = $ac_func;
49636 #endif
49637 #ifdef __cplusplus
49638 }
49639 #endif
49640
49641 int
49642 main ()
49643 {
49644 return f != $ac_func;
49645   ;
49646   return 0;
49647 }
49648 _ACEOF
49649 rm -f conftest.$ac_objext conftest$ac_exeext
49650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49651   (eval $ac_link) 2>&5
49652   ac_status=$?
49653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49654   (exit $ac_status); } &&
49655          { ac_try='test -s conftest$ac_exeext'
49656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49657   (eval $ac_try) 2>&5
49658   ac_status=$?
49659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49660   (exit $ac_status); }; }; then
49661   eval "$as_ac_var=yes"
49662 else
49663   echo "$as_me: failed program was:" >&5
49664 sed 's/^/| /' conftest.$ac_ext >&5
49665
49666 eval "$as_ac_var=no"
49667 fi
49668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49669 fi
49670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49672 if test `eval echo '${'$as_ac_var'}'` = yes; then
49673   cat >>confdefs.h <<_ACEOF
49674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49675 _ACEOF
49676
49677 else
49678   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49679 fi
49680 done
49681
49682
49683
49684 for ac_func in __signbit
49685 do
49686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49687 echo "$as_me:$LINENO: checking for $ac_func" >&5
49688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49689 if eval "test \"\${$as_ac_var+set}\" = set"; then
49690   echo $ECHO_N "(cached) $ECHO_C" >&6
49691 else
49692   cat >conftest.$ac_ext <<_ACEOF
49693 #line $LINENO "configure"
49694 /* confdefs.h.  */
49695 _ACEOF
49696 cat confdefs.h >>conftest.$ac_ext
49697 cat >>conftest.$ac_ext <<_ACEOF
49698 /* end confdefs.h.  */
49699 /* System header to define __stub macros and hopefully few prototypes,
49700     which can conflict with char $ac_func (); below.
49701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49702     <limits.h> exists even on freestanding compilers.  */
49703 #ifdef __STDC__
49704 # include <limits.h>
49705 #else
49706 # include <assert.h>
49707 #endif
49708 /* Override any gcc2 internal prototype to avoid an error.  */
49709 #ifdef __cplusplus
49710 extern "C"
49711 {
49712 #endif
49713 /* We use char because int might match the return type of a gcc2
49714    builtin and then its argument prototype would still apply.  */
49715 char $ac_func ();
49716 /* The GNU C library defines this for functions which it implements
49717     to always fail with ENOSYS.  Some functions are actually named
49718     something starting with __ and the normal name is an alias.  */
49719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49720 choke me
49721 #else
49722 char (*f) () = $ac_func;
49723 #endif
49724 #ifdef __cplusplus
49725 }
49726 #endif
49727
49728 int
49729 main ()
49730 {
49731 return f != $ac_func;
49732   ;
49733   return 0;
49734 }
49735 _ACEOF
49736 rm -f conftest.$ac_objext conftest$ac_exeext
49737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49738   (eval $ac_link) 2>&5
49739   ac_status=$?
49740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49741   (exit $ac_status); } &&
49742          { ac_try='test -s conftest$ac_exeext'
49743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49744   (eval $ac_try) 2>&5
49745   ac_status=$?
49746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49747   (exit $ac_status); }; }; then
49748   eval "$as_ac_var=yes"
49749 else
49750   echo "$as_me: failed program was:" >&5
49751 sed 's/^/| /' conftest.$ac_ext >&5
49752
49753 eval "$as_ac_var=no"
49754 fi
49755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49756 fi
49757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49759 if test `eval echo '${'$as_ac_var'}'` = yes; then
49760   cat >>confdefs.h <<_ACEOF
49761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49762 _ACEOF
49763
49764 else
49765   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49766 fi
49767 done
49768
49769
49770 for ac_func in __signbitf
49771 do
49772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49773 echo "$as_me:$LINENO: checking for $ac_func" >&5
49774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49775 if eval "test \"\${$as_ac_var+set}\" = set"; then
49776   echo $ECHO_N "(cached) $ECHO_C" >&6
49777 else
49778   cat >conftest.$ac_ext <<_ACEOF
49779 #line $LINENO "configure"
49780 /* confdefs.h.  */
49781 _ACEOF
49782 cat confdefs.h >>conftest.$ac_ext
49783 cat >>conftest.$ac_ext <<_ACEOF
49784 /* end confdefs.h.  */
49785 /* System header to define __stub macros and hopefully few prototypes,
49786     which can conflict with char $ac_func (); below.
49787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49788     <limits.h> exists even on freestanding compilers.  */
49789 #ifdef __STDC__
49790 # include <limits.h>
49791 #else
49792 # include <assert.h>
49793 #endif
49794 /* Override any gcc2 internal prototype to avoid an error.  */
49795 #ifdef __cplusplus
49796 extern "C"
49797 {
49798 #endif
49799 /* We use char because int might match the return type of a gcc2
49800    builtin and then its argument prototype would still apply.  */
49801 char $ac_func ();
49802 /* The GNU C library defines this for functions which it implements
49803     to always fail with ENOSYS.  Some functions are actually named
49804     something starting with __ and the normal name is an alias.  */
49805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49806 choke me
49807 #else
49808 char (*f) () = $ac_func;
49809 #endif
49810 #ifdef __cplusplus
49811 }
49812 #endif
49813
49814 int
49815 main ()
49816 {
49817 return f != $ac_func;
49818   ;
49819   return 0;
49820 }
49821 _ACEOF
49822 rm -f conftest.$ac_objext conftest$ac_exeext
49823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49824   (eval $ac_link) 2>&5
49825   ac_status=$?
49826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49827   (exit $ac_status); } &&
49828          { ac_try='test -s conftest$ac_exeext'
49829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49830   (eval $ac_try) 2>&5
49831   ac_status=$?
49832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833   (exit $ac_status); }; }; then
49834   eval "$as_ac_var=yes"
49835 else
49836   echo "$as_me: failed program was:" >&5
49837 sed 's/^/| /' conftest.$ac_ext >&5
49838
49839 eval "$as_ac_var=no"
49840 fi
49841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49842 fi
49843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49845 if test `eval echo '${'$as_ac_var'}'` = yes; then
49846   cat >>confdefs.h <<_ACEOF
49847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49848 _ACEOF
49849
49850 else
49851   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49852 fi
49853 done
49854
49855
49856           if test x$ac_cv_func_copysignl = x"yes"; then
49857
49858 for ac_func in __signbitl
49859 do
49860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49861 echo "$as_me:$LINENO: checking for $ac_func" >&5
49862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49863 if eval "test \"\${$as_ac_var+set}\" = set"; then
49864   echo $ECHO_N "(cached) $ECHO_C" >&6
49865 else
49866   cat >conftest.$ac_ext <<_ACEOF
49867 #line $LINENO "configure"
49868 /* confdefs.h.  */
49869 _ACEOF
49870 cat confdefs.h >>conftest.$ac_ext
49871 cat >>conftest.$ac_ext <<_ACEOF
49872 /* end confdefs.h.  */
49873 /* System header to define __stub macros and hopefully few prototypes,
49874     which can conflict with char $ac_func (); below.
49875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49876     <limits.h> exists even on freestanding compilers.  */
49877 #ifdef __STDC__
49878 # include <limits.h>
49879 #else
49880 # include <assert.h>
49881 #endif
49882 /* Override any gcc2 internal prototype to avoid an error.  */
49883 #ifdef __cplusplus
49884 extern "C"
49885 {
49886 #endif
49887 /* We use char because int might match the return type of a gcc2
49888    builtin and then its argument prototype would still apply.  */
49889 char $ac_func ();
49890 /* The GNU C library defines this for functions which it implements
49891     to always fail with ENOSYS.  Some functions are actually named
49892     something starting with __ and the normal name is an alias.  */
49893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49894 choke me
49895 #else
49896 char (*f) () = $ac_func;
49897 #endif
49898 #ifdef __cplusplus
49899 }
49900 #endif
49901
49902 int
49903 main ()
49904 {
49905 return f != $ac_func;
49906   ;
49907   return 0;
49908 }
49909 _ACEOF
49910 rm -f conftest.$ac_objext conftest$ac_exeext
49911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49912   (eval $ac_link) 2>&5
49913   ac_status=$?
49914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915   (exit $ac_status); } &&
49916          { ac_try='test -s conftest$ac_exeext'
49917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49918   (eval $ac_try) 2>&5
49919   ac_status=$?
49920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49921   (exit $ac_status); }; }; then
49922   eval "$as_ac_var=yes"
49923 else
49924   echo "$as_me: failed program was:" >&5
49925 sed 's/^/| /' conftest.$ac_ext >&5
49926
49927 eval "$as_ac_var=no"
49928 fi
49929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49930 fi
49931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49933 if test `eval echo '${'$as_ac_var'}'` = yes; then
49934   cat >>confdefs.h <<_ACEOF
49935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49936 _ACEOF
49937
49938 else
49939   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49940 fi
49941 done
49942
49943   fi
49944
49945   # XXX Review this.  Nothing uses it.
49946   if test -n "$LIBMATHOBJS"; then
49947     need_libmath=yes
49948   fi
49949
49950
49951
49952   # Test wchar.h for mbstate_t, which is needed for char_traits and
49953   # others even if wchar_t support is not on.
49954   echo "$as_me:$LINENO: checking for mbstate_t" >&5
49955 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49956   cat >conftest.$ac_ext <<_ACEOF
49957 #line $LINENO "configure"
49958 /* confdefs.h.  */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h.  */
49963 #include <wchar.h>
49964 int
49965 main ()
49966 {
49967 mbstate_t teststate;
49968   ;
49969   return 0;
49970 }
49971 _ACEOF
49972 rm -f conftest.$ac_objext
49973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49974   (eval $ac_compile) 2>&5
49975   ac_status=$?
49976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49977   (exit $ac_status); } &&
49978          { ac_try='test -s conftest.$ac_objext'
49979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49980   (eval $ac_try) 2>&5
49981   ac_status=$?
49982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49983   (exit $ac_status); }; }; then
49984   have_mbstate_t=yes
49985 else
49986   echo "$as_me: failed program was:" >&5
49987 sed 's/^/| /' conftest.$ac_ext >&5
49988
49989 have_mbstate_t=no
49990 fi
49991 rm -f conftest.$ac_objext conftest.$ac_ext
49992   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49993 echo "${ECHO_T}$have_mbstate_t" >&6
49994   if test x"$have_mbstate_t" = xyes; then
49995     cat >>confdefs.h <<\_ACEOF
49996 #define HAVE_MBSTATE_T 1
49997 _ACEOF
49998
49999   fi
50000
50001   # Sanity check for existence of ISO C99 headers for extended encoding.
50002
50003 for ac_header in wchar.h
50004 do
50005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50007   echo "$as_me:$LINENO: checking for $ac_header" >&5
50008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50010   echo $ECHO_N "(cached) $ECHO_C" >&6
50011 fi
50012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50014 else
50015   # Is the header compilable?
50016 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50018 cat >conftest.$ac_ext <<_ACEOF
50019 #line $LINENO "configure"
50020 /* confdefs.h.  */
50021 _ACEOF
50022 cat confdefs.h >>conftest.$ac_ext
50023 cat >>conftest.$ac_ext <<_ACEOF
50024 /* end confdefs.h.  */
50025 $ac_includes_default
50026 #include <$ac_header>
50027 _ACEOF
50028 rm -f conftest.$ac_objext
50029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50030   (eval $ac_compile) 2>&5
50031   ac_status=$?
50032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033   (exit $ac_status); } &&
50034          { ac_try='test -s conftest.$ac_objext'
50035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50036   (eval $ac_try) 2>&5
50037   ac_status=$?
50038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50039   (exit $ac_status); }; }; then
50040   ac_header_compiler=yes
50041 else
50042   echo "$as_me: failed program was:" >&5
50043 sed 's/^/| /' conftest.$ac_ext >&5
50044
50045 ac_header_compiler=no
50046 fi
50047 rm -f conftest.$ac_objext conftest.$ac_ext
50048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50049 echo "${ECHO_T}$ac_header_compiler" >&6
50050
50051 # Is the header present?
50052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50054 cat >conftest.$ac_ext <<_ACEOF
50055 #line $LINENO "configure"
50056 /* confdefs.h.  */
50057 _ACEOF
50058 cat confdefs.h >>conftest.$ac_ext
50059 cat >>conftest.$ac_ext <<_ACEOF
50060 /* end confdefs.h.  */
50061 #include <$ac_header>
50062 _ACEOF
50063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50064   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50065   ac_status=$?
50066   grep -v '^ *+' conftest.er1 >conftest.err
50067   rm -f conftest.er1
50068   cat conftest.err >&5
50069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50070   (exit $ac_status); } >/dev/null; then
50071   if test -s conftest.err; then
50072     ac_cpp_err=$ac_c_preproc_warn_flag
50073   else
50074     ac_cpp_err=
50075   fi
50076 else
50077   ac_cpp_err=yes
50078 fi
50079 if test -z "$ac_cpp_err"; then
50080   ac_header_preproc=yes
50081 else
50082   echo "$as_me: failed program was:" >&5
50083 sed 's/^/| /' conftest.$ac_ext >&5
50084
50085   ac_header_preproc=no
50086 fi
50087 rm -f conftest.err conftest.$ac_ext
50088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50089 echo "${ECHO_T}$ac_header_preproc" >&6
50090
50091 # So?  What about this header?
50092 case $ac_header_compiler:$ac_header_preproc in
50093   yes:no )
50094     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50096     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50098     (
50099       cat <<\_ASBOX
50100 ## ------------------------------------ ##
50101 ## Report this to bug-autoconf@gnu.org. ##
50102 ## ------------------------------------ ##
50103 _ASBOX
50104     ) |
50105       sed "s/^/$as_me: WARNING:     /" >&2
50106     ;;
50107   no:yes )
50108     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50110     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50112     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50114     (
50115       cat <<\_ASBOX
50116 ## ------------------------------------ ##
50117 ## Report this to bug-autoconf@gnu.org. ##
50118 ## ------------------------------------ ##
50119 _ASBOX
50120     ) |
50121       sed "s/^/$as_me: WARNING:     /" >&2
50122     ;;
50123 esac
50124 echo "$as_me:$LINENO: checking for $ac_header" >&5
50125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50127   echo $ECHO_N "(cached) $ECHO_C" >&6
50128 else
50129   eval "$as_ac_Header=$ac_header_preproc"
50130 fi
50131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50133
50134 fi
50135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50136   cat >>confdefs.h <<_ACEOF
50137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50138 _ACEOF
50139  ac_has_wchar_h=yes
50140 else
50141   ac_has_wchar_h=no
50142 fi
50143
50144 done
50145
50146
50147 for ac_header in wctype.h
50148 do
50149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50151   echo "$as_me:$LINENO: checking for $ac_header" >&5
50152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50154   echo $ECHO_N "(cached) $ECHO_C" >&6
50155 fi
50156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50158 else
50159   # Is the header compilable?
50160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50162 cat >conftest.$ac_ext <<_ACEOF
50163 #line $LINENO "configure"
50164 /* confdefs.h.  */
50165 _ACEOF
50166 cat confdefs.h >>conftest.$ac_ext
50167 cat >>conftest.$ac_ext <<_ACEOF
50168 /* end confdefs.h.  */
50169 $ac_includes_default
50170 #include <$ac_header>
50171 _ACEOF
50172 rm -f conftest.$ac_objext
50173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50174   (eval $ac_compile) 2>&5
50175   ac_status=$?
50176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50177   (exit $ac_status); } &&
50178          { ac_try='test -s conftest.$ac_objext'
50179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50180   (eval $ac_try) 2>&5
50181   ac_status=$?
50182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50183   (exit $ac_status); }; }; then
50184   ac_header_compiler=yes
50185 else
50186   echo "$as_me: failed program was:" >&5
50187 sed 's/^/| /' conftest.$ac_ext >&5
50188
50189 ac_header_compiler=no
50190 fi
50191 rm -f conftest.$ac_objext conftest.$ac_ext
50192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50193 echo "${ECHO_T}$ac_header_compiler" >&6
50194
50195 # Is the header present?
50196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50198 cat >conftest.$ac_ext <<_ACEOF
50199 #line $LINENO "configure"
50200 /* confdefs.h.  */
50201 _ACEOF
50202 cat confdefs.h >>conftest.$ac_ext
50203 cat >>conftest.$ac_ext <<_ACEOF
50204 /* end confdefs.h.  */
50205 #include <$ac_header>
50206 _ACEOF
50207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50208   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50209   ac_status=$?
50210   grep -v '^ *+' conftest.er1 >conftest.err
50211   rm -f conftest.er1
50212   cat conftest.err >&5
50213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50214   (exit $ac_status); } >/dev/null; then
50215   if test -s conftest.err; then
50216     ac_cpp_err=$ac_c_preproc_warn_flag
50217   else
50218     ac_cpp_err=
50219   fi
50220 else
50221   ac_cpp_err=yes
50222 fi
50223 if test -z "$ac_cpp_err"; then
50224   ac_header_preproc=yes
50225 else
50226   echo "$as_me: failed program was:" >&5
50227 sed 's/^/| /' conftest.$ac_ext >&5
50228
50229   ac_header_preproc=no
50230 fi
50231 rm -f conftest.err conftest.$ac_ext
50232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50233 echo "${ECHO_T}$ac_header_preproc" >&6
50234
50235 # So?  What about this header?
50236 case $ac_header_compiler:$ac_header_preproc in
50237   yes:no )
50238     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50240     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50242     (
50243       cat <<\_ASBOX
50244 ## ------------------------------------ ##
50245 ## Report this to bug-autoconf@gnu.org. ##
50246 ## ------------------------------------ ##
50247 _ASBOX
50248     ) |
50249       sed "s/^/$as_me: WARNING:     /" >&2
50250     ;;
50251   no:yes )
50252     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50254     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50256     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50258     (
50259       cat <<\_ASBOX
50260 ## ------------------------------------ ##
50261 ## Report this to bug-autoconf@gnu.org. ##
50262 ## ------------------------------------ ##
50263 _ASBOX
50264     ) |
50265       sed "s/^/$as_me: WARNING:     /" >&2
50266     ;;
50267 esac
50268 echo "$as_me:$LINENO: checking for $ac_header" >&5
50269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50271   echo $ECHO_N "(cached) $ECHO_C" >&6
50272 else
50273   eval "$as_ac_Header=$ac_header_preproc"
50274 fi
50275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50277
50278 fi
50279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50280   cat >>confdefs.h <<_ACEOF
50281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50282 _ACEOF
50283  ac_has_wctype_h=yes
50284 else
50285   ac_has_wctype_h=no
50286 fi
50287
50288 done
50289
50290
50291   # Only continue checking if the ISO C99 headers exist and support is on.
50292   if test x"$ac_has_wchar_h" = xyes &&
50293      test x"$ac_has_wctype_h" = xyes &&
50294      test x"$enable_c_mbchar" != xno; then
50295
50296     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50297     # numeric_limits can instantiate type_traits<wchar_t>
50298     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50299 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50300     cat >conftest.$ac_ext <<_ACEOF
50301 #line $LINENO "configure"
50302 /* confdefs.h.  */
50303 _ACEOF
50304 cat confdefs.h >>conftest.$ac_ext
50305 cat >>conftest.$ac_ext <<_ACEOF
50306 /* end confdefs.h.  */
50307 #include <wchar.h>
50308 int
50309 main ()
50310 {
50311 int i = WCHAR_MIN; int j = WCHAR_MAX;
50312   ;
50313   return 0;
50314 }
50315 _ACEOF
50316 rm -f conftest.$ac_objext
50317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50318   (eval $ac_compile) 2>&5
50319   ac_status=$?
50320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50321   (exit $ac_status); } &&
50322          { ac_try='test -s conftest.$ac_objext'
50323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50324   (eval $ac_try) 2>&5
50325   ac_status=$?
50326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50327   (exit $ac_status); }; }; then
50328   has_wchar_minmax=yes
50329 else
50330   echo "$as_me: failed program was:" >&5
50331 sed 's/^/| /' conftest.$ac_ext >&5
50332
50333 has_wchar_minmax=no
50334 fi
50335 rm -f conftest.$ac_objext conftest.$ac_ext
50336     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50337 echo "${ECHO_T}$has_wchar_minmax" >&6
50338
50339     # Test wchar.h for WEOF, which is what we use to determine whether
50340     # to specialize for char_traits<wchar_t> or not.
50341     echo "$as_me:$LINENO: checking for WEOF" >&5
50342 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50343     cat >conftest.$ac_ext <<_ACEOF
50344 #line $LINENO "configure"
50345 /* confdefs.h.  */
50346 _ACEOF
50347 cat confdefs.h >>conftest.$ac_ext
50348 cat >>conftest.$ac_ext <<_ACEOF
50349 /* end confdefs.h.  */
50350
50351       #include <wchar.h>
50352       #include <stddef.h>
50353 int
50354 main ()
50355 {
50356 wint_t i = WEOF;
50357   ;
50358   return 0;
50359 }
50360 _ACEOF
50361 rm -f conftest.$ac_objext
50362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50363   (eval $ac_compile) 2>&5
50364   ac_status=$?
50365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50366   (exit $ac_status); } &&
50367          { ac_try='test -s conftest.$ac_objext'
50368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50369   (eval $ac_try) 2>&5
50370   ac_status=$?
50371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50372   (exit $ac_status); }; }; then
50373   has_weof=yes
50374 else
50375   echo "$as_me: failed program was:" >&5
50376 sed 's/^/| /' conftest.$ac_ext >&5
50377
50378 has_weof=no
50379 fi
50380 rm -f conftest.$ac_objext conftest.$ac_ext
50381     echo "$as_me:$LINENO: result: $has_weof" >&5
50382 echo "${ECHO_T}$has_weof" >&6
50383
50384     # Tests for wide character functions used in char_traits<wchar_t>.
50385     ac_wfuncs=yes
50386
50387
50388
50389
50390
50391
50392 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50393 do
50394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50395 echo "$as_me:$LINENO: checking for $ac_func" >&5
50396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50397 if eval "test \"\${$as_ac_var+set}\" = set"; then
50398   echo $ECHO_N "(cached) $ECHO_C" >&6
50399 else
50400   cat >conftest.$ac_ext <<_ACEOF
50401 #line $LINENO "configure"
50402 /* confdefs.h.  */
50403 _ACEOF
50404 cat confdefs.h >>conftest.$ac_ext
50405 cat >>conftest.$ac_ext <<_ACEOF
50406 /* end confdefs.h.  */
50407 /* System header to define __stub macros and hopefully few prototypes,
50408     which can conflict with char $ac_func (); below.
50409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50410     <limits.h> exists even on freestanding compilers.  */
50411 #ifdef __STDC__
50412 # include <limits.h>
50413 #else
50414 # include <assert.h>
50415 #endif
50416 /* Override any gcc2 internal prototype to avoid an error.  */
50417 #ifdef __cplusplus
50418 extern "C"
50419 {
50420 #endif
50421 /* We use char because int might match the return type of a gcc2
50422    builtin and then its argument prototype would still apply.  */
50423 char $ac_func ();
50424 /* The GNU C library defines this for functions which it implements
50425     to always fail with ENOSYS.  Some functions are actually named
50426     something starting with __ and the normal name is an alias.  */
50427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50428 choke me
50429 #else
50430 char (*f) () = $ac_func;
50431 #endif
50432 #ifdef __cplusplus
50433 }
50434 #endif
50435
50436 int
50437 main ()
50438 {
50439 return f != $ac_func;
50440   ;
50441   return 0;
50442 }
50443 _ACEOF
50444 rm -f conftest.$ac_objext conftest$ac_exeext
50445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50446   (eval $ac_link) 2>&5
50447   ac_status=$?
50448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50449   (exit $ac_status); } &&
50450          { ac_try='test -s conftest$ac_exeext'
50451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50452   (eval $ac_try) 2>&5
50453   ac_status=$?
50454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50455   (exit $ac_status); }; }; then
50456   eval "$as_ac_var=yes"
50457 else
50458   echo "$as_me: failed program was:" >&5
50459 sed 's/^/| /' conftest.$ac_ext >&5
50460
50461 eval "$as_ac_var=no"
50462 fi
50463 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50464 fi
50465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50467 if test `eval echo '${'$as_ac_var'}'` = yes; then
50468   cat >>confdefs.h <<_ACEOF
50469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50470 _ACEOF
50471
50472 else
50473   ac_wfuncs=no
50474 fi
50475 done
50476
50477
50478     # Checks for names injected into std:: by the c_std headers.
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524
50525
50526
50527
50528
50529 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50530     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
50531     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50532     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
50533     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50534     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50535 do
50536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50537 echo "$as_me:$LINENO: checking for $ac_func" >&5
50538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50539 if eval "test \"\${$as_ac_var+set}\" = set"; then
50540   echo $ECHO_N "(cached) $ECHO_C" >&6
50541 else
50542   cat >conftest.$ac_ext <<_ACEOF
50543 #line $LINENO "configure"
50544 /* confdefs.h.  */
50545 _ACEOF
50546 cat confdefs.h >>conftest.$ac_ext
50547 cat >>conftest.$ac_ext <<_ACEOF
50548 /* end confdefs.h.  */
50549 /* System header to define __stub macros and hopefully few prototypes,
50550     which can conflict with char $ac_func (); below.
50551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50552     <limits.h> exists even on freestanding compilers.  */
50553 #ifdef __STDC__
50554 # include <limits.h>
50555 #else
50556 # include <assert.h>
50557 #endif
50558 /* Override any gcc2 internal prototype to avoid an error.  */
50559 #ifdef __cplusplus
50560 extern "C"
50561 {
50562 #endif
50563 /* We use char because int might match the return type of a gcc2
50564    builtin and then its argument prototype would still apply.  */
50565 char $ac_func ();
50566 /* The GNU C library defines this for functions which it implements
50567     to always fail with ENOSYS.  Some functions are actually named
50568     something starting with __ and the normal name is an alias.  */
50569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50570 choke me
50571 #else
50572 char (*f) () = $ac_func;
50573 #endif
50574 #ifdef __cplusplus
50575 }
50576 #endif
50577
50578 int
50579 main ()
50580 {
50581 return f != $ac_func;
50582   ;
50583   return 0;
50584 }
50585 _ACEOF
50586 rm -f conftest.$ac_objext conftest$ac_exeext
50587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50588   (eval $ac_link) 2>&5
50589   ac_status=$?
50590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591   (exit $ac_status); } &&
50592          { ac_try='test -s conftest$ac_exeext'
50593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50594   (eval $ac_try) 2>&5
50595   ac_status=$?
50596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50597   (exit $ac_status); }; }; then
50598   eval "$as_ac_var=yes"
50599 else
50600   echo "$as_me: failed program was:" >&5
50601 sed 's/^/| /' conftest.$ac_ext >&5
50602
50603 eval "$as_ac_var=no"
50604 fi
50605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50606 fi
50607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50609 if test `eval echo '${'$as_ac_var'}'` = yes; then
50610   cat >>confdefs.h <<_ACEOF
50611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50612 _ACEOF
50613
50614 else
50615   ac_wfuncs=no
50616 fi
50617 done
50618
50619
50620     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50621 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50622     if test x"$has_weof" = xyes &&
50623        test x"$has_wchar_minmax" = xyes &&
50624        test x"$ac_wfuncs" = xyes;
50625     then
50626       ac_isoC99_wchar_t=yes
50627     else
50628       ac_isoC99_wchar_t=no
50629     fi
50630     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50631 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50632
50633     # Use iconv for wchar_t to char conversions. As such, check for
50634     # X/Open Portability Guide, version 2 features (XPG2).
50635     if test "${ac_cv_header_iconv_h+set}" = set; then
50636   echo "$as_me:$LINENO: checking for iconv.h" >&5
50637 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50638 if test "${ac_cv_header_iconv_h+set}" = set; then
50639   echo $ECHO_N "(cached) $ECHO_C" >&6
50640 fi
50641 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50642 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50643 else
50644   # Is the header compilable?
50645 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50646 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50647 cat >conftest.$ac_ext <<_ACEOF
50648 #line $LINENO "configure"
50649 /* confdefs.h.  */
50650 _ACEOF
50651 cat confdefs.h >>conftest.$ac_ext
50652 cat >>conftest.$ac_ext <<_ACEOF
50653 /* end confdefs.h.  */
50654 $ac_includes_default
50655 #include <iconv.h>
50656 _ACEOF
50657 rm -f conftest.$ac_objext
50658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50659   (eval $ac_compile) 2>&5
50660   ac_status=$?
50661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50662   (exit $ac_status); } &&
50663          { ac_try='test -s conftest.$ac_objext'
50664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50665   (eval $ac_try) 2>&5
50666   ac_status=$?
50667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50668   (exit $ac_status); }; }; then
50669   ac_header_compiler=yes
50670 else
50671   echo "$as_me: failed program was:" >&5
50672 sed 's/^/| /' conftest.$ac_ext >&5
50673
50674 ac_header_compiler=no
50675 fi
50676 rm -f conftest.$ac_objext conftest.$ac_ext
50677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50678 echo "${ECHO_T}$ac_header_compiler" >&6
50679
50680 # Is the header present?
50681 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50682 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50683 cat >conftest.$ac_ext <<_ACEOF
50684 #line $LINENO "configure"
50685 /* confdefs.h.  */
50686 _ACEOF
50687 cat confdefs.h >>conftest.$ac_ext
50688 cat >>conftest.$ac_ext <<_ACEOF
50689 /* end confdefs.h.  */
50690 #include <iconv.h>
50691 _ACEOF
50692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50694   ac_status=$?
50695   grep -v '^ *+' conftest.er1 >conftest.err
50696   rm -f conftest.er1
50697   cat conftest.err >&5
50698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50699   (exit $ac_status); } >/dev/null; then
50700   if test -s conftest.err; then
50701     ac_cpp_err=$ac_c_preproc_warn_flag
50702   else
50703     ac_cpp_err=
50704   fi
50705 else
50706   ac_cpp_err=yes
50707 fi
50708 if test -z "$ac_cpp_err"; then
50709   ac_header_preproc=yes
50710 else
50711   echo "$as_me: failed program was:" >&5
50712 sed 's/^/| /' conftest.$ac_ext >&5
50713
50714   ac_header_preproc=no
50715 fi
50716 rm -f conftest.err conftest.$ac_ext
50717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50718 echo "${ECHO_T}$ac_header_preproc" >&6
50719
50720 # So?  What about this header?
50721 case $ac_header_compiler:$ac_header_preproc in
50722   yes:no )
50723     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50724 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50725     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50726 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50727     (
50728       cat <<\_ASBOX
50729 ## ------------------------------------ ##
50730 ## Report this to bug-autoconf@gnu.org. ##
50731 ## ------------------------------------ ##
50732 _ASBOX
50733     ) |
50734       sed "s/^/$as_me: WARNING:     /" >&2
50735     ;;
50736   no:yes )
50737     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50738 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50739     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50740 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50741     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50742 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50743     (
50744       cat <<\_ASBOX
50745 ## ------------------------------------ ##
50746 ## Report this to bug-autoconf@gnu.org. ##
50747 ## ------------------------------------ ##
50748 _ASBOX
50749     ) |
50750       sed "s/^/$as_me: WARNING:     /" >&2
50751     ;;
50752 esac
50753 echo "$as_me:$LINENO: checking for iconv.h" >&5
50754 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50755 if test "${ac_cv_header_iconv_h+set}" = set; then
50756   echo $ECHO_N "(cached) $ECHO_C" >&6
50757 else
50758   ac_cv_header_iconv_h=$ac_header_preproc
50759 fi
50760 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50761 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50762
50763 fi
50764 if test $ac_cv_header_iconv_h = yes; then
50765   ac_has_iconv_h=yes
50766 else
50767   ac_has_iconv_h=no
50768 fi
50769
50770
50771     if test "${ac_cv_header_langinfo_h+set}" = set; then
50772   echo "$as_me:$LINENO: checking for langinfo.h" >&5
50773 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50774 if test "${ac_cv_header_langinfo_h+set}" = set; then
50775   echo $ECHO_N "(cached) $ECHO_C" >&6
50776 fi
50777 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50778 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50779 else
50780   # Is the header compilable?
50781 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50782 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50783 cat >conftest.$ac_ext <<_ACEOF
50784 #line $LINENO "configure"
50785 /* confdefs.h.  */
50786 _ACEOF
50787 cat confdefs.h >>conftest.$ac_ext
50788 cat >>conftest.$ac_ext <<_ACEOF
50789 /* end confdefs.h.  */
50790 $ac_includes_default
50791 #include <langinfo.h>
50792 _ACEOF
50793 rm -f conftest.$ac_objext
50794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50795   (eval $ac_compile) 2>&5
50796   ac_status=$?
50797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50798   (exit $ac_status); } &&
50799          { ac_try='test -s conftest.$ac_objext'
50800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50801   (eval $ac_try) 2>&5
50802   ac_status=$?
50803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50804   (exit $ac_status); }; }; then
50805   ac_header_compiler=yes
50806 else
50807   echo "$as_me: failed program was:" >&5
50808 sed 's/^/| /' conftest.$ac_ext >&5
50809
50810 ac_header_compiler=no
50811 fi
50812 rm -f conftest.$ac_objext conftest.$ac_ext
50813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50814 echo "${ECHO_T}$ac_header_compiler" >&6
50815
50816 # Is the header present?
50817 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50818 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50819 cat >conftest.$ac_ext <<_ACEOF
50820 #line $LINENO "configure"
50821 /* confdefs.h.  */
50822 _ACEOF
50823 cat confdefs.h >>conftest.$ac_ext
50824 cat >>conftest.$ac_ext <<_ACEOF
50825 /* end confdefs.h.  */
50826 #include <langinfo.h>
50827 _ACEOF
50828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50829   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50830   ac_status=$?
50831   grep -v '^ *+' conftest.er1 >conftest.err
50832   rm -f conftest.er1
50833   cat conftest.err >&5
50834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50835   (exit $ac_status); } >/dev/null; then
50836   if test -s conftest.err; then
50837     ac_cpp_err=$ac_c_preproc_warn_flag
50838   else
50839     ac_cpp_err=
50840   fi
50841 else
50842   ac_cpp_err=yes
50843 fi
50844 if test -z "$ac_cpp_err"; then
50845   ac_header_preproc=yes
50846 else
50847   echo "$as_me: failed program was:" >&5
50848 sed 's/^/| /' conftest.$ac_ext >&5
50849
50850   ac_header_preproc=no
50851 fi
50852 rm -f conftest.err conftest.$ac_ext
50853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50854 echo "${ECHO_T}$ac_header_preproc" >&6
50855
50856 # So?  What about this header?
50857 case $ac_header_compiler:$ac_header_preproc in
50858   yes:no )
50859     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50860 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50861     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50862 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50863     (
50864       cat <<\_ASBOX
50865 ## ------------------------------------ ##
50866 ## Report this to bug-autoconf@gnu.org. ##
50867 ## ------------------------------------ ##
50868 _ASBOX
50869     ) |
50870       sed "s/^/$as_me: WARNING:     /" >&2
50871     ;;
50872   no:yes )
50873     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50874 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50875     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50876 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50877     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50878 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50879     (
50880       cat <<\_ASBOX
50881 ## ------------------------------------ ##
50882 ## Report this to bug-autoconf@gnu.org. ##
50883 ## ------------------------------------ ##
50884 _ASBOX
50885     ) |
50886       sed "s/^/$as_me: WARNING:     /" >&2
50887     ;;
50888 esac
50889 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50890 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50891 if test "${ac_cv_header_langinfo_h+set}" = set; then
50892   echo $ECHO_N "(cached) $ECHO_C" >&6
50893 else
50894   ac_cv_header_langinfo_h=$ac_header_preproc
50895 fi
50896 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50897 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50898
50899 fi
50900 if test $ac_cv_header_langinfo_h = yes; then
50901   ac_has_langinfo_h=yes
50902 else
50903   ac_has_langinfo_h=no
50904 fi
50905
50906
50907
50908     # Check for existence of libiconv.a providing XPG2 wchar_t support.
50909     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50910 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50911 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50912   echo $ECHO_N "(cached) $ECHO_C" >&6
50913 else
50914   ac_check_lib_save_LIBS=$LIBS
50915 LIBS="-liconv  $LIBS"
50916 cat >conftest.$ac_ext <<_ACEOF
50917 #line $LINENO "configure"
50918 /* confdefs.h.  */
50919 _ACEOF
50920 cat confdefs.h >>conftest.$ac_ext
50921 cat >>conftest.$ac_ext <<_ACEOF
50922 /* end confdefs.h.  */
50923
50924 /* Override any gcc2 internal prototype to avoid an error.  */
50925 #ifdef __cplusplus
50926 extern "C"
50927 #endif
50928 /* We use char because int might match the return type of a gcc2
50929    builtin and then its argument prototype would still apply.  */
50930 char iconv ();
50931 int
50932 main ()
50933 {
50934 iconv ();
50935   ;
50936   return 0;
50937 }
50938 _ACEOF
50939 rm -f conftest.$ac_objext conftest$ac_exeext
50940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50941   (eval $ac_link) 2>&5
50942   ac_status=$?
50943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50944   (exit $ac_status); } &&
50945          { ac_try='test -s conftest$ac_exeext'
50946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50947   (eval $ac_try) 2>&5
50948   ac_status=$?
50949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950   (exit $ac_status); }; }; then
50951   ac_cv_lib_iconv_iconv=yes
50952 else
50953   echo "$as_me: failed program was:" >&5
50954 sed 's/^/| /' conftest.$ac_ext >&5
50955
50956 ac_cv_lib_iconv_iconv=no
50957 fi
50958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50959 LIBS=$ac_check_lib_save_LIBS
50960 fi
50961 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50962 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50963 if test $ac_cv_lib_iconv_iconv = yes; then
50964   libiconv="-liconv"
50965 fi
50966
50967     ac_save_LIBS="$LIBS"
50968     LIBS="$LIBS $libiconv"
50969
50970
50971
50972
50973
50974 for ac_func in iconv_open iconv_close iconv nl_langinfo
50975 do
50976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50977 echo "$as_me:$LINENO: checking for $ac_func" >&5
50978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50979 if eval "test \"\${$as_ac_var+set}\" = set"; then
50980   echo $ECHO_N "(cached) $ECHO_C" >&6
50981 else
50982   cat >conftest.$ac_ext <<_ACEOF
50983 #line $LINENO "configure"
50984 /* confdefs.h.  */
50985 _ACEOF
50986 cat confdefs.h >>conftest.$ac_ext
50987 cat >>conftest.$ac_ext <<_ACEOF
50988 /* end confdefs.h.  */
50989 /* System header to define __stub macros and hopefully few prototypes,
50990     which can conflict with char $ac_func (); below.
50991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50992     <limits.h> exists even on freestanding compilers.  */
50993 #ifdef __STDC__
50994 # include <limits.h>
50995 #else
50996 # include <assert.h>
50997 #endif
50998 /* Override any gcc2 internal prototype to avoid an error.  */
50999 #ifdef __cplusplus
51000 extern "C"
51001 {
51002 #endif
51003 /* We use char because int might match the return type of a gcc2
51004    builtin and then its argument prototype would still apply.  */
51005 char $ac_func ();
51006 /* The GNU C library defines this for functions which it implements
51007     to always fail with ENOSYS.  Some functions are actually named
51008     something starting with __ and the normal name is an alias.  */
51009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51010 choke me
51011 #else
51012 char (*f) () = $ac_func;
51013 #endif
51014 #ifdef __cplusplus
51015 }
51016 #endif
51017
51018 int
51019 main ()
51020 {
51021 return f != $ac_func;
51022   ;
51023   return 0;
51024 }
51025 _ACEOF
51026 rm -f conftest.$ac_objext conftest$ac_exeext
51027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51028   (eval $ac_link) 2>&5
51029   ac_status=$?
51030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51031   (exit $ac_status); } &&
51032          { ac_try='test -s conftest$ac_exeext'
51033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51034   (eval $ac_try) 2>&5
51035   ac_status=$?
51036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51037   (exit $ac_status); }; }; then
51038   eval "$as_ac_var=yes"
51039 else
51040   echo "$as_me: failed program was:" >&5
51041 sed 's/^/| /' conftest.$ac_ext >&5
51042
51043 eval "$as_ac_var=no"
51044 fi
51045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51046 fi
51047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51049 if test `eval echo '${'$as_ac_var'}'` = yes; then
51050   cat >>confdefs.h <<_ACEOF
51051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51052 _ACEOF
51053  ac_XPG2funcs=yes
51054 else
51055   ac_XPG2funcs=no
51056 fi
51057 done
51058
51059
51060     LIBS="$ac_save_LIBS"
51061
51062     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
51063 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
51064     if test x"$ac_has_iconv_h" = xyes &&
51065        test x"$ac_has_langinfo_h" = xyes &&
51066        test x"$ac_XPG2funcs" = xyes;
51067     then
51068       ac_XPG2_wchar_t=yes
51069     else
51070       ac_XPG2_wchar_t=no
51071     fi
51072     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
51073 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
51074
51075     # At the moment, only enable wchar_t specializations if all the
51076     # above support is present.
51077     if test x"$ac_isoC99_wchar_t" = xyes &&
51078        test x"$ac_XPG2_wchar_t" = xyes;
51079     then
51080       cat >>confdefs.h <<\_ACEOF
51081 #define _GLIBCXX_USE_WCHAR_T 1
51082 _ACEOF
51083
51084       enable_wchar_t=yes
51085     fi
51086   fi
51087   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51088 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51089   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51090 echo "${ECHO_T}$enable_wchar_t" >&6
51091
51092     cat >>confdefs.h <<\_ACEOF
51093 #define HAVE_COPYSIGN 1
51094 _ACEOF
51095
51096     cat >>confdefs.h <<\_ACEOF
51097 #define HAVE_COPYSIGNF 1
51098 _ACEOF
51099
51100     cat >>confdefs.h <<\_ACEOF
51101 #define HAVE_FINITE 1
51102 _ACEOF
51103
51104     cat >>confdefs.h <<\_ACEOF
51105 #define HAVE_FINITEF 1
51106 _ACEOF
51107
51108     cat >>confdefs.h <<\_ACEOF
51109 #define HAVE_FREXPF 1
51110 _ACEOF
51111
51112     cat >>confdefs.h <<\_ACEOF
51113 #define HAVE_HYPOTF 1
51114 _ACEOF
51115
51116     cat >>confdefs.h <<\_ACEOF
51117 #define HAVE_ISINF 1
51118 _ACEOF
51119
51120     cat >>confdefs.h <<\_ACEOF
51121 #define HAVE_ISINFF 1
51122 _ACEOF
51123
51124     cat >>confdefs.h <<\_ACEOF
51125 #define HAVE_ISNAN 1
51126 _ACEOF
51127
51128     cat >>confdefs.h <<\_ACEOF
51129 #define HAVE_ISNANF 1
51130 _ACEOF
51131
51132     cat >>confdefs.h <<\_ACEOF
51133 #define HAVE_SINCOS 1
51134 _ACEOF
51135
51136     cat >>confdefs.h <<\_ACEOF
51137 #define HAVE_SINCOSF 1
51138 _ACEOF
51139
51140     if test x"long_double_math_on_this_cpu" = x"yes"; then
51141       cat >>confdefs.h <<\_ACEOF
51142 #define HAVE_FINITEL 1
51143 _ACEOF
51144
51145       cat >>confdefs.h <<\_ACEOF
51146 #define HAVE_HYPOTL 1
51147 _ACEOF
51148
51149       cat >>confdefs.h <<\_ACEOF
51150 #define HAVE_ISINFL 1
51151 _ACEOF
51152
51153       cat >>confdefs.h <<\_ACEOF
51154 #define HAVE_ISNANL 1
51155 _ACEOF
51156
51157     fi
51158     ;;
51159   *-mingw32*)
51160     #os_include_dir="os/mingw32"
51161
51162
51163
51164 for ac_header in sys/types.h locale.h float.h
51165 do
51166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51168   echo "$as_me:$LINENO: checking for $ac_header" >&5
51169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51171   echo $ECHO_N "(cached) $ECHO_C" >&6
51172 fi
51173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51175 else
51176   # Is the header compilable?
51177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51179 cat >conftest.$ac_ext <<_ACEOF
51180 #line $LINENO "configure"
51181 /* confdefs.h.  */
51182 _ACEOF
51183 cat confdefs.h >>conftest.$ac_ext
51184 cat >>conftest.$ac_ext <<_ACEOF
51185 /* end confdefs.h.  */
51186 $ac_includes_default
51187 #include <$ac_header>
51188 _ACEOF
51189 rm -f conftest.$ac_objext
51190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51191   (eval $ac_compile) 2>&5
51192   ac_status=$?
51193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51194   (exit $ac_status); } &&
51195          { ac_try='test -s conftest.$ac_objext'
51196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51197   (eval $ac_try) 2>&5
51198   ac_status=$?
51199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51200   (exit $ac_status); }; }; then
51201   ac_header_compiler=yes
51202 else
51203   echo "$as_me: failed program was:" >&5
51204 sed 's/^/| /' conftest.$ac_ext >&5
51205
51206 ac_header_compiler=no
51207 fi
51208 rm -f conftest.$ac_objext conftest.$ac_ext
51209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51210 echo "${ECHO_T}$ac_header_compiler" >&6
51211
51212 # Is the header present?
51213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51215 cat >conftest.$ac_ext <<_ACEOF
51216 #line $LINENO "configure"
51217 /* confdefs.h.  */
51218 _ACEOF
51219 cat confdefs.h >>conftest.$ac_ext
51220 cat >>conftest.$ac_ext <<_ACEOF
51221 /* end confdefs.h.  */
51222 #include <$ac_header>
51223 _ACEOF
51224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51225   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51226   ac_status=$?
51227   grep -v '^ *+' conftest.er1 >conftest.err
51228   rm -f conftest.er1
51229   cat conftest.err >&5
51230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51231   (exit $ac_status); } >/dev/null; then
51232   if test -s conftest.err; then
51233     ac_cpp_err=$ac_c_preproc_warn_flag
51234   else
51235     ac_cpp_err=
51236   fi
51237 else
51238   ac_cpp_err=yes
51239 fi
51240 if test -z "$ac_cpp_err"; then
51241   ac_header_preproc=yes
51242 else
51243   echo "$as_me: failed program was:" >&5
51244 sed 's/^/| /' conftest.$ac_ext >&5
51245
51246   ac_header_preproc=no
51247 fi
51248 rm -f conftest.err conftest.$ac_ext
51249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51250 echo "${ECHO_T}$ac_header_preproc" >&6
51251
51252 # So?  What about this header?
51253 case $ac_header_compiler:$ac_header_preproc in
51254   yes:no )
51255     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51257     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51259     (
51260       cat <<\_ASBOX
51261 ## ------------------------------------ ##
51262 ## Report this to bug-autoconf@gnu.org. ##
51263 ## ------------------------------------ ##
51264 _ASBOX
51265     ) |
51266       sed "s/^/$as_me: WARNING:     /" >&2
51267     ;;
51268   no:yes )
51269     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51271     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51273     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51275     (
51276       cat <<\_ASBOX
51277 ## ------------------------------------ ##
51278 ## Report this to bug-autoconf@gnu.org. ##
51279 ## ------------------------------------ ##
51280 _ASBOX
51281     ) |
51282       sed "s/^/$as_me: WARNING:     /" >&2
51283     ;;
51284 esac
51285 echo "$as_me:$LINENO: checking for $ac_header" >&5
51286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51288   echo $ECHO_N "(cached) $ECHO_C" >&6
51289 else
51290   eval "$as_ac_Header=$ac_header_preproc"
51291 fi
51292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51294
51295 fi
51296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51297   cat >>confdefs.h <<_ACEOF
51298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51299 _ACEOF
51300
51301 fi
51302
51303 done
51304
51305
51306   # If we're not using GNU ld, then there's no point in even trying these
51307   # tests.  Check for that first.  We should have already tested for gld
51308   # by now (in libtool), but require it now just to be safe...
51309   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51310   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51311
51312
51313
51314   # The name set by libtool depends on the version of libtool.  Shame on us
51315   # for depending on an impl detail, but c'est la vie.  Older versions used
51316   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51317   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51318   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51319   # set (hence we're using an older libtool), then set it.
51320   if test x${with_gnu_ld+set} != xset; then
51321     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51322       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51323       with_gnu_ld=no
51324     else
51325       with_gnu_ld=$ac_cv_prog_gnu_ld
51326     fi
51327   fi
51328
51329   # Start by getting the version number.  I think the libtool test already
51330   # does some of this, but throws away the result.
51331
51332   ldver=`$LD --version 2>/dev/null | head -1 | \
51333          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51334
51335   glibcxx_gnu_ld_version=`echo $ldver | \
51336          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51337
51338   # Set --gc-sections.
51339   if test "$with_gnu_ld" = "notbroken"; then
51340     # GNU ld it is!  Joy and bunny rabbits!
51341
51342     # All these tests are for C++; save the language and the compiler flags.
51343     # Need to do this so that g++ won't try to link in libstdc++
51344     ac_test_CFLAGS="${CFLAGS+set}"
51345     ac_save_CFLAGS="$CFLAGS"
51346     CFLAGS='-x c++  -Wl,--gc-sections'
51347
51348     # Check for -Wl,--gc-sections
51349     # XXX This test is broken at the moment, as symbols required for linking
51350     # are now in libsupc++ (not built yet).  In addition, this test has
51351     # cored on solaris in the past.  In addition, --gc-sections doesn't
51352     # really work at the moment (keeps on discarding used sections, first
51353     # .eh_frame and now some of the glibc sections for iconv).
51354     # Bzzzzt.  Thanks for playing, maybe next time.
51355     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51356 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51357     if test "$cross_compiling" = yes; then
51358   ac_sectionLDflags=yes
51359 else
51360   cat >conftest.$ac_ext <<_ACEOF
51361 #line $LINENO "configure"
51362 /* confdefs.h.  */
51363 _ACEOF
51364 cat confdefs.h >>conftest.$ac_ext
51365 cat >>conftest.$ac_ext <<_ACEOF
51366 /* end confdefs.h.  */
51367
51368      int main(void)
51369      {
51370        try { throw 1; }
51371        catch (...) { };
51372        return 0;
51373      }
51374
51375 _ACEOF
51376 rm -f conftest$ac_exeext
51377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51378   (eval $ac_link) 2>&5
51379   ac_status=$?
51380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51381   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51383   (eval $ac_try) 2>&5
51384   ac_status=$?
51385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51386   (exit $ac_status); }; }; then
51387   ac_sectionLDflags=yes
51388 else
51389   echo "$as_me: program exited with status $ac_status" >&5
51390 echo "$as_me: failed program was:" >&5
51391 sed 's/^/| /' conftest.$ac_ext >&5
51392
51393 ( exit $ac_status )
51394 ac_sectionLDflags=no
51395 fi
51396 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51397 fi
51398     if test "$ac_test_CFLAGS" = set; then
51399       CFLAGS="$ac_save_CFLAGS"
51400     else
51401       # this is the suspicious part
51402       CFLAGS=''
51403     fi
51404     if test "$ac_sectionLDflags" = "yes"; then
51405       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51406     fi
51407     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51408 echo "${ECHO_T}$ac_sectionLDflags" >&6
51409   fi
51410
51411   # Set linker optimization flags.
51412   if test x"$with_gnu_ld" = x"yes"; then
51413     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51414   fi
51415
51416
51417
51418
51419
51420
51421 echo "$as_me:$LINENO: checking for main in -lm" >&5
51422 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51423 if test "${ac_cv_lib_m_main+set}" = set; then
51424   echo $ECHO_N "(cached) $ECHO_C" >&6
51425 else
51426   ac_check_lib_save_LIBS=$LIBS
51427 LIBS="-lm  $LIBS"
51428 cat >conftest.$ac_ext <<_ACEOF
51429 #line $LINENO "configure"
51430 /* confdefs.h.  */
51431 _ACEOF
51432 cat confdefs.h >>conftest.$ac_ext
51433 cat >>conftest.$ac_ext <<_ACEOF
51434 /* end confdefs.h.  */
51435
51436
51437 int
51438 main ()
51439 {
51440 main ();
51441   ;
51442   return 0;
51443 }
51444 _ACEOF
51445 rm -f conftest.$ac_objext conftest$ac_exeext
51446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51447   (eval $ac_link) 2>&5
51448   ac_status=$?
51449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51450   (exit $ac_status); } &&
51451          { ac_try='test -s conftest$ac_exeext'
51452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51453   (eval $ac_try) 2>&5
51454   ac_status=$?
51455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51456   (exit $ac_status); }; }; then
51457   ac_cv_lib_m_main=yes
51458 else
51459   echo "$as_me: failed program was:" >&5
51460 sed 's/^/| /' conftest.$ac_ext >&5
51461
51462 ac_cv_lib_m_main=no
51463 fi
51464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51465 LIBS=$ac_check_lib_save_LIBS
51466 fi
51467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51468 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51469 if test $ac_cv_lib_m_main = yes; then
51470   cat >>confdefs.h <<_ACEOF
51471 #define HAVE_LIBM 1
51472 _ACEOF
51473
51474   LIBS="-lm $LIBS"
51475
51476 fi
51477
51478
51479
51480 for ac_func in nan copysignf
51481 do
51482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51483 echo "$as_me:$LINENO: checking for $ac_func" >&5
51484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51485 if eval "test \"\${$as_ac_var+set}\" = set"; then
51486   echo $ECHO_N "(cached) $ECHO_C" >&6
51487 else
51488   cat >conftest.$ac_ext <<_ACEOF
51489 #line $LINENO "configure"
51490 /* confdefs.h.  */
51491 _ACEOF
51492 cat confdefs.h >>conftest.$ac_ext
51493 cat >>conftest.$ac_ext <<_ACEOF
51494 /* end confdefs.h.  */
51495 /* System header to define __stub macros and hopefully few prototypes,
51496     which can conflict with char $ac_func (); below.
51497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51498     <limits.h> exists even on freestanding compilers.  */
51499 #ifdef __STDC__
51500 # include <limits.h>
51501 #else
51502 # include <assert.h>
51503 #endif
51504 /* Override any gcc2 internal prototype to avoid an error.  */
51505 #ifdef __cplusplus
51506 extern "C"
51507 {
51508 #endif
51509 /* We use char because int might match the return type of a gcc2
51510    builtin and then its argument prototype would still apply.  */
51511 char $ac_func ();
51512 /* The GNU C library defines this for functions which it implements
51513     to always fail with ENOSYS.  Some functions are actually named
51514     something starting with __ and the normal name is an alias.  */
51515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51516 choke me
51517 #else
51518 char (*f) () = $ac_func;
51519 #endif
51520 #ifdef __cplusplus
51521 }
51522 #endif
51523
51524 int
51525 main ()
51526 {
51527 return f != $ac_func;
51528   ;
51529   return 0;
51530 }
51531 _ACEOF
51532 rm -f conftest.$ac_objext conftest$ac_exeext
51533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51534   (eval $ac_link) 2>&5
51535   ac_status=$?
51536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51537   (exit $ac_status); } &&
51538          { ac_try='test -s conftest$ac_exeext'
51539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51540   (eval $ac_try) 2>&5
51541   ac_status=$?
51542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51543   (exit $ac_status); }; }; then
51544   eval "$as_ac_var=yes"
51545 else
51546   echo "$as_me: failed program was:" >&5
51547 sed 's/^/| /' conftest.$ac_ext >&5
51548
51549 eval "$as_ac_var=no"
51550 fi
51551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51552 fi
51553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51555 if test `eval echo '${'$as_ac_var'}'` = yes; then
51556   cat >>confdefs.h <<_ACEOF
51557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51558 _ACEOF
51559
51560 else
51561   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51562 fi
51563 done
51564
51565
51566
51567 for ac_func in __signbit
51568 do
51569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51570 echo "$as_me:$LINENO: checking for $ac_func" >&5
51571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51572 if eval "test \"\${$as_ac_var+set}\" = set"; then
51573   echo $ECHO_N "(cached) $ECHO_C" >&6
51574 else
51575   cat >conftest.$ac_ext <<_ACEOF
51576 #line $LINENO "configure"
51577 /* confdefs.h.  */
51578 _ACEOF
51579 cat confdefs.h >>conftest.$ac_ext
51580 cat >>conftest.$ac_ext <<_ACEOF
51581 /* end confdefs.h.  */
51582 /* System header to define __stub macros and hopefully few prototypes,
51583     which can conflict with char $ac_func (); below.
51584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51585     <limits.h> exists even on freestanding compilers.  */
51586 #ifdef __STDC__
51587 # include <limits.h>
51588 #else
51589 # include <assert.h>
51590 #endif
51591 /* Override any gcc2 internal prototype to avoid an error.  */
51592 #ifdef __cplusplus
51593 extern "C"
51594 {
51595 #endif
51596 /* We use char because int might match the return type of a gcc2
51597    builtin and then its argument prototype would still apply.  */
51598 char $ac_func ();
51599 /* The GNU C library defines this for functions which it implements
51600     to always fail with ENOSYS.  Some functions are actually named
51601     something starting with __ and the normal name is an alias.  */
51602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51603 choke me
51604 #else
51605 char (*f) () = $ac_func;
51606 #endif
51607 #ifdef __cplusplus
51608 }
51609 #endif
51610
51611 int
51612 main ()
51613 {
51614 return f != $ac_func;
51615   ;
51616   return 0;
51617 }
51618 _ACEOF
51619 rm -f conftest.$ac_objext conftest$ac_exeext
51620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51621   (eval $ac_link) 2>&5
51622   ac_status=$?
51623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51624   (exit $ac_status); } &&
51625          { ac_try='test -s conftest$ac_exeext'
51626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51627   (eval $ac_try) 2>&5
51628   ac_status=$?
51629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51630   (exit $ac_status); }; }; then
51631   eval "$as_ac_var=yes"
51632 else
51633   echo "$as_me: failed program was:" >&5
51634 sed 's/^/| /' conftest.$ac_ext >&5
51635
51636 eval "$as_ac_var=no"
51637 fi
51638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51639 fi
51640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51642 if test `eval echo '${'$as_ac_var'}'` = yes; then
51643   cat >>confdefs.h <<_ACEOF
51644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51645 _ACEOF
51646
51647 else
51648   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51649 fi
51650 done
51651
51652
51653 for ac_func in __signbitf
51654 do
51655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51656 echo "$as_me:$LINENO: checking for $ac_func" >&5
51657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51658 if eval "test \"\${$as_ac_var+set}\" = set"; then
51659   echo $ECHO_N "(cached) $ECHO_C" >&6
51660 else
51661   cat >conftest.$ac_ext <<_ACEOF
51662 #line $LINENO "configure"
51663 /* confdefs.h.  */
51664 _ACEOF
51665 cat confdefs.h >>conftest.$ac_ext
51666 cat >>conftest.$ac_ext <<_ACEOF
51667 /* end confdefs.h.  */
51668 /* System header to define __stub macros and hopefully few prototypes,
51669     which can conflict with char $ac_func (); below.
51670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51671     <limits.h> exists even on freestanding compilers.  */
51672 #ifdef __STDC__
51673 # include <limits.h>
51674 #else
51675 # include <assert.h>
51676 #endif
51677 /* Override any gcc2 internal prototype to avoid an error.  */
51678 #ifdef __cplusplus
51679 extern "C"
51680 {
51681 #endif
51682 /* We use char because int might match the return type of a gcc2
51683    builtin and then its argument prototype would still apply.  */
51684 char $ac_func ();
51685 /* The GNU C library defines this for functions which it implements
51686     to always fail with ENOSYS.  Some functions are actually named
51687     something starting with __ and the normal name is an alias.  */
51688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51689 choke me
51690 #else
51691 char (*f) () = $ac_func;
51692 #endif
51693 #ifdef __cplusplus
51694 }
51695 #endif
51696
51697 int
51698 main ()
51699 {
51700 return f != $ac_func;
51701   ;
51702   return 0;
51703 }
51704 _ACEOF
51705 rm -f conftest.$ac_objext conftest$ac_exeext
51706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51707   (eval $ac_link) 2>&5
51708   ac_status=$?
51709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51710   (exit $ac_status); } &&
51711          { ac_try='test -s conftest$ac_exeext'
51712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51713   (eval $ac_try) 2>&5
51714   ac_status=$?
51715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51716   (exit $ac_status); }; }; then
51717   eval "$as_ac_var=yes"
51718 else
51719   echo "$as_me: failed program was:" >&5
51720 sed 's/^/| /' conftest.$ac_ext >&5
51721
51722 eval "$as_ac_var=no"
51723 fi
51724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51725 fi
51726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51728 if test `eval echo '${'$as_ac_var'}'` = yes; then
51729   cat >>confdefs.h <<_ACEOF
51730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51731 _ACEOF
51732
51733 else
51734   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51735 fi
51736 done
51737
51738
51739           if test x$ac_cv_func_copysignl = x"yes"; then
51740
51741 for ac_func in __signbitl
51742 do
51743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51744 echo "$as_me:$LINENO: checking for $ac_func" >&5
51745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51746 if eval "test \"\${$as_ac_var+set}\" = set"; then
51747   echo $ECHO_N "(cached) $ECHO_C" >&6
51748 else
51749   cat >conftest.$ac_ext <<_ACEOF
51750 #line $LINENO "configure"
51751 /* confdefs.h.  */
51752 _ACEOF
51753 cat confdefs.h >>conftest.$ac_ext
51754 cat >>conftest.$ac_ext <<_ACEOF
51755 /* end confdefs.h.  */
51756 /* System header to define __stub macros and hopefully few prototypes,
51757     which can conflict with char $ac_func (); below.
51758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51759     <limits.h> exists even on freestanding compilers.  */
51760 #ifdef __STDC__
51761 # include <limits.h>
51762 #else
51763 # include <assert.h>
51764 #endif
51765 /* Override any gcc2 internal prototype to avoid an error.  */
51766 #ifdef __cplusplus
51767 extern "C"
51768 {
51769 #endif
51770 /* We use char because int might match the return type of a gcc2
51771    builtin and then its argument prototype would still apply.  */
51772 char $ac_func ();
51773 /* The GNU C library defines this for functions which it implements
51774     to always fail with ENOSYS.  Some functions are actually named
51775     something starting with __ and the normal name is an alias.  */
51776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51777 choke me
51778 #else
51779 char (*f) () = $ac_func;
51780 #endif
51781 #ifdef __cplusplus
51782 }
51783 #endif
51784
51785 int
51786 main ()
51787 {
51788 return f != $ac_func;
51789   ;
51790   return 0;
51791 }
51792 _ACEOF
51793 rm -f conftest.$ac_objext conftest$ac_exeext
51794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51795   (eval $ac_link) 2>&5
51796   ac_status=$?
51797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51798   (exit $ac_status); } &&
51799          { ac_try='test -s conftest$ac_exeext'
51800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51801   (eval $ac_try) 2>&5
51802   ac_status=$?
51803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51804   (exit $ac_status); }; }; then
51805   eval "$as_ac_var=yes"
51806 else
51807   echo "$as_me: failed program was:" >&5
51808 sed 's/^/| /' conftest.$ac_ext >&5
51809
51810 eval "$as_ac_var=no"
51811 fi
51812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51813 fi
51814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51816 if test `eval echo '${'$as_ac_var'}'` = yes; then
51817   cat >>confdefs.h <<_ACEOF
51818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51819 _ACEOF
51820
51821 else
51822   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51823 fi
51824 done
51825
51826   fi
51827
51828   # XXX Review this.  Nothing uses it.
51829   if test -n "$LIBMATHOBJS"; then
51830     need_libmath=yes
51831   fi
51832
51833
51834
51835   # Test wchar.h for mbstate_t, which is needed for char_traits and
51836   # others even if wchar_t support is not on.
51837   echo "$as_me:$LINENO: checking for mbstate_t" >&5
51838 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51839   cat >conftest.$ac_ext <<_ACEOF
51840 #line $LINENO "configure"
51841 /* confdefs.h.  */
51842 _ACEOF
51843 cat confdefs.h >>conftest.$ac_ext
51844 cat >>conftest.$ac_ext <<_ACEOF
51845 /* end confdefs.h.  */
51846 #include <wchar.h>
51847 int
51848 main ()
51849 {
51850 mbstate_t teststate;
51851   ;
51852   return 0;
51853 }
51854 _ACEOF
51855 rm -f conftest.$ac_objext
51856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51857   (eval $ac_compile) 2>&5
51858   ac_status=$?
51859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51860   (exit $ac_status); } &&
51861          { ac_try='test -s conftest.$ac_objext'
51862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51863   (eval $ac_try) 2>&5
51864   ac_status=$?
51865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51866   (exit $ac_status); }; }; then
51867   have_mbstate_t=yes
51868 else
51869   echo "$as_me: failed program was:" >&5
51870 sed 's/^/| /' conftest.$ac_ext >&5
51871
51872 have_mbstate_t=no
51873 fi
51874 rm -f conftest.$ac_objext conftest.$ac_ext
51875   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51876 echo "${ECHO_T}$have_mbstate_t" >&6
51877   if test x"$have_mbstate_t" = xyes; then
51878     cat >>confdefs.h <<\_ACEOF
51879 #define HAVE_MBSTATE_T 1
51880 _ACEOF
51881
51882   fi
51883
51884   # Sanity check for existence of ISO C99 headers for extended encoding.
51885
51886 for ac_header in wchar.h
51887 do
51888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51890   echo "$as_me:$LINENO: checking for $ac_header" >&5
51891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51893   echo $ECHO_N "(cached) $ECHO_C" >&6
51894 fi
51895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51897 else
51898   # Is the header compilable?
51899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51901 cat >conftest.$ac_ext <<_ACEOF
51902 #line $LINENO "configure"
51903 /* confdefs.h.  */
51904 _ACEOF
51905 cat confdefs.h >>conftest.$ac_ext
51906 cat >>conftest.$ac_ext <<_ACEOF
51907 /* end confdefs.h.  */
51908 $ac_includes_default
51909 #include <$ac_header>
51910 _ACEOF
51911 rm -f conftest.$ac_objext
51912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51913   (eval $ac_compile) 2>&5
51914   ac_status=$?
51915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51916   (exit $ac_status); } &&
51917          { ac_try='test -s conftest.$ac_objext'
51918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51919   (eval $ac_try) 2>&5
51920   ac_status=$?
51921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51922   (exit $ac_status); }; }; then
51923   ac_header_compiler=yes
51924 else
51925   echo "$as_me: failed program was:" >&5
51926 sed 's/^/| /' conftest.$ac_ext >&5
51927
51928 ac_header_compiler=no
51929 fi
51930 rm -f conftest.$ac_objext conftest.$ac_ext
51931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51932 echo "${ECHO_T}$ac_header_compiler" >&6
51933
51934 # Is the header present?
51935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51937 cat >conftest.$ac_ext <<_ACEOF
51938 #line $LINENO "configure"
51939 /* confdefs.h.  */
51940 _ACEOF
51941 cat confdefs.h >>conftest.$ac_ext
51942 cat >>conftest.$ac_ext <<_ACEOF
51943 /* end confdefs.h.  */
51944 #include <$ac_header>
51945 _ACEOF
51946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51947   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51948   ac_status=$?
51949   grep -v '^ *+' conftest.er1 >conftest.err
51950   rm -f conftest.er1
51951   cat conftest.err >&5
51952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51953   (exit $ac_status); } >/dev/null; then
51954   if test -s conftest.err; then
51955     ac_cpp_err=$ac_c_preproc_warn_flag
51956   else
51957     ac_cpp_err=
51958   fi
51959 else
51960   ac_cpp_err=yes
51961 fi
51962 if test -z "$ac_cpp_err"; then
51963   ac_header_preproc=yes
51964 else
51965   echo "$as_me: failed program was:" >&5
51966 sed 's/^/| /' conftest.$ac_ext >&5
51967
51968   ac_header_preproc=no
51969 fi
51970 rm -f conftest.err conftest.$ac_ext
51971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51972 echo "${ECHO_T}$ac_header_preproc" >&6
51973
51974 # So?  What about this header?
51975 case $ac_header_compiler:$ac_header_preproc in
51976   yes:no )
51977     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51979     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51981     (
51982       cat <<\_ASBOX
51983 ## ------------------------------------ ##
51984 ## Report this to bug-autoconf@gnu.org. ##
51985 ## ------------------------------------ ##
51986 _ASBOX
51987     ) |
51988       sed "s/^/$as_me: WARNING:     /" >&2
51989     ;;
51990   no:yes )
51991     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51993     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51995     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51997     (
51998       cat <<\_ASBOX
51999 ## ------------------------------------ ##
52000 ## Report this to bug-autoconf@gnu.org. ##
52001 ## ------------------------------------ ##
52002 _ASBOX
52003     ) |
52004       sed "s/^/$as_me: WARNING:     /" >&2
52005     ;;
52006 esac
52007 echo "$as_me:$LINENO: checking for $ac_header" >&5
52008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52010   echo $ECHO_N "(cached) $ECHO_C" >&6
52011 else
52012   eval "$as_ac_Header=$ac_header_preproc"
52013 fi
52014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52016
52017 fi
52018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52019   cat >>confdefs.h <<_ACEOF
52020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52021 _ACEOF
52022  ac_has_wchar_h=yes
52023 else
52024   ac_has_wchar_h=no
52025 fi
52026
52027 done
52028
52029
52030 for ac_header in wctype.h
52031 do
52032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52034   echo "$as_me:$LINENO: checking for $ac_header" >&5
52035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52037   echo $ECHO_N "(cached) $ECHO_C" >&6
52038 fi
52039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52041 else
52042   # Is the header compilable?
52043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52045 cat >conftest.$ac_ext <<_ACEOF
52046 #line $LINENO "configure"
52047 /* confdefs.h.  */
52048 _ACEOF
52049 cat confdefs.h >>conftest.$ac_ext
52050 cat >>conftest.$ac_ext <<_ACEOF
52051 /* end confdefs.h.  */
52052 $ac_includes_default
52053 #include <$ac_header>
52054 _ACEOF
52055 rm -f conftest.$ac_objext
52056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52057   (eval $ac_compile) 2>&5
52058   ac_status=$?
52059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52060   (exit $ac_status); } &&
52061          { ac_try='test -s conftest.$ac_objext'
52062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52063   (eval $ac_try) 2>&5
52064   ac_status=$?
52065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52066   (exit $ac_status); }; }; then
52067   ac_header_compiler=yes
52068 else
52069   echo "$as_me: failed program was:" >&5
52070 sed 's/^/| /' conftest.$ac_ext >&5
52071
52072 ac_header_compiler=no
52073 fi
52074 rm -f conftest.$ac_objext conftest.$ac_ext
52075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52076 echo "${ECHO_T}$ac_header_compiler" >&6
52077
52078 # Is the header present?
52079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52081 cat >conftest.$ac_ext <<_ACEOF
52082 #line $LINENO "configure"
52083 /* confdefs.h.  */
52084 _ACEOF
52085 cat confdefs.h >>conftest.$ac_ext
52086 cat >>conftest.$ac_ext <<_ACEOF
52087 /* end confdefs.h.  */
52088 #include <$ac_header>
52089 _ACEOF
52090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52091   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52092   ac_status=$?
52093   grep -v '^ *+' conftest.er1 >conftest.err
52094   rm -f conftest.er1
52095   cat conftest.err >&5
52096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52097   (exit $ac_status); } >/dev/null; then
52098   if test -s conftest.err; then
52099     ac_cpp_err=$ac_c_preproc_warn_flag
52100   else
52101     ac_cpp_err=
52102   fi
52103 else
52104   ac_cpp_err=yes
52105 fi
52106 if test -z "$ac_cpp_err"; then
52107   ac_header_preproc=yes
52108 else
52109   echo "$as_me: failed program was:" >&5
52110 sed 's/^/| /' conftest.$ac_ext >&5
52111
52112   ac_header_preproc=no
52113 fi
52114 rm -f conftest.err conftest.$ac_ext
52115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52116 echo "${ECHO_T}$ac_header_preproc" >&6
52117
52118 # So?  What about this header?
52119 case $ac_header_compiler:$ac_header_preproc in
52120   yes:no )
52121     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52123     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52125     (
52126       cat <<\_ASBOX
52127 ## ------------------------------------ ##
52128 ## Report this to bug-autoconf@gnu.org. ##
52129 ## ------------------------------------ ##
52130 _ASBOX
52131     ) |
52132       sed "s/^/$as_me: WARNING:     /" >&2
52133     ;;
52134   no:yes )
52135     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52137     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52139     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52141     (
52142       cat <<\_ASBOX
52143 ## ------------------------------------ ##
52144 ## Report this to bug-autoconf@gnu.org. ##
52145 ## ------------------------------------ ##
52146 _ASBOX
52147     ) |
52148       sed "s/^/$as_me: WARNING:     /" >&2
52149     ;;
52150 esac
52151 echo "$as_me:$LINENO: checking for $ac_header" >&5
52152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52154   echo $ECHO_N "(cached) $ECHO_C" >&6
52155 else
52156   eval "$as_ac_Header=$ac_header_preproc"
52157 fi
52158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52160
52161 fi
52162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52163   cat >>confdefs.h <<_ACEOF
52164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52165 _ACEOF
52166  ac_has_wctype_h=yes
52167 else
52168   ac_has_wctype_h=no
52169 fi
52170
52171 done
52172
52173
52174   # Only continue checking if the ISO C99 headers exist and support is on.
52175   if test x"$ac_has_wchar_h" = xyes &&
52176      test x"$ac_has_wctype_h" = xyes &&
52177      test x"$enable_c_mbchar" != xno; then
52178
52179     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52180     # numeric_limits can instantiate type_traits<wchar_t>
52181     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52182 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52183     cat >conftest.$ac_ext <<_ACEOF
52184 #line $LINENO "configure"
52185 /* confdefs.h.  */
52186 _ACEOF
52187 cat confdefs.h >>conftest.$ac_ext
52188 cat >>conftest.$ac_ext <<_ACEOF
52189 /* end confdefs.h.  */
52190 #include <wchar.h>
52191 int
52192 main ()
52193 {
52194 int i = WCHAR_MIN; int j = WCHAR_MAX;
52195   ;
52196   return 0;
52197 }
52198 _ACEOF
52199 rm -f conftest.$ac_objext
52200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52201   (eval $ac_compile) 2>&5
52202   ac_status=$?
52203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52204   (exit $ac_status); } &&
52205          { ac_try='test -s conftest.$ac_objext'
52206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52207   (eval $ac_try) 2>&5
52208   ac_status=$?
52209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52210   (exit $ac_status); }; }; then
52211   has_wchar_minmax=yes
52212 else
52213   echo "$as_me: failed program was:" >&5
52214 sed 's/^/| /' conftest.$ac_ext >&5
52215
52216 has_wchar_minmax=no
52217 fi
52218 rm -f conftest.$ac_objext conftest.$ac_ext
52219     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52220 echo "${ECHO_T}$has_wchar_minmax" >&6
52221
52222     # Test wchar.h for WEOF, which is what we use to determine whether
52223     # to specialize for char_traits<wchar_t> or not.
52224     echo "$as_me:$LINENO: checking for WEOF" >&5
52225 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52226     cat >conftest.$ac_ext <<_ACEOF
52227 #line $LINENO "configure"
52228 /* confdefs.h.  */
52229 _ACEOF
52230 cat confdefs.h >>conftest.$ac_ext
52231 cat >>conftest.$ac_ext <<_ACEOF
52232 /* end confdefs.h.  */
52233
52234       #include <wchar.h>
52235       #include <stddef.h>
52236 int
52237 main ()
52238 {
52239 wint_t i = WEOF;
52240   ;
52241   return 0;
52242 }
52243 _ACEOF
52244 rm -f conftest.$ac_objext
52245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52246   (eval $ac_compile) 2>&5
52247   ac_status=$?
52248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52249   (exit $ac_status); } &&
52250          { ac_try='test -s conftest.$ac_objext'
52251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52252   (eval $ac_try) 2>&5
52253   ac_status=$?
52254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52255   (exit $ac_status); }; }; then
52256   has_weof=yes
52257 else
52258   echo "$as_me: failed program was:" >&5
52259 sed 's/^/| /' conftest.$ac_ext >&5
52260
52261 has_weof=no
52262 fi
52263 rm -f conftest.$ac_objext conftest.$ac_ext
52264     echo "$as_me:$LINENO: result: $has_weof" >&5
52265 echo "${ECHO_T}$has_weof" >&6
52266
52267     # Tests for wide character functions used in char_traits<wchar_t>.
52268     ac_wfuncs=yes
52269
52270
52271
52272
52273
52274
52275 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52276 do
52277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52278 echo "$as_me:$LINENO: checking for $ac_func" >&5
52279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52280 if eval "test \"\${$as_ac_var+set}\" = set"; then
52281   echo $ECHO_N "(cached) $ECHO_C" >&6
52282 else
52283   cat >conftest.$ac_ext <<_ACEOF
52284 #line $LINENO "configure"
52285 /* confdefs.h.  */
52286 _ACEOF
52287 cat confdefs.h >>conftest.$ac_ext
52288 cat >>conftest.$ac_ext <<_ACEOF
52289 /* end confdefs.h.  */
52290 /* System header to define __stub macros and hopefully few prototypes,
52291     which can conflict with char $ac_func (); below.
52292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52293     <limits.h> exists even on freestanding compilers.  */
52294 #ifdef __STDC__
52295 # include <limits.h>
52296 #else
52297 # include <assert.h>
52298 #endif
52299 /* Override any gcc2 internal prototype to avoid an error.  */
52300 #ifdef __cplusplus
52301 extern "C"
52302 {
52303 #endif
52304 /* We use char because int might match the return type of a gcc2
52305    builtin and then its argument prototype would still apply.  */
52306 char $ac_func ();
52307 /* The GNU C library defines this for functions which it implements
52308     to always fail with ENOSYS.  Some functions are actually named
52309     something starting with __ and the normal name is an alias.  */
52310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52311 choke me
52312 #else
52313 char (*f) () = $ac_func;
52314 #endif
52315 #ifdef __cplusplus
52316 }
52317 #endif
52318
52319 int
52320 main ()
52321 {
52322 return f != $ac_func;
52323   ;
52324   return 0;
52325 }
52326 _ACEOF
52327 rm -f conftest.$ac_objext conftest$ac_exeext
52328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52329   (eval $ac_link) 2>&5
52330   ac_status=$?
52331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52332   (exit $ac_status); } &&
52333          { ac_try='test -s conftest$ac_exeext'
52334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52335   (eval $ac_try) 2>&5
52336   ac_status=$?
52337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52338   (exit $ac_status); }; }; then
52339   eval "$as_ac_var=yes"
52340 else
52341   echo "$as_me: failed program was:" >&5
52342 sed 's/^/| /' conftest.$ac_ext >&5
52343
52344 eval "$as_ac_var=no"
52345 fi
52346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52347 fi
52348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52350 if test `eval echo '${'$as_ac_var'}'` = yes; then
52351   cat >>confdefs.h <<_ACEOF
52352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52353 _ACEOF
52354
52355 else
52356   ac_wfuncs=no
52357 fi
52358 done
52359
52360
52361     # Checks for names injected into std:: by the c_std headers.
52362
52363
52364
52365
52366
52367
52368
52369
52370
52371
52372
52373
52374
52375
52376
52377
52378
52379
52380
52381
52382
52383
52384
52385
52386
52387
52388
52389
52390
52391
52392
52393
52394
52395
52396
52397
52398
52399
52400
52401
52402
52403
52404
52405
52406
52407
52408
52409
52410
52411
52412 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52413     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
52414     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52415     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
52416     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52417     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52418 do
52419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52420 echo "$as_me:$LINENO: checking for $ac_func" >&5
52421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52422 if eval "test \"\${$as_ac_var+set}\" = set"; then
52423   echo $ECHO_N "(cached) $ECHO_C" >&6
52424 else
52425   cat >conftest.$ac_ext <<_ACEOF
52426 #line $LINENO "configure"
52427 /* confdefs.h.  */
52428 _ACEOF
52429 cat confdefs.h >>conftest.$ac_ext
52430 cat >>conftest.$ac_ext <<_ACEOF
52431 /* end confdefs.h.  */
52432 /* System header to define __stub macros and hopefully few prototypes,
52433     which can conflict with char $ac_func (); below.
52434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52435     <limits.h> exists even on freestanding compilers.  */
52436 #ifdef __STDC__
52437 # include <limits.h>
52438 #else
52439 # include <assert.h>
52440 #endif
52441 /* Override any gcc2 internal prototype to avoid an error.  */
52442 #ifdef __cplusplus
52443 extern "C"
52444 {
52445 #endif
52446 /* We use char because int might match the return type of a gcc2
52447    builtin and then its argument prototype would still apply.  */
52448 char $ac_func ();
52449 /* The GNU C library defines this for functions which it implements
52450     to always fail with ENOSYS.  Some functions are actually named
52451     something starting with __ and the normal name is an alias.  */
52452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52453 choke me
52454 #else
52455 char (*f) () = $ac_func;
52456 #endif
52457 #ifdef __cplusplus
52458 }
52459 #endif
52460
52461 int
52462 main ()
52463 {
52464 return f != $ac_func;
52465   ;
52466   return 0;
52467 }
52468 _ACEOF
52469 rm -f conftest.$ac_objext conftest$ac_exeext
52470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52471   (eval $ac_link) 2>&5
52472   ac_status=$?
52473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52474   (exit $ac_status); } &&
52475          { ac_try='test -s conftest$ac_exeext'
52476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52477   (eval $ac_try) 2>&5
52478   ac_status=$?
52479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52480   (exit $ac_status); }; }; then
52481   eval "$as_ac_var=yes"
52482 else
52483   echo "$as_me: failed program was:" >&5
52484 sed 's/^/| /' conftest.$ac_ext >&5
52485
52486 eval "$as_ac_var=no"
52487 fi
52488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52489 fi
52490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52492 if test `eval echo '${'$as_ac_var'}'` = yes; then
52493   cat >>confdefs.h <<_ACEOF
52494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52495 _ACEOF
52496
52497 else
52498   ac_wfuncs=no
52499 fi
52500 done
52501
52502
52503     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52504 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52505     if test x"$has_weof" = xyes &&
52506        test x"$has_wchar_minmax" = xyes &&
52507        test x"$ac_wfuncs" = xyes;
52508     then
52509       ac_isoC99_wchar_t=yes
52510     else
52511       ac_isoC99_wchar_t=no
52512     fi
52513     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52514 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52515
52516     # Use iconv for wchar_t to char conversions. As such, check for
52517     # X/Open Portability Guide, version 2 features (XPG2).
52518     if test "${ac_cv_header_iconv_h+set}" = set; then
52519   echo "$as_me:$LINENO: checking for iconv.h" >&5
52520 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52521 if test "${ac_cv_header_iconv_h+set}" = set; then
52522   echo $ECHO_N "(cached) $ECHO_C" >&6
52523 fi
52524 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52525 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52526 else
52527   # Is the header compilable?
52528 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52529 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52530 cat >conftest.$ac_ext <<_ACEOF
52531 #line $LINENO "configure"
52532 /* confdefs.h.  */
52533 _ACEOF
52534 cat confdefs.h >>conftest.$ac_ext
52535 cat >>conftest.$ac_ext <<_ACEOF
52536 /* end confdefs.h.  */
52537 $ac_includes_default
52538 #include <iconv.h>
52539 _ACEOF
52540 rm -f conftest.$ac_objext
52541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52542   (eval $ac_compile) 2>&5
52543   ac_status=$?
52544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52545   (exit $ac_status); } &&
52546          { ac_try='test -s conftest.$ac_objext'
52547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52548   (eval $ac_try) 2>&5
52549   ac_status=$?
52550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52551   (exit $ac_status); }; }; then
52552   ac_header_compiler=yes
52553 else
52554   echo "$as_me: failed program was:" >&5
52555 sed 's/^/| /' conftest.$ac_ext >&5
52556
52557 ac_header_compiler=no
52558 fi
52559 rm -f conftest.$ac_objext conftest.$ac_ext
52560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52561 echo "${ECHO_T}$ac_header_compiler" >&6
52562
52563 # Is the header present?
52564 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52565 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52566 cat >conftest.$ac_ext <<_ACEOF
52567 #line $LINENO "configure"
52568 /* confdefs.h.  */
52569 _ACEOF
52570 cat confdefs.h >>conftest.$ac_ext
52571 cat >>conftest.$ac_ext <<_ACEOF
52572 /* end confdefs.h.  */
52573 #include <iconv.h>
52574 _ACEOF
52575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52576   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52577   ac_status=$?
52578   grep -v '^ *+' conftest.er1 >conftest.err
52579   rm -f conftest.er1
52580   cat conftest.err >&5
52581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52582   (exit $ac_status); } >/dev/null; then
52583   if test -s conftest.err; then
52584     ac_cpp_err=$ac_c_preproc_warn_flag
52585   else
52586     ac_cpp_err=
52587   fi
52588 else
52589   ac_cpp_err=yes
52590 fi
52591 if test -z "$ac_cpp_err"; then
52592   ac_header_preproc=yes
52593 else
52594   echo "$as_me: failed program was:" >&5
52595 sed 's/^/| /' conftest.$ac_ext >&5
52596
52597   ac_header_preproc=no
52598 fi
52599 rm -f conftest.err conftest.$ac_ext
52600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52601 echo "${ECHO_T}$ac_header_preproc" >&6
52602
52603 # So?  What about this header?
52604 case $ac_header_compiler:$ac_header_preproc in
52605   yes:no )
52606     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52607 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52608     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52609 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52610     (
52611       cat <<\_ASBOX
52612 ## ------------------------------------ ##
52613 ## Report this to bug-autoconf@gnu.org. ##
52614 ## ------------------------------------ ##
52615 _ASBOX
52616     ) |
52617       sed "s/^/$as_me: WARNING:     /" >&2
52618     ;;
52619   no:yes )
52620     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52621 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52622     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52623 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52624     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52625 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52626     (
52627       cat <<\_ASBOX
52628 ## ------------------------------------ ##
52629 ## Report this to bug-autoconf@gnu.org. ##
52630 ## ------------------------------------ ##
52631 _ASBOX
52632     ) |
52633       sed "s/^/$as_me: WARNING:     /" >&2
52634     ;;
52635 esac
52636 echo "$as_me:$LINENO: checking for iconv.h" >&5
52637 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52638 if test "${ac_cv_header_iconv_h+set}" = set; then
52639   echo $ECHO_N "(cached) $ECHO_C" >&6
52640 else
52641   ac_cv_header_iconv_h=$ac_header_preproc
52642 fi
52643 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52644 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52645
52646 fi
52647 if test $ac_cv_header_iconv_h = yes; then
52648   ac_has_iconv_h=yes
52649 else
52650   ac_has_iconv_h=no
52651 fi
52652
52653
52654     if test "${ac_cv_header_langinfo_h+set}" = set; then
52655   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52656 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52657 if test "${ac_cv_header_langinfo_h+set}" = set; then
52658   echo $ECHO_N "(cached) $ECHO_C" >&6
52659 fi
52660 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52661 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52662 else
52663   # Is the header compilable?
52664 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52665 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52666 cat >conftest.$ac_ext <<_ACEOF
52667 #line $LINENO "configure"
52668 /* confdefs.h.  */
52669 _ACEOF
52670 cat confdefs.h >>conftest.$ac_ext
52671 cat >>conftest.$ac_ext <<_ACEOF
52672 /* end confdefs.h.  */
52673 $ac_includes_default
52674 #include <langinfo.h>
52675 _ACEOF
52676 rm -f conftest.$ac_objext
52677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52678   (eval $ac_compile) 2>&5
52679   ac_status=$?
52680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52681   (exit $ac_status); } &&
52682          { ac_try='test -s conftest.$ac_objext'
52683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52684   (eval $ac_try) 2>&5
52685   ac_status=$?
52686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687   (exit $ac_status); }; }; then
52688   ac_header_compiler=yes
52689 else
52690   echo "$as_me: failed program was:" >&5
52691 sed 's/^/| /' conftest.$ac_ext >&5
52692
52693 ac_header_compiler=no
52694 fi
52695 rm -f conftest.$ac_objext conftest.$ac_ext
52696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52697 echo "${ECHO_T}$ac_header_compiler" >&6
52698
52699 # Is the header present?
52700 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52701 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52702 cat >conftest.$ac_ext <<_ACEOF
52703 #line $LINENO "configure"
52704 /* confdefs.h.  */
52705 _ACEOF
52706 cat confdefs.h >>conftest.$ac_ext
52707 cat >>conftest.$ac_ext <<_ACEOF
52708 /* end confdefs.h.  */
52709 #include <langinfo.h>
52710 _ACEOF
52711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52712   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52713   ac_status=$?
52714   grep -v '^ *+' conftest.er1 >conftest.err
52715   rm -f conftest.er1
52716   cat conftest.err >&5
52717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52718   (exit $ac_status); } >/dev/null; then
52719   if test -s conftest.err; then
52720     ac_cpp_err=$ac_c_preproc_warn_flag
52721   else
52722     ac_cpp_err=
52723   fi
52724 else
52725   ac_cpp_err=yes
52726 fi
52727 if test -z "$ac_cpp_err"; then
52728   ac_header_preproc=yes
52729 else
52730   echo "$as_me: failed program was:" >&5
52731 sed 's/^/| /' conftest.$ac_ext >&5
52732
52733   ac_header_preproc=no
52734 fi
52735 rm -f conftest.err conftest.$ac_ext
52736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52737 echo "${ECHO_T}$ac_header_preproc" >&6
52738
52739 # So?  What about this header?
52740 case $ac_header_compiler:$ac_header_preproc in
52741   yes:no )
52742     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52743 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52744     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52745 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52746     (
52747       cat <<\_ASBOX
52748 ## ------------------------------------ ##
52749 ## Report this to bug-autoconf@gnu.org. ##
52750 ## ------------------------------------ ##
52751 _ASBOX
52752     ) |
52753       sed "s/^/$as_me: WARNING:     /" >&2
52754     ;;
52755   no:yes )
52756     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52757 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52758     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52759 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52760     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52761 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52762     (
52763       cat <<\_ASBOX
52764 ## ------------------------------------ ##
52765 ## Report this to bug-autoconf@gnu.org. ##
52766 ## ------------------------------------ ##
52767 _ASBOX
52768     ) |
52769       sed "s/^/$as_me: WARNING:     /" >&2
52770     ;;
52771 esac
52772 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52773 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52774 if test "${ac_cv_header_langinfo_h+set}" = set; then
52775   echo $ECHO_N "(cached) $ECHO_C" >&6
52776 else
52777   ac_cv_header_langinfo_h=$ac_header_preproc
52778 fi
52779 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52780 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52781
52782 fi
52783 if test $ac_cv_header_langinfo_h = yes; then
52784   ac_has_langinfo_h=yes
52785 else
52786   ac_has_langinfo_h=no
52787 fi
52788
52789
52790
52791     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52792     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52793 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52794 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52795   echo $ECHO_N "(cached) $ECHO_C" >&6
52796 else
52797   ac_check_lib_save_LIBS=$LIBS
52798 LIBS="-liconv  $LIBS"
52799 cat >conftest.$ac_ext <<_ACEOF
52800 #line $LINENO "configure"
52801 /* confdefs.h.  */
52802 _ACEOF
52803 cat confdefs.h >>conftest.$ac_ext
52804 cat >>conftest.$ac_ext <<_ACEOF
52805 /* end confdefs.h.  */
52806
52807 /* Override any gcc2 internal prototype to avoid an error.  */
52808 #ifdef __cplusplus
52809 extern "C"
52810 #endif
52811 /* We use char because int might match the return type of a gcc2
52812    builtin and then its argument prototype would still apply.  */
52813 char iconv ();
52814 int
52815 main ()
52816 {
52817 iconv ();
52818   ;
52819   return 0;
52820 }
52821 _ACEOF
52822 rm -f conftest.$ac_objext conftest$ac_exeext
52823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52824   (eval $ac_link) 2>&5
52825   ac_status=$?
52826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52827   (exit $ac_status); } &&
52828          { ac_try='test -s conftest$ac_exeext'
52829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52830   (eval $ac_try) 2>&5
52831   ac_status=$?
52832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52833   (exit $ac_status); }; }; then
52834   ac_cv_lib_iconv_iconv=yes
52835 else
52836   echo "$as_me: failed program was:" >&5
52837 sed 's/^/| /' conftest.$ac_ext >&5
52838
52839 ac_cv_lib_iconv_iconv=no
52840 fi
52841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52842 LIBS=$ac_check_lib_save_LIBS
52843 fi
52844 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52845 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52846 if test $ac_cv_lib_iconv_iconv = yes; then
52847   libiconv="-liconv"
52848 fi
52849
52850     ac_save_LIBS="$LIBS"
52851     LIBS="$LIBS $libiconv"
52852
52853
52854
52855
52856
52857 for ac_func in iconv_open iconv_close iconv nl_langinfo
52858 do
52859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52860 echo "$as_me:$LINENO: checking for $ac_func" >&5
52861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52862 if eval "test \"\${$as_ac_var+set}\" = set"; then
52863   echo $ECHO_N "(cached) $ECHO_C" >&6
52864 else
52865   cat >conftest.$ac_ext <<_ACEOF
52866 #line $LINENO "configure"
52867 /* confdefs.h.  */
52868 _ACEOF
52869 cat confdefs.h >>conftest.$ac_ext
52870 cat >>conftest.$ac_ext <<_ACEOF
52871 /* end confdefs.h.  */
52872 /* System header to define __stub macros and hopefully few prototypes,
52873     which can conflict with char $ac_func (); below.
52874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52875     <limits.h> exists even on freestanding compilers.  */
52876 #ifdef __STDC__
52877 # include <limits.h>
52878 #else
52879 # include <assert.h>
52880 #endif
52881 /* Override any gcc2 internal prototype to avoid an error.  */
52882 #ifdef __cplusplus
52883 extern "C"
52884 {
52885 #endif
52886 /* We use char because int might match the return type of a gcc2
52887    builtin and then its argument prototype would still apply.  */
52888 char $ac_func ();
52889 /* The GNU C library defines this for functions which it implements
52890     to always fail with ENOSYS.  Some functions are actually named
52891     something starting with __ and the normal name is an alias.  */
52892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52893 choke me
52894 #else
52895 char (*f) () = $ac_func;
52896 #endif
52897 #ifdef __cplusplus
52898 }
52899 #endif
52900
52901 int
52902 main ()
52903 {
52904 return f != $ac_func;
52905   ;
52906   return 0;
52907 }
52908 _ACEOF
52909 rm -f conftest.$ac_objext conftest$ac_exeext
52910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52911   (eval $ac_link) 2>&5
52912   ac_status=$?
52913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52914   (exit $ac_status); } &&
52915          { ac_try='test -s conftest$ac_exeext'
52916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52917   (eval $ac_try) 2>&5
52918   ac_status=$?
52919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52920   (exit $ac_status); }; }; then
52921   eval "$as_ac_var=yes"
52922 else
52923   echo "$as_me: failed program was:" >&5
52924 sed 's/^/| /' conftest.$ac_ext >&5
52925
52926 eval "$as_ac_var=no"
52927 fi
52928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52929 fi
52930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52932 if test `eval echo '${'$as_ac_var'}'` = yes; then
52933   cat >>confdefs.h <<_ACEOF
52934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52935 _ACEOF
52936  ac_XPG2funcs=yes
52937 else
52938   ac_XPG2funcs=no
52939 fi
52940 done
52941
52942
52943     LIBS="$ac_save_LIBS"
52944
52945     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52946 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52947     if test x"$ac_has_iconv_h" = xyes &&
52948        test x"$ac_has_langinfo_h" = xyes &&
52949        test x"$ac_XPG2funcs" = xyes;
52950     then
52951       ac_XPG2_wchar_t=yes
52952     else
52953       ac_XPG2_wchar_t=no
52954     fi
52955     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52956 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52957
52958     # At the moment, only enable wchar_t specializations if all the
52959     # above support is present.
52960     if test x"$ac_isoC99_wchar_t" = xyes &&
52961        test x"$ac_XPG2_wchar_t" = xyes;
52962     then
52963       cat >>confdefs.h <<\_ACEOF
52964 #define _GLIBCXX_USE_WCHAR_T 1
52965 _ACEOF
52966
52967       enable_wchar_t=yes
52968     fi
52969   fi
52970   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52971 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52972   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52973 echo "${ECHO_T}$enable_wchar_t" >&6
52974
52975     ;;
52976   *-netbsd*)
52977     #os_include_dir="os/bsd/netbsd"
52978
52979
52980
52981
52982
52983
52984
52985
52986
52987
52988
52989
52990 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
52991       machine/endian.h machine/param.h sys/machine.h sys/types.h \
52992       fp.h locale.h float.h inttypes.h
52993 do
52994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52996   echo "$as_me:$LINENO: checking for $ac_header" >&5
52997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52999   echo $ECHO_N "(cached) $ECHO_C" >&6
53000 fi
53001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53003 else
53004   # Is the header compilable?
53005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53007 cat >conftest.$ac_ext <<_ACEOF
53008 #line $LINENO "configure"
53009 /* confdefs.h.  */
53010 _ACEOF
53011 cat confdefs.h >>conftest.$ac_ext
53012 cat >>conftest.$ac_ext <<_ACEOF
53013 /* end confdefs.h.  */
53014 $ac_includes_default
53015 #include <$ac_header>
53016 _ACEOF
53017 rm -f conftest.$ac_objext
53018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53019   (eval $ac_compile) 2>&5
53020   ac_status=$?
53021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53022   (exit $ac_status); } &&
53023          { ac_try='test -s conftest.$ac_objext'
53024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53025   (eval $ac_try) 2>&5
53026   ac_status=$?
53027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53028   (exit $ac_status); }; }; then
53029   ac_header_compiler=yes
53030 else
53031   echo "$as_me: failed program was:" >&5
53032 sed 's/^/| /' conftest.$ac_ext >&5
53033
53034 ac_header_compiler=no
53035 fi
53036 rm -f conftest.$ac_objext conftest.$ac_ext
53037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53038 echo "${ECHO_T}$ac_header_compiler" >&6
53039
53040 # Is the header present?
53041 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53043 cat >conftest.$ac_ext <<_ACEOF
53044 #line $LINENO "configure"
53045 /* confdefs.h.  */
53046 _ACEOF
53047 cat confdefs.h >>conftest.$ac_ext
53048 cat >>conftest.$ac_ext <<_ACEOF
53049 /* end confdefs.h.  */
53050 #include <$ac_header>
53051 _ACEOF
53052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53053   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53054   ac_status=$?
53055   grep -v '^ *+' conftest.er1 >conftest.err
53056   rm -f conftest.er1
53057   cat conftest.err >&5
53058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53059   (exit $ac_status); } >/dev/null; then
53060   if test -s conftest.err; then
53061     ac_cpp_err=$ac_c_preproc_warn_flag
53062   else
53063     ac_cpp_err=
53064   fi
53065 else
53066   ac_cpp_err=yes
53067 fi
53068 if test -z "$ac_cpp_err"; then
53069   ac_header_preproc=yes
53070 else
53071   echo "$as_me: failed program was:" >&5
53072 sed 's/^/| /' conftest.$ac_ext >&5
53073
53074   ac_header_preproc=no
53075 fi
53076 rm -f conftest.err conftest.$ac_ext
53077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53078 echo "${ECHO_T}$ac_header_preproc" >&6
53079
53080 # So?  What about this header?
53081 case $ac_header_compiler:$ac_header_preproc in
53082   yes:no )
53083     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53085     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53087     (
53088       cat <<\_ASBOX
53089 ## ------------------------------------ ##
53090 ## Report this to bug-autoconf@gnu.org. ##
53091 ## ------------------------------------ ##
53092 _ASBOX
53093     ) |
53094       sed "s/^/$as_me: WARNING:     /" >&2
53095     ;;
53096   no:yes )
53097     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53099     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53101     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53103     (
53104       cat <<\_ASBOX
53105 ## ------------------------------------ ##
53106 ## Report this to bug-autoconf@gnu.org. ##
53107 ## ------------------------------------ ##
53108 _ASBOX
53109     ) |
53110       sed "s/^/$as_me: WARNING:     /" >&2
53111     ;;
53112 esac
53113 echo "$as_me:$LINENO: checking for $ac_header" >&5
53114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53116   echo $ECHO_N "(cached) $ECHO_C" >&6
53117 else
53118   eval "$as_ac_Header=$ac_header_preproc"
53119 fi
53120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53122
53123 fi
53124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53125   cat >>confdefs.h <<_ACEOF
53126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53127 _ACEOF
53128
53129 fi
53130
53131 done
53132
53133     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53134
53135
53136   # If we're not using GNU ld, then there's no point in even trying these
53137   # tests.  Check for that first.  We should have already tested for gld
53138   # by now (in libtool), but require it now just to be safe...
53139   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53140   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53141
53142
53143
53144   # The name set by libtool depends on the version of libtool.  Shame on us
53145   # for depending on an impl detail, but c'est la vie.  Older versions used
53146   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53147   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53148   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53149   # set (hence we're using an older libtool), then set it.
53150   if test x${with_gnu_ld+set} != xset; then
53151     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53152       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53153       with_gnu_ld=no
53154     else
53155       with_gnu_ld=$ac_cv_prog_gnu_ld
53156     fi
53157   fi
53158
53159   # Start by getting the version number.  I think the libtool test already
53160   # does some of this, but throws away the result.
53161
53162   ldver=`$LD --version 2>/dev/null | head -1 | \
53163          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53164
53165   glibcxx_gnu_ld_version=`echo $ldver | \
53166          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53167
53168   # Set --gc-sections.
53169   if test "$with_gnu_ld" = "notbroken"; then
53170     # GNU ld it is!  Joy and bunny rabbits!
53171
53172     # All these tests are for C++; save the language and the compiler flags.
53173     # Need to do this so that g++ won't try to link in libstdc++
53174     ac_test_CFLAGS="${CFLAGS+set}"
53175     ac_save_CFLAGS="$CFLAGS"
53176     CFLAGS='-x c++  -Wl,--gc-sections'
53177
53178     # Check for -Wl,--gc-sections
53179     # XXX This test is broken at the moment, as symbols required for linking
53180     # are now in libsupc++ (not built yet).  In addition, this test has
53181     # cored on solaris in the past.  In addition, --gc-sections doesn't
53182     # really work at the moment (keeps on discarding used sections, first
53183     # .eh_frame and now some of the glibc sections for iconv).
53184     # Bzzzzt.  Thanks for playing, maybe next time.
53185     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53186 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53187     if test "$cross_compiling" = yes; then
53188   ac_sectionLDflags=yes
53189 else
53190   cat >conftest.$ac_ext <<_ACEOF
53191 #line $LINENO "configure"
53192 /* confdefs.h.  */
53193 _ACEOF
53194 cat confdefs.h >>conftest.$ac_ext
53195 cat >>conftest.$ac_ext <<_ACEOF
53196 /* end confdefs.h.  */
53197
53198      int main(void)
53199      {
53200        try { throw 1; }
53201        catch (...) { };
53202        return 0;
53203      }
53204
53205 _ACEOF
53206 rm -f conftest$ac_exeext
53207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53208   (eval $ac_link) 2>&5
53209   ac_status=$?
53210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53211   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53213   (eval $ac_try) 2>&5
53214   ac_status=$?
53215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53216   (exit $ac_status); }; }; then
53217   ac_sectionLDflags=yes
53218 else
53219   echo "$as_me: program exited with status $ac_status" >&5
53220 echo "$as_me: failed program was:" >&5
53221 sed 's/^/| /' conftest.$ac_ext >&5
53222
53223 ( exit $ac_status )
53224 ac_sectionLDflags=no
53225 fi
53226 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53227 fi
53228     if test "$ac_test_CFLAGS" = set; then
53229       CFLAGS="$ac_save_CFLAGS"
53230     else
53231       # this is the suspicious part
53232       CFLAGS=''
53233     fi
53234     if test "$ac_sectionLDflags" = "yes"; then
53235       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53236     fi
53237     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53238 echo "${ECHO_T}$ac_sectionLDflags" >&6
53239   fi
53240
53241   # Set linker optimization flags.
53242   if test x"$with_gnu_ld" = x"yes"; then
53243     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53244   fi
53245
53246
53247
53248
53249
53250
53251 echo "$as_me:$LINENO: checking for main in -lm" >&5
53252 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53253 if test "${ac_cv_lib_m_main+set}" = set; then
53254   echo $ECHO_N "(cached) $ECHO_C" >&6
53255 else
53256   ac_check_lib_save_LIBS=$LIBS
53257 LIBS="-lm  $LIBS"
53258 cat >conftest.$ac_ext <<_ACEOF
53259 #line $LINENO "configure"
53260 /* confdefs.h.  */
53261 _ACEOF
53262 cat confdefs.h >>conftest.$ac_ext
53263 cat >>conftest.$ac_ext <<_ACEOF
53264 /* end confdefs.h.  */
53265
53266
53267 int
53268 main ()
53269 {
53270 main ();
53271   ;
53272   return 0;
53273 }
53274 _ACEOF
53275 rm -f conftest.$ac_objext conftest$ac_exeext
53276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53277   (eval $ac_link) 2>&5
53278   ac_status=$?
53279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53280   (exit $ac_status); } &&
53281          { ac_try='test -s conftest$ac_exeext'
53282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53283   (eval $ac_try) 2>&5
53284   ac_status=$?
53285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53286   (exit $ac_status); }; }; then
53287   ac_cv_lib_m_main=yes
53288 else
53289   echo "$as_me: failed program was:" >&5
53290 sed 's/^/| /' conftest.$ac_ext >&5
53291
53292 ac_cv_lib_m_main=no
53293 fi
53294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53295 LIBS=$ac_check_lib_save_LIBS
53296 fi
53297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53298 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53299 if test $ac_cv_lib_m_main = yes; then
53300   cat >>confdefs.h <<_ACEOF
53301 #define HAVE_LIBM 1
53302 _ACEOF
53303
53304   LIBS="-lm $LIBS"
53305
53306 fi
53307
53308
53309
53310 for ac_func in nan copysignf
53311 do
53312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53313 echo "$as_me:$LINENO: checking for $ac_func" >&5
53314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53315 if eval "test \"\${$as_ac_var+set}\" = set"; then
53316   echo $ECHO_N "(cached) $ECHO_C" >&6
53317 else
53318   cat >conftest.$ac_ext <<_ACEOF
53319 #line $LINENO "configure"
53320 /* confdefs.h.  */
53321 _ACEOF
53322 cat confdefs.h >>conftest.$ac_ext
53323 cat >>conftest.$ac_ext <<_ACEOF
53324 /* end confdefs.h.  */
53325 /* System header to define __stub macros and hopefully few prototypes,
53326     which can conflict with char $ac_func (); below.
53327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53328     <limits.h> exists even on freestanding compilers.  */
53329 #ifdef __STDC__
53330 # include <limits.h>
53331 #else
53332 # include <assert.h>
53333 #endif
53334 /* Override any gcc2 internal prototype to avoid an error.  */
53335 #ifdef __cplusplus
53336 extern "C"
53337 {
53338 #endif
53339 /* We use char because int might match the return type of a gcc2
53340    builtin and then its argument prototype would still apply.  */
53341 char $ac_func ();
53342 /* The GNU C library defines this for functions which it implements
53343     to always fail with ENOSYS.  Some functions are actually named
53344     something starting with __ and the normal name is an alias.  */
53345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53346 choke me
53347 #else
53348 char (*f) () = $ac_func;
53349 #endif
53350 #ifdef __cplusplus
53351 }
53352 #endif
53353
53354 int
53355 main ()
53356 {
53357 return f != $ac_func;
53358   ;
53359   return 0;
53360 }
53361 _ACEOF
53362 rm -f conftest.$ac_objext conftest$ac_exeext
53363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53364   (eval $ac_link) 2>&5
53365   ac_status=$?
53366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367   (exit $ac_status); } &&
53368          { ac_try='test -s conftest$ac_exeext'
53369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53370   (eval $ac_try) 2>&5
53371   ac_status=$?
53372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53373   (exit $ac_status); }; }; then
53374   eval "$as_ac_var=yes"
53375 else
53376   echo "$as_me: failed program was:" >&5
53377 sed 's/^/| /' conftest.$ac_ext >&5
53378
53379 eval "$as_ac_var=no"
53380 fi
53381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53382 fi
53383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53385 if test `eval echo '${'$as_ac_var'}'` = yes; then
53386   cat >>confdefs.h <<_ACEOF
53387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53388 _ACEOF
53389
53390 else
53391   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53392 fi
53393 done
53394
53395
53396
53397 for ac_func in __signbit
53398 do
53399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53400 echo "$as_me:$LINENO: checking for $ac_func" >&5
53401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53402 if eval "test \"\${$as_ac_var+set}\" = set"; then
53403   echo $ECHO_N "(cached) $ECHO_C" >&6
53404 else
53405   cat >conftest.$ac_ext <<_ACEOF
53406 #line $LINENO "configure"
53407 /* confdefs.h.  */
53408 _ACEOF
53409 cat confdefs.h >>conftest.$ac_ext
53410 cat >>conftest.$ac_ext <<_ACEOF
53411 /* end confdefs.h.  */
53412 /* System header to define __stub macros and hopefully few prototypes,
53413     which can conflict with char $ac_func (); below.
53414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53415     <limits.h> exists even on freestanding compilers.  */
53416 #ifdef __STDC__
53417 # include <limits.h>
53418 #else
53419 # include <assert.h>
53420 #endif
53421 /* Override any gcc2 internal prototype to avoid an error.  */
53422 #ifdef __cplusplus
53423 extern "C"
53424 {
53425 #endif
53426 /* We use char because int might match the return type of a gcc2
53427    builtin and then its argument prototype would still apply.  */
53428 char $ac_func ();
53429 /* The GNU C library defines this for functions which it implements
53430     to always fail with ENOSYS.  Some functions are actually named
53431     something starting with __ and the normal name is an alias.  */
53432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53433 choke me
53434 #else
53435 char (*f) () = $ac_func;
53436 #endif
53437 #ifdef __cplusplus
53438 }
53439 #endif
53440
53441 int
53442 main ()
53443 {
53444 return f != $ac_func;
53445   ;
53446   return 0;
53447 }
53448 _ACEOF
53449 rm -f conftest.$ac_objext conftest$ac_exeext
53450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53451   (eval $ac_link) 2>&5
53452   ac_status=$?
53453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53454   (exit $ac_status); } &&
53455          { ac_try='test -s conftest$ac_exeext'
53456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53457   (eval $ac_try) 2>&5
53458   ac_status=$?
53459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53460   (exit $ac_status); }; }; then
53461   eval "$as_ac_var=yes"
53462 else
53463   echo "$as_me: failed program was:" >&5
53464 sed 's/^/| /' conftest.$ac_ext >&5
53465
53466 eval "$as_ac_var=no"
53467 fi
53468 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53469 fi
53470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53472 if test `eval echo '${'$as_ac_var'}'` = yes; then
53473   cat >>confdefs.h <<_ACEOF
53474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53475 _ACEOF
53476
53477 else
53478   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53479 fi
53480 done
53481
53482
53483 for ac_func in __signbitf
53484 do
53485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53486 echo "$as_me:$LINENO: checking for $ac_func" >&5
53487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53488 if eval "test \"\${$as_ac_var+set}\" = set"; then
53489   echo $ECHO_N "(cached) $ECHO_C" >&6
53490 else
53491   cat >conftest.$ac_ext <<_ACEOF
53492 #line $LINENO "configure"
53493 /* confdefs.h.  */
53494 _ACEOF
53495 cat confdefs.h >>conftest.$ac_ext
53496 cat >>conftest.$ac_ext <<_ACEOF
53497 /* end confdefs.h.  */
53498 /* System header to define __stub macros and hopefully few prototypes,
53499     which can conflict with char $ac_func (); below.
53500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53501     <limits.h> exists even on freestanding compilers.  */
53502 #ifdef __STDC__
53503 # include <limits.h>
53504 #else
53505 # include <assert.h>
53506 #endif
53507 /* Override any gcc2 internal prototype to avoid an error.  */
53508 #ifdef __cplusplus
53509 extern "C"
53510 {
53511 #endif
53512 /* We use char because int might match the return type of a gcc2
53513    builtin and then its argument prototype would still apply.  */
53514 char $ac_func ();
53515 /* The GNU C library defines this for functions which it implements
53516     to always fail with ENOSYS.  Some functions are actually named
53517     something starting with __ and the normal name is an alias.  */
53518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53519 choke me
53520 #else
53521 char (*f) () = $ac_func;
53522 #endif
53523 #ifdef __cplusplus
53524 }
53525 #endif
53526
53527 int
53528 main ()
53529 {
53530 return f != $ac_func;
53531   ;
53532   return 0;
53533 }
53534 _ACEOF
53535 rm -f conftest.$ac_objext conftest$ac_exeext
53536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53537   (eval $ac_link) 2>&5
53538   ac_status=$?
53539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53540   (exit $ac_status); } &&
53541          { ac_try='test -s conftest$ac_exeext'
53542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53543   (eval $ac_try) 2>&5
53544   ac_status=$?
53545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53546   (exit $ac_status); }; }; then
53547   eval "$as_ac_var=yes"
53548 else
53549   echo "$as_me: failed program was:" >&5
53550 sed 's/^/| /' conftest.$ac_ext >&5
53551
53552 eval "$as_ac_var=no"
53553 fi
53554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53555 fi
53556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53558 if test `eval echo '${'$as_ac_var'}'` = yes; then
53559   cat >>confdefs.h <<_ACEOF
53560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53561 _ACEOF
53562
53563 else
53564   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53565 fi
53566 done
53567
53568
53569           if test x$ac_cv_func_copysignl = x"yes"; then
53570
53571 for ac_func in __signbitl
53572 do
53573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53574 echo "$as_me:$LINENO: checking for $ac_func" >&5
53575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53576 if eval "test \"\${$as_ac_var+set}\" = set"; then
53577   echo $ECHO_N "(cached) $ECHO_C" >&6
53578 else
53579   cat >conftest.$ac_ext <<_ACEOF
53580 #line $LINENO "configure"
53581 /* confdefs.h.  */
53582 _ACEOF
53583 cat confdefs.h >>conftest.$ac_ext
53584 cat >>conftest.$ac_ext <<_ACEOF
53585 /* end confdefs.h.  */
53586 /* System header to define __stub macros and hopefully few prototypes,
53587     which can conflict with char $ac_func (); below.
53588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53589     <limits.h> exists even on freestanding compilers.  */
53590 #ifdef __STDC__
53591 # include <limits.h>
53592 #else
53593 # include <assert.h>
53594 #endif
53595 /* Override any gcc2 internal prototype to avoid an error.  */
53596 #ifdef __cplusplus
53597 extern "C"
53598 {
53599 #endif
53600 /* We use char because int might match the return type of a gcc2
53601    builtin and then its argument prototype would still apply.  */
53602 char $ac_func ();
53603 /* The GNU C library defines this for functions which it implements
53604     to always fail with ENOSYS.  Some functions are actually named
53605     something starting with __ and the normal name is an alias.  */
53606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53607 choke me
53608 #else
53609 char (*f) () = $ac_func;
53610 #endif
53611 #ifdef __cplusplus
53612 }
53613 #endif
53614
53615 int
53616 main ()
53617 {
53618 return f != $ac_func;
53619   ;
53620   return 0;
53621 }
53622 _ACEOF
53623 rm -f conftest.$ac_objext conftest$ac_exeext
53624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53625   (eval $ac_link) 2>&5
53626   ac_status=$?
53627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53628   (exit $ac_status); } &&
53629          { ac_try='test -s conftest$ac_exeext'
53630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53631   (eval $ac_try) 2>&5
53632   ac_status=$?
53633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53634   (exit $ac_status); }; }; then
53635   eval "$as_ac_var=yes"
53636 else
53637   echo "$as_me: failed program was:" >&5
53638 sed 's/^/| /' conftest.$ac_ext >&5
53639
53640 eval "$as_ac_var=no"
53641 fi
53642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53643 fi
53644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53646 if test `eval echo '${'$as_ac_var'}'` = yes; then
53647   cat >>confdefs.h <<_ACEOF
53648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53649 _ACEOF
53650
53651 else
53652   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53653 fi
53654 done
53655
53656   fi
53657
53658   # XXX Review this.  Nothing uses it.
53659   if test -n "$LIBMATHOBJS"; then
53660     need_libmath=yes
53661   fi
53662
53663
53664
53665   # Test wchar.h for mbstate_t, which is needed for char_traits and
53666   # others even if wchar_t support is not on.
53667   echo "$as_me:$LINENO: checking for mbstate_t" >&5
53668 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53669   cat >conftest.$ac_ext <<_ACEOF
53670 #line $LINENO "configure"
53671 /* confdefs.h.  */
53672 _ACEOF
53673 cat confdefs.h >>conftest.$ac_ext
53674 cat >>conftest.$ac_ext <<_ACEOF
53675 /* end confdefs.h.  */
53676 #include <wchar.h>
53677 int
53678 main ()
53679 {
53680 mbstate_t teststate;
53681   ;
53682   return 0;
53683 }
53684 _ACEOF
53685 rm -f conftest.$ac_objext
53686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53687   (eval $ac_compile) 2>&5
53688   ac_status=$?
53689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53690   (exit $ac_status); } &&
53691          { ac_try='test -s conftest.$ac_objext'
53692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53693   (eval $ac_try) 2>&5
53694   ac_status=$?
53695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53696   (exit $ac_status); }; }; then
53697   have_mbstate_t=yes
53698 else
53699   echo "$as_me: failed program was:" >&5
53700 sed 's/^/| /' conftest.$ac_ext >&5
53701
53702 have_mbstate_t=no
53703 fi
53704 rm -f conftest.$ac_objext conftest.$ac_ext
53705   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53706 echo "${ECHO_T}$have_mbstate_t" >&6
53707   if test x"$have_mbstate_t" = xyes; then
53708     cat >>confdefs.h <<\_ACEOF
53709 #define HAVE_MBSTATE_T 1
53710 _ACEOF
53711
53712   fi
53713
53714   # Sanity check for existence of ISO C99 headers for extended encoding.
53715
53716 for ac_header in wchar.h
53717 do
53718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53720   echo "$as_me:$LINENO: checking for $ac_header" >&5
53721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53723   echo $ECHO_N "(cached) $ECHO_C" >&6
53724 fi
53725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53727 else
53728   # Is the header compilable?
53729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53731 cat >conftest.$ac_ext <<_ACEOF
53732 #line $LINENO "configure"
53733 /* confdefs.h.  */
53734 _ACEOF
53735 cat confdefs.h >>conftest.$ac_ext
53736 cat >>conftest.$ac_ext <<_ACEOF
53737 /* end confdefs.h.  */
53738 $ac_includes_default
53739 #include <$ac_header>
53740 _ACEOF
53741 rm -f conftest.$ac_objext
53742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53743   (eval $ac_compile) 2>&5
53744   ac_status=$?
53745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53746   (exit $ac_status); } &&
53747          { ac_try='test -s conftest.$ac_objext'
53748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53749   (eval $ac_try) 2>&5
53750   ac_status=$?
53751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53752   (exit $ac_status); }; }; then
53753   ac_header_compiler=yes
53754 else
53755   echo "$as_me: failed program was:" >&5
53756 sed 's/^/| /' conftest.$ac_ext >&5
53757
53758 ac_header_compiler=no
53759 fi
53760 rm -f conftest.$ac_objext conftest.$ac_ext
53761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53762 echo "${ECHO_T}$ac_header_compiler" >&6
53763
53764 # Is the header present?
53765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53767 cat >conftest.$ac_ext <<_ACEOF
53768 #line $LINENO "configure"
53769 /* confdefs.h.  */
53770 _ACEOF
53771 cat confdefs.h >>conftest.$ac_ext
53772 cat >>conftest.$ac_ext <<_ACEOF
53773 /* end confdefs.h.  */
53774 #include <$ac_header>
53775 _ACEOF
53776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53777   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53778   ac_status=$?
53779   grep -v '^ *+' conftest.er1 >conftest.err
53780   rm -f conftest.er1
53781   cat conftest.err >&5
53782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53783   (exit $ac_status); } >/dev/null; then
53784   if test -s conftest.err; then
53785     ac_cpp_err=$ac_c_preproc_warn_flag
53786   else
53787     ac_cpp_err=
53788   fi
53789 else
53790   ac_cpp_err=yes
53791 fi
53792 if test -z "$ac_cpp_err"; then
53793   ac_header_preproc=yes
53794 else
53795   echo "$as_me: failed program was:" >&5
53796 sed 's/^/| /' conftest.$ac_ext >&5
53797
53798   ac_header_preproc=no
53799 fi
53800 rm -f conftest.err conftest.$ac_ext
53801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53802 echo "${ECHO_T}$ac_header_preproc" >&6
53803
53804 # So?  What about this header?
53805 case $ac_header_compiler:$ac_header_preproc in
53806   yes:no )
53807     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53809     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53811     (
53812       cat <<\_ASBOX
53813 ## ------------------------------------ ##
53814 ## Report this to bug-autoconf@gnu.org. ##
53815 ## ------------------------------------ ##
53816 _ASBOX
53817     ) |
53818       sed "s/^/$as_me: WARNING:     /" >&2
53819     ;;
53820   no:yes )
53821     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53823     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53825     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53827     (
53828       cat <<\_ASBOX
53829 ## ------------------------------------ ##
53830 ## Report this to bug-autoconf@gnu.org. ##
53831 ## ------------------------------------ ##
53832 _ASBOX
53833     ) |
53834       sed "s/^/$as_me: WARNING:     /" >&2
53835     ;;
53836 esac
53837 echo "$as_me:$LINENO: checking for $ac_header" >&5
53838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53840   echo $ECHO_N "(cached) $ECHO_C" >&6
53841 else
53842   eval "$as_ac_Header=$ac_header_preproc"
53843 fi
53844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53846
53847 fi
53848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53849   cat >>confdefs.h <<_ACEOF
53850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53851 _ACEOF
53852  ac_has_wchar_h=yes
53853 else
53854   ac_has_wchar_h=no
53855 fi
53856
53857 done
53858
53859
53860 for ac_header in wctype.h
53861 do
53862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53864   echo "$as_me:$LINENO: checking for $ac_header" >&5
53865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53867   echo $ECHO_N "(cached) $ECHO_C" >&6
53868 fi
53869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53871 else
53872   # Is the header compilable?
53873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53875 cat >conftest.$ac_ext <<_ACEOF
53876 #line $LINENO "configure"
53877 /* confdefs.h.  */
53878 _ACEOF
53879 cat confdefs.h >>conftest.$ac_ext
53880 cat >>conftest.$ac_ext <<_ACEOF
53881 /* end confdefs.h.  */
53882 $ac_includes_default
53883 #include <$ac_header>
53884 _ACEOF
53885 rm -f conftest.$ac_objext
53886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53887   (eval $ac_compile) 2>&5
53888   ac_status=$?
53889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53890   (exit $ac_status); } &&
53891          { ac_try='test -s conftest.$ac_objext'
53892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53893   (eval $ac_try) 2>&5
53894   ac_status=$?
53895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53896   (exit $ac_status); }; }; then
53897   ac_header_compiler=yes
53898 else
53899   echo "$as_me: failed program was:" >&5
53900 sed 's/^/| /' conftest.$ac_ext >&5
53901
53902 ac_header_compiler=no
53903 fi
53904 rm -f conftest.$ac_objext conftest.$ac_ext
53905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53906 echo "${ECHO_T}$ac_header_compiler" >&6
53907
53908 # Is the header present?
53909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53911 cat >conftest.$ac_ext <<_ACEOF
53912 #line $LINENO "configure"
53913 /* confdefs.h.  */
53914 _ACEOF
53915 cat confdefs.h >>conftest.$ac_ext
53916 cat >>conftest.$ac_ext <<_ACEOF
53917 /* end confdefs.h.  */
53918 #include <$ac_header>
53919 _ACEOF
53920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53921   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53922   ac_status=$?
53923   grep -v '^ *+' conftest.er1 >conftest.err
53924   rm -f conftest.er1
53925   cat conftest.err >&5
53926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53927   (exit $ac_status); } >/dev/null; then
53928   if test -s conftest.err; then
53929     ac_cpp_err=$ac_c_preproc_warn_flag
53930   else
53931     ac_cpp_err=
53932   fi
53933 else
53934   ac_cpp_err=yes
53935 fi
53936 if test -z "$ac_cpp_err"; then
53937   ac_header_preproc=yes
53938 else
53939   echo "$as_me: failed program was:" >&5
53940 sed 's/^/| /' conftest.$ac_ext >&5
53941
53942   ac_header_preproc=no
53943 fi
53944 rm -f conftest.err conftest.$ac_ext
53945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53946 echo "${ECHO_T}$ac_header_preproc" >&6
53947
53948 # So?  What about this header?
53949 case $ac_header_compiler:$ac_header_preproc in
53950   yes:no )
53951     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53953     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53955     (
53956       cat <<\_ASBOX
53957 ## ------------------------------------ ##
53958 ## Report this to bug-autoconf@gnu.org. ##
53959 ## ------------------------------------ ##
53960 _ASBOX
53961     ) |
53962       sed "s/^/$as_me: WARNING:     /" >&2
53963     ;;
53964   no:yes )
53965     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53967     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53969     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53971     (
53972       cat <<\_ASBOX
53973 ## ------------------------------------ ##
53974 ## Report this to bug-autoconf@gnu.org. ##
53975 ## ------------------------------------ ##
53976 _ASBOX
53977     ) |
53978       sed "s/^/$as_me: WARNING:     /" >&2
53979     ;;
53980 esac
53981 echo "$as_me:$LINENO: checking for $ac_header" >&5
53982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53984   echo $ECHO_N "(cached) $ECHO_C" >&6
53985 else
53986   eval "$as_ac_Header=$ac_header_preproc"
53987 fi
53988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53990
53991 fi
53992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53993   cat >>confdefs.h <<_ACEOF
53994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53995 _ACEOF
53996  ac_has_wctype_h=yes
53997 else
53998   ac_has_wctype_h=no
53999 fi
54000
54001 done
54002
54003
54004   # Only continue checking if the ISO C99 headers exist and support is on.
54005   if test x"$ac_has_wchar_h" = xyes &&
54006      test x"$ac_has_wctype_h" = xyes &&
54007      test x"$enable_c_mbchar" != xno; then
54008
54009     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54010     # numeric_limits can instantiate type_traits<wchar_t>
54011     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54012 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54013     cat >conftest.$ac_ext <<_ACEOF
54014 #line $LINENO "configure"
54015 /* confdefs.h.  */
54016 _ACEOF
54017 cat confdefs.h >>conftest.$ac_ext
54018 cat >>conftest.$ac_ext <<_ACEOF
54019 /* end confdefs.h.  */
54020 #include <wchar.h>
54021 int
54022 main ()
54023 {
54024 int i = WCHAR_MIN; int j = WCHAR_MAX;
54025   ;
54026   return 0;
54027 }
54028 _ACEOF
54029 rm -f conftest.$ac_objext
54030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54031   (eval $ac_compile) 2>&5
54032   ac_status=$?
54033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54034   (exit $ac_status); } &&
54035          { ac_try='test -s conftest.$ac_objext'
54036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54037   (eval $ac_try) 2>&5
54038   ac_status=$?
54039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54040   (exit $ac_status); }; }; then
54041   has_wchar_minmax=yes
54042 else
54043   echo "$as_me: failed program was:" >&5
54044 sed 's/^/| /' conftest.$ac_ext >&5
54045
54046 has_wchar_minmax=no
54047 fi
54048 rm -f conftest.$ac_objext conftest.$ac_ext
54049     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54050 echo "${ECHO_T}$has_wchar_minmax" >&6
54051
54052     # Test wchar.h for WEOF, which is what we use to determine whether
54053     # to specialize for char_traits<wchar_t> or not.
54054     echo "$as_me:$LINENO: checking for WEOF" >&5
54055 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54056     cat >conftest.$ac_ext <<_ACEOF
54057 #line $LINENO "configure"
54058 /* confdefs.h.  */
54059 _ACEOF
54060 cat confdefs.h >>conftest.$ac_ext
54061 cat >>conftest.$ac_ext <<_ACEOF
54062 /* end confdefs.h.  */
54063
54064       #include <wchar.h>
54065       #include <stddef.h>
54066 int
54067 main ()
54068 {
54069 wint_t i = WEOF;
54070   ;
54071   return 0;
54072 }
54073 _ACEOF
54074 rm -f conftest.$ac_objext
54075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54076   (eval $ac_compile) 2>&5
54077   ac_status=$?
54078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54079   (exit $ac_status); } &&
54080          { ac_try='test -s conftest.$ac_objext'
54081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54082   (eval $ac_try) 2>&5
54083   ac_status=$?
54084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54085   (exit $ac_status); }; }; then
54086   has_weof=yes
54087 else
54088   echo "$as_me: failed program was:" >&5
54089 sed 's/^/| /' conftest.$ac_ext >&5
54090
54091 has_weof=no
54092 fi
54093 rm -f conftest.$ac_objext conftest.$ac_ext
54094     echo "$as_me:$LINENO: result: $has_weof" >&5
54095 echo "${ECHO_T}$has_weof" >&6
54096
54097     # Tests for wide character functions used in char_traits<wchar_t>.
54098     ac_wfuncs=yes
54099
54100
54101
54102
54103
54104
54105 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54106 do
54107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54108 echo "$as_me:$LINENO: checking for $ac_func" >&5
54109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54110 if eval "test \"\${$as_ac_var+set}\" = set"; then
54111   echo $ECHO_N "(cached) $ECHO_C" >&6
54112 else
54113   cat >conftest.$ac_ext <<_ACEOF
54114 #line $LINENO "configure"
54115 /* confdefs.h.  */
54116 _ACEOF
54117 cat confdefs.h >>conftest.$ac_ext
54118 cat >>conftest.$ac_ext <<_ACEOF
54119 /* end confdefs.h.  */
54120 /* System header to define __stub macros and hopefully few prototypes,
54121     which can conflict with char $ac_func (); below.
54122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54123     <limits.h> exists even on freestanding compilers.  */
54124 #ifdef __STDC__
54125 # include <limits.h>
54126 #else
54127 # include <assert.h>
54128 #endif
54129 /* Override any gcc2 internal prototype to avoid an error.  */
54130 #ifdef __cplusplus
54131 extern "C"
54132 {
54133 #endif
54134 /* We use char because int might match the return type of a gcc2
54135    builtin and then its argument prototype would still apply.  */
54136 char $ac_func ();
54137 /* The GNU C library defines this for functions which it implements
54138     to always fail with ENOSYS.  Some functions are actually named
54139     something starting with __ and the normal name is an alias.  */
54140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54141 choke me
54142 #else
54143 char (*f) () = $ac_func;
54144 #endif
54145 #ifdef __cplusplus
54146 }
54147 #endif
54148
54149 int
54150 main ()
54151 {
54152 return f != $ac_func;
54153   ;
54154   return 0;
54155 }
54156 _ACEOF
54157 rm -f conftest.$ac_objext conftest$ac_exeext
54158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54159   (eval $ac_link) 2>&5
54160   ac_status=$?
54161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54162   (exit $ac_status); } &&
54163          { ac_try='test -s conftest$ac_exeext'
54164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54165   (eval $ac_try) 2>&5
54166   ac_status=$?
54167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54168   (exit $ac_status); }; }; then
54169   eval "$as_ac_var=yes"
54170 else
54171   echo "$as_me: failed program was:" >&5
54172 sed 's/^/| /' conftest.$ac_ext >&5
54173
54174 eval "$as_ac_var=no"
54175 fi
54176 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54177 fi
54178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54180 if test `eval echo '${'$as_ac_var'}'` = yes; then
54181   cat >>confdefs.h <<_ACEOF
54182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54183 _ACEOF
54184
54185 else
54186   ac_wfuncs=no
54187 fi
54188 done
54189
54190
54191     # Checks for names injected into std:: by the c_std headers.
54192
54193
54194
54195
54196
54197
54198
54199
54200
54201
54202
54203
54204
54205
54206
54207
54208
54209
54210
54211
54212
54213
54214
54215
54216
54217
54218
54219
54220
54221
54222
54223
54224
54225
54226
54227
54228
54229
54230
54231
54232
54233
54234
54235
54236
54237
54238
54239
54240
54241
54242 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54243     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
54244     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54245     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
54246     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54247     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54248 do
54249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54250 echo "$as_me:$LINENO: checking for $ac_func" >&5
54251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54252 if eval "test \"\${$as_ac_var+set}\" = set"; then
54253   echo $ECHO_N "(cached) $ECHO_C" >&6
54254 else
54255   cat >conftest.$ac_ext <<_ACEOF
54256 #line $LINENO "configure"
54257 /* confdefs.h.  */
54258 _ACEOF
54259 cat confdefs.h >>conftest.$ac_ext
54260 cat >>conftest.$ac_ext <<_ACEOF
54261 /* end confdefs.h.  */
54262 /* System header to define __stub macros and hopefully few prototypes,
54263     which can conflict with char $ac_func (); below.
54264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54265     <limits.h> exists even on freestanding compilers.  */
54266 #ifdef __STDC__
54267 # include <limits.h>
54268 #else
54269 # include <assert.h>
54270 #endif
54271 /* Override any gcc2 internal prototype to avoid an error.  */
54272 #ifdef __cplusplus
54273 extern "C"
54274 {
54275 #endif
54276 /* We use char because int might match the return type of a gcc2
54277    builtin and then its argument prototype would still apply.  */
54278 char $ac_func ();
54279 /* The GNU C library defines this for functions which it implements
54280     to always fail with ENOSYS.  Some functions are actually named
54281     something starting with __ and the normal name is an alias.  */
54282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54283 choke me
54284 #else
54285 char (*f) () = $ac_func;
54286 #endif
54287 #ifdef __cplusplus
54288 }
54289 #endif
54290
54291 int
54292 main ()
54293 {
54294 return f != $ac_func;
54295   ;
54296   return 0;
54297 }
54298 _ACEOF
54299 rm -f conftest.$ac_objext conftest$ac_exeext
54300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54301   (eval $ac_link) 2>&5
54302   ac_status=$?
54303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54304   (exit $ac_status); } &&
54305          { ac_try='test -s conftest$ac_exeext'
54306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54307   (eval $ac_try) 2>&5
54308   ac_status=$?
54309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54310   (exit $ac_status); }; }; then
54311   eval "$as_ac_var=yes"
54312 else
54313   echo "$as_me: failed program was:" >&5
54314 sed 's/^/| /' conftest.$ac_ext >&5
54315
54316 eval "$as_ac_var=no"
54317 fi
54318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54319 fi
54320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54322 if test `eval echo '${'$as_ac_var'}'` = yes; then
54323   cat >>confdefs.h <<_ACEOF
54324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54326
54327 else
54328   ac_wfuncs=no
54329 fi
54330 done
54331
54332
54333     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54334 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54335     if test x"$has_weof" = xyes &&
54336        test x"$has_wchar_minmax" = xyes &&
54337        test x"$ac_wfuncs" = xyes;
54338     then
54339       ac_isoC99_wchar_t=yes
54340     else
54341       ac_isoC99_wchar_t=no
54342     fi
54343     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54344 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54345
54346     # Use iconv for wchar_t to char conversions. As such, check for
54347     # X/Open Portability Guide, version 2 features (XPG2).
54348     if test "${ac_cv_header_iconv_h+set}" = set; then
54349   echo "$as_me:$LINENO: checking for iconv.h" >&5
54350 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54351 if test "${ac_cv_header_iconv_h+set}" = set; then
54352   echo $ECHO_N "(cached) $ECHO_C" >&6
54353 fi
54354 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54355 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54356 else
54357   # Is the header compilable?
54358 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54359 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54360 cat >conftest.$ac_ext <<_ACEOF
54361 #line $LINENO "configure"
54362 /* confdefs.h.  */
54363 _ACEOF
54364 cat confdefs.h >>conftest.$ac_ext
54365 cat >>conftest.$ac_ext <<_ACEOF
54366 /* end confdefs.h.  */
54367 $ac_includes_default
54368 #include <iconv.h>
54369 _ACEOF
54370 rm -f conftest.$ac_objext
54371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54372   (eval $ac_compile) 2>&5
54373   ac_status=$?
54374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375   (exit $ac_status); } &&
54376          { ac_try='test -s conftest.$ac_objext'
54377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54378   (eval $ac_try) 2>&5
54379   ac_status=$?
54380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54381   (exit $ac_status); }; }; then
54382   ac_header_compiler=yes
54383 else
54384   echo "$as_me: failed program was:" >&5
54385 sed 's/^/| /' conftest.$ac_ext >&5
54386
54387 ac_header_compiler=no
54388 fi
54389 rm -f conftest.$ac_objext conftest.$ac_ext
54390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54391 echo "${ECHO_T}$ac_header_compiler" >&6
54392
54393 # Is the header present?
54394 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54395 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54396 cat >conftest.$ac_ext <<_ACEOF
54397 #line $LINENO "configure"
54398 /* confdefs.h.  */
54399 _ACEOF
54400 cat confdefs.h >>conftest.$ac_ext
54401 cat >>conftest.$ac_ext <<_ACEOF
54402 /* end confdefs.h.  */
54403 #include <iconv.h>
54404 _ACEOF
54405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54406   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54407   ac_status=$?
54408   grep -v '^ *+' conftest.er1 >conftest.err
54409   rm -f conftest.er1
54410   cat conftest.err >&5
54411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54412   (exit $ac_status); } >/dev/null; then
54413   if test -s conftest.err; then
54414     ac_cpp_err=$ac_c_preproc_warn_flag
54415   else
54416     ac_cpp_err=
54417   fi
54418 else
54419   ac_cpp_err=yes
54420 fi
54421 if test -z "$ac_cpp_err"; then
54422   ac_header_preproc=yes
54423 else
54424   echo "$as_me: failed program was:" >&5
54425 sed 's/^/| /' conftest.$ac_ext >&5
54426
54427   ac_header_preproc=no
54428 fi
54429 rm -f conftest.err conftest.$ac_ext
54430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54431 echo "${ECHO_T}$ac_header_preproc" >&6
54432
54433 # So?  What about this header?
54434 case $ac_header_compiler:$ac_header_preproc in
54435   yes:no )
54436     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
54437 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54438     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54439 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54440     (
54441       cat <<\_ASBOX
54442 ## ------------------------------------ ##
54443 ## Report this to bug-autoconf@gnu.org. ##
54444 ## ------------------------------------ ##
54445 _ASBOX
54446     ) |
54447       sed "s/^/$as_me: WARNING:     /" >&2
54448     ;;
54449   no:yes )
54450     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
54451 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
54452     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
54453 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
54454     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54455 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54456     (
54457       cat <<\_ASBOX
54458 ## ------------------------------------ ##
54459 ## Report this to bug-autoconf@gnu.org. ##
54460 ## ------------------------------------ ##
54461 _ASBOX
54462     ) |
54463       sed "s/^/$as_me: WARNING:     /" >&2
54464     ;;
54465 esac
54466 echo "$as_me:$LINENO: checking for iconv.h" >&5
54467 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54468 if test "${ac_cv_header_iconv_h+set}" = set; then
54469   echo $ECHO_N "(cached) $ECHO_C" >&6
54470 else
54471   ac_cv_header_iconv_h=$ac_header_preproc
54472 fi
54473 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54474 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54475
54476 fi
54477 if test $ac_cv_header_iconv_h = yes; then
54478   ac_has_iconv_h=yes
54479 else
54480   ac_has_iconv_h=no
54481 fi
54482
54483
54484     if test "${ac_cv_header_langinfo_h+set}" = set; then
54485   echo "$as_me:$LINENO: checking for langinfo.h" >&5
54486 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54487 if test "${ac_cv_header_langinfo_h+set}" = set; then
54488   echo $ECHO_N "(cached) $ECHO_C" >&6
54489 fi
54490 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54491 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54492 else
54493   # Is the header compilable?
54494 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54495 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54496 cat >conftest.$ac_ext <<_ACEOF
54497 #line $LINENO "configure"
54498 /* confdefs.h.  */
54499 _ACEOF
54500 cat confdefs.h >>conftest.$ac_ext
54501 cat >>conftest.$ac_ext <<_ACEOF
54502 /* end confdefs.h.  */
54503 $ac_includes_default
54504 #include <langinfo.h>
54505 _ACEOF
54506 rm -f conftest.$ac_objext
54507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54508   (eval $ac_compile) 2>&5
54509   ac_status=$?
54510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54511   (exit $ac_status); } &&
54512          { ac_try='test -s conftest.$ac_objext'
54513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54514   (eval $ac_try) 2>&5
54515   ac_status=$?
54516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54517   (exit $ac_status); }; }; then
54518   ac_header_compiler=yes
54519 else
54520   echo "$as_me: failed program was:" >&5
54521 sed 's/^/| /' conftest.$ac_ext >&5
54522
54523 ac_header_compiler=no
54524 fi
54525 rm -f conftest.$ac_objext conftest.$ac_ext
54526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54527 echo "${ECHO_T}$ac_header_compiler" >&6
54528
54529 # Is the header present?
54530 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54531 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54532 cat >conftest.$ac_ext <<_ACEOF
54533 #line $LINENO "configure"
54534 /* confdefs.h.  */
54535 _ACEOF
54536 cat confdefs.h >>conftest.$ac_ext
54537 cat >>conftest.$ac_ext <<_ACEOF
54538 /* end confdefs.h.  */
54539 #include <langinfo.h>
54540 _ACEOF
54541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54542   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54543   ac_status=$?
54544   grep -v '^ *+' conftest.er1 >conftest.err
54545   rm -f conftest.er1
54546   cat conftest.err >&5
54547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54548   (exit $ac_status); } >/dev/null; then
54549   if test -s conftest.err; then
54550     ac_cpp_err=$ac_c_preproc_warn_flag
54551   else
54552     ac_cpp_err=
54553   fi
54554 else
54555   ac_cpp_err=yes
54556 fi
54557 if test -z "$ac_cpp_err"; then
54558   ac_header_preproc=yes
54559 else
54560   echo "$as_me: failed program was:" >&5
54561 sed 's/^/| /' conftest.$ac_ext >&5
54562
54563   ac_header_preproc=no
54564 fi
54565 rm -f conftest.err conftest.$ac_ext
54566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54567 echo "${ECHO_T}$ac_header_preproc" >&6
54568
54569 # So?  What about this header?
54570 case $ac_header_compiler:$ac_header_preproc in
54571   yes:no )
54572     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54573 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54574     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54575 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54576     (
54577       cat <<\_ASBOX
54578 ## ------------------------------------ ##
54579 ## Report this to bug-autoconf@gnu.org. ##
54580 ## ------------------------------------ ##
54581 _ASBOX
54582     ) |
54583       sed "s/^/$as_me: WARNING:     /" >&2
54584     ;;
54585   no:yes )
54586     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54587 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54588     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54589 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54590     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54591 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54592     (
54593       cat <<\_ASBOX
54594 ## ------------------------------------ ##
54595 ## Report this to bug-autoconf@gnu.org. ##
54596 ## ------------------------------------ ##
54597 _ASBOX
54598     ) |
54599       sed "s/^/$as_me: WARNING:     /" >&2
54600     ;;
54601 esac
54602 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54603 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54604 if test "${ac_cv_header_langinfo_h+set}" = set; then
54605   echo $ECHO_N "(cached) $ECHO_C" >&6
54606 else
54607   ac_cv_header_langinfo_h=$ac_header_preproc
54608 fi
54609 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54610 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54611
54612 fi
54613 if test $ac_cv_header_langinfo_h = yes; then
54614   ac_has_langinfo_h=yes
54615 else
54616   ac_has_langinfo_h=no
54617 fi
54618
54619
54620
54621     # Check for existence of libiconv.a providing XPG2 wchar_t support.
54622     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54623 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54624 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54625   echo $ECHO_N "(cached) $ECHO_C" >&6
54626 else
54627   ac_check_lib_save_LIBS=$LIBS
54628 LIBS="-liconv  $LIBS"
54629 cat >conftest.$ac_ext <<_ACEOF
54630 #line $LINENO "configure"
54631 /* confdefs.h.  */
54632 _ACEOF
54633 cat confdefs.h >>conftest.$ac_ext
54634 cat >>conftest.$ac_ext <<_ACEOF
54635 /* end confdefs.h.  */
54636
54637 /* Override any gcc2 internal prototype to avoid an error.  */
54638 #ifdef __cplusplus
54639 extern "C"
54640 #endif
54641 /* We use char because int might match the return type of a gcc2
54642    builtin and then its argument prototype would still apply.  */
54643 char iconv ();
54644 int
54645 main ()
54646 {
54647 iconv ();
54648   ;
54649   return 0;
54650 }
54651 _ACEOF
54652 rm -f conftest.$ac_objext conftest$ac_exeext
54653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54654   (eval $ac_link) 2>&5
54655   ac_status=$?
54656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54657   (exit $ac_status); } &&
54658          { ac_try='test -s conftest$ac_exeext'
54659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54660   (eval $ac_try) 2>&5
54661   ac_status=$?
54662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54663   (exit $ac_status); }; }; then
54664   ac_cv_lib_iconv_iconv=yes
54665 else
54666   echo "$as_me: failed program was:" >&5
54667 sed 's/^/| /' conftest.$ac_ext >&5
54668
54669 ac_cv_lib_iconv_iconv=no
54670 fi
54671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54672 LIBS=$ac_check_lib_save_LIBS
54673 fi
54674 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
54675 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
54676 if test $ac_cv_lib_iconv_iconv = yes; then
54677   libiconv="-liconv"
54678 fi
54679
54680     ac_save_LIBS="$LIBS"
54681     LIBS="$LIBS $libiconv"
54682
54683
54684
54685
54686
54687 for ac_func in iconv_open iconv_close iconv nl_langinfo
54688 do
54689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54690 echo "$as_me:$LINENO: checking for $ac_func" >&5
54691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54692 if eval "test \"\${$as_ac_var+set}\" = set"; then
54693   echo $ECHO_N "(cached) $ECHO_C" >&6
54694 else
54695   cat >conftest.$ac_ext <<_ACEOF
54696 #line $LINENO "configure"
54697 /* confdefs.h.  */
54698 _ACEOF
54699 cat confdefs.h >>conftest.$ac_ext
54700 cat >>conftest.$ac_ext <<_ACEOF
54701 /* end confdefs.h.  */
54702 /* System header to define __stub macros and hopefully few prototypes,
54703     which can conflict with char $ac_func (); below.
54704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54705     <limits.h> exists even on freestanding compilers.  */
54706 #ifdef __STDC__
54707 # include <limits.h>
54708 #else
54709 # include <assert.h>
54710 #endif
54711 /* Override any gcc2 internal prototype to avoid an error.  */
54712 #ifdef __cplusplus
54713 extern "C"
54714 {
54715 #endif
54716 /* We use char because int might match the return type of a gcc2
54717    builtin and then its argument prototype would still apply.  */
54718 char $ac_func ();
54719 /* The GNU C library defines this for functions which it implements
54720     to always fail with ENOSYS.  Some functions are actually named
54721     something starting with __ and the normal name is an alias.  */
54722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54723 choke me
54724 #else
54725 char (*f) () = $ac_func;
54726 #endif
54727 #ifdef __cplusplus
54728 }
54729 #endif
54730
54731 int
54732 main ()
54733 {
54734 return f != $ac_func;
54735   ;
54736   return 0;
54737 }
54738 _ACEOF
54739 rm -f conftest.$ac_objext conftest$ac_exeext
54740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54741   (eval $ac_link) 2>&5
54742   ac_status=$?
54743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54744   (exit $ac_status); } &&
54745          { ac_try='test -s conftest$ac_exeext'
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   eval "$as_ac_var=yes"
54752 else
54753   echo "$as_me: failed program was:" >&5
54754 sed 's/^/| /' conftest.$ac_ext >&5
54755
54756 eval "$as_ac_var=no"
54757 fi
54758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54759 fi
54760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54762 if test `eval echo '${'$as_ac_var'}'` = yes; then
54763   cat >>confdefs.h <<_ACEOF
54764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54765 _ACEOF
54766  ac_XPG2funcs=yes
54767 else
54768   ac_XPG2funcs=no
54769 fi
54770 done
54771
54772
54773     LIBS="$ac_save_LIBS"
54774
54775     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
54776 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
54777     if test x"$ac_has_iconv_h" = xyes &&
54778        test x"$ac_has_langinfo_h" = xyes &&
54779        test x"$ac_XPG2funcs" = xyes;
54780     then
54781       ac_XPG2_wchar_t=yes
54782     else
54783       ac_XPG2_wchar_t=no
54784     fi
54785     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
54786 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
54787
54788     # At the moment, only enable wchar_t specializations if all the
54789     # above support is present.
54790     if test x"$ac_isoC99_wchar_t" = xyes &&
54791        test x"$ac_XPG2_wchar_t" = xyes;
54792     then
54793       cat >>confdefs.h <<\_ACEOF
54794 #define _GLIBCXX_USE_WCHAR_T 1
54795 _ACEOF
54796
54797       enable_wchar_t=yes
54798     fi
54799   fi
54800   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
54801 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
54802   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
54803 echo "${ECHO_T}$enable_wchar_t" >&6
54804
54805     cat >>confdefs.h <<\_ACEOF
54806 #define HAVE_COPYSIGN 1
54807 _ACEOF
54808
54809     cat >>confdefs.h <<\_ACEOF
54810 #define HAVE_COPYSIGNF 1
54811 _ACEOF
54812
54813     cat >>confdefs.h <<\_ACEOF
54814 #define HAVE_FINITEF 1
54815 _ACEOF
54816
54817     cat >>confdefs.h <<\_ACEOF
54818 #define HAVE_FINITE 1
54819 _ACEOF
54820
54821     cat >>confdefs.h <<\_ACEOF
54822 #define HAVE_FREXPF 1
54823 _ACEOF
54824
54825     cat >>confdefs.h <<\_ACEOF
54826 #define HAVE_HYPOTF 1
54827 _ACEOF
54828
54829     cat >>confdefs.h <<\_ACEOF
54830 #define HAVE_ISINF 1
54831 _ACEOF
54832
54833     cat >>confdefs.h <<\_ACEOF
54834 #define HAVE_ISINFF 1
54835 _ACEOF
54836
54837     cat >>confdefs.h <<\_ACEOF
54838 #define HAVE_ISNAN 1
54839 _ACEOF
54840
54841     cat >>confdefs.h <<\_ACEOF
54842 #define HAVE_ISNANF 1
54843 _ACEOF
54844
54845     if test x"long_double_math_on_this_cpu" = x"yes"; then
54846       cat >>confdefs.h <<\_ACEOF
54847 #define HAVE_FINITEL 1
54848 _ACEOF
54849
54850       cat >>confdefs.h <<\_ACEOF
54851 #define HAVE_ISINFL 1
54852 _ACEOF
54853
54854       cat >>confdefs.h <<\_ACEOF
54855 #define HAVE_ISNANL 1
54856 _ACEOF
54857
54858     fi
54859     ;;
54860   *-qnx6.1* | *-qnx6.2*)
54861     #os_include_dir="os/qnx/qnx6.1"
54862     SECTION_FLAGS='-ffunction-sections -fdata-sections'
54863
54864
54865   # If we're not using GNU ld, then there's no point in even trying these
54866   # tests.  Check for that first.  We should have already tested for gld
54867   # by now (in libtool), but require it now just to be safe...
54868   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54869   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54870
54871
54872
54873   # The name set by libtool depends on the version of libtool.  Shame on us
54874   # for depending on an impl detail, but c'est la vie.  Older versions used
54875   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54876   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54877   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54878   # set (hence we're using an older libtool), then set it.
54879   if test x${with_gnu_ld+set} != xset; then
54880     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54881       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54882       with_gnu_ld=no
54883     else
54884       with_gnu_ld=$ac_cv_prog_gnu_ld
54885     fi
54886   fi
54887
54888   # Start by getting the version number.  I think the libtool test already
54889   # does some of this, but throws away the result.
54890
54891   ldver=`$LD --version 2>/dev/null | head -1 | \
54892          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54893
54894   glibcxx_gnu_ld_version=`echo $ldver | \
54895          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54896
54897   # Set --gc-sections.
54898   if test "$with_gnu_ld" = "notbroken"; then
54899     # GNU ld it is!  Joy and bunny rabbits!
54900
54901     # All these tests are for C++; save the language and the compiler flags.
54902     # Need to do this so that g++ won't try to link in libstdc++
54903     ac_test_CFLAGS="${CFLAGS+set}"
54904     ac_save_CFLAGS="$CFLAGS"
54905     CFLAGS='-x c++  -Wl,--gc-sections'
54906
54907     # Check for -Wl,--gc-sections
54908     # XXX This test is broken at the moment, as symbols required for linking
54909     # are now in libsupc++ (not built yet).  In addition, this test has
54910     # cored on solaris in the past.  In addition, --gc-sections doesn't
54911     # really work at the moment (keeps on discarding used sections, first
54912     # .eh_frame and now some of the glibc sections for iconv).
54913     # Bzzzzt.  Thanks for playing, maybe next time.
54914     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54915 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54916     if test "$cross_compiling" = yes; then
54917   ac_sectionLDflags=yes
54918 else
54919   cat >conftest.$ac_ext <<_ACEOF
54920 #line $LINENO "configure"
54921 /* confdefs.h.  */
54922 _ACEOF
54923 cat confdefs.h >>conftest.$ac_ext
54924 cat >>conftest.$ac_ext <<_ACEOF
54925 /* end confdefs.h.  */
54926
54927      int main(void)
54928      {
54929        try { throw 1; }
54930        catch (...) { };
54931        return 0;
54932      }
54933
54934 _ACEOF
54935 rm -f conftest$ac_exeext
54936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54937   (eval $ac_link) 2>&5
54938   ac_status=$?
54939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54940   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
54941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54942   (eval $ac_try) 2>&5
54943   ac_status=$?
54944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54945   (exit $ac_status); }; }; then
54946   ac_sectionLDflags=yes
54947 else
54948   echo "$as_me: program exited with status $ac_status" >&5
54949 echo "$as_me: failed program was:" >&5
54950 sed 's/^/| /' conftest.$ac_ext >&5
54951
54952 ( exit $ac_status )
54953 ac_sectionLDflags=no
54954 fi
54955 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54956 fi
54957     if test "$ac_test_CFLAGS" = set; then
54958       CFLAGS="$ac_save_CFLAGS"
54959     else
54960       # this is the suspicious part
54961       CFLAGS=''
54962     fi
54963     if test "$ac_sectionLDflags" = "yes"; then
54964       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54965     fi
54966     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
54967 echo "${ECHO_T}$ac_sectionLDflags" >&6
54968   fi
54969
54970   # Set linker optimization flags.
54971   if test x"$with_gnu_ld" = x"yes"; then
54972     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54973   fi
54974
54975
54976
54977
54978
54979
54980 echo "$as_me:$LINENO: checking for main in -lm" >&5
54981 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54982 if test "${ac_cv_lib_m_main+set}" = set; then
54983   echo $ECHO_N "(cached) $ECHO_C" >&6
54984 else
54985   ac_check_lib_save_LIBS=$LIBS
54986 LIBS="-lm  $LIBS"
54987 cat >conftest.$ac_ext <<_ACEOF
54988 #line $LINENO "configure"
54989 /* confdefs.h.  */
54990 _ACEOF
54991 cat confdefs.h >>conftest.$ac_ext
54992 cat >>conftest.$ac_ext <<_ACEOF
54993 /* end confdefs.h.  */
54994
54995
54996 int
54997 main ()
54998 {
54999 main ();
55000   ;
55001   return 0;
55002 }
55003 _ACEOF
55004 rm -f conftest.$ac_objext conftest$ac_exeext
55005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55006   (eval $ac_link) 2>&5
55007   ac_status=$?
55008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55009   (exit $ac_status); } &&
55010          { ac_try='test -s conftest$ac_exeext'
55011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55012   (eval $ac_try) 2>&5
55013   ac_status=$?
55014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55015   (exit $ac_status); }; }; then
55016   ac_cv_lib_m_main=yes
55017 else
55018   echo "$as_me: failed program was:" >&5
55019 sed 's/^/| /' conftest.$ac_ext >&5
55020
55021 ac_cv_lib_m_main=no
55022 fi
55023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55024 LIBS=$ac_check_lib_save_LIBS
55025 fi
55026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55027 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55028 if test $ac_cv_lib_m_main = yes; then
55029   cat >>confdefs.h <<_ACEOF
55030 #define HAVE_LIBM 1
55031 _ACEOF
55032
55033   LIBS="-lm $LIBS"
55034
55035 fi
55036
55037
55038
55039 for ac_func in nan copysignf
55040 do
55041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55042 echo "$as_me:$LINENO: checking for $ac_func" >&5
55043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55044 if eval "test \"\${$as_ac_var+set}\" = set"; then
55045   echo $ECHO_N "(cached) $ECHO_C" >&6
55046 else
55047   cat >conftest.$ac_ext <<_ACEOF
55048 #line $LINENO "configure"
55049 /* confdefs.h.  */
55050 _ACEOF
55051 cat confdefs.h >>conftest.$ac_ext
55052 cat >>conftest.$ac_ext <<_ACEOF
55053 /* end confdefs.h.  */
55054 /* System header to define __stub macros and hopefully few prototypes,
55055     which can conflict with char $ac_func (); below.
55056     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55057     <limits.h> exists even on freestanding compilers.  */
55058 #ifdef __STDC__
55059 # include <limits.h>
55060 #else
55061 # include <assert.h>
55062 #endif
55063 /* Override any gcc2 internal prototype to avoid an error.  */
55064 #ifdef __cplusplus
55065 extern "C"
55066 {
55067 #endif
55068 /* We use char because int might match the return type of a gcc2
55069    builtin and then its argument prototype would still apply.  */
55070 char $ac_func ();
55071 /* The GNU C library defines this for functions which it implements
55072     to always fail with ENOSYS.  Some functions are actually named
55073     something starting with __ and the normal name is an alias.  */
55074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55075 choke me
55076 #else
55077 char (*f) () = $ac_func;
55078 #endif
55079 #ifdef __cplusplus
55080 }
55081 #endif
55082
55083 int
55084 main ()
55085 {
55086 return f != $ac_func;
55087   ;
55088   return 0;
55089 }
55090 _ACEOF
55091 rm -f conftest.$ac_objext conftest$ac_exeext
55092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55093   (eval $ac_link) 2>&5
55094   ac_status=$?
55095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55096   (exit $ac_status); } &&
55097          { ac_try='test -s conftest$ac_exeext'
55098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55099   (eval $ac_try) 2>&5
55100   ac_status=$?
55101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55102   (exit $ac_status); }; }; then
55103   eval "$as_ac_var=yes"
55104 else
55105   echo "$as_me: failed program was:" >&5
55106 sed 's/^/| /' conftest.$ac_ext >&5
55107
55108 eval "$as_ac_var=no"
55109 fi
55110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55111 fi
55112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55114 if test `eval echo '${'$as_ac_var'}'` = yes; then
55115   cat >>confdefs.h <<_ACEOF
55116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55117 _ACEOF
55118
55119 else
55120   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55121 fi
55122 done
55123
55124
55125
55126 for ac_func in __signbit
55127 do
55128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55129 echo "$as_me:$LINENO: checking for $ac_func" >&5
55130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55131 if eval "test \"\${$as_ac_var+set}\" = set"; then
55132   echo $ECHO_N "(cached) $ECHO_C" >&6
55133 else
55134   cat >conftest.$ac_ext <<_ACEOF
55135 #line $LINENO "configure"
55136 /* confdefs.h.  */
55137 _ACEOF
55138 cat confdefs.h >>conftest.$ac_ext
55139 cat >>conftest.$ac_ext <<_ACEOF
55140 /* end confdefs.h.  */
55141 /* System header to define __stub macros and hopefully few prototypes,
55142     which can conflict with char $ac_func (); below.
55143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55144     <limits.h> exists even on freestanding compilers.  */
55145 #ifdef __STDC__
55146 # include <limits.h>
55147 #else
55148 # include <assert.h>
55149 #endif
55150 /* Override any gcc2 internal prototype to avoid an error.  */
55151 #ifdef __cplusplus
55152 extern "C"
55153 {
55154 #endif
55155 /* We use char because int might match the return type of a gcc2
55156    builtin and then its argument prototype would still apply.  */
55157 char $ac_func ();
55158 /* The GNU C library defines this for functions which it implements
55159     to always fail with ENOSYS.  Some functions are actually named
55160     something starting with __ and the normal name is an alias.  */
55161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55162 choke me
55163 #else
55164 char (*f) () = $ac_func;
55165 #endif
55166 #ifdef __cplusplus
55167 }
55168 #endif
55169
55170 int
55171 main ()
55172 {
55173 return f != $ac_func;
55174   ;
55175   return 0;
55176 }
55177 _ACEOF
55178 rm -f conftest.$ac_objext conftest$ac_exeext
55179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55180   (eval $ac_link) 2>&5
55181   ac_status=$?
55182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55183   (exit $ac_status); } &&
55184          { ac_try='test -s conftest$ac_exeext'
55185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55186   (eval $ac_try) 2>&5
55187   ac_status=$?
55188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55189   (exit $ac_status); }; }; then
55190   eval "$as_ac_var=yes"
55191 else
55192   echo "$as_me: failed program was:" >&5
55193 sed 's/^/| /' conftest.$ac_ext >&5
55194
55195 eval "$as_ac_var=no"
55196 fi
55197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55198 fi
55199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55201 if test `eval echo '${'$as_ac_var'}'` = yes; then
55202   cat >>confdefs.h <<_ACEOF
55203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55204 _ACEOF
55205
55206 else
55207   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55208 fi
55209 done
55210
55211
55212 for ac_func in __signbitf
55213 do
55214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55215 echo "$as_me:$LINENO: checking for $ac_func" >&5
55216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55217 if eval "test \"\${$as_ac_var+set}\" = set"; then
55218   echo $ECHO_N "(cached) $ECHO_C" >&6
55219 else
55220   cat >conftest.$ac_ext <<_ACEOF
55221 #line $LINENO "configure"
55222 /* confdefs.h.  */
55223 _ACEOF
55224 cat confdefs.h >>conftest.$ac_ext
55225 cat >>conftest.$ac_ext <<_ACEOF
55226 /* end confdefs.h.  */
55227 /* System header to define __stub macros and hopefully few prototypes,
55228     which can conflict with char $ac_func (); below.
55229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55230     <limits.h> exists even on freestanding compilers.  */
55231 #ifdef __STDC__
55232 # include <limits.h>
55233 #else
55234 # include <assert.h>
55235 #endif
55236 /* Override any gcc2 internal prototype to avoid an error.  */
55237 #ifdef __cplusplus
55238 extern "C"
55239 {
55240 #endif
55241 /* We use char because int might match the return type of a gcc2
55242    builtin and then its argument prototype would still apply.  */
55243 char $ac_func ();
55244 /* The GNU C library defines this for functions which it implements
55245     to always fail with ENOSYS.  Some functions are actually named
55246     something starting with __ and the normal name is an alias.  */
55247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55248 choke me
55249 #else
55250 char (*f) () = $ac_func;
55251 #endif
55252 #ifdef __cplusplus
55253 }
55254 #endif
55255
55256 int
55257 main ()
55258 {
55259 return f != $ac_func;
55260   ;
55261   return 0;
55262 }
55263 _ACEOF
55264 rm -f conftest.$ac_objext conftest$ac_exeext
55265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55266   (eval $ac_link) 2>&5
55267   ac_status=$?
55268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55269   (exit $ac_status); } &&
55270          { ac_try='test -s conftest$ac_exeext'
55271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55272   (eval $ac_try) 2>&5
55273   ac_status=$?
55274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55275   (exit $ac_status); }; }; then
55276   eval "$as_ac_var=yes"
55277 else
55278   echo "$as_me: failed program was:" >&5
55279 sed 's/^/| /' conftest.$ac_ext >&5
55280
55281 eval "$as_ac_var=no"
55282 fi
55283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55284 fi
55285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55287 if test `eval echo '${'$as_ac_var'}'` = yes; then
55288   cat >>confdefs.h <<_ACEOF
55289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55290 _ACEOF
55291
55292 else
55293   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55294 fi
55295 done
55296
55297
55298           if test x$ac_cv_func_copysignl = x"yes"; then
55299
55300 for ac_func in __signbitl
55301 do
55302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55303 echo "$as_me:$LINENO: checking for $ac_func" >&5
55304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55305 if eval "test \"\${$as_ac_var+set}\" = set"; then
55306   echo $ECHO_N "(cached) $ECHO_C" >&6
55307 else
55308   cat >conftest.$ac_ext <<_ACEOF
55309 #line $LINENO "configure"
55310 /* confdefs.h.  */
55311 _ACEOF
55312 cat confdefs.h >>conftest.$ac_ext
55313 cat >>conftest.$ac_ext <<_ACEOF
55314 /* end confdefs.h.  */
55315 /* System header to define __stub macros and hopefully few prototypes,
55316     which can conflict with char $ac_func (); below.
55317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55318     <limits.h> exists even on freestanding compilers.  */
55319 #ifdef __STDC__
55320 # include <limits.h>
55321 #else
55322 # include <assert.h>
55323 #endif
55324 /* Override any gcc2 internal prototype to avoid an error.  */
55325 #ifdef __cplusplus
55326 extern "C"
55327 {
55328 #endif
55329 /* We use char because int might match the return type of a gcc2
55330    builtin and then its argument prototype would still apply.  */
55331 char $ac_func ();
55332 /* The GNU C library defines this for functions which it implements
55333     to always fail with ENOSYS.  Some functions are actually named
55334     something starting with __ and the normal name is an alias.  */
55335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55336 choke me
55337 #else
55338 char (*f) () = $ac_func;
55339 #endif
55340 #ifdef __cplusplus
55341 }
55342 #endif
55343
55344 int
55345 main ()
55346 {
55347 return f != $ac_func;
55348   ;
55349   return 0;
55350 }
55351 _ACEOF
55352 rm -f conftest.$ac_objext conftest$ac_exeext
55353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55354   (eval $ac_link) 2>&5
55355   ac_status=$?
55356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357   (exit $ac_status); } &&
55358          { ac_try='test -s conftest$ac_exeext'
55359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55360   (eval $ac_try) 2>&5
55361   ac_status=$?
55362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55363   (exit $ac_status); }; }; then
55364   eval "$as_ac_var=yes"
55365 else
55366   echo "$as_me: failed program was:" >&5
55367 sed 's/^/| /' conftest.$ac_ext >&5
55368
55369 eval "$as_ac_var=no"
55370 fi
55371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55372 fi
55373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55375 if test `eval echo '${'$as_ac_var'}'` = yes; then
55376   cat >>confdefs.h <<_ACEOF
55377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55378 _ACEOF
55379
55380 else
55381   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55382 fi
55383 done
55384
55385   fi
55386
55387   # XXX Review this.  Nothing uses it.
55388   if test -n "$LIBMATHOBJS"; then
55389     need_libmath=yes
55390   fi
55391
55392
55393
55394   # Test wchar.h for mbstate_t, which is needed for char_traits and
55395   # others even if wchar_t support is not on.
55396   echo "$as_me:$LINENO: checking for mbstate_t" >&5
55397 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
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 #include <wchar.h>
55406 int
55407 main ()
55408 {
55409 mbstate_t teststate;
55410   ;
55411   return 0;
55412 }
55413 _ACEOF
55414 rm -f conftest.$ac_objext
55415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55416   (eval $ac_compile) 2>&5
55417   ac_status=$?
55418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55419   (exit $ac_status); } &&
55420          { ac_try='test -s conftest.$ac_objext'
55421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55422   (eval $ac_try) 2>&5
55423   ac_status=$?
55424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55425   (exit $ac_status); }; }; then
55426   have_mbstate_t=yes
55427 else
55428   echo "$as_me: failed program was:" >&5
55429 sed 's/^/| /' conftest.$ac_ext >&5
55430
55431 have_mbstate_t=no
55432 fi
55433 rm -f conftest.$ac_objext conftest.$ac_ext
55434   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55435 echo "${ECHO_T}$have_mbstate_t" >&6
55436   if test x"$have_mbstate_t" = xyes; then
55437     cat >>confdefs.h <<\_ACEOF
55438 #define HAVE_MBSTATE_T 1
55439 _ACEOF
55440
55441   fi
55442
55443   # Sanity check for existence of ISO C99 headers for extended encoding.
55444
55445 for ac_header in wchar.h
55446 do
55447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55449   echo "$as_me:$LINENO: checking for $ac_header" >&5
55450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55452   echo $ECHO_N "(cached) $ECHO_C" >&6
55453 fi
55454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55456 else
55457   # Is the header compilable?
55458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55460 cat >conftest.$ac_ext <<_ACEOF
55461 #line $LINENO "configure"
55462 /* confdefs.h.  */
55463 _ACEOF
55464 cat confdefs.h >>conftest.$ac_ext
55465 cat >>conftest.$ac_ext <<_ACEOF
55466 /* end confdefs.h.  */
55467 $ac_includes_default
55468 #include <$ac_header>
55469 _ACEOF
55470 rm -f conftest.$ac_objext
55471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55472   (eval $ac_compile) 2>&5
55473   ac_status=$?
55474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55475   (exit $ac_status); } &&
55476          { ac_try='test -s conftest.$ac_objext'
55477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55478   (eval $ac_try) 2>&5
55479   ac_status=$?
55480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481   (exit $ac_status); }; }; then
55482   ac_header_compiler=yes
55483 else
55484   echo "$as_me: failed program was:" >&5
55485 sed 's/^/| /' conftest.$ac_ext >&5
55486
55487 ac_header_compiler=no
55488 fi
55489 rm -f conftest.$ac_objext conftest.$ac_ext
55490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55491 echo "${ECHO_T}$ac_header_compiler" >&6
55492
55493 # Is the header present?
55494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55496 cat >conftest.$ac_ext <<_ACEOF
55497 #line $LINENO "configure"
55498 /* confdefs.h.  */
55499 _ACEOF
55500 cat confdefs.h >>conftest.$ac_ext
55501 cat >>conftest.$ac_ext <<_ACEOF
55502 /* end confdefs.h.  */
55503 #include <$ac_header>
55504 _ACEOF
55505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55506   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55507   ac_status=$?
55508   grep -v '^ *+' conftest.er1 >conftest.err
55509   rm -f conftest.er1
55510   cat conftest.err >&5
55511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55512   (exit $ac_status); } >/dev/null; then
55513   if test -s conftest.err; then
55514     ac_cpp_err=$ac_c_preproc_warn_flag
55515   else
55516     ac_cpp_err=
55517   fi
55518 else
55519   ac_cpp_err=yes
55520 fi
55521 if test -z "$ac_cpp_err"; then
55522   ac_header_preproc=yes
55523 else
55524   echo "$as_me: failed program was:" >&5
55525 sed 's/^/| /' conftest.$ac_ext >&5
55526
55527   ac_header_preproc=no
55528 fi
55529 rm -f conftest.err conftest.$ac_ext
55530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55531 echo "${ECHO_T}$ac_header_preproc" >&6
55532
55533 # So?  What about this header?
55534 case $ac_header_compiler:$ac_header_preproc in
55535   yes:no )
55536     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55538     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55540     (
55541       cat <<\_ASBOX
55542 ## ------------------------------------ ##
55543 ## Report this to bug-autoconf@gnu.org. ##
55544 ## ------------------------------------ ##
55545 _ASBOX
55546     ) |
55547       sed "s/^/$as_me: WARNING:     /" >&2
55548     ;;
55549   no:yes )
55550     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55552     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55553 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55554     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55556     (
55557       cat <<\_ASBOX
55558 ## ------------------------------------ ##
55559 ## Report this to bug-autoconf@gnu.org. ##
55560 ## ------------------------------------ ##
55561 _ASBOX
55562     ) |
55563       sed "s/^/$as_me: WARNING:     /" >&2
55564     ;;
55565 esac
55566 echo "$as_me:$LINENO: checking for $ac_header" >&5
55567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55569   echo $ECHO_N "(cached) $ECHO_C" >&6
55570 else
55571   eval "$as_ac_Header=$ac_header_preproc"
55572 fi
55573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55575
55576 fi
55577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55578   cat >>confdefs.h <<_ACEOF
55579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55580 _ACEOF
55581  ac_has_wchar_h=yes
55582 else
55583   ac_has_wchar_h=no
55584 fi
55585
55586 done
55587
55588
55589 for ac_header in wctype.h
55590 do
55591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55593   echo "$as_me:$LINENO: checking for $ac_header" >&5
55594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55596   echo $ECHO_N "(cached) $ECHO_C" >&6
55597 fi
55598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55600 else
55601   # Is the header compilable?
55602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55604 cat >conftest.$ac_ext <<_ACEOF
55605 #line $LINENO "configure"
55606 /* confdefs.h.  */
55607 _ACEOF
55608 cat confdefs.h >>conftest.$ac_ext
55609 cat >>conftest.$ac_ext <<_ACEOF
55610 /* end confdefs.h.  */
55611 $ac_includes_default
55612 #include <$ac_header>
55613 _ACEOF
55614 rm -f conftest.$ac_objext
55615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55616   (eval $ac_compile) 2>&5
55617   ac_status=$?
55618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55619   (exit $ac_status); } &&
55620          { ac_try='test -s conftest.$ac_objext'
55621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55622   (eval $ac_try) 2>&5
55623   ac_status=$?
55624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55625   (exit $ac_status); }; }; then
55626   ac_header_compiler=yes
55627 else
55628   echo "$as_me: failed program was:" >&5
55629 sed 's/^/| /' conftest.$ac_ext >&5
55630
55631 ac_header_compiler=no
55632 fi
55633 rm -f conftest.$ac_objext conftest.$ac_ext
55634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55635 echo "${ECHO_T}$ac_header_compiler" >&6
55636
55637 # Is the header present?
55638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55640 cat >conftest.$ac_ext <<_ACEOF
55641 #line $LINENO "configure"
55642 /* confdefs.h.  */
55643 _ACEOF
55644 cat confdefs.h >>conftest.$ac_ext
55645 cat >>conftest.$ac_ext <<_ACEOF
55646 /* end confdefs.h.  */
55647 #include <$ac_header>
55648 _ACEOF
55649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55650   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55651   ac_status=$?
55652   grep -v '^ *+' conftest.er1 >conftest.err
55653   rm -f conftest.er1
55654   cat conftest.err >&5
55655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55656   (exit $ac_status); } >/dev/null; then
55657   if test -s conftest.err; then
55658     ac_cpp_err=$ac_c_preproc_warn_flag
55659   else
55660     ac_cpp_err=
55661   fi
55662 else
55663   ac_cpp_err=yes
55664 fi
55665 if test -z "$ac_cpp_err"; then
55666   ac_header_preproc=yes
55667 else
55668   echo "$as_me: failed program was:" >&5
55669 sed 's/^/| /' conftest.$ac_ext >&5
55670
55671   ac_header_preproc=no
55672 fi
55673 rm -f conftest.err conftest.$ac_ext
55674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55675 echo "${ECHO_T}$ac_header_preproc" >&6
55676
55677 # So?  What about this header?
55678 case $ac_header_compiler:$ac_header_preproc in
55679   yes:no )
55680     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55682     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55684     (
55685       cat <<\_ASBOX
55686 ## ------------------------------------ ##
55687 ## Report this to bug-autoconf@gnu.org. ##
55688 ## ------------------------------------ ##
55689 _ASBOX
55690     ) |
55691       sed "s/^/$as_me: WARNING:     /" >&2
55692     ;;
55693   no:yes )
55694     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55696     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55698     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55700     (
55701       cat <<\_ASBOX
55702 ## ------------------------------------ ##
55703 ## Report this to bug-autoconf@gnu.org. ##
55704 ## ------------------------------------ ##
55705 _ASBOX
55706     ) |
55707       sed "s/^/$as_me: WARNING:     /" >&2
55708     ;;
55709 esac
55710 echo "$as_me:$LINENO: checking for $ac_header" >&5
55711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55713   echo $ECHO_N "(cached) $ECHO_C" >&6
55714 else
55715   eval "$as_ac_Header=$ac_header_preproc"
55716 fi
55717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55719
55720 fi
55721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55722   cat >>confdefs.h <<_ACEOF
55723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55724 _ACEOF
55725  ac_has_wctype_h=yes
55726 else
55727   ac_has_wctype_h=no
55728 fi
55729
55730 done
55731
55732
55733   # Only continue checking if the ISO C99 headers exist and support is on.
55734   if test x"$ac_has_wchar_h" = xyes &&
55735      test x"$ac_has_wctype_h" = xyes &&
55736      test x"$enable_c_mbchar" != xno; then
55737
55738     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
55739     # numeric_limits can instantiate type_traits<wchar_t>
55740     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
55741 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
55742     cat >conftest.$ac_ext <<_ACEOF
55743 #line $LINENO "configure"
55744 /* confdefs.h.  */
55745 _ACEOF
55746 cat confdefs.h >>conftest.$ac_ext
55747 cat >>conftest.$ac_ext <<_ACEOF
55748 /* end confdefs.h.  */
55749 #include <wchar.h>
55750 int
55751 main ()
55752 {
55753 int i = WCHAR_MIN; int j = WCHAR_MAX;
55754   ;
55755   return 0;
55756 }
55757 _ACEOF
55758 rm -f conftest.$ac_objext
55759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55760   (eval $ac_compile) 2>&5
55761   ac_status=$?
55762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55763   (exit $ac_status); } &&
55764          { ac_try='test -s conftest.$ac_objext'
55765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55766   (eval $ac_try) 2>&5
55767   ac_status=$?
55768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769   (exit $ac_status); }; }; then
55770   has_wchar_minmax=yes
55771 else
55772   echo "$as_me: failed program was:" >&5
55773 sed 's/^/| /' conftest.$ac_ext >&5
55774
55775 has_wchar_minmax=no
55776 fi
55777 rm -f conftest.$ac_objext conftest.$ac_ext
55778     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
55779 echo "${ECHO_T}$has_wchar_minmax" >&6
55780
55781     # Test wchar.h for WEOF, which is what we use to determine whether
55782     # to specialize for char_traits<wchar_t> or not.
55783     echo "$as_me:$LINENO: checking for WEOF" >&5
55784 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
55785     cat >conftest.$ac_ext <<_ACEOF
55786 #line $LINENO "configure"
55787 /* confdefs.h.  */
55788 _ACEOF
55789 cat confdefs.h >>conftest.$ac_ext
55790 cat >>conftest.$ac_ext <<_ACEOF
55791 /* end confdefs.h.  */
55792
55793       #include <wchar.h>
55794       #include <stddef.h>
55795 int
55796 main ()
55797 {
55798 wint_t i = WEOF;
55799   ;
55800   return 0;
55801 }
55802 _ACEOF
55803 rm -f conftest.$ac_objext
55804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55805   (eval $ac_compile) 2>&5
55806   ac_status=$?
55807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55808   (exit $ac_status); } &&
55809          { ac_try='test -s conftest.$ac_objext'
55810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55811   (eval $ac_try) 2>&5
55812   ac_status=$?
55813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55814   (exit $ac_status); }; }; then
55815   has_weof=yes
55816 else
55817   echo "$as_me: failed program was:" >&5
55818 sed 's/^/| /' conftest.$ac_ext >&5
55819
55820 has_weof=no
55821 fi
55822 rm -f conftest.$ac_objext conftest.$ac_ext
55823     echo "$as_me:$LINENO: result: $has_weof" >&5
55824 echo "${ECHO_T}$has_weof" >&6
55825
55826     # Tests for wide character functions used in char_traits<wchar_t>.
55827     ac_wfuncs=yes
55828
55829
55830
55831
55832
55833
55834 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
55835 do
55836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55837 echo "$as_me:$LINENO: checking for $ac_func" >&5
55838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55839 if eval "test \"\${$as_ac_var+set}\" = set"; then
55840   echo $ECHO_N "(cached) $ECHO_C" >&6
55841 else
55842   cat >conftest.$ac_ext <<_ACEOF
55843 #line $LINENO "configure"
55844 /* confdefs.h.  */
55845 _ACEOF
55846 cat confdefs.h >>conftest.$ac_ext
55847 cat >>conftest.$ac_ext <<_ACEOF
55848 /* end confdefs.h.  */
55849 /* System header to define __stub macros and hopefully few prototypes,
55850     which can conflict with char $ac_func (); below.
55851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55852     <limits.h> exists even on freestanding compilers.  */
55853 #ifdef __STDC__
55854 # include <limits.h>
55855 #else
55856 # include <assert.h>
55857 #endif
55858 /* Override any gcc2 internal prototype to avoid an error.  */
55859 #ifdef __cplusplus
55860 extern "C"
55861 {
55862 #endif
55863 /* We use char because int might match the return type of a gcc2
55864    builtin and then its argument prototype would still apply.  */
55865 char $ac_func ();
55866 /* The GNU C library defines this for functions which it implements
55867     to always fail with ENOSYS.  Some functions are actually named
55868     something starting with __ and the normal name is an alias.  */
55869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55870 choke me
55871 #else
55872 char (*f) () = $ac_func;
55873 #endif
55874 #ifdef __cplusplus
55875 }
55876 #endif
55877
55878 int
55879 main ()
55880 {
55881 return f != $ac_func;
55882   ;
55883   return 0;
55884 }
55885 _ACEOF
55886 rm -f conftest.$ac_objext conftest$ac_exeext
55887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55888   (eval $ac_link) 2>&5
55889   ac_status=$?
55890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55891   (exit $ac_status); } &&
55892          { ac_try='test -s conftest$ac_exeext'
55893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55894   (eval $ac_try) 2>&5
55895   ac_status=$?
55896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55897   (exit $ac_status); }; }; then
55898   eval "$as_ac_var=yes"
55899 else
55900   echo "$as_me: failed program was:" >&5
55901 sed 's/^/| /' conftest.$ac_ext >&5
55902
55903 eval "$as_ac_var=no"
55904 fi
55905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55906 fi
55907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55909 if test `eval echo '${'$as_ac_var'}'` = yes; then
55910   cat >>confdefs.h <<_ACEOF
55911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55912 _ACEOF
55913
55914 else
55915   ac_wfuncs=no
55916 fi
55917 done
55918
55919
55920     # Checks for names injected into std:: by the c_std headers.
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
55972     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
55973     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
55974     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
55975     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
55976     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
55977 do
55978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55979 echo "$as_me:$LINENO: checking for $ac_func" >&5
55980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55981 if eval "test \"\${$as_ac_var+set}\" = set"; then
55982   echo $ECHO_N "(cached) $ECHO_C" >&6
55983 else
55984   cat >conftest.$ac_ext <<_ACEOF
55985 #line $LINENO "configure"
55986 /* confdefs.h.  */
55987 _ACEOF
55988 cat confdefs.h >>conftest.$ac_ext
55989 cat >>conftest.$ac_ext <<_ACEOF
55990 /* end confdefs.h.  */
55991 /* System header to define __stub macros and hopefully few prototypes,
55992     which can conflict with char $ac_func (); below.
55993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55994     <limits.h> exists even on freestanding compilers.  */
55995 #ifdef __STDC__
55996 # include <limits.h>
55997 #else
55998 # include <assert.h>
55999 #endif
56000 /* Override any gcc2 internal prototype to avoid an error.  */
56001 #ifdef __cplusplus
56002 extern "C"
56003 {
56004 #endif
56005 /* We use char because int might match the return type of a gcc2
56006    builtin and then its argument prototype would still apply.  */
56007 char $ac_func ();
56008 /* The GNU C library defines this for functions which it implements
56009     to always fail with ENOSYS.  Some functions are actually named
56010     something starting with __ and the normal name is an alias.  */
56011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56012 choke me
56013 #else
56014 char (*f) () = $ac_func;
56015 #endif
56016 #ifdef __cplusplus
56017 }
56018 #endif
56019
56020 int
56021 main ()
56022 {
56023 return f != $ac_func;
56024   ;
56025   return 0;
56026 }
56027 _ACEOF
56028 rm -f conftest.$ac_objext conftest$ac_exeext
56029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56030   (eval $ac_link) 2>&5
56031   ac_status=$?
56032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033   (exit $ac_status); } &&
56034          { ac_try='test -s conftest$ac_exeext'
56035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56036   (eval $ac_try) 2>&5
56037   ac_status=$?
56038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56039   (exit $ac_status); }; }; then
56040   eval "$as_ac_var=yes"
56041 else
56042   echo "$as_me: failed program was:" >&5
56043 sed 's/^/| /' conftest.$ac_ext >&5
56044
56045 eval "$as_ac_var=no"
56046 fi
56047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56048 fi
56049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56051 if test `eval echo '${'$as_ac_var'}'` = yes; then
56052   cat >>confdefs.h <<_ACEOF
56053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56054 _ACEOF
56055
56056 else
56057   ac_wfuncs=no
56058 fi
56059 done
56060
56061
56062     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56063 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56064     if test x"$has_weof" = xyes &&
56065        test x"$has_wchar_minmax" = xyes &&
56066        test x"$ac_wfuncs" = xyes;
56067     then
56068       ac_isoC99_wchar_t=yes
56069     else
56070       ac_isoC99_wchar_t=no
56071     fi
56072     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56073 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56074
56075     # Use iconv for wchar_t to char conversions. As such, check for
56076     # X/Open Portability Guide, version 2 features (XPG2).
56077     if test "${ac_cv_header_iconv_h+set}" = set; then
56078   echo "$as_me:$LINENO: checking for iconv.h" >&5
56079 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56080 if test "${ac_cv_header_iconv_h+set}" = set; then
56081   echo $ECHO_N "(cached) $ECHO_C" >&6
56082 fi
56083 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56084 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56085 else
56086   # Is the header compilable?
56087 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56088 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56089 cat >conftest.$ac_ext <<_ACEOF
56090 #line $LINENO "configure"
56091 /* confdefs.h.  */
56092 _ACEOF
56093 cat confdefs.h >>conftest.$ac_ext
56094 cat >>conftest.$ac_ext <<_ACEOF
56095 /* end confdefs.h.  */
56096 $ac_includes_default
56097 #include <iconv.h>
56098 _ACEOF
56099 rm -f conftest.$ac_objext
56100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56101   (eval $ac_compile) 2>&5
56102   ac_status=$?
56103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56104   (exit $ac_status); } &&
56105          { ac_try='test -s conftest.$ac_objext'
56106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56107   (eval $ac_try) 2>&5
56108   ac_status=$?
56109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56110   (exit $ac_status); }; }; then
56111   ac_header_compiler=yes
56112 else
56113   echo "$as_me: failed program was:" >&5
56114 sed 's/^/| /' conftest.$ac_ext >&5
56115
56116 ac_header_compiler=no
56117 fi
56118 rm -f conftest.$ac_objext conftest.$ac_ext
56119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56120 echo "${ECHO_T}$ac_header_compiler" >&6
56121
56122 # Is the header present?
56123 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56124 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56125 cat >conftest.$ac_ext <<_ACEOF
56126 #line $LINENO "configure"
56127 /* confdefs.h.  */
56128 _ACEOF
56129 cat confdefs.h >>conftest.$ac_ext
56130 cat >>conftest.$ac_ext <<_ACEOF
56131 /* end confdefs.h.  */
56132 #include <iconv.h>
56133 _ACEOF
56134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56135   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56136   ac_status=$?
56137   grep -v '^ *+' conftest.er1 >conftest.err
56138   rm -f conftest.er1
56139   cat conftest.err >&5
56140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56141   (exit $ac_status); } >/dev/null; then
56142   if test -s conftest.err; then
56143     ac_cpp_err=$ac_c_preproc_warn_flag
56144   else
56145     ac_cpp_err=
56146   fi
56147 else
56148   ac_cpp_err=yes
56149 fi
56150 if test -z "$ac_cpp_err"; then
56151   ac_header_preproc=yes
56152 else
56153   echo "$as_me: failed program was:" >&5
56154 sed 's/^/| /' conftest.$ac_ext >&5
56155
56156   ac_header_preproc=no
56157 fi
56158 rm -f conftest.err conftest.$ac_ext
56159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56160 echo "${ECHO_T}$ac_header_preproc" >&6
56161
56162 # So?  What about this header?
56163 case $ac_header_compiler:$ac_header_preproc in
56164   yes:no )
56165     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56166 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56167     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56168 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56169     (
56170       cat <<\_ASBOX
56171 ## ------------------------------------ ##
56172 ## Report this to bug-autoconf@gnu.org. ##
56173 ## ------------------------------------ ##
56174 _ASBOX
56175     ) |
56176       sed "s/^/$as_me: WARNING:     /" >&2
56177     ;;
56178   no:yes )
56179     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56180 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56181     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56182 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56183     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56184 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56185     (
56186       cat <<\_ASBOX
56187 ## ------------------------------------ ##
56188 ## Report this to bug-autoconf@gnu.org. ##
56189 ## ------------------------------------ ##
56190 _ASBOX
56191     ) |
56192       sed "s/^/$as_me: WARNING:     /" >&2
56193     ;;
56194 esac
56195 echo "$as_me:$LINENO: checking for iconv.h" >&5
56196 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56197 if test "${ac_cv_header_iconv_h+set}" = set; then
56198   echo $ECHO_N "(cached) $ECHO_C" >&6
56199 else
56200   ac_cv_header_iconv_h=$ac_header_preproc
56201 fi
56202 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56203 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56204
56205 fi
56206 if test $ac_cv_header_iconv_h = yes; then
56207   ac_has_iconv_h=yes
56208 else
56209   ac_has_iconv_h=no
56210 fi
56211
56212
56213     if test "${ac_cv_header_langinfo_h+set}" = set; then
56214   echo "$as_me:$LINENO: checking for langinfo.h" >&5
56215 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56216 if test "${ac_cv_header_langinfo_h+set}" = set; then
56217   echo $ECHO_N "(cached) $ECHO_C" >&6
56218 fi
56219 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56220 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56221 else
56222   # Is the header compilable?
56223 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
56224 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
56225 cat >conftest.$ac_ext <<_ACEOF
56226 #line $LINENO "configure"
56227 /* confdefs.h.  */
56228 _ACEOF
56229 cat confdefs.h >>conftest.$ac_ext
56230 cat >>conftest.$ac_ext <<_ACEOF
56231 /* end confdefs.h.  */
56232 $ac_includes_default
56233 #include <langinfo.h>
56234 _ACEOF
56235 rm -f conftest.$ac_objext
56236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56237   (eval $ac_compile) 2>&5
56238   ac_status=$?
56239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240   (exit $ac_status); } &&
56241          { ac_try='test -s conftest.$ac_objext'
56242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56243   (eval $ac_try) 2>&5
56244   ac_status=$?
56245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56246   (exit $ac_status); }; }; then
56247   ac_header_compiler=yes
56248 else
56249   echo "$as_me: failed program was:" >&5
56250 sed 's/^/| /' conftest.$ac_ext >&5
56251
56252 ac_header_compiler=no
56253 fi
56254 rm -f conftest.$ac_objext conftest.$ac_ext
56255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56256 echo "${ECHO_T}$ac_header_compiler" >&6
56257
56258 # Is the header present?
56259 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
56260 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
56261 cat >conftest.$ac_ext <<_ACEOF
56262 #line $LINENO "configure"
56263 /* confdefs.h.  */
56264 _ACEOF
56265 cat confdefs.h >>conftest.$ac_ext
56266 cat >>conftest.$ac_ext <<_ACEOF
56267 /* end confdefs.h.  */
56268 #include <langinfo.h>
56269 _ACEOF
56270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56271   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56272   ac_status=$?
56273   grep -v '^ *+' conftest.er1 >conftest.err
56274   rm -f conftest.er1
56275   cat conftest.err >&5
56276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56277   (exit $ac_status); } >/dev/null; then
56278   if test -s conftest.err; then
56279     ac_cpp_err=$ac_c_preproc_warn_flag
56280   else
56281     ac_cpp_err=
56282   fi
56283 else
56284   ac_cpp_err=yes
56285 fi
56286 if test -z "$ac_cpp_err"; then
56287   ac_header_preproc=yes
56288 else
56289   echo "$as_me: failed program was:" >&5
56290 sed 's/^/| /' conftest.$ac_ext >&5
56291
56292   ac_header_preproc=no
56293 fi
56294 rm -f conftest.err conftest.$ac_ext
56295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56296 echo "${ECHO_T}$ac_header_preproc" >&6
56297
56298 # So?  What about this header?
56299 case $ac_header_compiler:$ac_header_preproc in
56300   yes:no )
56301     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
56302 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56303     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56304 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56305     (
56306       cat <<\_ASBOX
56307 ## ------------------------------------ ##
56308 ## Report this to bug-autoconf@gnu.org. ##
56309 ## ------------------------------------ ##
56310 _ASBOX
56311     ) |
56312       sed "s/^/$as_me: WARNING:     /" >&2
56313     ;;
56314   no:yes )
56315     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
56316 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
56317     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
56318 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
56319     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56320 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56321     (
56322       cat <<\_ASBOX
56323 ## ------------------------------------ ##
56324 ## Report this to bug-autoconf@gnu.org. ##
56325 ## ------------------------------------ ##
56326 _ASBOX
56327     ) |
56328       sed "s/^/$as_me: WARNING:     /" >&2
56329     ;;
56330 esac
56331 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56332 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56333 if test "${ac_cv_header_langinfo_h+set}" = set; then
56334   echo $ECHO_N "(cached) $ECHO_C" >&6
56335 else
56336   ac_cv_header_langinfo_h=$ac_header_preproc
56337 fi
56338 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56339 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56340
56341 fi
56342 if test $ac_cv_header_langinfo_h = yes; then
56343   ac_has_langinfo_h=yes
56344 else
56345   ac_has_langinfo_h=no
56346 fi
56347
56348
56349
56350     # Check for existence of libiconv.a providing XPG2 wchar_t support.
56351     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56352 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56353 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56354   echo $ECHO_N "(cached) $ECHO_C" >&6
56355 else
56356   ac_check_lib_save_LIBS=$LIBS
56357 LIBS="-liconv  $LIBS"
56358 cat >conftest.$ac_ext <<_ACEOF
56359 #line $LINENO "configure"
56360 /* confdefs.h.  */
56361 _ACEOF
56362 cat confdefs.h >>conftest.$ac_ext
56363 cat >>conftest.$ac_ext <<_ACEOF
56364 /* end confdefs.h.  */
56365
56366 /* Override any gcc2 internal prototype to avoid an error.  */
56367 #ifdef __cplusplus
56368 extern "C"
56369 #endif
56370 /* We use char because int might match the return type of a gcc2
56371    builtin and then its argument prototype would still apply.  */
56372 char iconv ();
56373 int
56374 main ()
56375 {
56376 iconv ();
56377   ;
56378   return 0;
56379 }
56380 _ACEOF
56381 rm -f conftest.$ac_objext conftest$ac_exeext
56382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56383   (eval $ac_link) 2>&5
56384   ac_status=$?
56385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56386   (exit $ac_status); } &&
56387          { ac_try='test -s conftest$ac_exeext'
56388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56389   (eval $ac_try) 2>&5
56390   ac_status=$?
56391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56392   (exit $ac_status); }; }; then
56393   ac_cv_lib_iconv_iconv=yes
56394 else
56395   echo "$as_me: failed program was:" >&5
56396 sed 's/^/| /' conftest.$ac_ext >&5
56397
56398 ac_cv_lib_iconv_iconv=no
56399 fi
56400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56401 LIBS=$ac_check_lib_save_LIBS
56402 fi
56403 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
56404 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
56405 if test $ac_cv_lib_iconv_iconv = yes; then
56406   libiconv="-liconv"
56407 fi
56408
56409     ac_save_LIBS="$LIBS"
56410     LIBS="$LIBS $libiconv"
56411
56412
56413
56414
56415
56416 for ac_func in iconv_open iconv_close iconv nl_langinfo
56417 do
56418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56419 echo "$as_me:$LINENO: checking for $ac_func" >&5
56420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56421 if eval "test \"\${$as_ac_var+set}\" = set"; then
56422   echo $ECHO_N "(cached) $ECHO_C" >&6
56423 else
56424   cat >conftest.$ac_ext <<_ACEOF
56425 #line $LINENO "configure"
56426 /* confdefs.h.  */
56427 _ACEOF
56428 cat confdefs.h >>conftest.$ac_ext
56429 cat >>conftest.$ac_ext <<_ACEOF
56430 /* end confdefs.h.  */
56431 /* System header to define __stub macros and hopefully few prototypes,
56432     which can conflict with char $ac_func (); below.
56433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56434     <limits.h> exists even on freestanding compilers.  */
56435 #ifdef __STDC__
56436 # include <limits.h>
56437 #else
56438 # include <assert.h>
56439 #endif
56440 /* Override any gcc2 internal prototype to avoid an error.  */
56441 #ifdef __cplusplus
56442 extern "C"
56443 {
56444 #endif
56445 /* We use char because int might match the return type of a gcc2
56446    builtin and then its argument prototype would still apply.  */
56447 char $ac_func ();
56448 /* The GNU C library defines this for functions which it implements
56449     to always fail with ENOSYS.  Some functions are actually named
56450     something starting with __ and the normal name is an alias.  */
56451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56452 choke me
56453 #else
56454 char (*f) () = $ac_func;
56455 #endif
56456 #ifdef __cplusplus
56457 }
56458 #endif
56459
56460 int
56461 main ()
56462 {
56463 return f != $ac_func;
56464   ;
56465   return 0;
56466 }
56467 _ACEOF
56468 rm -f conftest.$ac_objext conftest$ac_exeext
56469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56470   (eval $ac_link) 2>&5
56471   ac_status=$?
56472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56473   (exit $ac_status); } &&
56474          { ac_try='test -s conftest$ac_exeext'
56475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56476   (eval $ac_try) 2>&5
56477   ac_status=$?
56478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479   (exit $ac_status); }; }; then
56480   eval "$as_ac_var=yes"
56481 else
56482   echo "$as_me: failed program was:" >&5
56483 sed 's/^/| /' conftest.$ac_ext >&5
56484
56485 eval "$as_ac_var=no"
56486 fi
56487 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56488 fi
56489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56491 if test `eval echo '${'$as_ac_var'}'` = yes; then
56492   cat >>confdefs.h <<_ACEOF
56493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56494 _ACEOF
56495  ac_XPG2funcs=yes
56496 else
56497   ac_XPG2funcs=no
56498 fi
56499 done
56500
56501
56502     LIBS="$ac_save_LIBS"
56503
56504     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
56505 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
56506     if test x"$ac_has_iconv_h" = xyes &&
56507        test x"$ac_has_langinfo_h" = xyes &&
56508        test x"$ac_XPG2funcs" = xyes;
56509     then
56510       ac_XPG2_wchar_t=yes
56511     else
56512       ac_XPG2_wchar_t=no
56513     fi
56514     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
56515 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
56516
56517     # At the moment, only enable wchar_t specializations if all the
56518     # above support is present.
56519     if test x"$ac_isoC99_wchar_t" = xyes &&
56520        test x"$ac_XPG2_wchar_t" = xyes;
56521     then
56522       cat >>confdefs.h <<\_ACEOF
56523 #define _GLIBCXX_USE_WCHAR_T 1
56524 _ACEOF
56525
56526       enable_wchar_t=yes
56527     fi
56528   fi
56529   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
56530 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
56531   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
56532 echo "${ECHO_T}$enable_wchar_t" >&6
56533
56534     cat >>confdefs.h <<\_ACEOF
56535 #define HAVE_COSF 1
56536 _ACEOF
56537
56538     cat >>confdefs.h <<\_ACEOF
56539 #define HAVE_COSL 1
56540 _ACEOF
56541
56542     cat >>confdefs.h <<\_ACEOF
56543 #define HAVE_COSHF 1
56544 _ACEOF
56545
56546     cat >>confdefs.h <<\_ACEOF
56547 #define HAVE_COSHL 1
56548 _ACEOF
56549
56550     cat >>confdefs.h <<\_ACEOF
56551 #define HAVE_LOGF 1
56552 _ACEOF
56553
56554     cat >>confdefs.h <<\_ACEOF
56555 #define HAVE_LOGL 1
56556 _ACEOF
56557
56558     cat >>confdefs.h <<\_ACEOF
56559 #define HAVE_LOG10F 1
56560 _ACEOF
56561
56562     cat >>confdefs.h <<\_ACEOF
56563 #define HAVE_LOG10L 1
56564 _ACEOF
56565
56566     cat >>confdefs.h <<\_ACEOF
56567 #define HAVE_SINF 1
56568 _ACEOF
56569
56570     cat >>confdefs.h <<\_ACEOF
56571 #define HAVE_SINL 1
56572 _ACEOF
56573
56574     cat >>confdefs.h <<\_ACEOF
56575 #define HAVE_SINHF 1
56576 _ACEOF
56577
56578     cat >>confdefs.h <<\_ACEOF
56579 #define HAVE_SINHL 1
56580 _ACEOF
56581
56582     ;;
56583   *-solaris*)
56584     #case "$target" in
56585     #  *-solaris2.5)
56586     #    os_include_dir="os/solaris/solaris2.5"
56587     #    ;;
56588     #  *-solaris2.6)
56589     #    os_include_dir="os/solaris/solaris2.6"
56590     #    ;;
56591     #  *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
56592     #    os_include_dir="os/solaris/solaris2.7"
56593     #    ;;
56594     #esac
56595     cat >>confdefs.h <<\_ACEOF
56596 #define HAVE_STRTOF 1
56597 _ACEOF
56598
56599     cat >>confdefs.h <<\_ACEOF
56600 #define HAVE_STRTOLD 1
56601 _ACEOF
56602
56603     cat >>confdefs.h <<\_ACEOF
56604 #define HAVE_MMAP 1
56605 _ACEOF
56606
56607     cat >>confdefs.h <<\_ACEOF
56608 #define HAVE_COPYSIGN 1
56609 _ACEOF
56610
56611     cat >>confdefs.h <<\_ACEOF
56612 #define HAVE_ISNAN 1
56613 _ACEOF
56614
56615     cat >>confdefs.h <<\_ACEOF
56616 #define HAVE_ISNANF 1
56617 _ACEOF
56618
56619     cat >>confdefs.h <<\_ACEOF
56620 #define HAVE_MODFF 1
56621 _ACEOF
56622
56623     cat >>confdefs.h <<\_ACEOF
56624 #define HAVE_HYPOT 1
56625 _ACEOF
56626
56627     ;;
56628   *-windiss*)
56629     #os_include_dir="os/windiss"
56630     cat >>confdefs.h <<\_ACEOF
56631 #define HAVE_ACOSF 1
56632 _ACEOF
56633
56634     cat >>confdefs.h <<\_ACEOF
56635 #define HAVE_ASINF 1
56636 _ACEOF
56637
56638     cat >>confdefs.h <<\_ACEOF
56639 #define HAVE_ATAN2F 1
56640 _ACEOF
56641
56642     cat >>confdefs.h <<\_ACEOF
56643 #define HAVE_ATANF 1
56644 _ACEOF
56645
56646     cat >>confdefs.h <<\_ACEOF
56647 #define HAVE_CEILF 1
56648 _ACEOF
56649
56650     cat >>confdefs.h <<\_ACEOF
56651 #define HAVE_COPYSIGN 1
56652 _ACEOF
56653
56654     cat >>confdefs.h <<\_ACEOF
56655 #define HAVE_COPYSIGNF 1
56656 _ACEOF
56657
56658     cat >>confdefs.h <<\_ACEOF
56659 #define HAVE_COSF 1
56660 _ACEOF
56661
56662     cat >>confdefs.h <<\_ACEOF
56663 #define HAVE_COSHF 1
56664 _ACEOF
56665
56666     cat >>confdefs.h <<\_ACEOF
56667 #define HAVE_EXPF 1
56668 _ACEOF
56669
56670     cat >>confdefs.h <<\_ACEOF
56671 #define HAVE_FABSF 1
56672 _ACEOF
56673
56674     cat >>confdefs.h <<\_ACEOF
56675 #define HAVE_FLOORF 1
56676 _ACEOF
56677
56678     cat >>confdefs.h <<\_ACEOF
56679 #define HAVE_FMODF 1
56680 _ACEOF
56681
56682     cat >>confdefs.h <<\_ACEOF
56683 #define HAVE_FREXPF 1
56684 _ACEOF
56685
56686     cat >>confdefs.h <<\_ACEOF
56687 #define HAVE_LDEXPF 1
56688 _ACEOF
56689
56690     cat >>confdefs.h <<\_ACEOF
56691 #define HAVE_LOG10F 1
56692 _ACEOF
56693
56694     cat >>confdefs.h <<\_ACEOF
56695 #define HAVE_LOGF 1
56696 _ACEOF
56697
56698     cat >>confdefs.h <<\_ACEOF
56699 #define HAVE_MODFF 1
56700 _ACEOF
56701
56702     cat >>confdefs.h <<\_ACEOF
56703 #define HAVE_POWF 1
56704 _ACEOF
56705
56706     cat >>confdefs.h <<\_ACEOF
56707 #define HAVE_SINF 1
56708 _ACEOF
56709
56710     cat >>confdefs.h <<\_ACEOF
56711 #define HAVE_SINHF 1
56712 _ACEOF
56713
56714     cat >>confdefs.h <<\_ACEOF
56715 #define HAVE_SQRTF 1
56716 _ACEOF
56717
56718     cat >>confdefs.h <<\_ACEOF
56719 #define HAVE_TANF 1
56720 _ACEOF
56721
56722     cat >>confdefs.h <<\_ACEOF
56723 #define HAVE_TANHF 1
56724 _ACEOF
56725
56726     ;;
56727   *)
56728     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
56729 echo "$as_me: error: No support for this host/target combination." >&2;}
56730    { (exit 1); exit 1; }; }
56731    ;;
56732 esac
56733
56734
56735   fi
56736
56737   # At some point, we should differentiate between architectures
56738   # like x86, which have long double versions, and alpha/powerpc/etc.,
56739   # which don't. For the time being, punt.
56740   if test x"long_double_math_on_this_cpu" = x"yes"; then
56741     cat >>confdefs.h <<\_ACEOF
56742 #define HAVE_ACOSL 1
56743 _ACEOF
56744
56745     cat >>confdefs.h <<\_ACEOF
56746 #define HAVE_ASINL 1
56747 _ACEOF
56748
56749     cat >>confdefs.h <<\_ACEOF
56750 #define HAVE_ATAN2L 1
56751 _ACEOF
56752
56753     cat >>confdefs.h <<\_ACEOF
56754 #define HAVE_ATANL 1
56755 _ACEOF
56756
56757     cat >>confdefs.h <<\_ACEOF
56758 #define HAVE_CEILL 1
56759 _ACEOF
56760
56761     cat >>confdefs.h <<\_ACEOF
56762 #define HAVE_COPYSIGNL 1
56763 _ACEOF
56764
56765     cat >>confdefs.h <<\_ACEOF
56766 #define HAVE_COSL 1
56767 _ACEOF
56768
56769     cat >>confdefs.h <<\_ACEOF
56770 #define HAVE_COSHL 1
56771 _ACEOF
56772
56773     cat >>confdefs.h <<\_ACEOF
56774 #define HAVE_EXPL 1
56775 _ACEOF
56776
56777     cat >>confdefs.h <<\_ACEOF
56778 #define HAVE_FABSL 1
56779 _ACEOF
56780
56781     cat >>confdefs.h <<\_ACEOF
56782 #define HAVE_FLOORL 1
56783 _ACEOF
56784
56785     cat >>confdefs.h <<\_ACEOF
56786 #define HAVE_FMODL 1
56787 _ACEOF
56788
56789     cat >>confdefs.h <<\_ACEOF
56790 #define HAVE_FREXPL 1
56791 _ACEOF
56792
56793     cat >>confdefs.h <<\_ACEOF
56794 #define HAVE_LDEXPL 1
56795 _ACEOF
56796
56797     cat >>confdefs.h <<\_ACEOF
56798 #define HAVE_LOG10L 1
56799 _ACEOF
56800
56801     cat >>confdefs.h <<\_ACEOF
56802 #define HAVE_LOGL 1
56803 _ACEOF
56804
56805     cat >>confdefs.h <<\_ACEOF
56806 #define HAVE_MODFL 1
56807 _ACEOF
56808
56809     cat >>confdefs.h <<\_ACEOF
56810 #define HAVE_POWL 1
56811 _ACEOF
56812
56813     cat >>confdefs.h <<\_ACEOF
56814 #define HAVE_SINCOSL 1
56815 _ACEOF
56816
56817     cat >>confdefs.h <<\_ACEOF
56818 #define HAVE_SINL 1
56819 _ACEOF
56820
56821     cat >>confdefs.h <<\_ACEOF
56822 #define HAVE_SINHL 1
56823 _ACEOF
56824
56825     cat >>confdefs.h <<\_ACEOF
56826 #define HAVE_SQRTL 1
56827 _ACEOF
56828
56829     cat >>confdefs.h <<\_ACEOF
56830 #define HAVE_TANL 1
56831 _ACEOF
56832
56833     cat >>confdefs.h <<\_ACEOF
56834 #define HAVE_TANHL 1
56835 _ACEOF
56836
56837   fi
56838
56839 fi
56840
56841 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
56842
56843
56844  # Check whether --enable-symvers or --disable-symvers was given.
56845 if test "${enable_symvers+set}" = set; then
56846   enableval="$enable_symvers"
56847
56848       case "$enableval" in
56849        yes|no|gnu) ;;
56850        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
56851 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
56852    { (exit 1); exit 1; }; } ;;
56853                           esac
56854
56855 else
56856   enable_symvers=yes
56857 fi;
56858
56859
56860 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
56861 # don't know enough about $LD to do tricks...
56862
56863 # FIXME  The following test is too strict, in theory.
56864 if test $enable_shared = no ||
56865         test "x$LD" = x ||
56866         test x$glibcxx_gnu_ld_version = x; then
56867   enable_symvers=no
56868 fi
56869
56870 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
56871 if test $enable_symvers != no; then
56872   echo "$as_me:$LINENO: checking for shared libgcc" >&5
56873 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
56874   ac_save_CFLAGS="$CFLAGS"
56875   CFLAGS=' -lgcc_s'
56876   cat >conftest.$ac_ext <<_ACEOF
56877 #line $LINENO "configure"
56878 /* confdefs.h.  */
56879 _ACEOF
56880 cat confdefs.h >>conftest.$ac_ext
56881 cat >>conftest.$ac_ext <<_ACEOF
56882 /* end confdefs.h.  */
56883
56884 int
56885 main ()
56886 {
56887 return 0;
56888   ;
56889   return 0;
56890 }
56891 _ACEOF
56892 rm -f conftest.$ac_objext conftest$ac_exeext
56893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56894   (eval $ac_link) 2>&5
56895   ac_status=$?
56896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56897   (exit $ac_status); } &&
56898          { ac_try='test -s conftest$ac_exeext'
56899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56900   (eval $ac_try) 2>&5
56901   ac_status=$?
56902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56903   (exit $ac_status); }; }; then
56904   glibcxx_shared_libgcc=yes
56905 else
56906   echo "$as_me: failed program was:" >&5
56907 sed 's/^/| /' conftest.$ac_ext >&5
56908
56909 glibcxx_shared_libgcc=no
56910 fi
56911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56912   CFLAGS="$ac_save_CFLAGS"
56913   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
56914 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
56915 fi
56916
56917 # For GNU ld, we need at least this version.  The format is described in
56918 # GLIBCXX_CHECK_LINKER_FEATURES above.
56919 glibcxx_min_gnu_ld_version=21400
56920 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
56921
56922 # Check to see if unspecified "yes" value can win, given results above.
56923 # Change "yes" into either "no" or a style name.
56924 if test $enable_symvers = yes; then
56925   if test $with_gnu_ld = yes &&
56926      test $glibcxx_shared_libgcc = yes;
56927   then
56928     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
56929       enable_symvers=gnu
56930     else
56931       # The right tools, the right setup, but too old.  Fallbacks?
56932       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
56933 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
56934       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
56935 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
56936       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
56937 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
56938       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
56939 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
56940       if test $glibcxx_gnu_ld_version -ge 21200 ; then
56941         # Globbing fix is present, proper block support is not.
56942                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
56943 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
56944         enable_symvers=no
56945       else
56946         # 2.11 or older.
56947         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
56948 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
56949         enable_symvers=no
56950       fi
56951     fi
56952   else
56953     # just fail for now
56954     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
56955 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
56956     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
56957 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
56958     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
56959 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
56960     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
56961 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
56962     enable_symvers=no
56963   fi
56964 fi
56965
56966 # Everything parsed; figure out what file to use.
56967 case $enable_symvers in
56968   no)
56969     SYMVER_MAP=config/linker-map.dummy
56970     ;;
56971   gnu)
56972     SYMVER_MAP=config/linker-map.gnu
56973     cat >>confdefs.h <<\_ACEOF
56974 #define _GLIBCXX_SYMVER 1
56975 _ACEOF
56976
56977     ;;
56978 esac
56979
56980
56981
56982
56983
56984 if test $enable_symvers != no; then
56985   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
56986   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
56987 else
56988   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
56989   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
56990 fi
56991
56992 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
56993 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
56994
56995
56996 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
56997
56998   if $GLIBCXX_IS_NATIVE; then
56999     # Do checks for memory limit functions.
57000
57001   setrlimit_have_headers=yes
57002
57003
57004
57005 for ac_header in unistd.h sys/time.h sys/resource.h
57006 do
57007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57009   echo "$as_me:$LINENO: checking for $ac_header" >&5
57010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57012   echo $ECHO_N "(cached) $ECHO_C" >&6
57013 fi
57014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57016 else
57017   # Is the header compilable?
57018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57020 cat >conftest.$ac_ext <<_ACEOF
57021 #line $LINENO "configure"
57022 /* confdefs.h.  */
57023 _ACEOF
57024 cat confdefs.h >>conftest.$ac_ext
57025 cat >>conftest.$ac_ext <<_ACEOF
57026 /* end confdefs.h.  */
57027 $ac_includes_default
57028 #include <$ac_header>
57029 _ACEOF
57030 rm -f conftest.$ac_objext
57031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57032   (eval $ac_compile) 2>&5
57033   ac_status=$?
57034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57035   (exit $ac_status); } &&
57036          { ac_try='test -s conftest.$ac_objext'
57037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57038   (eval $ac_try) 2>&5
57039   ac_status=$?
57040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57041   (exit $ac_status); }; }; then
57042   ac_header_compiler=yes
57043 else
57044   echo "$as_me: failed program was:" >&5
57045 sed 's/^/| /' conftest.$ac_ext >&5
57046
57047 ac_header_compiler=no
57048 fi
57049 rm -f conftest.$ac_objext conftest.$ac_ext
57050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57051 echo "${ECHO_T}$ac_header_compiler" >&6
57052
57053 # Is the header present?
57054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57056 cat >conftest.$ac_ext <<_ACEOF
57057 #line $LINENO "configure"
57058 /* confdefs.h.  */
57059 _ACEOF
57060 cat confdefs.h >>conftest.$ac_ext
57061 cat >>conftest.$ac_ext <<_ACEOF
57062 /* end confdefs.h.  */
57063 #include <$ac_header>
57064 _ACEOF
57065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57066   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57067   ac_status=$?
57068   grep -v '^ *+' conftest.er1 >conftest.err
57069   rm -f conftest.er1
57070   cat conftest.err >&5
57071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57072   (exit $ac_status); } >/dev/null; then
57073   if test -s conftest.err; then
57074     ac_cpp_err=$ac_c_preproc_warn_flag
57075   else
57076     ac_cpp_err=
57077   fi
57078 else
57079   ac_cpp_err=yes
57080 fi
57081 if test -z "$ac_cpp_err"; then
57082   ac_header_preproc=yes
57083 else
57084   echo "$as_me: failed program was:" >&5
57085 sed 's/^/| /' conftest.$ac_ext >&5
57086
57087   ac_header_preproc=no
57088 fi
57089 rm -f conftest.err conftest.$ac_ext
57090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57091 echo "${ECHO_T}$ac_header_preproc" >&6
57092
57093 # So?  What about this header?
57094 case $ac_header_compiler:$ac_header_preproc in
57095   yes:no )
57096     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57098     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57100     (
57101       cat <<\_ASBOX
57102 ## ------------------------------------ ##
57103 ## Report this to bug-autoconf@gnu.org. ##
57104 ## ------------------------------------ ##
57105 _ASBOX
57106     ) |
57107       sed "s/^/$as_me: WARNING:     /" >&2
57108     ;;
57109   no:yes )
57110     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57112     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57114     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57116     (
57117       cat <<\_ASBOX
57118 ## ------------------------------------ ##
57119 ## Report this to bug-autoconf@gnu.org. ##
57120 ## ------------------------------------ ##
57121 _ASBOX
57122     ) |
57123       sed "s/^/$as_me: WARNING:     /" >&2
57124     ;;
57125 esac
57126 echo "$as_me:$LINENO: checking for $ac_header" >&5
57127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57129   echo $ECHO_N "(cached) $ECHO_C" >&6
57130 else
57131   eval "$as_ac_Header=$ac_header_preproc"
57132 fi
57133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57135
57136 fi
57137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57138   cat >>confdefs.h <<_ACEOF
57139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57140 _ACEOF
57141
57142 else
57143   setrlimit_have_headers=no
57144 fi
57145
57146 done
57147
57148   # If don't have the headers, then we can't run the tests now, and we
57149   # won't be seeing any of these during testsuite compilation.
57150   if test $setrlimit_have_headers = yes; then
57151     # Can't do these in a loop, else the resulting syntax is wrong.
57152
57153   cat >conftest.$ac_ext <<_ACEOF
57154 #line $LINENO "configure"
57155 /* confdefs.h.  */
57156 _ACEOF
57157 cat confdefs.h >>conftest.$ac_ext
57158 cat >>conftest.$ac_ext <<_ACEOF
57159 /* end confdefs.h.  */
57160 #include <unistd.h>
57161      #include <sys/time.h>
57162      #include <sys/resource.h>
57163
57164 int
57165 main ()
57166 {
57167  int f = RLIMIT_DATA ;
57168   ;
57169   return 0;
57170 }
57171 _ACEOF
57172 rm -f conftest.$ac_objext
57173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57174   (eval $ac_compile) 2>&5
57175   ac_status=$?
57176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57177   (exit $ac_status); } &&
57178          { ac_try='test -s conftest.$ac_objext'
57179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57180   (eval $ac_try) 2>&5
57181   ac_status=$?
57182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57183   (exit $ac_status); }; }; then
57184   glibcxx_mresult=1
57185 else
57186   echo "$as_me: failed program was:" >&5
57187 sed 's/^/| /' conftest.$ac_ext >&5
57188
57189 glibcxx_mresult=0
57190 fi
57191 rm -f conftest.$ac_objext conftest.$ac_ext
57192
57193 cat >>confdefs.h <<_ACEOF
57194 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
57195 _ACEOF
57196
57197
57198
57199   cat >conftest.$ac_ext <<_ACEOF
57200 #line $LINENO "configure"
57201 /* confdefs.h.  */
57202 _ACEOF
57203 cat confdefs.h >>conftest.$ac_ext
57204 cat >>conftest.$ac_ext <<_ACEOF
57205 /* end confdefs.h.  */
57206 #include <unistd.h>
57207      #include <sys/time.h>
57208      #include <sys/resource.h>
57209
57210 int
57211 main ()
57212 {
57213  int f = RLIMIT_RSS ;
57214   ;
57215   return 0;
57216 }
57217 _ACEOF
57218 rm -f conftest.$ac_objext
57219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57220   (eval $ac_compile) 2>&5
57221   ac_status=$?
57222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57223   (exit $ac_status); } &&
57224          { ac_try='test -s conftest.$ac_objext'
57225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57226   (eval $ac_try) 2>&5
57227   ac_status=$?
57228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57229   (exit $ac_status); }; }; then
57230   glibcxx_mresult=1
57231 else
57232   echo "$as_me: failed program was:" >&5
57233 sed 's/^/| /' conftest.$ac_ext >&5
57234
57235 glibcxx_mresult=0
57236 fi
57237 rm -f conftest.$ac_objext conftest.$ac_ext
57238
57239 cat >>confdefs.h <<_ACEOF
57240 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
57241 _ACEOF
57242
57243
57244
57245   cat >conftest.$ac_ext <<_ACEOF
57246 #line $LINENO "configure"
57247 /* confdefs.h.  */
57248 _ACEOF
57249 cat confdefs.h >>conftest.$ac_ext
57250 cat >>conftest.$ac_ext <<_ACEOF
57251 /* end confdefs.h.  */
57252 #include <unistd.h>
57253      #include <sys/time.h>
57254      #include <sys/resource.h>
57255
57256 int
57257 main ()
57258 {
57259  int f = RLIMIT_VMEM ;
57260   ;
57261   return 0;
57262 }
57263 _ACEOF
57264 rm -f conftest.$ac_objext
57265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57266   (eval $ac_compile) 2>&5
57267   ac_status=$?
57268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57269   (exit $ac_status); } &&
57270          { ac_try='test -s conftest.$ac_objext'
57271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57272   (eval $ac_try) 2>&5
57273   ac_status=$?
57274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57275   (exit $ac_status); }; }; then
57276   glibcxx_mresult=1
57277 else
57278   echo "$as_me: failed program was:" >&5
57279 sed 's/^/| /' conftest.$ac_ext >&5
57280
57281 glibcxx_mresult=0
57282 fi
57283 rm -f conftest.$ac_objext conftest.$ac_ext
57284
57285 cat >>confdefs.h <<_ACEOF
57286 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
57287 _ACEOF
57288
57289
57290
57291   cat >conftest.$ac_ext <<_ACEOF
57292 #line $LINENO "configure"
57293 /* confdefs.h.  */
57294 _ACEOF
57295 cat confdefs.h >>conftest.$ac_ext
57296 cat >>conftest.$ac_ext <<_ACEOF
57297 /* end confdefs.h.  */
57298 #include <unistd.h>
57299      #include <sys/time.h>
57300      #include <sys/resource.h>
57301
57302 int
57303 main ()
57304 {
57305  int f = RLIMIT_AS ;
57306   ;
57307   return 0;
57308 }
57309 _ACEOF
57310 rm -f conftest.$ac_objext
57311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57312   (eval $ac_compile) 2>&5
57313   ac_status=$?
57314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57315   (exit $ac_status); } &&
57316          { ac_try='test -s conftest.$ac_objext'
57317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57318   (eval $ac_try) 2>&5
57319   ac_status=$?
57320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57321   (exit $ac_status); }; }; then
57322   glibcxx_mresult=1
57323 else
57324   echo "$as_me: failed program was:" >&5
57325 sed 's/^/| /' conftest.$ac_ext >&5
57326
57327 glibcxx_mresult=0
57328 fi
57329 rm -f conftest.$ac_objext conftest.$ac_ext
57330
57331 cat >>confdefs.h <<_ACEOF
57332 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
57333 _ACEOF
57334
57335
57336
57337     # Check for rlimit, setrlimit.
57338     if test "${ac_setrlimit+set}" = set; then
57339   echo $ECHO_N "(cached) $ECHO_C" >&6
57340 else
57341
57342       cat >conftest.$ac_ext <<_ACEOF
57343 #line $LINENO "configure"
57344 /* confdefs.h.  */
57345 _ACEOF
57346 cat confdefs.h >>conftest.$ac_ext
57347 cat >>conftest.$ac_ext <<_ACEOF
57348 /* end confdefs.h.  */
57349 #include <unistd.h>
57350          #include <sys/time.h>
57351          #include <sys/resource.h>
57352
57353 int
57354 main ()
57355 {
57356 struct rlimit r;
57357          setrlimit(0, &r);
57358   ;
57359   return 0;
57360 }
57361 _ACEOF
57362 rm -f conftest.$ac_objext
57363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57364   (eval $ac_compile) 2>&5
57365   ac_status=$?
57366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57367   (exit $ac_status); } &&
57368          { ac_try='test -s conftest.$ac_objext'
57369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57370   (eval $ac_try) 2>&5
57371   ac_status=$?
57372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57373   (exit $ac_status); }; }; then
57374   ac_setrlimit=yes
57375 else
57376   echo "$as_me: failed program was:" >&5
57377 sed 's/^/| /' conftest.$ac_ext >&5
57378
57379 ac_setrlimit=no
57380 fi
57381 rm -f conftest.$ac_objext conftest.$ac_ext
57382
57383 fi
57384
57385   fi
57386
57387   echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
57388 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
57389   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
57390     ac_mem_limits=yes
57391     cat >>confdefs.h <<\_ACEOF
57392 #define _GLIBCXX_MEM_LIMITS 1
57393 _ACEOF
57394
57395   else
57396     ac_mem_limits=no
57397   fi
57398   echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
57399 echo "${ECHO_T}$ac_mem_limits" >&6
57400
57401
57402     # Look for setenv, so that extended locale tests can be performed.
57403
57404   echo "$as_me:$LINENO: checking for setenv declaration" >&5
57405 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
57406   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
57407     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
57408   echo $ECHO_N "(cached) $ECHO_C" >&6
57409 else
57410
57411
57412
57413       ac_ext=cc
57414 ac_cpp='$CXXCPP $CPPFLAGS'
57415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57418
57419       cat >conftest.$ac_ext <<_ACEOF
57420 #line $LINENO "configure"
57421 /* confdefs.h.  */
57422 _ACEOF
57423 cat confdefs.h >>conftest.$ac_ext
57424 cat >>conftest.$ac_ext <<_ACEOF
57425 /* end confdefs.h.  */
57426 #include <stdlib.h>
57427 int
57428 main ()
57429 {
57430  setenv(0, 0, 0);
57431   ;
57432   return 0;
57433 }
57434 _ACEOF
57435 rm -f conftest.$ac_objext
57436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57437   (eval $ac_compile) 2>&5
57438   ac_status=$?
57439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57440   (exit $ac_status); } &&
57441          { ac_try='test -s conftest.$ac_objext'
57442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57443   (eval $ac_try) 2>&5
57444   ac_status=$?
57445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57446   (exit $ac_status); }; }; then
57447   glibcxx_cv_func_setenv_use=yes
57448 else
57449   echo "$as_me: failed program was:" >&5
57450 sed 's/^/| /' conftest.$ac_ext >&5
57451
57452 glibcxx_cv_func_setenv_use=no
57453 fi
57454 rm -f conftest.$ac_objext conftest.$ac_ext
57455       ac_ext=c
57456 ac_cpp='$CPP $CPPFLAGS'
57457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57460
57461
57462 fi
57463
57464   fi
57465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
57466 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
57467   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
57468
57469 for ac_func in setenv
57470 do
57471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57472 echo "$as_me:$LINENO: checking for $ac_func" >&5
57473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57474 if eval "test \"\${$as_ac_var+set}\" = set"; then
57475   echo $ECHO_N "(cached) $ECHO_C" >&6
57476 else
57477   cat >conftest.$ac_ext <<_ACEOF
57478 #line $LINENO "configure"
57479 /* confdefs.h.  */
57480 _ACEOF
57481 cat confdefs.h >>conftest.$ac_ext
57482 cat >>conftest.$ac_ext <<_ACEOF
57483 /* end confdefs.h.  */
57484 /* System header to define __stub macros and hopefully few prototypes,
57485     which can conflict with char $ac_func (); below.
57486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57487     <limits.h> exists even on freestanding compilers.  */
57488 #ifdef __STDC__
57489 # include <limits.h>
57490 #else
57491 # include <assert.h>
57492 #endif
57493 /* Override any gcc2 internal prototype to avoid an error.  */
57494 #ifdef __cplusplus
57495 extern "C"
57496 {
57497 #endif
57498 /* We use char because int might match the return type of a gcc2
57499    builtin and then its argument prototype would still apply.  */
57500 char $ac_func ();
57501 /* The GNU C library defines this for functions which it implements
57502     to always fail with ENOSYS.  Some functions are actually named
57503     something starting with __ and the normal name is an alias.  */
57504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57505 choke me
57506 #else
57507 char (*f) () = $ac_func;
57508 #endif
57509 #ifdef __cplusplus
57510 }
57511 #endif
57512
57513 int
57514 main ()
57515 {
57516 return f != $ac_func;
57517   ;
57518   return 0;
57519 }
57520 _ACEOF
57521 rm -f conftest.$ac_objext conftest$ac_exeext
57522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57523   (eval $ac_link) 2>&5
57524   ac_status=$?
57525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57526   (exit $ac_status); } &&
57527          { ac_try='test -s conftest$ac_exeext'
57528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57529   (eval $ac_try) 2>&5
57530   ac_status=$?
57531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57532   (exit $ac_status); }; }; then
57533   eval "$as_ac_var=yes"
57534 else
57535   echo "$as_me: failed program was:" >&5
57536 sed 's/^/| /' conftest.$ac_ext >&5
57537
57538 eval "$as_ac_var=no"
57539 fi
57540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57541 fi
57542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57544 if test `eval echo '${'$as_ac_var'}'` = yes; then
57545   cat >>confdefs.h <<_ACEOF
57546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57547 _ACEOF
57548
57549 fi
57550 done
57551
57552   fi
57553
57554   fi
57555
57556   # Export file names for ABI checking.
57557   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
57558
57559
57560   # Determine if checking the ABI is desirable.
57561   if test $enable_symvers = no; then
57562     enable_abi_check=no
57563   else
57564     case "$host" in
57565       *-*-cygwin*)
57566         enable_abi_check=no ;;
57567       *)
57568         enable_abi_check=yes ;;
57569     esac
57570   fi
57571
57572
57573
57574 if test $enable_wchar_t = yes; then
57575   GLIBCXX_TEST_WCHAR_T_TRUE=
57576   GLIBCXX_TEST_WCHAR_T_FALSE='#'
57577 else
57578   GLIBCXX_TEST_WCHAR_T_TRUE='#'
57579   GLIBCXX_TEST_WCHAR_T_FALSE=
57580 fi
57581
57582
57583
57584 if test $enable_abi_check = yes; then
57585   GLIBCXX_TEST_ABI_TRUE=
57586   GLIBCXX_TEST_ABI_FALSE='#'
57587 else
57588   GLIBCXX_TEST_ABI_TRUE='#'
57589   GLIBCXX_TEST_ABI_FALSE=
57590 fi
57591
57592
57593
57594 # Propagate the target-specific source directories through the build chain.
57595 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
57596 # uses it, and it only gets used in this file.)
57597 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
57598 OS_INC_SRCDIR=config/${os_include_dir}
57599 FPOS_INC_SRCDIR=config/${fpos_include_dir}
57600
57601
57602
57603
57604 # Determine cross-compile flags and AM_CONDITIONALs.
57605 #AC_SUBST(GLIBCXX_IS_NATIVE)
57606 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
57607 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
57608 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
57609
57610 cat >confcache <<\_ACEOF
57611 # This file is a shell script that caches the results of configure
57612 # tests run on this system so they can be shared between configure
57613 # scripts and configure runs, see configure's option --config-cache.
57614 # It is not useful on other systems.  If it contains results you don't
57615 # want to keep, you may remove or edit it.
57616 #
57617 # config.status only pays attention to the cache file if you give it
57618 # the --recheck option to rerun configure.
57619 #
57620 # `ac_cv_env_foo' variables (set or unset) will be overridden when
57621 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57622 # following values.
57623
57624 _ACEOF
57625
57626 # The following way of writing the cache mishandles newlines in values,
57627 # but we know of no workaround that is simple, portable, and efficient.
57628 # So, don't put newlines in cache variables' values.
57629 # Ultrix sh set writes to stderr and can't be redirected directly,
57630 # and sets the high bit in the cache file unless we assign to the vars.
57631 {
57632   (set) 2>&1 |
57633     case `(ac_space=' '; set | grep ac_space) 2>&1` in
57634     *ac_space=\ *)
57635       # `set' does not quote correctly, so add quotes (double-quote
57636       # substitution turns \\\\ into \\, and sed turns \\ into \).
57637       sed -n \
57638         "s/'/'\\\\''/g;
57639           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57640       ;;
57641     *)
57642       # `set' quotes correctly as required by POSIX, so do not add quotes.
57643       sed -n \
57644         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
57645       ;;
57646     esac;
57647 } |
57648   sed '
57649      t clear
57650      : clear
57651      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57652      t end
57653      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57654      : end' >>confcache
57655 if diff $cache_file confcache >/dev/null 2>&1; then :; else
57656   if test -w $cache_file; then
57657     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
57658     cat confcache >$cache_file
57659   else
57660     echo "not updating unwritable cache $cache_file"
57661   fi
57662 fi
57663 rm -f confcache
57664
57665 if test ${multilib} = yes; then
57666   multilib_arg="--enable-multilib"
57667 else
57668   multilib_arg=
57669 fi
57670
57671 # Export all the install information.
57672
57673   glibcxx_toolexecdir=no
57674   glibcxx_toolexeclibdir=no
57675   glibcxx_prefixdir=$prefix
57676
57677   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
57678 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
57679
57680 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
57681 if test "${with_gxx_include_dir+set}" = set; then
57682   withval="$with_gxx_include_dir"
57683   case "$withval" in
57684       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
57685 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
57686    { (exit 1); exit 1; }; } ;;
57687       no)  gxx_include_dir=no ;;
57688       *)   gxx_include_dir=$withval ;;
57689      esac
57690 else
57691   gxx_include_dir=no
57692 fi;
57693   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
57694 echo "${ECHO_T}$gxx_include_dir" >&6
57695
57696   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
57697 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
57698   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
57699 if test "${enable_version_specific_runtime_libs+set}" = set; then
57700   enableval="$enable_version_specific_runtime_libs"
57701   case "$enableval" in
57702       yes) version_specific_libs=yes ;;
57703       no)  version_specific_libs=no ;;
57704       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
57705 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
57706    { (exit 1); exit 1; }; };;
57707      esac
57708 else
57709   version_specific_libs=no
57710 fi;
57711   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
57712 echo "${ECHO_T}$version_specific_libs" >&6
57713
57714   # Default case for install directory for include files.
57715   if test $version_specific_libs = no && test $gxx_include_dir = no; then
57716     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
57717   fi
57718
57719   # Version-specific runtime libs processing.
57720   if test $version_specific_libs = yes; then
57721     # Need the gcc compiler version to know where to install libraries
57722     # and header files if --enable-version-specific-runtime-libs option
57723     # is selected.
57724     if test x"$gxx_include_dir" = x"no"; then
57725       gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
57726     fi
57727     glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
57728     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
57729   fi
57730
57731   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
57732   # Install a library built with a cross compiler in tooldir, not libdir.
57733   if test x"$glibcxx_toolexecdir" = x"no"; then
57734     if test -n "$with_cross_host" &&
57735        test x"$with_cross_host" != x"no"; then
57736       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
57737       glibcxx_toolexeclibdir='${toolexecdir}/lib'
57738     else
57739       glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
57740       glibcxx_toolexeclibdir='${libdir}'
57741     fi
57742     multi_os_directory=`$CXX -print-multi-os-directory`
57743     case $multi_os_directory in
57744       .) ;; # Avoid trailing /.
57745       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
57746     esac
57747   fi
57748
57749   echo "$as_me:$LINENO: checking for install location" >&5
57750 echo $ECHO_N "checking for install location... $ECHO_C" >&6
57751   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
57752 echo "${ECHO_T}$gxx_include_dir" >&6
57753
57754
57755
57756
57757
57758
57759
57760 # Export all the include and flag information to Makefiles.
57761
57762   # Used for every C++ compile we perform.
57763   GLIBCXX_INCLUDES="\
57764 -I$glibcxx_builddir/include/$host_alias \
57765 -I$glibcxx_builddir/include \
57766 -I$glibcxx_srcdir/libsupc++"
57767
57768   # For Canadian crosses, pick this up too.
57769   if test $CANADIAN = yes; then
57770     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES '-I${includedir}'"
57771   fi
57772
57773   # Stuff in the actual top level.  Currently only used by libsupc++ to
57774   # get unwind* headers from the gcc dir.
57775   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
57776   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
57777
57778   # Now, export this to all the little Makefiles....
57779
57780
57781
57782
57783   # Optimization flags that are probably a good idea for thrill-seekers. Just
57784   # uncomment the lines below and make, everything else is ready to go...
57785   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
57786   OPTIMIZE_CXXFLAGS=
57787
57788
57789   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
57790
57791
57792
57793 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
57794    grep "enable shared" > /dev/null;
57795 then
57796   LIBSUPCXX_PICFLAGS=-prefer-pic
57797 else
57798   LIBSUPCXX_PICFLAGS=
57799 fi
57800
57801
57802                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile po/Makefile src/Makefile testsuite/Makefile"
57803
57804           ac_config_files="$ac_config_files scripts/check_survey"
57805
57806           ac_config_files="$ac_config_files scripts/testsuite_flags"
57807
57808
57809           ac_config_commands="$ac_config_commands default"
57810
57811
57812 cat >confcache <<\_ACEOF
57813 # This file is a shell script that caches the results of configure
57814 # tests run on this system so they can be shared between configure
57815 # scripts and configure runs, see configure's option --config-cache.
57816 # It is not useful on other systems.  If it contains results you don't
57817 # want to keep, you may remove or edit it.
57818 #
57819 # config.status only pays attention to the cache file if you give it
57820 # the --recheck option to rerun configure.
57821 #
57822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
57823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57824 # following values.
57825
57826 _ACEOF
57827
57828 # The following way of writing the cache mishandles newlines in values,
57829 # but we know of no workaround that is simple, portable, and efficient.
57830 # So, don't put newlines in cache variables' values.
57831 # Ultrix sh set writes to stderr and can't be redirected directly,
57832 # and sets the high bit in the cache file unless we assign to the vars.
57833 {
57834   (set) 2>&1 |
57835     case `(ac_space=' '; set | grep ac_space) 2>&1` in
57836     *ac_space=\ *)
57837       # `set' does not quote correctly, so add quotes (double-quote
57838       # substitution turns \\\\ into \\, and sed turns \\ into \).
57839       sed -n \
57840         "s/'/'\\\\''/g;
57841           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57842       ;;
57843     *)
57844       # `set' quotes correctly as required by POSIX, so do not add quotes.
57845       sed -n \
57846         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
57847       ;;
57848     esac;
57849 } |
57850   sed '
57851      t clear
57852      : clear
57853      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57854      t end
57855      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57856      : end' >>confcache
57857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
57858   if test -w $cache_file; then
57859     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
57860     cat confcache >$cache_file
57861   else
57862     echo "not updating unwritable cache $cache_file"
57863   fi
57864 fi
57865 rm -f confcache
57866
57867 test "x$prefix" = xNONE && prefix=$ac_default_prefix
57868 # Let make expand exec_prefix.
57869 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
57870
57871 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57872 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57873 # trailing colons and then remove the whole line if VPATH becomes empty
57874 # (actually we leave an empty line to preserve line numbers).
57875 if test "x$srcdir" = x.; then
57876   ac_vpsub='/^[         ]*VPATH[        ]*=/{
57877 s/:*\$(srcdir):*/:/;
57878 s/:*\${srcdir}:*/:/;
57879 s/:*@srcdir@:*/:/;
57880 s/^\([^=]*=[    ]*\):*/\1/;
57881 s/:*$//;
57882 s/^[^=]*=[      ]*$//;
57883 }'
57884 fi
57885
57886 DEFS=-DHAVE_CONFIG_H
57887
57888 ac_libobjs=
57889 ac_ltlibobjs=
57890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
57891   # 1. Remove the extension, and $U if already installed.
57892   ac_i=`echo "$ac_i" |
57893          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
57894   # 2. Add them.
57895   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
57896   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
57897 done
57898 LIBOBJS=$ac_libobjs
57899
57900 LTLIBOBJS=$ac_ltlibobjs
57901
57902
57903 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
57904   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
57905 Usually this means the macro was only invoked conditionally." >&5
57906 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
57907 Usually this means the macro was only invoked conditionally." >&2;}
57908    { (exit 1); exit 1; }; }
57909 fi
57910 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
57911   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
57912 Usually this means the macro was only invoked conditionally." >&5
57913 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
57914 Usually this means the macro was only invoked conditionally." >&2;}
57915    { (exit 1); exit 1; }; }
57916 fi
57917 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
57918   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
57919 Usually this means the macro was only invoked conditionally." >&5
57920 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
57921 Usually this means the macro was only invoked conditionally." >&2;}
57922    { (exit 1); exit 1; }; }
57923 fi
57924 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
57925   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
57926 Usually this means the macro was only invoked conditionally." >&5
57927 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
57928 Usually this means the macro was only invoked conditionally." >&2;}
57929    { (exit 1); exit 1; }; }
57930 fi
57931 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
57932   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
57933 Usually this means the macro was only invoked conditionally." >&5
57934 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
57935 Usually this means the macro was only invoked conditionally." >&2;}
57936    { (exit 1); exit 1; }; }
57937 fi
57938 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
57939   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
57940 Usually this means the macro was only invoked conditionally." >&5
57941 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
57942 Usually this means the macro was only invoked conditionally." >&2;}
57943    { (exit 1); exit 1; }; }
57944 fi
57945 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
57946   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
57947 Usually this means the macro was only invoked conditionally." >&5
57948 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
57949 Usually this means the macro was only invoked conditionally." >&2;}
57950    { (exit 1); exit 1; }; }
57951 fi
57952 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
57953   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
57954 Usually this means the macro was only invoked conditionally." >&5
57955 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
57956 Usually this means the macro was only invoked conditionally." >&2;}
57957    { (exit 1); exit 1; }; }
57958 fi
57959 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
57960   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
57961 Usually this means the macro was only invoked conditionally." >&5
57962 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
57963 Usually this means the macro was only invoked conditionally." >&2;}
57964    { (exit 1); exit 1; }; }
57965 fi
57966
57967 : ${CONFIG_STATUS=./config.status}
57968 ac_clean_files_save=$ac_clean_files
57969 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
57970 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
57971 echo "$as_me: creating $CONFIG_STATUS" >&6;}
57972 cat >$CONFIG_STATUS <<_ACEOF
57973 #! $SHELL
57974 # Generated by $as_me.
57975 # Run this file to recreate the current configuration.
57976 # Compiler output produced by configure, useful for debugging
57977 # configure, is in config.log if it exists.
57978
57979 debug=false
57980 ac_cs_recheck=false
57981 ac_cs_silent=false
57982 SHELL=\${CONFIG_SHELL-$SHELL}
57983 _ACEOF
57984
57985 cat >>$CONFIG_STATUS <<\_ACEOF
57986 ## --------------------- ##
57987 ## M4sh Initialization.  ##
57988 ## --------------------- ##
57989
57990 # Be Bourne compatible
57991 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
57992   emulate sh
57993   NULLCMD=:
57994   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
57995   # is contrary to our usage.  Disable this feature.
57996   alias -g '${1+"$@"}'='"$@"'
57997 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
57998   set -o posix
57999 fi
58000
58001 # Support unset when possible.
58002 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
58003   as_unset=unset
58004 else
58005   as_unset=false
58006 fi
58007
58008
58009 # Work around bugs in pre-3.0 UWIN ksh.
58010 $as_unset ENV MAIL MAILPATH
58011 PS1='$ '
58012 PS2='> '
58013 PS4='+ '
58014
58015 # NLS nuisances.
58016 for as_var in \
58017   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
58018   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
58019   LC_TELEPHONE LC_TIME
58020 do
58021   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
58022     eval $as_var=C; export $as_var
58023   else
58024     $as_unset $as_var
58025   fi
58026 done
58027
58028 # Required to use basename.
58029 if expr a : '\(a\)' >/dev/null 2>&1; then
58030   as_expr=expr
58031 else
58032   as_expr=false
58033 fi
58034
58035 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58036   as_basename=basename
58037 else
58038   as_basename=false
58039 fi
58040
58041
58042 # Name of the executable.
58043 as_me=`$as_basename "$0" ||
58044 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
58045          X"$0" : 'X\(//\)$' \| \
58046          X"$0" : 'X\(/\)$' \| \
58047          .     : '\(.\)' 2>/dev/null ||
58048 echo X/"$0" |
58049     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
58050           /^X\/\(\/\/\)$/{ s//\1/; q; }
58051           /^X\/\(\/\).*/{ s//\1/; q; }
58052           s/.*/./; q'`
58053
58054
58055 # PATH needs CR, and LINENO needs CR and PATH.
58056 # Avoid depending upon Character Ranges.
58057 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
58058 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58059 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
58060 as_cr_digits='0123456789'
58061 as_cr_alnum=$as_cr_Letters$as_cr_digits
58062
58063 # The user is always right.
58064 if test "${PATH_SEPARATOR+set}" != set; then
58065   echo "#! /bin/sh" >conf$$.sh
58066   echo  "exit 0"   >>conf$$.sh
58067   chmod +x conf$$.sh
58068   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
58069     PATH_SEPARATOR=';'
58070   else
58071     PATH_SEPARATOR=:
58072   fi
58073   rm -f conf$$.sh
58074 fi
58075
58076
58077   as_lineno_1=$LINENO
58078   as_lineno_2=$LINENO
58079   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
58080   test "x$as_lineno_1" != "x$as_lineno_2" &&
58081   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
58082   # Find who we are.  Look in the path if we contain no path at all
58083   # relative or not.
58084   case $0 in
58085     *[\\/]* ) as_myself=$0 ;;
58086     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58087 for as_dir in $PATH
58088 do
58089   IFS=$as_save_IFS
58090   test -z "$as_dir" && as_dir=.
58091   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
58092 done
58093
58094        ;;
58095   esac
58096   # We did not find ourselves, most probably we were run as `sh COMMAND'
58097   # in which case we are not to be found in the path.
58098   if test "x$as_myself" = x; then
58099     as_myself=$0
58100   fi
58101   if test ! -f "$as_myself"; then
58102     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
58103 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
58104    { (exit 1); exit 1; }; }
58105   fi
58106   case $CONFIG_SHELL in
58107   '')
58108     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58109 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
58110 do
58111   IFS=$as_save_IFS
58112   test -z "$as_dir" && as_dir=.
58113   for as_base in sh bash ksh sh5; do
58114          case $as_dir in
58115          /*)
58116            if ("$as_dir/$as_base" -c '
58117   as_lineno_1=$LINENO
58118   as_lineno_2=$LINENO
58119   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
58120   test "x$as_lineno_1" != "x$as_lineno_2" &&
58121   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
58122              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
58123              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
58124              CONFIG_SHELL=$as_dir/$as_base
58125              export CONFIG_SHELL
58126              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
58127            fi;;
58128          esac
58129        done
58130 done
58131 ;;
58132   esac
58133
58134   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
58135   # uniformly replaced by the line number.  The first 'sed' inserts a
58136   # line-number line before each line; the second 'sed' does the real
58137   # work.  The second script uses 'N' to pair each line-number line
58138   # with the numbered line, and appends trailing '-' during
58139   # substitution so that $LINENO is not a special case at line end.
58140   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
58141   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
58142   sed '=' <$as_myself |
58143     sed '
58144       N
58145       s,$,-,
58146       : loop
58147       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
58148       t loop
58149       s,-$,,
58150       s,^['$as_cr_digits']*\n,,
58151     ' >$as_me.lineno &&
58152   chmod +x $as_me.lineno ||
58153     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
58154 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
58155    { (exit 1); exit 1; }; }
58156
58157   # Don't try to exec as it changes $[0], causing all sort of problems
58158   # (the dirname of $[0] is not the place where we might find the
58159   # original and so on.  Autoconf is especially sensible to this).
58160   . ./$as_me.lineno
58161   # Exit status is that of the last command.
58162   exit
58163 }
58164
58165
58166 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
58167   *c*,-n*) ECHO_N= ECHO_C='
58168 ' ECHO_T='      ' ;;
58169   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
58170   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
58171 esac
58172
58173 if expr a : '\(a\)' >/dev/null 2>&1; then
58174   as_expr=expr
58175 else
58176   as_expr=false
58177 fi
58178
58179 rm -f conf$$ conf$$.exe conf$$.file
58180 echo >conf$$.file
58181 if ln -s conf$$.file conf$$ 2>/dev/null; then
58182   # We could just check for DJGPP; but this test a) works b) is more generic
58183   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
58184   if test -f conf$$.exe; then
58185     # Don't use ln at all; we don't have any links
58186     as_ln_s='cp -p'
58187   else
58188     as_ln_s='ln -s'
58189   fi
58190 elif ln conf$$.file conf$$ 2>/dev/null; then
58191   as_ln_s=ln
58192 else
58193   as_ln_s='cp -p'
58194 fi
58195 rm -f conf$$ conf$$.exe conf$$.file
58196
58197 if mkdir -p . 2>/dev/null; then
58198   as_mkdir_p=:
58199 else
58200   as_mkdir_p=false
58201 fi
58202
58203 as_executable_p="test -f"
58204
58205 # Sed expression to map a string onto a valid CPP name.
58206 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
58207
58208 # Sed expression to map a string onto a valid variable name.
58209 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
58210
58211
58212 # IFS
58213 # We need space, tab and new line, in precisely that order.
58214 as_nl='
58215 '
58216 IFS="   $as_nl"
58217
58218 # CDPATH.
58219 $as_unset CDPATH
58220
58221 exec 6>&1
58222
58223 # Open the log real soon, to keep \$[0] and so on meaningful, and to
58224 # report actual input values of CONFIG_FILES etc. instead of their
58225 # values after options handling.  Logging --version etc. is OK.
58226 exec 5>>config.log
58227 {
58228   echo
58229   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
58230 ## Running $as_me. ##
58231 _ASBOX
58232 } >&5
58233 cat >&5 <<_CSEOF
58234
58235 This file was extended by package-unused $as_me version-unused, which was
58236 generated by GNU Autoconf 2.57.  Invocation command line was
58237
58238   CONFIG_FILES    = $CONFIG_FILES
58239   CONFIG_HEADERS  = $CONFIG_HEADERS
58240   CONFIG_LINKS    = $CONFIG_LINKS
58241   CONFIG_COMMANDS = $CONFIG_COMMANDS
58242   $ $0 $@
58243
58244 _CSEOF
58245 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
58246 echo >&5
58247 _ACEOF
58248
58249 # Files that config.status was made for.
58250 if test -n "$ac_config_files"; then
58251   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
58252 fi
58253
58254 if test -n "$ac_config_headers"; then
58255   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
58256 fi
58257
58258 if test -n "$ac_config_links"; then
58259   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
58260 fi
58261
58262 if test -n "$ac_config_commands"; then
58263   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
58264 fi
58265
58266 cat >>$CONFIG_STATUS <<\_ACEOF
58267
58268 ac_cs_usage="\
58269 \`$as_me' instantiates files from templates according to the
58270 current configuration.
58271
58272 Usage: $0 [OPTIONS] [FILE]...
58273
58274   -h, --help       print this help, then exit
58275   -V, --version    print version number, then exit
58276   -q, --quiet      do not print progress messages
58277   -d, --debug      don't remove temporary files
58278       --recheck    update $as_me by reconfiguring in the same conditions
58279   --file=FILE[:TEMPLATE]
58280                    instantiate the configuration file FILE
58281   --header=FILE[:TEMPLATE]
58282                    instantiate the configuration header FILE
58283
58284 Configuration files:
58285 $config_files
58286
58287 Configuration headers:
58288 $config_headers
58289
58290 Configuration commands:
58291 $config_commands
58292
58293 Report bugs to <bug-autoconf@gnu.org>."
58294 _ACEOF
58295
58296 cat >>$CONFIG_STATUS <<_ACEOF
58297 ac_cs_version="\\
58298 package-unused config.status version-unused
58299 configured by $0, generated by GNU Autoconf 2.57,
58300   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
58301
58302 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
58303 Free Software Foundation, Inc.
58304 This config.status script is free software; the Free Software Foundation
58305 gives unlimited permission to copy, distribute and modify it."
58306 srcdir=$srcdir
58307 INSTALL="$INSTALL"
58308 _ACEOF
58309
58310 cat >>$CONFIG_STATUS <<\_ACEOF
58311 # If no file are specified by the user, then we need to provide default
58312 # value.  By we need to know if files were specified by the user.
58313 ac_need_defaults=:
58314 while test $# != 0
58315 do
58316   case $1 in
58317   --*=*)
58318     ac_option=`expr "x$1" : 'x\([^=]*\)='`
58319     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
58320     ac_shift=:
58321     ;;
58322   -*)
58323     ac_option=$1
58324     ac_optarg=$2
58325     ac_shift=shift
58326     ;;
58327   *) # This is not an option, so the user has probably given explicit
58328      # arguments.
58329      ac_option=$1
58330      ac_need_defaults=false;;
58331   esac
58332
58333   case $ac_option in
58334   # Handling of the options.
58335 _ACEOF
58336 cat >>$CONFIG_STATUS <<\_ACEOF
58337   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
58338     ac_cs_recheck=: ;;
58339   --version | --vers* | -V )
58340     echo "$ac_cs_version"; exit 0 ;;
58341   --he | --h)
58342     # Conflict between --help and --header
58343     { { echo "$as_me:$LINENO: error: ambiguous option: $1
58344 Try \`$0 --help' for more information." >&5
58345 echo "$as_me: error: ambiguous option: $1
58346 Try \`$0 --help' for more information." >&2;}
58347    { (exit 1); exit 1; }; };;
58348   --help | --hel | -h )
58349     echo "$ac_cs_usage"; exit 0 ;;
58350   --debug | --d* | -d )
58351     debug=: ;;
58352   --file | --fil | --fi | --f )
58353     $ac_shift
58354     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
58355     ac_need_defaults=false;;
58356   --header | --heade | --head | --hea )
58357     $ac_shift
58358     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
58359     ac_need_defaults=false;;
58360   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
58361   | -silent | --silent | --silen | --sile | --sil | --si | --s)
58362     ac_cs_silent=: ;;
58363
58364   # This is an error.
58365   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
58366 Try \`$0 --help' for more information." >&5
58367 echo "$as_me: error: unrecognized option: $1
58368 Try \`$0 --help' for more information." >&2;}
58369    { (exit 1); exit 1; }; } ;;
58370
58371   *) ac_config_targets="$ac_config_targets $1" ;;
58372
58373   esac
58374   shift
58375 done
58376
58377 ac_configure_extra_args=
58378
58379 if $ac_cs_silent; then
58380   exec 6>/dev/null
58381   ac_configure_extra_args="$ac_configure_extra_args --silent"
58382 fi
58383
58384 _ACEOF
58385 cat >>$CONFIG_STATUS <<_ACEOF
58386 if \$ac_cs_recheck; then
58387   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
58388   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
58389 fi
58390
58391 _ACEOF
58392
58393 cat >>$CONFIG_STATUS <<_ACEOF
58394 #
58395 # INIT-COMMANDS section.
58396 #
58397
58398
58399 srcdir="$srcdir"
58400 host="$host"
58401 target="$target"
58402 with_multisubdir="$with_multisubdir"
58403 with_multisrctop="$with_multisrctop"
58404 with_target_subdir="$with_target_subdir"
58405 ac_configure_args="${multilib_arg} ${ac_configure_args}"
58406 multi_basedir="$multi_basedir"
58407 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
58408 CC="$CC"
58409
58410 # No init-vars needed so far which aren't already passed by autoconf.
58411
58412
58413 _ACEOF
58414
58415
58416
58417 cat >>$CONFIG_STATUS <<\_ACEOF
58418 for ac_config_target in $ac_config_targets
58419 do
58420   case "$ac_config_target" in
58421   # Handling of arguments.
58422   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
58423   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
58424   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
58425   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
58426   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
58427   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
58428   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
58429   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
58430   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
58431   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
58432   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
58433   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
58434   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
58435 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
58436    { (exit 1); exit 1; }; };;
58437   esac
58438 done
58439
58440 # If the user did not use the arguments to specify the items to instantiate,
58441 # then the envvar interface is used.  Set only those that are not.
58442 # We use the long form for the default assignment because of an extremely
58443 # bizarre bug on SunOS 4.1.3.
58444 if $ac_need_defaults; then
58445   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
58446   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
58447   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
58448 fi
58449
58450 # Have a temporary directory for convenience.  Make it in the build tree
58451 # simply because there is no reason to put it here, and in addition,
58452 # creating and moving files from /tmp can sometimes cause problems.
58453 # Create a temporary directory, and hook for its removal unless debugging.
58454 $debug ||
58455 {
58456   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
58457   trap '{ (exit 1); exit 1; }' 1 2 13 15
58458 }
58459
58460 # Create a (secure) tmp directory for tmp files.
58461
58462 {
58463   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
58464   test -n "$tmp" && test -d "$tmp"
58465 }  ||
58466 {
58467   tmp=./confstat$$-$RANDOM
58468   (umask 077 && mkdir $tmp)
58469 } ||
58470 {
58471    echo "$me: cannot create a temporary directory in ." >&2
58472    { (exit 1); exit 1; }
58473 }
58474
58475 _ACEOF
58476
58477 cat >>$CONFIG_STATUS <<_ACEOF
58478
58479 #
58480 # CONFIG_FILES section.
58481 #
58482
58483 # No need to generate the scripts if there are no CONFIG_FILES.
58484 # This happens for instance when ./config.status config.h
58485 if test -n "\$CONFIG_FILES"; then
58486   # Protect against being on the right side of a sed subst in config.status.
58487   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
58488    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
58489 s,@SHELL@,$SHELL,;t t
58490 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
58491 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
58492 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
58493 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
58494 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
58495 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
58496 s,@exec_prefix@,$exec_prefix,;t t
58497 s,@prefix@,$prefix,;t t
58498 s,@program_transform_name@,$program_transform_name,;t t
58499 s,@bindir@,$bindir,;t t
58500 s,@sbindir@,$sbindir,;t t
58501 s,@libexecdir@,$libexecdir,;t t
58502 s,@datadir@,$datadir,;t t
58503 s,@sysconfdir@,$sysconfdir,;t t
58504 s,@sharedstatedir@,$sharedstatedir,;t t
58505 s,@localstatedir@,$localstatedir,;t t
58506 s,@libdir@,$libdir,;t t
58507 s,@includedir@,$includedir,;t t
58508 s,@oldincludedir@,$oldincludedir,;t t
58509 s,@infodir@,$infodir,;t t
58510 s,@mandir@,$mandir,;t t
58511 s,@build_alias@,$build_alias,;t t
58512 s,@host_alias@,$host_alias,;t t
58513 s,@target_alias@,$target_alias,;t t
58514 s,@DEFS@,$DEFS,;t t
58515 s,@ECHO_C@,$ECHO_C,;t t
58516 s,@ECHO_N@,$ECHO_N,;t t
58517 s,@ECHO_T@,$ECHO_T,;t t
58518 s,@LIBS@,$LIBS,;t t
58519 s,@libtool_VERSION@,$libtool_VERSION,;t t
58520 s,@multi_basedir@,$multi_basedir,;t t
58521 s,@build@,$build,;t t
58522 s,@build_cpu@,$build_cpu,;t t
58523 s,@build_vendor@,$build_vendor,;t t
58524 s,@build_os@,$build_os,;t t
58525 s,@host@,$host,;t t
58526 s,@host_cpu@,$host_cpu,;t t
58527 s,@host_vendor@,$host_vendor,;t t
58528 s,@host_os@,$host_os,;t t
58529 s,@target@,$target,;t t
58530 s,@target_cpu@,$target_cpu,;t t
58531 s,@target_vendor@,$target_vendor,;t t
58532 s,@target_os@,$target_os,;t t
58533 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
58534 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
58535 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
58536 s,@CYGPATH_W@,$CYGPATH_W,;t t
58537 s,@PACKAGE@,$PACKAGE,;t t
58538 s,@VERSION@,$VERSION,;t t
58539 s,@ACLOCAL@,$ACLOCAL,;t t
58540 s,@AUTOCONF@,$AUTOCONF,;t t
58541 s,@AUTOMAKE@,$AUTOMAKE,;t t
58542 s,@AUTOHEADER@,$AUTOHEADER,;t t
58543 s,@MAKEINFO@,$MAKEINFO,;t t
58544 s,@AMTAR@,$AMTAR,;t t
58545 s,@install_sh@,$install_sh,;t t
58546 s,@STRIP@,$STRIP,;t t
58547 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
58548 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
58549 s,@AWK@,$AWK,;t t
58550 s,@SET_MAKE@,$SET_MAKE,;t t
58551 s,@am__leading_dot@,$am__leading_dot,;t t
58552 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
58553 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
58554 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
58555 s,@CC@,$CC,;t t
58556 s,@ac_ct_CC@,$ac_ct_CC,;t t
58557 s,@EXEEXT@,$EXEEXT,;t t
58558 s,@OBJEXT@,$OBJEXT,;t t
58559 s,@CXX@,$CXX,;t t
58560 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
58561 s,@CFLAGS@,$CFLAGS,;t t
58562 s,@CXXFLAGS@,$CXXFLAGS,;t t
58563 s,@LN_S@,$LN_S,;t t
58564 s,@AS@,$AS,;t t
58565 s,@ac_ct_AS@,$ac_ct_AS,;t t
58566 s,@AR@,$AR,;t t
58567 s,@ac_ct_AR@,$ac_ct_AR,;t t
58568 s,@RANLIB@,$RANLIB,;t t
58569 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
58570 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
58571 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
58572 s,@MAINT@,$MAINT,;t t
58573 s,@LIBTOOL@,$LIBTOOL,;t t
58574 s,@CXXCPP@,$CXXCPP,;t t
58575 s,@CPPFLAGS@,$CPPFLAGS,;t t
58576 s,@enable_shared@,$enable_shared,;t t
58577 s,@enable_static@,$enable_static,;t t
58578 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
58579 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
58580 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
58581 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
58582 s,@CSTDIO_H@,$CSTDIO_H,;t t
58583 s,@FPOS_H@,$FPOS_H,;t t
58584 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
58585 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
58586 s,@CPP@,$CPP,;t t
58587 s,@EGREP@,$EGREP,;t t
58588 s,@check_msgfmt@,$check_msgfmt,;t t
58589 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
58590 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
58591 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
58592 s,@USE_NLS@,$USE_NLS,;t t
58593 s,@CLOCALE_H@,$CLOCALE_H,;t t
58594 s,@CCODECVT_H@,$CCODECVT_H,;t t
58595 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
58596 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
58597 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
58598 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
58599 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
58600 s,@CMONEY_CC@,$CMONEY_CC,;t t
58601 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
58602 s,@CTIME_H@,$CTIME_H,;t t
58603 s,@CTIME_CC@,$CTIME_CC,;t t
58604 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
58605 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
58606 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
58607 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
58608 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
58609 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
58610 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
58611 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
58612 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
58613 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
58614 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
58615 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
58616 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
58617 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
58618 s,@WERROR@,$WERROR,;t t
58619 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
58620 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
58621 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
58622 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
58623 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
58624 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
58625 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
58626 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
58627 s,@baseline_dir@,$baseline_dir,;t t
58628 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
58629 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
58630 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
58631 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
58632 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
58633 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
58634 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
58635 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
58636 s,@gxx_include_dir@,$gxx_include_dir,;t t
58637 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
58638 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
58639 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
58640 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
58641 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
58642 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
58643 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
58644 s,@LIBOBJS@,$LIBOBJS,;t t
58645 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
58646 CEOF
58647
58648 _ACEOF
58649
58650   cat >>$CONFIG_STATUS <<\_ACEOF
58651   # Split the substitutions into bite-sized pieces for seds with
58652   # small command number limits, like on Digital OSF/1 and HP-UX.
58653   ac_max_sed_lines=48
58654   ac_sed_frag=1 # Number of current file.
58655   ac_beg=1 # First line for current file.
58656   ac_end=$ac_max_sed_lines # Line after last line for current file.
58657   ac_more_lines=:
58658   ac_sed_cmds=
58659   while $ac_more_lines; do
58660     if test $ac_beg -gt 1; then
58661       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
58662     else
58663       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
58664     fi
58665     if test ! -s $tmp/subs.frag; then
58666       ac_more_lines=false
58667     else
58668       # The purpose of the label and of the branching condition is to
58669       # speed up the sed processing (if there are no `@' at all, there
58670       # is no need to browse any of the substitutions).
58671       # These are the two extra sed commands mentioned above.
58672       (echo ':t
58673   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
58674       if test -z "$ac_sed_cmds"; then
58675         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
58676       else
58677         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
58678       fi
58679       ac_sed_frag=`expr $ac_sed_frag + 1`
58680       ac_beg=$ac_end
58681       ac_end=`expr $ac_end + $ac_max_sed_lines`
58682     fi
58683   done
58684   if test -z "$ac_sed_cmds"; then
58685     ac_sed_cmds=cat
58686   fi
58687 fi # test -n "$CONFIG_FILES"
58688
58689 _ACEOF
58690 cat >>$CONFIG_STATUS <<\_ACEOF
58691 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
58692   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
58693   case $ac_file in
58694   - | *:- | *:-:* ) # input from stdin
58695         cat >$tmp/stdin
58696         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58697         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58698   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58699         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58700   * )   ac_file_in=$ac_file.in ;;
58701   esac
58702
58703   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
58704   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
58705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58706          X"$ac_file" : 'X\(//\)[^/]' \| \
58707          X"$ac_file" : 'X\(//\)$' \| \
58708          X"$ac_file" : 'X\(/\)' \| \
58709          .     : '\(.\)' 2>/dev/null ||
58710 echo X"$ac_file" |
58711     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
58712           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
58713           /^X\(\/\/\)$/{ s//\1/; q; }
58714           /^X\(\/\).*/{ s//\1/; q; }
58715           s/.*/./; q'`
58716   { if $as_mkdir_p; then
58717     mkdir -p "$ac_dir"
58718   else
58719     as_dir="$ac_dir"
58720     as_dirs=
58721     while test ! -d "$as_dir"; do
58722       as_dirs="$as_dir $as_dirs"
58723       as_dir=`(dirname "$as_dir") 2>/dev/null ||
58724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58725          X"$as_dir" : 'X\(//\)[^/]' \| \
58726          X"$as_dir" : 'X\(//\)$' \| \
58727          X"$as_dir" : 'X\(/\)' \| \
58728          .     : '\(.\)' 2>/dev/null ||
58729 echo X"$as_dir" |
58730     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
58731           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
58732           /^X\(\/\/\)$/{ s//\1/; q; }
58733           /^X\(\/\).*/{ s//\1/; q; }
58734           s/.*/./; q'`
58735     done
58736     test ! -n "$as_dirs" || mkdir $as_dirs
58737   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
58738 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
58739    { (exit 1); exit 1; }; }; }
58740
58741   ac_builddir=.
58742
58743 if test "$ac_dir" != .; then
58744   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
58745   # A "../" for each directory in $ac_dir_suffix.
58746   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
58747 else
58748   ac_dir_suffix= ac_top_builddir=
58749 fi
58750
58751 case $srcdir in
58752   .)  # No --srcdir option.  We are building in place.
58753     ac_srcdir=.
58754     if test -z "$ac_top_builddir"; then
58755        ac_top_srcdir=.
58756     else
58757        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
58758     fi ;;
58759   [\\/]* | ?:[\\/]* )  # Absolute path.
58760     ac_srcdir=$srcdir$ac_dir_suffix;
58761     ac_top_srcdir=$srcdir ;;
58762   *) # Relative path.
58763     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
58764     ac_top_srcdir=$ac_top_builddir$srcdir ;;
58765 esac
58766 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
58767 # absolute.
58768 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
58769 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
58770 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
58771 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
58772
58773
58774   case $INSTALL in
58775   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
58776   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
58777   esac
58778
58779   if test x"$ac_file" != x-; then
58780     { echo "$as_me:$LINENO: creating $ac_file" >&5
58781 echo "$as_me: creating $ac_file" >&6;}
58782     rm -f "$ac_file"
58783   fi
58784   # Let's still pretend it is `configure' which instantiates (i.e., don't
58785   # use $as_me), people would be surprised to read:
58786   #    /* config.h.  Generated by config.status.  */
58787   if test x"$ac_file" = x-; then
58788     configure_input=
58789   else
58790     configure_input="$ac_file.  "
58791   fi
58792   configure_input=$configure_input"Generated from `echo $ac_file_in |
58793                                      sed 's,.*/,,'` by configure."
58794
58795   # First look for the input files in the build tree, otherwise in the
58796   # src tree.
58797   ac_file_inputs=`IFS=:
58798     for f in $ac_file_in; do
58799       case $f in
58800       -) echo $tmp/stdin ;;
58801       [\\/$]*)
58802          # Absolute (can't be DOS-style, as IFS=:)
58803          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58804 echo "$as_me: error: cannot find input file: $f" >&2;}
58805    { (exit 1); exit 1; }; }
58806          echo $f;;
58807       *) # Relative
58808          if test -f "$f"; then
58809            # Build tree
58810            echo $f
58811          elif test -f "$srcdir/$f"; then
58812            # Source tree
58813            echo $srcdir/$f
58814          else
58815            # /dev/null tree
58816            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58817 echo "$as_me: error: cannot find input file: $f" >&2;}
58818    { (exit 1); exit 1; }; }
58819          fi;;
58820       esac
58821     done` || { (exit 1); exit 1; }
58822 _ACEOF
58823 cat >>$CONFIG_STATUS <<_ACEOF
58824   sed "$ac_vpsub
58825 $extrasub
58826 _ACEOF
58827 cat >>$CONFIG_STATUS <<\_ACEOF
58828 :t
58829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58830 s,@configure_input@,$configure_input,;t t
58831 s,@srcdir@,$ac_srcdir,;t t
58832 s,@abs_srcdir@,$ac_abs_srcdir,;t t
58833 s,@top_srcdir@,$ac_top_srcdir,;t t
58834 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
58835 s,@builddir@,$ac_builddir,;t t
58836 s,@abs_builddir@,$ac_abs_builddir,;t t
58837 s,@top_builddir@,$ac_top_builddir,;t t
58838 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
58839 s,@INSTALL@,$ac_INSTALL,;t t
58840 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
58841   rm -f $tmp/stdin
58842   if test x"$ac_file" != x-; then
58843     mv $tmp/out $ac_file
58844   else
58845     cat $tmp/out
58846     rm -f $tmp/out
58847   fi
58848
58849   # Run the commands associated with the file.
58850   case $ac_file in
58851     scripts/check_survey ) chmod +x scripts/check_survey ;;
58852     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
58853   esac
58854 done
58855 _ACEOF
58856 cat >>$CONFIG_STATUS <<\_ACEOF
58857
58858 #
58859 # CONFIG_HEADER section.
58860 #
58861
58862 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
58863 # NAME is the cpp macro being defined and VALUE is the value it is being given.
58864 #
58865 # ac_d sets the value in "#define NAME VALUE" lines.
58866 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
58867 ac_dB='[        ].*$,\1#\2'
58868 ac_dC=' '
58869 ac_dD=',;t'
58870 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
58871 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
58872 ac_uB='$,\1#\2define\3'
58873 ac_uC=' '
58874 ac_uD=',;t'
58875
58876 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
58877   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
58878   case $ac_file in
58879   - | *:- | *:-:* ) # input from stdin
58880         cat >$tmp/stdin
58881         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58882         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58883   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58884         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58885   * )   ac_file_in=$ac_file.in ;;
58886   esac
58887
58888   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
58889 echo "$as_me: creating $ac_file" >&6;}
58890
58891   # First look for the input files in the build tree, otherwise in the
58892   # src tree.
58893   ac_file_inputs=`IFS=:
58894     for f in $ac_file_in; do
58895       case $f in
58896       -) echo $tmp/stdin ;;
58897       [\\/$]*)
58898          # Absolute (can't be DOS-style, as IFS=:)
58899          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58900 echo "$as_me: error: cannot find input file: $f" >&2;}
58901    { (exit 1); exit 1; }; }
58902          echo $f;;
58903       *) # Relative
58904          if test -f "$f"; then
58905            # Build tree
58906            echo $f
58907          elif test -f "$srcdir/$f"; then
58908            # Source tree
58909            echo $srcdir/$f
58910          else
58911            # /dev/null tree
58912            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58913 echo "$as_me: error: cannot find input file: $f" >&2;}
58914    { (exit 1); exit 1; }; }
58915          fi;;
58916       esac
58917     done` || { (exit 1); exit 1; }
58918   # Remove the trailing spaces.
58919   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
58920
58921 _ACEOF
58922
58923 # Transform confdefs.h into two sed scripts, `conftest.defines' and
58924 # `conftest.undefs', that substitutes the proper values into
58925 # config.h.in to produce config.h.  The first handles `#define'
58926 # templates, and the second `#undef' templates.
58927 # And first: Protect against being on the right side of a sed subst in
58928 # config.status.  Protect against being in an unquoted here document
58929 # in config.status.
58930 rm -f conftest.defines conftest.undefs
58931 # Using a here document instead of a string reduces the quoting nightmare.
58932 # Putting comments in sed scripts is not portable.
58933 #
58934 # `end' is used to avoid that the second main sed command (meant for
58935 # 0-ary CPP macros) applies to n-ary macro definitions.
58936 # See the Autoconf documentation for `clear'.
58937 cat >confdef2sed.sed <<\_ACEOF
58938 s/[\\&,]/\\&/g
58939 s,[\\$`],\\&,g
58940 t clear
58941 : clear
58942 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
58943 t end
58944 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
58945 : end
58946 _ACEOF
58947 # If some macros were called several times there might be several times
58948 # the same #defines, which is useless.  Nevertheless, we may not want to
58949 # sort them, since we want the *last* AC-DEFINE to be honored.
58950 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
58951 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
58952 rm -f confdef2sed.sed
58953
58954 # This sed command replaces #undef with comments.  This is necessary, for
58955 # example, in the case of _POSIX_SOURCE, which is predefined and required
58956 # on some systems where configure will not decide to define it.
58957 cat >>conftest.undefs <<\_ACEOF
58958 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
58959 _ACEOF
58960
58961 # Break up conftest.defines because some shells have a limit on the size
58962 # of here documents, and old seds have small limits too (100 cmds).
58963 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
58964 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
58965 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
58966 echo '  :' >>$CONFIG_STATUS
58967 rm -f conftest.tail
58968 while grep . conftest.defines >/dev/null
58969 do
58970   # Write a limited-size here document to $tmp/defines.sed.
58971   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
58972   # Speed up: don't consider the non `#define' lines.
58973   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
58974   # Work around the forget-to-reset-the-flag bug.
58975   echo 't clr' >>$CONFIG_STATUS
58976   echo ': clr' >>$CONFIG_STATUS
58977   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
58978   echo 'CEOF
58979   sed -f $tmp/defines.sed $tmp/in >$tmp/out
58980   rm -f $tmp/in
58981   mv $tmp/out $tmp/in
58982 ' >>$CONFIG_STATUS
58983   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
58984   rm -f conftest.defines
58985   mv conftest.tail conftest.defines
58986 done
58987 rm -f conftest.defines
58988 echo '  fi # grep' >>$CONFIG_STATUS
58989 echo >>$CONFIG_STATUS
58990
58991 # Break up conftest.undefs because some shells have a limit on the size
58992 # of here documents, and old seds have small limits too (100 cmds).
58993 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
58994 rm -f conftest.tail
58995 while grep . conftest.undefs >/dev/null
58996 do
58997   # Write a limited-size here document to $tmp/undefs.sed.
58998   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
58999   # Speed up: don't consider the non `#undef'
59000   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
59001   # Work around the forget-to-reset-the-flag bug.
59002   echo 't clr' >>$CONFIG_STATUS
59003   echo ': clr' >>$CONFIG_STATUS
59004   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
59005   echo 'CEOF
59006   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
59007   rm -f $tmp/in
59008   mv $tmp/out $tmp/in
59009 ' >>$CONFIG_STATUS
59010   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
59011   rm -f conftest.undefs
59012   mv conftest.tail conftest.undefs
59013 done
59014 rm -f conftest.undefs
59015
59016 cat >>$CONFIG_STATUS <<\_ACEOF
59017   # Let's still pretend it is `configure' which instantiates (i.e., don't
59018   # use $as_me), people would be surprised to read:
59019   #    /* config.h.  Generated by config.status.  */
59020   if test x"$ac_file" = x-; then
59021     echo "/* Generated by configure.  */" >$tmp/config.h
59022   else
59023     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
59024   fi
59025   cat $tmp/in >>$tmp/config.h
59026   rm -f $tmp/in
59027   if test x"$ac_file" != x-; then
59028     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
59029       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
59030 echo "$as_me: $ac_file is unchanged" >&6;}
59031     else
59032       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
59033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59034          X"$ac_file" : 'X\(//\)[^/]' \| \
59035          X"$ac_file" : 'X\(//\)$' \| \
59036          X"$ac_file" : 'X\(/\)' \| \
59037          .     : '\(.\)' 2>/dev/null ||
59038 echo X"$ac_file" |
59039     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59040           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59041           /^X\(\/\/\)$/{ s//\1/; q; }
59042           /^X\(\/\).*/{ s//\1/; q; }
59043           s/.*/./; q'`
59044       { if $as_mkdir_p; then
59045     mkdir -p "$ac_dir"
59046   else
59047     as_dir="$ac_dir"
59048     as_dirs=
59049     while test ! -d "$as_dir"; do
59050       as_dirs="$as_dir $as_dirs"
59051       as_dir=`(dirname "$as_dir") 2>/dev/null ||
59052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59053          X"$as_dir" : 'X\(//\)[^/]' \| \
59054          X"$as_dir" : 'X\(//\)$' \| \
59055          X"$as_dir" : 'X\(/\)' \| \
59056          .     : '\(.\)' 2>/dev/null ||
59057 echo X"$as_dir" |
59058     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59059           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59060           /^X\(\/\/\)$/{ s//\1/; q; }
59061           /^X\(\/\).*/{ s//\1/; q; }
59062           s/.*/./; q'`
59063     done
59064     test ! -n "$as_dirs" || mkdir $as_dirs
59065   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
59066 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
59067    { (exit 1); exit 1; }; }; }
59068
59069       rm -f $ac_file
59070       mv $tmp/config.h $ac_file
59071     fi
59072   else
59073     cat $tmp/config.h
59074     rm -f $tmp/config.h
59075   fi
59076 # Compute $ac_file's index in $config_headers.
59077 _am_stamp_count=1
59078 for _am_header in $config_headers :; do
59079   case $_am_header in
59080     $ac_file | $ac_file:* )
59081       break ;;
59082     * )
59083       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
59084   esac
59085 done
59086 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
59087 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59088          X$ac_file : 'X\(//\)[^/]' \| \
59089          X$ac_file : 'X\(//\)$' \| \
59090          X$ac_file : 'X\(/\)' \| \
59091          .     : '\(.\)' 2>/dev/null ||
59092 echo X$ac_file |
59093     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59094           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59095           /^X\(\/\/\)$/{ s//\1/; q; }
59096           /^X\(\/\).*/{ s//\1/; q; }
59097           s/.*/./; q'`/stamp-h$_am_stamp_count
59098 done
59099 _ACEOF
59100 cat >>$CONFIG_STATUS <<\_ACEOF
59101
59102 #
59103 # CONFIG_COMMANDS section.
59104 #
59105 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
59106   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
59107   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
59108   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
59109 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59110          X"$ac_dest" : 'X\(//\)[^/]' \| \
59111          X"$ac_dest" : 'X\(//\)$' \| \
59112          X"$ac_dest" : 'X\(/\)' \| \
59113          .     : '\(.\)' 2>/dev/null ||
59114 echo X"$ac_dest" |
59115     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59116           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59117           /^X\(\/\/\)$/{ s//\1/; q; }
59118           /^X\(\/\).*/{ s//\1/; q; }
59119           s/.*/./; q'`
59120   ac_builddir=.
59121
59122 if test "$ac_dir" != .; then
59123   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
59124   # A "../" for each directory in $ac_dir_suffix.
59125   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
59126 else
59127   ac_dir_suffix= ac_top_builddir=
59128 fi
59129
59130 case $srcdir in
59131   .)  # No --srcdir option.  We are building in place.
59132     ac_srcdir=.
59133     if test -z "$ac_top_builddir"; then
59134        ac_top_srcdir=.
59135     else
59136        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
59137     fi ;;
59138   [\\/]* | ?:[\\/]* )  # Absolute path.
59139     ac_srcdir=$srcdir$ac_dir_suffix;
59140     ac_top_srcdir=$srcdir ;;
59141   *) # Relative path.
59142     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
59143     ac_top_srcdir=$ac_top_builddir$srcdir ;;
59144 esac
59145 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
59146 # absolute.
59147 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
59148 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
59149 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
59150 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
59151
59152
59153   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
59154 echo "$as_me: executing $ac_dest commands" >&6;}
59155   case $ac_dest in
59156     default-1 )
59157 # Only add multilib support code if we just rebuilt the top-level
59158 # Makefile.
59159 case " $CONFIG_FILES " in
59160  *" Makefile "*)
59161    ac_file=Makefile . ${multi_basedir}/config-ml.in
59162    ;;
59163 esac ;;
59164     default ) if test -n "$CONFIG_FILES"; then
59165    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59166    # that multilib installs will end up installed in the correct place.
59167    # The testsuite needs it for multilib-aware ABI baseline files.
59168    # To work around this not being passed down from config-ml.in ->
59169    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59170    # append it here.  Only modify Makefiles that have just been created.
59171    #
59172    # Also, get rid of this simulated-VPATH thing that automake does.
59173    cat > vpsed << \_EOF
59174 s!`test -f '$<' || echo '$(srcdir)/'`!!
59175 _EOF
59176    for i in libmath libsupc++ src testsuite; do
59177     case $CONFIG_FILES in
59178      *${i}/Makefile*)
59179        #echo "Adding MULTISUBDIR to $i/Makefile"
59180        sed -f vpsed $i/Makefile > tmp
59181        grep '^MULTISUBDIR =' Makefile >> tmp
59182        mv tmp $i/Makefile
59183        ;;
59184     esac
59185    done
59186    rm vpsed
59187  fi
59188  (cd include && ${MAKE-make})
59189  ;;
59190   esac
59191 done
59192 _ACEOF
59193
59194 cat >>$CONFIG_STATUS <<\_ACEOF
59195
59196 { (exit 0); exit 0; }
59197 _ACEOF
59198 chmod +x $CONFIG_STATUS
59199 ac_clean_files=$ac_clean_files_save
59200
59201
59202 # configure is writing to config.log, and then calls config.status.
59203 # config.status does its own redirection, appending to config.log.
59204 # Unfortunately, on DOS this fails, as config.log is still kept open
59205 # by configure, so config.status won't be able to write to it; its
59206 # output is simply discarded.  So we exec the FD to /dev/null,
59207 # effectively closing config.log, so it can be properly (re)opened and
59208 # appended to by config.status.  When coming back to configure, we
59209 # need to make the FD available again.
59210 if test "$no_create" != yes; then
59211   ac_cs_success=:
59212   ac_config_status_args=
59213   test "$silent" = yes &&
59214     ac_config_status_args="$ac_config_status_args --quiet"
59215   exec 5>/dev/null
59216   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
59217   exec 5>>config.log
59218   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
59219   # would make configure fail if this is the last instruction.
59220   $ac_cs_success || { (exit 1); exit 1; }
59221 fi
59222