acinclude.m4 (GLIBCXX_CONDITIONAL): New macro.
[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 GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE 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   --disable-hosted-libstdcxx
854                           only build freestanding C++ runtime support
855   --enable-sjlj-exceptions
856                           force use of builtin_setjmp for exceptions
857                           [default=auto]
858   --enable-libunwind-exceptions
859                           force use of libunwind for exceptions
860                           [default=no]
861   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
862                           [default=$is_hosted]
863   --enable-cstdio=PACKAGE use target-specific I/O package
864                           [default=stdio]
865   --enable-clocale[=MODEL]
866                           use MODEL for target locale package
867                           [default=auto]
868   --enable-nls            use Native Language Support (default)
869   --enable-cheaders=KIND  construct "C" headers for g++
870                           [default=$c_model]
871   --enable-c-mbchar       enable multibyte (wide) characters
872                           [default=yes]
873   --enable-c99            turns on ISO/IEC 9899:1999 support
874                           [default=yes]
875   --enable-long-long      enables I/O support for 'long long'
876                           [default=yes]
877   --enable-concept-checks use Boost-derived template checks [default=no]
878   --enable-libstdcxx-debug-flags=FLAGS
879                           pass compiler FLAGS when building debug library
880                           [default="-g3 -O0"]
881   --enable-libstdcxx-debug
882                           build extra debug library [default=no]
883   --enable-cxx-flags=FLAGS
884                           pass compiler FLAGS when building library
885                           [default=]
886   --enable-symvers=STYLE  enables symbol versioning of the shared library
887                           [default=yes]
888   --enable-version-specific-runtime-libs
889                           Specify that runtime libraries should be installed
890                           in a compiler-specific directory
891
892 Optional Packages:
893   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
894   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
895   --with-target-subdir=SUBDIR
896                           configuring in a subdirectory
897   --with-cross-host=HOST  configuring with a cross compiler
898   --with-newlib           assume newlib as a system C library
899   --with-gnu-ld           assume the C compiler uses GNU ld default=no
900   --with-pic              try to use only PIC/non-PIC objects default=use both
901   --with-gxx-include-dir=DIR
902                           installation directory for include files
903
904 Some influential environment variables:
905   CC          C compiler command
906   CFLAGS      C compiler flags
907   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
908               nonstandard directory <lib dir>
909   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
910               headers in a nonstandard directory <include dir>
911   CXX         C++ compiler command
912   CXXFLAGS    C++ compiler flags
913   CXXCPP      C++ preprocessor
914   CPP         C preprocessor
915
916 Use these variables to override the choices made by `configure' or to help
917 it to find libraries and programs with nonstandard names/locations.
918
919 _ACEOF
920 fi
921
922 if test "$ac_init_help" = "recursive"; then
923   # If there are subdirs, report their specific --help.
924   ac_popdir=`pwd`
925   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926     test -d $ac_dir || continue
927     ac_builddir=.
928
929 if test "$ac_dir" != .; then
930   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931   # A "../" for each directory in $ac_dir_suffix.
932   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 else
934   ac_dir_suffix= ac_top_builddir=
935 fi
936
937 case $srcdir in
938   .)  # No --srcdir option.  We are building in place.
939     ac_srcdir=.
940     if test -z "$ac_top_builddir"; then
941        ac_top_srcdir=.
942     else
943        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
944     fi ;;
945   [\\/]* | ?:[\\/]* )  # Absolute path.
946     ac_srcdir=$srcdir$ac_dir_suffix;
947     ac_top_srcdir=$srcdir ;;
948   *) # Relative path.
949     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950     ac_top_srcdir=$ac_top_builddir$srcdir ;;
951 esac
952 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
953 # absolute.
954 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
955 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958
959     cd $ac_dir
960     # Check for guested configure; otherwise get Cygnus style configure.
961     if test -f $ac_srcdir/configure.gnu; then
962       echo
963       $SHELL $ac_srcdir/configure.gnu  --help=recursive
964     elif test -f $ac_srcdir/configure; then
965       echo
966       $SHELL $ac_srcdir/configure  --help=recursive
967     elif test -f $ac_srcdir/configure.ac ||
968            test -f $ac_srcdir/configure.in; then
969       echo
970       $ac_configure --help
971     else
972       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973     fi
974     cd "$ac_popdir"
975   done
976 fi
977
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
980   cat <<\_ACEOF
981 package-unused configure version-unused
982 generated by GNU Autoconf 2.57
983
984 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
985 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
988 _ACEOF
989   exit 0
990 fi
991 exec 5>config.log
992 cat >&5 <<_ACEOF
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
995
996 It was created by package-unused $as_me version-unused, which was
997 generated by GNU Autoconf 2.57.  Invocation command line was
998
999   $ $0 $@
1000
1001 _ACEOF
1002 {
1003 cat <<_ASUNAME
1004 ## --------- ##
1005 ## Platform. ##
1006 ## --------- ##
1007
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1013
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1016
1017 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1018 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1021 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1022 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1023 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1024
1025 _ASUNAME
1026
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 for as_dir in $PATH
1029 do
1030   IFS=$as_save_IFS
1031   test -z "$as_dir" && as_dir=.
1032   echo "PATH: $as_dir"
1033 done
1034
1035 } >&5
1036
1037 cat >&5 <<_ACEOF
1038
1039
1040 ## ----------- ##
1041 ## Core tests. ##
1042 ## ----------- ##
1043
1044 _ACEOF
1045
1046
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_configure_args=
1053 ac_configure_args0=
1054 ac_configure_args1=
1055 ac_sep=
1056 ac_must_keep_next=false
1057 for ac_pass in 1 2
1058 do
1059   for ac_arg
1060   do
1061     case $ac_arg in
1062     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064     | -silent | --silent | --silen | --sile | --sil)
1065       continue ;;
1066     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068     esac
1069     case $ac_pass in
1070     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071     2)
1072       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073       if test $ac_must_keep_next = true; then
1074         ac_must_keep_next=false # Got value, back to normal.
1075       else
1076         case $ac_arg in
1077           *=* | --config-cache | -C | -disable-* | --disable-* \
1078           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080           | -with-* | --with-* | -without-* | --without-* | --x)
1081             case "$ac_configure_args0 " in
1082               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083             esac
1084             ;;
1085           -* ) ac_must_keep_next=true ;;
1086         esac
1087       fi
1088       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089       # Get rid of the leading space.
1090       ac_sep=" "
1091       ;;
1092     esac
1093   done
1094 done
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log.  We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104   # Save into config.log some information that might help in debugging.
1105   {
1106     echo
1107
1108     cat <<\_ASBOX
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1112 _ASBOX
1113     echo
1114     # The following way of writing the cache mishandles newlines in values,
1115 {
1116   (set) 2>&1 |
1117     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118     *ac_space=\ *)
1119       sed -n \
1120         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122       ;;
1123     *)
1124       sed -n \
1125         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126       ;;
1127     esac;
1128 }
1129     echo
1130
1131     cat <<\_ASBOX
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1135 _ASBOX
1136     echo
1137     for ac_var in $ac_subst_vars
1138     do
1139       eval ac_val=$`echo $ac_var`
1140       echo "$ac_var='"'"'$ac_val'"'"'"
1141     done | sort
1142     echo
1143
1144     if test -n "$ac_subst_files"; then
1145       cat <<\_ASBOX
1146 ## ------------- ##
1147 ## Output files. ##
1148 ## ------------- ##
1149 _ASBOX
1150       echo
1151       for ac_var in $ac_subst_files
1152       do
1153         eval ac_val=$`echo $ac_var`
1154         echo "$ac_var='"'"'$ac_val'"'"'"
1155       done | sort
1156       echo
1157     fi
1158
1159     if test -s confdefs.h; then
1160       cat <<\_ASBOX
1161 ## ----------- ##
1162 ## confdefs.h. ##
1163 ## ----------- ##
1164 _ASBOX
1165       echo
1166       sed "/^$/d" confdefs.h | sort
1167       echo
1168     fi
1169     test "$ac_signal" != 0 &&
1170       echo "$as_me: caught signal $ac_signal"
1171     echo "$as_me: exit $exit_status"
1172   } >&5
1173   rm -f core *.core &&
1174   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175     exit $exit_status
1176      ' 0
1177 for ac_signal in 1 2 13 15; do
1178   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 done
1180 ac_signal=0
1181
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 echo >confdefs.h
1186
1187 # Predefined preprocessor variables.
1188
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 _ACEOF
1192
1193
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 _ACEOF
1197
1198
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 _ACEOF
1202
1203
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 _ACEOF
1207
1208
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 _ACEOF
1212
1213
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217   if test "x$prefix" != xNONE; then
1218     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219   else
1220     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221   fi
1222 fi
1223 for ac_site_file in $CONFIG_SITE; do
1224   if test -r "$ac_site_file"; then
1225     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227     sed 's/^/| /' "$ac_site_file" >&5
1228     . "$ac_site_file"
1229   fi
1230 done
1231
1232 if test -r "$cache_file"; then
1233   # Some versions of bash will fail to source /dev/null (special
1234   # files actually), so we avoid doing that.
1235   if test -f "$cache_file"; then
1236     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1238     case $cache_file in
1239       [\\/]* | ?:[\\/]* ) . $cache_file;;
1240       *)                      . ./$cache_file;;
1241     esac
1242   fi
1243 else
1244   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1246   >$cache_file
1247 fi
1248
1249 # Check that the precious variables saved in the cache have kept the same
1250 # value.
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255   eval ac_new_set=\$ac_env_${ac_var}_set
1256   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257   eval ac_new_val="\$ac_env_${ac_var}_value"
1258   case $ac_old_set,$ac_new_set in
1259     set,)
1260       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262       ac_cache_corrupted=: ;;
1263     ,set)
1264       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266       ac_cache_corrupted=: ;;
1267     ,);;
1268     *)
1269       if test "x$ac_old_val" != "x$ac_new_val"; then
1270         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1273 echo "$as_me:   former value:  $ac_old_val" >&2;}
1274         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1275 echo "$as_me:   current value: $ac_new_val" >&2;}
1276         ac_cache_corrupted=:
1277       fi;;
1278   esac
1279   # Pass precious variables to config.status.
1280   if test "$ac_new_set" = set; then
1281     case $ac_new_val in
1282     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284     *) ac_arg=$ac_var=$ac_new_val ;;
1285     esac
1286     case " $ac_configure_args " in
1287       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1288       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289     esac
1290   fi
1291 done
1292 if $ac_cache_corrupted; then
1293   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297    { (exit 1); exit 1; }; }
1298 fi
1299
1300 ac_ext=c
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333           ac_config_headers="$ac_config_headers config.h"
1334
1335
1336 # This works around the fact that libtool configuration may change LD
1337 # for this particular configuration, but some shells, instead of
1338 # keeping the changes in LD private, export them just because LD is
1339 # exported.  Only used at the end of this file.
1340 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1341
1342 # For libtool versioning info, format is CURRENT:REVISION:AGE
1343 libtool_VERSION=6:0:0
1344
1345
1346 # Find the rest of the source tree framework.
1347
1348   # Sets up multi_basedir, which is srcdir/.. plus the usual
1349   # "multi_source_toprel_bottom_adjust" lunacy as needed.
1350   # Default to --enable-multilib
1351 # Check whether --enable-multilib or --disable-multilib was given.
1352 if test "${enable_multilib+set}" = set; then
1353   enableval="$enable_multilib"
1354   case "$enableval" in
1355   yes) multilib=yes ;;
1356   no)  multilib=no ;;
1357   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1358 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1359    { (exit 1); exit 1; }; } ;;
1360  esac
1361 else
1362   multilib=yes
1363 fi;
1364
1365 # We may get other options which we leave undocumented:
1366 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1367 # See config-ml.in if you want the gory details.
1368
1369 if test "$srcdir" = "."; then
1370   if test "$with_target_subdir" != "."; then
1371     multi_basedir="$srcdir/$with_multisrctop../.."
1372   else
1373     multi_basedir="$srcdir/$with_multisrctop.."
1374   fi
1375 else
1376   multi_basedir="$srcdir/.."
1377 fi
1378
1379
1380           ac_config_commands="$ac_config_commands default-1"
1381
1382
1383   # The generated code is exactly the same, except that automake's looks in
1384   # ".. $srcdir/.." and autoconf's looks in multi_basedir.  Apparently other
1385   # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1386   # know what they are or what the other differences might be (and they keep
1387   # changing anyhow).
1388   #
1389   # Looking in multi_basedir seems smarter, so actually execute that branch.
1390   if false; then
1391     # this is for automake
1392     ac_aux_dir=
1393 for ac_dir in .. $srcdir/..; do
1394   if test -f $ac_dir/install-sh; then
1395     ac_aux_dir=$ac_dir
1396     ac_install_sh="$ac_aux_dir/install-sh -c"
1397     break
1398   elif test -f $ac_dir/install.sh; then
1399     ac_aux_dir=$ac_dir
1400     ac_install_sh="$ac_aux_dir/install.sh -c"
1401     break
1402   elif test -f $ac_dir/shtool; then
1403     ac_aux_dir=$ac_dir
1404     ac_install_sh="$ac_aux_dir/shtool install -c"
1405     break
1406   fi
1407 done
1408 if test -z "$ac_aux_dir"; then
1409   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1410 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1411    { (exit 1); exit 1; }; }
1412 fi
1413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1415 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416
1417   else
1418     # this is for autoconf
1419     ac_aux_dir=
1420 for ac_dir in ${multi_basedir}; do
1421   if test -f $ac_dir/install-sh; then
1422     ac_aux_dir=$ac_dir
1423     ac_install_sh="$ac_aux_dir/install-sh -c"
1424     break
1425   elif test -f $ac_dir/install.sh; then
1426     ac_aux_dir=$ac_dir
1427     ac_install_sh="$ac_aux_dir/install.sh -c"
1428     break
1429   elif test -f $ac_dir/shtool; then
1430     ac_aux_dir=$ac_dir
1431     ac_install_sh="$ac_aux_dir/shtool install -c"
1432     break
1433   fi
1434 done
1435 if test -z "$ac_aux_dir"; then
1436   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1437 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1438    { (exit 1); exit 1; }; }
1439 fi
1440 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1441 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1442 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1443
1444   fi
1445
1446
1447
1448 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1449 #
1450 # You will slowly go insane if you do not grok the following fact:  when
1451 # building v3 as part of the compiler, the top-level /target/ becomes the
1452 # library's /host/.  configure then causes --target to default to --host,
1453 # exactly like any other package using autoconf.  Therefore, 'target' and
1454 # 'host' will always be the same.  This makes sense both for native and
1455 # cross compilers, just think about it for a little while.  :-)
1456 #
1457 # Also, if v3 is being configured as part of a cross compiler, the top-level
1458 # configure script will pass the "real" host as $with_cross_host.
1459 #
1460 # Do not delete or change the following two lines.  For why, see
1461 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1462 # Make sure we can run config.sub.
1463 $ac_config_sub sun4 >/dev/null 2>&1 ||
1464   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1465 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1466    { (exit 1); exit 1; }; }
1467
1468 echo "$as_me:$LINENO: checking build system type" >&5
1469 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1470 if test "${ac_cv_build+set}" = set; then
1471   echo $ECHO_N "(cached) $ECHO_C" >&6
1472 else
1473   ac_cv_build_alias=$build_alias
1474 test -z "$ac_cv_build_alias" &&
1475   ac_cv_build_alias=`$ac_config_guess`
1476 test -z "$ac_cv_build_alias" &&
1477   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1478 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1479    { (exit 1); exit 1; }; }
1480 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1481   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1482 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1483    { (exit 1); exit 1; }; }
1484
1485 fi
1486 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1487 echo "${ECHO_T}$ac_cv_build" >&6
1488 build=$ac_cv_build
1489 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1490 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1491 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1492
1493
1494 echo "$as_me:$LINENO: checking host system type" >&5
1495 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1496 if test "${ac_cv_host+set}" = set; then
1497   echo $ECHO_N "(cached) $ECHO_C" >&6
1498 else
1499   ac_cv_host_alias=$host_alias
1500 test -z "$ac_cv_host_alias" &&
1501   ac_cv_host_alias=$ac_cv_build_alias
1502 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1503   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1504 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1505    { (exit 1); exit 1; }; }
1506
1507 fi
1508 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1509 echo "${ECHO_T}$ac_cv_host" >&6
1510 host=$ac_cv_host
1511 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1512 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1513 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1514
1515
1516 echo "$as_me:$LINENO: checking target system type" >&5
1517 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1518 if test "${ac_cv_target+set}" = set; then
1519   echo $ECHO_N "(cached) $ECHO_C" >&6
1520 else
1521   ac_cv_target_alias=$target_alias
1522 test "x$ac_cv_target_alias" = "x" &&
1523   ac_cv_target_alias=$ac_cv_host_alias
1524 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1525   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1526 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1527    { (exit 1); exit 1; }; }
1528
1529 fi
1530 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1531 echo "${ECHO_T}$ac_cv_target" >&6
1532 target=$ac_cv_target
1533 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1534 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1535 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1536
1537
1538 # The aliases save the names the user supplied, while $host etc.
1539 # will get canonicalized.
1540 test -n "$target_alias" &&
1541   test "$program_prefix$program_suffix$program_transform_name" = \
1542     NONENONEs,x,x, &&
1543   program_prefix=${target_alias}-
1544 target_alias=${target_alias-$host_alias}
1545
1546 # Handy for debugging:
1547 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1548
1549 if test "$build" != "$host"; then
1550   # We are being configured with some form of cross compiler.
1551   GLIBCXX_IS_NATIVE=false
1552   # GCC_NO_EXECUTABLES
1553 else
1554   GLIBCXX_IS_NATIVE=true
1555 fi
1556
1557 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1558 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1559 #  1.x:  minimum required version
1560 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1561 #              of other PACKAGE_* variables will, however, and there's nothing
1562 #              we can do about that; they come from AC_INIT).
1563 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1564 #            file in the top srcdir, etc, etc), so stop complaining.
1565 #  no-dependencies:  turns off auto dependency generation (just for now)
1566 #  -Wall:  turns on all automake warnings
1567 am__api_version="1.7"
1568 # Find a good install program.  We prefer a C program (faster),
1569 # so one script is as good as another.  But avoid the broken or
1570 # incompatible versions:
1571 # SysV /etc/install, /usr/sbin/install
1572 # SunOS /usr/etc/install
1573 # IRIX /sbin/install
1574 # AIX /bin/install
1575 # AmigaOS /C/install, which installs bootblocks on floppy discs
1576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584   echo $ECHO_N "(cached) $ECHO_C" >&6
1585 else
1586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587 for as_dir in $PATH
1588 do
1589   IFS=$as_save_IFS
1590   test -z "$as_dir" && as_dir=.
1591   # Account for people who put trailing slashes in PATH elements.
1592 case $as_dir/ in
1593   ./ | .// | /cC/* | \
1594   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1595   /usr/ucb/* ) ;;
1596   *)
1597     # OSF1 and SCO ODT 3.0 have their own names for install.
1598     # Don't use installbsd from OSF since it installs stuff as root
1599     # by default.
1600     for ac_prog in ginstall scoinst install; do
1601       for ac_exec_ext in '' $ac_executable_extensions; do
1602         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603           if test $ac_prog = install &&
1604             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605             # AIX install.  It has an incompatible calling convention.
1606             :
1607           elif test $ac_prog = install &&
1608             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609             # program-specific install script used by HP pwplus--don't use.
1610             :
1611           else
1612             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1613             break 3
1614           fi
1615         fi
1616       done
1617     done
1618     ;;
1619 esac
1620 done
1621
1622
1623 fi
1624   if test "${ac_cv_path_install+set}" = set; then
1625     INSTALL=$ac_cv_path_install
1626   else
1627     # As a last resort, use the slow shell script.  We don't cache a
1628     # path for INSTALL within a source directory, because that will
1629     # break other packages using the cache if that directory is
1630     # removed, or if the path is relative.
1631     INSTALL=$ac_install_sh
1632   fi
1633 fi
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1636
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1640
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1642
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1644
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1647 # Just in case
1648 sleep 1
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments.  Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1654 # directory).
1655 if (
1656    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657    if test "$*" = "X"; then
1658       # -L didn't work.
1659       set X `ls -t $srcdir/configure conftest.file`
1660    fi
1661    rm -f conftest.file
1662    if test "$*" != "X $srcdir/configure conftest.file" \
1663       && test "$*" != "X conftest.file $srcdir/configure"; then
1664
1665       # If neither matched, then we have a broken ls.  This can happen
1666       # if, for instance, CONFIG_SHELL is bash and it inherits a
1667       # broken ls alias from the environment.  This has actually
1668       # happened.  Such a system could not be considered "sane".
1669       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1672 alias in your environment" >&2;}
1673    { (exit 1); exit 1; }; }
1674    fi
1675
1676    test "$2" = conftest.file
1677    )
1678 then
1679    # Ok.
1680    :
1681 else
1682    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686    { (exit 1); exit 1; }; }
1687 fi
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $.  echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1699 _ACEOF
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1701 rm conftest.sed
1702
1703
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir=`cd $ac_aux_dir && pwd`
1706
1707 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710   am_missing_run="$MISSING --run "
1711 else
1712   am_missing_run=
1713   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1715 fi
1716
1717 for ac_prog in gawk mawk nawk awk
1718 do
1719   # Extract the first word of "$ac_prog", so it can be a program name with args.
1720 set dummy $ac_prog; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_AWK+set}" = set; then
1724   echo $ECHO_N "(cached) $ECHO_C" >&6
1725 else
1726   if test -n "$AWK"; then
1727   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1728 else
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 for as_dir in $PATH
1731 do
1732   IFS=$as_save_IFS
1733   test -z "$as_dir" && as_dir=.
1734   for ac_exec_ext in '' $ac_executable_extensions; do
1735   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736     ac_cv_prog_AWK="$ac_prog"
1737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738     break 2
1739   fi
1740 done
1741 done
1742
1743 fi
1744 fi
1745 AWK=$ac_cv_prog_AWK
1746 if test -n "$AWK"; then
1747   echo "$as_me:$LINENO: result: $AWK" >&5
1748 echo "${ECHO_T}$AWK" >&6
1749 else
1750   echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1752 fi
1753
1754   test -n "$AWK" && break
1755 done
1756
1757 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1759 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1760 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1761   echo $ECHO_N "(cached) $ECHO_C" >&6
1762 else
1763   cat >conftest.make <<\_ACEOF
1764 all:
1765         @echo 'ac_maketemp="$(MAKE)"'
1766 _ACEOF
1767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1768 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1769 if test -n "$ac_maketemp"; then
1770   eval ac_cv_prog_make_${ac_make}_set=yes
1771 else
1772   eval ac_cv_prog_make_${ac_make}_set=no
1773 fi
1774 rm -f conftest.make
1775 fi
1776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1777   echo "$as_me:$LINENO: result: yes" >&5
1778 echo "${ECHO_T}yes" >&6
1779   SET_MAKE=
1780 else
1781   echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1783   SET_MAKE="MAKE=${MAKE-make}"
1784 fi
1785
1786 rm -rf .tst 2>/dev/null
1787 mkdir .tst 2>/dev/null
1788 if test -d .tst; then
1789   am__leading_dot=.
1790 else
1791   am__leading_dot=_
1792 fi
1793 rmdir .tst 2>/dev/null
1794
1795  # test to see if srcdir already configured
1796 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1797    test -f $srcdir/config.status; then
1798   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1799 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1800    { (exit 1); exit 1; }; }
1801 fi
1802
1803 # test whether we have cygpath
1804 if test -z "$CYGPATH_W"; then
1805   if (cygpath --version) >/dev/null 2>/dev/null; then
1806     CYGPATH_W='cygpath -w'
1807   else
1808     CYGPATH_W=echo
1809   fi
1810 fi
1811
1812
1813 # Define the identity of the package.
1814  PACKAGE='libstdc++'
1815  VERSION='version-unused'
1816
1817
1818 # Some tools Automake needs.
1819
1820 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1821
1822
1823 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1824
1825
1826 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1827
1828
1829 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1830
1831
1832 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1833
1834
1835 AMTAR=${AMTAR-"${am_missing_run}tar"}
1836
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1838
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'.  However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844   if test -n "$ac_tool_prefix"; then
1845   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   if test -n "$STRIP"; then
1853   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858   IFS=$as_save_IFS
1859   test -z "$as_dir" && as_dir=.
1860   for ac_exec_ext in '' $ac_executable_extensions; do
1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864     break 2
1865   fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873   echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876   echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 fi
1881 if test -z "$ac_cv_prog_STRIP"; then
1882   ac_ct_STRIP=$STRIP
1883   # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888   echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890   if test -n "$ac_ct_STRIP"; then
1891   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896   IFS=$as_save_IFS
1897   test -z "$as_dir" && as_dir=.
1898   for ac_exec_ext in '' $ac_executable_extensions; do
1899   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900     ac_cv_prog_ac_ct_STRIP="strip"
1901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902     break 2
1903   fi
1904 done
1905 done
1906
1907   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1908 fi
1909 fi
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915   echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919   STRIP=$ac_ct_STRIP
1920 else
1921   STRIP="$ac_cv_prog_STRIP"
1922 fi
1923
1924 fi
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1926
1927 # We need awk for the "check" target.  The system "awk" is bad on
1928 # some platforms.
1929
1930
1931
1932
1933 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1934 # up critical shell variables.
1935
1936
1937   # Keep these sync'd with the list in Makefile.am.  The first provides an
1938   # expandable list at autoconf time; the second provides an expandable list
1939   # (i.e., shell variable) at configure time.
1940
1941   SUBDIRS='include libmath libsupc++ src po testsuite'
1942
1943   # These need to be absolute paths, yet at the same time need to
1944   # canonicalize only relative paths, because then amd will not unmount
1945   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1946   glibcxx_builddir=`${PWDCMD-pwd}`
1947   case $srcdir in
1948     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1949     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1950   esac
1951   toplevel_srcdir=${glibcxx_srcdir}/..
1952
1953
1954
1955
1956   # We use these options to decide which functions to include.  They are
1957   # set from the top level.
1958
1959 # Check whether --with-target-subdir or --without-target-subdir was given.
1960 if test "${with_target_subdir+set}" = set; then
1961   withval="$with_target_subdir"
1962
1963 fi;
1964
1965
1966 # Check whether --with-cross-host or --without-cross-host was given.
1967 if test "${with_cross_host+set}" = set; then
1968   withval="$with_cross_host"
1969
1970 fi;
1971
1972
1973 # Check whether --with-newlib or --without-newlib was given.
1974 if test "${with_newlib+set}" = set; then
1975   withval="$with_newlib"
1976
1977 fi;
1978
1979   # We're almost certainly being configured before anything else which uses
1980   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1981   # we not cache the value of CXX that we "discover" here, because it's set
1982   # to something unique for us and libjava.  Other target libraries need to
1983   # find CXX for themselves.  We yank the rug out from under the normal AC_*
1984   # process by sneakily renaming the cache variable.  This also lets us debug
1985   # the value of "our" CXX in postmortems.
1986   #
1987   # We must also force CXX to /not/ be a precious variable, otherwise the
1988   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
1989   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
1990   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1991   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1992   #
1993   # -fno-builtin must be present here so that a non-conflicting form of
1994   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1995
1996
1997
1998
1999   save_CXXFLAGS="$CXXFLAGS"
2000   CXXFLAGS="$CXXFLAGS -fno-builtin"
2001   ac_ext=c
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 if test -n "$ac_tool_prefix"; then
2007   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2008 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_CC+set}" = set; then
2012   echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014   if test -n "$CC"; then
2015   ac_cv_prog_CC="$CC" # Let the user override the test.
2016 else
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 for as_dir in $PATH
2019 do
2020   IFS=$as_save_IFS
2021   test -z "$as_dir" && as_dir=.
2022   for ac_exec_ext in '' $ac_executable_extensions; do
2023   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026     break 2
2027   fi
2028 done
2029 done
2030
2031 fi
2032 fi
2033 CC=$ac_cv_prog_CC
2034 if test -n "$CC"; then
2035   echo "$as_me:$LINENO: result: $CC" >&5
2036 echo "${ECHO_T}$CC" >&6
2037 else
2038   echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2040 fi
2041
2042 fi
2043 if test -z "$ac_cv_prog_CC"; then
2044   ac_ct_CC=$CC
2045   # Extract the first word of "gcc", so it can be a program name with args.
2046 set dummy gcc; ac_word=$2
2047 echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2050   echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052   if test -n "$ac_ct_CC"; then
2053   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2057 do
2058   IFS=$as_save_IFS
2059   test -z "$as_dir" && as_dir=.
2060   for ac_exec_ext in '' $ac_executable_extensions; do
2061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062     ac_cv_prog_ac_ct_CC="gcc"
2063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064     break 2
2065   fi
2066 done
2067 done
2068
2069 fi
2070 fi
2071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2072 if test -n "$ac_ct_CC"; then
2073   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2074 echo "${ECHO_T}$ac_ct_CC" >&6
2075 else
2076   echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6
2078 fi
2079
2080   CC=$ac_ct_CC
2081 else
2082   CC="$ac_cv_prog_CC"
2083 fi
2084
2085 if test -z "$CC"; then
2086   if test -n "$ac_tool_prefix"; then
2087   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2088 set dummy ${ac_tool_prefix}cc; ac_word=$2
2089 echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2091 if test "${ac_cv_prog_CC+set}" = set; then
2092   echo $ECHO_N "(cached) $ECHO_C" >&6
2093 else
2094   if test -n "$CC"; then
2095   ac_cv_prog_CC="$CC" # Let the user override the test.
2096 else
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2099 do
2100   IFS=$as_save_IFS
2101   test -z "$as_dir" && as_dir=.
2102   for ac_exec_ext in '' $ac_executable_extensions; do
2103   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2104     ac_cv_prog_CC="${ac_tool_prefix}cc"
2105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106     break 2
2107   fi
2108 done
2109 done
2110
2111 fi
2112 fi
2113 CC=$ac_cv_prog_CC
2114 if test -n "$CC"; then
2115   echo "$as_me:$LINENO: result: $CC" >&5
2116 echo "${ECHO_T}$CC" >&6
2117 else
2118   echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6
2120 fi
2121
2122 fi
2123 if test -z "$ac_cv_prog_CC"; then
2124   ac_ct_CC=$CC
2125   # Extract the first word of "cc", so it can be a program name with args.
2126 set dummy cc; ac_word=$2
2127 echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2129 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2130   echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132   if test -n "$ac_ct_CC"; then
2133   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2137 do
2138   IFS=$as_save_IFS
2139   test -z "$as_dir" && as_dir=.
2140   for ac_exec_ext in '' $ac_executable_extensions; do
2141   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142     ac_cv_prog_ac_ct_CC="cc"
2143     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144     break 2
2145   fi
2146 done
2147 done
2148
2149 fi
2150 fi
2151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2152 if test -n "$ac_ct_CC"; then
2153   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2154 echo "${ECHO_T}$ac_ct_CC" >&6
2155 else
2156   echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2158 fi
2159
2160   CC=$ac_ct_CC
2161 else
2162   CC="$ac_cv_prog_CC"
2163 fi
2164
2165 fi
2166 if test -z "$CC"; then
2167   # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172   echo $ECHO_N "(cached) $ECHO_C" >&6
2173 else
2174   if test -n "$CC"; then
2175   ac_cv_prog_CC="$CC" # Let the user override the test.
2176 else
2177   ac_prog_rejected=no
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2180 do
2181   IFS=$as_save_IFS
2182   test -z "$as_dir" && as_dir=.
2183   for ac_exec_ext in '' $ac_executable_extensions; do
2184   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186        ac_prog_rejected=yes
2187        continue
2188      fi
2189     ac_cv_prog_CC="cc"
2190     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191     break 2
2192   fi
2193 done
2194 done
2195
2196 if test $ac_prog_rejected = yes; then
2197   # We found a bogon in the path, so make sure we never use it.
2198   set dummy $ac_cv_prog_CC
2199   shift
2200   if test $# != 0; then
2201     # We chose a different compiler from the bogus one.
2202     # However, it has the same basename, so the bogon will be chosen
2203     # first if we set CC to just the basename; use the full file name.
2204     shift
2205     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2206   fi
2207 fi
2208 fi
2209 fi
2210 CC=$ac_cv_prog_CC
2211 if test -n "$CC"; then
2212   echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6
2214 else
2215   echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2217 fi
2218
2219 fi
2220 if test -z "$CC"; then
2221   if test -n "$ac_tool_prefix"; then
2222   for ac_prog in cl
2223   do
2224     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229   echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231   if test -n "$CC"; then
2232   ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2236 do
2237   IFS=$as_save_IFS
2238   test -z "$as_dir" && as_dir=.
2239   for ac_exec_ext in '' $ac_executable_extensions; do
2240   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243     break 2
2244   fi
2245 done
2246 done
2247
2248 fi
2249 fi
2250 CC=$ac_cv_prog_CC
2251 if test -n "$CC"; then
2252   echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6
2254 else
2255   echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6
2257 fi
2258
2259     test -n "$CC" && break
2260   done
2261 fi
2262 if test -z "$CC"; then
2263   ac_ct_CC=$CC
2264   for ac_prog in cl
2265 do
2266   # Extract the first word of "$ac_prog", so it can be a program name with args.
2267 set dummy $ac_prog; ac_word=$2
2268 echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2271   echo $ECHO_N "(cached) $ECHO_C" >&6
2272 else
2273   if test -n "$ac_ct_CC"; then
2274   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 else
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 for as_dir in $PATH
2278 do
2279   IFS=$as_save_IFS
2280   test -z "$as_dir" && as_dir=.
2281   for ac_exec_ext in '' $ac_executable_extensions; do
2282   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2283     ac_cv_prog_ac_ct_CC="$ac_prog"
2284     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285     break 2
2286   fi
2287 done
2288 done
2289
2290 fi
2291 fi
2292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2295 echo "${ECHO_T}$ac_ct_CC" >&6
2296 else
2297   echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6
2299 fi
2300
2301   test -n "$ac_ct_CC" && break
2302 done
2303
2304   CC=$ac_ct_CC
2305 fi
2306
2307 fi
2308
2309
2310 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2311 See \`config.log' for more details." >&5
2312 echo "$as_me: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&2;}
2314    { (exit 1); exit 1; }; }
2315
2316 # Provide some information about the compiler.
2317 echo "$as_me:$LINENO:" \
2318      "checking for C compiler version" >&5
2319 ac_compiler=`set X $ac_compile; echo $2`
2320 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2321   (eval $ac_compiler --version </dev/null >&5) 2>&5
2322   ac_status=$?
2323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324   (exit $ac_status); }
2325 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2326   (eval $ac_compiler -v </dev/null >&5) 2>&5
2327   ac_status=$?
2328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329   (exit $ac_status); }
2330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2331   (eval $ac_compiler -V </dev/null >&5) 2>&5
2332   ac_status=$?
2333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334   (exit $ac_status); }
2335
2336 cat >conftest.$ac_ext <<_ACEOF
2337 #line $LINENO "configure"
2338 /* confdefs.h.  */
2339 _ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h.  */
2343
2344 int
2345 main ()
2346 {
2347
2348   ;
2349   return 0;
2350 }
2351 _ACEOF
2352 ac_clean_files_save=$ac_clean_files
2353 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2354 # Try to create an executable without -o first, disregard a.out.
2355 # It will help us diagnose broken compilers, and finding out an intuition
2356 # of exeext.
2357 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2358 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2359 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2360 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2361   (eval $ac_link_default) 2>&5
2362   ac_status=$?
2363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364   (exit $ac_status); }; then
2365   # Find the output, starting from the most likely.  This scheme is
2366 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2367 # resort.
2368
2369 # Be careful to initialize this variable, since it used to be cached.
2370 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2371 ac_cv_exeext=
2372 # b.out is created by i960 compilers.
2373 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2374 do
2375   test -f "$ac_file" || continue
2376   case $ac_file in
2377     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2378         ;;
2379     conftest.$ac_ext )
2380         # This is the source file.
2381         ;;
2382     [ab].out )
2383         # We found the default executable, but exeext='' is most
2384         # certainly right.
2385         break;;
2386     *.* )
2387         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2388         # FIXME: I believe we export ac_cv_exeext for Libtool,
2389         # but it would be cool to find out if it's true.  Does anybody
2390         # maintain Libtool? --akim.
2391         export ac_cv_exeext
2392         break;;
2393     * )
2394         break;;
2395   esac
2396 done
2397 else
2398   echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2400
2401 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2402 See \`config.log' for more details." >&5
2403 echo "$as_me: error: C compiler cannot create executables
2404 See \`config.log' for more details." >&2;}
2405    { (exit 77); exit 77; }; }
2406 fi
2407
2408 ac_exeext=$ac_cv_exeext
2409 echo "$as_me:$LINENO: result: $ac_file" >&5
2410 echo "${ECHO_T}$ac_file" >&6
2411
2412 # Check the compiler produces executables we can run.  If not, either
2413 # the compiler is broken, or we cross compile.
2414 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2415 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2416 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2417 # If not cross compiling, check that we can run a simple program.
2418 if test "$cross_compiling" != yes; then
2419   if { ac_try='./$ac_file'
2420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421   (eval $ac_try) 2>&5
2422   ac_status=$?
2423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424   (exit $ac_status); }; }; then
2425     cross_compiling=no
2426   else
2427     if test "$cross_compiling" = maybe; then
2428         cross_compiling=yes
2429     else
2430         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2431 If you meant to cross compile, use \`--host'.
2432 See \`config.log' for more details." >&5
2433 echo "$as_me: error: cannot run C compiled programs.
2434 If you meant to cross compile, use \`--host'.
2435 See \`config.log' for more details." >&2;}
2436    { (exit 1); exit 1; }; }
2437     fi
2438   fi
2439 fi
2440 echo "$as_me:$LINENO: result: yes" >&5
2441 echo "${ECHO_T}yes" >&6
2442
2443 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2444 ac_clean_files=$ac_clean_files_save
2445 # Check the compiler produces executables we can run.  If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2448 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2449 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2450 echo "${ECHO_T}$cross_compiling" >&6
2451
2452 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2453 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2455   (eval $ac_link) 2>&5
2456   ac_status=$?
2457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458   (exit $ac_status); }; then
2459   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2460 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2461 # work properly (i.e., refer to `conftest.exe'), while it won't with
2462 # `rm'.
2463 for ac_file in conftest.exe conftest conftest.*; do
2464   test -f "$ac_file" || continue
2465   case $ac_file in
2466     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2467     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2468           export ac_cv_exeext
2469           break;;
2470     * ) break;;
2471   esac
2472 done
2473 else
2474   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2475 See \`config.log' for more details." >&5
2476 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2477 See \`config.log' for more details." >&2;}
2478    { (exit 1); exit 1; }; }
2479 fi
2480
2481 rm -f conftest$ac_cv_exeext
2482 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2483 echo "${ECHO_T}$ac_cv_exeext" >&6
2484
2485 rm -f conftest.$ac_ext
2486 EXEEXT=$ac_cv_exeext
2487 ac_exeext=$EXEEXT
2488 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2489 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2490 if test "${ac_cv_objext+set}" = set; then
2491   echo $ECHO_N "(cached) $ECHO_C" >&6
2492 else
2493   cat >conftest.$ac_ext <<_ACEOF
2494 #line $LINENO "configure"
2495 /* confdefs.h.  */
2496 _ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h.  */
2500
2501 int
2502 main ()
2503 {
2504
2505   ;
2506   return 0;
2507 }
2508 _ACEOF
2509 rm -f conftest.o conftest.obj
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511   (eval $ac_compile) 2>&5
2512   ac_status=$?
2513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514   (exit $ac_status); }; then
2515   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2516   case $ac_file in
2517     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2518     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2519        break;;
2520   esac
2521 done
2522 else
2523   echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2525
2526 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&2;}
2530    { (exit 1); exit 1; }; }
2531 fi
2532
2533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2534 fi
2535 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2536 echo "${ECHO_T}$ac_cv_objext" >&6
2537 OBJEXT=$ac_cv_objext
2538 ac_objext=$OBJEXT
2539 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2540 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2541 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2542   echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544   cat >conftest.$ac_ext <<_ACEOF
2545 #line $LINENO "configure"
2546 /* confdefs.h.  */
2547 _ACEOF
2548 cat confdefs.h >>conftest.$ac_ext
2549 cat >>conftest.$ac_ext <<_ACEOF
2550 /* end confdefs.h.  */
2551
2552 int
2553 main ()
2554 {
2555 #ifndef __GNUC__
2556        choke me
2557 #endif
2558
2559   ;
2560   return 0;
2561 }
2562 _ACEOF
2563 rm -f conftest.$ac_objext
2564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2565   (eval $ac_compile) 2>&5
2566   ac_status=$?
2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568   (exit $ac_status); } &&
2569          { ac_try='test -s conftest.$ac_objext'
2570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571   (eval $ac_try) 2>&5
2572   ac_status=$?
2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574   (exit $ac_status); }; }; then
2575   ac_compiler_gnu=yes
2576 else
2577   echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2579
2580 ac_compiler_gnu=no
2581 fi
2582 rm -f conftest.$ac_objext conftest.$ac_ext
2583 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2584
2585 fi
2586 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2587 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2588 GCC=`test $ac_compiler_gnu = yes && echo yes`
2589 ac_test_CFLAGS=${CFLAGS+set}
2590 ac_save_CFLAGS=$CFLAGS
2591 CFLAGS="-g"
2592 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2593 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2594 if test "${ac_cv_prog_cc_g+set}" = set; then
2595   echo $ECHO_N "(cached) $ECHO_C" >&6
2596 else
2597   cat >conftest.$ac_ext <<_ACEOF
2598 #line $LINENO "configure"
2599 /* confdefs.h.  */
2600 _ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h.  */
2604
2605 int
2606 main ()
2607 {
2608
2609   ;
2610   return 0;
2611 }
2612 _ACEOF
2613 rm -f conftest.$ac_objext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615   (eval $ac_compile) 2>&5
2616   ac_status=$?
2617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618   (exit $ac_status); } &&
2619          { ac_try='test -s conftest.$ac_objext'
2620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621   (eval $ac_try) 2>&5
2622   ac_status=$?
2623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624   (exit $ac_status); }; }; then
2625   ac_cv_prog_cc_g=yes
2626 else
2627   echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2629
2630 ac_cv_prog_cc_g=no
2631 fi
2632 rm -f conftest.$ac_objext conftest.$ac_ext
2633 fi
2634 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2635 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2636 if test "$ac_test_CFLAGS" = set; then
2637   CFLAGS=$ac_save_CFLAGS
2638 elif test $ac_cv_prog_cc_g = yes; then
2639   if test "$GCC" = yes; then
2640     CFLAGS="-g -O2"
2641   else
2642     CFLAGS="-g"
2643   fi
2644 else
2645   if test "$GCC" = yes; then
2646     CFLAGS="-O2"
2647   else
2648     CFLAGS=
2649   fi
2650 fi
2651 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2652 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2653 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2654   echo $ECHO_N "(cached) $ECHO_C" >&6
2655 else
2656   ac_cv_prog_cc_stdc=no
2657 ac_save_CC=$CC
2658 cat >conftest.$ac_ext <<_ACEOF
2659 #line $LINENO "configure"
2660 /* confdefs.h.  */
2661 _ACEOF
2662 cat confdefs.h >>conftest.$ac_ext
2663 cat >>conftest.$ac_ext <<_ACEOF
2664 /* end confdefs.h.  */
2665 #include <stdarg.h>
2666 #include <stdio.h>
2667 #include <sys/types.h>
2668 #include <sys/stat.h>
2669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2670 struct buf { int x; };
2671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2672 static char *e (p, i)
2673      char **p;
2674      int i;
2675 {
2676   return p[i];
2677 }
2678 static char *f (char * (*g) (char **, int), char **p, ...)
2679 {
2680   char *s;
2681   va_list v;
2682   va_start (v,p);
2683   s = g (p, va_arg (v,int));
2684   va_end (v);
2685   return s;
2686 }
2687 int test (int i, double x);
2688 struct s1 {int (*f) (int a);};
2689 struct s2 {int (*f) (double a);};
2690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2691 int argc;
2692 char **argv;
2693 int
2694 main ()
2695 {
2696 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2697   ;
2698   return 0;
2699 }
2700 _ACEOF
2701 # Don't try gcc -ansi; that turns off useful extensions and
2702 # breaks some systems' header files.
2703 # AIX                   -qlanglvl=ansi
2704 # Ultrix and OSF/1      -std1
2705 # HP-UX 10.20 and later -Ae
2706 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2707 # SVR4                  -Xc -D__EXTENSIONS__
2708 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2709 do
2710   CC="$ac_save_CC $ac_arg"
2711   rm -f conftest.$ac_objext
2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2713   (eval $ac_compile) 2>&5
2714   ac_status=$?
2715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716   (exit $ac_status); } &&
2717          { ac_try='test -s conftest.$ac_objext'
2718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719   (eval $ac_try) 2>&5
2720   ac_status=$?
2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722   (exit $ac_status); }; }; then
2723   ac_cv_prog_cc_stdc=$ac_arg
2724 break
2725 else
2726   echo "$as_me: failed program was:" >&5
2727 sed 's/^/| /' conftest.$ac_ext >&5
2728
2729 fi
2730 rm -f conftest.$ac_objext
2731 done
2732 rm -f conftest.$ac_ext conftest.$ac_objext
2733 CC=$ac_save_CC
2734
2735 fi
2736
2737 case "x$ac_cv_prog_cc_stdc" in
2738   x|xno)
2739     echo "$as_me:$LINENO: result: none needed" >&5
2740 echo "${ECHO_T}none needed" >&6 ;;
2741   *)
2742     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2743 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2744     CC="$CC $ac_cv_prog_cc_stdc" ;;
2745 esac
2746
2747 # Some people use a C++ compiler to compile C.  Since we use `exit',
2748 # in C++ we need to declare it.  In case someone uses the same compiler
2749 # for both compiling C and C++ we need to have the C++ compiler decide
2750 # the declaration of exit, since it's the most demanding environment.
2751 cat >conftest.$ac_ext <<_ACEOF
2752 #ifndef __cplusplus
2753   choke me
2754 #endif
2755 _ACEOF
2756 rm -f conftest.$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758   (eval $ac_compile) 2>&5
2759   ac_status=$?
2760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761   (exit $ac_status); } &&
2762          { ac_try='test -s conftest.$ac_objext'
2763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764   (eval $ac_try) 2>&5
2765   ac_status=$?
2766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767   (exit $ac_status); }; }; then
2768   for ac_declaration in \
2769    '' \
2770    'extern "C" void std::exit (int) throw (); using std::exit;' \
2771    'extern "C" void std::exit (int); using std::exit;' \
2772    'extern "C" void exit (int) throw ();' \
2773    'extern "C" void exit (int);' \
2774    'void exit (int);'
2775 do
2776   cat >conftest.$ac_ext <<_ACEOF
2777 #line $LINENO "configure"
2778 /* confdefs.h.  */
2779 _ACEOF
2780 cat confdefs.h >>conftest.$ac_ext
2781 cat >>conftest.$ac_ext <<_ACEOF
2782 /* end confdefs.h.  */
2783 $ac_declaration
2784 #include <stdlib.h>
2785 int
2786 main ()
2787 {
2788 exit (42);
2789   ;
2790   return 0;
2791 }
2792 _ACEOF
2793 rm -f conftest.$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795   (eval $ac_compile) 2>&5
2796   ac_status=$?
2797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798   (exit $ac_status); } &&
2799          { ac_try='test -s conftest.$ac_objext'
2800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801   (eval $ac_try) 2>&5
2802   ac_status=$?
2803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804   (exit $ac_status); }; }; then
2805   :
2806 else
2807   echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2809
2810 continue
2811 fi
2812 rm -f conftest.$ac_objext conftest.$ac_ext
2813   cat >conftest.$ac_ext <<_ACEOF
2814 #line $LINENO "configure"
2815 /* confdefs.h.  */
2816 _ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h.  */
2820 $ac_declaration
2821 int
2822 main ()
2823 {
2824 exit (42);
2825   ;
2826   return 0;
2827 }
2828 _ACEOF
2829 rm -f conftest.$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831   (eval $ac_compile) 2>&5
2832   ac_status=$?
2833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834   (exit $ac_status); } &&
2835          { ac_try='test -s conftest.$ac_objext'
2836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837   (eval $ac_try) 2>&5
2838   ac_status=$?
2839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840   (exit $ac_status); }; }; then
2841   break
2842 else
2843   echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2845
2846 fi
2847 rm -f conftest.$ac_objext conftest.$ac_ext
2848 done
2849 rm -f conftest*
2850 if test -n "$ac_declaration"; then
2851   echo '#ifdef __cplusplus' >>confdefs.h
2852   echo $ac_declaration      >>confdefs.h
2853   echo '#endif'             >>confdefs.h
2854 fi
2855
2856 else
2857   echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2859
2860 fi
2861 rm -f conftest.$ac_objext conftest.$ac_ext
2862 ac_ext=c
2863 ac_cpp='$CPP $CPPFLAGS'
2864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2867
2868   ac_ext=cc
2869 ac_cpp='$CXXCPP $CPPFLAGS'
2870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2873 if test -n "$ac_tool_prefix"; then
2874   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2875   do
2876     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2880 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2881   echo $ECHO_N "(cached) $ECHO_C" >&6
2882 else
2883   if test -n "$CXX"; then
2884   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2885 else
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 for as_dir in $PATH
2888 do
2889   IFS=$as_save_IFS
2890   test -z "$as_dir" && as_dir=.
2891   for ac_exec_ext in '' $ac_executable_extensions; do
2892   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895     break 2
2896   fi
2897 done
2898 done
2899
2900 fi
2901 fi
2902 CXX=$glibcxx_cv_prog_CXX
2903 if test -n "$CXX"; then
2904   echo "$as_me:$LINENO: result: $CXX" >&5
2905 echo "${ECHO_T}$CXX" >&6
2906 else
2907   echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 fi
2910
2911     test -n "$CXX" && break
2912   done
2913 fi
2914 if test -z "$CXX"; then
2915   ac_ct_CXX=$CXX
2916   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2917 do
2918   # Extract the first word of "$ac_prog", so it can be a program name with args.
2919 set dummy $ac_prog; ac_word=$2
2920 echo "$as_me:$LINENO: checking for $ac_word" >&5
2921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2922 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2923   echo $ECHO_N "(cached) $ECHO_C" >&6
2924 else
2925   if test -n "$ac_ct_CXX"; then
2926   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2927 else
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2930 do
2931   IFS=$as_save_IFS
2932   test -z "$as_dir" && as_dir=.
2933   for ac_exec_ext in '' $ac_executable_extensions; do
2934   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2935     ac_cv_prog_ac_ct_CXX="$ac_prog"
2936     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937     break 2
2938   fi
2939 done
2940 done
2941
2942 fi
2943 fi
2944 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2945 if test -n "$ac_ct_CXX"; then
2946   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2947 echo "${ECHO_T}$ac_ct_CXX" >&6
2948 else
2949   echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 fi
2952
2953   test -n "$ac_ct_CXX" && break
2954 done
2955 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2956
2957   CXX=$ac_ct_CXX
2958 fi
2959
2960
2961 # Provide some information about the compiler.
2962 echo "$as_me:$LINENO:" \
2963      "checking for C++ compiler version" >&5
2964 ac_compiler=`set X $ac_compile; echo $2`
2965 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2966   (eval $ac_compiler --version </dev/null >&5) 2>&5
2967   ac_status=$?
2968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969   (exit $ac_status); }
2970 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2971   (eval $ac_compiler -v </dev/null >&5) 2>&5
2972   ac_status=$?
2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974   (exit $ac_status); }
2975 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2976   (eval $ac_compiler -V </dev/null >&5) 2>&5
2977   ac_status=$?
2978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979   (exit $ac_status); }
2980
2981 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2982 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2983 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2984   echo $ECHO_N "(cached) $ECHO_C" >&6
2985 else
2986   cat >conftest.$ac_ext <<_ACEOF
2987 #line $LINENO "configure"
2988 /* confdefs.h.  */
2989 _ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h.  */
2993
2994 int
2995 main ()
2996 {
2997 #ifndef __GNUC__
2998        choke me
2999 #endif
3000
3001   ;
3002   return 0;
3003 }
3004 _ACEOF
3005 rm -f conftest.$ac_objext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007   (eval $ac_compile) 2>&5
3008   ac_status=$?
3009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010   (exit $ac_status); } &&
3011          { ac_try='test -s conftest.$ac_objext'
3012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013   (eval $ac_try) 2>&5
3014   ac_status=$?
3015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016   (exit $ac_status); }; }; then
3017   ac_compiler_gnu=yes
3018 else
3019   echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3021
3022 ac_compiler_gnu=no
3023 fi
3024 rm -f conftest.$ac_objext conftest.$ac_ext
3025 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3026
3027 fi
3028 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3029 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3030 GXX=`test $ac_compiler_gnu = yes && echo yes`
3031 ac_test_CXXFLAGS=${CXXFLAGS+set}
3032 ac_save_CXXFLAGS=$CXXFLAGS
3033 CXXFLAGS="-g"
3034 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3035 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3036 if test "${ac_cv_prog_cxx_g+set}" = set; then
3037   echo $ECHO_N "(cached) $ECHO_C" >&6
3038 else
3039   cat >conftest.$ac_ext <<_ACEOF
3040 #line $LINENO "configure"
3041 /* confdefs.h.  */
3042 _ACEOF
3043 cat confdefs.h >>conftest.$ac_ext
3044 cat >>conftest.$ac_ext <<_ACEOF
3045 /* end confdefs.h.  */
3046
3047 int
3048 main ()
3049 {
3050
3051   ;
3052   return 0;
3053 }
3054 _ACEOF
3055 rm -f conftest.$ac_objext
3056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3057   (eval $ac_compile) 2>&5
3058   ac_status=$?
3059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060   (exit $ac_status); } &&
3061          { ac_try='test -s conftest.$ac_objext'
3062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063   (eval $ac_try) 2>&5
3064   ac_status=$?
3065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066   (exit $ac_status); }; }; then
3067   ac_cv_prog_cxx_g=yes
3068 else
3069   echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.$ac_ext >&5
3071
3072 ac_cv_prog_cxx_g=no
3073 fi
3074 rm -f conftest.$ac_objext conftest.$ac_ext
3075 fi
3076 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3077 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3078 if test "$ac_test_CXXFLAGS" = set; then
3079   CXXFLAGS=$ac_save_CXXFLAGS
3080 elif test $ac_cv_prog_cxx_g = yes; then
3081   if test "$GXX" = yes; then
3082     CXXFLAGS="-g -O2"
3083   else
3084     CXXFLAGS="-g"
3085   fi
3086 else
3087   if test "$GXX" = yes; then
3088     CXXFLAGS="-O2"
3089   else
3090     CXXFLAGS=
3091   fi
3092 fi
3093 for ac_declaration in \
3094    '' \
3095    'extern "C" void std::exit (int) throw (); using std::exit;' \
3096    'extern "C" void std::exit (int); using std::exit;' \
3097    'extern "C" void exit (int) throw ();' \
3098    'extern "C" void exit (int);' \
3099    'void exit (int);'
3100 do
3101   cat >conftest.$ac_ext <<_ACEOF
3102 #line $LINENO "configure"
3103 /* confdefs.h.  */
3104 _ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h.  */
3108 $ac_declaration
3109 #include <stdlib.h>
3110 int
3111 main ()
3112 {
3113 exit (42);
3114   ;
3115   return 0;
3116 }
3117 _ACEOF
3118 rm -f conftest.$ac_objext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120   (eval $ac_compile) 2>&5
3121   ac_status=$?
3122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123   (exit $ac_status); } &&
3124          { ac_try='test -s conftest.$ac_objext'
3125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126   (eval $ac_try) 2>&5
3127   ac_status=$?
3128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129   (exit $ac_status); }; }; then
3130   :
3131 else
3132   echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3134
3135 continue
3136 fi
3137 rm -f conftest.$ac_objext conftest.$ac_ext
3138   cat >conftest.$ac_ext <<_ACEOF
3139 #line $LINENO "configure"
3140 /* confdefs.h.  */
3141 _ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h.  */
3145 $ac_declaration
3146 int
3147 main ()
3148 {
3149 exit (42);
3150   ;
3151   return 0;
3152 }
3153 _ACEOF
3154 rm -f conftest.$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156   (eval $ac_compile) 2>&5
3157   ac_status=$?
3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159   (exit $ac_status); } &&
3160          { ac_try='test -s conftest.$ac_objext'
3161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162   (eval $ac_try) 2>&5
3163   ac_status=$?
3164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165   (exit $ac_status); }; }; then
3166   break
3167 else
3168   echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3170
3171 fi
3172 rm -f conftest.$ac_objext conftest.$ac_ext
3173 done
3174 rm -f conftest*
3175 if test -n "$ac_declaration"; then
3176   echo '#ifdef __cplusplus' >>confdefs.h
3177   echo $ac_declaration      >>confdefs.h
3178   echo '#endif'             >>confdefs.h
3179 fi
3180
3181 ac_ext=c
3182 ac_cpp='$CPP $CPPFLAGS'
3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3186
3187   CXXFLAGS="$save_CXXFLAGS"
3188
3189
3190
3191
3192   # For directory versioning (e.g., headers) and other variables.
3193   echo "$as_me:$LINENO: checking for GCC version number" >&5
3194 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3195   gcc_version=`$CXX -dumpversion`
3196   echo "$as_me:$LINENO: result: $gcc_version" >&5
3197 echo "${ECHO_T}$gcc_version" >&6
3198
3199   # For some reason, gettext needs this.
3200
3201         echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3202 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3203 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3204   echo $ECHO_N "(cached) $ECHO_C" >&6
3205 else
3206   ac_check_lib_save_LIBS=$LIBS
3207 LIBS="-lcposix  $LIBS"
3208 cat >conftest.$ac_ext <<_ACEOF
3209 #line $LINENO "configure"
3210 /* confdefs.h.  */
3211 _ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h.  */
3215
3216 /* Override any gcc2 internal prototype to avoid an error.  */
3217 #ifdef __cplusplus
3218 extern "C"
3219 #endif
3220 /* We use char because int might match the return type of a gcc2
3221    builtin and then its argument prototype would still apply.  */
3222 char strerror ();
3223 int
3224 main ()
3225 {
3226 strerror ();
3227   ;
3228   return 0;
3229 }
3230 _ACEOF
3231 rm -f conftest.$ac_objext conftest$ac_exeext
3232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3233   (eval $ac_link) 2>&5
3234   ac_status=$?
3235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236   (exit $ac_status); } &&
3237          { ac_try='test -s conftest$ac_exeext'
3238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3239   (eval $ac_try) 2>&5
3240   ac_status=$?
3241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242   (exit $ac_status); }; }; then
3243   ac_cv_lib_cposix_strerror=yes
3244 else
3245   echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3247
3248 ac_cv_lib_cposix_strerror=no
3249 fi
3250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3251 LIBS=$ac_check_lib_save_LIBS
3252 fi
3253 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3254 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3255 if test $ac_cv_lib_cposix_strerror = yes; then
3256   LIBS="$LIBS -lcposix"
3257 fi
3258
3259
3260
3261
3262   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3263   # available).  Uncomment the next line to force a particular method.
3264   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3265 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3266 LN_S=$as_ln_s
3267 if test "$LN_S" = "ln -s"; then
3268   echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3270 else
3271   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3272 echo "${ECHO_T}no, using $LN_S" >&6
3273 fi
3274
3275   #LN_S='cp -p'
3276
3277   if test -n "$ac_tool_prefix"; then
3278   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}as; ac_word=$2
3280 echo "$as_me:$LINENO: checking for $ac_word" >&5
3281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282 if test "${ac_cv_prog_AS+set}" = set; then
3283   echo $ECHO_N "(cached) $ECHO_C" >&6
3284 else
3285   if test -n "$AS"; then
3286   ac_cv_prog_AS="$AS" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291   IFS=$as_save_IFS
3292   test -z "$as_dir" && as_dir=.
3293   for ac_exec_ext in '' $ac_executable_extensions; do
3294   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295     ac_cv_prog_AS="${ac_tool_prefix}as"
3296     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297     break 2
3298   fi
3299 done
3300 done
3301
3302 fi
3303 fi
3304 AS=$ac_cv_prog_AS
3305 if test -n "$AS"; then
3306   echo "$as_me:$LINENO: result: $AS" >&5
3307 echo "${ECHO_T}$AS" >&6
3308 else
3309   echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 fi
3312
3313 fi
3314 if test -z "$ac_cv_prog_AS"; then
3315   ac_ct_AS=$AS
3316   # Extract the first word of "as", so it can be a program name with args.
3317 set dummy as; ac_word=$2
3318 echo "$as_me:$LINENO: checking for $ac_word" >&5
3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3320 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3321   echo $ECHO_N "(cached) $ECHO_C" >&6
3322 else
3323   if test -n "$ac_ct_AS"; then
3324   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH
3328 do
3329   IFS=$as_save_IFS
3330   test -z "$as_dir" && as_dir=.
3331   for ac_exec_ext in '' $ac_executable_extensions; do
3332   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333     ac_cv_prog_ac_ct_AS="as"
3334     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3335     break 2
3336   fi
3337 done
3338 done
3339
3340 fi
3341 fi
3342 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3343 if test -n "$ac_ct_AS"; then
3344   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3345 echo "${ECHO_T}$ac_ct_AS" >&6
3346 else
3347   echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3349 fi
3350
3351   AS=$ac_ct_AS
3352 else
3353   AS="$ac_cv_prog_AS"
3354 fi
3355
3356   if test -n "$ac_tool_prefix"; then
3357   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3358 set dummy ${ac_tool_prefix}ar; ac_word=$2
3359 echo "$as_me:$LINENO: checking for $ac_word" >&5
3360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3361 if test "${ac_cv_prog_AR+set}" = set; then
3362   echo $ECHO_N "(cached) $ECHO_C" >&6
3363 else
3364   if test -n "$AR"; then
3365   ac_cv_prog_AR="$AR" # Let the user override the test.
3366 else
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 for as_dir in $PATH
3369 do
3370   IFS=$as_save_IFS
3371   test -z "$as_dir" && as_dir=.
3372   for ac_exec_ext in '' $ac_executable_extensions; do
3373   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374     ac_cv_prog_AR="${ac_tool_prefix}ar"
3375     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376     break 2
3377   fi
3378 done
3379 done
3380
3381 fi
3382 fi
3383 AR=$ac_cv_prog_AR
3384 if test -n "$AR"; then
3385   echo "$as_me:$LINENO: result: $AR" >&5
3386 echo "${ECHO_T}$AR" >&6
3387 else
3388   echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3390 fi
3391
3392 fi
3393 if test -z "$ac_cv_prog_AR"; then
3394   ac_ct_AR=$AR
3395   # Extract the first word of "ar", so it can be a program name with args.
3396 set dummy ar; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3400   echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402   if test -n "$ac_ct_AR"; then
3403   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408   IFS=$as_save_IFS
3409   test -z "$as_dir" && as_dir=.
3410   for ac_exec_ext in '' $ac_executable_extensions; do
3411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412     ac_cv_prog_ac_ct_AR="ar"
3413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414     break 2
3415   fi
3416 done
3417 done
3418
3419 fi
3420 fi
3421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3422 if test -n "$ac_ct_AR"; then
3423   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3424 echo "${ECHO_T}$ac_ct_AR" >&6
3425 else
3426   echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430   AR=$ac_ct_AR
3431 else
3432   AR="$ac_cv_prog_AR"
3433 fi
3434
3435   if test -n "$ac_tool_prefix"; then
3436   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3438 echo "$as_me:$LINENO: checking for $ac_word" >&5
3439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3440 if test "${ac_cv_prog_RANLIB+set}" = set; then
3441   echo $ECHO_N "(cached) $ECHO_C" >&6
3442 else
3443   if test -n "$RANLIB"; then
3444   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3445 else
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 for as_dir in $PATH
3448 do
3449   IFS=$as_save_IFS
3450   test -z "$as_dir" && as_dir=.
3451   for ac_exec_ext in '' $ac_executable_extensions; do
3452   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3453     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3454     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455     break 2
3456   fi
3457 done
3458 done
3459
3460 fi
3461 fi
3462 RANLIB=$ac_cv_prog_RANLIB
3463 if test -n "$RANLIB"; then
3464   echo "$as_me:$LINENO: result: $RANLIB" >&5
3465 echo "${ECHO_T}$RANLIB" >&6
3466 else
3467   echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3469 fi
3470
3471 fi
3472 if test -z "$ac_cv_prog_RANLIB"; then
3473   ac_ct_RANLIB=$RANLIB
3474   # Extract the first word of "ranlib", so it can be a program name with args.
3475 set dummy ranlib; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3479   echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3481   if test -n "$ac_ct_RANLIB"; then
3482   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3486 do
3487   IFS=$as_save_IFS
3488   test -z "$as_dir" && as_dir=.
3489   for ac_exec_ext in '' $ac_executable_extensions; do
3490   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491     ac_cv_prog_ac_ct_RANLIB="ranlib"
3492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493     break 2
3494   fi
3495 done
3496 done
3497
3498   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3499 fi
3500 fi
3501 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3502 if test -n "$ac_ct_RANLIB"; then
3503   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3504 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3505 else
3506   echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6
3508 fi
3509
3510   RANLIB=$ac_ct_RANLIB
3511 else
3512   RANLIB="$ac_cv_prog_RANLIB"
3513 fi
3514
3515
3516   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3517 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3518     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3519 if test "${enable_maintainer_mode+set}" = set; then
3520   enableval="$enable_maintainer_mode"
3521   USE_MAINTAINER_MODE=$enableval
3522 else
3523   USE_MAINTAINER_MODE=no
3524 fi;
3525   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3526 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3527
3528
3529 if test $USE_MAINTAINER_MODE = yes; then
3530   MAINTAINER_MODE_TRUE=
3531   MAINTAINER_MODE_FALSE='#'
3532 else
3533   MAINTAINER_MODE_TRUE='#'
3534   MAINTAINER_MODE_FALSE=
3535 fi
3536
3537   MAINT=$MAINTAINER_MODE_TRUE
3538
3539
3540
3541   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3542   # which are themselves conditionally expanded.
3543   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3544   ## other macros from doing the same.  This should be automated.)  -pme
3545   need_libmath=no
3546   enable_wchar_t=no
3547   #enable_libstdcxx_debug=no
3548   #enable_libstdcxx_pch=no
3549   #enable_cheaders=c
3550   #c_compatibility=no
3551   #enable_abi_check=no
3552   #enable_symvers=no
3553   #enable_hosted_libstdcxx=yes
3554
3555   # Find platform-specific directories containing configuration info.
3556   # Also possibly modify flags used elsewhere, as needed by the platform.
3557
3558   . $glibcxx_srcdir/configure.host
3559   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3560 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3561   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3562 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3563
3564
3565
3566 #AC_MSG_NOTICE([====== Starting libtool configuration])
3567
3568 # Check whether --enable-shared or --disable-shared was given.
3569 if test "${enable_shared+set}" = set; then
3570   enableval="$enable_shared"
3571   p=${PACKAGE-default}
3572 case $enableval in
3573 yes) enable_shared=yes ;;
3574 no) enable_shared=no ;;
3575 *)
3576   enable_shared=no
3577   # Look at the argument we got.  We use all the common list separators.
3578   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3579   for pkg in $enableval; do
3580     if test "X$pkg" = "X$p"; then
3581       enable_shared=yes
3582     fi
3583   done
3584   IFS="$ac_save_ifs"
3585   ;;
3586 esac
3587 else
3588   enable_shared=yes
3589 fi;
3590 # Check whether --enable-static or --disable-static was given.
3591 if test "${enable_static+set}" = set; then
3592   enableval="$enable_static"
3593   p=${PACKAGE-default}
3594 case $enableval in
3595 yes) enable_static=yes ;;
3596 no) enable_static=no ;;
3597 *)
3598   enable_static=no
3599   # Look at the argument we got.  We use all the common list separators.
3600   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3601   for pkg in $enableval; do
3602     if test "X$pkg" = "X$p"; then
3603       enable_static=yes
3604     fi
3605   done
3606   IFS="$ac_save_ifs"
3607   ;;
3608 esac
3609 else
3610   enable_static=yes
3611 fi;
3612 # Check whether --enable-fast-install or --disable-fast-install was given.
3613 if test "${enable_fast_install+set}" = set; then
3614   enableval="$enable_fast_install"
3615   p=${PACKAGE-default}
3616 case $enableval in
3617 yes) enable_fast_install=yes ;;
3618 no) enable_fast_install=no ;;
3619 *)
3620   enable_fast_install=no
3621   # Look at the argument we got.  We use all the common list separators.
3622   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3623   for pkg in $enableval; do
3624     if test "X$pkg" = "X$p"; then
3625       enable_fast_install=yes
3626     fi
3627   done
3628   IFS="$ac_save_ifs"
3629   ;;
3630 esac
3631 else
3632   enable_fast_install=yes
3633 fi;
3634
3635 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3636 if test "${with_gnu_ld+set}" = set; then
3637   withval="$with_gnu_ld"
3638   test "$withval" = no || with_gnu_ld=yes
3639 else
3640   with_gnu_ld=no
3641 fi;
3642 ac_prog=ld
3643 if test "$GCC" = yes; then
3644   # Check if gcc -print-prog-name=ld gives a path.
3645   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3646 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3647   case $host in
3648   *-*-mingw*)
3649     # gcc leaves a trailing carriage return which upsets mingw
3650     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3651   *)
3652     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3653   esac
3654   case $ac_prog in
3655     # Accept absolute paths.
3656     [\\/]* | [A-Za-z]:[\\/]*)
3657       re_direlt='/[^/][^/]*/\.\./'
3658       # Canonicalize the path of ld
3659       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3660       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3661         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3662       done
3663       test -z "$LD" && LD="$ac_prog"
3664       ;;
3665   "")
3666     # If it fails, then pretend we aren't using GCC.
3667     ac_prog=ld
3668     ;;
3669   *)
3670     # If it is relative, then search for the first ld in PATH.
3671     with_gnu_ld=unknown
3672     ;;
3673   esac
3674 elif test "$with_gnu_ld" = yes; then
3675   echo "$as_me:$LINENO: checking for GNU ld" >&5
3676 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3677 else
3678   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3679 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3680 fi
3681 if test "${lt_cv_path_LD+set}" = set; then
3682   echo $ECHO_N "(cached) $ECHO_C" >&6
3683 else
3684   if test -z "$LD"; then
3685   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3686   for ac_dir in $PATH; do
3687     test -z "$ac_dir" && ac_dir=.
3688     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3689       lt_cv_path_LD="$ac_dir/$ac_prog"
3690       # Check to see if the program is GNU ld.  I'd rather use --version,
3691       # but apparently some GNU ld's only accept -v.
3692       # Break only if it was the GNU/non-GNU ld that we prefer.
3693       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3694         test "$with_gnu_ld" != no && break
3695       else
3696         test "$with_gnu_ld" != yes && break
3697       fi
3698     fi
3699   done
3700   IFS="$ac_save_ifs"
3701 else
3702   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3703 fi
3704 fi
3705
3706 LD="$lt_cv_path_LD"
3707 if test -n "$LD"; then
3708   echo "$as_me:$LINENO: result: $LD" >&5
3709 echo "${ECHO_T}$LD" >&6
3710 else
3711   echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3713 fi
3714 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3715 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3716    { (exit 1); exit 1; }; }
3717 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3718 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3719 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3720   echo $ECHO_N "(cached) $ECHO_C" >&6
3721 else
3722   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3723 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3724   lt_cv_prog_gnu_ld=yes
3725 else
3726   lt_cv_prog_gnu_ld=no
3727 fi
3728 fi
3729 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3730 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3731 with_gnu_ld=$lt_cv_prog_gnu_ld
3732
3733
3734 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3735 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3736 if test "${lt_cv_ld_reload_flag+set}" = set; then
3737   echo $ECHO_N "(cached) $ECHO_C" >&6
3738 else
3739   lt_cv_ld_reload_flag='-r'
3740 fi
3741 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3742 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3743 reload_flag=$lt_cv_ld_reload_flag
3744 test -n "$reload_flag" && reload_flag=" $reload_flag"
3745
3746 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3747 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3748 if test "${lt_cv_path_NM+set}" = set; then
3749   echo $ECHO_N "(cached) $ECHO_C" >&6
3750 else
3751   if test -n "$NM"; then
3752   # Let the user override the test.
3753   lt_cv_path_NM="$NM"
3754 else
3755   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3756   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3757     test -z "$ac_dir" && ac_dir=.
3758     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3759     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3760       # Check to see if the nm accepts a BSD-compat flag.
3761       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3762       #   nm: unknown option "B" ignored
3763       # Tru64's nm complains that /dev/null is an invalid object file
3764       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3765         lt_cv_path_NM="$tmp_nm -B"
3766         break
3767       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3768         lt_cv_path_NM="$tmp_nm -p"
3769         break
3770       else
3771         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3772         continue # so that we can try to find one that supports BSD flags
3773       fi
3774     fi
3775   done
3776   IFS="$ac_save_ifs"
3777   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3778 fi
3779 fi
3780
3781 NM="$lt_cv_path_NM"
3782 echo "$as_me:$LINENO: result: $NM" >&5
3783 echo "${ECHO_T}$NM" >&6
3784
3785 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3786 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3787 if test "${lt_cv_deplibs_check_method+set}" = set; then
3788   echo $ECHO_N "(cached) $ECHO_C" >&6
3789 else
3790   lt_cv_file_magic_cmd='$MAGIC_CMD'
3791 lt_cv_file_magic_test_file=
3792 lt_cv_deplibs_check_method='unknown'
3793 # Need to set the preceding variable on all platforms that support
3794 # interlibrary dependencies.
3795 # 'none' -- dependencies not supported.
3796 # `unknown' -- same as none, but documents that we really don't know.
3797 # 'pass_all' -- all dependencies passed with no checks.
3798 # 'test_compile' -- check by making test program.
3799 # 'file_magic [regex]' -- check by looking for files in library path
3800 # which responds to the $file_magic_cmd with a given egrep regex.
3801 # If you have `file' or equivalent on your system and you're not sure
3802 # whether `pass_all' will *always* work, you probably want this one.
3803
3804 case $host_os in
3805 aix*)
3806   lt_cv_deplibs_check_method=pass_all
3807   ;;
3808
3809 beos*)
3810   lt_cv_deplibs_check_method=pass_all
3811   ;;
3812
3813 bsdi4*)
3814   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3815   lt_cv_file_magic_cmd='/usr/bin/file -L'
3816   lt_cv_file_magic_test_file=/shlib/libc.so
3817   ;;
3818
3819 cygwin* | mingw* |pw32*)
3820   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3821   lt_cv_file_magic_cmd='$OBJDUMP -f'
3822   ;;
3823
3824 darwin* | rhapsody*)
3825   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3826   lt_cv_file_magic_cmd='/usr/bin/file -L'
3827   case "$host_os" in
3828   rhapsody* | darwin1.012)
3829     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3830     ;;
3831   *) # Darwin 1.3 on
3832     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3833     ;;
3834   esac
3835   ;;
3836
3837 freebsd* )
3838   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3839     case $host_cpu in
3840     i*86 )
3841       # Not sure whether the presence of OpenBSD here was a mistake.
3842       # Let's accept both of them until this is cleared up.
3843       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3844       lt_cv_file_magic_cmd=/usr/bin/file
3845       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3846       ;;
3847     esac
3848   else
3849     lt_cv_deplibs_check_method=pass_all
3850   fi
3851   ;;
3852
3853 gnu*)
3854   lt_cv_deplibs_check_method=pass_all
3855   ;;
3856
3857 hpux10.20*|hpux11*)
3858   case $host_cpu in
3859   hppa*)
3860     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3861     lt_cv_file_magic_cmd=/usr/bin/file
3862     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3863     ;;
3864   ia64*)
3865     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3866     lt_cv_file_magic_cmd=/usr/bin/file
3867     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3868     ;;
3869   esac
3870   ;;
3871
3872 irix5* | irix6*)
3873   case $host_os in
3874   irix5*)
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 32-bit MSB dynamic lib MIPS - version 1"
3877     ;;
3878   *)
3879     case $LD in
3880     *-32|*"-32 ") libmagic=32-bit;;
3881     *-n32|*"-n32 ") libmagic=N32;;
3882     *-64|*"-64 ") libmagic=64-bit;;
3883     *) libmagic=never-match;;
3884     esac
3885     # this will be overridden with pass_all, but let us keep it just in case
3886     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3887     ;;
3888   esac
3889   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3890   lt_cv_deplibs_check_method=pass_all
3891   ;;
3892
3893 # This must be Linux ELF.
3894 linux-gnu*)
3895   case $host_cpu in
3896   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3897     lt_cv_deplibs_check_method=pass_all ;;
3898   *)
3899     # glibc up to 2.1.1 does not perform some relocations on ARM
3900     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3901   esac
3902   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3903   ;;
3904
3905 netbsd*)
3906   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3907     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3908   else
3909     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3910   fi
3911   ;;
3912
3913 newsos6)
3914   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3915   lt_cv_file_magic_cmd=/usr/bin/file
3916   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3917   ;;
3918
3919 osf3* | osf4* | osf5*)
3920   # this will be overridden with pass_all, but let us keep it just in case
3921   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3922   lt_cv_file_magic_test_file=/shlib/libc.so
3923   lt_cv_deplibs_check_method=pass_all
3924   ;;
3925
3926 sco3.2v5*)
3927   lt_cv_deplibs_check_method=pass_all
3928   ;;
3929
3930 solaris*)
3931   lt_cv_deplibs_check_method=pass_all
3932   lt_cv_file_magic_test_file=/lib/libc.so
3933   ;;
3934
3935 sysv5uw[78]* | sysv4*uw2*)
3936   lt_cv_deplibs_check_method=pass_all
3937   ;;
3938
3939 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3940   case $host_vendor in
3941   ncr)
3942     lt_cv_deplibs_check_method=pass_all
3943     ;;
3944   motorola)
3945     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]'
3946     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3947     ;;
3948   esac
3949   ;;
3950 esac
3951
3952 fi
3953 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3954 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3955 file_magic_cmd=$lt_cv_file_magic_cmd
3956 deplibs_check_method=$lt_cv_deplibs_check_method
3957
3958
3959
3960
3961 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3962
3963 # Only perform the check for file, if the check method requires it
3964 case $deplibs_check_method in
3965 file_magic*)
3966   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3967     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3968 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3969 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3970   echo $ECHO_N "(cached) $ECHO_C" >&6
3971 else
3972   case $MAGIC_CMD in
3973   /*)
3974   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3975   ;;
3976   ?:/*)
3977   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3978   ;;
3979   *)
3980   ac_save_MAGIC_CMD="$MAGIC_CMD"
3981   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3982   ac_dummy="/usr/bin:$PATH"
3983   for ac_dir in $ac_dummy; do
3984     test -z "$ac_dir" && ac_dir=.
3985     if test -f $ac_dir/${ac_tool_prefix}file; then
3986       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3987       if test -n "$file_magic_test_file"; then
3988         case $deplibs_check_method in
3989         "file_magic "*)
3990           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3991           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3992           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3993             egrep "$file_magic_regex" > /dev/null; then
3994             :
3995           else
3996             cat <<EOF 1>&2
3997
3998 *** Warning: the command libtool uses to detect shared libraries,
3999 *** $file_magic_cmd, produces output that libtool cannot recognize.
4000 *** The result is that libtool may fail to recognize shared libraries
4001 *** as such.  This will affect the creation of libtool libraries that
4002 *** depend on shared libraries, but programs linked with such libtool
4003 *** libraries will work regardless of this problem.  Nevertheless, you
4004 *** may want to report the problem to your system manager and/or to
4005 *** bug-libtool@gnu.org
4006
4007 EOF
4008           fi ;;
4009         esac
4010       fi
4011       break
4012     fi
4013   done
4014   IFS="$ac_save_ifs"
4015   MAGIC_CMD="$ac_save_MAGIC_CMD"
4016   ;;
4017 esac
4018 fi
4019
4020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4021 if test -n "$MAGIC_CMD"; then
4022   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4023 echo "${ECHO_T}$MAGIC_CMD" >&6
4024 else
4025   echo "$as_me:$LINENO: result: no" >&5
4026 echo "${ECHO_T}no" >&6
4027 fi
4028
4029 if test -z "$lt_cv_path_MAGIC_CMD"; then
4030   if test -n "$ac_tool_prefix"; then
4031     echo "$as_me:$LINENO: checking for file" >&5
4032 echo $ECHO_N "checking for file... $ECHO_C" >&6
4033 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4034   echo $ECHO_N "(cached) $ECHO_C" >&6
4035 else
4036   case $MAGIC_CMD in
4037   /*)
4038   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4039   ;;
4040   ?:/*)
4041   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4042   ;;
4043   *)
4044   ac_save_MAGIC_CMD="$MAGIC_CMD"
4045   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4046   ac_dummy="/usr/bin:$PATH"
4047   for ac_dir in $ac_dummy; do
4048     test -z "$ac_dir" && ac_dir=.
4049     if test -f $ac_dir/file; then
4050       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4051       if test -n "$file_magic_test_file"; then
4052         case $deplibs_check_method in
4053         "file_magic "*)
4054           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4055           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4056           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4057             egrep "$file_magic_regex" > /dev/null; then
4058             :
4059           else
4060             cat <<EOF 1>&2
4061
4062 *** Warning: the command libtool uses to detect shared libraries,
4063 *** $file_magic_cmd, produces output that libtool cannot recognize.
4064 *** The result is that libtool may fail to recognize shared libraries
4065 *** as such.  This will affect the creation of libtool libraries that
4066 *** depend on shared libraries, but programs linked with such libtool
4067 *** libraries will work regardless of this problem.  Nevertheless, you
4068 *** may want to report the problem to your system manager and/or to
4069 *** bug-libtool@gnu.org
4070
4071 EOF
4072           fi ;;
4073         esac
4074       fi
4075       break
4076     fi
4077   done
4078   IFS="$ac_save_ifs"
4079   MAGIC_CMD="$ac_save_MAGIC_CMD"
4080   ;;
4081 esac
4082 fi
4083
4084 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4085 if test -n "$MAGIC_CMD"; then
4086   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4087 echo "${ECHO_T}$MAGIC_CMD" >&6
4088 else
4089   echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4091 fi
4092
4093   else
4094     MAGIC_CMD=:
4095   fi
4096 fi
4097
4098   fi
4099   ;;
4100 esac
4101
4102 if test -n "$ac_tool_prefix"; then
4103   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4105 echo "$as_me:$LINENO: checking for $ac_word" >&5
4106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4107 if test "${ac_cv_prog_RANLIB+set}" = set; then
4108   echo $ECHO_N "(cached) $ECHO_C" >&6
4109 else
4110   if test -n "$RANLIB"; then
4111   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4112 else
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 for as_dir in $PATH
4115 do
4116   IFS=$as_save_IFS
4117   test -z "$as_dir" && as_dir=.
4118   for ac_exec_ext in '' $ac_executable_extensions; do
4119   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4121     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4122     break 2
4123   fi
4124 done
4125 done
4126
4127 fi
4128 fi
4129 RANLIB=$ac_cv_prog_RANLIB
4130 if test -n "$RANLIB"; then
4131   echo "$as_me:$LINENO: result: $RANLIB" >&5
4132 echo "${ECHO_T}$RANLIB" >&6
4133 else
4134   echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4136 fi
4137
4138 fi
4139 if test -z "$ac_cv_prog_RANLIB"; then
4140   ac_ct_RANLIB=$RANLIB
4141   # Extract the first word of "ranlib", so it can be a program name with args.
4142 set dummy ranlib; ac_word=$2
4143 echo "$as_me:$LINENO: checking for $ac_word" >&5
4144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4146   echo $ECHO_N "(cached) $ECHO_C" >&6
4147 else
4148   if test -n "$ac_ct_RANLIB"; then
4149   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4150 else
4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 for as_dir in $PATH
4153 do
4154   IFS=$as_save_IFS
4155   test -z "$as_dir" && as_dir=.
4156   for ac_exec_ext in '' $ac_executable_extensions; do
4157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4158     ac_cv_prog_ac_ct_RANLIB="ranlib"
4159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160     break 2
4161   fi
4162 done
4163 done
4164
4165   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4166 fi
4167 fi
4168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4169 if test -n "$ac_ct_RANLIB"; then
4170   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4171 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4172 else
4173   echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177   RANLIB=$ac_ct_RANLIB
4178 else
4179   RANLIB="$ac_cv_prog_RANLIB"
4180 fi
4181
4182 if test -n "$ac_tool_prefix"; then
4183   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4184 set dummy ${ac_tool_prefix}strip; ac_word=$2
4185 echo "$as_me:$LINENO: checking for $ac_word" >&5
4186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4187 if test "${ac_cv_prog_STRIP+set}" = set; then
4188   echo $ECHO_N "(cached) $ECHO_C" >&6
4189 else
4190   if test -n "$STRIP"; then
4191   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4192 else
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4195 do
4196   IFS=$as_save_IFS
4197   test -z "$as_dir" && as_dir=.
4198   for ac_exec_ext in '' $ac_executable_extensions; do
4199   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4202     break 2
4203   fi
4204 done
4205 done
4206
4207 fi
4208 fi
4209 STRIP=$ac_cv_prog_STRIP
4210 if test -n "$STRIP"; then
4211   echo "$as_me:$LINENO: result: $STRIP" >&5
4212 echo "${ECHO_T}$STRIP" >&6
4213 else
4214   echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4216 fi
4217
4218 fi
4219 if test -z "$ac_cv_prog_STRIP"; then
4220   ac_ct_STRIP=$STRIP
4221   # Extract the first word of "strip", so it can be a program name with args.
4222 set dummy strip; ac_word=$2
4223 echo "$as_me:$LINENO: checking for $ac_word" >&5
4224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4225 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4226   echo $ECHO_N "(cached) $ECHO_C" >&6
4227 else
4228   if test -n "$ac_ct_STRIP"; then
4229   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4230 else
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4233 do
4234   IFS=$as_save_IFS
4235   test -z "$as_dir" && as_dir=.
4236   for ac_exec_ext in '' $ac_executable_extensions; do
4237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238     ac_cv_prog_ac_ct_STRIP="strip"
4239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4240     break 2
4241   fi
4242 done
4243 done
4244
4245   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4246 fi
4247 fi
4248 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4249 if test -n "$ac_ct_STRIP"; then
4250   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4251 echo "${ECHO_T}$ac_ct_STRIP" >&6
4252 else
4253   echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4255 fi
4256
4257   STRIP=$ac_ct_STRIP
4258 else
4259   STRIP="$ac_cv_prog_STRIP"
4260 fi
4261
4262
4263 # Check for any special flags to pass to ltconfig.
4264 libtool_flags="--cache-file=$cache_file"
4265 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4266 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4267 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4268 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4269 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4270
4271
4272 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4273 if test "${enable_libtool_lock+set}" = set; then
4274   enableval="$enable_libtool_lock"
4275
4276 fi;
4277 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4278 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4279
4280
4281 # Check whether --with-pic or --without-pic was given.
4282 if test "${with_pic+set}" = set; then
4283   withval="$with_pic"
4284   pic_mode="$withval"
4285 else
4286   pic_mode=default
4287 fi;
4288 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4289 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4290
4291 # Some flags need to be propagated to the compiler or linker for good
4292 # libtool support.
4293 case $host in
4294 *-*-irix6*)
4295   # Find out which ABI we are using.
4296   echo '#line 4296 "configure"' > conftest.$ac_ext
4297   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4298   (eval $ac_compile) 2>&5
4299   ac_status=$?
4300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301   (exit $ac_status); }; then
4302    if test "$lt_cv_prog_gnu_ld" = yes; then
4303     case `/usr/bin/file conftest.$ac_objext` in
4304     *32-bit*)
4305       LD="${LD-ld} -melf32bsmip"
4306       ;;
4307     *N32*)
4308       LD="${LD-ld} -melf32bmipn32"
4309       ;;
4310     *64-bit*)
4311       LD="${LD-ld} -melf64bmip"
4312       ;;
4313     esac
4314    else
4315     case `/usr/bin/file conftest.$ac_objext` in
4316     *32-bit*)
4317       LD="${LD-ld} -32"
4318       ;;
4319     *N32*)
4320       LD="${LD-ld} -n32"
4321       ;;
4322     *64-bit*)
4323       LD="${LD-ld} -64"
4324       ;;
4325     esac
4326    fi
4327   fi
4328   rm -rf conftest*
4329   ;;
4330
4331 ia64-*-hpux*)
4332   # Find out which ABI we are using.
4333   echo 'int i;' > conftest.$ac_ext
4334   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4335   (eval $ac_compile) 2>&5
4336   ac_status=$?
4337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338   (exit $ac_status); }; then
4339     case "`/usr/bin/file conftest.o`" in
4340     *ELF-32*)
4341       HPUX_IA64_MODE="32"
4342       ;;
4343     *ELF-64*)
4344       HPUX_IA64_MODE="64"
4345       ;;
4346     esac
4347   fi
4348   rm -rf conftest*
4349   ;;
4350
4351 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4352   # Find out which ABI we are using.
4353   echo 'int i;' > conftest.$ac_ext
4354   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355   (eval $ac_compile) 2>&5
4356   ac_status=$?
4357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358   (exit $ac_status); }; then
4359     case "`/usr/bin/file conftest.o`" in
4360     *32-bit*)
4361       case $host in
4362         x86_64-*linux*)
4363           LD="${LD-ld} -m elf_i386"
4364           ;;
4365         ppc64-*linux*)
4366           LD="${LD-ld} -m elf32ppclinux"
4367           ;;
4368         s390x-*linux*)
4369           LD="${LD-ld} -m elf_s390"
4370           ;;
4371         sparc64-*linux*)
4372           LD="${LD-ld} -m elf32_sparc"
4373           ;;
4374       esac
4375       ;;
4376     *64-bit*)
4377       case $host in
4378         x86_64-*linux*)
4379           LD="${LD-ld} -m elf_x86_64"
4380           ;;
4381         ppc*-*linux*|powerpc*-*linux*)
4382           LD="${LD-ld} -m elf64ppc"
4383           ;;
4384         s390*-*linux*)
4385           LD="${LD-ld} -m elf64_s390"
4386           ;;
4387         sparc*-*linux*)
4388           LD="${LD-ld} -m elf64_sparc"
4389           ;;
4390       esac
4391       ;;
4392     esac
4393   fi
4394   rm -rf conftest*
4395   ;;
4396
4397 *-*-sco3.2v5*)
4398   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4399   SAVE_CFLAGS="$CFLAGS"
4400   CFLAGS="$CFLAGS -belf"
4401   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4402 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4403 if test "${lt_cv_cc_needs_belf+set}" = set; then
4404   echo $ECHO_N "(cached) $ECHO_C" >&6
4405 else
4406
4407
4408      ac_ext=c
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413
4414      cat >conftest.$ac_ext <<_ACEOF
4415 #line $LINENO "configure"
4416 /* confdefs.h.  */
4417 _ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>conftest.$ac_ext <<_ACEOF
4420 /* end confdefs.h.  */
4421
4422 int
4423 main ()
4424 {
4425
4426   ;
4427   return 0;
4428 }
4429 _ACEOF
4430 rm -f conftest.$ac_objext conftest$ac_exeext
4431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4432   (eval $ac_link) 2>&5
4433   ac_status=$?
4434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435   (exit $ac_status); } &&
4436          { ac_try='test -s conftest$ac_exeext'
4437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438   (eval $ac_try) 2>&5
4439   ac_status=$?
4440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441   (exit $ac_status); }; }; then
4442   lt_cv_cc_needs_belf=yes
4443 else
4444   echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.$ac_ext >&5
4446
4447 lt_cv_cc_needs_belf=no
4448 fi
4449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4450      ac_ext=c
4451 ac_cpp='$CPP $CPPFLAGS'
4452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455
4456 fi
4457 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4458 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4459   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4460     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4461     CFLAGS="$SAVE_CFLAGS"
4462   fi
4463   ;;
4464
4465
4466 esac
4467
4468
4469 # Save cache, so that ltconfig can load it
4470 cat >confcache <<\_ACEOF
4471 # This file is a shell script that caches the results of configure
4472 # tests run on this system so they can be shared between configure
4473 # scripts and configure runs, see configure's option --config-cache.
4474 # It is not useful on other systems.  If it contains results you don't
4475 # want to keep, you may remove or edit it.
4476 #
4477 # config.status only pays attention to the cache file if you give it
4478 # the --recheck option to rerun configure.
4479 #
4480 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4481 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4482 # following values.
4483
4484 _ACEOF
4485
4486 # The following way of writing the cache mishandles newlines in values,
4487 # but we know of no workaround that is simple, portable, and efficient.
4488 # So, don't put newlines in cache variables' values.
4489 # Ultrix sh set writes to stderr and can't be redirected directly,
4490 # and sets the high bit in the cache file unless we assign to the vars.
4491 {
4492   (set) 2>&1 |
4493     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4494     *ac_space=\ *)
4495       # `set' does not quote correctly, so add quotes (double-quote
4496       # substitution turns \\\\ into \\, and sed turns \\ into \).
4497       sed -n \
4498         "s/'/'\\\\''/g;
4499           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4500       ;;
4501     *)
4502       # `set' quotes correctly as required by POSIX, so do not add quotes.
4503       sed -n \
4504         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4505       ;;
4506     esac;
4507 } |
4508   sed '
4509      t clear
4510      : clear
4511      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4512      t end
4513      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4514      : end' >>confcache
4515 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4516   if test -w $cache_file; then
4517     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4518     cat confcache >$cache_file
4519   else
4520     echo "not updating unwritable cache $cache_file"
4521   fi
4522 fi
4523 rm -f confcache
4524
4525 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4526 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4527 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4528 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4529 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4530 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4531 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4532 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4533 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4534 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4535 echo "$as_me: error: libtool configure failed" >&2;}
4536    { (exit 1); exit 1; }; }
4537
4538 # Reload cache, that may have been modified by ltconfig
4539 if test -r "$cache_file"; then
4540   # Some versions of bash will fail to source /dev/null (special
4541   # files actually), so we avoid doing that.
4542   if test -f "$cache_file"; then
4543     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4544 echo "$as_me: loading cache $cache_file" >&6;}
4545     case $cache_file in
4546       [\\/]* | ?:[\\/]* ) . $cache_file;;
4547       *)                      . ./$cache_file;;
4548     esac
4549   fi
4550 else
4551   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4552 echo "$as_me: creating cache $cache_file" >&6;}
4553   >$cache_file
4554 fi
4555
4556
4557 # This can be used to rebuild libtool when needed
4558 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4559
4560 # Always use our own libtool.
4561 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4562
4563 # Redirect the config.log output again, so that the ltconfig log is not
4564 # clobbered by the next message.
4565 exec 5>>./config.log
4566
4567 ac_ext=cc
4568 ac_cpp='$CXXCPP $CPPFLAGS'
4569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4572 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4573 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4574 if test -z "$CXXCPP"; then
4575   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4576   echo $ECHO_N "(cached) $ECHO_C" >&6
4577 else
4578       # Double quotes because CXXCPP needs to be expanded
4579     for CXXCPP in "$CXX -E" "/lib/cpp"
4580     do
4581       ac_preproc_ok=false
4582 for ac_cxx_preproc_warn_flag in '' yes
4583 do
4584   # Use a header file that comes with gcc, so configuring glibc
4585   # with a fresh cross-compiler works.
4586   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4587   # <limits.h> exists even on freestanding compilers.
4588   # On the NeXT, cc -E runs the code through the compiler's parser,
4589   # not just through cpp. "Syntax error" is here to catch this case.
4590   cat >conftest.$ac_ext <<_ACEOF
4591 #line $LINENO "configure"
4592 /* confdefs.h.  */
4593 _ACEOF
4594 cat confdefs.h >>conftest.$ac_ext
4595 cat >>conftest.$ac_ext <<_ACEOF
4596 /* end confdefs.h.  */
4597 #ifdef __STDC__
4598 # include <limits.h>
4599 #else
4600 # include <assert.h>
4601 #endif
4602                      Syntax error
4603 _ACEOF
4604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4605   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4606   ac_status=$?
4607   grep -v '^ *+' conftest.er1 >conftest.err
4608   rm -f conftest.er1
4609   cat conftest.err >&5
4610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611   (exit $ac_status); } >/dev/null; then
4612   if test -s conftest.err; then
4613     ac_cpp_err=$ac_cxx_preproc_warn_flag
4614   else
4615     ac_cpp_err=
4616   fi
4617 else
4618   ac_cpp_err=yes
4619 fi
4620 if test -z "$ac_cpp_err"; then
4621   :
4622 else
4623   echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4625
4626   # Broken: fails on valid input.
4627 continue
4628 fi
4629 rm -f conftest.err conftest.$ac_ext
4630
4631   # OK, works on sane cases.  Now check whether non-existent headers
4632   # can be detected and how.
4633   cat >conftest.$ac_ext <<_ACEOF
4634 #line $LINENO "configure"
4635 /* confdefs.h.  */
4636 _ACEOF
4637 cat confdefs.h >>conftest.$ac_ext
4638 cat >>conftest.$ac_ext <<_ACEOF
4639 /* end confdefs.h.  */
4640 #include <ac_nonexistent.h>
4641 _ACEOF
4642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4643   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4644   ac_status=$?
4645   grep -v '^ *+' conftest.er1 >conftest.err
4646   rm -f conftest.er1
4647   cat conftest.err >&5
4648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649   (exit $ac_status); } >/dev/null; then
4650   if test -s conftest.err; then
4651     ac_cpp_err=$ac_cxx_preproc_warn_flag
4652   else
4653     ac_cpp_err=
4654   fi
4655 else
4656   ac_cpp_err=yes
4657 fi
4658 if test -z "$ac_cpp_err"; then
4659   # Broken: success on invalid input.
4660 continue
4661 else
4662   echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.$ac_ext >&5
4664
4665   # Passes both tests.
4666 ac_preproc_ok=:
4667 break
4668 fi
4669 rm -f conftest.err conftest.$ac_ext
4670
4671 done
4672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4673 rm -f conftest.err conftest.$ac_ext
4674 if $ac_preproc_ok; then
4675   break
4676 fi
4677
4678     done
4679     ac_cv_prog_CXXCPP=$CXXCPP
4680
4681 fi
4682   CXXCPP=$ac_cv_prog_CXXCPP
4683 else
4684   ac_cv_prog_CXXCPP=$CXXCPP
4685 fi
4686 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4687 echo "${ECHO_T}$CXXCPP" >&6
4688 ac_preproc_ok=false
4689 for ac_cxx_preproc_warn_flag in '' yes
4690 do
4691   # Use a header file that comes with gcc, so configuring glibc
4692   # with a fresh cross-compiler works.
4693   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4694   # <limits.h> exists even on freestanding compilers.
4695   # On the NeXT, cc -E runs the code through the compiler's parser,
4696   # not just through cpp. "Syntax error" is here to catch this case.
4697   cat >conftest.$ac_ext <<_ACEOF
4698 #line $LINENO "configure"
4699 /* confdefs.h.  */
4700 _ACEOF
4701 cat confdefs.h >>conftest.$ac_ext
4702 cat >>conftest.$ac_ext <<_ACEOF
4703 /* end confdefs.h.  */
4704 #ifdef __STDC__
4705 # include <limits.h>
4706 #else
4707 # include <assert.h>
4708 #endif
4709                      Syntax error
4710 _ACEOF
4711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4712   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4713   ac_status=$?
4714   grep -v '^ *+' conftest.er1 >conftest.err
4715   rm -f conftest.er1
4716   cat conftest.err >&5
4717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718   (exit $ac_status); } >/dev/null; then
4719   if test -s conftest.err; then
4720     ac_cpp_err=$ac_cxx_preproc_warn_flag
4721   else
4722     ac_cpp_err=
4723   fi
4724 else
4725   ac_cpp_err=yes
4726 fi
4727 if test -z "$ac_cpp_err"; then
4728   :
4729 else
4730   echo "$as_me: failed program was:" >&5
4731 sed 's/^/| /' conftest.$ac_ext >&5
4732
4733   # Broken: fails on valid input.
4734 continue
4735 fi
4736 rm -f conftest.err conftest.$ac_ext
4737
4738   # OK, works on sane cases.  Now check whether non-existent headers
4739   # can be detected and how.
4740   cat >conftest.$ac_ext <<_ACEOF
4741 #line $LINENO "configure"
4742 /* confdefs.h.  */
4743 _ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h.  */
4747 #include <ac_nonexistent.h>
4748 _ACEOF
4749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4750   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4751   ac_status=$?
4752   grep -v '^ *+' conftest.er1 >conftest.err
4753   rm -f conftest.er1
4754   cat conftest.err >&5
4755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756   (exit $ac_status); } >/dev/null; then
4757   if test -s conftest.err; then
4758     ac_cpp_err=$ac_cxx_preproc_warn_flag
4759   else
4760     ac_cpp_err=
4761   fi
4762 else
4763   ac_cpp_err=yes
4764 fi
4765 if test -z "$ac_cpp_err"; then
4766   # Broken: success on invalid input.
4767 continue
4768 else
4769   echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.$ac_ext >&5
4771
4772   # Passes both tests.
4773 ac_preproc_ok=:
4774 break
4775 fi
4776 rm -f conftest.err conftest.$ac_ext
4777
4778 done
4779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4780 rm -f conftest.err conftest.$ac_ext
4781 if $ac_preproc_ok; then
4782   :
4783 else
4784   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4785 See \`config.log' for more details." >&5
4786 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4787 See \`config.log' for more details." >&2;}
4788    { (exit 1); exit 1; }; }
4789 fi
4790
4791 ac_ext=c
4792 ac_cpp='$CPP $CPPFLAGS'
4793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4796
4797
4798
4799 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4800 lt_save_CC="$CC"
4801 lt_save_CFLAGS="$CFLAGS"
4802 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4803 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4804 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4805 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4806 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4807 deplibs_check_method="$deplibs_check_method" \
4808 file_magic_cmd="$file_magic_cmd" \
4809 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4810 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4811 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4812 echo "$as_me: error: libtool tag configuration failed" >&2;}
4813    { (exit 1); exit 1; }; }
4814 CC="$lt_save_CC"
4815 CFLAGS="$lt_save_CFLAGS"
4816
4817 # Redirect the config.log output again, so that the ltconfig log is not
4818 # clobbered by the next message.
4819 exec 5>>./config.log
4820
4821
4822
4823
4824
4825
4826
4827
4828 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4829
4830 # Possibly disable most of the library.
4831 ## XXX Consider skipping unncessary tests altogether in this case, rather
4832 ## than just ignoring the results.  Faster /and/ more correct, win win.
4833
4834   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4835 if test "${enable_hosted_libstdcxx+set}" = set; then
4836   enableval="$enable_hosted_libstdcxx"
4837
4838 else
4839   enable_hosted_libstdcxx=yes
4840 fi;
4841   if test "$enable_hosted_libstdcxx" = no; then
4842     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4843 echo "$as_me: Only freestanding libraries will be built" >&6;}
4844     is_hosted=no
4845     enable_abi_check=no
4846     enable_libstdcxx_pch=no
4847   else
4848     is_hosted=yes
4849   fi
4850
4851
4852
4853 # Check for support bits and g++ features that don't require linking.
4854
4855   echo "$as_me:$LINENO: checking for exception model to use" >&5
4856 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4857
4858
4859   ac_ext=cc
4860 ac_cpp='$CXXCPP $CPPFLAGS'
4861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4864
4865    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4866 if test "${enable_sjlj_exceptions+set}" = set; then
4867   enableval="$enable_sjlj_exceptions"
4868
4869       case "$enableval" in
4870        yes|no|auto) ;;
4871        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4872 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4873    { (exit 1); exit 1; }; } ;;
4874                           esac
4875
4876 else
4877   enable_sjlj_exceptions=auto
4878 fi;
4879
4880
4881   if test $enable_sjlj_exceptions = auto; then
4882     # Botheration.  Now we've got to detect the exception model.  Link tests
4883     # against libgcc.a are problematic since we've not been given proper -L
4884     # bits for single-tree newlib and libgloss.
4885     #
4886     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4887     cat > conftest.$ac_ext << EOF
4888 #line 4888 "configure"
4889 struct S { ~S(); };
4890 void bar();
4891 void foo()
4892 {
4893   S s;
4894   bar();
4895 }
4896 EOF
4897     old_CXXFLAGS="$CXXFLAGS"
4898     CXXFLAGS=-S
4899     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900   (eval $ac_compile) 2>&5
4901   ac_status=$?
4902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903   (exit $ac_status); }; then
4904       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4905         enable_sjlj_exceptions=yes
4906       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4907         enable_sjlj_exceptions=no
4908       fi
4909     fi
4910     CXXFLAGS="$old_CXXFLAGS"
4911     rm -f conftest*
4912   fi
4913
4914   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
4915   # to two different models.
4916   case $enable_sjlj_exceptions in
4917     yes)
4918
4919 cat >>confdefs.h <<\_ACEOF
4920 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4921 _ACEOF
4922
4923       ac_exception_model_name=sjlj
4924       ;;
4925     no)
4926       ac_exception_model_name="call frame"
4927       ;;
4928     *)
4929       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4930 echo "$as_me: error: unable to detect exception model" >&2;}
4931    { (exit 1); exit 1; }; }
4932       ;;
4933   esac
4934  ac_ext=c
4935 ac_cpp='$CPP $CPPFLAGS'
4936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4939
4940  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4941 echo "${ECHO_T}$ac_exception_model_name" >&6
4942
4943
4944   echo "$as_me:$LINENO: checking for use of libunwind" >&5
4945 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4946    # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4947 if test "${enable_libunwind_exceptions+set}" = set; then
4948   enableval="$enable_libunwind_exceptions"
4949
4950       case "$enableval" in
4951        yes|no) ;;
4952        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4953 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4954    { (exit 1); exit 1; }; } ;;
4955       esac
4956
4957 else
4958   enable_libunwind_exceptions=no
4959 fi;
4960
4961   echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4962 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4963   if test $enable_libunwind_exceptions = yes; then
4964     LIBUNWIND_FLAG="-lunwind"
4965   else
4966     LIBUNWIND_FLAG=""
4967   fi
4968
4969
4970
4971   echo "$as_me:$LINENO: checking for enabled PCH" >&5
4972 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4973    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4974 if test "${enable_libstdcxx_pch+set}" = set; then
4975   enableval="$enable_libstdcxx_pch"
4976
4977       case "$enableval" in
4978        yes|no) ;;
4979        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4980 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4981    { (exit 1); exit 1; }; } ;;
4982       esac
4983
4984 else
4985   enable_libstdcxx_pch=$is_hosted
4986 fi;
4987
4988   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4989 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4990
4991   if test $enable_libstdcxx_pch = yes; then
4992     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4993 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4994 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4995   echo $ECHO_N "(cached) $ECHO_C" >&6
4996 else
4997   ac_save_CXXFLAGS="$CXXFLAGS"
4998        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4999
5000
5001        ac_ext=cc
5002 ac_cpp='$CXXCPP $CPPFLAGS'
5003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5006
5007        echo '#include <math.h>' > conftest.h
5008        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5009                           -o conftest.h.gch 1>&5 2>&1 &&
5010                 echo '#error "pch failed"' > conftest.h &&
5011           echo '#include "conftest.h"' > conftest.cc &&
5012                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5013        then
5014          glibcxx_cv_prog_CXX_pch=yes
5015        else
5016          glibcxx_cv_prog_CXX_pch=no
5017        fi
5018        rm -f conftest*
5019        CXXFLAGS=$ac_save_CXXFLAGS
5020        ac_ext=c
5021 ac_cpp='$CPP $CPPFLAGS'
5022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5025
5026
5027 fi
5028 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5029 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5030     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5031   fi
5032
5033
5034   if test $enable_libstdcxx_pch = yes; then
5035     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5036   else
5037     glibcxx_PCHFLAGS=""
5038   fi
5039
5040
5041
5042 # Enable all the variable C++ runtime options.
5043 # NB: C_MBCHAR must come early.
5044
5045   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5046 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5047    # Check whether --enable-cstdio or --disable-cstdio was given.
5048 if test "${enable_cstdio+set}" = set; then
5049   enableval="$enable_cstdio"
5050
5051       case "$enableval" in
5052        stdio) ;;
5053        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5054 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5055    { (exit 1); exit 1; }; } ;;
5056                           esac
5057
5058 else
5059   enable_cstdio=stdio
5060 fi;
5061
5062
5063   # Now that libio has been removed, you can have any color you want as long
5064   # as it's black.  This is one big no-op until other packages are added, but
5065   # showing the framework never hurts.
5066   case ${enable_cstdio} in
5067     stdio)
5068       CSTDIO_H=config/io/c_io_stdio.h
5069       BASIC_FILE_H=config/io/basic_file_stdio.h
5070       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5071       echo "$as_me:$LINENO: result: stdio" >&5
5072 echo "${ECHO_T}stdio" >&6
5073       ;;
5074   esac
5075
5076     FPOS_H=$fpos_include_dir
5077
5078
5079
5080
5081
5082
5083 ac_ext=c
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5089 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5090 # On Suns, sometimes $CPP names a directory.
5091 if test -n "$CPP" && test -d "$CPP"; then
5092   CPP=
5093 fi
5094 if test -z "$CPP"; then
5095   if test "${ac_cv_prog_CPP+set}" = set; then
5096   echo $ECHO_N "(cached) $ECHO_C" >&6
5097 else
5098       # Double quotes because CPP needs to be expanded
5099     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5100     do
5101       ac_preproc_ok=false
5102 for ac_c_preproc_warn_flag in '' yes
5103 do
5104   # Use a header file that comes with gcc, so configuring glibc
5105   # with a fresh cross-compiler works.
5106   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5107   # <limits.h> exists even on freestanding compilers.
5108   # On the NeXT, cc -E runs the code through the compiler's parser,
5109   # not just through cpp. "Syntax error" is here to catch this case.
5110   cat >conftest.$ac_ext <<_ACEOF
5111 #line $LINENO "configure"
5112 /* confdefs.h.  */
5113 _ACEOF
5114 cat confdefs.h >>conftest.$ac_ext
5115 cat >>conftest.$ac_ext <<_ACEOF
5116 /* end confdefs.h.  */
5117 #ifdef __STDC__
5118 # include <limits.h>
5119 #else
5120 # include <assert.h>
5121 #endif
5122                      Syntax error
5123 _ACEOF
5124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5125   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5126   ac_status=$?
5127   grep -v '^ *+' conftest.er1 >conftest.err
5128   rm -f conftest.er1
5129   cat conftest.err >&5
5130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131   (exit $ac_status); } >/dev/null; then
5132   if test -s conftest.err; then
5133     ac_cpp_err=$ac_c_preproc_warn_flag
5134   else
5135     ac_cpp_err=
5136   fi
5137 else
5138   ac_cpp_err=yes
5139 fi
5140 if test -z "$ac_cpp_err"; then
5141   :
5142 else
5143   echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5145
5146   # Broken: fails on valid input.
5147 continue
5148 fi
5149 rm -f conftest.err conftest.$ac_ext
5150
5151   # OK, works on sane cases.  Now check whether non-existent headers
5152   # can be detected and how.
5153   cat >conftest.$ac_ext <<_ACEOF
5154 #line $LINENO "configure"
5155 /* confdefs.h.  */
5156 _ACEOF
5157 cat confdefs.h >>conftest.$ac_ext
5158 cat >>conftest.$ac_ext <<_ACEOF
5159 /* end confdefs.h.  */
5160 #include <ac_nonexistent.h>
5161 _ACEOF
5162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5163   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5164   ac_status=$?
5165   grep -v '^ *+' conftest.er1 >conftest.err
5166   rm -f conftest.er1
5167   cat conftest.err >&5
5168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169   (exit $ac_status); } >/dev/null; then
5170   if test -s conftest.err; then
5171     ac_cpp_err=$ac_c_preproc_warn_flag
5172   else
5173     ac_cpp_err=
5174   fi
5175 else
5176   ac_cpp_err=yes
5177 fi
5178 if test -z "$ac_cpp_err"; then
5179   # Broken: success on invalid input.
5180 continue
5181 else
5182   echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.$ac_ext >&5
5184
5185   # Passes both tests.
5186 ac_preproc_ok=:
5187 break
5188 fi
5189 rm -f conftest.err conftest.$ac_ext
5190
5191 done
5192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5193 rm -f conftest.err conftest.$ac_ext
5194 if $ac_preproc_ok; then
5195   break
5196 fi
5197
5198     done
5199     ac_cv_prog_CPP=$CPP
5200
5201 fi
5202   CPP=$ac_cv_prog_CPP
5203 else
5204   ac_cv_prog_CPP=$CPP
5205 fi
5206 echo "$as_me:$LINENO: result: $CPP" >&5
5207 echo "${ECHO_T}$CPP" >&6
5208 ac_preproc_ok=false
5209 for ac_c_preproc_warn_flag in '' yes
5210 do
5211   # Use a header file that comes with gcc, so configuring glibc
5212   # with a fresh cross-compiler works.
5213   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5214   # <limits.h> exists even on freestanding compilers.
5215   # On the NeXT, cc -E runs the code through the compiler's parser,
5216   # not just through cpp. "Syntax error" is here to catch this case.
5217   cat >conftest.$ac_ext <<_ACEOF
5218 #line $LINENO "configure"
5219 /* confdefs.h.  */
5220 _ACEOF
5221 cat confdefs.h >>conftest.$ac_ext
5222 cat >>conftest.$ac_ext <<_ACEOF
5223 /* end confdefs.h.  */
5224 #ifdef __STDC__
5225 # include <limits.h>
5226 #else
5227 # include <assert.h>
5228 #endif
5229                      Syntax error
5230 _ACEOF
5231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5232   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5233   ac_status=$?
5234   grep -v '^ *+' conftest.er1 >conftest.err
5235   rm -f conftest.er1
5236   cat conftest.err >&5
5237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238   (exit $ac_status); } >/dev/null; then
5239   if test -s conftest.err; then
5240     ac_cpp_err=$ac_c_preproc_warn_flag
5241   else
5242     ac_cpp_err=
5243   fi
5244 else
5245   ac_cpp_err=yes
5246 fi
5247 if test -z "$ac_cpp_err"; then
5248   :
5249 else
5250   echo "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.$ac_ext >&5
5252
5253   # Broken: fails on valid input.
5254 continue
5255 fi
5256 rm -f conftest.err conftest.$ac_ext
5257
5258   # OK, works on sane cases.  Now check whether non-existent headers
5259   # can be detected and how.
5260   cat >conftest.$ac_ext <<_ACEOF
5261 #line $LINENO "configure"
5262 /* confdefs.h.  */
5263 _ACEOF
5264 cat confdefs.h >>conftest.$ac_ext
5265 cat >>conftest.$ac_ext <<_ACEOF
5266 /* end confdefs.h.  */
5267 #include <ac_nonexistent.h>
5268 _ACEOF
5269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5270   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5271   ac_status=$?
5272   grep -v '^ *+' conftest.er1 >conftest.err
5273   rm -f conftest.er1
5274   cat conftest.err >&5
5275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276   (exit $ac_status); } >/dev/null; then
5277   if test -s conftest.err; then
5278     ac_cpp_err=$ac_c_preproc_warn_flag
5279   else
5280     ac_cpp_err=
5281   fi
5282 else
5283   ac_cpp_err=yes
5284 fi
5285 if test -z "$ac_cpp_err"; then
5286   # Broken: success on invalid input.
5287 continue
5288 else
5289   echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.$ac_ext >&5
5291
5292   # Passes both tests.
5293 ac_preproc_ok=:
5294 break
5295 fi
5296 rm -f conftest.err conftest.$ac_ext
5297
5298 done
5299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5300 rm -f conftest.err conftest.$ac_ext
5301 if $ac_preproc_ok; then
5302   :
5303 else
5304   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5305 See \`config.log' for more details." >&5
5306 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5307 See \`config.log' for more details." >&2;}
5308    { (exit 1); exit 1; }; }
5309 fi
5310
5311 ac_ext=c
5312 ac_cpp='$CPP $CPPFLAGS'
5313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5316
5317
5318 echo "$as_me:$LINENO: checking for egrep" >&5
5319 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5320 if test "${ac_cv_prog_egrep+set}" = set; then
5321   echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5324     then ac_cv_prog_egrep='grep -E'
5325     else ac_cv_prog_egrep='egrep'
5326     fi
5327 fi
5328 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5329 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5330  EGREP=$ac_cv_prog_egrep
5331
5332
5333 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5334 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5335 if test "${ac_cv_header_stdc+set}" = set; then
5336   echo $ECHO_N "(cached) $ECHO_C" >&6
5337 else
5338   cat >conftest.$ac_ext <<_ACEOF
5339 #line $LINENO "configure"
5340 /* confdefs.h.  */
5341 _ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h.  */
5345 #include <stdlib.h>
5346 #include <stdarg.h>
5347 #include <string.h>
5348 #include <float.h>
5349
5350 int
5351 main ()
5352 {
5353
5354   ;
5355   return 0;
5356 }
5357 _ACEOF
5358 rm -f conftest.$ac_objext
5359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5360   (eval $ac_compile) 2>&5
5361   ac_status=$?
5362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363   (exit $ac_status); } &&
5364          { ac_try='test -s conftest.$ac_objext'
5365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366   (eval $ac_try) 2>&5
5367   ac_status=$?
5368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369   (exit $ac_status); }; }; then
5370   ac_cv_header_stdc=yes
5371 else
5372   echo "$as_me: failed program was:" >&5
5373 sed 's/^/| /' conftest.$ac_ext >&5
5374
5375 ac_cv_header_stdc=no
5376 fi
5377 rm -f conftest.$ac_objext conftest.$ac_ext
5378
5379 if test $ac_cv_header_stdc = yes; then
5380   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5381   cat >conftest.$ac_ext <<_ACEOF
5382 #line $LINENO "configure"
5383 /* confdefs.h.  */
5384 _ACEOF
5385 cat confdefs.h >>conftest.$ac_ext
5386 cat >>conftest.$ac_ext <<_ACEOF
5387 /* end confdefs.h.  */
5388 #include <string.h>
5389
5390 _ACEOF
5391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5392   $EGREP "memchr" >/dev/null 2>&1; then
5393   :
5394 else
5395   ac_cv_header_stdc=no
5396 fi
5397 rm -f conftest*
5398
5399 fi
5400
5401 if test $ac_cv_header_stdc = yes; then
5402   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5403   cat >conftest.$ac_ext <<_ACEOF
5404 #line $LINENO "configure"
5405 /* confdefs.h.  */
5406 _ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h.  */
5410 #include <stdlib.h>
5411
5412 _ACEOF
5413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5414   $EGREP "free" >/dev/null 2>&1; then
5415   :
5416 else
5417   ac_cv_header_stdc=no
5418 fi
5419 rm -f conftest*
5420
5421 fi
5422
5423 if test $ac_cv_header_stdc = yes; then
5424   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5425   if test "$cross_compiling" = yes; then
5426   :
5427 else
5428   cat >conftest.$ac_ext <<_ACEOF
5429 #line $LINENO "configure"
5430 /* confdefs.h.  */
5431 _ACEOF
5432 cat confdefs.h >>conftest.$ac_ext
5433 cat >>conftest.$ac_ext <<_ACEOF
5434 /* end confdefs.h.  */
5435 #include <ctype.h>
5436 #if ((' ' & 0x0FF) == 0x020)
5437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5439 #else
5440 # define ISLOWER(c) \
5441                    (('a' <= (c) && (c) <= 'i') \
5442                      || ('j' <= (c) && (c) <= 'r') \
5443                      || ('s' <= (c) && (c) <= 'z'))
5444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5445 #endif
5446
5447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5448 int
5449 main ()
5450 {
5451   int i;
5452   for (i = 0; i < 256; i++)
5453     if (XOR (islower (i), ISLOWER (i))
5454         || toupper (i) != TOUPPER (i))
5455       exit(2);
5456   exit (0);
5457 }
5458 _ACEOF
5459 rm -f conftest$ac_exeext
5460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5461   (eval $ac_link) 2>&5
5462   ac_status=$?
5463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466   (eval $ac_try) 2>&5
5467   ac_status=$?
5468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469   (exit $ac_status); }; }; then
5470   :
5471 else
5472   echo "$as_me: program exited with status $ac_status" >&5
5473 echo "$as_me: failed program was:" >&5
5474 sed 's/^/| /' conftest.$ac_ext >&5
5475
5476 ( exit $ac_status )
5477 ac_cv_header_stdc=no
5478 fi
5479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5480 fi
5481 fi
5482 fi
5483 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5484 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5485 if test $ac_cv_header_stdc = yes; then
5486
5487 cat >>confdefs.h <<\_ACEOF
5488 #define STDC_HEADERS 1
5489 _ACEOF
5490
5491 fi
5492
5493 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5504                   inttypes.h stdint.h unistd.h
5505 do
5506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5507 echo "$as_me:$LINENO: checking for $ac_header" >&5
5508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5510   echo $ECHO_N "(cached) $ECHO_C" >&6
5511 else
5512   cat >conftest.$ac_ext <<_ACEOF
5513 #line $LINENO "configure"
5514 /* confdefs.h.  */
5515 _ACEOF
5516 cat confdefs.h >>conftest.$ac_ext
5517 cat >>conftest.$ac_ext <<_ACEOF
5518 /* end confdefs.h.  */
5519 $ac_includes_default
5520
5521 #include <$ac_header>
5522 _ACEOF
5523 rm -f conftest.$ac_objext
5524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5525   (eval $ac_compile) 2>&5
5526   ac_status=$?
5527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528   (exit $ac_status); } &&
5529          { ac_try='test -s conftest.$ac_objext'
5530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531   (eval $ac_try) 2>&5
5532   ac_status=$?
5533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534   (exit $ac_status); }; }; then
5535   eval "$as_ac_Header=yes"
5536 else
5537   echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.$ac_ext >&5
5539
5540 eval "$as_ac_Header=no"
5541 fi
5542 rm -f conftest.$ac_objext conftest.$ac_ext
5543 fi
5544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5547   cat >>confdefs.h <<_ACEOF
5548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5549 _ACEOF
5550
5551 fi
5552
5553 done
5554
5555
5556
5557   echo "$as_me:$LINENO: checking for C locale to use" >&5
5558 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5559    # Check whether --enable-clocale or --disable-clocale was given.
5560 if test "${enable_clocale+set}" = set; then
5561   enableval="$enable_clocale"
5562
5563       case "$enableval" in
5564        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5565        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5566 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5567    { (exit 1); exit 1; }; } ;;
5568                           esac
5569
5570 else
5571   enable_clocale=auto
5572 fi;
5573
5574
5575   # If they didn't use this option switch, or if they specified --enable
5576   # with no specific model, we'll have to look for one.  If they
5577   # specified --disable (???), do likewise.
5578   if test $enable_clocale = no || test $enable_clocale = yes; then
5579      enable_clocale=auto
5580   fi
5581
5582   # Either a known package, or "auto"
5583   enable_clocale_flag=$enable_clocale
5584
5585   # Probe for locale support if no specific model is specified.
5586   # Default to "generic".
5587   if test $enable_clocale_flag = auto; then
5588     case x${target_os} in
5589       xlinux* | xgnu*)
5590         cat >conftest.$ac_ext <<_ACEOF
5591 #line $LINENO "configure"
5592 /* confdefs.h.  */
5593 _ACEOF
5594 cat confdefs.h >>conftest.$ac_ext
5595 cat >>conftest.$ac_ext <<_ACEOF
5596 /* end confdefs.h.  */
5597
5598         #include <features.h>
5599         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5600           _GLIBCXX_ok
5601         #endif
5602
5603 _ACEOF
5604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5605   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5606   enable_clocale_flag=gnu
5607 else
5608   enable_clocale_flag=generic
5609 fi
5610 rm -f conftest*
5611
5612
5613         # Test for bugs early in glibc-2.2.x series
5614           if test x$enable_clocale_flag = xgnu; then
5615           if test "$cross_compiling" = yes; then
5616   enable_clocale_flag=generic
5617 else
5618   cat >conftest.$ac_ext <<_ACEOF
5619 #line $LINENO "configure"
5620 /* confdefs.h.  */
5621 _ACEOF
5622 cat confdefs.h >>conftest.$ac_ext
5623 cat >>conftest.$ac_ext <<_ACEOF
5624 /* end confdefs.h.  */
5625
5626           #define _GNU_SOURCE 1
5627           #include <locale.h>
5628           #include <string.h>
5629           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5630           extern __typeof(newlocale) __newlocale;
5631           extern __typeof(duplocale) __duplocale;
5632           extern __typeof(strcoll_l) __strcoll_l;
5633           #endif
5634           int main()
5635           {
5636               const char __one[] = "Äuglein Augmen";
5637               const char __two[] = "Äuglein";
5638               int i;
5639               int j;
5640               __locale_t        loc;
5641                __locale_t        loc_dup;
5642               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5643               loc_dup = __duplocale(loc);
5644               i = __strcoll_l(__one, __two, loc);
5645               j = __strcoll_l(__one, __two, loc_dup);
5646               return 0;
5647           }
5648
5649 _ACEOF
5650 rm -f conftest$ac_exeext
5651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5652   (eval $ac_link) 2>&5
5653   ac_status=$?
5654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657   (eval $ac_try) 2>&5
5658   ac_status=$?
5659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660   (exit $ac_status); }; }; then
5661   enable_clocale_flag=gnu
5662 else
5663   echo "$as_me: program exited with status $ac_status" >&5
5664 echo "$as_me: failed program was:" >&5
5665 sed 's/^/| /' conftest.$ac_ext >&5
5666
5667 ( exit $ac_status )
5668 enable_clocale_flag=generic
5669 fi
5670 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5671 fi
5672           fi
5673
5674         # ... at some point put __strxfrm_l tests in as well.
5675         ;;
5676       *)
5677         enable_clocale_flag=generic
5678         ;;
5679     esac
5680   fi
5681
5682   # Deal with gettext issues.  Default to not using it (=no) until we detect
5683   # support for it later.  Let the user turn it off via --e/d, but let that
5684   # default to on for easier handling.
5685   USE_NLS=no
5686   # Check whether --enable-nls or --disable-nls was given.
5687 if test "${enable_nls+set}" = set; then
5688   enableval="$enable_nls"
5689
5690 else
5691   enable_nls=yes
5692 fi;
5693
5694   # Set configure bits for specified locale package
5695   case ${enable_clocale_flag} in
5696     generic)
5697       echo "$as_me:$LINENO: result: generic" >&5
5698 echo "${ECHO_T}generic" >&6
5699
5700       CLOCALE_H=config/locale/generic/c_locale.h
5701       CLOCALE_CC=config/locale/generic/c_locale.cc
5702       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5703       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5704       CCOLLATE_CC=config/locale/generic/collate_members.cc
5705       CCTYPE_CC=config/locale/generic/ctype_members.cc
5706       CMESSAGES_H=config/locale/generic/messages_members.h
5707       CMESSAGES_CC=config/locale/generic/messages_members.cc
5708       CMONEY_CC=config/locale/generic/monetary_members.cc
5709       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5710       CTIME_H=config/locale/generic/time_members.h
5711       CTIME_CC=config/locale/generic/time_members.cc
5712       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5713       ;;
5714     gnu)
5715       echo "$as_me:$LINENO: result: gnu" >&5
5716 echo "${ECHO_T}gnu" >&6
5717
5718       # Declare intention to use gettext, and add support for specific
5719       # languages.
5720       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5721       ALL_LINGUAS="de fr"
5722
5723       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5724       # Extract the first word of "msgfmt", so it can be a program name with args.
5725 set dummy msgfmt; ac_word=$2
5726 echo "$as_me:$LINENO: checking for $ac_word" >&5
5727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5728 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5729   echo $ECHO_N "(cached) $ECHO_C" >&6
5730 else
5731   if test -n "$check_msgfmt"; then
5732   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5736 do
5737   IFS=$as_save_IFS
5738   test -z "$as_dir" && as_dir=.
5739   for ac_exec_ext in '' $ac_executable_extensions; do
5740   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5741     ac_cv_prog_check_msgfmt="yes"
5742     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743     break 2
5744   fi
5745 done
5746 done
5747
5748   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5749 fi
5750 fi
5751 check_msgfmt=$ac_cv_prog_check_msgfmt
5752 if test -n "$check_msgfmt"; then
5753   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5754 echo "${ECHO_T}$check_msgfmt" >&6
5755 else
5756   echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5758 fi
5759
5760       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5761         USE_NLS=yes
5762       fi
5763       # Export the build objects.
5764       for ling in $ALL_LINGUAS; do \
5765         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5766         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5767       done
5768
5769
5770
5771       CLOCALE_H=config/locale/gnu/c_locale.h
5772       CLOCALE_CC=config/locale/gnu/c_locale.cc
5773       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5774       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5775       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5776       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5777       CMESSAGES_H=config/locale/gnu/messages_members.h
5778       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5779       CMONEY_CC=config/locale/gnu/monetary_members.cc
5780       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5781       CTIME_H=config/locale/gnu/time_members.h
5782       CTIME_CC=config/locale/gnu/time_members.cc
5783       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5784       ;;
5785     ieee_1003.1-2001)
5786       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5787 echo "${ECHO_T}IEEE 1003.1" >&6
5788
5789       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5790       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5791       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5792       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5793       CCOLLATE_CC=config/locale/generic/collate_members.cc
5794       CCTYPE_CC=config/locale/generic/ctype_members.cc
5795       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5796       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5797       CMONEY_CC=config/locale/generic/monetary_members.cc
5798       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5799       CTIME_H=config/locale/generic/time_members.h
5800       CTIME_CC=config/locale/generic/time_members.cc
5801       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5802       ;;
5803   esac
5804
5805   # This is where the testsuite looks for locale catalogs, using the
5806   # -DLOCALEDIR define during testsuite compilation.
5807   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5808
5809
5810   # A standalone libintl (e.g., GNU libintl) may be in use.
5811   if test $USE_NLS = yes; then
5812
5813 for ac_header in libintl.h
5814 do
5815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5817   echo "$as_me:$LINENO: checking for $ac_header" >&5
5818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5820   echo $ECHO_N "(cached) $ECHO_C" >&6
5821 fi
5822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5824 else
5825   # Is the header compilable?
5826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5828 cat >conftest.$ac_ext <<_ACEOF
5829 #line $LINENO "configure"
5830 /* confdefs.h.  */
5831 _ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h.  */
5835 $ac_includes_default
5836 #include <$ac_header>
5837 _ACEOF
5838 rm -f conftest.$ac_objext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840   (eval $ac_compile) 2>&5
5841   ac_status=$?
5842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843   (exit $ac_status); } &&
5844          { ac_try='test -s conftest.$ac_objext'
5845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846   (eval $ac_try) 2>&5
5847   ac_status=$?
5848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849   (exit $ac_status); }; }; then
5850   ac_header_compiler=yes
5851 else
5852   echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.$ac_ext >&5
5854
5855 ac_header_compiler=no
5856 fi
5857 rm -f conftest.$ac_objext conftest.$ac_ext
5858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5859 echo "${ECHO_T}$ac_header_compiler" >&6
5860
5861 # Is the header present?
5862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5864 cat >conftest.$ac_ext <<_ACEOF
5865 #line $LINENO "configure"
5866 /* confdefs.h.  */
5867 _ACEOF
5868 cat confdefs.h >>conftest.$ac_ext
5869 cat >>conftest.$ac_ext <<_ACEOF
5870 /* end confdefs.h.  */
5871 #include <$ac_header>
5872 _ACEOF
5873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5874   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5875   ac_status=$?
5876   grep -v '^ *+' conftest.er1 >conftest.err
5877   rm -f conftest.er1
5878   cat conftest.err >&5
5879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880   (exit $ac_status); } >/dev/null; then
5881   if test -s conftest.err; then
5882     ac_cpp_err=$ac_c_preproc_warn_flag
5883   else
5884     ac_cpp_err=
5885   fi
5886 else
5887   ac_cpp_err=yes
5888 fi
5889 if test -z "$ac_cpp_err"; then
5890   ac_header_preproc=yes
5891 else
5892   echo "$as_me: failed program was:" >&5
5893 sed 's/^/| /' conftest.$ac_ext >&5
5894
5895   ac_header_preproc=no
5896 fi
5897 rm -f conftest.err conftest.$ac_ext
5898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5899 echo "${ECHO_T}$ac_header_preproc" >&6
5900
5901 # So?  What about this header?
5902 case $ac_header_compiler:$ac_header_preproc in
5903   yes:no )
5904     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5906     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5908     (
5909       cat <<\_ASBOX
5910 ## ------------------------------------ ##
5911 ## Report this to bug-autoconf@gnu.org. ##
5912 ## ------------------------------------ ##
5913 _ASBOX
5914     ) |
5915       sed "s/^/$as_me: WARNING:     /" >&2
5916     ;;
5917   no:yes )
5918     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5920     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5922     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5924     (
5925       cat <<\_ASBOX
5926 ## ------------------------------------ ##
5927 ## Report this to bug-autoconf@gnu.org. ##
5928 ## ------------------------------------ ##
5929 _ASBOX
5930     ) |
5931       sed "s/^/$as_me: WARNING:     /" >&2
5932     ;;
5933 esac
5934 echo "$as_me:$LINENO: checking for $ac_header" >&5
5935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5937   echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939   eval "$as_ac_Header=$ac_header_preproc"
5940 fi
5941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5943
5944 fi
5945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5946   cat >>confdefs.h <<_ACEOF
5947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5948 _ACEOF
5949
5950 else
5951   USE_NLS=no
5952 fi
5953
5954 done
5955
5956     echo "$as_me:$LINENO: checking for library containing gettext" >&5
5957 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5958 if test "${ac_cv_search_gettext+set}" = set; then
5959   echo $ECHO_N "(cached) $ECHO_C" >&6
5960 else
5961   ac_func_search_save_LIBS=$LIBS
5962 ac_cv_search_gettext=no
5963 cat >conftest.$ac_ext <<_ACEOF
5964 #line $LINENO "configure"
5965 /* confdefs.h.  */
5966 _ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h.  */
5970
5971 /* Override any gcc2 internal prototype to avoid an error.  */
5972 #ifdef __cplusplus
5973 extern "C"
5974 #endif
5975 /* We use char because int might match the return type of a gcc2
5976    builtin and then its argument prototype would still apply.  */
5977 char gettext ();
5978 int
5979 main ()
5980 {
5981 gettext ();
5982   ;
5983   return 0;
5984 }
5985 _ACEOF
5986 rm -f conftest.$ac_objext conftest$ac_exeext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5988   (eval $ac_link) 2>&5
5989   ac_status=$?
5990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991   (exit $ac_status); } &&
5992          { ac_try='test -s conftest$ac_exeext'
5993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994   (eval $ac_try) 2>&5
5995   ac_status=$?
5996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997   (exit $ac_status); }; }; then
5998   ac_cv_search_gettext="none required"
5999 else
6000   echo "$as_me: failed program was:" >&5
6001 sed 's/^/| /' conftest.$ac_ext >&5
6002
6003 fi
6004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6005 if test "$ac_cv_search_gettext" = no; then
6006   for ac_lib in intl; do
6007     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6008     cat >conftest.$ac_ext <<_ACEOF
6009 #line $LINENO "configure"
6010 /* confdefs.h.  */
6011 _ACEOF
6012 cat confdefs.h >>conftest.$ac_ext
6013 cat >>conftest.$ac_ext <<_ACEOF
6014 /* end confdefs.h.  */
6015
6016 /* Override any gcc2 internal prototype to avoid an error.  */
6017 #ifdef __cplusplus
6018 extern "C"
6019 #endif
6020 /* We use char because int might match the return type of a gcc2
6021    builtin and then its argument prototype would still apply.  */
6022 char gettext ();
6023 int
6024 main ()
6025 {
6026 gettext ();
6027   ;
6028   return 0;
6029 }
6030 _ACEOF
6031 rm -f conftest.$ac_objext conftest$ac_exeext
6032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6033   (eval $ac_link) 2>&5
6034   ac_status=$?
6035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036   (exit $ac_status); } &&
6037          { ac_try='test -s conftest$ac_exeext'
6038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039   (eval $ac_try) 2>&5
6040   ac_status=$?
6041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042   (exit $ac_status); }; }; then
6043   ac_cv_search_gettext="-l$ac_lib"
6044 break
6045 else
6046   echo "$as_me: failed program was:" >&5
6047 sed 's/^/| /' conftest.$ac_ext >&5
6048
6049 fi
6050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6051   done
6052 fi
6053 LIBS=$ac_func_search_save_LIBS
6054 fi
6055 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6056 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6057 if test "$ac_cv_search_gettext" != no; then
6058   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6059
6060 else
6061   USE_NLS=no
6062 fi
6063
6064   fi
6065   if test $USE_NLS = yes; then
6066     cat >>confdefs.h <<\_ACEOF
6067 #define _GLIBCXX_USE_NLS 1
6068 _ACEOF
6069
6070   fi
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088    # Check whether --enable-cheaders or --disable-cheaders was given.
6089 if test "${enable_cheaders+set}" = set; then
6090   enableval="$enable_cheaders"
6091
6092       case "$enableval" in
6093        c|c_std) ;;
6094        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6095 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6096    { (exit 1); exit 1; }; } ;;
6097                           esac
6098
6099 else
6100   enable_cheaders=$c_model
6101 fi;
6102
6103   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6104 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6105
6106   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6107
6108
6109
6110
6111
6112
6113    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6114 if test "${enable_c_mbchar+set}" = set; then
6115   enableval="$enable_c_mbchar"
6116
6117       case "$enableval" in
6118        yes|no) ;;
6119        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6120 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6121    { (exit 1); exit 1; }; } ;;
6122       esac
6123
6124 else
6125   enable_c_mbchar=yes
6126 fi;
6127
6128   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6129
6130
6131
6132    # Check whether --enable-c99 or --disable-c99 was given.
6133 if test "${enable_c99+set}" = set; then
6134   enableval="$enable_c99"
6135
6136       case "$enableval" in
6137        yes|no) ;;
6138        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6139 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6140    { (exit 1); exit 1; }; } ;;
6141       esac
6142
6143 else
6144   enable_c99=yes
6145 fi;
6146
6147
6148
6149
6150   ac_ext=cc
6151 ac_cpp='$CXXCPP $CPPFLAGS'
6152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6155
6156
6157   # Check for the existence of <math.h> functions used if C99 is enabled.
6158   ac_c99_math=yes;
6159   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6160 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6161   cat >conftest.$ac_ext <<_ACEOF
6162 #line $LINENO "configure"
6163 /* confdefs.h.  */
6164 _ACEOF
6165 cat confdefs.h >>conftest.$ac_ext
6166 cat >>conftest.$ac_ext <<_ACEOF
6167 /* end confdefs.h.  */
6168 #include <math.h>
6169 int
6170 main ()
6171 {
6172 fpclassify(0.0);
6173   ;
6174   return 0;
6175 }
6176 _ACEOF
6177 rm -f conftest.$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179   (eval $ac_compile) 2>&5
6180   ac_status=$?
6181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182   (exit $ac_status); } &&
6183          { ac_try='test -s conftest.$ac_objext'
6184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185   (eval $ac_try) 2>&5
6186   ac_status=$?
6187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188   (exit $ac_status); }; }; then
6189   :
6190 else
6191   echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.$ac_ext >&5
6193
6194 ac_c99_math=no
6195 fi
6196 rm -f conftest.$ac_objext conftest.$ac_ext
6197   cat >conftest.$ac_ext <<_ACEOF
6198 #line $LINENO "configure"
6199 /* confdefs.h.  */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h.  */
6204 #include <math.h>
6205 int
6206 main ()
6207 {
6208 isfinite(0.0);
6209   ;
6210   return 0;
6211 }
6212 _ACEOF
6213 rm -f conftest.$ac_objext
6214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6215   (eval $ac_compile) 2>&5
6216   ac_status=$?
6217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218   (exit $ac_status); } &&
6219          { ac_try='test -s conftest.$ac_objext'
6220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221   (eval $ac_try) 2>&5
6222   ac_status=$?
6223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224   (exit $ac_status); }; }; then
6225   :
6226 else
6227   echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6229
6230 ac_c99_math=no
6231 fi
6232 rm -f conftest.$ac_objext conftest.$ac_ext
6233   cat >conftest.$ac_ext <<_ACEOF
6234 #line $LINENO "configure"
6235 /* confdefs.h.  */
6236 _ACEOF
6237 cat confdefs.h >>conftest.$ac_ext
6238 cat >>conftest.$ac_ext <<_ACEOF
6239 /* end confdefs.h.  */
6240 #include <math.h>
6241 int
6242 main ()
6243 {
6244 isinf(0.0);
6245   ;
6246   return 0;
6247 }
6248 _ACEOF
6249 rm -f conftest.$ac_objext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6251   (eval $ac_compile) 2>&5
6252   ac_status=$?
6253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254   (exit $ac_status); } &&
6255          { ac_try='test -s conftest.$ac_objext'
6256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6257   (eval $ac_try) 2>&5
6258   ac_status=$?
6259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260   (exit $ac_status); }; }; then
6261   :
6262 else
6263   echo "$as_me: failed program was:" >&5
6264 sed 's/^/| /' conftest.$ac_ext >&5
6265
6266 ac_c99_math=no
6267 fi
6268 rm -f conftest.$ac_objext conftest.$ac_ext
6269   cat >conftest.$ac_ext <<_ACEOF
6270 #line $LINENO "configure"
6271 /* confdefs.h.  */
6272 _ACEOF
6273 cat confdefs.h >>conftest.$ac_ext
6274 cat >>conftest.$ac_ext <<_ACEOF
6275 /* end confdefs.h.  */
6276 #include <math.h>
6277 int
6278 main ()
6279 {
6280 isnan(0.0);
6281   ;
6282   return 0;
6283 }
6284 _ACEOF
6285 rm -f conftest.$ac_objext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6287   (eval $ac_compile) 2>&5
6288   ac_status=$?
6289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290   (exit $ac_status); } &&
6291          { ac_try='test -s conftest.$ac_objext'
6292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293   (eval $ac_try) 2>&5
6294   ac_status=$?
6295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296   (exit $ac_status); }; }; then
6297   :
6298 else
6299   echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6301
6302 ac_c99_math=no
6303 fi
6304 rm -f conftest.$ac_objext conftest.$ac_ext
6305   cat >conftest.$ac_ext <<_ACEOF
6306 #line $LINENO "configure"
6307 /* confdefs.h.  */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h.  */
6312 #include <math.h>
6313 int
6314 main ()
6315 {
6316 isnormal(0.0);
6317   ;
6318   return 0;
6319 }
6320 _ACEOF
6321 rm -f conftest.$ac_objext
6322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6323   (eval $ac_compile) 2>&5
6324   ac_status=$?
6325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326   (exit $ac_status); } &&
6327          { ac_try='test -s conftest.$ac_objext'
6328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6329   (eval $ac_try) 2>&5
6330   ac_status=$?
6331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332   (exit $ac_status); }; }; then
6333   :
6334 else
6335   echo "$as_me: failed program was:" >&5
6336 sed 's/^/| /' conftest.$ac_ext >&5
6337
6338 ac_c99_math=no
6339 fi
6340 rm -f conftest.$ac_objext conftest.$ac_ext
6341   cat >conftest.$ac_ext <<_ACEOF
6342 #line $LINENO "configure"
6343 /* confdefs.h.  */
6344 _ACEOF
6345 cat confdefs.h >>conftest.$ac_ext
6346 cat >>conftest.$ac_ext <<_ACEOF
6347 /* end confdefs.h.  */
6348 #include <math.h>
6349 int
6350 main ()
6351 {
6352 signbit(0.0);
6353   ;
6354   return 0;
6355 }
6356 _ACEOF
6357 rm -f conftest.$ac_objext
6358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6359   (eval $ac_compile) 2>&5
6360   ac_status=$?
6361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362   (exit $ac_status); } &&
6363          { ac_try='test -s conftest.$ac_objext'
6364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365   (eval $ac_try) 2>&5
6366   ac_status=$?
6367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368   (exit $ac_status); }; }; then
6369   :
6370 else
6371   echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6373
6374 ac_c99_math=no
6375 fi
6376 rm -f conftest.$ac_objext conftest.$ac_ext
6377   cat >conftest.$ac_ext <<_ACEOF
6378 #line $LINENO "configure"
6379 /* confdefs.h.  */
6380 _ACEOF
6381 cat confdefs.h >>conftest.$ac_ext
6382 cat >>conftest.$ac_ext <<_ACEOF
6383 /* end confdefs.h.  */
6384 #include <math.h>
6385 int
6386 main ()
6387 {
6388 isgreater(0.0,0.0);
6389   ;
6390   return 0;
6391 }
6392 _ACEOF
6393 rm -f conftest.$ac_objext
6394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6395   (eval $ac_compile) 2>&5
6396   ac_status=$?
6397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398   (exit $ac_status); } &&
6399          { ac_try='test -s conftest.$ac_objext'
6400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401   (eval $ac_try) 2>&5
6402   ac_status=$?
6403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404   (exit $ac_status); }; }; then
6405   :
6406 else
6407   echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6409
6410 ac_c99_math=no
6411 fi
6412 rm -f conftest.$ac_objext conftest.$ac_ext
6413   cat >conftest.$ac_ext <<_ACEOF
6414 #line $LINENO "configure"
6415 /* confdefs.h.  */
6416 _ACEOF
6417 cat confdefs.h >>conftest.$ac_ext
6418 cat >>conftest.$ac_ext <<_ACEOF
6419 /* end confdefs.h.  */
6420 #include <math.h>
6421 int
6422 main ()
6423 {
6424 isgreaterequal(0.0,0.0);
6425   ;
6426   return 0;
6427 }
6428 _ACEOF
6429 rm -f conftest.$ac_objext
6430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6431   (eval $ac_compile) 2>&5
6432   ac_status=$?
6433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434   (exit $ac_status); } &&
6435          { ac_try='test -s conftest.$ac_objext'
6436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437   (eval $ac_try) 2>&5
6438   ac_status=$?
6439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440   (exit $ac_status); }; }; then
6441   :
6442 else
6443   echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6445
6446 ac_c99_math=no
6447 fi
6448 rm -f conftest.$ac_objext conftest.$ac_ext
6449   cat >conftest.$ac_ext <<_ACEOF
6450 #line $LINENO "configure"
6451 /* confdefs.h.  */
6452 _ACEOF
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h.  */
6456 #include <math.h>
6457 int
6458 main ()
6459 {
6460 isless(0.0,0.0);
6461   ;
6462   return 0;
6463 }
6464 _ACEOF
6465 rm -f conftest.$ac_objext
6466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6467   (eval $ac_compile) 2>&5
6468   ac_status=$?
6469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470   (exit $ac_status); } &&
6471          { ac_try='test -s conftest.$ac_objext'
6472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473   (eval $ac_try) 2>&5
6474   ac_status=$?
6475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476   (exit $ac_status); }; }; then
6477   :
6478 else
6479   echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6481
6482 ac_c99_math=no
6483 fi
6484 rm -f conftest.$ac_objext conftest.$ac_ext
6485   cat >conftest.$ac_ext <<_ACEOF
6486 #line $LINENO "configure"
6487 /* confdefs.h.  */
6488 _ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h.  */
6492 #include <math.h>
6493 int
6494 main ()
6495 {
6496 islessequal(0.0,0.0);
6497   ;
6498   return 0;
6499 }
6500 _ACEOF
6501 rm -f conftest.$ac_objext
6502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6503   (eval $ac_compile) 2>&5
6504   ac_status=$?
6505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506   (exit $ac_status); } &&
6507          { ac_try='test -s conftest.$ac_objext'
6508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509   (eval $ac_try) 2>&5
6510   ac_status=$?
6511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512   (exit $ac_status); }; }; then
6513   :
6514 else
6515   echo "$as_me: failed program was:" >&5
6516 sed 's/^/| /' conftest.$ac_ext >&5
6517
6518 ac_c99_math=no
6519 fi
6520 rm -f conftest.$ac_objext conftest.$ac_ext
6521   cat >conftest.$ac_ext <<_ACEOF
6522 #line $LINENO "configure"
6523 /* confdefs.h.  */
6524 _ACEOF
6525 cat confdefs.h >>conftest.$ac_ext
6526 cat >>conftest.$ac_ext <<_ACEOF
6527 /* end confdefs.h.  */
6528 #include <math.h>
6529 int
6530 main ()
6531 {
6532 islessgreater(0.0,0.0);
6533   ;
6534   return 0;
6535 }
6536 _ACEOF
6537 rm -f conftest.$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539   (eval $ac_compile) 2>&5
6540   ac_status=$?
6541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542   (exit $ac_status); } &&
6543          { ac_try='test -s conftest.$ac_objext'
6544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545   (eval $ac_try) 2>&5
6546   ac_status=$?
6547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548   (exit $ac_status); }; }; then
6549   :
6550 else
6551   echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.$ac_ext >&5
6553
6554 ac_c99_math=no
6555 fi
6556 rm -f conftest.$ac_objext conftest.$ac_ext
6557   cat >conftest.$ac_ext <<_ACEOF
6558 #line $LINENO "configure"
6559 /* confdefs.h.  */
6560 _ACEOF
6561 cat confdefs.h >>conftest.$ac_ext
6562 cat >>conftest.$ac_ext <<_ACEOF
6563 /* end confdefs.h.  */
6564 #include <math.h>
6565 int
6566 main ()
6567 {
6568 isunordered(0.0,0.0);
6569   ;
6570   return 0;
6571 }
6572 _ACEOF
6573 rm -f conftest.$ac_objext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6575   (eval $ac_compile) 2>&5
6576   ac_status=$?
6577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578   (exit $ac_status); } &&
6579          { ac_try='test -s conftest.$ac_objext'
6580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6581   (eval $ac_try) 2>&5
6582   ac_status=$?
6583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584   (exit $ac_status); }; }; then
6585   :
6586 else
6587   echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.$ac_ext >&5
6589
6590 ac_c99_math=no
6591 fi
6592 rm -f conftest.$ac_objext conftest.$ac_ext
6593   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6594 echo "${ECHO_T}$ac_c99_math" >&6
6595
6596   # Check for the existence in <stdio.h> of vscanf, et. al.
6597   ac_c99_stdio=yes;
6598   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6599 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6600   cat >conftest.$ac_ext <<_ACEOF
6601 #line $LINENO "configure"
6602 /* confdefs.h.  */
6603 _ACEOF
6604 cat confdefs.h >>conftest.$ac_ext
6605 cat >>conftest.$ac_ext <<_ACEOF
6606 /* end confdefs.h.  */
6607 #include <stdio.h>
6608 int
6609 main ()
6610 {
6611 snprintf("12", 0, "%i");
6612   ;
6613   return 0;
6614 }
6615 _ACEOF
6616 rm -f conftest.$ac_objext
6617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6618   (eval $ac_compile) 2>&5
6619   ac_status=$?
6620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621   (exit $ac_status); } &&
6622          { ac_try='test -s conftest.$ac_objext'
6623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624   (eval $ac_try) 2>&5
6625   ac_status=$?
6626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627   (exit $ac_status); }; }; then
6628   :
6629 else
6630   echo "$as_me: failed program was:" >&5
6631 sed 's/^/| /' conftest.$ac_ext >&5
6632
6633 ac_c99_stdio=no
6634 fi
6635 rm -f conftest.$ac_objext conftest.$ac_ext
6636   cat >conftest.$ac_ext <<_ACEOF
6637 #line $LINENO "configure"
6638 /* confdefs.h.  */
6639 _ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h.  */
6643 #include <stdio.h>
6644                   #include <stdarg.h>
6645                   void foo(char* fmt, ...)
6646                   {va_list args; va_start(args, fmt);
6647                   vfscanf(stderr, "%i", args);}
6648 int
6649 main ()
6650 {
6651
6652   ;
6653   return 0;
6654 }
6655 _ACEOF
6656 rm -f conftest.$ac_objext
6657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6658   (eval $ac_compile) 2>&5
6659   ac_status=$?
6660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661   (exit $ac_status); } &&
6662          { ac_try='test -s conftest.$ac_objext'
6663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664   (eval $ac_try) 2>&5
6665   ac_status=$?
6666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667   (exit $ac_status); }; }; then
6668   :
6669 else
6670   echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6672
6673 ac_c99_stdio=no
6674 fi
6675 rm -f conftest.$ac_objext conftest.$ac_ext
6676   cat >conftest.$ac_ext <<_ACEOF
6677 #line $LINENO "configure"
6678 /* confdefs.h.  */
6679 _ACEOF
6680 cat confdefs.h >>conftest.$ac_ext
6681 cat >>conftest.$ac_ext <<_ACEOF
6682 /* end confdefs.h.  */
6683 #include <stdio.h>
6684                   #include <stdarg.h>
6685                   void foo(char* fmt, ...)
6686                   {va_list args; va_start(args, fmt);
6687                   vscanf("%i", args);}
6688 int
6689 main ()
6690 {
6691
6692   ;
6693   return 0;
6694 }
6695 _ACEOF
6696 rm -f conftest.$ac_objext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6698   (eval $ac_compile) 2>&5
6699   ac_status=$?
6700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701   (exit $ac_status); } &&
6702          { ac_try='test -s conftest.$ac_objext'
6703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704   (eval $ac_try) 2>&5
6705   ac_status=$?
6706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707   (exit $ac_status); }; }; then
6708   :
6709 else
6710   echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6712
6713 ac_c99_stdio=no
6714 fi
6715 rm -f conftest.$ac_objext conftest.$ac_ext
6716   cat >conftest.$ac_ext <<_ACEOF
6717 #line $LINENO "configure"
6718 /* confdefs.h.  */
6719 _ACEOF
6720 cat confdefs.h >>conftest.$ac_ext
6721 cat >>conftest.$ac_ext <<_ACEOF
6722 /* end confdefs.h.  */
6723 #include <stdio.h>
6724                   #include <stdarg.h>
6725                   void foo(char* fmt, ...)
6726                   {va_list args; va_start(args, fmt);
6727                   vsnprintf(fmt, 0, "%i", args);}
6728 int
6729 main ()
6730 {
6731
6732   ;
6733   return 0;
6734 }
6735 _ACEOF
6736 rm -f conftest.$ac_objext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738   (eval $ac_compile) 2>&5
6739   ac_status=$?
6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741   (exit $ac_status); } &&
6742          { ac_try='test -s conftest.$ac_objext'
6743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744   (eval $ac_try) 2>&5
6745   ac_status=$?
6746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747   (exit $ac_status); }; }; then
6748   :
6749 else
6750   echo "$as_me: failed program was:" >&5
6751 sed 's/^/| /' conftest.$ac_ext >&5
6752
6753 ac_c99_stdio=no
6754 fi
6755 rm -f conftest.$ac_objext conftest.$ac_ext
6756   cat >conftest.$ac_ext <<_ACEOF
6757 #line $LINENO "configure"
6758 /* confdefs.h.  */
6759 _ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h.  */
6763 #include <stdio.h>
6764                   #include <stdarg.h>
6765                   void foo(char* fmt, ...)
6766                   {va_list args; va_start(args, fmt);
6767                   vsscanf(fmt, "%i", args);}
6768 int
6769 main ()
6770 {
6771
6772   ;
6773   return 0;
6774 }
6775 _ACEOF
6776 rm -f conftest.$ac_objext
6777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6778   (eval $ac_compile) 2>&5
6779   ac_status=$?
6780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781   (exit $ac_status); } &&
6782          { ac_try='test -s conftest.$ac_objext'
6783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784   (eval $ac_try) 2>&5
6785   ac_status=$?
6786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787   (exit $ac_status); }; }; then
6788   :
6789 else
6790   echo "$as_me: failed program was:" >&5
6791 sed 's/^/| /' conftest.$ac_ext >&5
6792
6793 ac_c99_stdio=no
6794 fi
6795 rm -f conftest.$ac_objext conftest.$ac_ext
6796   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6797 echo "${ECHO_T}$ac_c99_stdio" >&6
6798
6799   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6800   ac_c99_stdlib=yes;
6801   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6802 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6803   if test "${ac_c99_lldiv_t+set}" = set; then
6804   echo $ECHO_N "(cached) $ECHO_C" >&6
6805 else
6806
6807   cat >conftest.$ac_ext <<_ACEOF
6808 #line $LINENO "configure"
6809 /* confdefs.h.  */
6810 _ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h.  */
6814 #include <stdlib.h>
6815 int
6816 main ()
6817 {
6818  lldiv_t mydivt;
6819   ;
6820   return 0;
6821 }
6822 _ACEOF
6823 rm -f conftest.$ac_objext
6824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6825   (eval $ac_compile) 2>&5
6826   ac_status=$?
6827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828   (exit $ac_status); } &&
6829          { ac_try='test -s conftest.$ac_objext'
6830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831   (eval $ac_try) 2>&5
6832   ac_status=$?
6833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834   (exit $ac_status); }; }; then
6835   ac_c99_lldiv_t=yes
6836 else
6837   echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6839
6840 ac_c99_lldiv_t=no
6841 fi
6842 rm -f conftest.$ac_objext conftest.$ac_ext
6843
6844 fi
6845
6846   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6847 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6848
6849   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6850 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6851   cat >conftest.$ac_ext <<_ACEOF
6852 #line $LINENO "configure"
6853 /* confdefs.h.  */
6854 _ACEOF
6855 cat confdefs.h >>conftest.$ac_ext
6856 cat >>conftest.$ac_ext <<_ACEOF
6857 /* end confdefs.h.  */
6858 #include <stdlib.h>
6859 int
6860 main ()
6861 {
6862 char* tmp; strtof("gnu", &tmp);
6863   ;
6864   return 0;
6865 }
6866 _ACEOF
6867 rm -f conftest.$ac_objext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869   (eval $ac_compile) 2>&5
6870   ac_status=$?
6871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872   (exit $ac_status); } &&
6873          { ac_try='test -s conftest.$ac_objext'
6874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875   (eval $ac_try) 2>&5
6876   ac_status=$?
6877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878   (exit $ac_status); }; }; then
6879   :
6880 else
6881   echo "$as_me: failed program was:" >&5
6882 sed 's/^/| /' conftest.$ac_ext >&5
6883
6884 ac_c99_stdlib=no
6885 fi
6886 rm -f conftest.$ac_objext conftest.$ac_ext
6887   cat >conftest.$ac_ext <<_ACEOF
6888 #line $LINENO "configure"
6889 /* confdefs.h.  */
6890 _ACEOF
6891 cat confdefs.h >>conftest.$ac_ext
6892 cat >>conftest.$ac_ext <<_ACEOF
6893 /* end confdefs.h.  */
6894 #include <stdlib.h>
6895 int
6896 main ()
6897 {
6898 char* tmp; strtold("gnu", &tmp);
6899   ;
6900   return 0;
6901 }
6902 _ACEOF
6903 rm -f conftest.$ac_objext
6904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6905   (eval $ac_compile) 2>&5
6906   ac_status=$?
6907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908   (exit $ac_status); } &&
6909          { ac_try='test -s conftest.$ac_objext'
6910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911   (eval $ac_try) 2>&5
6912   ac_status=$?
6913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914   (exit $ac_status); }; }; then
6915   :
6916 else
6917   echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.$ac_ext >&5
6919
6920 ac_c99_stdlib=no
6921 fi
6922 rm -f conftest.$ac_objext conftest.$ac_ext
6923   cat >conftest.$ac_ext <<_ACEOF
6924 #line $LINENO "configure"
6925 /* confdefs.h.  */
6926 _ACEOF
6927 cat confdefs.h >>conftest.$ac_ext
6928 cat >>conftest.$ac_ext <<_ACEOF
6929 /* end confdefs.h.  */
6930 #include <stdlib.h>
6931 int
6932 main ()
6933 {
6934 llabs(10);
6935   ;
6936   return 0;
6937 }
6938 _ACEOF
6939 rm -f conftest.$ac_objext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941   (eval $ac_compile) 2>&5
6942   ac_status=$?
6943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944   (exit $ac_status); } &&
6945          { ac_try='test -s conftest.$ac_objext'
6946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947   (eval $ac_try) 2>&5
6948   ac_status=$?
6949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950   (exit $ac_status); }; }; then
6951   :
6952 else
6953   echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.$ac_ext >&5
6955
6956 ac_c99_stdlib=no
6957 fi
6958 rm -f conftest.$ac_objext conftest.$ac_ext
6959   cat >conftest.$ac_ext <<_ACEOF
6960 #line $LINENO "configure"
6961 /* confdefs.h.  */
6962 _ACEOF
6963 cat confdefs.h >>conftest.$ac_ext
6964 cat >>conftest.$ac_ext <<_ACEOF
6965 /* end confdefs.h.  */
6966 #include <stdlib.h>
6967 int
6968 main ()
6969 {
6970 lldiv(10,1);
6971   ;
6972   return 0;
6973 }
6974 _ACEOF
6975 rm -f conftest.$ac_objext
6976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6977   (eval $ac_compile) 2>&5
6978   ac_status=$?
6979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980   (exit $ac_status); } &&
6981          { ac_try='test -s conftest.$ac_objext'
6982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983   (eval $ac_try) 2>&5
6984   ac_status=$?
6985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986   (exit $ac_status); }; }; then
6987   :
6988 else
6989   echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6991
6992 ac_c99_stdlib=no
6993 fi
6994 rm -f conftest.$ac_objext conftest.$ac_ext
6995   cat >conftest.$ac_ext <<_ACEOF
6996 #line $LINENO "configure"
6997 /* confdefs.h.  */
6998 _ACEOF
6999 cat confdefs.h >>conftest.$ac_ext
7000 cat >>conftest.$ac_ext <<_ACEOF
7001 /* end confdefs.h.  */
7002 #include <stdlib.h>
7003 int
7004 main ()
7005 {
7006 atoll("10");
7007   ;
7008   return 0;
7009 }
7010 _ACEOF
7011 rm -f conftest.$ac_objext
7012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7013   (eval $ac_compile) 2>&5
7014   ac_status=$?
7015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016   (exit $ac_status); } &&
7017          { ac_try='test -s conftest.$ac_objext'
7018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7019   (eval $ac_try) 2>&5
7020   ac_status=$?
7021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022   (exit $ac_status); }; }; then
7023   :
7024 else
7025   echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.$ac_ext >&5
7027
7028 ac_c99_stdlib=no
7029 fi
7030 rm -f conftest.$ac_objext conftest.$ac_ext
7031   cat >conftest.$ac_ext <<_ACEOF
7032 #line $LINENO "configure"
7033 /* confdefs.h.  */
7034 _ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h.  */
7038 #include <stdlib.h>
7039 int
7040 main ()
7041 {
7042 _Exit(0);
7043   ;
7044   return 0;
7045 }
7046 _ACEOF
7047 rm -f conftest.$ac_objext
7048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7049   (eval $ac_compile) 2>&5
7050   ac_status=$?
7051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052   (exit $ac_status); } &&
7053          { ac_try='test -s conftest.$ac_objext'
7054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055   (eval $ac_try) 2>&5
7056   ac_status=$?
7057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058   (exit $ac_status); }; }; then
7059   :
7060 else
7061   echo "$as_me: failed program was:" >&5
7062 sed 's/^/| /' conftest.$ac_ext >&5
7063
7064 ac_c99_stdlib=no
7065 fi
7066 rm -f conftest.$ac_objext conftest.$ac_ext
7067   if test x"$ac_c99_lldiv_t" = x"no"; then
7068     ac_c99_stdlib=no;
7069   fi;
7070   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7071 echo "${ECHO_T}$ac_c99_stdlib" >&6
7072
7073   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7074   # XXX the wchar.h checks should be rolled into the general C99 bits.
7075   ac_c99_wchar=yes;
7076   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7077 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7078   cat >conftest.$ac_ext <<_ACEOF
7079 #line $LINENO "configure"
7080 /* confdefs.h.  */
7081 _ACEOF
7082 cat confdefs.h >>conftest.$ac_ext
7083 cat >>conftest.$ac_ext <<_ACEOF
7084 /* end confdefs.h.  */
7085 #include <wchar.h>
7086 int
7087 main ()
7088 {
7089 wcstold(L"10.0", NULL);
7090   ;
7091   return 0;
7092 }
7093 _ACEOF
7094 rm -f conftest.$ac_objext
7095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7096   (eval $ac_compile) 2>&5
7097   ac_status=$?
7098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099   (exit $ac_status); } &&
7100          { ac_try='test -s conftest.$ac_objext'
7101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102   (eval $ac_try) 2>&5
7103   ac_status=$?
7104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105   (exit $ac_status); }; }; then
7106   :
7107 else
7108   echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7110
7111 ac_c99_wchar=no
7112 fi
7113 rm -f conftest.$ac_objext conftest.$ac_ext
7114   cat >conftest.$ac_ext <<_ACEOF
7115 #line $LINENO "configure"
7116 /* confdefs.h.  */
7117 _ACEOF
7118 cat confdefs.h >>conftest.$ac_ext
7119 cat >>conftest.$ac_ext <<_ACEOF
7120 /* end confdefs.h.  */
7121 #include <wchar.h>
7122 int
7123 main ()
7124 {
7125 wcstoll(L"10", NULL, 10);
7126   ;
7127   return 0;
7128 }
7129 _ACEOF
7130 rm -f conftest.$ac_objext
7131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7132   (eval $ac_compile) 2>&5
7133   ac_status=$?
7134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135   (exit $ac_status); } &&
7136          { ac_try='test -s conftest.$ac_objext'
7137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138   (eval $ac_try) 2>&5
7139   ac_status=$?
7140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141   (exit $ac_status); }; }; then
7142   :
7143 else
7144   echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7146
7147 ac_c99_wchar=no
7148 fi
7149 rm -f conftest.$ac_objext conftest.$ac_ext
7150   cat >conftest.$ac_ext <<_ACEOF
7151 #line $LINENO "configure"
7152 /* confdefs.h.  */
7153 _ACEOF
7154 cat confdefs.h >>conftest.$ac_ext
7155 cat >>conftest.$ac_ext <<_ACEOF
7156 /* end confdefs.h.  */
7157 #include <wchar.h>
7158 int
7159 main ()
7160 {
7161 wcstoull(L"10", NULL, 10);
7162   ;
7163   return 0;
7164 }
7165 _ACEOF
7166 rm -f conftest.$ac_objext
7167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7168   (eval $ac_compile) 2>&5
7169   ac_status=$?
7170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171   (exit $ac_status); } &&
7172          { ac_try='test -s conftest.$ac_objext'
7173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174   (eval $ac_try) 2>&5
7175   ac_status=$?
7176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177   (exit $ac_status); }; }; then
7178   :
7179 else
7180   echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7182
7183 ac_c99_wchar=no
7184 fi
7185 rm -f conftest.$ac_objext conftest.$ac_ext
7186   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7187 echo "${ECHO_T}$ac_c99_wchar" >&6
7188
7189   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7190 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7191   if test x"$ac_c99_math" = x"no" ||
7192      test x"$ac_c99_stdio" = x"no" ||
7193      test x"$ac_c99_stdlib" = x"no" ||
7194      test x"$ac_c99_wchar" = x"no"; then
7195     enable_c99=no;
7196   fi;
7197   echo "$as_me:$LINENO: result: $enable_c99" >&5
7198 echo "${ECHO_T}$enable_c99" >&6
7199
7200   # Option parsed, now set things appropriately
7201   if test x"$enable_c99" = x"yes"; then
7202     cat >>confdefs.h <<\_ACEOF
7203 #define _GLIBCXX_USE_C99 1
7204 _ACEOF
7205
7206   fi
7207
7208   ac_ext=c
7209 ac_cpp='$CPP $CPPFLAGS'
7210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213
7214
7215
7216    # Check whether --enable-long-long or --disable-long-long was given.
7217 if test "${enable_long_long+set}" = set; then
7218   enableval="$enable_long_long"
7219
7220       case "$enableval" in
7221        yes|no) ;;
7222        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7223 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7224    { (exit 1); exit 1; }; } ;;
7225       esac
7226
7227 else
7228   enable_long_long=yes
7229 fi;
7230
7231
7232
7233
7234   ac_ext=cc
7235 ac_cpp='$CXXCPP $CPPFLAGS'
7236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7239
7240
7241   echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7242 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7243   # iostreams require strtoll, strtoull to compile
7244   cat >conftest.$ac_ext <<_ACEOF
7245 #line $LINENO "configure"
7246 /* confdefs.h.  */
7247 _ACEOF
7248 cat confdefs.h >>conftest.$ac_ext
7249 cat >>conftest.$ac_ext <<_ACEOF
7250 /* end confdefs.h.  */
7251 #include <stdlib.h>
7252 int
7253 main ()
7254 {
7255 char* tmp; strtoll("gnu", &tmp, 10);
7256   ;
7257   return 0;
7258 }
7259 _ACEOF
7260 rm -f conftest.$ac_objext
7261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7262   (eval $ac_compile) 2>&5
7263   ac_status=$?
7264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265   (exit $ac_status); } &&
7266          { ac_try='test -s conftest.$ac_objext'
7267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268   (eval $ac_try) 2>&5
7269   ac_status=$?
7270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271   (exit $ac_status); }; }; then
7272   :
7273 else
7274   echo "$as_me: failed program was:" >&5
7275 sed 's/^/| /' conftest.$ac_ext >&5
7276
7277 enable_long_long=no
7278 fi
7279 rm -f conftest.$ac_objext conftest.$ac_ext
7280   cat >conftest.$ac_ext <<_ACEOF
7281 #line $LINENO "configure"
7282 /* confdefs.h.  */
7283 _ACEOF
7284 cat confdefs.h >>conftest.$ac_ext
7285 cat >>conftest.$ac_ext <<_ACEOF
7286 /* end confdefs.h.  */
7287 #include <stdlib.h>
7288 int
7289 main ()
7290 {
7291 char* tmp; strtoull("gnu", &tmp, 10);
7292   ;
7293   return 0;
7294 }
7295 _ACEOF
7296 rm -f conftest.$ac_objext
7297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7298   (eval $ac_compile) 2>&5
7299   ac_status=$?
7300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301   (exit $ac_status); } &&
7302          { ac_try='test -s conftest.$ac_objext'
7303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304   (eval $ac_try) 2>&5
7305   ac_status=$?
7306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307   (exit $ac_status); }; }; then
7308   :
7309 else
7310   echo "$as_me: failed program was:" >&5
7311 sed 's/^/| /' conftest.$ac_ext >&5
7312
7313 enable_long_long=no
7314 fi
7315 rm -f conftest.$ac_objext conftest.$ac_ext
7316
7317   # Option parsed, now set things appropriately
7318   if test $enable_long_long = yes; then
7319     cat >>confdefs.h <<\_ACEOF
7320 #define _GLIBCXX_USE_LONG_LONG 1
7321 _ACEOF
7322
7323   fi
7324   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7325 echo "${ECHO_T}$enable_long_long" >&6
7326
7327   ac_ext=c
7328 ac_cpp='$CPP $CPPFLAGS'
7329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7332
7333
7334
7335   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7336 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7337   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7338   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7339 echo "${ECHO_T}$target_thread_file" >&6
7340
7341   if test $target_thread_file != single; then
7342     cat >>confdefs.h <<\_ACEOF
7343 #define HAVE_GTHR_DEFAULT 1
7344 _ACEOF
7345
7346     cat >>confdefs.h <<\_ACEOF
7347 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7348 _ACEOF
7349
7350   fi
7351
7352   glibcxx_thread_h=gthr-$target_thread_file.h
7353
7354
7355
7356    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7357 if test "${enable_concept_checks+set}" = set; then
7358   enableval="$enable_concept_checks"
7359
7360       case "$enableval" in
7361        yes|no) ;;
7362        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7363 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7364    { (exit 1); exit 1; }; } ;;
7365       esac
7366
7367 else
7368   enable_concept_checks=no
7369 fi;
7370
7371   if test $enable_concept_checks = yes; then
7372     cat >>confdefs.h <<\_ACEOF
7373 #define _GLIBCXX_CONCEPT_CHECKS 1
7374 _ACEOF
7375
7376   fi
7377
7378
7379    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7380 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7381   enableval="$enable_libstdcxx_debug_flags"
7382   case "x$enable_libstdcxx_debug_flags" in
7383       xno | x)    enable_libstdcxx_debug_flags= ;;
7384       x-*)        ;;
7385       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7386 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7387    { (exit 1); exit 1; }; } ;;
7388      esac
7389 else
7390   enable_libstdcxx_debug_flags="-g3 -O0"
7391 fi;
7392
7393
7394   # Option parsed, now set things appropriately
7395   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7396
7397
7398   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7399 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7400
7401
7402   echo "$as_me:$LINENO: checking for additional debug build" >&5
7403 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7404    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7405 if test "${enable_libstdcxx_debug+set}" = set; then
7406   enableval="$enable_libstdcxx_debug"
7407
7408       case "$enableval" in
7409        yes|no) ;;
7410        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7411 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7412    { (exit 1); exit 1; }; } ;;
7413       esac
7414
7415 else
7416   enable_libstdcxx_debug=no
7417 fi;
7418
7419   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7420 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7421
7422
7423   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7424 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7425    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7426 if test "${enable_cxx_flags+set}" = set; then
7427   enableval="$enable_cxx_flags"
7428   case "x$enable_cxx_flags" in
7429       xno | x)   enable_cxx_flags= ;;
7430       x-*)       ;;
7431       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7432 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7433    { (exit 1); exit 1; }; } ;;
7434      esac
7435 else
7436   enable_cxx_flags=
7437 fi;
7438
7439
7440   # Run through flags (either default or command-line) and set anything
7441   # extra (e.g., #defines) that must accompany particular g++ options.
7442   if test -n "$enable_cxx_flags"; then
7443     for f in $enable_cxx_flags; do
7444       case "$f" in
7445         -fhonor-std)  ;;
7446         -*)  ;;
7447         *)   # and we're trying to pass /what/ exactly?
7448              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7449 echo "$as_me: error: compiler flags start with a -" >&2;}
7450    { (exit 1); exit 1; }; } ;;
7451       esac
7452     done
7453   fi
7454
7455   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7456   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7457 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7458
7459
7460
7461 # No surprises, no surprises...
7462 if test $atomicity_include_dir = cpu/generic ; then
7463   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7464 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7465   if test $target_thread_file = single; then
7466     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7467 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7468     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7469 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7470   else
7471     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7472 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7473     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7474 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7475   fi
7476 fi
7477
7478
7479 if $GLIBCXX_IS_NATIVE; then
7480
7481   # We can do more elaborate tests that assume a working linker.
7482   CANADIAN=no
7483
7484   # Check for available headers.
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7499   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7500   sys/types.h
7501 do
7502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7504   echo "$as_me:$LINENO: checking for $ac_header" >&5
7505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7507   echo $ECHO_N "(cached) $ECHO_C" >&6
7508 fi
7509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7511 else
7512   # Is the header compilable?
7513 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7515 cat >conftest.$ac_ext <<_ACEOF
7516 #line $LINENO "configure"
7517 /* confdefs.h.  */
7518 _ACEOF
7519 cat confdefs.h >>conftest.$ac_ext
7520 cat >>conftest.$ac_ext <<_ACEOF
7521 /* end confdefs.h.  */
7522 $ac_includes_default
7523 #include <$ac_header>
7524 _ACEOF
7525 rm -f conftest.$ac_objext
7526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7527   (eval $ac_compile) 2>&5
7528   ac_status=$?
7529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530   (exit $ac_status); } &&
7531          { ac_try='test -s conftest.$ac_objext'
7532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533   (eval $ac_try) 2>&5
7534   ac_status=$?
7535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536   (exit $ac_status); }; }; then
7537   ac_header_compiler=yes
7538 else
7539   echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7541
7542 ac_header_compiler=no
7543 fi
7544 rm -f conftest.$ac_objext conftest.$ac_ext
7545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7546 echo "${ECHO_T}$ac_header_compiler" >&6
7547
7548 # Is the header present?
7549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7551 cat >conftest.$ac_ext <<_ACEOF
7552 #line $LINENO "configure"
7553 /* confdefs.h.  */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h.  */
7558 #include <$ac_header>
7559 _ACEOF
7560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7561   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7562   ac_status=$?
7563   grep -v '^ *+' conftest.er1 >conftest.err
7564   rm -f conftest.er1
7565   cat conftest.err >&5
7566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567   (exit $ac_status); } >/dev/null; then
7568   if test -s conftest.err; then
7569     ac_cpp_err=$ac_c_preproc_warn_flag
7570   else
7571     ac_cpp_err=
7572   fi
7573 else
7574   ac_cpp_err=yes
7575 fi
7576 if test -z "$ac_cpp_err"; then
7577   ac_header_preproc=yes
7578 else
7579   echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5
7581
7582   ac_header_preproc=no
7583 fi
7584 rm -f conftest.err conftest.$ac_ext
7585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7586 echo "${ECHO_T}$ac_header_preproc" >&6
7587
7588 # So?  What about this header?
7589 case $ac_header_compiler:$ac_header_preproc in
7590   yes:no )
7591     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7593     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7595     (
7596       cat <<\_ASBOX
7597 ## ------------------------------------ ##
7598 ## Report this to bug-autoconf@gnu.org. ##
7599 ## ------------------------------------ ##
7600 _ASBOX
7601     ) |
7602       sed "s/^/$as_me: WARNING:     /" >&2
7603     ;;
7604   no:yes )
7605     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7607     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7609     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7610 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7611     (
7612       cat <<\_ASBOX
7613 ## ------------------------------------ ##
7614 ## Report this to bug-autoconf@gnu.org. ##
7615 ## ------------------------------------ ##
7616 _ASBOX
7617     ) |
7618       sed "s/^/$as_me: WARNING:     /" >&2
7619     ;;
7620 esac
7621 echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7624   echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626   eval "$as_ac_Header=$ac_header_preproc"
7627 fi
7628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7630
7631 fi
7632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7633   cat >>confdefs.h <<_ACEOF
7634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7635 _ACEOF
7636
7637 fi
7638
7639 done
7640
7641
7642
7643   # All these tests are for C++; save the language and the compiler flags.
7644   # The CXXFLAGS thing is suspicious, but based on similar bits previously
7645   # found in GLIBCXX_CONFIGURE.
7646
7647
7648   ac_ext=cc
7649 ac_cpp='$CXXCPP $CPPFLAGS'
7650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7653
7654   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7655   ac_save_CXXFLAGS="$CXXFLAGS"
7656
7657   # Check for maintainer-mode bits.
7658   if test x"$USE_MAINTAINER_MODE" = xno; then
7659     WERROR=''
7660   else
7661     WERROR='-Werror'
7662   fi
7663
7664   # Check for -ffunction-sections -fdata-sections
7665   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7666 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7667   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7668   cat >conftest.$ac_ext <<_ACEOF
7669 #line $LINENO "configure"
7670 /* confdefs.h.  */
7671 _ACEOF
7672 cat confdefs.h >>conftest.$ac_ext
7673 cat >>conftest.$ac_ext <<_ACEOF
7674 /* end confdefs.h.  */
7675
7676 int
7677 main ()
7678 {
7679 int foo;
7680   ;
7681   return 0;
7682 }
7683 _ACEOF
7684 rm -f conftest.$ac_objext
7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7686   (eval $ac_compile) 2>&5
7687   ac_status=$?
7688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689   (exit $ac_status); } &&
7690          { ac_try='test -s conftest.$ac_objext'
7691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692   (eval $ac_try) 2>&5
7693   ac_status=$?
7694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695   (exit $ac_status); }; }; then
7696   ac_fdsections=yes
7697 else
7698   echo "$as_me: failed program was:" >&5
7699 sed 's/^/| /' conftest.$ac_ext >&5
7700
7701 ac_fdsections=no
7702 fi
7703 rm -f conftest.$ac_objext conftest.$ac_ext
7704   if test "$ac_test_CXXFLAGS" = set; then
7705     CXXFLAGS="$ac_save_CXXFLAGS"
7706   else
7707     # this is the suspicious part
7708     CXXFLAGS=''
7709   fi
7710   if test x"$ac_fdsections" = x"yes"; then
7711     SECTION_FLAGS='-ffunction-sections -fdata-sections'
7712   fi
7713   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7714 echo "${ECHO_T}$ac_fdsections" >&6
7715
7716   ac_ext=c
7717 ac_cpp='$CPP $CPPFLAGS'
7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7721
7722
7723
7724
7725
7726   # If we're not using GNU ld, then there's no point in even trying these
7727   # tests.  Check for that first.  We should have already tested for gld
7728   # by now (in libtool), but require it now just to be safe...
7729   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7730   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7731
7732
7733
7734   # The name set by libtool depends on the version of libtool.  Shame on us
7735   # for depending on an impl detail, but c'est la vie.  Older versions used
7736   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7737   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7738   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
7739   # set (hence we're using an older libtool), then set it.
7740   if test x${with_gnu_ld+set} != xset; then
7741     if test x${ac_cv_prog_gnu_ld+set} != xset; then
7742       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
7743       with_gnu_ld=no
7744     else
7745       with_gnu_ld=$ac_cv_prog_gnu_ld
7746     fi
7747   fi
7748
7749   # Start by getting the version number.  I think the libtool test already
7750   # does some of this, but throws away the result.
7751
7752   ldver=`$LD --version 2>/dev/null | head -1 | \
7753          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7754
7755   glibcxx_gnu_ld_version=`echo $ldver | \
7756          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7757
7758   # Set --gc-sections.
7759   if test "$with_gnu_ld" = "notbroken"; then
7760     # GNU ld it is!  Joy and bunny rabbits!
7761
7762     # All these tests are for C++; save the language and the compiler flags.
7763     # Need to do this so that g++ won't try to link in libstdc++
7764     ac_test_CFLAGS="${CFLAGS+set}"
7765     ac_save_CFLAGS="$CFLAGS"
7766     CFLAGS='-x c++  -Wl,--gc-sections'
7767
7768     # Check for -Wl,--gc-sections
7769     # XXX This test is broken at the moment, as symbols required for linking
7770     # are now in libsupc++ (not built yet).  In addition, this test has
7771     # cored on solaris in the past.  In addition, --gc-sections doesn't
7772     # really work at the moment (keeps on discarding used sections, first
7773     # .eh_frame and now some of the glibc sections for iconv).
7774     # Bzzzzt.  Thanks for playing, maybe next time.
7775     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7776 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7777     if test "$cross_compiling" = yes; then
7778   ac_sectionLDflags=yes
7779 else
7780   cat >conftest.$ac_ext <<_ACEOF
7781 #line $LINENO "configure"
7782 /* confdefs.h.  */
7783 _ACEOF
7784 cat confdefs.h >>conftest.$ac_ext
7785 cat >>conftest.$ac_ext <<_ACEOF
7786 /* end confdefs.h.  */
7787
7788      int main(void)
7789      {
7790        try { throw 1; }
7791        catch (...) { };
7792        return 0;
7793      }
7794
7795 _ACEOF
7796 rm -f conftest$ac_exeext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7798   (eval $ac_link) 2>&5
7799   ac_status=$?
7800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803   (eval $ac_try) 2>&5
7804   ac_status=$?
7805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806   (exit $ac_status); }; }; then
7807   ac_sectionLDflags=yes
7808 else
7809   echo "$as_me: program exited with status $ac_status" >&5
7810 echo "$as_me: failed program was:" >&5
7811 sed 's/^/| /' conftest.$ac_ext >&5
7812
7813 ( exit $ac_status )
7814 ac_sectionLDflags=no
7815 fi
7816 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7817 fi
7818     if test "$ac_test_CFLAGS" = set; then
7819       CFLAGS="$ac_save_CFLAGS"
7820     else
7821       # this is the suspicious part
7822       CFLAGS=''
7823     fi
7824     if test "$ac_sectionLDflags" = "yes"; then
7825       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7826     fi
7827     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7828 echo "${ECHO_T}$ac_sectionLDflags" >&6
7829   fi
7830
7831   # Set linker optimization flags.
7832   if test x"$with_gnu_ld" = x"yes"; then
7833     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7834   fi
7835
7836
7837
7838
7839
7840   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7841   ac_save_CXXFLAGS="$CXXFLAGS"
7842   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7843
7844     echo "$as_me:$LINENO: checking for sin in -lm" >&5
7845 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7846 if test "${ac_cv_lib_m_sin+set}" = set; then
7847   echo $ECHO_N "(cached) $ECHO_C" >&6
7848 else
7849   ac_check_lib_save_LIBS=$LIBS
7850 LIBS="-lm  $LIBS"
7851 cat >conftest.$ac_ext <<_ACEOF
7852 #line $LINENO "configure"
7853 /* confdefs.h.  */
7854 _ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h.  */
7858
7859 /* Override any gcc2 internal prototype to avoid an error.  */
7860 #ifdef __cplusplus
7861 extern "C"
7862 #endif
7863 /* We use char because int might match the return type of a gcc2
7864    builtin and then its argument prototype would still apply.  */
7865 char sin ();
7866 int
7867 main ()
7868 {
7869 sin ();
7870   ;
7871   return 0;
7872 }
7873 _ACEOF
7874 rm -f conftest.$ac_objext conftest$ac_exeext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7876   (eval $ac_link) 2>&5
7877   ac_status=$?
7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879   (exit $ac_status); } &&
7880          { ac_try='test -s conftest$ac_exeext'
7881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882   (eval $ac_try) 2>&5
7883   ac_status=$?
7884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885   (exit $ac_status); }; }; then
7886   ac_cv_lib_m_sin=yes
7887 else
7888   echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.$ac_ext >&5
7890
7891 ac_cv_lib_m_sin=no
7892 fi
7893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7894 LIBS=$ac_check_lib_save_LIBS
7895 fi
7896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7897 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7898 if test $ac_cv_lib_m_sin = yes; then
7899   libm="-lm"
7900 fi
7901
7902   ac_save_LIBS="$LIBS"
7903   LIBS="$LIBS $libm"
7904
7905
7906
7907   echo "$as_me:$LINENO: checking for isinf declaration" >&5
7908 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7909   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7910     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7911   echo $ECHO_N "(cached) $ECHO_C" >&6
7912 else
7913
7914
7915
7916       ac_ext=cc
7917 ac_cpp='$CXXCPP $CPPFLAGS'
7918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7921
7922       cat >conftest.$ac_ext <<_ACEOF
7923 #line $LINENO "configure"
7924 /* confdefs.h.  */
7925 _ACEOF
7926 cat confdefs.h >>conftest.$ac_ext
7927 cat >>conftest.$ac_ext <<_ACEOF
7928 /* end confdefs.h.  */
7929 #include <math.h>
7930                       #ifdef HAVE_IEEEFP_H
7931                       #include <ieeefp.h>
7932                       #endif
7933
7934 int
7935 main ()
7936 {
7937  isinf(0);
7938   ;
7939   return 0;
7940 }
7941 _ACEOF
7942 rm -f conftest.$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944   (eval $ac_compile) 2>&5
7945   ac_status=$?
7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947   (exit $ac_status); } &&
7948          { ac_try='test -s conftest.$ac_objext'
7949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950   (eval $ac_try) 2>&5
7951   ac_status=$?
7952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953   (exit $ac_status); }; }; then
7954   glibcxx_cv_func_isinf_use=yes
7955 else
7956   echo "$as_me: failed program was:" >&5
7957 sed 's/^/| /' conftest.$ac_ext >&5
7958
7959 glibcxx_cv_func_isinf_use=no
7960 fi
7961 rm -f conftest.$ac_objext conftest.$ac_ext
7962       ac_ext=c
7963 ac_cpp='$CPP $CPPFLAGS'
7964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7967
7968
7969 fi
7970
7971   fi
7972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7973 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7974
7975   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7976
7977 for ac_func in isinf
7978 do
7979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7980 echo "$as_me:$LINENO: checking for $ac_func" >&5
7981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7982 if eval "test \"\${$as_ac_var+set}\" = set"; then
7983   echo $ECHO_N "(cached) $ECHO_C" >&6
7984 else
7985   cat >conftest.$ac_ext <<_ACEOF
7986 #line $LINENO "configure"
7987 /* confdefs.h.  */
7988 _ACEOF
7989 cat confdefs.h >>conftest.$ac_ext
7990 cat >>conftest.$ac_ext <<_ACEOF
7991 /* end confdefs.h.  */
7992 /* System header to define __stub macros and hopefully few prototypes,
7993     which can conflict with char $ac_func (); below.
7994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7995     <limits.h> exists even on freestanding compilers.  */
7996 #ifdef __STDC__
7997 # include <limits.h>
7998 #else
7999 # include <assert.h>
8000 #endif
8001 /* Override any gcc2 internal prototype to avoid an error.  */
8002 #ifdef __cplusplus
8003 extern "C"
8004 {
8005 #endif
8006 /* We use char because int might match the return type of a gcc2
8007    builtin and then its argument prototype would still apply.  */
8008 char $ac_func ();
8009 /* The GNU C library defines this for functions which it implements
8010     to always fail with ENOSYS.  Some functions are actually named
8011     something starting with __ and the normal name is an alias.  */
8012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8013 choke me
8014 #else
8015 char (*f) () = $ac_func;
8016 #endif
8017 #ifdef __cplusplus
8018 }
8019 #endif
8020
8021 int
8022 main ()
8023 {
8024 return f != $ac_func;
8025   ;
8026   return 0;
8027 }
8028 _ACEOF
8029 rm -f conftest.$ac_objext conftest$ac_exeext
8030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8031   (eval $ac_link) 2>&5
8032   ac_status=$?
8033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034   (exit $ac_status); } &&
8035          { ac_try='test -s conftest$ac_exeext'
8036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037   (eval $ac_try) 2>&5
8038   ac_status=$?
8039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040   (exit $ac_status); }; }; then
8041   eval "$as_ac_var=yes"
8042 else
8043   echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8045
8046 eval "$as_ac_var=no"
8047 fi
8048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8049 fi
8050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8052 if test `eval echo '${'$as_ac_var'}'` = yes; then
8053   cat >>confdefs.h <<_ACEOF
8054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8055 _ACEOF
8056
8057 fi
8058 done
8059
8060   else
8061
8062   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8063 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8064   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8065     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8066   echo $ECHO_N "(cached) $ECHO_C" >&6
8067 else
8068
8069
8070
8071       ac_ext=cc
8072 ac_cpp='$CXXCPP $CPPFLAGS'
8073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8076
8077       cat >conftest.$ac_ext <<_ACEOF
8078 #line $LINENO "configure"
8079 /* confdefs.h.  */
8080 _ACEOF
8081 cat confdefs.h >>conftest.$ac_ext
8082 cat >>conftest.$ac_ext <<_ACEOF
8083 /* end confdefs.h.  */
8084 #include <math.h>
8085                       #ifdef HAVE_IEEEFP_H
8086                       #include <ieeefp.h>
8087                       #endif
8088
8089 int
8090 main ()
8091 {
8092  _isinf(0);
8093   ;
8094   return 0;
8095 }
8096 _ACEOF
8097 rm -f conftest.$ac_objext
8098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8099   (eval $ac_compile) 2>&5
8100   ac_status=$?
8101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102   (exit $ac_status); } &&
8103          { ac_try='test -s conftest.$ac_objext'
8104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105   (eval $ac_try) 2>&5
8106   ac_status=$?
8107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108   (exit $ac_status); }; }; then
8109   glibcxx_cv_func__isinf_use=yes
8110 else
8111   echo "$as_me: failed program was:" >&5
8112 sed 's/^/| /' conftest.$ac_ext >&5
8113
8114 glibcxx_cv_func__isinf_use=no
8115 fi
8116 rm -f conftest.$ac_objext conftest.$ac_ext
8117       ac_ext=c
8118 ac_cpp='$CPP $CPPFLAGS'
8119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8122
8123
8124 fi
8125
8126   fi
8127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8128 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8129
8130     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8131
8132 for ac_func in _isinf
8133 do
8134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8135 echo "$as_me:$LINENO: checking for $ac_func" >&5
8136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8137 if eval "test \"\${$as_ac_var+set}\" = set"; then
8138   echo $ECHO_N "(cached) $ECHO_C" >&6
8139 else
8140   cat >conftest.$ac_ext <<_ACEOF
8141 #line $LINENO "configure"
8142 /* confdefs.h.  */
8143 _ACEOF
8144 cat confdefs.h >>conftest.$ac_ext
8145 cat >>conftest.$ac_ext <<_ACEOF
8146 /* end confdefs.h.  */
8147 /* System header to define __stub macros and hopefully few prototypes,
8148     which can conflict with char $ac_func (); below.
8149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8150     <limits.h> exists even on freestanding compilers.  */
8151 #ifdef __STDC__
8152 # include <limits.h>
8153 #else
8154 # include <assert.h>
8155 #endif
8156 /* Override any gcc2 internal prototype to avoid an error.  */
8157 #ifdef __cplusplus
8158 extern "C"
8159 {
8160 #endif
8161 /* We use char because int might match the return type of a gcc2
8162    builtin and then its argument prototype would still apply.  */
8163 char $ac_func ();
8164 /* The GNU C library defines this for functions which it implements
8165     to always fail with ENOSYS.  Some functions are actually named
8166     something starting with __ and the normal name is an alias.  */
8167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8168 choke me
8169 #else
8170 char (*f) () = $ac_func;
8171 #endif
8172 #ifdef __cplusplus
8173 }
8174 #endif
8175
8176 int
8177 main ()
8178 {
8179 return f != $ac_func;
8180   ;
8181   return 0;
8182 }
8183 _ACEOF
8184 rm -f conftest.$ac_objext conftest$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186   (eval $ac_link) 2>&5
8187   ac_status=$?
8188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189   (exit $ac_status); } &&
8190          { ac_try='test -s conftest$ac_exeext'
8191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192   (eval $ac_try) 2>&5
8193   ac_status=$?
8194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195   (exit $ac_status); }; }; then
8196   eval "$as_ac_var=yes"
8197 else
8198   echo "$as_me: failed program was:" >&5
8199 sed 's/^/| /' conftest.$ac_ext >&5
8200
8201 eval "$as_ac_var=no"
8202 fi
8203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8204 fi
8205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8207 if test `eval echo '${'$as_ac_var'}'` = yes; then
8208   cat >>confdefs.h <<_ACEOF
8209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8210 _ACEOF
8211
8212 fi
8213 done
8214
8215     fi
8216   fi
8217
8218
8219
8220   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8221 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8222   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8223     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8224   echo $ECHO_N "(cached) $ECHO_C" >&6
8225 else
8226
8227
8228
8229       ac_ext=cc
8230 ac_cpp='$CXXCPP $CPPFLAGS'
8231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8234
8235       cat >conftest.$ac_ext <<_ACEOF
8236 #line $LINENO "configure"
8237 /* confdefs.h.  */
8238 _ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h.  */
8242 #include <math.h>
8243                       #ifdef HAVE_IEEEFP_H
8244                       #include <ieeefp.h>
8245                       #endif
8246
8247 int
8248 main ()
8249 {
8250  isnan(0);
8251   ;
8252   return 0;
8253 }
8254 _ACEOF
8255 rm -f conftest.$ac_objext
8256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8257   (eval $ac_compile) 2>&5
8258   ac_status=$?
8259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260   (exit $ac_status); } &&
8261          { ac_try='test -s conftest.$ac_objext'
8262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263   (eval $ac_try) 2>&5
8264   ac_status=$?
8265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266   (exit $ac_status); }; }; then
8267   glibcxx_cv_func_isnan_use=yes
8268 else
8269   echo "$as_me: failed program was:" >&5
8270 sed 's/^/| /' conftest.$ac_ext >&5
8271
8272 glibcxx_cv_func_isnan_use=no
8273 fi
8274 rm -f conftest.$ac_objext conftest.$ac_ext
8275       ac_ext=c
8276 ac_cpp='$CPP $CPPFLAGS'
8277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280
8281
8282 fi
8283
8284   fi
8285   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8286 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8287
8288   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8289
8290 for ac_func in isnan
8291 do
8292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8293 echo "$as_me:$LINENO: checking for $ac_func" >&5
8294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8295 if eval "test \"\${$as_ac_var+set}\" = set"; then
8296   echo $ECHO_N "(cached) $ECHO_C" >&6
8297 else
8298   cat >conftest.$ac_ext <<_ACEOF
8299 #line $LINENO "configure"
8300 /* confdefs.h.  */
8301 _ACEOF
8302 cat confdefs.h >>conftest.$ac_ext
8303 cat >>conftest.$ac_ext <<_ACEOF
8304 /* end confdefs.h.  */
8305 /* System header to define __stub macros and hopefully few prototypes,
8306     which can conflict with char $ac_func (); below.
8307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308     <limits.h> exists even on freestanding compilers.  */
8309 #ifdef __STDC__
8310 # include <limits.h>
8311 #else
8312 # include <assert.h>
8313 #endif
8314 /* Override any gcc2 internal prototype to avoid an error.  */
8315 #ifdef __cplusplus
8316 extern "C"
8317 {
8318 #endif
8319 /* We use char because int might match the return type of a gcc2
8320    builtin and then its argument prototype would still apply.  */
8321 char $ac_func ();
8322 /* The GNU C library defines this for functions which it implements
8323     to always fail with ENOSYS.  Some functions are actually named
8324     something starting with __ and the normal name is an alias.  */
8325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8326 choke me
8327 #else
8328 char (*f) () = $ac_func;
8329 #endif
8330 #ifdef __cplusplus
8331 }
8332 #endif
8333
8334 int
8335 main ()
8336 {
8337 return f != $ac_func;
8338   ;
8339   return 0;
8340 }
8341 _ACEOF
8342 rm -f conftest.$ac_objext conftest$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344   (eval $ac_link) 2>&5
8345   ac_status=$?
8346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347   (exit $ac_status); } &&
8348          { ac_try='test -s conftest$ac_exeext'
8349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350   (eval $ac_try) 2>&5
8351   ac_status=$?
8352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353   (exit $ac_status); }; }; then
8354   eval "$as_ac_var=yes"
8355 else
8356   echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8358
8359 eval "$as_ac_var=no"
8360 fi
8361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8362 fi
8363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8365 if test `eval echo '${'$as_ac_var'}'` = yes; then
8366   cat >>confdefs.h <<_ACEOF
8367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8368 _ACEOF
8369
8370 fi
8371 done
8372
8373   else
8374
8375   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8376 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8377   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8378     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8379   echo $ECHO_N "(cached) $ECHO_C" >&6
8380 else
8381
8382
8383
8384       ac_ext=cc
8385 ac_cpp='$CXXCPP $CPPFLAGS'
8386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8389
8390       cat >conftest.$ac_ext <<_ACEOF
8391 #line $LINENO "configure"
8392 /* confdefs.h.  */
8393 _ACEOF
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h.  */
8397 #include <math.h>
8398                       #ifdef HAVE_IEEEFP_H
8399                       #include <ieeefp.h>
8400                       #endif
8401
8402 int
8403 main ()
8404 {
8405  _isnan(0);
8406   ;
8407   return 0;
8408 }
8409 _ACEOF
8410 rm -f conftest.$ac_objext
8411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8412   (eval $ac_compile) 2>&5
8413   ac_status=$?
8414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415   (exit $ac_status); } &&
8416          { ac_try='test -s conftest.$ac_objext'
8417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418   (eval $ac_try) 2>&5
8419   ac_status=$?
8420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421   (exit $ac_status); }; }; then
8422   glibcxx_cv_func__isnan_use=yes
8423 else
8424   echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.$ac_ext >&5
8426
8427 glibcxx_cv_func__isnan_use=no
8428 fi
8429 rm -f conftest.$ac_objext conftest.$ac_ext
8430       ac_ext=c
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8435
8436
8437 fi
8438
8439   fi
8440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8441 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8442
8443     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8444
8445 for ac_func in _isnan
8446 do
8447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8448 echo "$as_me:$LINENO: checking for $ac_func" >&5
8449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8450 if eval "test \"\${$as_ac_var+set}\" = set"; then
8451   echo $ECHO_N "(cached) $ECHO_C" >&6
8452 else
8453   cat >conftest.$ac_ext <<_ACEOF
8454 #line $LINENO "configure"
8455 /* confdefs.h.  */
8456 _ACEOF
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h.  */
8460 /* System header to define __stub macros and hopefully few prototypes,
8461     which can conflict with char $ac_func (); below.
8462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8463     <limits.h> exists even on freestanding compilers.  */
8464 #ifdef __STDC__
8465 # include <limits.h>
8466 #else
8467 # include <assert.h>
8468 #endif
8469 /* Override any gcc2 internal prototype to avoid an error.  */
8470 #ifdef __cplusplus
8471 extern "C"
8472 {
8473 #endif
8474 /* We use char because int might match the return type of a gcc2
8475    builtin and then its argument prototype would still apply.  */
8476 char $ac_func ();
8477 /* The GNU C library defines this for functions which it implements
8478     to always fail with ENOSYS.  Some functions are actually named
8479     something starting with __ and the normal name is an alias.  */
8480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8481 choke me
8482 #else
8483 char (*f) () = $ac_func;
8484 #endif
8485 #ifdef __cplusplus
8486 }
8487 #endif
8488
8489 int
8490 main ()
8491 {
8492 return f != $ac_func;
8493   ;
8494   return 0;
8495 }
8496 _ACEOF
8497 rm -f conftest.$ac_objext conftest$ac_exeext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8499   (eval $ac_link) 2>&5
8500   ac_status=$?
8501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502   (exit $ac_status); } &&
8503          { ac_try='test -s conftest$ac_exeext'
8504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505   (eval $ac_try) 2>&5
8506   ac_status=$?
8507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508   (exit $ac_status); }; }; then
8509   eval "$as_ac_var=yes"
8510 else
8511   echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8513
8514 eval "$as_ac_var=no"
8515 fi
8516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8517 fi
8518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8520 if test `eval echo '${'$as_ac_var'}'` = yes; then
8521   cat >>confdefs.h <<_ACEOF
8522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8523 _ACEOF
8524
8525 fi
8526 done
8527
8528     fi
8529   fi
8530
8531
8532
8533   echo "$as_me:$LINENO: checking for finite declaration" >&5
8534 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8535   if test x${glibcxx_cv_func_finite_use+set} != xset; then
8536     if test "${glibcxx_cv_func_finite_use+set}" = set; then
8537   echo $ECHO_N "(cached) $ECHO_C" >&6
8538 else
8539
8540
8541
8542       ac_ext=cc
8543 ac_cpp='$CXXCPP $CPPFLAGS'
8544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8547
8548       cat >conftest.$ac_ext <<_ACEOF
8549 #line $LINENO "configure"
8550 /* confdefs.h.  */
8551 _ACEOF
8552 cat confdefs.h >>conftest.$ac_ext
8553 cat >>conftest.$ac_ext <<_ACEOF
8554 /* end confdefs.h.  */
8555 #include <math.h>
8556                       #ifdef HAVE_IEEEFP_H
8557                       #include <ieeefp.h>
8558                       #endif
8559
8560 int
8561 main ()
8562 {
8563  finite(0);
8564   ;
8565   return 0;
8566 }
8567 _ACEOF
8568 rm -f conftest.$ac_objext
8569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8570   (eval $ac_compile) 2>&5
8571   ac_status=$?
8572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573   (exit $ac_status); } &&
8574          { ac_try='test -s conftest.$ac_objext'
8575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8576   (eval $ac_try) 2>&5
8577   ac_status=$?
8578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579   (exit $ac_status); }; }; then
8580   glibcxx_cv_func_finite_use=yes
8581 else
8582   echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.$ac_ext >&5
8584
8585 glibcxx_cv_func_finite_use=no
8586 fi
8587 rm -f conftest.$ac_objext conftest.$ac_ext
8588       ac_ext=c
8589 ac_cpp='$CPP $CPPFLAGS'
8590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8593
8594
8595 fi
8596
8597   fi
8598   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8599 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8600
8601   if test x$glibcxx_cv_func_finite_use = x"yes"; then
8602
8603 for ac_func in finite
8604 do
8605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8606 echo "$as_me:$LINENO: checking for $ac_func" >&5
8607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8608 if eval "test \"\${$as_ac_var+set}\" = set"; then
8609   echo $ECHO_N "(cached) $ECHO_C" >&6
8610 else
8611   cat >conftest.$ac_ext <<_ACEOF
8612 #line $LINENO "configure"
8613 /* confdefs.h.  */
8614 _ACEOF
8615 cat confdefs.h >>conftest.$ac_ext
8616 cat >>conftest.$ac_ext <<_ACEOF
8617 /* end confdefs.h.  */
8618 /* System header to define __stub macros and hopefully few prototypes,
8619     which can conflict with char $ac_func (); below.
8620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8621     <limits.h> exists even on freestanding compilers.  */
8622 #ifdef __STDC__
8623 # include <limits.h>
8624 #else
8625 # include <assert.h>
8626 #endif
8627 /* Override any gcc2 internal prototype to avoid an error.  */
8628 #ifdef __cplusplus
8629 extern "C"
8630 {
8631 #endif
8632 /* We use char because int might match the return type of a gcc2
8633    builtin and then its argument prototype would still apply.  */
8634 char $ac_func ();
8635 /* The GNU C library defines this for functions which it implements
8636     to always fail with ENOSYS.  Some functions are actually named
8637     something starting with __ and the normal name is an alias.  */
8638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8639 choke me
8640 #else
8641 char (*f) () = $ac_func;
8642 #endif
8643 #ifdef __cplusplus
8644 }
8645 #endif
8646
8647 int
8648 main ()
8649 {
8650 return f != $ac_func;
8651   ;
8652   return 0;
8653 }
8654 _ACEOF
8655 rm -f conftest.$ac_objext conftest$ac_exeext
8656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8657   (eval $ac_link) 2>&5
8658   ac_status=$?
8659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660   (exit $ac_status); } &&
8661          { ac_try='test -s conftest$ac_exeext'
8662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663   (eval $ac_try) 2>&5
8664   ac_status=$?
8665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666   (exit $ac_status); }; }; then
8667   eval "$as_ac_var=yes"
8668 else
8669   echo "$as_me: failed program was:" >&5
8670 sed 's/^/| /' conftest.$ac_ext >&5
8671
8672 eval "$as_ac_var=no"
8673 fi
8674 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8675 fi
8676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8678 if test `eval echo '${'$as_ac_var'}'` = yes; then
8679   cat >>confdefs.h <<_ACEOF
8680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8681 _ACEOF
8682
8683 fi
8684 done
8685
8686   else
8687
8688   echo "$as_me:$LINENO: checking for _finite declaration" >&5
8689 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8690   if test x${glibcxx_cv_func__finite_use+set} != xset; then
8691     if test "${glibcxx_cv_func__finite_use+set}" = set; then
8692   echo $ECHO_N "(cached) $ECHO_C" >&6
8693 else
8694
8695
8696
8697       ac_ext=cc
8698 ac_cpp='$CXXCPP $CPPFLAGS'
8699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8702
8703       cat >conftest.$ac_ext <<_ACEOF
8704 #line $LINENO "configure"
8705 /* confdefs.h.  */
8706 _ACEOF
8707 cat confdefs.h >>conftest.$ac_ext
8708 cat >>conftest.$ac_ext <<_ACEOF
8709 /* end confdefs.h.  */
8710 #include <math.h>
8711                       #ifdef HAVE_IEEEFP_H
8712                       #include <ieeefp.h>
8713                       #endif
8714
8715 int
8716 main ()
8717 {
8718  _finite(0);
8719   ;
8720   return 0;
8721 }
8722 _ACEOF
8723 rm -f conftest.$ac_objext
8724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8725   (eval $ac_compile) 2>&5
8726   ac_status=$?
8727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728   (exit $ac_status); } &&
8729          { ac_try='test -s conftest.$ac_objext'
8730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731   (eval $ac_try) 2>&5
8732   ac_status=$?
8733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734   (exit $ac_status); }; }; then
8735   glibcxx_cv_func__finite_use=yes
8736 else
8737   echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.$ac_ext >&5
8739
8740 glibcxx_cv_func__finite_use=no
8741 fi
8742 rm -f conftest.$ac_objext conftest.$ac_ext
8743       ac_ext=c
8744 ac_cpp='$CPP $CPPFLAGS'
8745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8748
8749
8750 fi
8751
8752   fi
8753   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8754 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8755
8756     if test x$glibcxx_cv_func__finite_use = x"yes"; then
8757
8758 for ac_func in _finite
8759 do
8760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8761 echo "$as_me:$LINENO: checking for $ac_func" >&5
8762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8763 if eval "test \"\${$as_ac_var+set}\" = set"; then
8764   echo $ECHO_N "(cached) $ECHO_C" >&6
8765 else
8766   cat >conftest.$ac_ext <<_ACEOF
8767 #line $LINENO "configure"
8768 /* confdefs.h.  */
8769 _ACEOF
8770 cat confdefs.h >>conftest.$ac_ext
8771 cat >>conftest.$ac_ext <<_ACEOF
8772 /* end confdefs.h.  */
8773 /* System header to define __stub macros and hopefully few prototypes,
8774     which can conflict with char $ac_func (); below.
8775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8776     <limits.h> exists even on freestanding compilers.  */
8777 #ifdef __STDC__
8778 # include <limits.h>
8779 #else
8780 # include <assert.h>
8781 #endif
8782 /* Override any gcc2 internal prototype to avoid an error.  */
8783 #ifdef __cplusplus
8784 extern "C"
8785 {
8786 #endif
8787 /* We use char because int might match the return type of a gcc2
8788    builtin and then its argument prototype would still apply.  */
8789 char $ac_func ();
8790 /* The GNU C library defines this for functions which it implements
8791     to always fail with ENOSYS.  Some functions are actually named
8792     something starting with __ and the normal name is an alias.  */
8793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8794 choke me
8795 #else
8796 char (*f) () = $ac_func;
8797 #endif
8798 #ifdef __cplusplus
8799 }
8800 #endif
8801
8802 int
8803 main ()
8804 {
8805 return f != $ac_func;
8806   ;
8807   return 0;
8808 }
8809 _ACEOF
8810 rm -f conftest.$ac_objext conftest$ac_exeext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8812   (eval $ac_link) 2>&5
8813   ac_status=$?
8814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815   (exit $ac_status); } &&
8816          { ac_try='test -s conftest$ac_exeext'
8817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818   (eval $ac_try) 2>&5
8819   ac_status=$?
8820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821   (exit $ac_status); }; }; then
8822   eval "$as_ac_var=yes"
8823 else
8824   echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.$ac_ext >&5
8826
8827 eval "$as_ac_var=no"
8828 fi
8829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8830 fi
8831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8833 if test `eval echo '${'$as_ac_var'}'` = yes; then
8834   cat >>confdefs.h <<_ACEOF
8835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8836 _ACEOF
8837
8838 fi
8839 done
8840
8841     fi
8842   fi
8843
8844
8845
8846   echo "$as_me:$LINENO: checking for copysign declaration" >&5
8847 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8848   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8849     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8850   echo $ECHO_N "(cached) $ECHO_C" >&6
8851 else
8852
8853
8854
8855       ac_ext=cc
8856 ac_cpp='$CXXCPP $CPPFLAGS'
8857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8860
8861       cat >conftest.$ac_ext <<_ACEOF
8862 #line $LINENO "configure"
8863 /* confdefs.h.  */
8864 _ACEOF
8865 cat confdefs.h >>conftest.$ac_ext
8866 cat >>conftest.$ac_ext <<_ACEOF
8867 /* end confdefs.h.  */
8868 #include <math.h>
8869 int
8870 main ()
8871 {
8872  copysign(0, 0);
8873   ;
8874   return 0;
8875 }
8876 _ACEOF
8877 rm -f conftest.$ac_objext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8879   (eval $ac_compile) 2>&5
8880   ac_status=$?
8881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882   (exit $ac_status); } &&
8883          { ac_try='test -s conftest.$ac_objext'
8884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885   (eval $ac_try) 2>&5
8886   ac_status=$?
8887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888   (exit $ac_status); }; }; then
8889   glibcxx_cv_func_copysign_use=yes
8890 else
8891   echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.$ac_ext >&5
8893
8894 glibcxx_cv_func_copysign_use=no
8895 fi
8896 rm -f conftest.$ac_objext conftest.$ac_ext
8897       ac_ext=c
8898 ac_cpp='$CPP $CPPFLAGS'
8899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8902
8903
8904 fi
8905
8906   fi
8907   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8908 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8909
8910   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8911
8912 for ac_func in copysign
8913 do
8914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8915 echo "$as_me:$LINENO: checking for $ac_func" >&5
8916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8917 if eval "test \"\${$as_ac_var+set}\" = set"; then
8918   echo $ECHO_N "(cached) $ECHO_C" >&6
8919 else
8920   cat >conftest.$ac_ext <<_ACEOF
8921 #line $LINENO "configure"
8922 /* confdefs.h.  */
8923 _ACEOF
8924 cat confdefs.h >>conftest.$ac_ext
8925 cat >>conftest.$ac_ext <<_ACEOF
8926 /* end confdefs.h.  */
8927 /* System header to define __stub macros and hopefully few prototypes,
8928     which can conflict with char $ac_func (); below.
8929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8930     <limits.h> exists even on freestanding compilers.  */
8931 #ifdef __STDC__
8932 # include <limits.h>
8933 #else
8934 # include <assert.h>
8935 #endif
8936 /* Override any gcc2 internal prototype to avoid an error.  */
8937 #ifdef __cplusplus
8938 extern "C"
8939 {
8940 #endif
8941 /* We use char because int might match the return type of a gcc2
8942    builtin and then its argument prototype would still apply.  */
8943 char $ac_func ();
8944 /* The GNU C library defines this for functions which it implements
8945     to always fail with ENOSYS.  Some functions are actually named
8946     something starting with __ and the normal name is an alias.  */
8947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8948 choke me
8949 #else
8950 char (*f) () = $ac_func;
8951 #endif
8952 #ifdef __cplusplus
8953 }
8954 #endif
8955
8956 int
8957 main ()
8958 {
8959 return f != $ac_func;
8960   ;
8961   return 0;
8962 }
8963 _ACEOF
8964 rm -f conftest.$ac_objext conftest$ac_exeext
8965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8966   (eval $ac_link) 2>&5
8967   ac_status=$?
8968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969   (exit $ac_status); } &&
8970          { ac_try='test -s conftest$ac_exeext'
8971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972   (eval $ac_try) 2>&5
8973   ac_status=$?
8974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975   (exit $ac_status); }; }; then
8976   eval "$as_ac_var=yes"
8977 else
8978   echo "$as_me: failed program was:" >&5
8979 sed 's/^/| /' conftest.$ac_ext >&5
8980
8981 eval "$as_ac_var=no"
8982 fi
8983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8984 fi
8985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8987 if test `eval echo '${'$as_ac_var'}'` = yes; then
8988   cat >>confdefs.h <<_ACEOF
8989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8990 _ACEOF
8991
8992 fi
8993 done
8994
8995   else
8996
8997   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
8998 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
8999   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9000     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9001   echo $ECHO_N "(cached) $ECHO_C" >&6
9002 else
9003
9004
9005
9006       ac_ext=cc
9007 ac_cpp='$CXXCPP $CPPFLAGS'
9008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9011
9012       cat >conftest.$ac_ext <<_ACEOF
9013 #line $LINENO "configure"
9014 /* confdefs.h.  */
9015 _ACEOF
9016 cat confdefs.h >>conftest.$ac_ext
9017 cat >>conftest.$ac_ext <<_ACEOF
9018 /* end confdefs.h.  */
9019 #include <math.h>
9020 int
9021 main ()
9022 {
9023  _copysign(0, 0);
9024   ;
9025   return 0;
9026 }
9027 _ACEOF
9028 rm -f conftest.$ac_objext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9030   (eval $ac_compile) 2>&5
9031   ac_status=$?
9032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033   (exit $ac_status); } &&
9034          { ac_try='test -s conftest.$ac_objext'
9035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9036   (eval $ac_try) 2>&5
9037   ac_status=$?
9038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039   (exit $ac_status); }; }; then
9040   glibcxx_cv_func__copysign_use=yes
9041 else
9042   echo "$as_me: failed program was:" >&5
9043 sed 's/^/| /' conftest.$ac_ext >&5
9044
9045 glibcxx_cv_func__copysign_use=no
9046 fi
9047 rm -f conftest.$ac_objext conftest.$ac_ext
9048       ac_ext=c
9049 ac_cpp='$CPP $CPPFLAGS'
9050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9053
9054
9055 fi
9056
9057   fi
9058   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9059 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9060
9061     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9062
9063 for ac_func in _copysign
9064 do
9065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9066 echo "$as_me:$LINENO: checking for $ac_func" >&5
9067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9068 if eval "test \"\${$as_ac_var+set}\" = set"; then
9069   echo $ECHO_N "(cached) $ECHO_C" >&6
9070 else
9071   cat >conftest.$ac_ext <<_ACEOF
9072 #line $LINENO "configure"
9073 /* confdefs.h.  */
9074 _ACEOF
9075 cat confdefs.h >>conftest.$ac_ext
9076 cat >>conftest.$ac_ext <<_ACEOF
9077 /* end confdefs.h.  */
9078 /* System header to define __stub macros and hopefully few prototypes,
9079     which can conflict with char $ac_func (); below.
9080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9081     <limits.h> exists even on freestanding compilers.  */
9082 #ifdef __STDC__
9083 # include <limits.h>
9084 #else
9085 # include <assert.h>
9086 #endif
9087 /* Override any gcc2 internal prototype to avoid an error.  */
9088 #ifdef __cplusplus
9089 extern "C"
9090 {
9091 #endif
9092 /* We use char because int might match the return type of a gcc2
9093    builtin and then its argument prototype would still apply.  */
9094 char $ac_func ();
9095 /* The GNU C library defines this for functions which it implements
9096     to always fail with ENOSYS.  Some functions are actually named
9097     something starting with __ and the normal name is an alias.  */
9098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9099 choke me
9100 #else
9101 char (*f) () = $ac_func;
9102 #endif
9103 #ifdef __cplusplus
9104 }
9105 #endif
9106
9107 int
9108 main ()
9109 {
9110 return f != $ac_func;
9111   ;
9112   return 0;
9113 }
9114 _ACEOF
9115 rm -f conftest.$ac_objext conftest$ac_exeext
9116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117   (eval $ac_link) 2>&5
9118   ac_status=$?
9119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120   (exit $ac_status); } &&
9121          { ac_try='test -s conftest$ac_exeext'
9122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123   (eval $ac_try) 2>&5
9124   ac_status=$?
9125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126   (exit $ac_status); }; }; then
9127   eval "$as_ac_var=yes"
9128 else
9129   echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9131
9132 eval "$as_ac_var=no"
9133 fi
9134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9135 fi
9136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9138 if test `eval echo '${'$as_ac_var'}'` = yes; then
9139   cat >>confdefs.h <<_ACEOF
9140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9141 _ACEOF
9142
9143 fi
9144 done
9145
9146     fi
9147   fi
9148
9149
9150
9151   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9152 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9153   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9154     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9155   echo $ECHO_N "(cached) $ECHO_C" >&6
9156 else
9157
9158
9159
9160       ac_ext=cc
9161 ac_cpp='$CXXCPP $CPPFLAGS'
9162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9165
9166       cat >conftest.$ac_ext <<_ACEOF
9167 #line $LINENO "configure"
9168 /* confdefs.h.  */
9169 _ACEOF
9170 cat confdefs.h >>conftest.$ac_ext
9171 cat >>conftest.$ac_ext <<_ACEOF
9172 /* end confdefs.h.  */
9173 #include <math.h>
9174 int
9175 main ()
9176 {
9177  sincos(0, 0, 0);
9178   ;
9179   return 0;
9180 }
9181 _ACEOF
9182 rm -f conftest.$ac_objext
9183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9184   (eval $ac_compile) 2>&5
9185   ac_status=$?
9186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187   (exit $ac_status); } &&
9188          { ac_try='test -s conftest.$ac_objext'
9189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190   (eval $ac_try) 2>&5
9191   ac_status=$?
9192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193   (exit $ac_status); }; }; then
9194   glibcxx_cv_func_sincos_use=yes
9195 else
9196   echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9198
9199 glibcxx_cv_func_sincos_use=no
9200 fi
9201 rm -f conftest.$ac_objext conftest.$ac_ext
9202       ac_ext=c
9203 ac_cpp='$CPP $CPPFLAGS'
9204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9207
9208
9209 fi
9210
9211   fi
9212   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9213 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9214
9215   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9216
9217 for ac_func in sincos
9218 do
9219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9220 echo "$as_me:$LINENO: checking for $ac_func" >&5
9221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9222 if eval "test \"\${$as_ac_var+set}\" = set"; then
9223   echo $ECHO_N "(cached) $ECHO_C" >&6
9224 else
9225   cat >conftest.$ac_ext <<_ACEOF
9226 #line $LINENO "configure"
9227 /* confdefs.h.  */
9228 _ACEOF
9229 cat confdefs.h >>conftest.$ac_ext
9230 cat >>conftest.$ac_ext <<_ACEOF
9231 /* end confdefs.h.  */
9232 /* System header to define __stub macros and hopefully few prototypes,
9233     which can conflict with char $ac_func (); below.
9234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9235     <limits.h> exists even on freestanding compilers.  */
9236 #ifdef __STDC__
9237 # include <limits.h>
9238 #else
9239 # include <assert.h>
9240 #endif
9241 /* Override any gcc2 internal prototype to avoid an error.  */
9242 #ifdef __cplusplus
9243 extern "C"
9244 {
9245 #endif
9246 /* We use char because int might match the return type of a gcc2
9247    builtin and then its argument prototype would still apply.  */
9248 char $ac_func ();
9249 /* The GNU C library defines this for functions which it implements
9250     to always fail with ENOSYS.  Some functions are actually named
9251     something starting with __ and the normal name is an alias.  */
9252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9253 choke me
9254 #else
9255 char (*f) () = $ac_func;
9256 #endif
9257 #ifdef __cplusplus
9258 }
9259 #endif
9260
9261 int
9262 main ()
9263 {
9264 return f != $ac_func;
9265   ;
9266   return 0;
9267 }
9268 _ACEOF
9269 rm -f conftest.$ac_objext conftest$ac_exeext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9271   (eval $ac_link) 2>&5
9272   ac_status=$?
9273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274   (exit $ac_status); } &&
9275          { ac_try='test -s conftest$ac_exeext'
9276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277   (eval $ac_try) 2>&5
9278   ac_status=$?
9279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280   (exit $ac_status); }; }; then
9281   eval "$as_ac_var=yes"
9282 else
9283   echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5
9285
9286 eval "$as_ac_var=no"
9287 fi
9288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9289 fi
9290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9292 if test `eval echo '${'$as_ac_var'}'` = yes; then
9293   cat >>confdefs.h <<_ACEOF
9294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9295 _ACEOF
9296
9297 fi
9298 done
9299
9300   else
9301
9302   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9303 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9304   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9305     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9306   echo $ECHO_N "(cached) $ECHO_C" >&6
9307 else
9308
9309
9310
9311       ac_ext=cc
9312 ac_cpp='$CXXCPP $CPPFLAGS'
9313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9316
9317       cat >conftest.$ac_ext <<_ACEOF
9318 #line $LINENO "configure"
9319 /* confdefs.h.  */
9320 _ACEOF
9321 cat confdefs.h >>conftest.$ac_ext
9322 cat >>conftest.$ac_ext <<_ACEOF
9323 /* end confdefs.h.  */
9324 #include <math.h>
9325 int
9326 main ()
9327 {
9328  _sincos(0, 0, 0);
9329   ;
9330   return 0;
9331 }
9332 _ACEOF
9333 rm -f conftest.$ac_objext
9334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9335   (eval $ac_compile) 2>&5
9336   ac_status=$?
9337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338   (exit $ac_status); } &&
9339          { ac_try='test -s conftest.$ac_objext'
9340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341   (eval $ac_try) 2>&5
9342   ac_status=$?
9343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344   (exit $ac_status); }; }; then
9345   glibcxx_cv_func__sincos_use=yes
9346 else
9347   echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.$ac_ext >&5
9349
9350 glibcxx_cv_func__sincos_use=no
9351 fi
9352 rm -f conftest.$ac_objext conftest.$ac_ext
9353       ac_ext=c
9354 ac_cpp='$CPP $CPPFLAGS'
9355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9358
9359
9360 fi
9361
9362   fi
9363   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9364 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9365
9366     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9367
9368 for ac_func in _sincos
9369 do
9370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9371 echo "$as_me:$LINENO: checking for $ac_func" >&5
9372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9373 if eval "test \"\${$as_ac_var+set}\" = set"; then
9374   echo $ECHO_N "(cached) $ECHO_C" >&6
9375 else
9376   cat >conftest.$ac_ext <<_ACEOF
9377 #line $LINENO "configure"
9378 /* confdefs.h.  */
9379 _ACEOF
9380 cat confdefs.h >>conftest.$ac_ext
9381 cat >>conftest.$ac_ext <<_ACEOF
9382 /* end confdefs.h.  */
9383 /* System header to define __stub macros and hopefully few prototypes,
9384     which can conflict with char $ac_func (); below.
9385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9386     <limits.h> exists even on freestanding compilers.  */
9387 #ifdef __STDC__
9388 # include <limits.h>
9389 #else
9390 # include <assert.h>
9391 #endif
9392 /* Override any gcc2 internal prototype to avoid an error.  */
9393 #ifdef __cplusplus
9394 extern "C"
9395 {
9396 #endif
9397 /* We use char because int might match the return type of a gcc2
9398    builtin and then its argument prototype would still apply.  */
9399 char $ac_func ();
9400 /* The GNU C library defines this for functions which it implements
9401     to always fail with ENOSYS.  Some functions are actually named
9402     something starting with __ and the normal name is an alias.  */
9403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9404 choke me
9405 #else
9406 char (*f) () = $ac_func;
9407 #endif
9408 #ifdef __cplusplus
9409 }
9410 #endif
9411
9412 int
9413 main ()
9414 {
9415 return f != $ac_func;
9416   ;
9417   return 0;
9418 }
9419 _ACEOF
9420 rm -f conftest.$ac_objext conftest$ac_exeext
9421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9422   (eval $ac_link) 2>&5
9423   ac_status=$?
9424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425   (exit $ac_status); } &&
9426          { ac_try='test -s conftest$ac_exeext'
9427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9428   (eval $ac_try) 2>&5
9429   ac_status=$?
9430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431   (exit $ac_status); }; }; then
9432   eval "$as_ac_var=yes"
9433 else
9434   echo "$as_me: failed program was:" >&5
9435 sed 's/^/| /' conftest.$ac_ext >&5
9436
9437 eval "$as_ac_var=no"
9438 fi
9439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9440 fi
9441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9443 if test `eval echo '${'$as_ac_var'}'` = yes; then
9444   cat >>confdefs.h <<_ACEOF
9445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9446 _ACEOF
9447
9448 fi
9449 done
9450
9451     fi
9452   fi
9453
9454
9455
9456   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9457 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9458   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9459     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9460   echo $ECHO_N "(cached) $ECHO_C" >&6
9461 else
9462
9463
9464
9465       ac_ext=cc
9466 ac_cpp='$CXXCPP $CPPFLAGS'
9467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9470
9471       cat >conftest.$ac_ext <<_ACEOF
9472 #line $LINENO "configure"
9473 /* confdefs.h.  */
9474 _ACEOF
9475 cat confdefs.h >>conftest.$ac_ext
9476 cat >>conftest.$ac_ext <<_ACEOF
9477 /* end confdefs.h.  */
9478 #include <math.h>
9479                       #ifdef HAVE_IEEEFP_H
9480                       #include <ieeefp.h>
9481                       #endif
9482
9483 int
9484 main ()
9485 {
9486  fpclass(0);
9487   ;
9488   return 0;
9489 }
9490 _ACEOF
9491 rm -f conftest.$ac_objext
9492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9493   (eval $ac_compile) 2>&5
9494   ac_status=$?
9495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496   (exit $ac_status); } &&
9497          { ac_try='test -s conftest.$ac_objext'
9498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9499   (eval $ac_try) 2>&5
9500   ac_status=$?
9501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502   (exit $ac_status); }; }; then
9503   glibcxx_cv_func_fpclass_use=yes
9504 else
9505   echo "$as_me: failed program was:" >&5
9506 sed 's/^/| /' conftest.$ac_ext >&5
9507
9508 glibcxx_cv_func_fpclass_use=no
9509 fi
9510 rm -f conftest.$ac_objext conftest.$ac_ext
9511       ac_ext=c
9512 ac_cpp='$CPP $CPPFLAGS'
9513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9516
9517
9518 fi
9519
9520   fi
9521   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9522 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9523
9524   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9525
9526 for ac_func in fpclass
9527 do
9528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9529 echo "$as_me:$LINENO: checking for $ac_func" >&5
9530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9531 if eval "test \"\${$as_ac_var+set}\" = set"; then
9532   echo $ECHO_N "(cached) $ECHO_C" >&6
9533 else
9534   cat >conftest.$ac_ext <<_ACEOF
9535 #line $LINENO "configure"
9536 /* confdefs.h.  */
9537 _ACEOF
9538 cat confdefs.h >>conftest.$ac_ext
9539 cat >>conftest.$ac_ext <<_ACEOF
9540 /* end confdefs.h.  */
9541 /* System header to define __stub macros and hopefully few prototypes,
9542     which can conflict with char $ac_func (); below.
9543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9544     <limits.h> exists even on freestanding compilers.  */
9545 #ifdef __STDC__
9546 # include <limits.h>
9547 #else
9548 # include <assert.h>
9549 #endif
9550 /* Override any gcc2 internal prototype to avoid an error.  */
9551 #ifdef __cplusplus
9552 extern "C"
9553 {
9554 #endif
9555 /* We use char because int might match the return type of a gcc2
9556    builtin and then its argument prototype would still apply.  */
9557 char $ac_func ();
9558 /* The GNU C library defines this for functions which it implements
9559     to always fail with ENOSYS.  Some functions are actually named
9560     something starting with __ and the normal name is an alias.  */
9561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9562 choke me
9563 #else
9564 char (*f) () = $ac_func;
9565 #endif
9566 #ifdef __cplusplus
9567 }
9568 #endif
9569
9570 int
9571 main ()
9572 {
9573 return f != $ac_func;
9574   ;
9575   return 0;
9576 }
9577 _ACEOF
9578 rm -f conftest.$ac_objext conftest$ac_exeext
9579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9580   (eval $ac_link) 2>&5
9581   ac_status=$?
9582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583   (exit $ac_status); } &&
9584          { ac_try='test -s conftest$ac_exeext'
9585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586   (eval $ac_try) 2>&5
9587   ac_status=$?
9588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589   (exit $ac_status); }; }; then
9590   eval "$as_ac_var=yes"
9591 else
9592   echo "$as_me: failed program was:" >&5
9593 sed 's/^/| /' conftest.$ac_ext >&5
9594
9595 eval "$as_ac_var=no"
9596 fi
9597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9598 fi
9599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9601 if test `eval echo '${'$as_ac_var'}'` = yes; then
9602   cat >>confdefs.h <<_ACEOF
9603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9604 _ACEOF
9605
9606 fi
9607 done
9608
9609   else
9610
9611   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9612 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9613   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9614     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9615   echo $ECHO_N "(cached) $ECHO_C" >&6
9616 else
9617
9618
9619
9620       ac_ext=cc
9621 ac_cpp='$CXXCPP $CPPFLAGS'
9622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9625
9626       cat >conftest.$ac_ext <<_ACEOF
9627 #line $LINENO "configure"
9628 /* confdefs.h.  */
9629 _ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h.  */
9633 #include <math.h>
9634                       #ifdef HAVE_IEEEFP_H
9635                       #include <ieeefp.h>
9636                       #endif
9637
9638 int
9639 main ()
9640 {
9641  _fpclass(0);
9642   ;
9643   return 0;
9644 }
9645 _ACEOF
9646 rm -f conftest.$ac_objext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9648   (eval $ac_compile) 2>&5
9649   ac_status=$?
9650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651   (exit $ac_status); } &&
9652          { ac_try='test -s conftest.$ac_objext'
9653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654   (eval $ac_try) 2>&5
9655   ac_status=$?
9656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657   (exit $ac_status); }; }; then
9658   glibcxx_cv_func__fpclass_use=yes
9659 else
9660   echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.$ac_ext >&5
9662
9663 glibcxx_cv_func__fpclass_use=no
9664 fi
9665 rm -f conftest.$ac_objext conftest.$ac_ext
9666       ac_ext=c
9667 ac_cpp='$CPP $CPPFLAGS'
9668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9671
9672
9673 fi
9674
9675   fi
9676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9677 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9678
9679     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9680
9681 for ac_func in _fpclass
9682 do
9683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9684 echo "$as_me:$LINENO: checking for $ac_func" >&5
9685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9686 if eval "test \"\${$as_ac_var+set}\" = set"; then
9687   echo $ECHO_N "(cached) $ECHO_C" >&6
9688 else
9689   cat >conftest.$ac_ext <<_ACEOF
9690 #line $LINENO "configure"
9691 /* confdefs.h.  */
9692 _ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h.  */
9696 /* System header to define __stub macros and hopefully few prototypes,
9697     which can conflict with char $ac_func (); below.
9698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9699     <limits.h> exists even on freestanding compilers.  */
9700 #ifdef __STDC__
9701 # include <limits.h>
9702 #else
9703 # include <assert.h>
9704 #endif
9705 /* Override any gcc2 internal prototype to avoid an error.  */
9706 #ifdef __cplusplus
9707 extern "C"
9708 {
9709 #endif
9710 /* We use char because int might match the return type of a gcc2
9711    builtin and then its argument prototype would still apply.  */
9712 char $ac_func ();
9713 /* The GNU C library defines this for functions which it implements
9714     to always fail with ENOSYS.  Some functions are actually named
9715     something starting with __ and the normal name is an alias.  */
9716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9717 choke me
9718 #else
9719 char (*f) () = $ac_func;
9720 #endif
9721 #ifdef __cplusplus
9722 }
9723 #endif
9724
9725 int
9726 main ()
9727 {
9728 return f != $ac_func;
9729   ;
9730   return 0;
9731 }
9732 _ACEOF
9733 rm -f conftest.$ac_objext conftest$ac_exeext
9734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9735   (eval $ac_link) 2>&5
9736   ac_status=$?
9737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738   (exit $ac_status); } &&
9739          { ac_try='test -s conftest$ac_exeext'
9740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9741   (eval $ac_try) 2>&5
9742   ac_status=$?
9743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744   (exit $ac_status); }; }; then
9745   eval "$as_ac_var=yes"
9746 else
9747   echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.$ac_ext >&5
9749
9750 eval "$as_ac_var=no"
9751 fi
9752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9753 fi
9754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9756 if test `eval echo '${'$as_ac_var'}'` = yes; then
9757   cat >>confdefs.h <<_ACEOF
9758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9759 _ACEOF
9760
9761 fi
9762 done
9763
9764     fi
9765   fi
9766
9767
9768
9769   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9770 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9771   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9772     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9773   echo $ECHO_N "(cached) $ECHO_C" >&6
9774 else
9775
9776
9777
9778       ac_ext=cc
9779 ac_cpp='$CXXCPP $CPPFLAGS'
9780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9783
9784       cat >conftest.$ac_ext <<_ACEOF
9785 #line $LINENO "configure"
9786 /* confdefs.h.  */
9787 _ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h.  */
9791 #include <math.h>
9792                       #ifdef HAVE_IEEEFP_H
9793                       #include <ieeefp.h>
9794                       #endif
9795
9796 int
9797 main ()
9798 {
9799  qfpclass(0);
9800   ;
9801   return 0;
9802 }
9803 _ACEOF
9804 rm -f conftest.$ac_objext
9805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9806   (eval $ac_compile) 2>&5
9807   ac_status=$?
9808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809   (exit $ac_status); } &&
9810          { ac_try='test -s conftest.$ac_objext'
9811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9812   (eval $ac_try) 2>&5
9813   ac_status=$?
9814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815   (exit $ac_status); }; }; then
9816   glibcxx_cv_func_qfpclass_use=yes
9817 else
9818   echo "$as_me: failed program was:" >&5
9819 sed 's/^/| /' conftest.$ac_ext >&5
9820
9821 glibcxx_cv_func_qfpclass_use=no
9822 fi
9823 rm -f conftest.$ac_objext conftest.$ac_ext
9824       ac_ext=c
9825 ac_cpp='$CPP $CPPFLAGS'
9826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9829
9830
9831 fi
9832
9833   fi
9834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9835 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9836
9837   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9838
9839 for ac_func in qfpclass
9840 do
9841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9842 echo "$as_me:$LINENO: checking for $ac_func" >&5
9843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9844 if eval "test \"\${$as_ac_var+set}\" = set"; then
9845   echo $ECHO_N "(cached) $ECHO_C" >&6
9846 else
9847   cat >conftest.$ac_ext <<_ACEOF
9848 #line $LINENO "configure"
9849 /* confdefs.h.  */
9850 _ACEOF
9851 cat confdefs.h >>conftest.$ac_ext
9852 cat >>conftest.$ac_ext <<_ACEOF
9853 /* end confdefs.h.  */
9854 /* System header to define __stub macros and hopefully few prototypes,
9855     which can conflict with char $ac_func (); below.
9856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9857     <limits.h> exists even on freestanding compilers.  */
9858 #ifdef __STDC__
9859 # include <limits.h>
9860 #else
9861 # include <assert.h>
9862 #endif
9863 /* Override any gcc2 internal prototype to avoid an error.  */
9864 #ifdef __cplusplus
9865 extern "C"
9866 {
9867 #endif
9868 /* We use char because int might match the return type of a gcc2
9869    builtin and then its argument prototype would still apply.  */
9870 char $ac_func ();
9871 /* The GNU C library defines this for functions which it implements
9872     to always fail with ENOSYS.  Some functions are actually named
9873     something starting with __ and the normal name is an alias.  */
9874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9875 choke me
9876 #else
9877 char (*f) () = $ac_func;
9878 #endif
9879 #ifdef __cplusplus
9880 }
9881 #endif
9882
9883 int
9884 main ()
9885 {
9886 return f != $ac_func;
9887   ;
9888   return 0;
9889 }
9890 _ACEOF
9891 rm -f conftest.$ac_objext conftest$ac_exeext
9892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9893   (eval $ac_link) 2>&5
9894   ac_status=$?
9895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896   (exit $ac_status); } &&
9897          { ac_try='test -s conftest$ac_exeext'
9898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899   (eval $ac_try) 2>&5
9900   ac_status=$?
9901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902   (exit $ac_status); }; }; then
9903   eval "$as_ac_var=yes"
9904 else
9905   echo "$as_me: failed program was:" >&5
9906 sed 's/^/| /' conftest.$ac_ext >&5
9907
9908 eval "$as_ac_var=no"
9909 fi
9910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9911 fi
9912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9914 if test `eval echo '${'$as_ac_var'}'` = yes; then
9915   cat >>confdefs.h <<_ACEOF
9916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9917 _ACEOF
9918
9919 fi
9920 done
9921
9922   else
9923
9924   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9925 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9926   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9927     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9928   echo $ECHO_N "(cached) $ECHO_C" >&6
9929 else
9930
9931
9932
9933       ac_ext=cc
9934 ac_cpp='$CXXCPP $CPPFLAGS'
9935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9938
9939       cat >conftest.$ac_ext <<_ACEOF
9940 #line $LINENO "configure"
9941 /* confdefs.h.  */
9942 _ACEOF
9943 cat confdefs.h >>conftest.$ac_ext
9944 cat >>conftest.$ac_ext <<_ACEOF
9945 /* end confdefs.h.  */
9946 #include <math.h>
9947                       #ifdef HAVE_IEEEFP_H
9948                       #include <ieeefp.h>
9949                       #endif
9950
9951 int
9952 main ()
9953 {
9954  _qfpclass(0);
9955   ;
9956   return 0;
9957 }
9958 _ACEOF
9959 rm -f conftest.$ac_objext
9960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9961   (eval $ac_compile) 2>&5
9962   ac_status=$?
9963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964   (exit $ac_status); } &&
9965          { ac_try='test -s conftest.$ac_objext'
9966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9967   (eval $ac_try) 2>&5
9968   ac_status=$?
9969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970   (exit $ac_status); }; }; then
9971   glibcxx_cv_func__qfpclass_use=yes
9972 else
9973   echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.$ac_ext >&5
9975
9976 glibcxx_cv_func__qfpclass_use=no
9977 fi
9978 rm -f conftest.$ac_objext conftest.$ac_ext
9979       ac_ext=c
9980 ac_cpp='$CPP $CPPFLAGS'
9981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9984
9985
9986 fi
9987
9988   fi
9989   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
9990 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
9991
9992     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
9993
9994 for ac_func in _qfpclass
9995 do
9996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9997 echo "$as_me:$LINENO: checking for $ac_func" >&5
9998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9999 if eval "test \"\${$as_ac_var+set}\" = set"; then
10000   echo $ECHO_N "(cached) $ECHO_C" >&6
10001 else
10002   cat >conftest.$ac_ext <<_ACEOF
10003 #line $LINENO "configure"
10004 /* confdefs.h.  */
10005 _ACEOF
10006 cat confdefs.h >>conftest.$ac_ext
10007 cat >>conftest.$ac_ext <<_ACEOF
10008 /* end confdefs.h.  */
10009 /* System header to define __stub macros and hopefully few prototypes,
10010     which can conflict with char $ac_func (); below.
10011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10012     <limits.h> exists even on freestanding compilers.  */
10013 #ifdef __STDC__
10014 # include <limits.h>
10015 #else
10016 # include <assert.h>
10017 #endif
10018 /* Override any gcc2 internal prototype to avoid an error.  */
10019 #ifdef __cplusplus
10020 extern "C"
10021 {
10022 #endif
10023 /* We use char because int might match the return type of a gcc2
10024    builtin and then its argument prototype would still apply.  */
10025 char $ac_func ();
10026 /* The GNU C library defines this for functions which it implements
10027     to always fail with ENOSYS.  Some functions are actually named
10028     something starting with __ and the normal name is an alias.  */
10029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10030 choke me
10031 #else
10032 char (*f) () = $ac_func;
10033 #endif
10034 #ifdef __cplusplus
10035 }
10036 #endif
10037
10038 int
10039 main ()
10040 {
10041 return f != $ac_func;
10042   ;
10043   return 0;
10044 }
10045 _ACEOF
10046 rm -f conftest.$ac_objext conftest$ac_exeext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10048   (eval $ac_link) 2>&5
10049   ac_status=$?
10050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051   (exit $ac_status); } &&
10052          { ac_try='test -s conftest$ac_exeext'
10053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054   (eval $ac_try) 2>&5
10055   ac_status=$?
10056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057   (exit $ac_status); }; }; then
10058   eval "$as_ac_var=yes"
10059 else
10060   echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10062
10063 eval "$as_ac_var=no"
10064 fi
10065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10066 fi
10067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10069 if test `eval echo '${'$as_ac_var'}'` = yes; then
10070   cat >>confdefs.h <<_ACEOF
10071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10072 _ACEOF
10073
10074 fi
10075 done
10076
10077     fi
10078   fi
10079
10080
10081
10082   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10083 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10084   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10085     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10086   echo $ECHO_N "(cached) $ECHO_C" >&6
10087 else
10088
10089
10090
10091       ac_ext=cc
10092 ac_cpp='$CXXCPP $CPPFLAGS'
10093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10096
10097       cat >conftest.$ac_ext <<_ACEOF
10098 #line $LINENO "configure"
10099 /* confdefs.h.  */
10100 _ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h.  */
10104 #include <math.h>
10105 int
10106 main ()
10107 {
10108  hypot(0, 0);
10109   ;
10110   return 0;
10111 }
10112 _ACEOF
10113 rm -f conftest.$ac_objext
10114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10115   (eval $ac_compile) 2>&5
10116   ac_status=$?
10117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118   (exit $ac_status); } &&
10119          { ac_try='test -s conftest.$ac_objext'
10120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10121   (eval $ac_try) 2>&5
10122   ac_status=$?
10123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124   (exit $ac_status); }; }; then
10125   glibcxx_cv_func_hypot_use=yes
10126 else
10127   echo "$as_me: failed program was:" >&5
10128 sed 's/^/| /' conftest.$ac_ext >&5
10129
10130 glibcxx_cv_func_hypot_use=no
10131 fi
10132 rm -f conftest.$ac_objext conftest.$ac_ext
10133       ac_ext=c
10134 ac_cpp='$CPP $CPPFLAGS'
10135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10138
10139
10140 fi
10141
10142   fi
10143   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10144 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10145
10146   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10147
10148 for ac_func in hypot
10149 do
10150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10151 echo "$as_me:$LINENO: checking for $ac_func" >&5
10152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10153 if eval "test \"\${$as_ac_var+set}\" = set"; then
10154   echo $ECHO_N "(cached) $ECHO_C" >&6
10155 else
10156   cat >conftest.$ac_ext <<_ACEOF
10157 #line $LINENO "configure"
10158 /* confdefs.h.  */
10159 _ACEOF
10160 cat confdefs.h >>conftest.$ac_ext
10161 cat >>conftest.$ac_ext <<_ACEOF
10162 /* end confdefs.h.  */
10163 /* System header to define __stub macros and hopefully few prototypes,
10164     which can conflict with char $ac_func (); below.
10165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10166     <limits.h> exists even on freestanding compilers.  */
10167 #ifdef __STDC__
10168 # include <limits.h>
10169 #else
10170 # include <assert.h>
10171 #endif
10172 /* Override any gcc2 internal prototype to avoid an error.  */
10173 #ifdef __cplusplus
10174 extern "C"
10175 {
10176 #endif
10177 /* We use char because int might match the return type of a gcc2
10178    builtin and then its argument prototype would still apply.  */
10179 char $ac_func ();
10180 /* The GNU C library defines this for functions which it implements
10181     to always fail with ENOSYS.  Some functions are actually named
10182     something starting with __ and the normal name is an alias.  */
10183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10184 choke me
10185 #else
10186 char (*f) () = $ac_func;
10187 #endif
10188 #ifdef __cplusplus
10189 }
10190 #endif
10191
10192 int
10193 main ()
10194 {
10195 return f != $ac_func;
10196   ;
10197   return 0;
10198 }
10199 _ACEOF
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202   (eval $ac_link) 2>&5
10203   ac_status=$?
10204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205   (exit $ac_status); } &&
10206          { ac_try='test -s conftest$ac_exeext'
10207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208   (eval $ac_try) 2>&5
10209   ac_status=$?
10210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211   (exit $ac_status); }; }; then
10212   eval "$as_ac_var=yes"
10213 else
10214   echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.$ac_ext >&5
10216
10217 eval "$as_ac_var=no"
10218 fi
10219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10220 fi
10221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10223 if test `eval echo '${'$as_ac_var'}'` = yes; then
10224   cat >>confdefs.h <<_ACEOF
10225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10226 _ACEOF
10227
10228 fi
10229 done
10230
10231   else
10232
10233   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10234 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10235   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10236     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10237   echo $ECHO_N "(cached) $ECHO_C" >&6
10238 else
10239
10240
10241
10242       ac_ext=cc
10243 ac_cpp='$CXXCPP $CPPFLAGS'
10244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10247
10248       cat >conftest.$ac_ext <<_ACEOF
10249 #line $LINENO "configure"
10250 /* confdefs.h.  */
10251 _ACEOF
10252 cat confdefs.h >>conftest.$ac_ext
10253 cat >>conftest.$ac_ext <<_ACEOF
10254 /* end confdefs.h.  */
10255 #include <math.h>
10256 int
10257 main ()
10258 {
10259  _hypot(0, 0);
10260   ;
10261   return 0;
10262 }
10263 _ACEOF
10264 rm -f conftest.$ac_objext
10265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10266   (eval $ac_compile) 2>&5
10267   ac_status=$?
10268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269   (exit $ac_status); } &&
10270          { ac_try='test -s conftest.$ac_objext'
10271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272   (eval $ac_try) 2>&5
10273   ac_status=$?
10274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275   (exit $ac_status); }; }; then
10276   glibcxx_cv_func__hypot_use=yes
10277 else
10278   echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.$ac_ext >&5
10280
10281 glibcxx_cv_func__hypot_use=no
10282 fi
10283 rm -f conftest.$ac_objext conftest.$ac_ext
10284       ac_ext=c
10285 ac_cpp='$CPP $CPPFLAGS'
10286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10289
10290
10291 fi
10292
10293   fi
10294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10295 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10296
10297     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10298
10299 for ac_func in _hypot
10300 do
10301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10302 echo "$as_me:$LINENO: checking for $ac_func" >&5
10303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10304 if eval "test \"\${$as_ac_var+set}\" = set"; then
10305   echo $ECHO_N "(cached) $ECHO_C" >&6
10306 else
10307   cat >conftest.$ac_ext <<_ACEOF
10308 #line $LINENO "configure"
10309 /* confdefs.h.  */
10310 _ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h.  */
10314 /* System header to define __stub macros and hopefully few prototypes,
10315     which can conflict with char $ac_func (); below.
10316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10317     <limits.h> exists even on freestanding compilers.  */
10318 #ifdef __STDC__
10319 # include <limits.h>
10320 #else
10321 # include <assert.h>
10322 #endif
10323 /* Override any gcc2 internal prototype to avoid an error.  */
10324 #ifdef __cplusplus
10325 extern "C"
10326 {
10327 #endif
10328 /* We use char because int might match the return type of a gcc2
10329    builtin and then its argument prototype would still apply.  */
10330 char $ac_func ();
10331 /* The GNU C library defines this for functions which it implements
10332     to always fail with ENOSYS.  Some functions are actually named
10333     something starting with __ and the normal name is an alias.  */
10334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10335 choke me
10336 #else
10337 char (*f) () = $ac_func;
10338 #endif
10339 #ifdef __cplusplus
10340 }
10341 #endif
10342
10343 int
10344 main ()
10345 {
10346 return f != $ac_func;
10347   ;
10348   return 0;
10349 }
10350 _ACEOF
10351 rm -f conftest.$ac_objext conftest$ac_exeext
10352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10353   (eval $ac_link) 2>&5
10354   ac_status=$?
10355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356   (exit $ac_status); } &&
10357          { ac_try='test -s conftest$ac_exeext'
10358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359   (eval $ac_try) 2>&5
10360   ac_status=$?
10361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362   (exit $ac_status); }; }; then
10363   eval "$as_ac_var=yes"
10364 else
10365   echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10367
10368 eval "$as_ac_var=no"
10369 fi
10370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10371 fi
10372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10374 if test `eval echo '${'$as_ac_var'}'` = yes; then
10375   cat >>confdefs.h <<_ACEOF
10376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10377 _ACEOF
10378
10379 fi
10380 done
10381
10382     fi
10383   fi
10384
10385
10386
10387   echo "$as_me:$LINENO: checking for float trig functions" >&5
10388 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10389   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10390   echo $ECHO_N "(cached) $ECHO_C" >&6
10391 else
10392
10393
10394
10395     ac_ext=cc
10396 ac_cpp='$CXXCPP $CPPFLAGS'
10397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10400
10401     cat >conftest.$ac_ext <<_ACEOF
10402 #line $LINENO "configure"
10403 /* confdefs.h.  */
10404 _ACEOF
10405 cat confdefs.h >>conftest.$ac_ext
10406 cat >>conftest.$ac_ext <<_ACEOF
10407 /* end confdefs.h.  */
10408 #include <math.h>
10409 int
10410 main ()
10411 {
10412  `for x in acosf asinf atanf \
10413                                           cosf sinf tanf \
10414                                           coshf sinhf tanhf; do echo "$x (0);"; done`
10415   ;
10416   return 0;
10417 }
10418 _ACEOF
10419 rm -f conftest.$ac_objext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421   (eval $ac_compile) 2>&5
10422   ac_status=$?
10423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424   (exit $ac_status); } &&
10425          { ac_try='test -s conftest.$ac_objext'
10426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427   (eval $ac_try) 2>&5
10428   ac_status=$?
10429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430   (exit $ac_status); }; }; then
10431   glibcxx_cv_func_float_trig_use=yes
10432 else
10433   echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10435
10436 glibcxx_cv_func_float_trig_use=no
10437 fi
10438 rm -f conftest.$ac_objext conftest.$ac_ext
10439     ac_ext=c
10440 ac_cpp='$CPP $CPPFLAGS'
10441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10444
10445 fi
10446
10447   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10448 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10449   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459 for ac_func in acosf asinf atanf \
10460                                           cosf sinf tanf \
10461                                           coshf sinhf tanhf
10462 do
10463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10464 echo "$as_me:$LINENO: checking for $ac_func" >&5
10465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10466 if eval "test \"\${$as_ac_var+set}\" = set"; then
10467   echo $ECHO_N "(cached) $ECHO_C" >&6
10468 else
10469   cat >conftest.$ac_ext <<_ACEOF
10470 #line $LINENO "configure"
10471 /* confdefs.h.  */
10472 _ACEOF
10473 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h.  */
10476 /* System header to define __stub macros and hopefully few prototypes,
10477     which can conflict with char $ac_func (); below.
10478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10479     <limits.h> exists even on freestanding compilers.  */
10480 #ifdef __STDC__
10481 # include <limits.h>
10482 #else
10483 # include <assert.h>
10484 #endif
10485 /* Override any gcc2 internal prototype to avoid an error.  */
10486 #ifdef __cplusplus
10487 extern "C"
10488 {
10489 #endif
10490 /* We use char because int might match the return type of a gcc2
10491    builtin and then its argument prototype would still apply.  */
10492 char $ac_func ();
10493 /* The GNU C library defines this for functions which it implements
10494     to always fail with ENOSYS.  Some functions are actually named
10495     something starting with __ and the normal name is an alias.  */
10496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10497 choke me
10498 #else
10499 char (*f) () = $ac_func;
10500 #endif
10501 #ifdef __cplusplus
10502 }
10503 #endif
10504
10505 int
10506 main ()
10507 {
10508 return f != $ac_func;
10509   ;
10510   return 0;
10511 }
10512 _ACEOF
10513 rm -f conftest.$ac_objext conftest$ac_exeext
10514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10515   (eval $ac_link) 2>&5
10516   ac_status=$?
10517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518   (exit $ac_status); } &&
10519          { ac_try='test -s conftest$ac_exeext'
10520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521   (eval $ac_try) 2>&5
10522   ac_status=$?
10523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524   (exit $ac_status); }; }; then
10525   eval "$as_ac_var=yes"
10526 else
10527   echo "$as_me: failed program was:" >&5
10528 sed 's/^/| /' conftest.$ac_ext >&5
10529
10530 eval "$as_ac_var=no"
10531 fi
10532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10533 fi
10534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10536 if test `eval echo '${'$as_ac_var'}'` = yes; then
10537   cat >>confdefs.h <<_ACEOF
10538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10539 _ACEOF
10540
10541 fi
10542 done
10543
10544   fi
10545
10546
10547   echo "$as_me:$LINENO: checking for float round functions" >&5
10548 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10549   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10550   echo $ECHO_N "(cached) $ECHO_C" >&6
10551 else
10552
10553
10554
10555     ac_ext=cc
10556 ac_cpp='$CXXCPP $CPPFLAGS'
10557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10560
10561     cat >conftest.$ac_ext <<_ACEOF
10562 #line $LINENO "configure"
10563 /* confdefs.h.  */
10564 _ACEOF
10565 cat confdefs.h >>conftest.$ac_ext
10566 cat >>conftest.$ac_ext <<_ACEOF
10567 /* end confdefs.h.  */
10568 #include <math.h>
10569 int
10570 main ()
10571 {
10572  `for x in ceilf floorf; do echo "$x (0);"; done`
10573   ;
10574   return 0;
10575 }
10576 _ACEOF
10577 rm -f conftest.$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579   (eval $ac_compile) 2>&5
10580   ac_status=$?
10581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582   (exit $ac_status); } &&
10583          { ac_try='test -s conftest.$ac_objext'
10584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10585   (eval $ac_try) 2>&5
10586   ac_status=$?
10587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588   (exit $ac_status); }; }; then
10589   glibcxx_cv_func_float_round_use=yes
10590 else
10591   echo "$as_me: failed program was:" >&5
10592 sed 's/^/| /' conftest.$ac_ext >&5
10593
10594 glibcxx_cv_func_float_round_use=no
10595 fi
10596 rm -f conftest.$ac_objext conftest.$ac_ext
10597     ac_ext=c
10598 ac_cpp='$CPP $CPPFLAGS'
10599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10602
10603 fi
10604
10605   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10606 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10607   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10608
10609
10610 for ac_func in ceilf floorf
10611 do
10612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10613 echo "$as_me:$LINENO: checking for $ac_func" >&5
10614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10615 if eval "test \"\${$as_ac_var+set}\" = set"; then
10616   echo $ECHO_N "(cached) $ECHO_C" >&6
10617 else
10618   cat >conftest.$ac_ext <<_ACEOF
10619 #line $LINENO "configure"
10620 /* confdefs.h.  */
10621 _ACEOF
10622 cat confdefs.h >>conftest.$ac_ext
10623 cat >>conftest.$ac_ext <<_ACEOF
10624 /* end confdefs.h.  */
10625 /* System header to define __stub macros and hopefully few prototypes,
10626     which can conflict with char $ac_func (); below.
10627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10628     <limits.h> exists even on freestanding compilers.  */
10629 #ifdef __STDC__
10630 # include <limits.h>
10631 #else
10632 # include <assert.h>
10633 #endif
10634 /* Override any gcc2 internal prototype to avoid an error.  */
10635 #ifdef __cplusplus
10636 extern "C"
10637 {
10638 #endif
10639 /* We use char because int might match the return type of a gcc2
10640    builtin and then its argument prototype would still apply.  */
10641 char $ac_func ();
10642 /* The GNU C library defines this for functions which it implements
10643     to always fail with ENOSYS.  Some functions are actually named
10644     something starting with __ and the normal name is an alias.  */
10645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10646 choke me
10647 #else
10648 char (*f) () = $ac_func;
10649 #endif
10650 #ifdef __cplusplus
10651 }
10652 #endif
10653
10654 int
10655 main ()
10656 {
10657 return f != $ac_func;
10658   ;
10659   return 0;
10660 }
10661 _ACEOF
10662 rm -f conftest.$ac_objext conftest$ac_exeext
10663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10664   (eval $ac_link) 2>&5
10665   ac_status=$?
10666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667   (exit $ac_status); } &&
10668          { ac_try='test -s conftest$ac_exeext'
10669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670   (eval $ac_try) 2>&5
10671   ac_status=$?
10672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673   (exit $ac_status); }; }; then
10674   eval "$as_ac_var=yes"
10675 else
10676   echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10678
10679 eval "$as_ac_var=no"
10680 fi
10681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10682 fi
10683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10685 if test `eval echo '${'$as_ac_var'}'` = yes; then
10686   cat >>confdefs.h <<_ACEOF
10687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10688 _ACEOF
10689
10690 fi
10691 done
10692
10693   fi
10694
10695
10696
10697   echo "$as_me:$LINENO: checking for expf declaration" >&5
10698 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10699   if test x${glibcxx_cv_func_expf_use+set} != xset; then
10700     if test "${glibcxx_cv_func_expf_use+set}" = set; then
10701   echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703
10704
10705
10706       ac_ext=cc
10707 ac_cpp='$CXXCPP $CPPFLAGS'
10708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10711
10712       cat >conftest.$ac_ext <<_ACEOF
10713 #line $LINENO "configure"
10714 /* confdefs.h.  */
10715 _ACEOF
10716 cat confdefs.h >>conftest.$ac_ext
10717 cat >>conftest.$ac_ext <<_ACEOF
10718 /* end confdefs.h.  */
10719 #include <math.h>
10720                       #ifdef HAVE_IEEEFP_H
10721                       #include <ieeefp.h>
10722                       #endif
10723
10724 int
10725 main ()
10726 {
10727  expf(0);
10728   ;
10729   return 0;
10730 }
10731 _ACEOF
10732 rm -f conftest.$ac_objext
10733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10734   (eval $ac_compile) 2>&5
10735   ac_status=$?
10736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737   (exit $ac_status); } &&
10738          { ac_try='test -s conftest.$ac_objext'
10739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10740   (eval $ac_try) 2>&5
10741   ac_status=$?
10742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743   (exit $ac_status); }; }; then
10744   glibcxx_cv_func_expf_use=yes
10745 else
10746   echo "$as_me: failed program was:" >&5
10747 sed 's/^/| /' conftest.$ac_ext >&5
10748
10749 glibcxx_cv_func_expf_use=no
10750 fi
10751 rm -f conftest.$ac_objext conftest.$ac_ext
10752       ac_ext=c
10753 ac_cpp='$CPP $CPPFLAGS'
10754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10757
10758
10759 fi
10760
10761   fi
10762   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10763 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10764
10765   if test x$glibcxx_cv_func_expf_use = x"yes"; then
10766
10767 for ac_func in expf
10768 do
10769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10770 echo "$as_me:$LINENO: checking for $ac_func" >&5
10771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10772 if eval "test \"\${$as_ac_var+set}\" = set"; then
10773   echo $ECHO_N "(cached) $ECHO_C" >&6
10774 else
10775   cat >conftest.$ac_ext <<_ACEOF
10776 #line $LINENO "configure"
10777 /* confdefs.h.  */
10778 _ACEOF
10779 cat confdefs.h >>conftest.$ac_ext
10780 cat >>conftest.$ac_ext <<_ACEOF
10781 /* end confdefs.h.  */
10782 /* System header to define __stub macros and hopefully few prototypes,
10783     which can conflict with char $ac_func (); below.
10784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10785     <limits.h> exists even on freestanding compilers.  */
10786 #ifdef __STDC__
10787 # include <limits.h>
10788 #else
10789 # include <assert.h>
10790 #endif
10791 /* Override any gcc2 internal prototype to avoid an error.  */
10792 #ifdef __cplusplus
10793 extern "C"
10794 {
10795 #endif
10796 /* We use char because int might match the return type of a gcc2
10797    builtin and then its argument prototype would still apply.  */
10798 char $ac_func ();
10799 /* The GNU C library defines this for functions which it implements
10800     to always fail with ENOSYS.  Some functions are actually named
10801     something starting with __ and the normal name is an alias.  */
10802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10803 choke me
10804 #else
10805 char (*f) () = $ac_func;
10806 #endif
10807 #ifdef __cplusplus
10808 }
10809 #endif
10810
10811 int
10812 main ()
10813 {
10814 return f != $ac_func;
10815   ;
10816   return 0;
10817 }
10818 _ACEOF
10819 rm -f conftest.$ac_objext conftest$ac_exeext
10820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10821   (eval $ac_link) 2>&5
10822   ac_status=$?
10823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824   (exit $ac_status); } &&
10825          { ac_try='test -s conftest$ac_exeext'
10826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10827   (eval $ac_try) 2>&5
10828   ac_status=$?
10829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830   (exit $ac_status); }; }; then
10831   eval "$as_ac_var=yes"
10832 else
10833   echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10835
10836 eval "$as_ac_var=no"
10837 fi
10838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10839 fi
10840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10842 if test `eval echo '${'$as_ac_var'}'` = yes; then
10843   cat >>confdefs.h <<_ACEOF
10844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10845 _ACEOF
10846
10847 fi
10848 done
10849
10850   else
10851
10852   echo "$as_me:$LINENO: checking for _expf declaration" >&5
10853 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10854   if test x${glibcxx_cv_func__expf_use+set} != xset; then
10855     if test "${glibcxx_cv_func__expf_use+set}" = set; then
10856   echo $ECHO_N "(cached) $ECHO_C" >&6
10857 else
10858
10859
10860
10861       ac_ext=cc
10862 ac_cpp='$CXXCPP $CPPFLAGS'
10863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10866
10867       cat >conftest.$ac_ext <<_ACEOF
10868 #line $LINENO "configure"
10869 /* confdefs.h.  */
10870 _ACEOF
10871 cat confdefs.h >>conftest.$ac_ext
10872 cat >>conftest.$ac_ext <<_ACEOF
10873 /* end confdefs.h.  */
10874 #include <math.h>
10875                       #ifdef HAVE_IEEEFP_H
10876                       #include <ieeefp.h>
10877                       #endif
10878
10879 int
10880 main ()
10881 {
10882  _expf(0);
10883   ;
10884   return 0;
10885 }
10886 _ACEOF
10887 rm -f conftest.$ac_objext
10888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10889   (eval $ac_compile) 2>&5
10890   ac_status=$?
10891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892   (exit $ac_status); } &&
10893          { ac_try='test -s conftest.$ac_objext'
10894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895   (eval $ac_try) 2>&5
10896   ac_status=$?
10897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898   (exit $ac_status); }; }; then
10899   glibcxx_cv_func__expf_use=yes
10900 else
10901   echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.$ac_ext >&5
10903
10904 glibcxx_cv_func__expf_use=no
10905 fi
10906 rm -f conftest.$ac_objext conftest.$ac_ext
10907       ac_ext=c
10908 ac_cpp='$CPP $CPPFLAGS'
10909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10912
10913
10914 fi
10915
10916   fi
10917   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10918 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
10919
10920     if test x$glibcxx_cv_func__expf_use = x"yes"; then
10921
10922 for ac_func in _expf
10923 do
10924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10925 echo "$as_me:$LINENO: checking for $ac_func" >&5
10926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10927 if eval "test \"\${$as_ac_var+set}\" = set"; then
10928   echo $ECHO_N "(cached) $ECHO_C" >&6
10929 else
10930   cat >conftest.$ac_ext <<_ACEOF
10931 #line $LINENO "configure"
10932 /* confdefs.h.  */
10933 _ACEOF
10934 cat confdefs.h >>conftest.$ac_ext
10935 cat >>conftest.$ac_ext <<_ACEOF
10936 /* end confdefs.h.  */
10937 /* System header to define __stub macros and hopefully few prototypes,
10938     which can conflict with char $ac_func (); below.
10939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10940     <limits.h> exists even on freestanding compilers.  */
10941 #ifdef __STDC__
10942 # include <limits.h>
10943 #else
10944 # include <assert.h>
10945 #endif
10946 /* Override any gcc2 internal prototype to avoid an error.  */
10947 #ifdef __cplusplus
10948 extern "C"
10949 {
10950 #endif
10951 /* We use char because int might match the return type of a gcc2
10952    builtin and then its argument prototype would still apply.  */
10953 char $ac_func ();
10954 /* The GNU C library defines this for functions which it implements
10955     to always fail with ENOSYS.  Some functions are actually named
10956     something starting with __ and the normal name is an alias.  */
10957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10958 choke me
10959 #else
10960 char (*f) () = $ac_func;
10961 #endif
10962 #ifdef __cplusplus
10963 }
10964 #endif
10965
10966 int
10967 main ()
10968 {
10969 return f != $ac_func;
10970   ;
10971   return 0;
10972 }
10973 _ACEOF
10974 rm -f conftest.$ac_objext conftest$ac_exeext
10975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10976   (eval $ac_link) 2>&5
10977   ac_status=$?
10978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979   (exit $ac_status); } &&
10980          { ac_try='test -s conftest$ac_exeext'
10981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982   (eval $ac_try) 2>&5
10983   ac_status=$?
10984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985   (exit $ac_status); }; }; then
10986   eval "$as_ac_var=yes"
10987 else
10988   echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.$ac_ext >&5
10990
10991 eval "$as_ac_var=no"
10992 fi
10993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10994 fi
10995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10997 if test `eval echo '${'$as_ac_var'}'` = yes; then
10998   cat >>confdefs.h <<_ACEOF
10999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11000 _ACEOF
11001
11002 fi
11003 done
11004
11005     fi
11006   fi
11007
11008
11009
11010   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11011 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11012   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11013     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11014   echo $ECHO_N "(cached) $ECHO_C" >&6
11015 else
11016
11017
11018
11019       ac_ext=cc
11020 ac_cpp='$CXXCPP $CPPFLAGS'
11021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11024
11025       cat >conftest.$ac_ext <<_ACEOF
11026 #line $LINENO "configure"
11027 /* confdefs.h.  */
11028 _ACEOF
11029 cat confdefs.h >>conftest.$ac_ext
11030 cat >>conftest.$ac_ext <<_ACEOF
11031 /* end confdefs.h.  */
11032 #include <math.h>
11033                       #ifdef HAVE_IEEEFP_H
11034                       #include <ieeefp.h>
11035                       #endif
11036
11037 int
11038 main ()
11039 {
11040  isnanf(0);
11041   ;
11042   return 0;
11043 }
11044 _ACEOF
11045 rm -f conftest.$ac_objext
11046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11047   (eval $ac_compile) 2>&5
11048   ac_status=$?
11049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050   (exit $ac_status); } &&
11051          { ac_try='test -s conftest.$ac_objext'
11052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053   (eval $ac_try) 2>&5
11054   ac_status=$?
11055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056   (exit $ac_status); }; }; then
11057   glibcxx_cv_func_isnanf_use=yes
11058 else
11059   echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11061
11062 glibcxx_cv_func_isnanf_use=no
11063 fi
11064 rm -f conftest.$ac_objext conftest.$ac_ext
11065       ac_ext=c
11066 ac_cpp='$CPP $CPPFLAGS'
11067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11070
11071
11072 fi
11073
11074   fi
11075   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11076 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11077
11078   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11079
11080 for ac_func in isnanf
11081 do
11082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11083 echo "$as_me:$LINENO: checking for $ac_func" >&5
11084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11085 if eval "test \"\${$as_ac_var+set}\" = set"; then
11086   echo $ECHO_N "(cached) $ECHO_C" >&6
11087 else
11088   cat >conftest.$ac_ext <<_ACEOF
11089 #line $LINENO "configure"
11090 /* confdefs.h.  */
11091 _ACEOF
11092 cat confdefs.h >>conftest.$ac_ext
11093 cat >>conftest.$ac_ext <<_ACEOF
11094 /* end confdefs.h.  */
11095 /* System header to define __stub macros and hopefully few prototypes,
11096     which can conflict with char $ac_func (); below.
11097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11098     <limits.h> exists even on freestanding compilers.  */
11099 #ifdef __STDC__
11100 # include <limits.h>
11101 #else
11102 # include <assert.h>
11103 #endif
11104 /* Override any gcc2 internal prototype to avoid an error.  */
11105 #ifdef __cplusplus
11106 extern "C"
11107 {
11108 #endif
11109 /* We use char because int might match the return type of a gcc2
11110    builtin and then its argument prototype would still apply.  */
11111 char $ac_func ();
11112 /* The GNU C library defines this for functions which it implements
11113     to always fail with ENOSYS.  Some functions are actually named
11114     something starting with __ and the normal name is an alias.  */
11115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11116 choke me
11117 #else
11118 char (*f) () = $ac_func;
11119 #endif
11120 #ifdef __cplusplus
11121 }
11122 #endif
11123
11124 int
11125 main ()
11126 {
11127 return f != $ac_func;
11128   ;
11129   return 0;
11130 }
11131 _ACEOF
11132 rm -f conftest.$ac_objext conftest$ac_exeext
11133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11134   (eval $ac_link) 2>&5
11135   ac_status=$?
11136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137   (exit $ac_status); } &&
11138          { ac_try='test -s conftest$ac_exeext'
11139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140   (eval $ac_try) 2>&5
11141   ac_status=$?
11142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143   (exit $ac_status); }; }; then
11144   eval "$as_ac_var=yes"
11145 else
11146   echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11148
11149 eval "$as_ac_var=no"
11150 fi
11151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11152 fi
11153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11155 if test `eval echo '${'$as_ac_var'}'` = yes; then
11156   cat >>confdefs.h <<_ACEOF
11157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11158 _ACEOF
11159
11160 fi
11161 done
11162
11163   else
11164
11165   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11166 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11167   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11168     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11169   echo $ECHO_N "(cached) $ECHO_C" >&6
11170 else
11171
11172
11173
11174       ac_ext=cc
11175 ac_cpp='$CXXCPP $CPPFLAGS'
11176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11179
11180       cat >conftest.$ac_ext <<_ACEOF
11181 #line $LINENO "configure"
11182 /* confdefs.h.  */
11183 _ACEOF
11184 cat confdefs.h >>conftest.$ac_ext
11185 cat >>conftest.$ac_ext <<_ACEOF
11186 /* end confdefs.h.  */
11187 #include <math.h>
11188                       #ifdef HAVE_IEEEFP_H
11189                       #include <ieeefp.h>
11190                       #endif
11191
11192 int
11193 main ()
11194 {
11195  _isnanf(0);
11196   ;
11197   return 0;
11198 }
11199 _ACEOF
11200 rm -f conftest.$ac_objext
11201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11202   (eval $ac_compile) 2>&5
11203   ac_status=$?
11204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205   (exit $ac_status); } &&
11206          { ac_try='test -s conftest.$ac_objext'
11207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208   (eval $ac_try) 2>&5
11209   ac_status=$?
11210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211   (exit $ac_status); }; }; then
11212   glibcxx_cv_func__isnanf_use=yes
11213 else
11214   echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11216
11217 glibcxx_cv_func__isnanf_use=no
11218 fi
11219 rm -f conftest.$ac_objext conftest.$ac_ext
11220       ac_ext=c
11221 ac_cpp='$CPP $CPPFLAGS'
11222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11225
11226
11227 fi
11228
11229   fi
11230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11231 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11232
11233     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11234
11235 for ac_func in _isnanf
11236 do
11237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11238 echo "$as_me:$LINENO: checking for $ac_func" >&5
11239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11240 if eval "test \"\${$as_ac_var+set}\" = set"; then
11241   echo $ECHO_N "(cached) $ECHO_C" >&6
11242 else
11243   cat >conftest.$ac_ext <<_ACEOF
11244 #line $LINENO "configure"
11245 /* confdefs.h.  */
11246 _ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h.  */
11250 /* System header to define __stub macros and hopefully few prototypes,
11251     which can conflict with char $ac_func (); below.
11252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11253     <limits.h> exists even on freestanding compilers.  */
11254 #ifdef __STDC__
11255 # include <limits.h>
11256 #else
11257 # include <assert.h>
11258 #endif
11259 /* Override any gcc2 internal prototype to avoid an error.  */
11260 #ifdef __cplusplus
11261 extern "C"
11262 {
11263 #endif
11264 /* We use char because int might match the return type of a gcc2
11265    builtin and then its argument prototype would still apply.  */
11266 char $ac_func ();
11267 /* The GNU C library defines this for functions which it implements
11268     to always fail with ENOSYS.  Some functions are actually named
11269     something starting with __ and the normal name is an alias.  */
11270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11271 choke me
11272 #else
11273 char (*f) () = $ac_func;
11274 #endif
11275 #ifdef __cplusplus
11276 }
11277 #endif
11278
11279 int
11280 main ()
11281 {
11282 return f != $ac_func;
11283   ;
11284   return 0;
11285 }
11286 _ACEOF
11287 rm -f conftest.$ac_objext conftest$ac_exeext
11288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289   (eval $ac_link) 2>&5
11290   ac_status=$?
11291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292   (exit $ac_status); } &&
11293          { ac_try='test -s conftest$ac_exeext'
11294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295   (eval $ac_try) 2>&5
11296   ac_status=$?
11297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298   (exit $ac_status); }; }; then
11299   eval "$as_ac_var=yes"
11300 else
11301   echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.$ac_ext >&5
11303
11304 eval "$as_ac_var=no"
11305 fi
11306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11307 fi
11308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11310 if test `eval echo '${'$as_ac_var'}'` = yes; then
11311   cat >>confdefs.h <<_ACEOF
11312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11313 _ACEOF
11314
11315 fi
11316 done
11317
11318     fi
11319   fi
11320
11321
11322
11323   echo "$as_me:$LINENO: checking for isinff declaration" >&5
11324 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11325   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11326     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11327   echo $ECHO_N "(cached) $ECHO_C" >&6
11328 else
11329
11330
11331
11332       ac_ext=cc
11333 ac_cpp='$CXXCPP $CPPFLAGS'
11334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11337
11338       cat >conftest.$ac_ext <<_ACEOF
11339 #line $LINENO "configure"
11340 /* confdefs.h.  */
11341 _ACEOF
11342 cat confdefs.h >>conftest.$ac_ext
11343 cat >>conftest.$ac_ext <<_ACEOF
11344 /* end confdefs.h.  */
11345 #include <math.h>
11346                       #ifdef HAVE_IEEEFP_H
11347                       #include <ieeefp.h>
11348                       #endif
11349
11350 int
11351 main ()
11352 {
11353  isinff(0);
11354   ;
11355   return 0;
11356 }
11357 _ACEOF
11358 rm -f conftest.$ac_objext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11360   (eval $ac_compile) 2>&5
11361   ac_status=$?
11362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363   (exit $ac_status); } &&
11364          { ac_try='test -s conftest.$ac_objext'
11365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366   (eval $ac_try) 2>&5
11367   ac_status=$?
11368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369   (exit $ac_status); }; }; then
11370   glibcxx_cv_func_isinff_use=yes
11371 else
11372   echo "$as_me: failed program was:" >&5
11373 sed 's/^/| /' conftest.$ac_ext >&5
11374
11375 glibcxx_cv_func_isinff_use=no
11376 fi
11377 rm -f conftest.$ac_objext conftest.$ac_ext
11378       ac_ext=c
11379 ac_cpp='$CPP $CPPFLAGS'
11380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11383
11384
11385 fi
11386
11387   fi
11388   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11389 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11390
11391   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11392
11393 for ac_func in isinff
11394 do
11395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11396 echo "$as_me:$LINENO: checking for $ac_func" >&5
11397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11398 if eval "test \"\${$as_ac_var+set}\" = set"; then
11399   echo $ECHO_N "(cached) $ECHO_C" >&6
11400 else
11401   cat >conftest.$ac_ext <<_ACEOF
11402 #line $LINENO "configure"
11403 /* confdefs.h.  */
11404 _ACEOF
11405 cat confdefs.h >>conftest.$ac_ext
11406 cat >>conftest.$ac_ext <<_ACEOF
11407 /* end confdefs.h.  */
11408 /* System header to define __stub macros and hopefully few prototypes,
11409     which can conflict with char $ac_func (); below.
11410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11411     <limits.h> exists even on freestanding compilers.  */
11412 #ifdef __STDC__
11413 # include <limits.h>
11414 #else
11415 # include <assert.h>
11416 #endif
11417 /* Override any gcc2 internal prototype to avoid an error.  */
11418 #ifdef __cplusplus
11419 extern "C"
11420 {
11421 #endif
11422 /* We use char because int might match the return type of a gcc2
11423    builtin and then its argument prototype would still apply.  */
11424 char $ac_func ();
11425 /* The GNU C library defines this for functions which it implements
11426     to always fail with ENOSYS.  Some functions are actually named
11427     something starting with __ and the normal name is an alias.  */
11428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11429 choke me
11430 #else
11431 char (*f) () = $ac_func;
11432 #endif
11433 #ifdef __cplusplus
11434 }
11435 #endif
11436
11437 int
11438 main ()
11439 {
11440 return f != $ac_func;
11441   ;
11442   return 0;
11443 }
11444 _ACEOF
11445 rm -f conftest.$ac_objext conftest$ac_exeext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11447   (eval $ac_link) 2>&5
11448   ac_status=$?
11449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450   (exit $ac_status); } &&
11451          { ac_try='test -s conftest$ac_exeext'
11452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453   (eval $ac_try) 2>&5
11454   ac_status=$?
11455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456   (exit $ac_status); }; }; then
11457   eval "$as_ac_var=yes"
11458 else
11459   echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.$ac_ext >&5
11461
11462 eval "$as_ac_var=no"
11463 fi
11464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11465 fi
11466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11468 if test `eval echo '${'$as_ac_var'}'` = yes; then
11469   cat >>confdefs.h <<_ACEOF
11470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11471 _ACEOF
11472
11473 fi
11474 done
11475
11476   else
11477
11478   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11479 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11480   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11481     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11482   echo $ECHO_N "(cached) $ECHO_C" >&6
11483 else
11484
11485
11486
11487       ac_ext=cc
11488 ac_cpp='$CXXCPP $CPPFLAGS'
11489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11492
11493       cat >conftest.$ac_ext <<_ACEOF
11494 #line $LINENO "configure"
11495 /* confdefs.h.  */
11496 _ACEOF
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h.  */
11500 #include <math.h>
11501                       #ifdef HAVE_IEEEFP_H
11502                       #include <ieeefp.h>
11503                       #endif
11504
11505 int
11506 main ()
11507 {
11508  _isinff(0);
11509   ;
11510   return 0;
11511 }
11512 _ACEOF
11513 rm -f conftest.$ac_objext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11515   (eval $ac_compile) 2>&5
11516   ac_status=$?
11517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518   (exit $ac_status); } &&
11519          { ac_try='test -s conftest.$ac_objext'
11520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521   (eval $ac_try) 2>&5
11522   ac_status=$?
11523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524   (exit $ac_status); }; }; then
11525   glibcxx_cv_func__isinff_use=yes
11526 else
11527   echo "$as_me: failed program was:" >&5
11528 sed 's/^/| /' conftest.$ac_ext >&5
11529
11530 glibcxx_cv_func__isinff_use=no
11531 fi
11532 rm -f conftest.$ac_objext conftest.$ac_ext
11533       ac_ext=c
11534 ac_cpp='$CPP $CPPFLAGS'
11535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11538
11539
11540 fi
11541
11542   fi
11543   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11544 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11545
11546     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11547
11548 for ac_func in _isinff
11549 do
11550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11551 echo "$as_me:$LINENO: checking for $ac_func" >&5
11552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11553 if eval "test \"\${$as_ac_var+set}\" = set"; then
11554   echo $ECHO_N "(cached) $ECHO_C" >&6
11555 else
11556   cat >conftest.$ac_ext <<_ACEOF
11557 #line $LINENO "configure"
11558 /* confdefs.h.  */
11559 _ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h.  */
11563 /* System header to define __stub macros and hopefully few prototypes,
11564     which can conflict with char $ac_func (); below.
11565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566     <limits.h> exists even on freestanding compilers.  */
11567 #ifdef __STDC__
11568 # include <limits.h>
11569 #else
11570 # include <assert.h>
11571 #endif
11572 /* Override any gcc2 internal prototype to avoid an error.  */
11573 #ifdef __cplusplus
11574 extern "C"
11575 {
11576 #endif
11577 /* We use char because int might match the return type of a gcc2
11578    builtin and then its argument prototype would still apply.  */
11579 char $ac_func ();
11580 /* The GNU C library defines this for functions which it implements
11581     to always fail with ENOSYS.  Some functions are actually named
11582     something starting with __ and the normal name is an alias.  */
11583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11584 choke me
11585 #else
11586 char (*f) () = $ac_func;
11587 #endif
11588 #ifdef __cplusplus
11589 }
11590 #endif
11591
11592 int
11593 main ()
11594 {
11595 return f != $ac_func;
11596   ;
11597   return 0;
11598 }
11599 _ACEOF
11600 rm -f conftest.$ac_objext conftest$ac_exeext
11601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11602   (eval $ac_link) 2>&5
11603   ac_status=$?
11604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605   (exit $ac_status); } &&
11606          { ac_try='test -s conftest$ac_exeext'
11607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608   (eval $ac_try) 2>&5
11609   ac_status=$?
11610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611   (exit $ac_status); }; }; then
11612   eval "$as_ac_var=yes"
11613 else
11614   echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11616
11617 eval "$as_ac_var=no"
11618 fi
11619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11620 fi
11621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11623 if test `eval echo '${'$as_ac_var'}'` = yes; then
11624   cat >>confdefs.h <<_ACEOF
11625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11626 _ACEOF
11627
11628 fi
11629 done
11630
11631     fi
11632   fi
11633
11634
11635
11636   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11637 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11638   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11639     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11640   echo $ECHO_N "(cached) $ECHO_C" >&6
11641 else
11642
11643
11644
11645       ac_ext=cc
11646 ac_cpp='$CXXCPP $CPPFLAGS'
11647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11650
11651       cat >conftest.$ac_ext <<_ACEOF
11652 #line $LINENO "configure"
11653 /* confdefs.h.  */
11654 _ACEOF
11655 cat confdefs.h >>conftest.$ac_ext
11656 cat >>conftest.$ac_ext <<_ACEOF
11657 /* end confdefs.h.  */
11658 #include <math.h>
11659 int
11660 main ()
11661 {
11662  atan2f(0, 0);
11663   ;
11664   return 0;
11665 }
11666 _ACEOF
11667 rm -f conftest.$ac_objext
11668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11669   (eval $ac_compile) 2>&5
11670   ac_status=$?
11671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672   (exit $ac_status); } &&
11673          { ac_try='test -s conftest.$ac_objext'
11674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11675   (eval $ac_try) 2>&5
11676   ac_status=$?
11677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678   (exit $ac_status); }; }; then
11679   glibcxx_cv_func_atan2f_use=yes
11680 else
11681   echo "$as_me: failed program was:" >&5
11682 sed 's/^/| /' conftest.$ac_ext >&5
11683
11684 glibcxx_cv_func_atan2f_use=no
11685 fi
11686 rm -f conftest.$ac_objext conftest.$ac_ext
11687       ac_ext=c
11688 ac_cpp='$CPP $CPPFLAGS'
11689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11692
11693
11694 fi
11695
11696   fi
11697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11698 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11699
11700   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11701
11702 for ac_func in atan2f
11703 do
11704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11705 echo "$as_me:$LINENO: checking for $ac_func" >&5
11706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11707 if eval "test \"\${$as_ac_var+set}\" = set"; then
11708   echo $ECHO_N "(cached) $ECHO_C" >&6
11709 else
11710   cat >conftest.$ac_ext <<_ACEOF
11711 #line $LINENO "configure"
11712 /* confdefs.h.  */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h.  */
11717 /* System header to define __stub macros and hopefully few prototypes,
11718     which can conflict with char $ac_func (); below.
11719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11720     <limits.h> exists even on freestanding compilers.  */
11721 #ifdef __STDC__
11722 # include <limits.h>
11723 #else
11724 # include <assert.h>
11725 #endif
11726 /* Override any gcc2 internal prototype to avoid an error.  */
11727 #ifdef __cplusplus
11728 extern "C"
11729 {
11730 #endif
11731 /* We use char because int might match the return type of a gcc2
11732    builtin and then its argument prototype would still apply.  */
11733 char $ac_func ();
11734 /* The GNU C library defines this for functions which it implements
11735     to always fail with ENOSYS.  Some functions are actually named
11736     something starting with __ and the normal name is an alias.  */
11737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11738 choke me
11739 #else
11740 char (*f) () = $ac_func;
11741 #endif
11742 #ifdef __cplusplus
11743 }
11744 #endif
11745
11746 int
11747 main ()
11748 {
11749 return f != $ac_func;
11750   ;
11751   return 0;
11752 }
11753 _ACEOF
11754 rm -f conftest.$ac_objext conftest$ac_exeext
11755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11756   (eval $ac_link) 2>&5
11757   ac_status=$?
11758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759   (exit $ac_status); } &&
11760          { ac_try='test -s conftest$ac_exeext'
11761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762   (eval $ac_try) 2>&5
11763   ac_status=$?
11764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765   (exit $ac_status); }; }; then
11766   eval "$as_ac_var=yes"
11767 else
11768   echo "$as_me: failed program was:" >&5
11769 sed 's/^/| /' conftest.$ac_ext >&5
11770
11771 eval "$as_ac_var=no"
11772 fi
11773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11774 fi
11775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11777 if test `eval echo '${'$as_ac_var'}'` = yes; then
11778   cat >>confdefs.h <<_ACEOF
11779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11780 _ACEOF
11781
11782 fi
11783 done
11784
11785   else
11786
11787   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11788 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11789   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11790     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11791   echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else
11793
11794
11795
11796       ac_ext=cc
11797 ac_cpp='$CXXCPP $CPPFLAGS'
11798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11801
11802       cat >conftest.$ac_ext <<_ACEOF
11803 #line $LINENO "configure"
11804 /* confdefs.h.  */
11805 _ACEOF
11806 cat confdefs.h >>conftest.$ac_ext
11807 cat >>conftest.$ac_ext <<_ACEOF
11808 /* end confdefs.h.  */
11809 #include <math.h>
11810 int
11811 main ()
11812 {
11813  _atan2f(0, 0);
11814   ;
11815   return 0;
11816 }
11817 _ACEOF
11818 rm -f conftest.$ac_objext
11819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11820   (eval $ac_compile) 2>&5
11821   ac_status=$?
11822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823   (exit $ac_status); } &&
11824          { ac_try='test -s conftest.$ac_objext'
11825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826   (eval $ac_try) 2>&5
11827   ac_status=$?
11828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829   (exit $ac_status); }; }; then
11830   glibcxx_cv_func__atan2f_use=yes
11831 else
11832   echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.$ac_ext >&5
11834
11835 glibcxx_cv_func__atan2f_use=no
11836 fi
11837 rm -f conftest.$ac_objext conftest.$ac_ext
11838       ac_ext=c
11839 ac_cpp='$CPP $CPPFLAGS'
11840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11843
11844
11845 fi
11846
11847   fi
11848   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11849 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11850
11851     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11852
11853 for ac_func in _atan2f
11854 do
11855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11856 echo "$as_me:$LINENO: checking for $ac_func" >&5
11857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11858 if eval "test \"\${$as_ac_var+set}\" = set"; then
11859   echo $ECHO_N "(cached) $ECHO_C" >&6
11860 else
11861   cat >conftest.$ac_ext <<_ACEOF
11862 #line $LINENO "configure"
11863 /* confdefs.h.  */
11864 _ACEOF
11865 cat confdefs.h >>conftest.$ac_ext
11866 cat >>conftest.$ac_ext <<_ACEOF
11867 /* end confdefs.h.  */
11868 /* System header to define __stub macros and hopefully few prototypes,
11869     which can conflict with char $ac_func (); below.
11870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11871     <limits.h> exists even on freestanding compilers.  */
11872 #ifdef __STDC__
11873 # include <limits.h>
11874 #else
11875 # include <assert.h>
11876 #endif
11877 /* Override any gcc2 internal prototype to avoid an error.  */
11878 #ifdef __cplusplus
11879 extern "C"
11880 {
11881 #endif
11882 /* We use char because int might match the return type of a gcc2
11883    builtin and then its argument prototype would still apply.  */
11884 char $ac_func ();
11885 /* The GNU C library defines this for functions which it implements
11886     to always fail with ENOSYS.  Some functions are actually named
11887     something starting with __ and the normal name is an alias.  */
11888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11889 choke me
11890 #else
11891 char (*f) () = $ac_func;
11892 #endif
11893 #ifdef __cplusplus
11894 }
11895 #endif
11896
11897 int
11898 main ()
11899 {
11900 return f != $ac_func;
11901   ;
11902   return 0;
11903 }
11904 _ACEOF
11905 rm -f conftest.$ac_objext conftest$ac_exeext
11906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11907   (eval $ac_link) 2>&5
11908   ac_status=$?
11909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910   (exit $ac_status); } &&
11911          { ac_try='test -s conftest$ac_exeext'
11912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913   (eval $ac_try) 2>&5
11914   ac_status=$?
11915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916   (exit $ac_status); }; }; then
11917   eval "$as_ac_var=yes"
11918 else
11919   echo "$as_me: failed program was:" >&5
11920 sed 's/^/| /' conftest.$ac_ext >&5
11921
11922 eval "$as_ac_var=no"
11923 fi
11924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11925 fi
11926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11928 if test `eval echo '${'$as_ac_var'}'` = yes; then
11929   cat >>confdefs.h <<_ACEOF
11930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11931 _ACEOF
11932
11933 fi
11934 done
11935
11936     fi
11937   fi
11938
11939
11940
11941   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
11942 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
11943   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
11944     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
11945   echo $ECHO_N "(cached) $ECHO_C" >&6
11946 else
11947
11948
11949
11950       ac_ext=cc
11951 ac_cpp='$CXXCPP $CPPFLAGS'
11952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11955
11956       cat >conftest.$ac_ext <<_ACEOF
11957 #line $LINENO "configure"
11958 /* confdefs.h.  */
11959 _ACEOF
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h.  */
11963 #include <math.h>
11964                       #ifdef HAVE_IEEEFP_H
11965                       #include <ieeefp.h>
11966                       #endif
11967
11968 int
11969 main ()
11970 {
11971  fabsf(0);
11972   ;
11973   return 0;
11974 }
11975 _ACEOF
11976 rm -f conftest.$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978   (eval $ac_compile) 2>&5
11979   ac_status=$?
11980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981   (exit $ac_status); } &&
11982          { ac_try='test -s conftest.$ac_objext'
11983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11984   (eval $ac_try) 2>&5
11985   ac_status=$?
11986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987   (exit $ac_status); }; }; then
11988   glibcxx_cv_func_fabsf_use=yes
11989 else
11990   echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.$ac_ext >&5
11992
11993 glibcxx_cv_func_fabsf_use=no
11994 fi
11995 rm -f conftest.$ac_objext conftest.$ac_ext
11996       ac_ext=c
11997 ac_cpp='$CPP $CPPFLAGS'
11998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001
12002
12003 fi
12004
12005   fi
12006   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12007 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12008
12009   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12010
12011 for ac_func in fabsf
12012 do
12013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12014 echo "$as_me:$LINENO: checking for $ac_func" >&5
12015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12016 if eval "test \"\${$as_ac_var+set}\" = set"; then
12017   echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019   cat >conftest.$ac_ext <<_ACEOF
12020 #line $LINENO "configure"
12021 /* confdefs.h.  */
12022 _ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h.  */
12026 /* System header to define __stub macros and hopefully few prototypes,
12027     which can conflict with char $ac_func (); below.
12028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12029     <limits.h> exists even on freestanding compilers.  */
12030 #ifdef __STDC__
12031 # include <limits.h>
12032 #else
12033 # include <assert.h>
12034 #endif
12035 /* Override any gcc2 internal prototype to avoid an error.  */
12036 #ifdef __cplusplus
12037 extern "C"
12038 {
12039 #endif
12040 /* We use char because int might match the return type of a gcc2
12041    builtin and then its argument prototype would still apply.  */
12042 char $ac_func ();
12043 /* The GNU C library defines this for functions which it implements
12044     to always fail with ENOSYS.  Some functions are actually named
12045     something starting with __ and the normal name is an alias.  */
12046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12047 choke me
12048 #else
12049 char (*f) () = $ac_func;
12050 #endif
12051 #ifdef __cplusplus
12052 }
12053 #endif
12054
12055 int
12056 main ()
12057 {
12058 return f != $ac_func;
12059   ;
12060   return 0;
12061 }
12062 _ACEOF
12063 rm -f conftest.$ac_objext conftest$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065   (eval $ac_link) 2>&5
12066   ac_status=$?
12067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068   (exit $ac_status); } &&
12069          { ac_try='test -s conftest$ac_exeext'
12070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071   (eval $ac_try) 2>&5
12072   ac_status=$?
12073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074   (exit $ac_status); }; }; then
12075   eval "$as_ac_var=yes"
12076 else
12077   echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12079
12080 eval "$as_ac_var=no"
12081 fi
12082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12083 fi
12084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12086 if test `eval echo '${'$as_ac_var'}'` = yes; then
12087   cat >>confdefs.h <<_ACEOF
12088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12089 _ACEOF
12090
12091 fi
12092 done
12093
12094   else
12095
12096   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12097 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12098   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12099     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12100   echo $ECHO_N "(cached) $ECHO_C" >&6
12101 else
12102
12103
12104
12105       ac_ext=cc
12106 ac_cpp='$CXXCPP $CPPFLAGS'
12107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12110
12111       cat >conftest.$ac_ext <<_ACEOF
12112 #line $LINENO "configure"
12113 /* confdefs.h.  */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h.  */
12118 #include <math.h>
12119                       #ifdef HAVE_IEEEFP_H
12120                       #include <ieeefp.h>
12121                       #endif
12122
12123 int
12124 main ()
12125 {
12126  _fabsf(0);
12127   ;
12128   return 0;
12129 }
12130 _ACEOF
12131 rm -f conftest.$ac_objext
12132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12133   (eval $ac_compile) 2>&5
12134   ac_status=$?
12135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136   (exit $ac_status); } &&
12137          { ac_try='test -s conftest.$ac_objext'
12138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139   (eval $ac_try) 2>&5
12140   ac_status=$?
12141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142   (exit $ac_status); }; }; then
12143   glibcxx_cv_func__fabsf_use=yes
12144 else
12145   echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12147
12148 glibcxx_cv_func__fabsf_use=no
12149 fi
12150 rm -f conftest.$ac_objext conftest.$ac_ext
12151       ac_ext=c
12152 ac_cpp='$CPP $CPPFLAGS'
12153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12156
12157
12158 fi
12159
12160   fi
12161   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12162 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12163
12164     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12165
12166 for ac_func in _fabsf
12167 do
12168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12169 echo "$as_me:$LINENO: checking for $ac_func" >&5
12170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12171 if eval "test \"\${$as_ac_var+set}\" = set"; then
12172   echo $ECHO_N "(cached) $ECHO_C" >&6
12173 else
12174   cat >conftest.$ac_ext <<_ACEOF
12175 #line $LINENO "configure"
12176 /* confdefs.h.  */
12177 _ACEOF
12178 cat confdefs.h >>conftest.$ac_ext
12179 cat >>conftest.$ac_ext <<_ACEOF
12180 /* end confdefs.h.  */
12181 /* System header to define __stub macros and hopefully few prototypes,
12182     which can conflict with char $ac_func (); below.
12183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12184     <limits.h> exists even on freestanding compilers.  */
12185 #ifdef __STDC__
12186 # include <limits.h>
12187 #else
12188 # include <assert.h>
12189 #endif
12190 /* Override any gcc2 internal prototype to avoid an error.  */
12191 #ifdef __cplusplus
12192 extern "C"
12193 {
12194 #endif
12195 /* We use char because int might match the return type of a gcc2
12196    builtin and then its argument prototype would still apply.  */
12197 char $ac_func ();
12198 /* The GNU C library defines this for functions which it implements
12199     to always fail with ENOSYS.  Some functions are actually named
12200     something starting with __ and the normal name is an alias.  */
12201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12202 choke me
12203 #else
12204 char (*f) () = $ac_func;
12205 #endif
12206 #ifdef __cplusplus
12207 }
12208 #endif
12209
12210 int
12211 main ()
12212 {
12213 return f != $ac_func;
12214   ;
12215   return 0;
12216 }
12217 _ACEOF
12218 rm -f conftest.$ac_objext conftest$ac_exeext
12219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12220   (eval $ac_link) 2>&5
12221   ac_status=$?
12222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223   (exit $ac_status); } &&
12224          { ac_try='test -s conftest$ac_exeext'
12225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226   (eval $ac_try) 2>&5
12227   ac_status=$?
12228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229   (exit $ac_status); }; }; then
12230   eval "$as_ac_var=yes"
12231 else
12232   echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.$ac_ext >&5
12234
12235 eval "$as_ac_var=no"
12236 fi
12237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12238 fi
12239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12241 if test `eval echo '${'$as_ac_var'}'` = yes; then
12242   cat >>confdefs.h <<_ACEOF
12243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12244 _ACEOF
12245
12246 fi
12247 done
12248
12249     fi
12250   fi
12251
12252
12253
12254   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12255 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12256   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12257     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12258   echo $ECHO_N "(cached) $ECHO_C" >&6
12259 else
12260
12261
12262
12263       ac_ext=cc
12264 ac_cpp='$CXXCPP $CPPFLAGS'
12265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12268
12269       cat >conftest.$ac_ext <<_ACEOF
12270 #line $LINENO "configure"
12271 /* confdefs.h.  */
12272 _ACEOF
12273 cat confdefs.h >>conftest.$ac_ext
12274 cat >>conftest.$ac_ext <<_ACEOF
12275 /* end confdefs.h.  */
12276 #include <math.h>
12277 int
12278 main ()
12279 {
12280  fmodf(0, 0);
12281   ;
12282   return 0;
12283 }
12284 _ACEOF
12285 rm -f conftest.$ac_objext
12286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12287   (eval $ac_compile) 2>&5
12288   ac_status=$?
12289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290   (exit $ac_status); } &&
12291          { ac_try='test -s conftest.$ac_objext'
12292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293   (eval $ac_try) 2>&5
12294   ac_status=$?
12295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296   (exit $ac_status); }; }; then
12297   glibcxx_cv_func_fmodf_use=yes
12298 else
12299   echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.$ac_ext >&5
12301
12302 glibcxx_cv_func_fmodf_use=no
12303 fi
12304 rm -f conftest.$ac_objext conftest.$ac_ext
12305       ac_ext=c
12306 ac_cpp='$CPP $CPPFLAGS'
12307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12310
12311
12312 fi
12313
12314   fi
12315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12316 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12317
12318   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12319
12320 for ac_func in fmodf
12321 do
12322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12323 echo "$as_me:$LINENO: checking for $ac_func" >&5
12324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12325 if eval "test \"\${$as_ac_var+set}\" = set"; then
12326   echo $ECHO_N "(cached) $ECHO_C" >&6
12327 else
12328   cat >conftest.$ac_ext <<_ACEOF
12329 #line $LINENO "configure"
12330 /* confdefs.h.  */
12331 _ACEOF
12332 cat confdefs.h >>conftest.$ac_ext
12333 cat >>conftest.$ac_ext <<_ACEOF
12334 /* end confdefs.h.  */
12335 /* System header to define __stub macros and hopefully few prototypes,
12336     which can conflict with char $ac_func (); below.
12337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12338     <limits.h> exists even on freestanding compilers.  */
12339 #ifdef __STDC__
12340 # include <limits.h>
12341 #else
12342 # include <assert.h>
12343 #endif
12344 /* Override any gcc2 internal prototype to avoid an error.  */
12345 #ifdef __cplusplus
12346 extern "C"
12347 {
12348 #endif
12349 /* We use char because int might match the return type of a gcc2
12350    builtin and then its argument prototype would still apply.  */
12351 char $ac_func ();
12352 /* The GNU C library defines this for functions which it implements
12353     to always fail with ENOSYS.  Some functions are actually named
12354     something starting with __ and the normal name is an alias.  */
12355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12356 choke me
12357 #else
12358 char (*f) () = $ac_func;
12359 #endif
12360 #ifdef __cplusplus
12361 }
12362 #endif
12363
12364 int
12365 main ()
12366 {
12367 return f != $ac_func;
12368   ;
12369   return 0;
12370 }
12371 _ACEOF
12372 rm -f conftest.$ac_objext conftest$ac_exeext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12374   (eval $ac_link) 2>&5
12375   ac_status=$?
12376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377   (exit $ac_status); } &&
12378          { ac_try='test -s conftest$ac_exeext'
12379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380   (eval $ac_try) 2>&5
12381   ac_status=$?
12382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383   (exit $ac_status); }; }; then
12384   eval "$as_ac_var=yes"
12385 else
12386   echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12388
12389 eval "$as_ac_var=no"
12390 fi
12391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12392 fi
12393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12395 if test `eval echo '${'$as_ac_var'}'` = yes; then
12396   cat >>confdefs.h <<_ACEOF
12397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12398 _ACEOF
12399
12400 fi
12401 done
12402
12403   else
12404
12405   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12406 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12407   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12408     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12409   echo $ECHO_N "(cached) $ECHO_C" >&6
12410 else
12411
12412
12413
12414       ac_ext=cc
12415 ac_cpp='$CXXCPP $CPPFLAGS'
12416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12419
12420       cat >conftest.$ac_ext <<_ACEOF
12421 #line $LINENO "configure"
12422 /* confdefs.h.  */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h.  */
12427 #include <math.h>
12428 int
12429 main ()
12430 {
12431  _fmodf(0, 0);
12432   ;
12433   return 0;
12434 }
12435 _ACEOF
12436 rm -f conftest.$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438   (eval $ac_compile) 2>&5
12439   ac_status=$?
12440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441   (exit $ac_status); } &&
12442          { ac_try='test -s conftest.$ac_objext'
12443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444   (eval $ac_try) 2>&5
12445   ac_status=$?
12446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447   (exit $ac_status); }; }; then
12448   glibcxx_cv_func__fmodf_use=yes
12449 else
12450   echo "$as_me: failed program was:" >&5
12451 sed 's/^/| /' conftest.$ac_ext >&5
12452
12453 glibcxx_cv_func__fmodf_use=no
12454 fi
12455 rm -f conftest.$ac_objext conftest.$ac_ext
12456       ac_ext=c
12457 ac_cpp='$CPP $CPPFLAGS'
12458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12461
12462
12463 fi
12464
12465   fi
12466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12467 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12468
12469     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12470
12471 for ac_func in _fmodf
12472 do
12473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12474 echo "$as_me:$LINENO: checking for $ac_func" >&5
12475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12476 if eval "test \"\${$as_ac_var+set}\" = set"; then
12477   echo $ECHO_N "(cached) $ECHO_C" >&6
12478 else
12479   cat >conftest.$ac_ext <<_ACEOF
12480 #line $LINENO "configure"
12481 /* confdefs.h.  */
12482 _ACEOF
12483 cat confdefs.h >>conftest.$ac_ext
12484 cat >>conftest.$ac_ext <<_ACEOF
12485 /* end confdefs.h.  */
12486 /* System header to define __stub macros and hopefully few prototypes,
12487     which can conflict with char $ac_func (); below.
12488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12489     <limits.h> exists even on freestanding compilers.  */
12490 #ifdef __STDC__
12491 # include <limits.h>
12492 #else
12493 # include <assert.h>
12494 #endif
12495 /* Override any gcc2 internal prototype to avoid an error.  */
12496 #ifdef __cplusplus
12497 extern "C"
12498 {
12499 #endif
12500 /* We use char because int might match the return type of a gcc2
12501    builtin and then its argument prototype would still apply.  */
12502 char $ac_func ();
12503 /* The GNU C library defines this for functions which it implements
12504     to always fail with ENOSYS.  Some functions are actually named
12505     something starting with __ and the normal name is an alias.  */
12506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12507 choke me
12508 #else
12509 char (*f) () = $ac_func;
12510 #endif
12511 #ifdef __cplusplus
12512 }
12513 #endif
12514
12515 int
12516 main ()
12517 {
12518 return f != $ac_func;
12519   ;
12520   return 0;
12521 }
12522 _ACEOF
12523 rm -f conftest.$ac_objext conftest$ac_exeext
12524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12525   (eval $ac_link) 2>&5
12526   ac_status=$?
12527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528   (exit $ac_status); } &&
12529          { ac_try='test -s conftest$ac_exeext'
12530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531   (eval $ac_try) 2>&5
12532   ac_status=$?
12533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534   (exit $ac_status); }; }; then
12535   eval "$as_ac_var=yes"
12536 else
12537   echo "$as_me: failed program was:" >&5
12538 sed 's/^/| /' conftest.$ac_ext >&5
12539
12540 eval "$as_ac_var=no"
12541 fi
12542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12543 fi
12544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12546 if test `eval echo '${'$as_ac_var'}'` = yes; then
12547   cat >>confdefs.h <<_ACEOF
12548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12549 _ACEOF
12550
12551 fi
12552 done
12553
12554     fi
12555   fi
12556
12557
12558
12559   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12560 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12561   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12562     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12563   echo $ECHO_N "(cached) $ECHO_C" >&6
12564 else
12565
12566
12567
12568       ac_ext=cc
12569 ac_cpp='$CXXCPP $CPPFLAGS'
12570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12573
12574       cat >conftest.$ac_ext <<_ACEOF
12575 #line $LINENO "configure"
12576 /* confdefs.h.  */
12577 _ACEOF
12578 cat confdefs.h >>conftest.$ac_ext
12579 cat >>conftest.$ac_ext <<_ACEOF
12580 /* end confdefs.h.  */
12581 #include <math.h>
12582 int
12583 main ()
12584 {
12585  frexpf(0, 0);
12586   ;
12587   return 0;
12588 }
12589 _ACEOF
12590 rm -f conftest.$ac_objext
12591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12592   (eval $ac_compile) 2>&5
12593   ac_status=$?
12594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595   (exit $ac_status); } &&
12596          { ac_try='test -s conftest.$ac_objext'
12597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598   (eval $ac_try) 2>&5
12599   ac_status=$?
12600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601   (exit $ac_status); }; }; then
12602   glibcxx_cv_func_frexpf_use=yes
12603 else
12604   echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12606
12607 glibcxx_cv_func_frexpf_use=no
12608 fi
12609 rm -f conftest.$ac_objext conftest.$ac_ext
12610       ac_ext=c
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12615
12616
12617 fi
12618
12619   fi
12620   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12621 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12622
12623   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12624
12625 for ac_func in frexpf
12626 do
12627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12628 echo "$as_me:$LINENO: checking for $ac_func" >&5
12629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12630 if eval "test \"\${$as_ac_var+set}\" = set"; then
12631   echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633   cat >conftest.$ac_ext <<_ACEOF
12634 #line $LINENO "configure"
12635 /* confdefs.h.  */
12636 _ACEOF
12637 cat confdefs.h >>conftest.$ac_ext
12638 cat >>conftest.$ac_ext <<_ACEOF
12639 /* end confdefs.h.  */
12640 /* System header to define __stub macros and hopefully few prototypes,
12641     which can conflict with char $ac_func (); below.
12642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12643     <limits.h> exists even on freestanding compilers.  */
12644 #ifdef __STDC__
12645 # include <limits.h>
12646 #else
12647 # include <assert.h>
12648 #endif
12649 /* Override any gcc2 internal prototype to avoid an error.  */
12650 #ifdef __cplusplus
12651 extern "C"
12652 {
12653 #endif
12654 /* We use char because int might match the return type of a gcc2
12655    builtin and then its argument prototype would still apply.  */
12656 char $ac_func ();
12657 /* The GNU C library defines this for functions which it implements
12658     to always fail with ENOSYS.  Some functions are actually named
12659     something starting with __ and the normal name is an alias.  */
12660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12661 choke me
12662 #else
12663 char (*f) () = $ac_func;
12664 #endif
12665 #ifdef __cplusplus
12666 }
12667 #endif
12668
12669 int
12670 main ()
12671 {
12672 return f != $ac_func;
12673   ;
12674   return 0;
12675 }
12676 _ACEOF
12677 rm -f conftest.$ac_objext conftest$ac_exeext
12678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12679   (eval $ac_link) 2>&5
12680   ac_status=$?
12681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682   (exit $ac_status); } &&
12683          { ac_try='test -s conftest$ac_exeext'
12684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685   (eval $ac_try) 2>&5
12686   ac_status=$?
12687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688   (exit $ac_status); }; }; then
12689   eval "$as_ac_var=yes"
12690 else
12691   echo "$as_me: failed program was:" >&5
12692 sed 's/^/| /' conftest.$ac_ext >&5
12693
12694 eval "$as_ac_var=no"
12695 fi
12696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12697 fi
12698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12700 if test `eval echo '${'$as_ac_var'}'` = yes; then
12701   cat >>confdefs.h <<_ACEOF
12702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12703 _ACEOF
12704
12705 fi
12706 done
12707
12708   else
12709
12710   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12711 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12712   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12713     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12714   echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12716
12717
12718
12719       ac_ext=cc
12720 ac_cpp='$CXXCPP $CPPFLAGS'
12721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12724
12725       cat >conftest.$ac_ext <<_ACEOF
12726 #line $LINENO "configure"
12727 /* confdefs.h.  */
12728 _ACEOF
12729 cat confdefs.h >>conftest.$ac_ext
12730 cat >>conftest.$ac_ext <<_ACEOF
12731 /* end confdefs.h.  */
12732 #include <math.h>
12733 int
12734 main ()
12735 {
12736  _frexpf(0, 0);
12737   ;
12738   return 0;
12739 }
12740 _ACEOF
12741 rm -f conftest.$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743   (eval $ac_compile) 2>&5
12744   ac_status=$?
12745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746   (exit $ac_status); } &&
12747          { ac_try='test -s conftest.$ac_objext'
12748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749   (eval $ac_try) 2>&5
12750   ac_status=$?
12751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752   (exit $ac_status); }; }; then
12753   glibcxx_cv_func__frexpf_use=yes
12754 else
12755   echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.$ac_ext >&5
12757
12758 glibcxx_cv_func__frexpf_use=no
12759 fi
12760 rm -f conftest.$ac_objext conftest.$ac_ext
12761       ac_ext=c
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12766
12767
12768 fi
12769
12770   fi
12771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12772 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12773
12774     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12775
12776 for ac_func in _frexpf
12777 do
12778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12779 echo "$as_me:$LINENO: checking for $ac_func" >&5
12780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12781 if eval "test \"\${$as_ac_var+set}\" = set"; then
12782   echo $ECHO_N "(cached) $ECHO_C" >&6
12783 else
12784   cat >conftest.$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12786 /* confdefs.h.  */
12787 _ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h.  */
12791 /* System header to define __stub macros and hopefully few prototypes,
12792     which can conflict with char $ac_func (); below.
12793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12794     <limits.h> exists even on freestanding compilers.  */
12795 #ifdef __STDC__
12796 # include <limits.h>
12797 #else
12798 # include <assert.h>
12799 #endif
12800 /* Override any gcc2 internal prototype to avoid an error.  */
12801 #ifdef __cplusplus
12802 extern "C"
12803 {
12804 #endif
12805 /* We use char because int might match the return type of a gcc2
12806    builtin and then its argument prototype would still apply.  */
12807 char $ac_func ();
12808 /* The GNU C library defines this for functions which it implements
12809     to always fail with ENOSYS.  Some functions are actually named
12810     something starting with __ and the normal name is an alias.  */
12811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12812 choke me
12813 #else
12814 char (*f) () = $ac_func;
12815 #endif
12816 #ifdef __cplusplus
12817 }
12818 #endif
12819
12820 int
12821 main ()
12822 {
12823 return f != $ac_func;
12824   ;
12825   return 0;
12826 }
12827 _ACEOF
12828 rm -f conftest.$ac_objext conftest$ac_exeext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12830   (eval $ac_link) 2>&5
12831   ac_status=$?
12832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833   (exit $ac_status); } &&
12834          { ac_try='test -s conftest$ac_exeext'
12835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836   (eval $ac_try) 2>&5
12837   ac_status=$?
12838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839   (exit $ac_status); }; }; then
12840   eval "$as_ac_var=yes"
12841 else
12842   echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12844
12845 eval "$as_ac_var=no"
12846 fi
12847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12848 fi
12849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12851 if test `eval echo '${'$as_ac_var'}'` = yes; then
12852   cat >>confdefs.h <<_ACEOF
12853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12854 _ACEOF
12855
12856 fi
12857 done
12858
12859     fi
12860   fi
12861
12862
12863
12864   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
12865 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
12866   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
12867     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
12868   echo $ECHO_N "(cached) $ECHO_C" >&6
12869 else
12870
12871
12872
12873       ac_ext=cc
12874 ac_cpp='$CXXCPP $CPPFLAGS'
12875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12878
12879       cat >conftest.$ac_ext <<_ACEOF
12880 #line $LINENO "configure"
12881 /* confdefs.h.  */
12882 _ACEOF
12883 cat confdefs.h >>conftest.$ac_ext
12884 cat >>conftest.$ac_ext <<_ACEOF
12885 /* end confdefs.h.  */
12886 #include <math.h>
12887 int
12888 main ()
12889 {
12890  hypotf(0, 0);
12891   ;
12892   return 0;
12893 }
12894 _ACEOF
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897   (eval $ac_compile) 2>&5
12898   ac_status=$?
12899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900   (exit $ac_status); } &&
12901          { ac_try='test -s conftest.$ac_objext'
12902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903   (eval $ac_try) 2>&5
12904   ac_status=$?
12905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906   (exit $ac_status); }; }; then
12907   glibcxx_cv_func_hypotf_use=yes
12908 else
12909   echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.$ac_ext >&5
12911
12912 glibcxx_cv_func_hypotf_use=no
12913 fi
12914 rm -f conftest.$ac_objext conftest.$ac_ext
12915       ac_ext=c
12916 ac_cpp='$CPP $CPPFLAGS'
12917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12920
12921
12922 fi
12923
12924   fi
12925   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
12926 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
12927
12928   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
12929
12930 for ac_func in hypotf
12931 do
12932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12933 echo "$as_me:$LINENO: checking for $ac_func" >&5
12934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_var+set}\" = set"; then
12936   echo $ECHO_N "(cached) $ECHO_C" >&6
12937 else
12938   cat >conftest.$ac_ext <<_ACEOF
12939 #line $LINENO "configure"
12940 /* confdefs.h.  */
12941 _ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h.  */
12945 /* System header to define __stub macros and hopefully few prototypes,
12946     which can conflict with char $ac_func (); below.
12947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12948     <limits.h> exists even on freestanding compilers.  */
12949 #ifdef __STDC__
12950 # include <limits.h>
12951 #else
12952 # include <assert.h>
12953 #endif
12954 /* Override any gcc2 internal prototype to avoid an error.  */
12955 #ifdef __cplusplus
12956 extern "C"
12957 {
12958 #endif
12959 /* We use char because int might match the return type of a gcc2
12960    builtin and then its argument prototype would still apply.  */
12961 char $ac_func ();
12962 /* The GNU C library defines this for functions which it implements
12963     to always fail with ENOSYS.  Some functions are actually named
12964     something starting with __ and the normal name is an alias.  */
12965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12966 choke me
12967 #else
12968 char (*f) () = $ac_func;
12969 #endif
12970 #ifdef __cplusplus
12971 }
12972 #endif
12973
12974 int
12975 main ()
12976 {
12977 return f != $ac_func;
12978   ;
12979   return 0;
12980 }
12981 _ACEOF
12982 rm -f conftest.$ac_objext conftest$ac_exeext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12984   (eval $ac_link) 2>&5
12985   ac_status=$?
12986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987   (exit $ac_status); } &&
12988          { ac_try='test -s conftest$ac_exeext'
12989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990   (eval $ac_try) 2>&5
12991   ac_status=$?
12992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993   (exit $ac_status); }; }; then
12994   eval "$as_ac_var=yes"
12995 else
12996   echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12998
12999 eval "$as_ac_var=no"
13000 fi
13001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13002 fi
13003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006   cat >>confdefs.h <<_ACEOF
13007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13008 _ACEOF
13009
13010 fi
13011 done
13012
13013   else
13014
13015   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13016 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13017   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13018     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13019   echo $ECHO_N "(cached) $ECHO_C" >&6
13020 else
13021
13022
13023
13024       ac_ext=cc
13025 ac_cpp='$CXXCPP $CPPFLAGS'
13026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13029
13030       cat >conftest.$ac_ext <<_ACEOF
13031 #line $LINENO "configure"
13032 /* confdefs.h.  */
13033 _ACEOF
13034 cat confdefs.h >>conftest.$ac_ext
13035 cat >>conftest.$ac_ext <<_ACEOF
13036 /* end confdefs.h.  */
13037 #include <math.h>
13038 int
13039 main ()
13040 {
13041  _hypotf(0, 0);
13042   ;
13043   return 0;
13044 }
13045 _ACEOF
13046 rm -f conftest.$ac_objext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13048   (eval $ac_compile) 2>&5
13049   ac_status=$?
13050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051   (exit $ac_status); } &&
13052          { ac_try='test -s conftest.$ac_objext'
13053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054   (eval $ac_try) 2>&5
13055   ac_status=$?
13056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057   (exit $ac_status); }; }; then
13058   glibcxx_cv_func__hypotf_use=yes
13059 else
13060   echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.$ac_ext >&5
13062
13063 glibcxx_cv_func__hypotf_use=no
13064 fi
13065 rm -f conftest.$ac_objext conftest.$ac_ext
13066       ac_ext=c
13067 ac_cpp='$CPP $CPPFLAGS'
13068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13071
13072
13073 fi
13074
13075   fi
13076   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13077 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13078
13079     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13080
13081 for ac_func in _hypotf
13082 do
13083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13084 echo "$as_me:$LINENO: checking for $ac_func" >&5
13085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13086 if eval "test \"\${$as_ac_var+set}\" = set"; then
13087   echo $ECHO_N "(cached) $ECHO_C" >&6
13088 else
13089   cat >conftest.$ac_ext <<_ACEOF
13090 #line $LINENO "configure"
13091 /* confdefs.h.  */
13092 _ACEOF
13093 cat confdefs.h >>conftest.$ac_ext
13094 cat >>conftest.$ac_ext <<_ACEOF
13095 /* end confdefs.h.  */
13096 /* System header to define __stub macros and hopefully few prototypes,
13097     which can conflict with char $ac_func (); below.
13098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13099     <limits.h> exists even on freestanding compilers.  */
13100 #ifdef __STDC__
13101 # include <limits.h>
13102 #else
13103 # include <assert.h>
13104 #endif
13105 /* Override any gcc2 internal prototype to avoid an error.  */
13106 #ifdef __cplusplus
13107 extern "C"
13108 {
13109 #endif
13110 /* We use char because int might match the return type of a gcc2
13111    builtin and then its argument prototype would still apply.  */
13112 char $ac_func ();
13113 /* The GNU C library defines this for functions which it implements
13114     to always fail with ENOSYS.  Some functions are actually named
13115     something starting with __ and the normal name is an alias.  */
13116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13117 choke me
13118 #else
13119 char (*f) () = $ac_func;
13120 #endif
13121 #ifdef __cplusplus
13122 }
13123 #endif
13124
13125 int
13126 main ()
13127 {
13128 return f != $ac_func;
13129   ;
13130   return 0;
13131 }
13132 _ACEOF
13133 rm -f conftest.$ac_objext conftest$ac_exeext
13134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13135   (eval $ac_link) 2>&5
13136   ac_status=$?
13137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138   (exit $ac_status); } &&
13139          { ac_try='test -s conftest$ac_exeext'
13140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141   (eval $ac_try) 2>&5
13142   ac_status=$?
13143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144   (exit $ac_status); }; }; then
13145   eval "$as_ac_var=yes"
13146 else
13147   echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.$ac_ext >&5
13149
13150 eval "$as_ac_var=no"
13151 fi
13152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13153 fi
13154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13156 if test `eval echo '${'$as_ac_var'}'` = yes; then
13157   cat >>confdefs.h <<_ACEOF
13158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13159 _ACEOF
13160
13161 fi
13162 done
13163
13164     fi
13165   fi
13166
13167
13168
13169   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13170 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13171   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13172     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13173   echo $ECHO_N "(cached) $ECHO_C" >&6
13174 else
13175
13176
13177
13178       ac_ext=cc
13179 ac_cpp='$CXXCPP $CPPFLAGS'
13180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13183
13184       cat >conftest.$ac_ext <<_ACEOF
13185 #line $LINENO "configure"
13186 /* confdefs.h.  */
13187 _ACEOF
13188 cat confdefs.h >>conftest.$ac_ext
13189 cat >>conftest.$ac_ext <<_ACEOF
13190 /* end confdefs.h.  */
13191 #include <math.h>
13192 int
13193 main ()
13194 {
13195  ldexpf(0, 0);
13196   ;
13197   return 0;
13198 }
13199 _ACEOF
13200 rm -f conftest.$ac_objext
13201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13202   (eval $ac_compile) 2>&5
13203   ac_status=$?
13204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205   (exit $ac_status); } &&
13206          { ac_try='test -s conftest.$ac_objext'
13207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208   (eval $ac_try) 2>&5
13209   ac_status=$?
13210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211   (exit $ac_status); }; }; then
13212   glibcxx_cv_func_ldexpf_use=yes
13213 else
13214   echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.$ac_ext >&5
13216
13217 glibcxx_cv_func_ldexpf_use=no
13218 fi
13219 rm -f conftest.$ac_objext conftest.$ac_ext
13220       ac_ext=c
13221 ac_cpp='$CPP $CPPFLAGS'
13222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13225
13226
13227 fi
13228
13229   fi
13230   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13231 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13232
13233   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13234
13235 for ac_func in ldexpf
13236 do
13237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13238 echo "$as_me:$LINENO: checking for $ac_func" >&5
13239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13240 if eval "test \"\${$as_ac_var+set}\" = set"; then
13241   echo $ECHO_N "(cached) $ECHO_C" >&6
13242 else
13243   cat >conftest.$ac_ext <<_ACEOF
13244 #line $LINENO "configure"
13245 /* confdefs.h.  */
13246 _ACEOF
13247 cat confdefs.h >>conftest.$ac_ext
13248 cat >>conftest.$ac_ext <<_ACEOF
13249 /* end confdefs.h.  */
13250 /* System header to define __stub macros and hopefully few prototypes,
13251     which can conflict with char $ac_func (); below.
13252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13253     <limits.h> exists even on freestanding compilers.  */
13254 #ifdef __STDC__
13255 # include <limits.h>
13256 #else
13257 # include <assert.h>
13258 #endif
13259 /* Override any gcc2 internal prototype to avoid an error.  */
13260 #ifdef __cplusplus
13261 extern "C"
13262 {
13263 #endif
13264 /* We use char because int might match the return type of a gcc2
13265    builtin and then its argument prototype would still apply.  */
13266 char $ac_func ();
13267 /* The GNU C library defines this for functions which it implements
13268     to always fail with ENOSYS.  Some functions are actually named
13269     something starting with __ and the normal name is an alias.  */
13270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13271 choke me
13272 #else
13273 char (*f) () = $ac_func;
13274 #endif
13275 #ifdef __cplusplus
13276 }
13277 #endif
13278
13279 int
13280 main ()
13281 {
13282 return f != $ac_func;
13283   ;
13284   return 0;
13285 }
13286 _ACEOF
13287 rm -f conftest.$ac_objext conftest$ac_exeext
13288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13289   (eval $ac_link) 2>&5
13290   ac_status=$?
13291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292   (exit $ac_status); } &&
13293          { ac_try='test -s conftest$ac_exeext'
13294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295   (eval $ac_try) 2>&5
13296   ac_status=$?
13297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298   (exit $ac_status); }; }; then
13299   eval "$as_ac_var=yes"
13300 else
13301   echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13303
13304 eval "$as_ac_var=no"
13305 fi
13306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13307 fi
13308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13310 if test `eval echo '${'$as_ac_var'}'` = yes; then
13311   cat >>confdefs.h <<_ACEOF
13312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13313 _ACEOF
13314
13315 fi
13316 done
13317
13318   else
13319
13320   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13321 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13322   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13323     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13324   echo $ECHO_N "(cached) $ECHO_C" >&6
13325 else
13326
13327
13328
13329       ac_ext=cc
13330 ac_cpp='$CXXCPP $CPPFLAGS'
13331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13334
13335       cat >conftest.$ac_ext <<_ACEOF
13336 #line $LINENO "configure"
13337 /* confdefs.h.  */
13338 _ACEOF
13339 cat confdefs.h >>conftest.$ac_ext
13340 cat >>conftest.$ac_ext <<_ACEOF
13341 /* end confdefs.h.  */
13342 #include <math.h>
13343 int
13344 main ()
13345 {
13346  _ldexpf(0, 0);
13347   ;
13348   return 0;
13349 }
13350 _ACEOF
13351 rm -f conftest.$ac_objext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353   (eval $ac_compile) 2>&5
13354   ac_status=$?
13355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356   (exit $ac_status); } &&
13357          { ac_try='test -s conftest.$ac_objext'
13358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359   (eval $ac_try) 2>&5
13360   ac_status=$?
13361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362   (exit $ac_status); }; }; then
13363   glibcxx_cv_func__ldexpf_use=yes
13364 else
13365   echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.$ac_ext >&5
13367
13368 glibcxx_cv_func__ldexpf_use=no
13369 fi
13370 rm -f conftest.$ac_objext conftest.$ac_ext
13371       ac_ext=c
13372 ac_cpp='$CPP $CPPFLAGS'
13373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13376
13377
13378 fi
13379
13380   fi
13381   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13382 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13383
13384     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13385
13386 for ac_func in _ldexpf
13387 do
13388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13389 echo "$as_me:$LINENO: checking for $ac_func" >&5
13390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13391 if eval "test \"\${$as_ac_var+set}\" = set"; then
13392   echo $ECHO_N "(cached) $ECHO_C" >&6
13393 else
13394   cat >conftest.$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13396 /* confdefs.h.  */
13397 _ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h.  */
13401 /* System header to define __stub macros and hopefully few prototypes,
13402     which can conflict with char $ac_func (); below.
13403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13404     <limits.h> exists even on freestanding compilers.  */
13405 #ifdef __STDC__
13406 # include <limits.h>
13407 #else
13408 # include <assert.h>
13409 #endif
13410 /* Override any gcc2 internal prototype to avoid an error.  */
13411 #ifdef __cplusplus
13412 extern "C"
13413 {
13414 #endif
13415 /* We use char because int might match the return type of a gcc2
13416    builtin and then its argument prototype would still apply.  */
13417 char $ac_func ();
13418 /* The GNU C library defines this for functions which it implements
13419     to always fail with ENOSYS.  Some functions are actually named
13420     something starting with __ and the normal name is an alias.  */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13422 choke me
13423 #else
13424 char (*f) () = $ac_func;
13425 #endif
13426 #ifdef __cplusplus
13427 }
13428 #endif
13429
13430 int
13431 main ()
13432 {
13433 return f != $ac_func;
13434   ;
13435   return 0;
13436 }
13437 _ACEOF
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13440   (eval $ac_link) 2>&5
13441   ac_status=$?
13442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443   (exit $ac_status); } &&
13444          { ac_try='test -s conftest$ac_exeext'
13445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446   (eval $ac_try) 2>&5
13447   ac_status=$?
13448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449   (exit $ac_status); }; }; then
13450   eval "$as_ac_var=yes"
13451 else
13452   echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.$ac_ext >&5
13454
13455 eval "$as_ac_var=no"
13456 fi
13457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13458 fi
13459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13461 if test `eval echo '${'$as_ac_var'}'` = yes; then
13462   cat >>confdefs.h <<_ACEOF
13463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13464 _ACEOF
13465
13466 fi
13467 done
13468
13469     fi
13470   fi
13471
13472
13473
13474   echo "$as_me:$LINENO: checking for logf declaration" >&5
13475 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13476   if test x${glibcxx_cv_func_logf_use+set} != xset; then
13477     if test "${glibcxx_cv_func_logf_use+set}" = set; then
13478   echo $ECHO_N "(cached) $ECHO_C" >&6
13479 else
13480
13481
13482
13483       ac_ext=cc
13484 ac_cpp='$CXXCPP $CPPFLAGS'
13485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13488
13489       cat >conftest.$ac_ext <<_ACEOF
13490 #line $LINENO "configure"
13491 /* confdefs.h.  */
13492 _ACEOF
13493 cat confdefs.h >>conftest.$ac_ext
13494 cat >>conftest.$ac_ext <<_ACEOF
13495 /* end confdefs.h.  */
13496 #include <math.h>
13497                       #ifdef HAVE_IEEEFP_H
13498                       #include <ieeefp.h>
13499                       #endif
13500
13501 int
13502 main ()
13503 {
13504  logf(0);
13505   ;
13506   return 0;
13507 }
13508 _ACEOF
13509 rm -f conftest.$ac_objext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13511   (eval $ac_compile) 2>&5
13512   ac_status=$?
13513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514   (exit $ac_status); } &&
13515          { ac_try='test -s conftest.$ac_objext'
13516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517   (eval $ac_try) 2>&5
13518   ac_status=$?
13519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520   (exit $ac_status); }; }; then
13521   glibcxx_cv_func_logf_use=yes
13522 else
13523   echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 glibcxx_cv_func_logf_use=no
13527 fi
13528 rm -f conftest.$ac_objext conftest.$ac_ext
13529       ac_ext=c
13530 ac_cpp='$CPP $CPPFLAGS'
13531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13534
13535
13536 fi
13537
13538   fi
13539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13540 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13541
13542   if test x$glibcxx_cv_func_logf_use = x"yes"; then
13543
13544 for ac_func in logf
13545 do
13546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13547 echo "$as_me:$LINENO: checking for $ac_func" >&5
13548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13549 if eval "test \"\${$as_ac_var+set}\" = set"; then
13550   echo $ECHO_N "(cached) $ECHO_C" >&6
13551 else
13552   cat >conftest.$ac_ext <<_ACEOF
13553 #line $LINENO "configure"
13554 /* confdefs.h.  */
13555 _ACEOF
13556 cat confdefs.h >>conftest.$ac_ext
13557 cat >>conftest.$ac_ext <<_ACEOF
13558 /* end confdefs.h.  */
13559 /* System header to define __stub macros and hopefully few prototypes,
13560     which can conflict with char $ac_func (); below.
13561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13562     <limits.h> exists even on freestanding compilers.  */
13563 #ifdef __STDC__
13564 # include <limits.h>
13565 #else
13566 # include <assert.h>
13567 #endif
13568 /* Override any gcc2 internal prototype to avoid an error.  */
13569 #ifdef __cplusplus
13570 extern "C"
13571 {
13572 #endif
13573 /* We use char because int might match the return type of a gcc2
13574    builtin and then its argument prototype would still apply.  */
13575 char $ac_func ();
13576 /* The GNU C library defines this for functions which it implements
13577     to always fail with ENOSYS.  Some functions are actually named
13578     something starting with __ and the normal name is an alias.  */
13579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13580 choke me
13581 #else
13582 char (*f) () = $ac_func;
13583 #endif
13584 #ifdef __cplusplus
13585 }
13586 #endif
13587
13588 int
13589 main ()
13590 {
13591 return f != $ac_func;
13592   ;
13593   return 0;
13594 }
13595 _ACEOF
13596 rm -f conftest.$ac_objext conftest$ac_exeext
13597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13598   (eval $ac_link) 2>&5
13599   ac_status=$?
13600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601   (exit $ac_status); } &&
13602          { ac_try='test -s conftest$ac_exeext'
13603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604   (eval $ac_try) 2>&5
13605   ac_status=$?
13606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607   (exit $ac_status); }; }; then
13608   eval "$as_ac_var=yes"
13609 else
13610   echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.$ac_ext >&5
13612
13613 eval "$as_ac_var=no"
13614 fi
13615 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13616 fi
13617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13619 if test `eval echo '${'$as_ac_var'}'` = yes; then
13620   cat >>confdefs.h <<_ACEOF
13621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13622 _ACEOF
13623
13624 fi
13625 done
13626
13627   else
13628
13629   echo "$as_me:$LINENO: checking for _logf declaration" >&5
13630 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13631   if test x${glibcxx_cv_func__logf_use+set} != xset; then
13632     if test "${glibcxx_cv_func__logf_use+set}" = set; then
13633   echo $ECHO_N "(cached) $ECHO_C" >&6
13634 else
13635
13636
13637
13638       ac_ext=cc
13639 ac_cpp='$CXXCPP $CPPFLAGS'
13640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13643
13644       cat >conftest.$ac_ext <<_ACEOF
13645 #line $LINENO "configure"
13646 /* confdefs.h.  */
13647 _ACEOF
13648 cat confdefs.h >>conftest.$ac_ext
13649 cat >>conftest.$ac_ext <<_ACEOF
13650 /* end confdefs.h.  */
13651 #include <math.h>
13652                       #ifdef HAVE_IEEEFP_H
13653                       #include <ieeefp.h>
13654                       #endif
13655
13656 int
13657 main ()
13658 {
13659  _logf(0);
13660   ;
13661   return 0;
13662 }
13663 _ACEOF
13664 rm -f conftest.$ac_objext
13665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13666   (eval $ac_compile) 2>&5
13667   ac_status=$?
13668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669   (exit $ac_status); } &&
13670          { ac_try='test -s conftest.$ac_objext'
13671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672   (eval $ac_try) 2>&5
13673   ac_status=$?
13674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675   (exit $ac_status); }; }; then
13676   glibcxx_cv_func__logf_use=yes
13677 else
13678   echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13680
13681 glibcxx_cv_func__logf_use=no
13682 fi
13683 rm -f conftest.$ac_objext conftest.$ac_ext
13684       ac_ext=c
13685 ac_cpp='$CPP $CPPFLAGS'
13686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13689
13690
13691 fi
13692
13693   fi
13694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13695 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13696
13697     if test x$glibcxx_cv_func__logf_use = x"yes"; then
13698
13699 for ac_func in _logf
13700 do
13701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13702 echo "$as_me:$LINENO: checking for $ac_func" >&5
13703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13704 if eval "test \"\${$as_ac_var+set}\" = set"; then
13705   echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707   cat >conftest.$ac_ext <<_ACEOF
13708 #line $LINENO "configure"
13709 /* confdefs.h.  */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h.  */
13714 /* System header to define __stub macros and hopefully few prototypes,
13715     which can conflict with char $ac_func (); below.
13716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13717     <limits.h> exists even on freestanding compilers.  */
13718 #ifdef __STDC__
13719 # include <limits.h>
13720 #else
13721 # include <assert.h>
13722 #endif
13723 /* Override any gcc2 internal prototype to avoid an error.  */
13724 #ifdef __cplusplus
13725 extern "C"
13726 {
13727 #endif
13728 /* We use char because int might match the return type of a gcc2
13729    builtin and then its argument prototype would still apply.  */
13730 char $ac_func ();
13731 /* The GNU C library defines this for functions which it implements
13732     to always fail with ENOSYS.  Some functions are actually named
13733     something starting with __ and the normal name is an alias.  */
13734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13735 choke me
13736 #else
13737 char (*f) () = $ac_func;
13738 #endif
13739 #ifdef __cplusplus
13740 }
13741 #endif
13742
13743 int
13744 main ()
13745 {
13746 return f != $ac_func;
13747   ;
13748   return 0;
13749 }
13750 _ACEOF
13751 rm -f conftest.$ac_objext conftest$ac_exeext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13753   (eval $ac_link) 2>&5
13754   ac_status=$?
13755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756   (exit $ac_status); } &&
13757          { ac_try='test -s conftest$ac_exeext'
13758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759   (eval $ac_try) 2>&5
13760   ac_status=$?
13761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762   (exit $ac_status); }; }; then
13763   eval "$as_ac_var=yes"
13764 else
13765   echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13767
13768 eval "$as_ac_var=no"
13769 fi
13770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13771 fi
13772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13774 if test `eval echo '${'$as_ac_var'}'` = yes; then
13775   cat >>confdefs.h <<_ACEOF
13776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13777 _ACEOF
13778
13779 fi
13780 done
13781
13782     fi
13783   fi
13784
13785
13786
13787   echo "$as_me:$LINENO: checking for log10f declaration" >&5
13788 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13789   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13790     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13791   echo $ECHO_N "(cached) $ECHO_C" >&6
13792 else
13793
13794
13795
13796       ac_ext=cc
13797 ac_cpp='$CXXCPP $CPPFLAGS'
13798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13801
13802       cat >conftest.$ac_ext <<_ACEOF
13803 #line $LINENO "configure"
13804 /* confdefs.h.  */
13805 _ACEOF
13806 cat confdefs.h >>conftest.$ac_ext
13807 cat >>conftest.$ac_ext <<_ACEOF
13808 /* end confdefs.h.  */
13809 #include <math.h>
13810                       #ifdef HAVE_IEEEFP_H
13811                       #include <ieeefp.h>
13812                       #endif
13813
13814 int
13815 main ()
13816 {
13817  log10f(0);
13818   ;
13819   return 0;
13820 }
13821 _ACEOF
13822 rm -f conftest.$ac_objext
13823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13824   (eval $ac_compile) 2>&5
13825   ac_status=$?
13826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827   (exit $ac_status); } &&
13828          { ac_try='test -s conftest.$ac_objext'
13829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830   (eval $ac_try) 2>&5
13831   ac_status=$?
13832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833   (exit $ac_status); }; }; then
13834   glibcxx_cv_func_log10f_use=yes
13835 else
13836   echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.$ac_ext >&5
13838
13839 glibcxx_cv_func_log10f_use=no
13840 fi
13841 rm -f conftest.$ac_objext conftest.$ac_ext
13842       ac_ext=c
13843 ac_cpp='$CPP $CPPFLAGS'
13844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13847
13848
13849 fi
13850
13851   fi
13852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
13853 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
13854
13855   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
13856
13857 for ac_func in log10f
13858 do
13859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13860 echo "$as_me:$LINENO: checking for $ac_func" >&5
13861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13862 if eval "test \"\${$as_ac_var+set}\" = set"; then
13863   echo $ECHO_N "(cached) $ECHO_C" >&6
13864 else
13865   cat >conftest.$ac_ext <<_ACEOF
13866 #line $LINENO "configure"
13867 /* confdefs.h.  */
13868 _ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h.  */
13872 /* System header to define __stub macros and hopefully few prototypes,
13873     which can conflict with char $ac_func (); below.
13874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13875     <limits.h> exists even on freestanding compilers.  */
13876 #ifdef __STDC__
13877 # include <limits.h>
13878 #else
13879 # include <assert.h>
13880 #endif
13881 /* Override any gcc2 internal prototype to avoid an error.  */
13882 #ifdef __cplusplus
13883 extern "C"
13884 {
13885 #endif
13886 /* We use char because int might match the return type of a gcc2
13887    builtin and then its argument prototype would still apply.  */
13888 char $ac_func ();
13889 /* The GNU C library defines this for functions which it implements
13890     to always fail with ENOSYS.  Some functions are actually named
13891     something starting with __ and the normal name is an alias.  */
13892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13893 choke me
13894 #else
13895 char (*f) () = $ac_func;
13896 #endif
13897 #ifdef __cplusplus
13898 }
13899 #endif
13900
13901 int
13902 main ()
13903 {
13904 return f != $ac_func;
13905   ;
13906   return 0;
13907 }
13908 _ACEOF
13909 rm -f conftest.$ac_objext conftest$ac_exeext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13911   (eval $ac_link) 2>&5
13912   ac_status=$?
13913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914   (exit $ac_status); } &&
13915          { ac_try='test -s conftest$ac_exeext'
13916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917   (eval $ac_try) 2>&5
13918   ac_status=$?
13919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920   (exit $ac_status); }; }; then
13921   eval "$as_ac_var=yes"
13922 else
13923   echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13925
13926 eval "$as_ac_var=no"
13927 fi
13928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13929 fi
13930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13932 if test `eval echo '${'$as_ac_var'}'` = yes; then
13933   cat >>confdefs.h <<_ACEOF
13934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13935 _ACEOF
13936
13937 fi
13938 done
13939
13940   else
13941
13942   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
13943 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
13944   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
13945     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
13946   echo $ECHO_N "(cached) $ECHO_C" >&6
13947 else
13948
13949
13950
13951       ac_ext=cc
13952 ac_cpp='$CXXCPP $CPPFLAGS'
13953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13956
13957       cat >conftest.$ac_ext <<_ACEOF
13958 #line $LINENO "configure"
13959 /* confdefs.h.  */
13960 _ACEOF
13961 cat confdefs.h >>conftest.$ac_ext
13962 cat >>conftest.$ac_ext <<_ACEOF
13963 /* end confdefs.h.  */
13964 #include <math.h>
13965                       #ifdef HAVE_IEEEFP_H
13966                       #include <ieeefp.h>
13967                       #endif
13968
13969 int
13970 main ()
13971 {
13972  _log10f(0);
13973   ;
13974   return 0;
13975 }
13976 _ACEOF
13977 rm -f conftest.$ac_objext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13979   (eval $ac_compile) 2>&5
13980   ac_status=$?
13981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982   (exit $ac_status); } &&
13983          { ac_try='test -s conftest.$ac_objext'
13984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985   (eval $ac_try) 2>&5
13986   ac_status=$?
13987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988   (exit $ac_status); }; }; then
13989   glibcxx_cv_func__log10f_use=yes
13990 else
13991   echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.$ac_ext >&5
13993
13994 glibcxx_cv_func__log10f_use=no
13995 fi
13996 rm -f conftest.$ac_objext conftest.$ac_ext
13997       ac_ext=c
13998 ac_cpp='$CPP $CPPFLAGS'
13999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14002
14003
14004 fi
14005
14006   fi
14007   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14008 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14009
14010     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14011
14012 for ac_func in _log10f
14013 do
14014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14015 echo "$as_me:$LINENO: checking for $ac_func" >&5
14016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14017 if eval "test \"\${$as_ac_var+set}\" = set"; then
14018   echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020   cat >conftest.$ac_ext <<_ACEOF
14021 #line $LINENO "configure"
14022 /* confdefs.h.  */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h.  */
14027 /* System header to define __stub macros and hopefully few prototypes,
14028     which can conflict with char $ac_func (); below.
14029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14030     <limits.h> exists even on freestanding compilers.  */
14031 #ifdef __STDC__
14032 # include <limits.h>
14033 #else
14034 # include <assert.h>
14035 #endif
14036 /* Override any gcc2 internal prototype to avoid an error.  */
14037 #ifdef __cplusplus
14038 extern "C"
14039 {
14040 #endif
14041 /* We use char because int might match the return type of a gcc2
14042    builtin and then its argument prototype would still apply.  */
14043 char $ac_func ();
14044 /* The GNU C library defines this for functions which it implements
14045     to always fail with ENOSYS.  Some functions are actually named
14046     something starting with __ and the normal name is an alias.  */
14047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14048 choke me
14049 #else
14050 char (*f) () = $ac_func;
14051 #endif
14052 #ifdef __cplusplus
14053 }
14054 #endif
14055
14056 int
14057 main ()
14058 {
14059 return f != $ac_func;
14060   ;
14061   return 0;
14062 }
14063 _ACEOF
14064 rm -f conftest.$ac_objext conftest$ac_exeext
14065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14066   (eval $ac_link) 2>&5
14067   ac_status=$?
14068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069   (exit $ac_status); } &&
14070          { ac_try='test -s conftest$ac_exeext'
14071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072   (eval $ac_try) 2>&5
14073   ac_status=$?
14074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075   (exit $ac_status); }; }; then
14076   eval "$as_ac_var=yes"
14077 else
14078   echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14080
14081 eval "$as_ac_var=no"
14082 fi
14083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14084 fi
14085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14087 if test `eval echo '${'$as_ac_var'}'` = yes; then
14088   cat >>confdefs.h <<_ACEOF
14089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14090 _ACEOF
14091
14092 fi
14093 done
14094
14095     fi
14096   fi
14097
14098
14099
14100   echo "$as_me:$LINENO: checking for modff declaration" >&5
14101 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14102   if test x${glibcxx_cv_func_modff_use+set} != xset; then
14103     if test "${glibcxx_cv_func_modff_use+set}" = set; then
14104   echo $ECHO_N "(cached) $ECHO_C" >&6
14105 else
14106
14107
14108
14109       ac_ext=cc
14110 ac_cpp='$CXXCPP $CPPFLAGS'
14111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14114
14115       cat >conftest.$ac_ext <<_ACEOF
14116 #line $LINENO "configure"
14117 /* confdefs.h.  */
14118 _ACEOF
14119 cat confdefs.h >>conftest.$ac_ext
14120 cat >>conftest.$ac_ext <<_ACEOF
14121 /* end confdefs.h.  */
14122 #include <math.h>
14123 int
14124 main ()
14125 {
14126  modff(0, 0);
14127   ;
14128   return 0;
14129 }
14130 _ACEOF
14131 rm -f conftest.$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133   (eval $ac_compile) 2>&5
14134   ac_status=$?
14135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136   (exit $ac_status); } &&
14137          { ac_try='test -s conftest.$ac_objext'
14138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139   (eval $ac_try) 2>&5
14140   ac_status=$?
14141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142   (exit $ac_status); }; }; then
14143   glibcxx_cv_func_modff_use=yes
14144 else
14145   echo "$as_me: failed program was:" >&5
14146 sed 's/^/| /' conftest.$ac_ext >&5
14147
14148 glibcxx_cv_func_modff_use=no
14149 fi
14150 rm -f conftest.$ac_objext conftest.$ac_ext
14151       ac_ext=c
14152 ac_cpp='$CPP $CPPFLAGS'
14153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14156
14157
14158 fi
14159
14160   fi
14161   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14162 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14163
14164   if test x$glibcxx_cv_func_modff_use = x"yes"; then
14165
14166 for ac_func in modff
14167 do
14168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14169 echo "$as_me:$LINENO: checking for $ac_func" >&5
14170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14171 if eval "test \"\${$as_ac_var+set}\" = set"; then
14172   echo $ECHO_N "(cached) $ECHO_C" >&6
14173 else
14174   cat >conftest.$ac_ext <<_ACEOF
14175 #line $LINENO "configure"
14176 /* confdefs.h.  */
14177 _ACEOF
14178 cat confdefs.h >>conftest.$ac_ext
14179 cat >>conftest.$ac_ext <<_ACEOF
14180 /* end confdefs.h.  */
14181 /* System header to define __stub macros and hopefully few prototypes,
14182     which can conflict with char $ac_func (); below.
14183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14184     <limits.h> exists even on freestanding compilers.  */
14185 #ifdef __STDC__
14186 # include <limits.h>
14187 #else
14188 # include <assert.h>
14189 #endif
14190 /* Override any gcc2 internal prototype to avoid an error.  */
14191 #ifdef __cplusplus
14192 extern "C"
14193 {
14194 #endif
14195 /* We use char because int might match the return type of a gcc2
14196    builtin and then its argument prototype would still apply.  */
14197 char $ac_func ();
14198 /* The GNU C library defines this for functions which it implements
14199     to always fail with ENOSYS.  Some functions are actually named
14200     something starting with __ and the normal name is an alias.  */
14201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14202 choke me
14203 #else
14204 char (*f) () = $ac_func;
14205 #endif
14206 #ifdef __cplusplus
14207 }
14208 #endif
14209
14210 int
14211 main ()
14212 {
14213 return f != $ac_func;
14214   ;
14215   return 0;
14216 }
14217 _ACEOF
14218 rm -f conftest.$ac_objext conftest$ac_exeext
14219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14220   (eval $ac_link) 2>&5
14221   ac_status=$?
14222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223   (exit $ac_status); } &&
14224          { ac_try='test -s conftest$ac_exeext'
14225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226   (eval $ac_try) 2>&5
14227   ac_status=$?
14228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229   (exit $ac_status); }; }; then
14230   eval "$as_ac_var=yes"
14231 else
14232   echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.$ac_ext >&5
14234
14235 eval "$as_ac_var=no"
14236 fi
14237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14238 fi
14239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14241 if test `eval echo '${'$as_ac_var'}'` = yes; then
14242   cat >>confdefs.h <<_ACEOF
14243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14244 _ACEOF
14245
14246 fi
14247 done
14248
14249   else
14250
14251   echo "$as_me:$LINENO: checking for _modff declaration" >&5
14252 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14253   if test x${glibcxx_cv_func__modff_use+set} != xset; then
14254     if test "${glibcxx_cv_func__modff_use+set}" = set; then
14255   echo $ECHO_N "(cached) $ECHO_C" >&6
14256 else
14257
14258
14259
14260       ac_ext=cc
14261 ac_cpp='$CXXCPP $CPPFLAGS'
14262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14265
14266       cat >conftest.$ac_ext <<_ACEOF
14267 #line $LINENO "configure"
14268 /* confdefs.h.  */
14269 _ACEOF
14270 cat confdefs.h >>conftest.$ac_ext
14271 cat >>conftest.$ac_ext <<_ACEOF
14272 /* end confdefs.h.  */
14273 #include <math.h>
14274 int
14275 main ()
14276 {
14277  _modff(0, 0);
14278   ;
14279   return 0;
14280 }
14281 _ACEOF
14282 rm -f conftest.$ac_objext
14283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14284   (eval $ac_compile) 2>&5
14285   ac_status=$?
14286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287   (exit $ac_status); } &&
14288          { ac_try='test -s conftest.$ac_objext'
14289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290   (eval $ac_try) 2>&5
14291   ac_status=$?
14292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293   (exit $ac_status); }; }; then
14294   glibcxx_cv_func__modff_use=yes
14295 else
14296   echo "$as_me: failed program was:" >&5
14297 sed 's/^/| /' conftest.$ac_ext >&5
14298
14299 glibcxx_cv_func__modff_use=no
14300 fi
14301 rm -f conftest.$ac_objext conftest.$ac_ext
14302       ac_ext=c
14303 ac_cpp='$CPP $CPPFLAGS'
14304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14307
14308
14309 fi
14310
14311   fi
14312   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14313 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14314
14315     if test x$glibcxx_cv_func__modff_use = x"yes"; then
14316
14317 for ac_func in _modff
14318 do
14319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14320 echo "$as_me:$LINENO: checking for $ac_func" >&5
14321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14322 if eval "test \"\${$as_ac_var+set}\" = set"; then
14323   echo $ECHO_N "(cached) $ECHO_C" >&6
14324 else
14325   cat >conftest.$ac_ext <<_ACEOF
14326 #line $LINENO "configure"
14327 /* confdefs.h.  */
14328 _ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h.  */
14332 /* System header to define __stub macros and hopefully few prototypes,
14333     which can conflict with char $ac_func (); below.
14334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14335     <limits.h> exists even on freestanding compilers.  */
14336 #ifdef __STDC__
14337 # include <limits.h>
14338 #else
14339 # include <assert.h>
14340 #endif
14341 /* Override any gcc2 internal prototype to avoid an error.  */
14342 #ifdef __cplusplus
14343 extern "C"
14344 {
14345 #endif
14346 /* We use char because int might match the return type of a gcc2
14347    builtin and then its argument prototype would still apply.  */
14348 char $ac_func ();
14349 /* The GNU C library defines this for functions which it implements
14350     to always fail with ENOSYS.  Some functions are actually named
14351     something starting with __ and the normal name is an alias.  */
14352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14353 choke me
14354 #else
14355 char (*f) () = $ac_func;
14356 #endif
14357 #ifdef __cplusplus
14358 }
14359 #endif
14360
14361 int
14362 main ()
14363 {
14364 return f != $ac_func;
14365   ;
14366   return 0;
14367 }
14368 _ACEOF
14369 rm -f conftest.$ac_objext conftest$ac_exeext
14370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14371   (eval $ac_link) 2>&5
14372   ac_status=$?
14373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374   (exit $ac_status); } &&
14375          { ac_try='test -s conftest$ac_exeext'
14376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377   (eval $ac_try) 2>&5
14378   ac_status=$?
14379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380   (exit $ac_status); }; }; then
14381   eval "$as_ac_var=yes"
14382 else
14383   echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14385
14386 eval "$as_ac_var=no"
14387 fi
14388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14389 fi
14390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14392 if test `eval echo '${'$as_ac_var'}'` = yes; then
14393   cat >>confdefs.h <<_ACEOF
14394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14395 _ACEOF
14396
14397 fi
14398 done
14399
14400     fi
14401   fi
14402
14403
14404
14405   echo "$as_me:$LINENO: checking for powf declaration" >&5
14406 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14407   if test x${glibcxx_cv_func_powf_use+set} != xset; then
14408     if test "${glibcxx_cv_func_powf_use+set}" = set; then
14409   echo $ECHO_N "(cached) $ECHO_C" >&6
14410 else
14411
14412
14413
14414       ac_ext=cc
14415 ac_cpp='$CXXCPP $CPPFLAGS'
14416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14419
14420       cat >conftest.$ac_ext <<_ACEOF
14421 #line $LINENO "configure"
14422 /* confdefs.h.  */
14423 _ACEOF
14424 cat confdefs.h >>conftest.$ac_ext
14425 cat >>conftest.$ac_ext <<_ACEOF
14426 /* end confdefs.h.  */
14427 #include <math.h>
14428 int
14429 main ()
14430 {
14431  powf(0, 0);
14432   ;
14433   return 0;
14434 }
14435 _ACEOF
14436 rm -f conftest.$ac_objext
14437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14438   (eval $ac_compile) 2>&5
14439   ac_status=$?
14440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441   (exit $ac_status); } &&
14442          { ac_try='test -s conftest.$ac_objext'
14443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444   (eval $ac_try) 2>&5
14445   ac_status=$?
14446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447   (exit $ac_status); }; }; then
14448   glibcxx_cv_func_powf_use=yes
14449 else
14450   echo "$as_me: failed program was:" >&5
14451 sed 's/^/| /' conftest.$ac_ext >&5
14452
14453 glibcxx_cv_func_powf_use=no
14454 fi
14455 rm -f conftest.$ac_objext conftest.$ac_ext
14456       ac_ext=c
14457 ac_cpp='$CPP $CPPFLAGS'
14458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14461
14462
14463 fi
14464
14465   fi
14466   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14467 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14468
14469   if test x$glibcxx_cv_func_powf_use = x"yes"; then
14470
14471 for ac_func in powf
14472 do
14473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14474 echo "$as_me:$LINENO: checking for $ac_func" >&5
14475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14476 if eval "test \"\${$as_ac_var+set}\" = set"; then
14477   echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14479   cat >conftest.$ac_ext <<_ACEOF
14480 #line $LINENO "configure"
14481 /* confdefs.h.  */
14482 _ACEOF
14483 cat confdefs.h >>conftest.$ac_ext
14484 cat >>conftest.$ac_ext <<_ACEOF
14485 /* end confdefs.h.  */
14486 /* System header to define __stub macros and hopefully few prototypes,
14487     which can conflict with char $ac_func (); below.
14488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14489     <limits.h> exists even on freestanding compilers.  */
14490 #ifdef __STDC__
14491 # include <limits.h>
14492 #else
14493 # include <assert.h>
14494 #endif
14495 /* Override any gcc2 internal prototype to avoid an error.  */
14496 #ifdef __cplusplus
14497 extern "C"
14498 {
14499 #endif
14500 /* We use char because int might match the return type of a gcc2
14501    builtin and then its argument prototype would still apply.  */
14502 char $ac_func ();
14503 /* The GNU C library defines this for functions which it implements
14504     to always fail with ENOSYS.  Some functions are actually named
14505     something starting with __ and the normal name is an alias.  */
14506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14507 choke me
14508 #else
14509 char (*f) () = $ac_func;
14510 #endif
14511 #ifdef __cplusplus
14512 }
14513 #endif
14514
14515 int
14516 main ()
14517 {
14518 return f != $ac_func;
14519   ;
14520   return 0;
14521 }
14522 _ACEOF
14523 rm -f conftest.$ac_objext conftest$ac_exeext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14525   (eval $ac_link) 2>&5
14526   ac_status=$?
14527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528   (exit $ac_status); } &&
14529          { ac_try='test -s conftest$ac_exeext'
14530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14531   (eval $ac_try) 2>&5
14532   ac_status=$?
14533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534   (exit $ac_status); }; }; then
14535   eval "$as_ac_var=yes"
14536 else
14537   echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.$ac_ext >&5
14539
14540 eval "$as_ac_var=no"
14541 fi
14542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14543 fi
14544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14546 if test `eval echo '${'$as_ac_var'}'` = yes; then
14547   cat >>confdefs.h <<_ACEOF
14548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14549 _ACEOF
14550
14551 fi
14552 done
14553
14554   else
14555
14556   echo "$as_me:$LINENO: checking for _powf declaration" >&5
14557 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14558   if test x${glibcxx_cv_func__powf_use+set} != xset; then
14559     if test "${glibcxx_cv_func__powf_use+set}" = set; then
14560   echo $ECHO_N "(cached) $ECHO_C" >&6
14561 else
14562
14563
14564
14565       ac_ext=cc
14566 ac_cpp='$CXXCPP $CPPFLAGS'
14567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14570
14571       cat >conftest.$ac_ext <<_ACEOF
14572 #line $LINENO "configure"
14573 /* confdefs.h.  */
14574 _ACEOF
14575 cat confdefs.h >>conftest.$ac_ext
14576 cat >>conftest.$ac_ext <<_ACEOF
14577 /* end confdefs.h.  */
14578 #include <math.h>
14579 int
14580 main ()
14581 {
14582  _powf(0, 0);
14583   ;
14584   return 0;
14585 }
14586 _ACEOF
14587 rm -f conftest.$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589   (eval $ac_compile) 2>&5
14590   ac_status=$?
14591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592   (exit $ac_status); } &&
14593          { ac_try='test -s conftest.$ac_objext'
14594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595   (eval $ac_try) 2>&5
14596   ac_status=$?
14597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598   (exit $ac_status); }; }; then
14599   glibcxx_cv_func__powf_use=yes
14600 else
14601   echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14603
14604 glibcxx_cv_func__powf_use=no
14605 fi
14606 rm -f conftest.$ac_objext conftest.$ac_ext
14607       ac_ext=c
14608 ac_cpp='$CPP $CPPFLAGS'
14609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14612
14613
14614 fi
14615
14616   fi
14617   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14618 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14619
14620     if test x$glibcxx_cv_func__powf_use = x"yes"; then
14621
14622 for ac_func in _powf
14623 do
14624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14625 echo "$as_me:$LINENO: checking for $ac_func" >&5
14626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14627 if eval "test \"\${$as_ac_var+set}\" = set"; then
14628   echo $ECHO_N "(cached) $ECHO_C" >&6
14629 else
14630   cat >conftest.$ac_ext <<_ACEOF
14631 #line $LINENO "configure"
14632 /* confdefs.h.  */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h.  */
14637 /* System header to define __stub macros and hopefully few prototypes,
14638     which can conflict with char $ac_func (); below.
14639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14640     <limits.h> exists even on freestanding compilers.  */
14641 #ifdef __STDC__
14642 # include <limits.h>
14643 #else
14644 # include <assert.h>
14645 #endif
14646 /* Override any gcc2 internal prototype to avoid an error.  */
14647 #ifdef __cplusplus
14648 extern "C"
14649 {
14650 #endif
14651 /* We use char because int might match the return type of a gcc2
14652    builtin and then its argument prototype would still apply.  */
14653 char $ac_func ();
14654 /* The GNU C library defines this for functions which it implements
14655     to always fail with ENOSYS.  Some functions are actually named
14656     something starting with __ and the normal name is an alias.  */
14657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14658 choke me
14659 #else
14660 char (*f) () = $ac_func;
14661 #endif
14662 #ifdef __cplusplus
14663 }
14664 #endif
14665
14666 int
14667 main ()
14668 {
14669 return f != $ac_func;
14670   ;
14671   return 0;
14672 }
14673 _ACEOF
14674 rm -f conftest.$ac_objext conftest$ac_exeext
14675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14676   (eval $ac_link) 2>&5
14677   ac_status=$?
14678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679   (exit $ac_status); } &&
14680          { ac_try='test -s conftest$ac_exeext'
14681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682   (eval $ac_try) 2>&5
14683   ac_status=$?
14684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685   (exit $ac_status); }; }; then
14686   eval "$as_ac_var=yes"
14687 else
14688   echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.$ac_ext >&5
14690
14691 eval "$as_ac_var=no"
14692 fi
14693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14694 fi
14695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14697 if test `eval echo '${'$as_ac_var'}'` = yes; then
14698   cat >>confdefs.h <<_ACEOF
14699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14700 _ACEOF
14701
14702 fi
14703 done
14704
14705     fi
14706   fi
14707
14708
14709
14710   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14711 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14712   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14713     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14714   echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716
14717
14718
14719       ac_ext=cc
14720 ac_cpp='$CXXCPP $CPPFLAGS'
14721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14724
14725       cat >conftest.$ac_ext <<_ACEOF
14726 #line $LINENO "configure"
14727 /* confdefs.h.  */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h.  */
14732 #include <math.h>
14733                       #ifdef HAVE_IEEEFP_H
14734                       #include <ieeefp.h>
14735                       #endif
14736
14737 int
14738 main ()
14739 {
14740  sqrtf(0);
14741   ;
14742   return 0;
14743 }
14744 _ACEOF
14745 rm -f conftest.$ac_objext
14746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14747   (eval $ac_compile) 2>&5
14748   ac_status=$?
14749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750   (exit $ac_status); } &&
14751          { ac_try='test -s conftest.$ac_objext'
14752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753   (eval $ac_try) 2>&5
14754   ac_status=$?
14755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756   (exit $ac_status); }; }; then
14757   glibcxx_cv_func_sqrtf_use=yes
14758 else
14759   echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.$ac_ext >&5
14761
14762 glibcxx_cv_func_sqrtf_use=no
14763 fi
14764 rm -f conftest.$ac_objext conftest.$ac_ext
14765       ac_ext=c
14766 ac_cpp='$CPP $CPPFLAGS'
14767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14770
14771
14772 fi
14773
14774   fi
14775   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14776 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14777
14778   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14779
14780 for ac_func in sqrtf
14781 do
14782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14783 echo "$as_me:$LINENO: checking for $ac_func" >&5
14784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14785 if eval "test \"\${$as_ac_var+set}\" = set"; then
14786   echo $ECHO_N "(cached) $ECHO_C" >&6
14787 else
14788   cat >conftest.$ac_ext <<_ACEOF
14789 #line $LINENO "configure"
14790 /* confdefs.h.  */
14791 _ACEOF
14792 cat confdefs.h >>conftest.$ac_ext
14793 cat >>conftest.$ac_ext <<_ACEOF
14794 /* end confdefs.h.  */
14795 /* System header to define __stub macros and hopefully few prototypes,
14796     which can conflict with char $ac_func (); below.
14797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14798     <limits.h> exists even on freestanding compilers.  */
14799 #ifdef __STDC__
14800 # include <limits.h>
14801 #else
14802 # include <assert.h>
14803 #endif
14804 /* Override any gcc2 internal prototype to avoid an error.  */
14805 #ifdef __cplusplus
14806 extern "C"
14807 {
14808 #endif
14809 /* We use char because int might match the return type of a gcc2
14810    builtin and then its argument prototype would still apply.  */
14811 char $ac_func ();
14812 /* The GNU C library defines this for functions which it implements
14813     to always fail with ENOSYS.  Some functions are actually named
14814     something starting with __ and the normal name is an alias.  */
14815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14816 choke me
14817 #else
14818 char (*f) () = $ac_func;
14819 #endif
14820 #ifdef __cplusplus
14821 }
14822 #endif
14823
14824 int
14825 main ()
14826 {
14827 return f != $ac_func;
14828   ;
14829   return 0;
14830 }
14831 _ACEOF
14832 rm -f conftest.$ac_objext conftest$ac_exeext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14834   (eval $ac_link) 2>&5
14835   ac_status=$?
14836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837   (exit $ac_status); } &&
14838          { ac_try='test -s conftest$ac_exeext'
14839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840   (eval $ac_try) 2>&5
14841   ac_status=$?
14842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843   (exit $ac_status); }; }; then
14844   eval "$as_ac_var=yes"
14845 else
14846   echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14848
14849 eval "$as_ac_var=no"
14850 fi
14851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14852 fi
14853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14855 if test `eval echo '${'$as_ac_var'}'` = yes; then
14856   cat >>confdefs.h <<_ACEOF
14857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14858 _ACEOF
14859
14860 fi
14861 done
14862
14863   else
14864
14865   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
14866 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
14867   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
14868     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
14869   echo $ECHO_N "(cached) $ECHO_C" >&6
14870 else
14871
14872
14873
14874       ac_ext=cc
14875 ac_cpp='$CXXCPP $CPPFLAGS'
14876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14879
14880       cat >conftest.$ac_ext <<_ACEOF
14881 #line $LINENO "configure"
14882 /* confdefs.h.  */
14883 _ACEOF
14884 cat confdefs.h >>conftest.$ac_ext
14885 cat >>conftest.$ac_ext <<_ACEOF
14886 /* end confdefs.h.  */
14887 #include <math.h>
14888                       #ifdef HAVE_IEEEFP_H
14889                       #include <ieeefp.h>
14890                       #endif
14891
14892 int
14893 main ()
14894 {
14895  _sqrtf(0);
14896   ;
14897   return 0;
14898 }
14899 _ACEOF
14900 rm -f conftest.$ac_objext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14902   (eval $ac_compile) 2>&5
14903   ac_status=$?
14904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905   (exit $ac_status); } &&
14906          { ac_try='test -s conftest.$ac_objext'
14907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14908   (eval $ac_try) 2>&5
14909   ac_status=$?
14910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911   (exit $ac_status); }; }; then
14912   glibcxx_cv_func__sqrtf_use=yes
14913 else
14914   echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14916
14917 glibcxx_cv_func__sqrtf_use=no
14918 fi
14919 rm -f conftest.$ac_objext conftest.$ac_ext
14920       ac_ext=c
14921 ac_cpp='$CPP $CPPFLAGS'
14922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14925
14926
14927 fi
14928
14929   fi
14930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
14931 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
14932
14933     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
14934
14935 for ac_func in _sqrtf
14936 do
14937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14938 echo "$as_me:$LINENO: checking for $ac_func" >&5
14939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14940 if eval "test \"\${$as_ac_var+set}\" = set"; then
14941   echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943   cat >conftest.$ac_ext <<_ACEOF
14944 #line $LINENO "configure"
14945 /* confdefs.h.  */
14946 _ACEOF
14947 cat confdefs.h >>conftest.$ac_ext
14948 cat >>conftest.$ac_ext <<_ACEOF
14949 /* end confdefs.h.  */
14950 /* System header to define __stub macros and hopefully few prototypes,
14951     which can conflict with char $ac_func (); below.
14952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14953     <limits.h> exists even on freestanding compilers.  */
14954 #ifdef __STDC__
14955 # include <limits.h>
14956 #else
14957 # include <assert.h>
14958 #endif
14959 /* Override any gcc2 internal prototype to avoid an error.  */
14960 #ifdef __cplusplus
14961 extern "C"
14962 {
14963 #endif
14964 /* We use char because int might match the return type of a gcc2
14965    builtin and then its argument prototype would still apply.  */
14966 char $ac_func ();
14967 /* The GNU C library defines this for functions which it implements
14968     to always fail with ENOSYS.  Some functions are actually named
14969     something starting with __ and the normal name is an alias.  */
14970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14971 choke me
14972 #else
14973 char (*f) () = $ac_func;
14974 #endif
14975 #ifdef __cplusplus
14976 }
14977 #endif
14978
14979 int
14980 main ()
14981 {
14982 return f != $ac_func;
14983   ;
14984   return 0;
14985 }
14986 _ACEOF
14987 rm -f conftest.$ac_objext conftest$ac_exeext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14989   (eval $ac_link) 2>&5
14990   ac_status=$?
14991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992   (exit $ac_status); } &&
14993          { ac_try='test -s conftest$ac_exeext'
14994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995   (eval $ac_try) 2>&5
14996   ac_status=$?
14997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998   (exit $ac_status); }; }; then
14999   eval "$as_ac_var=yes"
15000 else
15001   echo "$as_me: failed program was:" >&5
15002 sed 's/^/| /' conftest.$ac_ext >&5
15003
15004 eval "$as_ac_var=no"
15005 fi
15006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15007 fi
15008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15010 if test `eval echo '${'$as_ac_var'}'` = yes; then
15011   cat >>confdefs.h <<_ACEOF
15012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15013 _ACEOF
15014
15015 fi
15016 done
15017
15018     fi
15019   fi
15020
15021
15022
15023   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15024 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15025   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15026     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15027   echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029
15030
15031
15032       ac_ext=cc
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037
15038       cat >conftest.$ac_ext <<_ACEOF
15039 #line $LINENO "configure"
15040 /* confdefs.h.  */
15041 _ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h.  */
15045 #include <math.h>
15046 int
15047 main ()
15048 {
15049  sincosf(0, 0, 0);
15050   ;
15051   return 0;
15052 }
15053 _ACEOF
15054 rm -f conftest.$ac_objext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15056   (eval $ac_compile) 2>&5
15057   ac_status=$?
15058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059   (exit $ac_status); } &&
15060          { ac_try='test -s conftest.$ac_objext'
15061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062   (eval $ac_try) 2>&5
15063   ac_status=$?
15064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065   (exit $ac_status); }; }; then
15066   glibcxx_cv_func_sincosf_use=yes
15067 else
15068   echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071 glibcxx_cv_func_sincosf_use=no
15072 fi
15073 rm -f conftest.$ac_objext conftest.$ac_ext
15074       ac_ext=c
15075 ac_cpp='$CPP $CPPFLAGS'
15076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15079
15080
15081 fi
15082
15083   fi
15084   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15085 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15086
15087   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15088
15089 for ac_func in sincosf
15090 do
15091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15092 echo "$as_me:$LINENO: checking for $ac_func" >&5
15093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15094 if eval "test \"\${$as_ac_var+set}\" = set"; then
15095   echo $ECHO_N "(cached) $ECHO_C" >&6
15096 else
15097   cat >conftest.$ac_ext <<_ACEOF
15098 #line $LINENO "configure"
15099 /* confdefs.h.  */
15100 _ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h.  */
15104 /* System header to define __stub macros and hopefully few prototypes,
15105     which can conflict with char $ac_func (); below.
15106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15107     <limits.h> exists even on freestanding compilers.  */
15108 #ifdef __STDC__
15109 # include <limits.h>
15110 #else
15111 # include <assert.h>
15112 #endif
15113 /* Override any gcc2 internal prototype to avoid an error.  */
15114 #ifdef __cplusplus
15115 extern "C"
15116 {
15117 #endif
15118 /* We use char because int might match the return type of a gcc2
15119    builtin and then its argument prototype would still apply.  */
15120 char $ac_func ();
15121 /* The GNU C library defines this for functions which it implements
15122     to always fail with ENOSYS.  Some functions are actually named
15123     something starting with __ and the normal name is an alias.  */
15124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15125 choke me
15126 #else
15127 char (*f) () = $ac_func;
15128 #endif
15129 #ifdef __cplusplus
15130 }
15131 #endif
15132
15133 int
15134 main ()
15135 {
15136 return f != $ac_func;
15137   ;
15138   return 0;
15139 }
15140 _ACEOF
15141 rm -f conftest.$ac_objext conftest$ac_exeext
15142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15143   (eval $ac_link) 2>&5
15144   ac_status=$?
15145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146   (exit $ac_status); } &&
15147          { ac_try='test -s conftest$ac_exeext'
15148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149   (eval $ac_try) 2>&5
15150   ac_status=$?
15151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152   (exit $ac_status); }; }; then
15153   eval "$as_ac_var=yes"
15154 else
15155   echo "$as_me: failed program was:" >&5
15156 sed 's/^/| /' conftest.$ac_ext >&5
15157
15158 eval "$as_ac_var=no"
15159 fi
15160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15161 fi
15162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15164 if test `eval echo '${'$as_ac_var'}'` = yes; then
15165   cat >>confdefs.h <<_ACEOF
15166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15167 _ACEOF
15168
15169 fi
15170 done
15171
15172   else
15173
15174   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15175 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15176   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15177     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15178   echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180
15181
15182
15183       ac_ext=cc
15184 ac_cpp='$CXXCPP $CPPFLAGS'
15185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15188
15189       cat >conftest.$ac_ext <<_ACEOF
15190 #line $LINENO "configure"
15191 /* confdefs.h.  */
15192 _ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h.  */
15196 #include <math.h>
15197 int
15198 main ()
15199 {
15200  _sincosf(0, 0, 0);
15201   ;
15202   return 0;
15203 }
15204 _ACEOF
15205 rm -f conftest.$ac_objext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15207   (eval $ac_compile) 2>&5
15208   ac_status=$?
15209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210   (exit $ac_status); } &&
15211          { ac_try='test -s conftest.$ac_objext'
15212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213   (eval $ac_try) 2>&5
15214   ac_status=$?
15215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216   (exit $ac_status); }; }; then
15217   glibcxx_cv_func__sincosf_use=yes
15218 else
15219   echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15221
15222 glibcxx_cv_func__sincosf_use=no
15223 fi
15224 rm -f conftest.$ac_objext conftest.$ac_ext
15225       ac_ext=c
15226 ac_cpp='$CPP $CPPFLAGS'
15227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15230
15231
15232 fi
15233
15234   fi
15235   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15236 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15237
15238     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15239
15240 for ac_func in _sincosf
15241 do
15242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15243 echo "$as_me:$LINENO: checking for $ac_func" >&5
15244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15245 if eval "test \"\${$as_ac_var+set}\" = set"; then
15246   echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248   cat >conftest.$ac_ext <<_ACEOF
15249 #line $LINENO "configure"
15250 /* confdefs.h.  */
15251 _ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h.  */
15255 /* System header to define __stub macros and hopefully few prototypes,
15256     which can conflict with char $ac_func (); below.
15257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15258     <limits.h> exists even on freestanding compilers.  */
15259 #ifdef __STDC__
15260 # include <limits.h>
15261 #else
15262 # include <assert.h>
15263 #endif
15264 /* Override any gcc2 internal prototype to avoid an error.  */
15265 #ifdef __cplusplus
15266 extern "C"
15267 {
15268 #endif
15269 /* We use char because int might match the return type of a gcc2
15270    builtin and then its argument prototype would still apply.  */
15271 char $ac_func ();
15272 /* The GNU C library defines this for functions which it implements
15273     to always fail with ENOSYS.  Some functions are actually named
15274     something starting with __ and the normal name is an alias.  */
15275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15276 choke me
15277 #else
15278 char (*f) () = $ac_func;
15279 #endif
15280 #ifdef __cplusplus
15281 }
15282 #endif
15283
15284 int
15285 main ()
15286 {
15287 return f != $ac_func;
15288   ;
15289   return 0;
15290 }
15291 _ACEOF
15292 rm -f conftest.$ac_objext conftest$ac_exeext
15293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15294   (eval $ac_link) 2>&5
15295   ac_status=$?
15296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297   (exit $ac_status); } &&
15298          { ac_try='test -s conftest$ac_exeext'
15299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300   (eval $ac_try) 2>&5
15301   ac_status=$?
15302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303   (exit $ac_status); }; }; then
15304   eval "$as_ac_var=yes"
15305 else
15306   echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15308
15309 eval "$as_ac_var=no"
15310 fi
15311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15312 fi
15313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15315 if test `eval echo '${'$as_ac_var'}'` = yes; then
15316   cat >>confdefs.h <<_ACEOF
15317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15318 _ACEOF
15319
15320 fi
15321 done
15322
15323     fi
15324   fi
15325
15326
15327
15328   echo "$as_me:$LINENO: checking for finitef declaration" >&5
15329 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15330   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15331     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15332   echo $ECHO_N "(cached) $ECHO_C" >&6
15333 else
15334
15335
15336
15337       ac_ext=cc
15338 ac_cpp='$CXXCPP $CPPFLAGS'
15339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15342
15343       cat >conftest.$ac_ext <<_ACEOF
15344 #line $LINENO "configure"
15345 /* confdefs.h.  */
15346 _ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h.  */
15350 #include <math.h>
15351                       #ifdef HAVE_IEEEFP_H
15352                       #include <ieeefp.h>
15353                       #endif
15354
15355 int
15356 main ()
15357 {
15358  finitef(0);
15359   ;
15360   return 0;
15361 }
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365   (eval $ac_compile) 2>&5
15366   ac_status=$?
15367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368   (exit $ac_status); } &&
15369          { ac_try='test -s conftest.$ac_objext'
15370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371   (eval $ac_try) 2>&5
15372   ac_status=$?
15373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374   (exit $ac_status); }; }; then
15375   glibcxx_cv_func_finitef_use=yes
15376 else
15377   echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.$ac_ext >&5
15379
15380 glibcxx_cv_func_finitef_use=no
15381 fi
15382 rm -f conftest.$ac_objext conftest.$ac_ext
15383       ac_ext=c
15384 ac_cpp='$CPP $CPPFLAGS'
15385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15388
15389
15390 fi
15391
15392   fi
15393   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15394 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15395
15396   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15397
15398 for ac_func in finitef
15399 do
15400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15401 echo "$as_me:$LINENO: checking for $ac_func" >&5
15402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15403 if eval "test \"\${$as_ac_var+set}\" = set"; then
15404   echo $ECHO_N "(cached) $ECHO_C" >&6
15405 else
15406   cat >conftest.$ac_ext <<_ACEOF
15407 #line $LINENO "configure"
15408 /* confdefs.h.  */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h.  */
15413 /* System header to define __stub macros and hopefully few prototypes,
15414     which can conflict with char $ac_func (); below.
15415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15416     <limits.h> exists even on freestanding compilers.  */
15417 #ifdef __STDC__
15418 # include <limits.h>
15419 #else
15420 # include <assert.h>
15421 #endif
15422 /* Override any gcc2 internal prototype to avoid an error.  */
15423 #ifdef __cplusplus
15424 extern "C"
15425 {
15426 #endif
15427 /* We use char because int might match the return type of a gcc2
15428    builtin and then its argument prototype would still apply.  */
15429 char $ac_func ();
15430 /* The GNU C library defines this for functions which it implements
15431     to always fail with ENOSYS.  Some functions are actually named
15432     something starting with __ and the normal name is an alias.  */
15433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15434 choke me
15435 #else
15436 char (*f) () = $ac_func;
15437 #endif
15438 #ifdef __cplusplus
15439 }
15440 #endif
15441
15442 int
15443 main ()
15444 {
15445 return f != $ac_func;
15446   ;
15447   return 0;
15448 }
15449 _ACEOF
15450 rm -f conftest.$ac_objext conftest$ac_exeext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15452   (eval $ac_link) 2>&5
15453   ac_status=$?
15454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455   (exit $ac_status); } &&
15456          { ac_try='test -s conftest$ac_exeext'
15457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458   (eval $ac_try) 2>&5
15459   ac_status=$?
15460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461   (exit $ac_status); }; }; then
15462   eval "$as_ac_var=yes"
15463 else
15464   echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15466
15467 eval "$as_ac_var=no"
15468 fi
15469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15470 fi
15471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15473 if test `eval echo '${'$as_ac_var'}'` = yes; then
15474   cat >>confdefs.h <<_ACEOF
15475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15476 _ACEOF
15477
15478 fi
15479 done
15480
15481   else
15482
15483   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15484 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15485   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15486     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15487   echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489
15490
15491
15492       ac_ext=cc
15493 ac_cpp='$CXXCPP $CPPFLAGS'
15494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15497
15498       cat >conftest.$ac_ext <<_ACEOF
15499 #line $LINENO "configure"
15500 /* confdefs.h.  */
15501 _ACEOF
15502 cat confdefs.h >>conftest.$ac_ext
15503 cat >>conftest.$ac_ext <<_ACEOF
15504 /* end confdefs.h.  */
15505 #include <math.h>
15506                       #ifdef HAVE_IEEEFP_H
15507                       #include <ieeefp.h>
15508                       #endif
15509
15510 int
15511 main ()
15512 {
15513  _finitef(0);
15514   ;
15515   return 0;
15516 }
15517 _ACEOF
15518 rm -f conftest.$ac_objext
15519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15520   (eval $ac_compile) 2>&5
15521   ac_status=$?
15522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523   (exit $ac_status); } &&
15524          { ac_try='test -s conftest.$ac_objext'
15525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526   (eval $ac_try) 2>&5
15527   ac_status=$?
15528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529   (exit $ac_status); }; }; then
15530   glibcxx_cv_func__finitef_use=yes
15531 else
15532   echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 glibcxx_cv_func__finitef_use=no
15536 fi
15537 rm -f conftest.$ac_objext conftest.$ac_ext
15538       ac_ext=c
15539 ac_cpp='$CPP $CPPFLAGS'
15540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15543
15544
15545 fi
15546
15547   fi
15548   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15549 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15550
15551     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15552
15553 for ac_func in _finitef
15554 do
15555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15556 echo "$as_me:$LINENO: checking for $ac_func" >&5
15557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15558 if eval "test \"\${$as_ac_var+set}\" = set"; then
15559   echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15561   cat >conftest.$ac_ext <<_ACEOF
15562 #line $LINENO "configure"
15563 /* confdefs.h.  */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h.  */
15568 /* System header to define __stub macros and hopefully few prototypes,
15569     which can conflict with char $ac_func (); below.
15570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15571     <limits.h> exists even on freestanding compilers.  */
15572 #ifdef __STDC__
15573 # include <limits.h>
15574 #else
15575 # include <assert.h>
15576 #endif
15577 /* Override any gcc2 internal prototype to avoid an error.  */
15578 #ifdef __cplusplus
15579 extern "C"
15580 {
15581 #endif
15582 /* We use char because int might match the return type of a gcc2
15583    builtin and then its argument prototype would still apply.  */
15584 char $ac_func ();
15585 /* The GNU C library defines this for functions which it implements
15586     to always fail with ENOSYS.  Some functions are actually named
15587     something starting with __ and the normal name is an alias.  */
15588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15589 choke me
15590 #else
15591 char (*f) () = $ac_func;
15592 #endif
15593 #ifdef __cplusplus
15594 }
15595 #endif
15596
15597 int
15598 main ()
15599 {
15600 return f != $ac_func;
15601   ;
15602   return 0;
15603 }
15604 _ACEOF
15605 rm -f conftest.$ac_objext conftest$ac_exeext
15606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15607   (eval $ac_link) 2>&5
15608   ac_status=$?
15609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610   (exit $ac_status); } &&
15611          { ac_try='test -s conftest$ac_exeext'
15612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15613   (eval $ac_try) 2>&5
15614   ac_status=$?
15615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616   (exit $ac_status); }; }; then
15617   eval "$as_ac_var=yes"
15618 else
15619   echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15621
15622 eval "$as_ac_var=no"
15623 fi
15624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15625 fi
15626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15628 if test `eval echo '${'$as_ac_var'}'` = yes; then
15629   cat >>confdefs.h <<_ACEOF
15630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15631 _ACEOF
15632
15633 fi
15634 done
15635
15636     fi
15637   fi
15638
15639
15640
15641   echo "$as_me:$LINENO: checking for long double trig functions" >&5
15642 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15643   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15644   echo $ECHO_N "(cached) $ECHO_C" >&6
15645 else
15646
15647
15648
15649     ac_ext=cc
15650 ac_cpp='$CXXCPP $CPPFLAGS'
15651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15654
15655     cat >conftest.$ac_ext <<_ACEOF
15656 #line $LINENO "configure"
15657 /* confdefs.h.  */
15658 _ACEOF
15659 cat confdefs.h >>conftest.$ac_ext
15660 cat >>conftest.$ac_ext <<_ACEOF
15661 /* end confdefs.h.  */
15662 #include <math.h>
15663 int
15664 main ()
15665 {
15666  `for x in acosl asinl atanl \
15667                                           cosl sinl tanl \
15668                                           coshl sinhl tanhl; do echo "$x (0);"; done`
15669   ;
15670   return 0;
15671 }
15672 _ACEOF
15673 rm -f conftest.$ac_objext
15674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15675   (eval $ac_compile) 2>&5
15676   ac_status=$?
15677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678   (exit $ac_status); } &&
15679          { ac_try='test -s conftest.$ac_objext'
15680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681   (eval $ac_try) 2>&5
15682   ac_status=$?
15683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684   (exit $ac_status); }; }; then
15685   glibcxx_cv_func_long_double_trig_use=yes
15686 else
15687   echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15689
15690 glibcxx_cv_func_long_double_trig_use=no
15691 fi
15692 rm -f conftest.$ac_objext conftest.$ac_ext
15693     ac_ext=c
15694 ac_cpp='$CPP $CPPFLAGS'
15695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15698
15699 fi
15700
15701   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15702 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15703   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713 for ac_func in acosl asinl atanl \
15714                                           cosl sinl tanl \
15715                                           coshl sinhl tanhl
15716 do
15717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15718 echo "$as_me:$LINENO: checking for $ac_func" >&5
15719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15720 if eval "test \"\${$as_ac_var+set}\" = set"; then
15721   echo $ECHO_N "(cached) $ECHO_C" >&6
15722 else
15723   cat >conftest.$ac_ext <<_ACEOF
15724 #line $LINENO "configure"
15725 /* confdefs.h.  */
15726 _ACEOF
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h.  */
15730 /* System header to define __stub macros and hopefully few prototypes,
15731     which can conflict with char $ac_func (); below.
15732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15733     <limits.h> exists even on freestanding compilers.  */
15734 #ifdef __STDC__
15735 # include <limits.h>
15736 #else
15737 # include <assert.h>
15738 #endif
15739 /* Override any gcc2 internal prototype to avoid an error.  */
15740 #ifdef __cplusplus
15741 extern "C"
15742 {
15743 #endif
15744 /* We use char because int might match the return type of a gcc2
15745    builtin and then its argument prototype would still apply.  */
15746 char $ac_func ();
15747 /* The GNU C library defines this for functions which it implements
15748     to always fail with ENOSYS.  Some functions are actually named
15749     something starting with __ and the normal name is an alias.  */
15750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15751 choke me
15752 #else
15753 char (*f) () = $ac_func;
15754 #endif
15755 #ifdef __cplusplus
15756 }
15757 #endif
15758
15759 int
15760 main ()
15761 {
15762 return f != $ac_func;
15763   ;
15764   return 0;
15765 }
15766 _ACEOF
15767 rm -f conftest.$ac_objext conftest$ac_exeext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15769   (eval $ac_link) 2>&5
15770   ac_status=$?
15771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772   (exit $ac_status); } &&
15773          { ac_try='test -s conftest$ac_exeext'
15774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775   (eval $ac_try) 2>&5
15776   ac_status=$?
15777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778   (exit $ac_status); }; }; then
15779   eval "$as_ac_var=yes"
15780 else
15781   echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 eval "$as_ac_var=no"
15785 fi
15786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15787 fi
15788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15790 if test `eval echo '${'$as_ac_var'}'` = yes; then
15791   cat >>confdefs.h <<_ACEOF
15792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15793 _ACEOF
15794
15795 fi
15796 done
15797
15798   fi
15799
15800
15801   echo "$as_me:$LINENO: checking for long double round functions" >&5
15802 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
15803   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
15804   echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806
15807
15808
15809     ac_ext=cc
15810 ac_cpp='$CXXCPP $CPPFLAGS'
15811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15814
15815     cat >conftest.$ac_ext <<_ACEOF
15816 #line $LINENO "configure"
15817 /* confdefs.h.  */
15818 _ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h.  */
15822 #include <math.h>
15823 int
15824 main ()
15825 {
15826  `for x in ceill floorl; do echo "$x (0);"; done`
15827   ;
15828   return 0;
15829 }
15830 _ACEOF
15831 rm -f conftest.$ac_objext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15833   (eval $ac_compile) 2>&5
15834   ac_status=$?
15835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836   (exit $ac_status); } &&
15837          { ac_try='test -s conftest.$ac_objext'
15838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839   (eval $ac_try) 2>&5
15840   ac_status=$?
15841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842   (exit $ac_status); }; }; then
15843   glibcxx_cv_func_long_double_round_use=yes
15844 else
15845   echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15847
15848 glibcxx_cv_func_long_double_round_use=no
15849 fi
15850 rm -f conftest.$ac_objext conftest.$ac_ext
15851     ac_ext=c
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15856
15857 fi
15858
15859   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
15860 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
15861   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
15862
15863
15864 for ac_func in ceill floorl
15865 do
15866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15867 echo "$as_me:$LINENO: checking for $ac_func" >&5
15868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15869 if eval "test \"\${$as_ac_var+set}\" = set"; then
15870   echo $ECHO_N "(cached) $ECHO_C" >&6
15871 else
15872   cat >conftest.$ac_ext <<_ACEOF
15873 #line $LINENO "configure"
15874 /* confdefs.h.  */
15875 _ACEOF
15876 cat confdefs.h >>conftest.$ac_ext
15877 cat >>conftest.$ac_ext <<_ACEOF
15878 /* end confdefs.h.  */
15879 /* System header to define __stub macros and hopefully few prototypes,
15880     which can conflict with char $ac_func (); below.
15881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15882     <limits.h> exists even on freestanding compilers.  */
15883 #ifdef __STDC__
15884 # include <limits.h>
15885 #else
15886 # include <assert.h>
15887 #endif
15888 /* Override any gcc2 internal prototype to avoid an error.  */
15889 #ifdef __cplusplus
15890 extern "C"
15891 {
15892 #endif
15893 /* We use char because int might match the return type of a gcc2
15894    builtin and then its argument prototype would still apply.  */
15895 char $ac_func ();
15896 /* The GNU C library defines this for functions which it implements
15897     to always fail with ENOSYS.  Some functions are actually named
15898     something starting with __ and the normal name is an alias.  */
15899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15900 choke me
15901 #else
15902 char (*f) () = $ac_func;
15903 #endif
15904 #ifdef __cplusplus
15905 }
15906 #endif
15907
15908 int
15909 main ()
15910 {
15911 return f != $ac_func;
15912   ;
15913   return 0;
15914 }
15915 _ACEOF
15916 rm -f conftest.$ac_objext conftest$ac_exeext
15917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15918   (eval $ac_link) 2>&5
15919   ac_status=$?
15920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921   (exit $ac_status); } &&
15922          { ac_try='test -s conftest$ac_exeext'
15923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924   (eval $ac_try) 2>&5
15925   ac_status=$?
15926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927   (exit $ac_status); }; }; then
15928   eval "$as_ac_var=yes"
15929 else
15930   echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15932
15933 eval "$as_ac_var=no"
15934 fi
15935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15936 fi
15937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15939 if test `eval echo '${'$as_ac_var'}'` = yes; then
15940   cat >>confdefs.h <<_ACEOF
15941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15942 _ACEOF
15943
15944 fi
15945 done
15946
15947   fi
15948
15949
15950
15951   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
15952 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
15953   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
15954     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
15955   echo $ECHO_N "(cached) $ECHO_C" >&6
15956 else
15957
15958
15959
15960       ac_ext=cc
15961 ac_cpp='$CXXCPP $CPPFLAGS'
15962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15965
15966       cat >conftest.$ac_ext <<_ACEOF
15967 #line $LINENO "configure"
15968 /* confdefs.h.  */
15969 _ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h.  */
15973 #include <math.h>
15974                       #ifdef HAVE_IEEEFP_H
15975                       #include <ieeefp.h>
15976                       #endif
15977
15978 int
15979 main ()
15980 {
15981  isnanl(0);
15982   ;
15983   return 0;
15984 }
15985 _ACEOF
15986 rm -f conftest.$ac_objext
15987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15988   (eval $ac_compile) 2>&5
15989   ac_status=$?
15990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991   (exit $ac_status); } &&
15992          { ac_try='test -s conftest.$ac_objext'
15993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994   (eval $ac_try) 2>&5
15995   ac_status=$?
15996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997   (exit $ac_status); }; }; then
15998   glibcxx_cv_func_isnanl_use=yes
15999 else
16000   echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16002
16003 glibcxx_cv_func_isnanl_use=no
16004 fi
16005 rm -f conftest.$ac_objext conftest.$ac_ext
16006       ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012
16013 fi
16014
16015   fi
16016   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16017 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16018
16019   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16020
16021 for ac_func in isnanl
16022 do
16023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16024 echo "$as_me:$LINENO: checking for $ac_func" >&5
16025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16026 if eval "test \"\${$as_ac_var+set}\" = set"; then
16027   echo $ECHO_N "(cached) $ECHO_C" >&6
16028 else
16029   cat >conftest.$ac_ext <<_ACEOF
16030 #line $LINENO "configure"
16031 /* confdefs.h.  */
16032 _ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h.  */
16036 /* System header to define __stub macros and hopefully few prototypes,
16037     which can conflict with char $ac_func (); below.
16038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16039     <limits.h> exists even on freestanding compilers.  */
16040 #ifdef __STDC__
16041 # include <limits.h>
16042 #else
16043 # include <assert.h>
16044 #endif
16045 /* Override any gcc2 internal prototype to avoid an error.  */
16046 #ifdef __cplusplus
16047 extern "C"
16048 {
16049 #endif
16050 /* We use char because int might match the return type of a gcc2
16051    builtin and then its argument prototype would still apply.  */
16052 char $ac_func ();
16053 /* The GNU C library defines this for functions which it implements
16054     to always fail with ENOSYS.  Some functions are actually named
16055     something starting with __ and the normal name is an alias.  */
16056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16057 choke me
16058 #else
16059 char (*f) () = $ac_func;
16060 #endif
16061 #ifdef __cplusplus
16062 }
16063 #endif
16064
16065 int
16066 main ()
16067 {
16068 return f != $ac_func;
16069   ;
16070   return 0;
16071 }
16072 _ACEOF
16073 rm -f conftest.$ac_objext conftest$ac_exeext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16075   (eval $ac_link) 2>&5
16076   ac_status=$?
16077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078   (exit $ac_status); } &&
16079          { ac_try='test -s conftest$ac_exeext'
16080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081   (eval $ac_try) 2>&5
16082   ac_status=$?
16083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084   (exit $ac_status); }; }; then
16085   eval "$as_ac_var=yes"
16086 else
16087   echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16089
16090 eval "$as_ac_var=no"
16091 fi
16092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16093 fi
16094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16096 if test `eval echo '${'$as_ac_var'}'` = yes; then
16097   cat >>confdefs.h <<_ACEOF
16098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16099 _ACEOF
16100
16101 fi
16102 done
16103
16104   else
16105
16106   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16107 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16108   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16109     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16110   echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112
16113
16114
16115       ac_ext=cc
16116 ac_cpp='$CXXCPP $CPPFLAGS'
16117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16120
16121       cat >conftest.$ac_ext <<_ACEOF
16122 #line $LINENO "configure"
16123 /* confdefs.h.  */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h.  */
16128 #include <math.h>
16129                       #ifdef HAVE_IEEEFP_H
16130                       #include <ieeefp.h>
16131                       #endif
16132
16133 int
16134 main ()
16135 {
16136  _isnanl(0);
16137   ;
16138   return 0;
16139 }
16140 _ACEOF
16141 rm -f conftest.$ac_objext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16143   (eval $ac_compile) 2>&5
16144   ac_status=$?
16145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146   (exit $ac_status); } &&
16147          { ac_try='test -s conftest.$ac_objext'
16148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149   (eval $ac_try) 2>&5
16150   ac_status=$?
16151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152   (exit $ac_status); }; }; then
16153   glibcxx_cv_func__isnanl_use=yes
16154 else
16155   echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16157
16158 glibcxx_cv_func__isnanl_use=no
16159 fi
16160 rm -f conftest.$ac_objext conftest.$ac_ext
16161       ac_ext=c
16162 ac_cpp='$CPP $CPPFLAGS'
16163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16166
16167
16168 fi
16169
16170   fi
16171   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16172 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16173
16174     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16175
16176 for ac_func in _isnanl
16177 do
16178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16179 echo "$as_me:$LINENO: checking for $ac_func" >&5
16180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16181 if eval "test \"\${$as_ac_var+set}\" = set"; then
16182   echo $ECHO_N "(cached) $ECHO_C" >&6
16183 else
16184   cat >conftest.$ac_ext <<_ACEOF
16185 #line $LINENO "configure"
16186 /* confdefs.h.  */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h.  */
16191 /* System header to define __stub macros and hopefully few prototypes,
16192     which can conflict with char $ac_func (); below.
16193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16194     <limits.h> exists even on freestanding compilers.  */
16195 #ifdef __STDC__
16196 # include <limits.h>
16197 #else
16198 # include <assert.h>
16199 #endif
16200 /* Override any gcc2 internal prototype to avoid an error.  */
16201 #ifdef __cplusplus
16202 extern "C"
16203 {
16204 #endif
16205 /* We use char because int might match the return type of a gcc2
16206    builtin and then its argument prototype would still apply.  */
16207 char $ac_func ();
16208 /* The GNU C library defines this for functions which it implements
16209     to always fail with ENOSYS.  Some functions are actually named
16210     something starting with __ and the normal name is an alias.  */
16211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16212 choke me
16213 #else
16214 char (*f) () = $ac_func;
16215 #endif
16216 #ifdef __cplusplus
16217 }
16218 #endif
16219
16220 int
16221 main ()
16222 {
16223 return f != $ac_func;
16224   ;
16225   return 0;
16226 }
16227 _ACEOF
16228 rm -f conftest.$ac_objext conftest$ac_exeext
16229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16230   (eval $ac_link) 2>&5
16231   ac_status=$?
16232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233   (exit $ac_status); } &&
16234          { ac_try='test -s conftest$ac_exeext'
16235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16236   (eval $ac_try) 2>&5
16237   ac_status=$?
16238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239   (exit $ac_status); }; }; then
16240   eval "$as_ac_var=yes"
16241 else
16242   echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16244
16245 eval "$as_ac_var=no"
16246 fi
16247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16248 fi
16249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16251 if test `eval echo '${'$as_ac_var'}'` = yes; then
16252   cat >>confdefs.h <<_ACEOF
16253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16254 _ACEOF
16255
16256 fi
16257 done
16258
16259     fi
16260   fi
16261
16262
16263
16264   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16265 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16266   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16267     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16268   echo $ECHO_N "(cached) $ECHO_C" >&6
16269 else
16270
16271
16272
16273       ac_ext=cc
16274 ac_cpp='$CXXCPP $CPPFLAGS'
16275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16278
16279       cat >conftest.$ac_ext <<_ACEOF
16280 #line $LINENO "configure"
16281 /* confdefs.h.  */
16282 _ACEOF
16283 cat confdefs.h >>conftest.$ac_ext
16284 cat >>conftest.$ac_ext <<_ACEOF
16285 /* end confdefs.h.  */
16286 #include <math.h>
16287                       #ifdef HAVE_IEEEFP_H
16288                       #include <ieeefp.h>
16289                       #endif
16290
16291 int
16292 main ()
16293 {
16294  isinfl(0);
16295   ;
16296   return 0;
16297 }
16298 _ACEOF
16299 rm -f conftest.$ac_objext
16300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16301   (eval $ac_compile) 2>&5
16302   ac_status=$?
16303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304   (exit $ac_status); } &&
16305          { ac_try='test -s conftest.$ac_objext'
16306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16307   (eval $ac_try) 2>&5
16308   ac_status=$?
16309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310   (exit $ac_status); }; }; then
16311   glibcxx_cv_func_isinfl_use=yes
16312 else
16313   echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16315
16316 glibcxx_cv_func_isinfl_use=no
16317 fi
16318 rm -f conftest.$ac_objext conftest.$ac_ext
16319       ac_ext=c
16320 ac_cpp='$CPP $CPPFLAGS'
16321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16324
16325
16326 fi
16327
16328   fi
16329   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16330 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16331
16332   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16333
16334 for ac_func in isinfl
16335 do
16336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16337 echo "$as_me:$LINENO: checking for $ac_func" >&5
16338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16339 if eval "test \"\${$as_ac_var+set}\" = set"; then
16340   echo $ECHO_N "(cached) $ECHO_C" >&6
16341 else
16342   cat >conftest.$ac_ext <<_ACEOF
16343 #line $LINENO "configure"
16344 /* confdefs.h.  */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h.  */
16349 /* System header to define __stub macros and hopefully few prototypes,
16350     which can conflict with char $ac_func (); below.
16351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16352     <limits.h> exists even on freestanding compilers.  */
16353 #ifdef __STDC__
16354 # include <limits.h>
16355 #else
16356 # include <assert.h>
16357 #endif
16358 /* Override any gcc2 internal prototype to avoid an error.  */
16359 #ifdef __cplusplus
16360 extern "C"
16361 {
16362 #endif
16363 /* We use char because int might match the return type of a gcc2
16364    builtin and then its argument prototype would still apply.  */
16365 char $ac_func ();
16366 /* The GNU C library defines this for functions which it implements
16367     to always fail with ENOSYS.  Some functions are actually named
16368     something starting with __ and the normal name is an alias.  */
16369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16370 choke me
16371 #else
16372 char (*f) () = $ac_func;
16373 #endif
16374 #ifdef __cplusplus
16375 }
16376 #endif
16377
16378 int
16379 main ()
16380 {
16381 return f != $ac_func;
16382   ;
16383   return 0;
16384 }
16385 _ACEOF
16386 rm -f conftest.$ac_objext conftest$ac_exeext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16388   (eval $ac_link) 2>&5
16389   ac_status=$?
16390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391   (exit $ac_status); } &&
16392          { ac_try='test -s conftest$ac_exeext'
16393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394   (eval $ac_try) 2>&5
16395   ac_status=$?
16396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397   (exit $ac_status); }; }; then
16398   eval "$as_ac_var=yes"
16399 else
16400   echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16402
16403 eval "$as_ac_var=no"
16404 fi
16405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16406 fi
16407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16409 if test `eval echo '${'$as_ac_var'}'` = yes; then
16410   cat >>confdefs.h <<_ACEOF
16411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16412 _ACEOF
16413
16414 fi
16415 done
16416
16417   else
16418
16419   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16420 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16421   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16422     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16423   echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425
16426
16427
16428       ac_ext=cc
16429 ac_cpp='$CXXCPP $CPPFLAGS'
16430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16433
16434       cat >conftest.$ac_ext <<_ACEOF
16435 #line $LINENO "configure"
16436 /* confdefs.h.  */
16437 _ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h.  */
16441 #include <math.h>
16442                       #ifdef HAVE_IEEEFP_H
16443                       #include <ieeefp.h>
16444                       #endif
16445
16446 int
16447 main ()
16448 {
16449  _isinfl(0);
16450   ;
16451   return 0;
16452 }
16453 _ACEOF
16454 rm -f conftest.$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456   (eval $ac_compile) 2>&5
16457   ac_status=$?
16458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459   (exit $ac_status); } &&
16460          { ac_try='test -s conftest.$ac_objext'
16461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462   (eval $ac_try) 2>&5
16463   ac_status=$?
16464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465   (exit $ac_status); }; }; then
16466   glibcxx_cv_func__isinfl_use=yes
16467 else
16468   echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16470
16471 glibcxx_cv_func__isinfl_use=no
16472 fi
16473 rm -f conftest.$ac_objext conftest.$ac_ext
16474       ac_ext=c
16475 ac_cpp='$CPP $CPPFLAGS'
16476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16479
16480
16481 fi
16482
16483   fi
16484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16485 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16486
16487     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16488
16489 for ac_func in _isinfl
16490 do
16491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16492 echo "$as_me:$LINENO: checking for $ac_func" >&5
16493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16494 if eval "test \"\${$as_ac_var+set}\" = set"; then
16495   echo $ECHO_N "(cached) $ECHO_C" >&6
16496 else
16497   cat >conftest.$ac_ext <<_ACEOF
16498 #line $LINENO "configure"
16499 /* confdefs.h.  */
16500 _ACEOF
16501 cat confdefs.h >>conftest.$ac_ext
16502 cat >>conftest.$ac_ext <<_ACEOF
16503 /* end confdefs.h.  */
16504 /* System header to define __stub macros and hopefully few prototypes,
16505     which can conflict with char $ac_func (); below.
16506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16507     <limits.h> exists even on freestanding compilers.  */
16508 #ifdef __STDC__
16509 # include <limits.h>
16510 #else
16511 # include <assert.h>
16512 #endif
16513 /* Override any gcc2 internal prototype to avoid an error.  */
16514 #ifdef __cplusplus
16515 extern "C"
16516 {
16517 #endif
16518 /* We use char because int might match the return type of a gcc2
16519    builtin and then its argument prototype would still apply.  */
16520 char $ac_func ();
16521 /* The GNU C library defines this for functions which it implements
16522     to always fail with ENOSYS.  Some functions are actually named
16523     something starting with __ and the normal name is an alias.  */
16524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16525 choke me
16526 #else
16527 char (*f) () = $ac_func;
16528 #endif
16529 #ifdef __cplusplus
16530 }
16531 #endif
16532
16533 int
16534 main ()
16535 {
16536 return f != $ac_func;
16537   ;
16538   return 0;
16539 }
16540 _ACEOF
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16543   (eval $ac_link) 2>&5
16544   ac_status=$?
16545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546   (exit $ac_status); } &&
16547          { ac_try='test -s conftest$ac_exeext'
16548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549   (eval $ac_try) 2>&5
16550   ac_status=$?
16551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552   (exit $ac_status); }; }; then
16553   eval "$as_ac_var=yes"
16554 else
16555   echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16557
16558 eval "$as_ac_var=no"
16559 fi
16560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16561 fi
16562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16564 if test `eval echo '${'$as_ac_var'}'` = yes; then
16565   cat >>confdefs.h <<_ACEOF
16566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16567 _ACEOF
16568
16569 fi
16570 done
16571
16572     fi
16573   fi
16574
16575
16576
16577   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16578 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16579   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16580     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16581   echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583
16584
16585
16586       ac_ext=cc
16587 ac_cpp='$CXXCPP $CPPFLAGS'
16588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16591
16592       cat >conftest.$ac_ext <<_ACEOF
16593 #line $LINENO "configure"
16594 /* confdefs.h.  */
16595 _ACEOF
16596 cat confdefs.h >>conftest.$ac_ext
16597 cat >>conftest.$ac_ext <<_ACEOF
16598 /* end confdefs.h.  */
16599 #include <math.h>
16600 int
16601 main ()
16602 {
16603  copysignl(0, 0);
16604   ;
16605   return 0;
16606 }
16607 _ACEOF
16608 rm -f conftest.$ac_objext
16609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16610   (eval $ac_compile) 2>&5
16611   ac_status=$?
16612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613   (exit $ac_status); } &&
16614          { ac_try='test -s conftest.$ac_objext'
16615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616   (eval $ac_try) 2>&5
16617   ac_status=$?
16618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619   (exit $ac_status); }; }; then
16620   glibcxx_cv_func_copysignl_use=yes
16621 else
16622   echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16624
16625 glibcxx_cv_func_copysignl_use=no
16626 fi
16627 rm -f conftest.$ac_objext conftest.$ac_ext
16628       ac_ext=c
16629 ac_cpp='$CPP $CPPFLAGS'
16630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16633
16634
16635 fi
16636
16637   fi
16638   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16639 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16640
16641   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16642
16643 for ac_func in copysignl
16644 do
16645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16646 echo "$as_me:$LINENO: checking for $ac_func" >&5
16647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16648 if eval "test \"\${$as_ac_var+set}\" = set"; then
16649   echo $ECHO_N "(cached) $ECHO_C" >&6
16650 else
16651   cat >conftest.$ac_ext <<_ACEOF
16652 #line $LINENO "configure"
16653 /* confdefs.h.  */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h.  */
16658 /* System header to define __stub macros and hopefully few prototypes,
16659     which can conflict with char $ac_func (); below.
16660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16661     <limits.h> exists even on freestanding compilers.  */
16662 #ifdef __STDC__
16663 # include <limits.h>
16664 #else
16665 # include <assert.h>
16666 #endif
16667 /* Override any gcc2 internal prototype to avoid an error.  */
16668 #ifdef __cplusplus
16669 extern "C"
16670 {
16671 #endif
16672 /* We use char because int might match the return type of a gcc2
16673    builtin and then its argument prototype would still apply.  */
16674 char $ac_func ();
16675 /* The GNU C library defines this for functions which it implements
16676     to always fail with ENOSYS.  Some functions are actually named
16677     something starting with __ and the normal name is an alias.  */
16678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16679 choke me
16680 #else
16681 char (*f) () = $ac_func;
16682 #endif
16683 #ifdef __cplusplus
16684 }
16685 #endif
16686
16687 int
16688 main ()
16689 {
16690 return f != $ac_func;
16691   ;
16692   return 0;
16693 }
16694 _ACEOF
16695 rm -f conftest.$ac_objext conftest$ac_exeext
16696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16697   (eval $ac_link) 2>&5
16698   ac_status=$?
16699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700   (exit $ac_status); } &&
16701          { ac_try='test -s conftest$ac_exeext'
16702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703   (eval $ac_try) 2>&5
16704   ac_status=$?
16705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706   (exit $ac_status); }; }; then
16707   eval "$as_ac_var=yes"
16708 else
16709   echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16711
16712 eval "$as_ac_var=no"
16713 fi
16714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16715 fi
16716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16718 if test `eval echo '${'$as_ac_var'}'` = yes; then
16719   cat >>confdefs.h <<_ACEOF
16720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16721 _ACEOF
16722
16723 fi
16724 done
16725
16726   else
16727
16728   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16729 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
16730   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
16731     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
16732   echo $ECHO_N "(cached) $ECHO_C" >&6
16733 else
16734
16735
16736
16737       ac_ext=cc
16738 ac_cpp='$CXXCPP $CPPFLAGS'
16739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16742
16743       cat >conftest.$ac_ext <<_ACEOF
16744 #line $LINENO "configure"
16745 /* confdefs.h.  */
16746 _ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h.  */
16750 #include <math.h>
16751 int
16752 main ()
16753 {
16754  _copysignl(0, 0);
16755   ;
16756   return 0;
16757 }
16758 _ACEOF
16759 rm -f conftest.$ac_objext
16760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16761   (eval $ac_compile) 2>&5
16762   ac_status=$?
16763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764   (exit $ac_status); } &&
16765          { ac_try='test -s conftest.$ac_objext'
16766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767   (eval $ac_try) 2>&5
16768   ac_status=$?
16769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770   (exit $ac_status); }; }; then
16771   glibcxx_cv_func__copysignl_use=yes
16772 else
16773   echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.$ac_ext >&5
16775
16776 glibcxx_cv_func__copysignl_use=no
16777 fi
16778 rm -f conftest.$ac_objext conftest.$ac_ext
16779       ac_ext=c
16780 ac_cpp='$CPP $CPPFLAGS'
16781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16784
16785
16786 fi
16787
16788   fi
16789   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
16790 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
16791
16792     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
16793
16794 for ac_func in _copysignl
16795 do
16796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16797 echo "$as_me:$LINENO: checking for $ac_func" >&5
16798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16799 if eval "test \"\${$as_ac_var+set}\" = set"; then
16800   echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802   cat >conftest.$ac_ext <<_ACEOF
16803 #line $LINENO "configure"
16804 /* confdefs.h.  */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h.  */
16809 /* System header to define __stub macros and hopefully few prototypes,
16810     which can conflict with char $ac_func (); below.
16811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16812     <limits.h> exists even on freestanding compilers.  */
16813 #ifdef __STDC__
16814 # include <limits.h>
16815 #else
16816 # include <assert.h>
16817 #endif
16818 /* Override any gcc2 internal prototype to avoid an error.  */
16819 #ifdef __cplusplus
16820 extern "C"
16821 {
16822 #endif
16823 /* We use char because int might match the return type of a gcc2
16824    builtin and then its argument prototype would still apply.  */
16825 char $ac_func ();
16826 /* The GNU C library defines this for functions which it implements
16827     to always fail with ENOSYS.  Some functions are actually named
16828     something starting with __ and the normal name is an alias.  */
16829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16830 choke me
16831 #else
16832 char (*f) () = $ac_func;
16833 #endif
16834 #ifdef __cplusplus
16835 }
16836 #endif
16837
16838 int
16839 main ()
16840 {
16841 return f != $ac_func;
16842   ;
16843   return 0;
16844 }
16845 _ACEOF
16846 rm -f conftest.$ac_objext conftest$ac_exeext
16847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16848   (eval $ac_link) 2>&5
16849   ac_status=$?
16850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851   (exit $ac_status); } &&
16852          { ac_try='test -s conftest$ac_exeext'
16853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854   (eval $ac_try) 2>&5
16855   ac_status=$?
16856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857   (exit $ac_status); }; }; then
16858   eval "$as_ac_var=yes"
16859 else
16860   echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16862
16863 eval "$as_ac_var=no"
16864 fi
16865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16866 fi
16867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16869 if test `eval echo '${'$as_ac_var'}'` = yes; then
16870   cat >>confdefs.h <<_ACEOF
16871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16872 _ACEOF
16873
16874 fi
16875 done
16876
16877     fi
16878   fi
16879
16880
16881
16882   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
16883 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
16884   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
16885     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
16886   echo $ECHO_N "(cached) $ECHO_C" >&6
16887 else
16888
16889
16890
16891       ac_ext=cc
16892 ac_cpp='$CXXCPP $CPPFLAGS'
16893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16896
16897       cat >conftest.$ac_ext <<_ACEOF
16898 #line $LINENO "configure"
16899 /* confdefs.h.  */
16900 _ACEOF
16901 cat confdefs.h >>conftest.$ac_ext
16902 cat >>conftest.$ac_ext <<_ACEOF
16903 /* end confdefs.h.  */
16904 #include <math.h>
16905 int
16906 main ()
16907 {
16908  atan2l(0, 0);
16909   ;
16910   return 0;
16911 }
16912 _ACEOF
16913 rm -f conftest.$ac_objext
16914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16915   (eval $ac_compile) 2>&5
16916   ac_status=$?
16917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918   (exit $ac_status); } &&
16919          { ac_try='test -s conftest.$ac_objext'
16920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921   (eval $ac_try) 2>&5
16922   ac_status=$?
16923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924   (exit $ac_status); }; }; then
16925   glibcxx_cv_func_atan2l_use=yes
16926 else
16927   echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16929
16930 glibcxx_cv_func_atan2l_use=no
16931 fi
16932 rm -f conftest.$ac_objext conftest.$ac_ext
16933       ac_ext=c
16934 ac_cpp='$CPP $CPPFLAGS'
16935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16938
16939
16940 fi
16941
16942   fi
16943   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
16944 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
16945
16946   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
16947
16948 for ac_func in atan2l
16949 do
16950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16951 echo "$as_me:$LINENO: checking for $ac_func" >&5
16952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16953 if eval "test \"\${$as_ac_var+set}\" = set"; then
16954   echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956   cat >conftest.$ac_ext <<_ACEOF
16957 #line $LINENO "configure"
16958 /* confdefs.h.  */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h.  */
16963 /* System header to define __stub macros and hopefully few prototypes,
16964     which can conflict with char $ac_func (); below.
16965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16966     <limits.h> exists even on freestanding compilers.  */
16967 #ifdef __STDC__
16968 # include <limits.h>
16969 #else
16970 # include <assert.h>
16971 #endif
16972 /* Override any gcc2 internal prototype to avoid an error.  */
16973 #ifdef __cplusplus
16974 extern "C"
16975 {
16976 #endif
16977 /* We use char because int might match the return type of a gcc2
16978    builtin and then its argument prototype would still apply.  */
16979 char $ac_func ();
16980 /* The GNU C library defines this for functions which it implements
16981     to always fail with ENOSYS.  Some functions are actually named
16982     something starting with __ and the normal name is an alias.  */
16983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16984 choke me
16985 #else
16986 char (*f) () = $ac_func;
16987 #endif
16988 #ifdef __cplusplus
16989 }
16990 #endif
16991
16992 int
16993 main ()
16994 {
16995 return f != $ac_func;
16996   ;
16997   return 0;
16998 }
16999 _ACEOF
17000 rm -f conftest.$ac_objext conftest$ac_exeext
17001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17002   (eval $ac_link) 2>&5
17003   ac_status=$?
17004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005   (exit $ac_status); } &&
17006          { ac_try='test -s conftest$ac_exeext'
17007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008   (eval $ac_try) 2>&5
17009   ac_status=$?
17010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011   (exit $ac_status); }; }; then
17012   eval "$as_ac_var=yes"
17013 else
17014   echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17016
17017 eval "$as_ac_var=no"
17018 fi
17019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17020 fi
17021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17023 if test `eval echo '${'$as_ac_var'}'` = yes; then
17024   cat >>confdefs.h <<_ACEOF
17025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17026 _ACEOF
17027
17028 fi
17029 done
17030
17031   else
17032
17033   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17034 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17035   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17036     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17037   echo $ECHO_N "(cached) $ECHO_C" >&6
17038 else
17039
17040
17041
17042       ac_ext=cc
17043 ac_cpp='$CXXCPP $CPPFLAGS'
17044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17047
17048       cat >conftest.$ac_ext <<_ACEOF
17049 #line $LINENO "configure"
17050 /* confdefs.h.  */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h.  */
17055 #include <math.h>
17056 int
17057 main ()
17058 {
17059  _atan2l(0, 0);
17060   ;
17061   return 0;
17062 }
17063 _ACEOF
17064 rm -f conftest.$ac_objext
17065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17066   (eval $ac_compile) 2>&5
17067   ac_status=$?
17068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069   (exit $ac_status); } &&
17070          { ac_try='test -s conftest.$ac_objext'
17071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072   (eval $ac_try) 2>&5
17073   ac_status=$?
17074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075   (exit $ac_status); }; }; then
17076   glibcxx_cv_func__atan2l_use=yes
17077 else
17078   echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17080
17081 glibcxx_cv_func__atan2l_use=no
17082 fi
17083 rm -f conftest.$ac_objext conftest.$ac_ext
17084       ac_ext=c
17085 ac_cpp='$CPP $CPPFLAGS'
17086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17089
17090
17091 fi
17092
17093   fi
17094   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17095 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17096
17097     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17098
17099 for ac_func in _atan2l
17100 do
17101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17102 echo "$as_me:$LINENO: checking for $ac_func" >&5
17103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17104 if eval "test \"\${$as_ac_var+set}\" = set"; then
17105   echo $ECHO_N "(cached) $ECHO_C" >&6
17106 else
17107   cat >conftest.$ac_ext <<_ACEOF
17108 #line $LINENO "configure"
17109 /* confdefs.h.  */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h.  */
17114 /* System header to define __stub macros and hopefully few prototypes,
17115     which can conflict with char $ac_func (); below.
17116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17117     <limits.h> exists even on freestanding compilers.  */
17118 #ifdef __STDC__
17119 # include <limits.h>
17120 #else
17121 # include <assert.h>
17122 #endif
17123 /* Override any gcc2 internal prototype to avoid an error.  */
17124 #ifdef __cplusplus
17125 extern "C"
17126 {
17127 #endif
17128 /* We use char because int might match the return type of a gcc2
17129    builtin and then its argument prototype would still apply.  */
17130 char $ac_func ();
17131 /* The GNU C library defines this for functions which it implements
17132     to always fail with ENOSYS.  Some functions are actually named
17133     something starting with __ and the normal name is an alias.  */
17134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17135 choke me
17136 #else
17137 char (*f) () = $ac_func;
17138 #endif
17139 #ifdef __cplusplus
17140 }
17141 #endif
17142
17143 int
17144 main ()
17145 {
17146 return f != $ac_func;
17147   ;
17148   return 0;
17149 }
17150 _ACEOF
17151 rm -f conftest.$ac_objext conftest$ac_exeext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17153   (eval $ac_link) 2>&5
17154   ac_status=$?
17155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156   (exit $ac_status); } &&
17157          { ac_try='test -s conftest$ac_exeext'
17158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159   (eval $ac_try) 2>&5
17160   ac_status=$?
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); }; }; then
17163   eval "$as_ac_var=yes"
17164 else
17165   echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 eval "$as_ac_var=no"
17169 fi
17170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17171 fi
17172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17174 if test `eval echo '${'$as_ac_var'}'` = yes; then
17175   cat >>confdefs.h <<_ACEOF
17176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17177 _ACEOF
17178
17179 fi
17180 done
17181
17182     fi
17183   fi
17184
17185
17186
17187   echo "$as_me:$LINENO: checking for expl declaration" >&5
17188 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17189   if test x${glibcxx_cv_func_expl_use+set} != xset; then
17190     if test "${glibcxx_cv_func_expl_use+set}" = set; then
17191   echo $ECHO_N "(cached) $ECHO_C" >&6
17192 else
17193
17194
17195
17196       ac_ext=cc
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17201
17202       cat >conftest.$ac_ext <<_ACEOF
17203 #line $LINENO "configure"
17204 /* confdefs.h.  */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h.  */
17209 #include <math.h>
17210                       #ifdef HAVE_IEEEFP_H
17211                       #include <ieeefp.h>
17212                       #endif
17213
17214 int
17215 main ()
17216 {
17217  expl(0);
17218   ;
17219   return 0;
17220 }
17221 _ACEOF
17222 rm -f conftest.$ac_objext
17223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17224   (eval $ac_compile) 2>&5
17225   ac_status=$?
17226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227   (exit $ac_status); } &&
17228          { ac_try='test -s conftest.$ac_objext'
17229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230   (eval $ac_try) 2>&5
17231   ac_status=$?
17232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233   (exit $ac_status); }; }; then
17234   glibcxx_cv_func_expl_use=yes
17235 else
17236   echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17238
17239 glibcxx_cv_func_expl_use=no
17240 fi
17241 rm -f conftest.$ac_objext conftest.$ac_ext
17242       ac_ext=c
17243 ac_cpp='$CPP $CPPFLAGS'
17244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17247
17248
17249 fi
17250
17251   fi
17252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17253 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17254
17255   if test x$glibcxx_cv_func_expl_use = x"yes"; then
17256
17257 for ac_func in expl
17258 do
17259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17260 echo "$as_me:$LINENO: checking for $ac_func" >&5
17261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17262 if eval "test \"\${$as_ac_var+set}\" = set"; then
17263   echo $ECHO_N "(cached) $ECHO_C" >&6
17264 else
17265   cat >conftest.$ac_ext <<_ACEOF
17266 #line $LINENO "configure"
17267 /* confdefs.h.  */
17268 _ACEOF
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h.  */
17272 /* System header to define __stub macros and hopefully few prototypes,
17273     which can conflict with char $ac_func (); below.
17274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17275     <limits.h> exists even on freestanding compilers.  */
17276 #ifdef __STDC__
17277 # include <limits.h>
17278 #else
17279 # include <assert.h>
17280 #endif
17281 /* Override any gcc2 internal prototype to avoid an error.  */
17282 #ifdef __cplusplus
17283 extern "C"
17284 {
17285 #endif
17286 /* We use char because int might match the return type of a gcc2
17287    builtin and then its argument prototype would still apply.  */
17288 char $ac_func ();
17289 /* The GNU C library defines this for functions which it implements
17290     to always fail with ENOSYS.  Some functions are actually named
17291     something starting with __ and the normal name is an alias.  */
17292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17293 choke me
17294 #else
17295 char (*f) () = $ac_func;
17296 #endif
17297 #ifdef __cplusplus
17298 }
17299 #endif
17300
17301 int
17302 main ()
17303 {
17304 return f != $ac_func;
17305   ;
17306   return 0;
17307 }
17308 _ACEOF
17309 rm -f conftest.$ac_objext conftest$ac_exeext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17311   (eval $ac_link) 2>&5
17312   ac_status=$?
17313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314   (exit $ac_status); } &&
17315          { ac_try='test -s conftest$ac_exeext'
17316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317   (eval $ac_try) 2>&5
17318   ac_status=$?
17319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320   (exit $ac_status); }; }; then
17321   eval "$as_ac_var=yes"
17322 else
17323   echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17325
17326 eval "$as_ac_var=no"
17327 fi
17328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17329 fi
17330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17332 if test `eval echo '${'$as_ac_var'}'` = yes; then
17333   cat >>confdefs.h <<_ACEOF
17334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17335 _ACEOF
17336
17337 fi
17338 done
17339
17340   else
17341
17342   echo "$as_me:$LINENO: checking for _expl declaration" >&5
17343 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17344   if test x${glibcxx_cv_func__expl_use+set} != xset; then
17345     if test "${glibcxx_cv_func__expl_use+set}" = set; then
17346   echo $ECHO_N "(cached) $ECHO_C" >&6
17347 else
17348
17349
17350
17351       ac_ext=cc
17352 ac_cpp='$CXXCPP $CPPFLAGS'
17353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17356
17357       cat >conftest.$ac_ext <<_ACEOF
17358 #line $LINENO "configure"
17359 /* confdefs.h.  */
17360 _ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h.  */
17364 #include <math.h>
17365                       #ifdef HAVE_IEEEFP_H
17366                       #include <ieeefp.h>
17367                       #endif
17368
17369 int
17370 main ()
17371 {
17372  _expl(0);
17373   ;
17374   return 0;
17375 }
17376 _ACEOF
17377 rm -f conftest.$ac_objext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17379   (eval $ac_compile) 2>&5
17380   ac_status=$?
17381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382   (exit $ac_status); } &&
17383          { ac_try='test -s conftest.$ac_objext'
17384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385   (eval $ac_try) 2>&5
17386   ac_status=$?
17387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388   (exit $ac_status); }; }; then
17389   glibcxx_cv_func__expl_use=yes
17390 else
17391   echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17393
17394 glibcxx_cv_func__expl_use=no
17395 fi
17396 rm -f conftest.$ac_objext conftest.$ac_ext
17397       ac_ext=c
17398 ac_cpp='$CPP $CPPFLAGS'
17399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17402
17403
17404 fi
17405
17406   fi
17407   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17408 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17409
17410     if test x$glibcxx_cv_func__expl_use = x"yes"; then
17411
17412 for ac_func in _expl
17413 do
17414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17415 echo "$as_me:$LINENO: checking for $ac_func" >&5
17416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17417 if eval "test \"\${$as_ac_var+set}\" = set"; then
17418   echo $ECHO_N "(cached) $ECHO_C" >&6
17419 else
17420   cat >conftest.$ac_ext <<_ACEOF
17421 #line $LINENO "configure"
17422 /* confdefs.h.  */
17423 _ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
17426 /* end confdefs.h.  */
17427 /* System header to define __stub macros and hopefully few prototypes,
17428     which can conflict with char $ac_func (); below.
17429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17430     <limits.h> exists even on freestanding compilers.  */
17431 #ifdef __STDC__
17432 # include <limits.h>
17433 #else
17434 # include <assert.h>
17435 #endif
17436 /* Override any gcc2 internal prototype to avoid an error.  */
17437 #ifdef __cplusplus
17438 extern "C"
17439 {
17440 #endif
17441 /* We use char because int might match the return type of a gcc2
17442    builtin and then its argument prototype would still apply.  */
17443 char $ac_func ();
17444 /* The GNU C library defines this for functions which it implements
17445     to always fail with ENOSYS.  Some functions are actually named
17446     something starting with __ and the normal name is an alias.  */
17447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17448 choke me
17449 #else
17450 char (*f) () = $ac_func;
17451 #endif
17452 #ifdef __cplusplus
17453 }
17454 #endif
17455
17456 int
17457 main ()
17458 {
17459 return f != $ac_func;
17460   ;
17461   return 0;
17462 }
17463 _ACEOF
17464 rm -f conftest.$ac_objext conftest$ac_exeext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17466   (eval $ac_link) 2>&5
17467   ac_status=$?
17468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469   (exit $ac_status); } &&
17470          { ac_try='test -s conftest$ac_exeext'
17471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472   (eval $ac_try) 2>&5
17473   ac_status=$?
17474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475   (exit $ac_status); }; }; then
17476   eval "$as_ac_var=yes"
17477 else
17478   echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.$ac_ext >&5
17480
17481 eval "$as_ac_var=no"
17482 fi
17483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17484 fi
17485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17487 if test `eval echo '${'$as_ac_var'}'` = yes; then
17488   cat >>confdefs.h <<_ACEOF
17489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17490 _ACEOF
17491
17492 fi
17493 done
17494
17495     fi
17496   fi
17497
17498
17499
17500   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17501 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17502   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17503     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17504   echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506
17507
17508
17509       ac_ext=cc
17510 ac_cpp='$CXXCPP $CPPFLAGS'
17511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17514
17515       cat >conftest.$ac_ext <<_ACEOF
17516 #line $LINENO "configure"
17517 /* confdefs.h.  */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h.  */
17522 #include <math.h>
17523                       #ifdef HAVE_IEEEFP_H
17524                       #include <ieeefp.h>
17525                       #endif
17526
17527 int
17528 main ()
17529 {
17530  fabsl(0);
17531   ;
17532   return 0;
17533 }
17534 _ACEOF
17535 rm -f conftest.$ac_objext
17536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17537   (eval $ac_compile) 2>&5
17538   ac_status=$?
17539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540   (exit $ac_status); } &&
17541          { ac_try='test -s conftest.$ac_objext'
17542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543   (eval $ac_try) 2>&5
17544   ac_status=$?
17545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546   (exit $ac_status); }; }; then
17547   glibcxx_cv_func_fabsl_use=yes
17548 else
17549   echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17551
17552 glibcxx_cv_func_fabsl_use=no
17553 fi
17554 rm -f conftest.$ac_objext conftest.$ac_ext
17555       ac_ext=c
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17560
17561
17562 fi
17563
17564   fi
17565   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17566 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17567
17568   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17569
17570 for ac_func in fabsl
17571 do
17572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17573 echo "$as_me:$LINENO: checking for $ac_func" >&5
17574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17575 if eval "test \"\${$as_ac_var+set}\" = set"; then
17576   echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578   cat >conftest.$ac_ext <<_ACEOF
17579 #line $LINENO "configure"
17580 /* confdefs.h.  */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h.  */
17585 /* System header to define __stub macros and hopefully few prototypes,
17586     which can conflict with char $ac_func (); below.
17587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17588     <limits.h> exists even on freestanding compilers.  */
17589 #ifdef __STDC__
17590 # include <limits.h>
17591 #else
17592 # include <assert.h>
17593 #endif
17594 /* Override any gcc2 internal prototype to avoid an error.  */
17595 #ifdef __cplusplus
17596 extern "C"
17597 {
17598 #endif
17599 /* We use char because int might match the return type of a gcc2
17600    builtin and then its argument prototype would still apply.  */
17601 char $ac_func ();
17602 /* The GNU C library defines this for functions which it implements
17603     to always fail with ENOSYS.  Some functions are actually named
17604     something starting with __ and the normal name is an alias.  */
17605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17606 choke me
17607 #else
17608 char (*f) () = $ac_func;
17609 #endif
17610 #ifdef __cplusplus
17611 }
17612 #endif
17613
17614 int
17615 main ()
17616 {
17617 return f != $ac_func;
17618   ;
17619   return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext conftest$ac_exeext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17624   (eval $ac_link) 2>&5
17625   ac_status=$?
17626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627   (exit $ac_status); } &&
17628          { ac_try='test -s conftest$ac_exeext'
17629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630   (eval $ac_try) 2>&5
17631   ac_status=$?
17632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633   (exit $ac_status); }; }; then
17634   eval "$as_ac_var=yes"
17635 else
17636   echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.$ac_ext >&5
17638
17639 eval "$as_ac_var=no"
17640 fi
17641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17642 fi
17643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17645 if test `eval echo '${'$as_ac_var'}'` = yes; then
17646   cat >>confdefs.h <<_ACEOF
17647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17648 _ACEOF
17649
17650 fi
17651 done
17652
17653   else
17654
17655   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17656 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17657   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17658     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17659   echo $ECHO_N "(cached) $ECHO_C" >&6
17660 else
17661
17662
17663
17664       ac_ext=cc
17665 ac_cpp='$CXXCPP $CPPFLAGS'
17666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17669
17670       cat >conftest.$ac_ext <<_ACEOF
17671 #line $LINENO "configure"
17672 /* confdefs.h.  */
17673 _ACEOF
17674 cat confdefs.h >>conftest.$ac_ext
17675 cat >>conftest.$ac_ext <<_ACEOF
17676 /* end confdefs.h.  */
17677 #include <math.h>
17678                       #ifdef HAVE_IEEEFP_H
17679                       #include <ieeefp.h>
17680                       #endif
17681
17682 int
17683 main ()
17684 {
17685  _fabsl(0);
17686   ;
17687   return 0;
17688 }
17689 _ACEOF
17690 rm -f conftest.$ac_objext
17691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17692   (eval $ac_compile) 2>&5
17693   ac_status=$?
17694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695   (exit $ac_status); } &&
17696          { ac_try='test -s conftest.$ac_objext'
17697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698   (eval $ac_try) 2>&5
17699   ac_status=$?
17700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701   (exit $ac_status); }; }; then
17702   glibcxx_cv_func__fabsl_use=yes
17703 else
17704   echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17706
17707 glibcxx_cv_func__fabsl_use=no
17708 fi
17709 rm -f conftest.$ac_objext conftest.$ac_ext
17710       ac_ext=c
17711 ac_cpp='$CPP $CPPFLAGS'
17712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17715
17716
17717 fi
17718
17719   fi
17720   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
17721 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
17722
17723     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
17724
17725 for ac_func in _fabsl
17726 do
17727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17728 echo "$as_me:$LINENO: checking for $ac_func" >&5
17729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17730 if eval "test \"\${$as_ac_var+set}\" = set"; then
17731   echo $ECHO_N "(cached) $ECHO_C" >&6
17732 else
17733   cat >conftest.$ac_ext <<_ACEOF
17734 #line $LINENO "configure"
17735 /* confdefs.h.  */
17736 _ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h.  */
17740 /* System header to define __stub macros and hopefully few prototypes,
17741     which can conflict with char $ac_func (); below.
17742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17743     <limits.h> exists even on freestanding compilers.  */
17744 #ifdef __STDC__
17745 # include <limits.h>
17746 #else
17747 # include <assert.h>
17748 #endif
17749 /* Override any gcc2 internal prototype to avoid an error.  */
17750 #ifdef __cplusplus
17751 extern "C"
17752 {
17753 #endif
17754 /* We use char because int might match the return type of a gcc2
17755    builtin and then its argument prototype would still apply.  */
17756 char $ac_func ();
17757 /* The GNU C library defines this for functions which it implements
17758     to always fail with ENOSYS.  Some functions are actually named
17759     something starting with __ and the normal name is an alias.  */
17760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17761 choke me
17762 #else
17763 char (*f) () = $ac_func;
17764 #endif
17765 #ifdef __cplusplus
17766 }
17767 #endif
17768
17769 int
17770 main ()
17771 {
17772 return f != $ac_func;
17773   ;
17774   return 0;
17775 }
17776 _ACEOF
17777 rm -f conftest.$ac_objext conftest$ac_exeext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17779   (eval $ac_link) 2>&5
17780   ac_status=$?
17781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782   (exit $ac_status); } &&
17783          { ac_try='test -s conftest$ac_exeext'
17784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785   (eval $ac_try) 2>&5
17786   ac_status=$?
17787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788   (exit $ac_status); }; }; then
17789   eval "$as_ac_var=yes"
17790 else
17791   echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17793
17794 eval "$as_ac_var=no"
17795 fi
17796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17797 fi
17798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17800 if test `eval echo '${'$as_ac_var'}'` = yes; then
17801   cat >>confdefs.h <<_ACEOF
17802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17803 _ACEOF
17804
17805 fi
17806 done
17807
17808     fi
17809   fi
17810
17811
17812
17813   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
17814 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
17815   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
17816     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
17817   echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819
17820
17821
17822       ac_ext=cc
17823 ac_cpp='$CXXCPP $CPPFLAGS'
17824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17827
17828       cat >conftest.$ac_ext <<_ACEOF
17829 #line $LINENO "configure"
17830 /* confdefs.h.  */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h.  */
17835 #include <math.h>
17836 int
17837 main ()
17838 {
17839  fmodl(0, 0);
17840   ;
17841   return 0;
17842 }
17843 _ACEOF
17844 rm -f conftest.$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846   (eval $ac_compile) 2>&5
17847   ac_status=$?
17848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849   (exit $ac_status); } &&
17850          { ac_try='test -s conftest.$ac_objext'
17851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852   (eval $ac_try) 2>&5
17853   ac_status=$?
17854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855   (exit $ac_status); }; }; then
17856   glibcxx_cv_func_fmodl_use=yes
17857 else
17858   echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17860
17861 glibcxx_cv_func_fmodl_use=no
17862 fi
17863 rm -f conftest.$ac_objext conftest.$ac_ext
17864       ac_ext=c
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17869
17870
17871 fi
17872
17873   fi
17874   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
17875 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
17876
17877   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
17878
17879 for ac_func in fmodl
17880 do
17881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17882 echo "$as_me:$LINENO: checking for $ac_func" >&5
17883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17884 if eval "test \"\${$as_ac_var+set}\" = set"; then
17885   echo $ECHO_N "(cached) $ECHO_C" >&6
17886 else
17887   cat >conftest.$ac_ext <<_ACEOF
17888 #line $LINENO "configure"
17889 /* confdefs.h.  */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h.  */
17894 /* System header to define __stub macros and hopefully few prototypes,
17895     which can conflict with char $ac_func (); below.
17896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17897     <limits.h> exists even on freestanding compilers.  */
17898 #ifdef __STDC__
17899 # include <limits.h>
17900 #else
17901 # include <assert.h>
17902 #endif
17903 /* Override any gcc2 internal prototype to avoid an error.  */
17904 #ifdef __cplusplus
17905 extern "C"
17906 {
17907 #endif
17908 /* We use char because int might match the return type of a gcc2
17909    builtin and then its argument prototype would still apply.  */
17910 char $ac_func ();
17911 /* The GNU C library defines this for functions which it implements
17912     to always fail with ENOSYS.  Some functions are actually named
17913     something starting with __ and the normal name is an alias.  */
17914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17915 choke me
17916 #else
17917 char (*f) () = $ac_func;
17918 #endif
17919 #ifdef __cplusplus
17920 }
17921 #endif
17922
17923 int
17924 main ()
17925 {
17926 return f != $ac_func;
17927   ;
17928   return 0;
17929 }
17930 _ACEOF
17931 rm -f conftest.$ac_objext conftest$ac_exeext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17933   (eval $ac_link) 2>&5
17934   ac_status=$?
17935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936   (exit $ac_status); } &&
17937          { ac_try='test -s conftest$ac_exeext'
17938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939   (eval $ac_try) 2>&5
17940   ac_status=$?
17941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942   (exit $ac_status); }; }; then
17943   eval "$as_ac_var=yes"
17944 else
17945   echo "$as_me: failed program was:" >&5
17946 sed 's/^/| /' conftest.$ac_ext >&5
17947
17948 eval "$as_ac_var=no"
17949 fi
17950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17951 fi
17952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17954 if test `eval echo '${'$as_ac_var'}'` = yes; then
17955   cat >>confdefs.h <<_ACEOF
17956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17957 _ACEOF
17958
17959 fi
17960 done
17961
17962   else
17963
17964   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
17965 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
17966   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
17967     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
17968   echo $ECHO_N "(cached) $ECHO_C" >&6
17969 else
17970
17971
17972
17973       ac_ext=cc
17974 ac_cpp='$CXXCPP $CPPFLAGS'
17975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17978
17979       cat >conftest.$ac_ext <<_ACEOF
17980 #line $LINENO "configure"
17981 /* confdefs.h.  */
17982 _ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h.  */
17986 #include <math.h>
17987 int
17988 main ()
17989 {
17990  _fmodl(0, 0);
17991   ;
17992   return 0;
17993 }
17994 _ACEOF
17995 rm -f conftest.$ac_objext
17996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17997   (eval $ac_compile) 2>&5
17998   ac_status=$?
17999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000   (exit $ac_status); } &&
18001          { ac_try='test -s conftest.$ac_objext'
18002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003   (eval $ac_try) 2>&5
18004   ac_status=$?
18005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006   (exit $ac_status); }; }; then
18007   glibcxx_cv_func__fmodl_use=yes
18008 else
18009   echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18011
18012 glibcxx_cv_func__fmodl_use=no
18013 fi
18014 rm -f conftest.$ac_objext conftest.$ac_ext
18015       ac_ext=c
18016 ac_cpp='$CPP $CPPFLAGS'
18017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18020
18021
18022 fi
18023
18024   fi
18025   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18026 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18027
18028     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18029
18030 for ac_func in _fmodl
18031 do
18032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18033 echo "$as_me:$LINENO: checking for $ac_func" >&5
18034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18035 if eval "test \"\${$as_ac_var+set}\" = set"; then
18036   echo $ECHO_N "(cached) $ECHO_C" >&6
18037 else
18038   cat >conftest.$ac_ext <<_ACEOF
18039 #line $LINENO "configure"
18040 /* confdefs.h.  */
18041 _ACEOF
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h.  */
18045 /* System header to define __stub macros and hopefully few prototypes,
18046     which can conflict with char $ac_func (); below.
18047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18048     <limits.h> exists even on freestanding compilers.  */
18049 #ifdef __STDC__
18050 # include <limits.h>
18051 #else
18052 # include <assert.h>
18053 #endif
18054 /* Override any gcc2 internal prototype to avoid an error.  */
18055 #ifdef __cplusplus
18056 extern "C"
18057 {
18058 #endif
18059 /* We use char because int might match the return type of a gcc2
18060    builtin and then its argument prototype would still apply.  */
18061 char $ac_func ();
18062 /* The GNU C library defines this for functions which it implements
18063     to always fail with ENOSYS.  Some functions are actually named
18064     something starting with __ and the normal name is an alias.  */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 choke me
18067 #else
18068 char (*f) () = $ac_func;
18069 #endif
18070 #ifdef __cplusplus
18071 }
18072 #endif
18073
18074 int
18075 main ()
18076 {
18077 return f != $ac_func;
18078   ;
18079   return 0;
18080 }
18081 _ACEOF
18082 rm -f conftest.$ac_objext conftest$ac_exeext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18084   (eval $ac_link) 2>&5
18085   ac_status=$?
18086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087   (exit $ac_status); } &&
18088          { ac_try='test -s conftest$ac_exeext'
18089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090   (eval $ac_try) 2>&5
18091   ac_status=$?
18092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093   (exit $ac_status); }; }; then
18094   eval "$as_ac_var=yes"
18095 else
18096   echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18098
18099 eval "$as_ac_var=no"
18100 fi
18101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18102 fi
18103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18105 if test `eval echo '${'$as_ac_var'}'` = yes; then
18106   cat >>confdefs.h <<_ACEOF
18107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18108 _ACEOF
18109
18110 fi
18111 done
18112
18113     fi
18114   fi
18115
18116
18117
18118   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18119 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18120   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18121     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18122   echo $ECHO_N "(cached) $ECHO_C" >&6
18123 else
18124
18125
18126
18127       ac_ext=cc
18128 ac_cpp='$CXXCPP $CPPFLAGS'
18129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18132
18133       cat >conftest.$ac_ext <<_ACEOF
18134 #line $LINENO "configure"
18135 /* confdefs.h.  */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h.  */
18140 #include <math.h>
18141 int
18142 main ()
18143 {
18144  frexpl(0, 0);
18145   ;
18146   return 0;
18147 }
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151   (eval $ac_compile) 2>&5
18152   ac_status=$?
18153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154   (exit $ac_status); } &&
18155          { ac_try='test -s conftest.$ac_objext'
18156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157   (eval $ac_try) 2>&5
18158   ac_status=$?
18159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160   (exit $ac_status); }; }; then
18161   glibcxx_cv_func_frexpl_use=yes
18162 else
18163   echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 glibcxx_cv_func_frexpl_use=no
18167 fi
18168 rm -f conftest.$ac_objext conftest.$ac_ext
18169       ac_ext=c
18170 ac_cpp='$CPP $CPPFLAGS'
18171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18174
18175
18176 fi
18177
18178   fi
18179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18180 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18181
18182   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18183
18184 for ac_func in frexpl
18185 do
18186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18187 echo "$as_me:$LINENO: checking for $ac_func" >&5
18188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18189 if eval "test \"\${$as_ac_var+set}\" = set"; then
18190   echo $ECHO_N "(cached) $ECHO_C" >&6
18191 else
18192   cat >conftest.$ac_ext <<_ACEOF
18193 #line $LINENO "configure"
18194 /* confdefs.h.  */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h.  */
18199 /* System header to define __stub macros and hopefully few prototypes,
18200     which can conflict with char $ac_func (); below.
18201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18202     <limits.h> exists even on freestanding compilers.  */
18203 #ifdef __STDC__
18204 # include <limits.h>
18205 #else
18206 # include <assert.h>
18207 #endif
18208 /* Override any gcc2 internal prototype to avoid an error.  */
18209 #ifdef __cplusplus
18210 extern "C"
18211 {
18212 #endif
18213 /* We use char because int might match the return type of a gcc2
18214    builtin and then its argument prototype would still apply.  */
18215 char $ac_func ();
18216 /* The GNU C library defines this for functions which it implements
18217     to always fail with ENOSYS.  Some functions are actually named
18218     something starting with __ and the normal name is an alias.  */
18219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18220 choke me
18221 #else
18222 char (*f) () = $ac_func;
18223 #endif
18224 #ifdef __cplusplus
18225 }
18226 #endif
18227
18228 int
18229 main ()
18230 {
18231 return f != $ac_func;
18232   ;
18233   return 0;
18234 }
18235 _ACEOF
18236 rm -f conftest.$ac_objext conftest$ac_exeext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18238   (eval $ac_link) 2>&5
18239   ac_status=$?
18240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241   (exit $ac_status); } &&
18242          { ac_try='test -s conftest$ac_exeext'
18243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18244   (eval $ac_try) 2>&5
18245   ac_status=$?
18246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247   (exit $ac_status); }; }; then
18248   eval "$as_ac_var=yes"
18249 else
18250   echo "$as_me: failed program was:" >&5
18251 sed 's/^/| /' conftest.$ac_ext >&5
18252
18253 eval "$as_ac_var=no"
18254 fi
18255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18256 fi
18257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18259 if test `eval echo '${'$as_ac_var'}'` = yes; then
18260   cat >>confdefs.h <<_ACEOF
18261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18262 _ACEOF
18263
18264 fi
18265 done
18266
18267   else
18268
18269   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18270 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18271   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18272     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18273   echo $ECHO_N "(cached) $ECHO_C" >&6
18274 else
18275
18276
18277
18278       ac_ext=cc
18279 ac_cpp='$CXXCPP $CPPFLAGS'
18280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283
18284       cat >conftest.$ac_ext <<_ACEOF
18285 #line $LINENO "configure"
18286 /* confdefs.h.  */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h.  */
18291 #include <math.h>
18292 int
18293 main ()
18294 {
18295  _frexpl(0, 0);
18296   ;
18297   return 0;
18298 }
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302   (eval $ac_compile) 2>&5
18303   ac_status=$?
18304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305   (exit $ac_status); } &&
18306          { ac_try='test -s conftest.$ac_objext'
18307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308   (eval $ac_try) 2>&5
18309   ac_status=$?
18310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311   (exit $ac_status); }; }; then
18312   glibcxx_cv_func__frexpl_use=yes
18313 else
18314   echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18316
18317 glibcxx_cv_func__frexpl_use=no
18318 fi
18319 rm -f conftest.$ac_objext conftest.$ac_ext
18320       ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326
18327 fi
18328
18329   fi
18330   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18331 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18332
18333     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18334
18335 for ac_func in _frexpl
18336 do
18337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18338 echo "$as_me:$LINENO: checking for $ac_func" >&5
18339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18340 if eval "test \"\${$as_ac_var+set}\" = set"; then
18341   echo $ECHO_N "(cached) $ECHO_C" >&6
18342 else
18343   cat >conftest.$ac_ext <<_ACEOF
18344 #line $LINENO "configure"
18345 /* confdefs.h.  */
18346 _ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h.  */
18350 /* System header to define __stub macros and hopefully few prototypes,
18351     which can conflict with char $ac_func (); below.
18352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18353     <limits.h> exists even on freestanding compilers.  */
18354 #ifdef __STDC__
18355 # include <limits.h>
18356 #else
18357 # include <assert.h>
18358 #endif
18359 /* Override any gcc2 internal prototype to avoid an error.  */
18360 #ifdef __cplusplus
18361 extern "C"
18362 {
18363 #endif
18364 /* We use char because int might match the return type of a gcc2
18365    builtin and then its argument prototype would still apply.  */
18366 char $ac_func ();
18367 /* The GNU C library defines this for functions which it implements
18368     to always fail with ENOSYS.  Some functions are actually named
18369     something starting with __ and the normal name is an alias.  */
18370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18371 choke me
18372 #else
18373 char (*f) () = $ac_func;
18374 #endif
18375 #ifdef __cplusplus
18376 }
18377 #endif
18378
18379 int
18380 main ()
18381 {
18382 return f != $ac_func;
18383   ;
18384   return 0;
18385 }
18386 _ACEOF
18387 rm -f conftest.$ac_objext conftest$ac_exeext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18389   (eval $ac_link) 2>&5
18390   ac_status=$?
18391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392   (exit $ac_status); } &&
18393          { ac_try='test -s conftest$ac_exeext'
18394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395   (eval $ac_try) 2>&5
18396   ac_status=$?
18397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398   (exit $ac_status); }; }; then
18399   eval "$as_ac_var=yes"
18400 else
18401   echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18403
18404 eval "$as_ac_var=no"
18405 fi
18406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18407 fi
18408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18410 if test `eval echo '${'$as_ac_var'}'` = yes; then
18411   cat >>confdefs.h <<_ACEOF
18412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18413 _ACEOF
18414
18415 fi
18416 done
18417
18418     fi
18419   fi
18420
18421
18422
18423   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18424 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18425   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18426     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18427   echo $ECHO_N "(cached) $ECHO_C" >&6
18428 else
18429
18430
18431
18432       ac_ext=cc
18433 ac_cpp='$CXXCPP $CPPFLAGS'
18434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18437
18438       cat >conftest.$ac_ext <<_ACEOF
18439 #line $LINENO "configure"
18440 /* confdefs.h.  */
18441 _ACEOF
18442 cat confdefs.h >>conftest.$ac_ext
18443 cat >>conftest.$ac_ext <<_ACEOF
18444 /* end confdefs.h.  */
18445 #include <math.h>
18446 int
18447 main ()
18448 {
18449  hypotl(0, 0);
18450   ;
18451   return 0;
18452 }
18453 _ACEOF
18454 rm -f conftest.$ac_objext
18455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18456   (eval $ac_compile) 2>&5
18457   ac_status=$?
18458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459   (exit $ac_status); } &&
18460          { ac_try='test -s conftest.$ac_objext'
18461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462   (eval $ac_try) 2>&5
18463   ac_status=$?
18464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465   (exit $ac_status); }; }; then
18466   glibcxx_cv_func_hypotl_use=yes
18467 else
18468   echo "$as_me: failed program was:" >&5
18469 sed 's/^/| /' conftest.$ac_ext >&5
18470
18471 glibcxx_cv_func_hypotl_use=no
18472 fi
18473 rm -f conftest.$ac_objext conftest.$ac_ext
18474       ac_ext=c
18475 ac_cpp='$CPP $CPPFLAGS'
18476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18479
18480
18481 fi
18482
18483   fi
18484   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18485 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18486
18487   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18488
18489 for ac_func in hypotl
18490 do
18491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18492 echo "$as_me:$LINENO: checking for $ac_func" >&5
18493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18494 if eval "test \"\${$as_ac_var+set}\" = set"; then
18495   echo $ECHO_N "(cached) $ECHO_C" >&6
18496 else
18497   cat >conftest.$ac_ext <<_ACEOF
18498 #line $LINENO "configure"
18499 /* confdefs.h.  */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h.  */
18504 /* System header to define __stub macros and hopefully few prototypes,
18505     which can conflict with char $ac_func (); below.
18506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18507     <limits.h> exists even on freestanding compilers.  */
18508 #ifdef __STDC__
18509 # include <limits.h>
18510 #else
18511 # include <assert.h>
18512 #endif
18513 /* Override any gcc2 internal prototype to avoid an error.  */
18514 #ifdef __cplusplus
18515 extern "C"
18516 {
18517 #endif
18518 /* We use char because int might match the return type of a gcc2
18519    builtin and then its argument prototype would still apply.  */
18520 char $ac_func ();
18521 /* The GNU C library defines this for functions which it implements
18522     to always fail with ENOSYS.  Some functions are actually named
18523     something starting with __ and the normal name is an alias.  */
18524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18525 choke me
18526 #else
18527 char (*f) () = $ac_func;
18528 #endif
18529 #ifdef __cplusplus
18530 }
18531 #endif
18532
18533 int
18534 main ()
18535 {
18536 return f != $ac_func;
18537   ;
18538   return 0;
18539 }
18540 _ACEOF
18541 rm -f conftest.$ac_objext conftest$ac_exeext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18543   (eval $ac_link) 2>&5
18544   ac_status=$?
18545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546   (exit $ac_status); } &&
18547          { ac_try='test -s conftest$ac_exeext'
18548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549   (eval $ac_try) 2>&5
18550   ac_status=$?
18551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552   (exit $ac_status); }; }; then
18553   eval "$as_ac_var=yes"
18554 else
18555   echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18557
18558 eval "$as_ac_var=no"
18559 fi
18560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18561 fi
18562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18564 if test `eval echo '${'$as_ac_var'}'` = yes; then
18565   cat >>confdefs.h <<_ACEOF
18566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18567 _ACEOF
18568
18569 fi
18570 done
18571
18572   else
18573
18574   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18575 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18576   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18577     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18578   echo $ECHO_N "(cached) $ECHO_C" >&6
18579 else
18580
18581
18582
18583       ac_ext=cc
18584 ac_cpp='$CXXCPP $CPPFLAGS'
18585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18588
18589       cat >conftest.$ac_ext <<_ACEOF
18590 #line $LINENO "configure"
18591 /* confdefs.h.  */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h.  */
18596 #include <math.h>
18597 int
18598 main ()
18599 {
18600  _hypotl(0, 0);
18601   ;
18602   return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18607   (eval $ac_compile) 2>&5
18608   ac_status=$?
18609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610   (exit $ac_status); } &&
18611          { ac_try='test -s conftest.$ac_objext'
18612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613   (eval $ac_try) 2>&5
18614   ac_status=$?
18615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616   (exit $ac_status); }; }; then
18617   glibcxx_cv_func__hypotl_use=yes
18618 else
18619   echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18621
18622 glibcxx_cv_func__hypotl_use=no
18623 fi
18624 rm -f conftest.$ac_objext conftest.$ac_ext
18625       ac_ext=c
18626 ac_cpp='$CPP $CPPFLAGS'
18627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18630
18631
18632 fi
18633
18634   fi
18635   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18636 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18637
18638     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18639
18640 for ac_func in _hypotl
18641 do
18642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18643 echo "$as_me:$LINENO: checking for $ac_func" >&5
18644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18645 if eval "test \"\${$as_ac_var+set}\" = set"; then
18646   echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18648   cat >conftest.$ac_ext <<_ACEOF
18649 #line $LINENO "configure"
18650 /* confdefs.h.  */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h.  */
18655 /* System header to define __stub macros and hopefully few prototypes,
18656     which can conflict with char $ac_func (); below.
18657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18658     <limits.h> exists even on freestanding compilers.  */
18659 #ifdef __STDC__
18660 # include <limits.h>
18661 #else
18662 # include <assert.h>
18663 #endif
18664 /* Override any gcc2 internal prototype to avoid an error.  */
18665 #ifdef __cplusplus
18666 extern "C"
18667 {
18668 #endif
18669 /* We use char because int might match the return type of a gcc2
18670    builtin and then its argument prototype would still apply.  */
18671 char $ac_func ();
18672 /* The GNU C library defines this for functions which it implements
18673     to always fail with ENOSYS.  Some functions are actually named
18674     something starting with __ and the normal name is an alias.  */
18675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18676 choke me
18677 #else
18678 char (*f) () = $ac_func;
18679 #endif
18680 #ifdef __cplusplus
18681 }
18682 #endif
18683
18684 int
18685 main ()
18686 {
18687 return f != $ac_func;
18688   ;
18689   return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest.$ac_objext conftest$ac_exeext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18694   (eval $ac_link) 2>&5
18695   ac_status=$?
18696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697   (exit $ac_status); } &&
18698          { ac_try='test -s conftest$ac_exeext'
18699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700   (eval $ac_try) 2>&5
18701   ac_status=$?
18702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703   (exit $ac_status); }; }; then
18704   eval "$as_ac_var=yes"
18705 else
18706   echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 eval "$as_ac_var=no"
18710 fi
18711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18712 fi
18713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18715 if test `eval echo '${'$as_ac_var'}'` = yes; then
18716   cat >>confdefs.h <<_ACEOF
18717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18718 _ACEOF
18719
18720 fi
18721 done
18722
18723     fi
18724   fi
18725
18726
18727
18728   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
18729 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
18730   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
18731     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
18732   echo $ECHO_N "(cached) $ECHO_C" >&6
18733 else
18734
18735
18736
18737       ac_ext=cc
18738 ac_cpp='$CXXCPP $CPPFLAGS'
18739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18742
18743       cat >conftest.$ac_ext <<_ACEOF
18744 #line $LINENO "configure"
18745 /* confdefs.h.  */
18746 _ACEOF
18747 cat confdefs.h >>conftest.$ac_ext
18748 cat >>conftest.$ac_ext <<_ACEOF
18749 /* end confdefs.h.  */
18750 #include <math.h>
18751 int
18752 main ()
18753 {
18754  ldexpl(0, 0);
18755   ;
18756   return 0;
18757 }
18758 _ACEOF
18759 rm -f conftest.$ac_objext
18760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18761   (eval $ac_compile) 2>&5
18762   ac_status=$?
18763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764   (exit $ac_status); } &&
18765          { ac_try='test -s conftest.$ac_objext'
18766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767   (eval $ac_try) 2>&5
18768   ac_status=$?
18769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770   (exit $ac_status); }; }; then
18771   glibcxx_cv_func_ldexpl_use=yes
18772 else
18773   echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18775
18776 glibcxx_cv_func_ldexpl_use=no
18777 fi
18778 rm -f conftest.$ac_objext conftest.$ac_ext
18779       ac_ext=c
18780 ac_cpp='$CPP $CPPFLAGS'
18781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18784
18785
18786 fi
18787
18788   fi
18789   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
18790 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
18791
18792   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
18793
18794 for ac_func in ldexpl
18795 do
18796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18797 echo "$as_me:$LINENO: checking for $ac_func" >&5
18798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18799 if eval "test \"\${$as_ac_var+set}\" = set"; then
18800   echo $ECHO_N "(cached) $ECHO_C" >&6
18801 else
18802   cat >conftest.$ac_ext <<_ACEOF
18803 #line $LINENO "configure"
18804 /* confdefs.h.  */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h.  */
18809 /* System header to define __stub macros and hopefully few prototypes,
18810     which can conflict with char $ac_func (); below.
18811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18812     <limits.h> exists even on freestanding compilers.  */
18813 #ifdef __STDC__
18814 # include <limits.h>
18815 #else
18816 # include <assert.h>
18817 #endif
18818 /* Override any gcc2 internal prototype to avoid an error.  */
18819 #ifdef __cplusplus
18820 extern "C"
18821 {
18822 #endif
18823 /* We use char because int might match the return type of a gcc2
18824    builtin and then its argument prototype would still apply.  */
18825 char $ac_func ();
18826 /* The GNU C library defines this for functions which it implements
18827     to always fail with ENOSYS.  Some functions are actually named
18828     something starting with __ and the normal name is an alias.  */
18829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18830 choke me
18831 #else
18832 char (*f) () = $ac_func;
18833 #endif
18834 #ifdef __cplusplus
18835 }
18836 #endif
18837
18838 int
18839 main ()
18840 {
18841 return f != $ac_func;
18842   ;
18843   return 0;
18844 }
18845 _ACEOF
18846 rm -f conftest.$ac_objext conftest$ac_exeext
18847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18848   (eval $ac_link) 2>&5
18849   ac_status=$?
18850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851   (exit $ac_status); } &&
18852          { ac_try='test -s conftest$ac_exeext'
18853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854   (eval $ac_try) 2>&5
18855   ac_status=$?
18856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857   (exit $ac_status); }; }; then
18858   eval "$as_ac_var=yes"
18859 else
18860   echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18862
18863 eval "$as_ac_var=no"
18864 fi
18865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18866 fi
18867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18869 if test `eval echo '${'$as_ac_var'}'` = yes; then
18870   cat >>confdefs.h <<_ACEOF
18871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18872 _ACEOF
18873
18874 fi
18875 done
18876
18877   else
18878
18879   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
18880 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
18881   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
18882     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
18883   echo $ECHO_N "(cached) $ECHO_C" >&6
18884 else
18885
18886
18887
18888       ac_ext=cc
18889 ac_cpp='$CXXCPP $CPPFLAGS'
18890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18893
18894       cat >conftest.$ac_ext <<_ACEOF
18895 #line $LINENO "configure"
18896 /* confdefs.h.  */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h.  */
18901 #include <math.h>
18902 int
18903 main ()
18904 {
18905  _ldexpl(0, 0);
18906   ;
18907   return 0;
18908 }
18909 _ACEOF
18910 rm -f conftest.$ac_objext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18912   (eval $ac_compile) 2>&5
18913   ac_status=$?
18914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915   (exit $ac_status); } &&
18916          { ac_try='test -s conftest.$ac_objext'
18917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918   (eval $ac_try) 2>&5
18919   ac_status=$?
18920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921   (exit $ac_status); }; }; then
18922   glibcxx_cv_func__ldexpl_use=yes
18923 else
18924   echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18926
18927 glibcxx_cv_func__ldexpl_use=no
18928 fi
18929 rm -f conftest.$ac_objext conftest.$ac_ext
18930       ac_ext=c
18931 ac_cpp='$CPP $CPPFLAGS'
18932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18935
18936
18937 fi
18938
18939   fi
18940   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
18941 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
18942
18943     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
18944
18945 for ac_func in _ldexpl
18946 do
18947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18948 echo "$as_me:$LINENO: checking for $ac_func" >&5
18949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18950 if eval "test \"\${$as_ac_var+set}\" = set"; then
18951   echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18953   cat >conftest.$ac_ext <<_ACEOF
18954 #line $LINENO "configure"
18955 /* confdefs.h.  */
18956 _ACEOF
18957 cat confdefs.h >>conftest.$ac_ext
18958 cat >>conftest.$ac_ext <<_ACEOF
18959 /* end confdefs.h.  */
18960 /* System header to define __stub macros and hopefully few prototypes,
18961     which can conflict with char $ac_func (); below.
18962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18963     <limits.h> exists even on freestanding compilers.  */
18964 #ifdef __STDC__
18965 # include <limits.h>
18966 #else
18967 # include <assert.h>
18968 #endif
18969 /* Override any gcc2 internal prototype to avoid an error.  */
18970 #ifdef __cplusplus
18971 extern "C"
18972 {
18973 #endif
18974 /* We use char because int might match the return type of a gcc2
18975    builtin and then its argument prototype would still apply.  */
18976 char $ac_func ();
18977 /* The GNU C library defines this for functions which it implements
18978     to always fail with ENOSYS.  Some functions are actually named
18979     something starting with __ and the normal name is an alias.  */
18980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18981 choke me
18982 #else
18983 char (*f) () = $ac_func;
18984 #endif
18985 #ifdef __cplusplus
18986 }
18987 #endif
18988
18989 int
18990 main ()
18991 {
18992 return f != $ac_func;
18993   ;
18994   return 0;
18995 }
18996 _ACEOF
18997 rm -f conftest.$ac_objext conftest$ac_exeext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18999   (eval $ac_link) 2>&5
19000   ac_status=$?
19001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002   (exit $ac_status); } &&
19003          { ac_try='test -s conftest$ac_exeext'
19004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005   (eval $ac_try) 2>&5
19006   ac_status=$?
19007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008   (exit $ac_status); }; }; then
19009   eval "$as_ac_var=yes"
19010 else
19011   echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 eval "$as_ac_var=no"
19015 fi
19016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19017 fi
19018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19020 if test `eval echo '${'$as_ac_var'}'` = yes; then
19021   cat >>confdefs.h <<_ACEOF
19022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19023 _ACEOF
19024
19025 fi
19026 done
19027
19028     fi
19029   fi
19030
19031
19032
19033   echo "$as_me:$LINENO: checking for logl declaration" >&5
19034 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19035   if test x${glibcxx_cv_func_logl_use+set} != xset; then
19036     if test "${glibcxx_cv_func_logl_use+set}" = set; then
19037   echo $ECHO_N "(cached) $ECHO_C" >&6
19038 else
19039
19040
19041
19042       ac_ext=cc
19043 ac_cpp='$CXXCPP $CPPFLAGS'
19044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19047
19048       cat >conftest.$ac_ext <<_ACEOF
19049 #line $LINENO "configure"
19050 /* confdefs.h.  */
19051 _ACEOF
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h.  */
19055 #include <math.h>
19056                       #ifdef HAVE_IEEEFP_H
19057                       #include <ieeefp.h>
19058                       #endif
19059
19060 int
19061 main ()
19062 {
19063  logl(0);
19064   ;
19065   return 0;
19066 }
19067 _ACEOF
19068 rm -f conftest.$ac_objext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19070   (eval $ac_compile) 2>&5
19071   ac_status=$?
19072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073   (exit $ac_status); } &&
19074          { ac_try='test -s conftest.$ac_objext'
19075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076   (eval $ac_try) 2>&5
19077   ac_status=$?
19078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079   (exit $ac_status); }; }; then
19080   glibcxx_cv_func_logl_use=yes
19081 else
19082   echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19084
19085 glibcxx_cv_func_logl_use=no
19086 fi
19087 rm -f conftest.$ac_objext conftest.$ac_ext
19088       ac_ext=c
19089 ac_cpp='$CPP $CPPFLAGS'
19090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19093
19094
19095 fi
19096
19097   fi
19098   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19099 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19100
19101   if test x$glibcxx_cv_func_logl_use = x"yes"; then
19102
19103 for ac_func in logl
19104 do
19105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19106 echo "$as_me:$LINENO: checking for $ac_func" >&5
19107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19108 if eval "test \"\${$as_ac_var+set}\" = set"; then
19109   echo $ECHO_N "(cached) $ECHO_C" >&6
19110 else
19111   cat >conftest.$ac_ext <<_ACEOF
19112 #line $LINENO "configure"
19113 /* confdefs.h.  */
19114 _ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h.  */
19118 /* System header to define __stub macros and hopefully few prototypes,
19119     which can conflict with char $ac_func (); below.
19120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19121     <limits.h> exists even on freestanding compilers.  */
19122 #ifdef __STDC__
19123 # include <limits.h>
19124 #else
19125 # include <assert.h>
19126 #endif
19127 /* Override any gcc2 internal prototype to avoid an error.  */
19128 #ifdef __cplusplus
19129 extern "C"
19130 {
19131 #endif
19132 /* We use char because int might match the return type of a gcc2
19133    builtin and then its argument prototype would still apply.  */
19134 char $ac_func ();
19135 /* The GNU C library defines this for functions which it implements
19136     to always fail with ENOSYS.  Some functions are actually named
19137     something starting with __ and the normal name is an alias.  */
19138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19139 choke me
19140 #else
19141 char (*f) () = $ac_func;
19142 #endif
19143 #ifdef __cplusplus
19144 }
19145 #endif
19146
19147 int
19148 main ()
19149 {
19150 return f != $ac_func;
19151   ;
19152   return 0;
19153 }
19154 _ACEOF
19155 rm -f conftest.$ac_objext conftest$ac_exeext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19157   (eval $ac_link) 2>&5
19158   ac_status=$?
19159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160   (exit $ac_status); } &&
19161          { ac_try='test -s conftest$ac_exeext'
19162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163   (eval $ac_try) 2>&5
19164   ac_status=$?
19165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166   (exit $ac_status); }; }; then
19167   eval "$as_ac_var=yes"
19168 else
19169   echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19171
19172 eval "$as_ac_var=no"
19173 fi
19174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19175 fi
19176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19178 if test `eval echo '${'$as_ac_var'}'` = yes; then
19179   cat >>confdefs.h <<_ACEOF
19180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19181 _ACEOF
19182
19183 fi
19184 done
19185
19186   else
19187
19188   echo "$as_me:$LINENO: checking for _logl declaration" >&5
19189 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19190   if test x${glibcxx_cv_func__logl_use+set} != xset; then
19191     if test "${glibcxx_cv_func__logl_use+set}" = set; then
19192   echo $ECHO_N "(cached) $ECHO_C" >&6
19193 else
19194
19195
19196
19197       ac_ext=cc
19198 ac_cpp='$CXXCPP $CPPFLAGS'
19199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19202
19203       cat >conftest.$ac_ext <<_ACEOF
19204 #line $LINENO "configure"
19205 /* confdefs.h.  */
19206 _ACEOF
19207 cat confdefs.h >>conftest.$ac_ext
19208 cat >>conftest.$ac_ext <<_ACEOF
19209 /* end confdefs.h.  */
19210 #include <math.h>
19211                       #ifdef HAVE_IEEEFP_H
19212                       #include <ieeefp.h>
19213                       #endif
19214
19215 int
19216 main ()
19217 {
19218  _logl(0);
19219   ;
19220   return 0;
19221 }
19222 _ACEOF
19223 rm -f conftest.$ac_objext
19224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19225   (eval $ac_compile) 2>&5
19226   ac_status=$?
19227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228   (exit $ac_status); } &&
19229          { ac_try='test -s conftest.$ac_objext'
19230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231   (eval $ac_try) 2>&5
19232   ac_status=$?
19233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234   (exit $ac_status); }; }; then
19235   glibcxx_cv_func__logl_use=yes
19236 else
19237   echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 glibcxx_cv_func__logl_use=no
19241 fi
19242 rm -f conftest.$ac_objext conftest.$ac_ext
19243       ac_ext=c
19244 ac_cpp='$CPP $CPPFLAGS'
19245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19248
19249
19250 fi
19251
19252   fi
19253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19254 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19255
19256     if test x$glibcxx_cv_func__logl_use = x"yes"; then
19257
19258 for ac_func in _logl
19259 do
19260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19261 echo "$as_me:$LINENO: checking for $ac_func" >&5
19262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19263 if eval "test \"\${$as_ac_var+set}\" = set"; then
19264   echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266   cat >conftest.$ac_ext <<_ACEOF
19267 #line $LINENO "configure"
19268 /* confdefs.h.  */
19269 _ACEOF
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h.  */
19273 /* System header to define __stub macros and hopefully few prototypes,
19274     which can conflict with char $ac_func (); below.
19275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19276     <limits.h> exists even on freestanding compilers.  */
19277 #ifdef __STDC__
19278 # include <limits.h>
19279 #else
19280 # include <assert.h>
19281 #endif
19282 /* Override any gcc2 internal prototype to avoid an error.  */
19283 #ifdef __cplusplus
19284 extern "C"
19285 {
19286 #endif
19287 /* We use char because int might match the return type of a gcc2
19288    builtin and then its argument prototype would still apply.  */
19289 char $ac_func ();
19290 /* The GNU C library defines this for functions which it implements
19291     to always fail with ENOSYS.  Some functions are actually named
19292     something starting with __ and the normal name is an alias.  */
19293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19294 choke me
19295 #else
19296 char (*f) () = $ac_func;
19297 #endif
19298 #ifdef __cplusplus
19299 }
19300 #endif
19301
19302 int
19303 main ()
19304 {
19305 return f != $ac_func;
19306   ;
19307   return 0;
19308 }
19309 _ACEOF
19310 rm -f conftest.$ac_objext conftest$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312   (eval $ac_link) 2>&5
19313   ac_status=$?
19314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315   (exit $ac_status); } &&
19316          { ac_try='test -s conftest$ac_exeext'
19317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318   (eval $ac_try) 2>&5
19319   ac_status=$?
19320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321   (exit $ac_status); }; }; then
19322   eval "$as_ac_var=yes"
19323 else
19324   echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 eval "$as_ac_var=no"
19328 fi
19329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19330 fi
19331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19333 if test `eval echo '${'$as_ac_var'}'` = yes; then
19334   cat >>confdefs.h <<_ACEOF
19335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19336 _ACEOF
19337
19338 fi
19339 done
19340
19341     fi
19342   fi
19343
19344
19345
19346   echo "$as_me:$LINENO: checking for log10l declaration" >&5
19347 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19348   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19349     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19350   echo $ECHO_N "(cached) $ECHO_C" >&6
19351 else
19352
19353
19354
19355       ac_ext=cc
19356 ac_cpp='$CXXCPP $CPPFLAGS'
19357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19360
19361       cat >conftest.$ac_ext <<_ACEOF
19362 #line $LINENO "configure"
19363 /* confdefs.h.  */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h.  */
19368 #include <math.h>
19369                       #ifdef HAVE_IEEEFP_H
19370                       #include <ieeefp.h>
19371                       #endif
19372
19373 int
19374 main ()
19375 {
19376  log10l(0);
19377   ;
19378   return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383   (eval $ac_compile) 2>&5
19384   ac_status=$?
19385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386   (exit $ac_status); } &&
19387          { ac_try='test -s conftest.$ac_objext'
19388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389   (eval $ac_try) 2>&5
19390   ac_status=$?
19391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392   (exit $ac_status); }; }; then
19393   glibcxx_cv_func_log10l_use=yes
19394 else
19395   echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19397
19398 glibcxx_cv_func_log10l_use=no
19399 fi
19400 rm -f conftest.$ac_objext conftest.$ac_ext
19401       ac_ext=c
19402 ac_cpp='$CPP $CPPFLAGS'
19403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19406
19407
19408 fi
19409
19410   fi
19411   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19412 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19413
19414   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19415
19416 for ac_func in log10l
19417 do
19418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19419 echo "$as_me:$LINENO: checking for $ac_func" >&5
19420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19421 if eval "test \"\${$as_ac_var+set}\" = set"; then
19422   echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424   cat >conftest.$ac_ext <<_ACEOF
19425 #line $LINENO "configure"
19426 /* confdefs.h.  */
19427 _ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h.  */
19431 /* System header to define __stub macros and hopefully few prototypes,
19432     which can conflict with char $ac_func (); below.
19433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19434     <limits.h> exists even on freestanding compilers.  */
19435 #ifdef __STDC__
19436 # include <limits.h>
19437 #else
19438 # include <assert.h>
19439 #endif
19440 /* Override any gcc2 internal prototype to avoid an error.  */
19441 #ifdef __cplusplus
19442 extern "C"
19443 {
19444 #endif
19445 /* We use char because int might match the return type of a gcc2
19446    builtin and then its argument prototype would still apply.  */
19447 char $ac_func ();
19448 /* The GNU C library defines this for functions which it implements
19449     to always fail with ENOSYS.  Some functions are actually named
19450     something starting with __ and the normal name is an alias.  */
19451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19452 choke me
19453 #else
19454 char (*f) () = $ac_func;
19455 #endif
19456 #ifdef __cplusplus
19457 }
19458 #endif
19459
19460 int
19461 main ()
19462 {
19463 return f != $ac_func;
19464   ;
19465   return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest.$ac_objext conftest$ac_exeext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19470   (eval $ac_link) 2>&5
19471   ac_status=$?
19472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473   (exit $ac_status); } &&
19474          { ac_try='test -s conftest$ac_exeext'
19475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476   (eval $ac_try) 2>&5
19477   ac_status=$?
19478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479   (exit $ac_status); }; }; then
19480   eval "$as_ac_var=yes"
19481 else
19482   echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19484
19485 eval "$as_ac_var=no"
19486 fi
19487 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19488 fi
19489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19491 if test `eval echo '${'$as_ac_var'}'` = yes; then
19492   cat >>confdefs.h <<_ACEOF
19493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19494 _ACEOF
19495
19496 fi
19497 done
19498
19499   else
19500
19501   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19502 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19503   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19504     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19505   echo $ECHO_N "(cached) $ECHO_C" >&6
19506 else
19507
19508
19509
19510       ac_ext=cc
19511 ac_cpp='$CXXCPP $CPPFLAGS'
19512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19515
19516       cat >conftest.$ac_ext <<_ACEOF
19517 #line $LINENO "configure"
19518 /* confdefs.h.  */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h.  */
19523 #include <math.h>
19524                       #ifdef HAVE_IEEEFP_H
19525                       #include <ieeefp.h>
19526                       #endif
19527
19528 int
19529 main ()
19530 {
19531  _log10l(0);
19532   ;
19533   return 0;
19534 }
19535 _ACEOF
19536 rm -f conftest.$ac_objext
19537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19538   (eval $ac_compile) 2>&5
19539   ac_status=$?
19540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541   (exit $ac_status); } &&
19542          { ac_try='test -s conftest.$ac_objext'
19543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544   (eval $ac_try) 2>&5
19545   ac_status=$?
19546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547   (exit $ac_status); }; }; then
19548   glibcxx_cv_func__log10l_use=yes
19549 else
19550   echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553 glibcxx_cv_func__log10l_use=no
19554 fi
19555 rm -f conftest.$ac_objext conftest.$ac_ext
19556       ac_ext=c
19557 ac_cpp='$CPP $CPPFLAGS'
19558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19561
19562
19563 fi
19564
19565   fi
19566   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19567 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19568
19569     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19570
19571 for ac_func in _log10l
19572 do
19573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19574 echo "$as_me:$LINENO: checking for $ac_func" >&5
19575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19576 if eval "test \"\${$as_ac_var+set}\" = set"; then
19577   echo $ECHO_N "(cached) $ECHO_C" >&6
19578 else
19579   cat >conftest.$ac_ext <<_ACEOF
19580 #line $LINENO "configure"
19581 /* confdefs.h.  */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h.  */
19586 /* System header to define __stub macros and hopefully few prototypes,
19587     which can conflict with char $ac_func (); below.
19588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19589     <limits.h> exists even on freestanding compilers.  */
19590 #ifdef __STDC__
19591 # include <limits.h>
19592 #else
19593 # include <assert.h>
19594 #endif
19595 /* Override any gcc2 internal prototype to avoid an error.  */
19596 #ifdef __cplusplus
19597 extern "C"
19598 {
19599 #endif
19600 /* We use char because int might match the return type of a gcc2
19601    builtin and then its argument prototype would still apply.  */
19602 char $ac_func ();
19603 /* The GNU C library defines this for functions which it implements
19604     to always fail with ENOSYS.  Some functions are actually named
19605     something starting with __ and the normal name is an alias.  */
19606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19607 choke me
19608 #else
19609 char (*f) () = $ac_func;
19610 #endif
19611 #ifdef __cplusplus
19612 }
19613 #endif
19614
19615 int
19616 main ()
19617 {
19618 return f != $ac_func;
19619   ;
19620   return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext conftest$ac_exeext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19625   (eval $ac_link) 2>&5
19626   ac_status=$?
19627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628   (exit $ac_status); } &&
19629          { ac_try='test -s conftest$ac_exeext'
19630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631   (eval $ac_try) 2>&5
19632   ac_status=$?
19633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634   (exit $ac_status); }; }; then
19635   eval "$as_ac_var=yes"
19636 else
19637   echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 eval "$as_ac_var=no"
19641 fi
19642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19643 fi
19644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19646 if test `eval echo '${'$as_ac_var'}'` = yes; then
19647   cat >>confdefs.h <<_ACEOF
19648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19649 _ACEOF
19650
19651 fi
19652 done
19653
19654     fi
19655   fi
19656
19657
19658
19659   echo "$as_me:$LINENO: checking for modfl declaration" >&5
19660 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
19661   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
19662     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
19663   echo $ECHO_N "(cached) $ECHO_C" >&6
19664 else
19665
19666
19667
19668       ac_ext=cc
19669 ac_cpp='$CXXCPP $CPPFLAGS'
19670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19673
19674       cat >conftest.$ac_ext <<_ACEOF
19675 #line $LINENO "configure"
19676 /* confdefs.h.  */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h.  */
19681 #include <math.h>
19682 int
19683 main ()
19684 {
19685  modfl(0, 0);
19686   ;
19687   return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692   (eval $ac_compile) 2>&5
19693   ac_status=$?
19694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695   (exit $ac_status); } &&
19696          { ac_try='test -s conftest.$ac_objext'
19697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698   (eval $ac_try) 2>&5
19699   ac_status=$?
19700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701   (exit $ac_status); }; }; then
19702   glibcxx_cv_func_modfl_use=yes
19703 else
19704   echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 glibcxx_cv_func_modfl_use=no
19708 fi
19709 rm -f conftest.$ac_objext conftest.$ac_ext
19710       ac_ext=c
19711 ac_cpp='$CPP $CPPFLAGS'
19712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19715
19716
19717 fi
19718
19719   fi
19720   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
19721 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
19722
19723   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
19724
19725 for ac_func in modfl
19726 do
19727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19728 echo "$as_me:$LINENO: checking for $ac_func" >&5
19729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19730 if eval "test \"\${$as_ac_var+set}\" = set"; then
19731   echo $ECHO_N "(cached) $ECHO_C" >&6
19732 else
19733   cat >conftest.$ac_ext <<_ACEOF
19734 #line $LINENO "configure"
19735 /* confdefs.h.  */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h.  */
19740 /* System header to define __stub macros and hopefully few prototypes,
19741     which can conflict with char $ac_func (); below.
19742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19743     <limits.h> exists even on freestanding compilers.  */
19744 #ifdef __STDC__
19745 # include <limits.h>
19746 #else
19747 # include <assert.h>
19748 #endif
19749 /* Override any gcc2 internal prototype to avoid an error.  */
19750 #ifdef __cplusplus
19751 extern "C"
19752 {
19753 #endif
19754 /* We use char because int might match the return type of a gcc2
19755    builtin and then its argument prototype would still apply.  */
19756 char $ac_func ();
19757 /* The GNU C library defines this for functions which it implements
19758     to always fail with ENOSYS.  Some functions are actually named
19759     something starting with __ and the normal name is an alias.  */
19760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19761 choke me
19762 #else
19763 char (*f) () = $ac_func;
19764 #endif
19765 #ifdef __cplusplus
19766 }
19767 #endif
19768
19769 int
19770 main ()
19771 {
19772 return f != $ac_func;
19773   ;
19774   return 0;
19775 }
19776 _ACEOF
19777 rm -f conftest.$ac_objext conftest$ac_exeext
19778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19779   (eval $ac_link) 2>&5
19780   ac_status=$?
19781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782   (exit $ac_status); } &&
19783          { ac_try='test -s conftest$ac_exeext'
19784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785   (eval $ac_try) 2>&5
19786   ac_status=$?
19787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788   (exit $ac_status); }; }; then
19789   eval "$as_ac_var=yes"
19790 else
19791   echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19793
19794 eval "$as_ac_var=no"
19795 fi
19796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19797 fi
19798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19800 if test `eval echo '${'$as_ac_var'}'` = yes; then
19801   cat >>confdefs.h <<_ACEOF
19802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19803 _ACEOF
19804
19805 fi
19806 done
19807
19808   else
19809
19810   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
19811 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
19812   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
19813     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
19814   echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19816
19817
19818
19819       ac_ext=cc
19820 ac_cpp='$CXXCPP $CPPFLAGS'
19821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19824
19825       cat >conftest.$ac_ext <<_ACEOF
19826 #line $LINENO "configure"
19827 /* confdefs.h.  */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h.  */
19832 #include <math.h>
19833 int
19834 main ()
19835 {
19836  _modfl(0, 0);
19837   ;
19838   return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19843   (eval $ac_compile) 2>&5
19844   ac_status=$?
19845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846   (exit $ac_status); } &&
19847          { ac_try='test -s conftest.$ac_objext'
19848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849   (eval $ac_try) 2>&5
19850   ac_status=$?
19851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852   (exit $ac_status); }; }; then
19853   glibcxx_cv_func__modfl_use=yes
19854 else
19855   echo "$as_me: failed program was:" >&5
19856 sed 's/^/| /' conftest.$ac_ext >&5
19857
19858 glibcxx_cv_func__modfl_use=no
19859 fi
19860 rm -f conftest.$ac_objext conftest.$ac_ext
19861       ac_ext=c
19862 ac_cpp='$CPP $CPPFLAGS'
19863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19866
19867
19868 fi
19869
19870   fi
19871   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
19872 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
19873
19874     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
19875
19876 for ac_func in _modfl
19877 do
19878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19879 echo "$as_me:$LINENO: checking for $ac_func" >&5
19880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19881 if eval "test \"\${$as_ac_var+set}\" = set"; then
19882   echo $ECHO_N "(cached) $ECHO_C" >&6
19883 else
19884   cat >conftest.$ac_ext <<_ACEOF
19885 #line $LINENO "configure"
19886 /* confdefs.h.  */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h.  */
19891 /* System header to define __stub macros and hopefully few prototypes,
19892     which can conflict with char $ac_func (); below.
19893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19894     <limits.h> exists even on freestanding compilers.  */
19895 #ifdef __STDC__
19896 # include <limits.h>
19897 #else
19898 # include <assert.h>
19899 #endif
19900 /* Override any gcc2 internal prototype to avoid an error.  */
19901 #ifdef __cplusplus
19902 extern "C"
19903 {
19904 #endif
19905 /* We use char because int might match the return type of a gcc2
19906    builtin and then its argument prototype would still apply.  */
19907 char $ac_func ();
19908 /* The GNU C library defines this for functions which it implements
19909     to always fail with ENOSYS.  Some functions are actually named
19910     something starting with __ and the normal name is an alias.  */
19911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19912 choke me
19913 #else
19914 char (*f) () = $ac_func;
19915 #endif
19916 #ifdef __cplusplus
19917 }
19918 #endif
19919
19920 int
19921 main ()
19922 {
19923 return f != $ac_func;
19924   ;
19925   return 0;
19926 }
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930   (eval $ac_link) 2>&5
19931   ac_status=$?
19932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933   (exit $ac_status); } &&
19934          { ac_try='test -s conftest$ac_exeext'
19935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936   (eval $ac_try) 2>&5
19937   ac_status=$?
19938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939   (exit $ac_status); }; }; then
19940   eval "$as_ac_var=yes"
19941 else
19942   echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19944
19945 eval "$as_ac_var=no"
19946 fi
19947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19948 fi
19949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19951 if test `eval echo '${'$as_ac_var'}'` = yes; then
19952   cat >>confdefs.h <<_ACEOF
19953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19954 _ACEOF
19955
19956 fi
19957 done
19958
19959     fi
19960   fi
19961
19962
19963
19964   echo "$as_me:$LINENO: checking for powl declaration" >&5
19965 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
19966   if test x${glibcxx_cv_func_powl_use+set} != xset; then
19967     if test "${glibcxx_cv_func_powl_use+set}" = set; then
19968   echo $ECHO_N "(cached) $ECHO_C" >&6
19969 else
19970
19971
19972
19973       ac_ext=cc
19974 ac_cpp='$CXXCPP $CPPFLAGS'
19975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19978
19979       cat >conftest.$ac_ext <<_ACEOF
19980 #line $LINENO "configure"
19981 /* confdefs.h.  */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h.  */
19986 #include <math.h>
19987 int
19988 main ()
19989 {
19990  powl(0, 0);
19991   ;
19992   return 0;
19993 }
19994 _ACEOF
19995 rm -f conftest.$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997   (eval $ac_compile) 2>&5
19998   ac_status=$?
19999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000   (exit $ac_status); } &&
20001          { ac_try='test -s conftest.$ac_objext'
20002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003   (eval $ac_try) 2>&5
20004   ac_status=$?
20005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006   (exit $ac_status); }; }; then
20007   glibcxx_cv_func_powl_use=yes
20008 else
20009   echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20011
20012 glibcxx_cv_func_powl_use=no
20013 fi
20014 rm -f conftest.$ac_objext conftest.$ac_ext
20015       ac_ext=c
20016 ac_cpp='$CPP $CPPFLAGS'
20017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20020
20021
20022 fi
20023
20024   fi
20025   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20026 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20027
20028   if test x$glibcxx_cv_func_powl_use = x"yes"; then
20029
20030 for ac_func in powl
20031 do
20032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20033 echo "$as_me:$LINENO: checking for $ac_func" >&5
20034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20035 if eval "test \"\${$as_ac_var+set}\" = set"; then
20036   echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038   cat >conftest.$ac_ext <<_ACEOF
20039 #line $LINENO "configure"
20040 /* confdefs.h.  */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h.  */
20045 /* System header to define __stub macros and hopefully few prototypes,
20046     which can conflict with char $ac_func (); below.
20047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20048     <limits.h> exists even on freestanding compilers.  */
20049 #ifdef __STDC__
20050 # include <limits.h>
20051 #else
20052 # include <assert.h>
20053 #endif
20054 /* Override any gcc2 internal prototype to avoid an error.  */
20055 #ifdef __cplusplus
20056 extern "C"
20057 {
20058 #endif
20059 /* We use char because int might match the return type of a gcc2
20060    builtin and then its argument prototype would still apply.  */
20061 char $ac_func ();
20062 /* The GNU C library defines this for functions which it implements
20063     to always fail with ENOSYS.  Some functions are actually named
20064     something starting with __ and the normal name is an alias.  */
20065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20066 choke me
20067 #else
20068 char (*f) () = $ac_func;
20069 #endif
20070 #ifdef __cplusplus
20071 }
20072 #endif
20073
20074 int
20075 main ()
20076 {
20077 return f != $ac_func;
20078   ;
20079   return 0;
20080 }
20081 _ACEOF
20082 rm -f conftest.$ac_objext conftest$ac_exeext
20083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20084   (eval $ac_link) 2>&5
20085   ac_status=$?
20086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087   (exit $ac_status); } &&
20088          { ac_try='test -s conftest$ac_exeext'
20089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20090   (eval $ac_try) 2>&5
20091   ac_status=$?
20092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093   (exit $ac_status); }; }; then
20094   eval "$as_ac_var=yes"
20095 else
20096   echo "$as_me: failed program was:" >&5
20097 sed 's/^/| /' conftest.$ac_ext >&5
20098
20099 eval "$as_ac_var=no"
20100 fi
20101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20102 fi
20103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20105 if test `eval echo '${'$as_ac_var'}'` = yes; then
20106   cat >>confdefs.h <<_ACEOF
20107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20108 _ACEOF
20109
20110 fi
20111 done
20112
20113   else
20114
20115   echo "$as_me:$LINENO: checking for _powl declaration" >&5
20116 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20117   if test x${glibcxx_cv_func__powl_use+set} != xset; then
20118     if test "${glibcxx_cv_func__powl_use+set}" = set; then
20119   echo $ECHO_N "(cached) $ECHO_C" >&6
20120 else
20121
20122
20123
20124       ac_ext=cc
20125 ac_cpp='$CXXCPP $CPPFLAGS'
20126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20129
20130       cat >conftest.$ac_ext <<_ACEOF
20131 #line $LINENO "configure"
20132 /* confdefs.h.  */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h.  */
20137 #include <math.h>
20138 int
20139 main ()
20140 {
20141  _powl(0, 0);
20142   ;
20143   return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest.$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148   (eval $ac_compile) 2>&5
20149   ac_status=$?
20150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151   (exit $ac_status); } &&
20152          { ac_try='test -s conftest.$ac_objext'
20153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154   (eval $ac_try) 2>&5
20155   ac_status=$?
20156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157   (exit $ac_status); }; }; then
20158   glibcxx_cv_func__powl_use=yes
20159 else
20160   echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20162
20163 glibcxx_cv_func__powl_use=no
20164 fi
20165 rm -f conftest.$ac_objext conftest.$ac_ext
20166       ac_ext=c
20167 ac_cpp='$CPP $CPPFLAGS'
20168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20171
20172
20173 fi
20174
20175   fi
20176   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20177 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20178
20179     if test x$glibcxx_cv_func__powl_use = x"yes"; then
20180
20181 for ac_func in _powl
20182 do
20183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20184 echo "$as_me:$LINENO: checking for $ac_func" >&5
20185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20186 if eval "test \"\${$as_ac_var+set}\" = set"; then
20187   echo $ECHO_N "(cached) $ECHO_C" >&6
20188 else
20189   cat >conftest.$ac_ext <<_ACEOF
20190 #line $LINENO "configure"
20191 /* confdefs.h.  */
20192 _ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h.  */
20196 /* System header to define __stub macros and hopefully few prototypes,
20197     which can conflict with char $ac_func (); below.
20198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20199     <limits.h> exists even on freestanding compilers.  */
20200 #ifdef __STDC__
20201 # include <limits.h>
20202 #else
20203 # include <assert.h>
20204 #endif
20205 /* Override any gcc2 internal prototype to avoid an error.  */
20206 #ifdef __cplusplus
20207 extern "C"
20208 {
20209 #endif
20210 /* We use char because int might match the return type of a gcc2
20211    builtin and then its argument prototype would still apply.  */
20212 char $ac_func ();
20213 /* The GNU C library defines this for functions which it implements
20214     to always fail with ENOSYS.  Some functions are actually named
20215     something starting with __ and the normal name is an alias.  */
20216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20217 choke me
20218 #else
20219 char (*f) () = $ac_func;
20220 #endif
20221 #ifdef __cplusplus
20222 }
20223 #endif
20224
20225 int
20226 main ()
20227 {
20228 return f != $ac_func;
20229   ;
20230   return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext conftest$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235   (eval $ac_link) 2>&5
20236   ac_status=$?
20237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238   (exit $ac_status); } &&
20239          { ac_try='test -s conftest$ac_exeext'
20240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241   (eval $ac_try) 2>&5
20242   ac_status=$?
20243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244   (exit $ac_status); }; }; then
20245   eval "$as_ac_var=yes"
20246 else
20247   echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20249
20250 eval "$as_ac_var=no"
20251 fi
20252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20253 fi
20254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20256 if test `eval echo '${'$as_ac_var'}'` = yes; then
20257   cat >>confdefs.h <<_ACEOF
20258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20259 _ACEOF
20260
20261 fi
20262 done
20263
20264     fi
20265   fi
20266
20267
20268
20269   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20270 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20271   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20272     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20273   echo $ECHO_N "(cached) $ECHO_C" >&6
20274 else
20275
20276
20277
20278       ac_ext=cc
20279 ac_cpp='$CXXCPP $CPPFLAGS'
20280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20283
20284       cat >conftest.$ac_ext <<_ACEOF
20285 #line $LINENO "configure"
20286 /* confdefs.h.  */
20287 _ACEOF
20288 cat confdefs.h >>conftest.$ac_ext
20289 cat >>conftest.$ac_ext <<_ACEOF
20290 /* end confdefs.h.  */
20291 #include <math.h>
20292                       #ifdef HAVE_IEEEFP_H
20293                       #include <ieeefp.h>
20294                       #endif
20295
20296 int
20297 main ()
20298 {
20299  sqrtl(0);
20300   ;
20301   return 0;
20302 }
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306   (eval $ac_compile) 2>&5
20307   ac_status=$?
20308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309   (exit $ac_status); } &&
20310          { ac_try='test -s conftest.$ac_objext'
20311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312   (eval $ac_try) 2>&5
20313   ac_status=$?
20314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315   (exit $ac_status); }; }; then
20316   glibcxx_cv_func_sqrtl_use=yes
20317 else
20318   echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.$ac_ext >&5
20320
20321 glibcxx_cv_func_sqrtl_use=no
20322 fi
20323 rm -f conftest.$ac_objext conftest.$ac_ext
20324       ac_ext=c
20325 ac_cpp='$CPP $CPPFLAGS'
20326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329
20330
20331 fi
20332
20333   fi
20334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20335 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20336
20337   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20338
20339 for ac_func in sqrtl
20340 do
20341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20342 echo "$as_me:$LINENO: checking for $ac_func" >&5
20343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20344 if eval "test \"\${$as_ac_var+set}\" = set"; then
20345   echo $ECHO_N "(cached) $ECHO_C" >&6
20346 else
20347   cat >conftest.$ac_ext <<_ACEOF
20348 #line $LINENO "configure"
20349 /* confdefs.h.  */
20350 _ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h.  */
20354 /* System header to define __stub macros and hopefully few prototypes,
20355     which can conflict with char $ac_func (); below.
20356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20357     <limits.h> exists even on freestanding compilers.  */
20358 #ifdef __STDC__
20359 # include <limits.h>
20360 #else
20361 # include <assert.h>
20362 #endif
20363 /* Override any gcc2 internal prototype to avoid an error.  */
20364 #ifdef __cplusplus
20365 extern "C"
20366 {
20367 #endif
20368 /* We use char because int might match the return type of a gcc2
20369    builtin and then its argument prototype would still apply.  */
20370 char $ac_func ();
20371 /* The GNU C library defines this for functions which it implements
20372     to always fail with ENOSYS.  Some functions are actually named
20373     something starting with __ and the normal name is an alias.  */
20374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20375 choke me
20376 #else
20377 char (*f) () = $ac_func;
20378 #endif
20379 #ifdef __cplusplus
20380 }
20381 #endif
20382
20383 int
20384 main ()
20385 {
20386 return f != $ac_func;
20387   ;
20388   return 0;
20389 }
20390 _ACEOF
20391 rm -f conftest.$ac_objext conftest$ac_exeext
20392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20393   (eval $ac_link) 2>&5
20394   ac_status=$?
20395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396   (exit $ac_status); } &&
20397          { ac_try='test -s conftest$ac_exeext'
20398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399   (eval $ac_try) 2>&5
20400   ac_status=$?
20401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402   (exit $ac_status); }; }; then
20403   eval "$as_ac_var=yes"
20404 else
20405   echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 eval "$as_ac_var=no"
20409 fi
20410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20411 fi
20412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20414 if test `eval echo '${'$as_ac_var'}'` = yes; then
20415   cat >>confdefs.h <<_ACEOF
20416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20417 _ACEOF
20418
20419 fi
20420 done
20421
20422   else
20423
20424   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20425 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20426   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20427     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20428   echo $ECHO_N "(cached) $ECHO_C" >&6
20429 else
20430
20431
20432
20433       ac_ext=cc
20434 ac_cpp='$CXXCPP $CPPFLAGS'
20435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20438
20439       cat >conftest.$ac_ext <<_ACEOF
20440 #line $LINENO "configure"
20441 /* confdefs.h.  */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h.  */
20446 #include <math.h>
20447                       #ifdef HAVE_IEEEFP_H
20448                       #include <ieeefp.h>
20449                       #endif
20450
20451 int
20452 main ()
20453 {
20454  _sqrtl(0);
20455   ;
20456   return 0;
20457 }
20458 _ACEOF
20459 rm -f conftest.$ac_objext
20460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20461   (eval $ac_compile) 2>&5
20462   ac_status=$?
20463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464   (exit $ac_status); } &&
20465          { ac_try='test -s conftest.$ac_objext'
20466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467   (eval $ac_try) 2>&5
20468   ac_status=$?
20469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470   (exit $ac_status); }; }; then
20471   glibcxx_cv_func__sqrtl_use=yes
20472 else
20473   echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20475
20476 glibcxx_cv_func__sqrtl_use=no
20477 fi
20478 rm -f conftest.$ac_objext conftest.$ac_ext
20479       ac_ext=c
20480 ac_cpp='$CPP $CPPFLAGS'
20481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20484
20485
20486 fi
20487
20488   fi
20489   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20490 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20491
20492     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20493
20494 for ac_func in _sqrtl
20495 do
20496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20497 echo "$as_me:$LINENO: checking for $ac_func" >&5
20498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20499 if eval "test \"\${$as_ac_var+set}\" = set"; then
20500   echo $ECHO_N "(cached) $ECHO_C" >&6
20501 else
20502   cat >conftest.$ac_ext <<_ACEOF
20503 #line $LINENO "configure"
20504 /* confdefs.h.  */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h.  */
20509 /* System header to define __stub macros and hopefully few prototypes,
20510     which can conflict with char $ac_func (); below.
20511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20512     <limits.h> exists even on freestanding compilers.  */
20513 #ifdef __STDC__
20514 # include <limits.h>
20515 #else
20516 # include <assert.h>
20517 #endif
20518 /* Override any gcc2 internal prototype to avoid an error.  */
20519 #ifdef __cplusplus
20520 extern "C"
20521 {
20522 #endif
20523 /* We use char because int might match the return type of a gcc2
20524    builtin and then its argument prototype would still apply.  */
20525 char $ac_func ();
20526 /* The GNU C library defines this for functions which it implements
20527     to always fail with ENOSYS.  Some functions are actually named
20528     something starting with __ and the normal name is an alias.  */
20529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20530 choke me
20531 #else
20532 char (*f) () = $ac_func;
20533 #endif
20534 #ifdef __cplusplus
20535 }
20536 #endif
20537
20538 int
20539 main ()
20540 {
20541 return f != $ac_func;
20542   ;
20543   return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest.$ac_objext conftest$ac_exeext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20548   (eval $ac_link) 2>&5
20549   ac_status=$?
20550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551   (exit $ac_status); } &&
20552          { ac_try='test -s conftest$ac_exeext'
20553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554   (eval $ac_try) 2>&5
20555   ac_status=$?
20556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557   (exit $ac_status); }; }; then
20558   eval "$as_ac_var=yes"
20559 else
20560   echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 eval "$as_ac_var=no"
20564 fi
20565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20566 fi
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20569 if test `eval echo '${'$as_ac_var'}'` = yes; then
20570   cat >>confdefs.h <<_ACEOF
20571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20572 _ACEOF
20573
20574 fi
20575 done
20576
20577     fi
20578   fi
20579
20580
20581
20582   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20583 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20584   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20585     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20586   echo $ECHO_N "(cached) $ECHO_C" >&6
20587 else
20588
20589
20590
20591       ac_ext=cc
20592 ac_cpp='$CXXCPP $CPPFLAGS'
20593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20596
20597       cat >conftest.$ac_ext <<_ACEOF
20598 #line $LINENO "configure"
20599 /* confdefs.h.  */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h.  */
20604 #include <math.h>
20605 int
20606 main ()
20607 {
20608  sincosl(0, 0, 0);
20609   ;
20610   return 0;
20611 }
20612 _ACEOF
20613 rm -f conftest.$ac_objext
20614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20615   (eval $ac_compile) 2>&5
20616   ac_status=$?
20617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618   (exit $ac_status); } &&
20619          { ac_try='test -s conftest.$ac_objext'
20620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621   (eval $ac_try) 2>&5
20622   ac_status=$?
20623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624   (exit $ac_status); }; }; then
20625   glibcxx_cv_func_sincosl_use=yes
20626 else
20627   echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20629
20630 glibcxx_cv_func_sincosl_use=no
20631 fi
20632 rm -f conftest.$ac_objext conftest.$ac_ext
20633       ac_ext=c
20634 ac_cpp='$CPP $CPPFLAGS'
20635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20638
20639
20640 fi
20641
20642   fi
20643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
20644 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
20645
20646   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
20647
20648 for ac_func in sincosl
20649 do
20650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20651 echo "$as_me:$LINENO: checking for $ac_func" >&5
20652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20653 if eval "test \"\${$as_ac_var+set}\" = set"; then
20654   echo $ECHO_N "(cached) $ECHO_C" >&6
20655 else
20656   cat >conftest.$ac_ext <<_ACEOF
20657 #line $LINENO "configure"
20658 /* confdefs.h.  */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h.  */
20663 /* System header to define __stub macros and hopefully few prototypes,
20664     which can conflict with char $ac_func (); below.
20665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20666     <limits.h> exists even on freestanding compilers.  */
20667 #ifdef __STDC__
20668 # include <limits.h>
20669 #else
20670 # include <assert.h>
20671 #endif
20672 /* Override any gcc2 internal prototype to avoid an error.  */
20673 #ifdef __cplusplus
20674 extern "C"
20675 {
20676 #endif
20677 /* We use char because int might match the return type of a gcc2
20678    builtin and then its argument prototype would still apply.  */
20679 char $ac_func ();
20680 /* The GNU C library defines this for functions which it implements
20681     to always fail with ENOSYS.  Some functions are actually named
20682     something starting with __ and the normal name is an alias.  */
20683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20684 choke me
20685 #else
20686 char (*f) () = $ac_func;
20687 #endif
20688 #ifdef __cplusplus
20689 }
20690 #endif
20691
20692 int
20693 main ()
20694 {
20695 return f != $ac_func;
20696   ;
20697   return 0;
20698 }
20699 _ACEOF
20700 rm -f conftest.$ac_objext conftest$ac_exeext
20701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20702   (eval $ac_link) 2>&5
20703   ac_status=$?
20704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705   (exit $ac_status); } &&
20706          { ac_try='test -s conftest$ac_exeext'
20707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708   (eval $ac_try) 2>&5
20709   ac_status=$?
20710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711   (exit $ac_status); }; }; then
20712   eval "$as_ac_var=yes"
20713 else
20714   echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.$ac_ext >&5
20716
20717 eval "$as_ac_var=no"
20718 fi
20719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20720 fi
20721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20723 if test `eval echo '${'$as_ac_var'}'` = yes; then
20724   cat >>confdefs.h <<_ACEOF
20725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20726 _ACEOF
20727
20728 fi
20729 done
20730
20731   else
20732
20733   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
20734 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
20735   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
20736     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
20737   echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739
20740
20741
20742       ac_ext=cc
20743 ac_cpp='$CXXCPP $CPPFLAGS'
20744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20747
20748       cat >conftest.$ac_ext <<_ACEOF
20749 #line $LINENO "configure"
20750 /* confdefs.h.  */
20751 _ACEOF
20752 cat confdefs.h >>conftest.$ac_ext
20753 cat >>conftest.$ac_ext <<_ACEOF
20754 /* end confdefs.h.  */
20755 #include <math.h>
20756 int
20757 main ()
20758 {
20759  _sincosl(0, 0, 0);
20760   ;
20761   return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20766   (eval $ac_compile) 2>&5
20767   ac_status=$?
20768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769   (exit $ac_status); } &&
20770          { ac_try='test -s conftest.$ac_objext'
20771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772   (eval $ac_try) 2>&5
20773   ac_status=$?
20774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775   (exit $ac_status); }; }; then
20776   glibcxx_cv_func__sincosl_use=yes
20777 else
20778   echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20780
20781 glibcxx_cv_func__sincosl_use=no
20782 fi
20783 rm -f conftest.$ac_objext conftest.$ac_ext
20784       ac_ext=c
20785 ac_cpp='$CPP $CPPFLAGS'
20786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20789
20790
20791 fi
20792
20793   fi
20794   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
20795 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
20796
20797     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
20798
20799 for ac_func in _sincosl
20800 do
20801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20802 echo "$as_me:$LINENO: checking for $ac_func" >&5
20803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20804 if eval "test \"\${$as_ac_var+set}\" = set"; then
20805   echo $ECHO_N "(cached) $ECHO_C" >&6
20806 else
20807   cat >conftest.$ac_ext <<_ACEOF
20808 #line $LINENO "configure"
20809 /* confdefs.h.  */
20810 _ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h.  */
20814 /* System header to define __stub macros and hopefully few prototypes,
20815     which can conflict with char $ac_func (); below.
20816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20817     <limits.h> exists even on freestanding compilers.  */
20818 #ifdef __STDC__
20819 # include <limits.h>
20820 #else
20821 # include <assert.h>
20822 #endif
20823 /* Override any gcc2 internal prototype to avoid an error.  */
20824 #ifdef __cplusplus
20825 extern "C"
20826 {
20827 #endif
20828 /* We use char because int might match the return type of a gcc2
20829    builtin and then its argument prototype would still apply.  */
20830 char $ac_func ();
20831 /* The GNU C library defines this for functions which it implements
20832     to always fail with ENOSYS.  Some functions are actually named
20833     something starting with __ and the normal name is an alias.  */
20834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20835 choke me
20836 #else
20837 char (*f) () = $ac_func;
20838 #endif
20839 #ifdef __cplusplus
20840 }
20841 #endif
20842
20843 int
20844 main ()
20845 {
20846 return f != $ac_func;
20847   ;
20848   return 0;
20849 }
20850 _ACEOF
20851 rm -f conftest.$ac_objext conftest$ac_exeext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20853   (eval $ac_link) 2>&5
20854   ac_status=$?
20855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856   (exit $ac_status); } &&
20857          { ac_try='test -s conftest$ac_exeext'
20858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859   (eval $ac_try) 2>&5
20860   ac_status=$?
20861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862   (exit $ac_status); }; }; then
20863   eval "$as_ac_var=yes"
20864 else
20865   echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.$ac_ext >&5
20867
20868 eval "$as_ac_var=no"
20869 fi
20870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20871 fi
20872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20874 if test `eval echo '${'$as_ac_var'}'` = yes; then
20875   cat >>confdefs.h <<_ACEOF
20876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20877 _ACEOF
20878
20879 fi
20880 done
20881
20882     fi
20883   fi
20884
20885
20886
20887   echo "$as_me:$LINENO: checking for finitel declaration" >&5
20888 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
20889   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
20890     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
20891   echo $ECHO_N "(cached) $ECHO_C" >&6
20892 else
20893
20894
20895
20896       ac_ext=cc
20897 ac_cpp='$CXXCPP $CPPFLAGS'
20898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20901
20902       cat >conftest.$ac_ext <<_ACEOF
20903 #line $LINENO "configure"
20904 /* confdefs.h.  */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h.  */
20909 #include <math.h>
20910                       #ifdef HAVE_IEEEFP_H
20911                       #include <ieeefp.h>
20912                       #endif
20913
20914 int
20915 main ()
20916 {
20917  finitel(0);
20918   ;
20919   return 0;
20920 }
20921 _ACEOF
20922 rm -f conftest.$ac_objext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20924   (eval $ac_compile) 2>&5
20925   ac_status=$?
20926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927   (exit $ac_status); } &&
20928          { ac_try='test -s conftest.$ac_objext'
20929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930   (eval $ac_try) 2>&5
20931   ac_status=$?
20932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933   (exit $ac_status); }; }; then
20934   glibcxx_cv_func_finitel_use=yes
20935 else
20936   echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20938
20939 glibcxx_cv_func_finitel_use=no
20940 fi
20941 rm -f conftest.$ac_objext conftest.$ac_ext
20942       ac_ext=c
20943 ac_cpp='$CPP $CPPFLAGS'
20944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20947
20948
20949 fi
20950
20951   fi
20952   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
20953 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
20954
20955   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
20956
20957 for ac_func in finitel
20958 do
20959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20960 echo "$as_me:$LINENO: checking for $ac_func" >&5
20961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20962 if eval "test \"\${$as_ac_var+set}\" = set"; then
20963   echo $ECHO_N "(cached) $ECHO_C" >&6
20964 else
20965   cat >conftest.$ac_ext <<_ACEOF
20966 #line $LINENO "configure"
20967 /* confdefs.h.  */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h.  */
20972 /* System header to define __stub macros and hopefully few prototypes,
20973     which can conflict with char $ac_func (); below.
20974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20975     <limits.h> exists even on freestanding compilers.  */
20976 #ifdef __STDC__
20977 # include <limits.h>
20978 #else
20979 # include <assert.h>
20980 #endif
20981 /* Override any gcc2 internal prototype to avoid an error.  */
20982 #ifdef __cplusplus
20983 extern "C"
20984 {
20985 #endif
20986 /* We use char because int might match the return type of a gcc2
20987    builtin and then its argument prototype would still apply.  */
20988 char $ac_func ();
20989 /* The GNU C library defines this for functions which it implements
20990     to always fail with ENOSYS.  Some functions are actually named
20991     something starting with __ and the normal name is an alias.  */
20992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20993 choke me
20994 #else
20995 char (*f) () = $ac_func;
20996 #endif
20997 #ifdef __cplusplus
20998 }
20999 #endif
21000
21001 int
21002 main ()
21003 {
21004 return f != $ac_func;
21005   ;
21006   return 0;
21007 }
21008 _ACEOF
21009 rm -f conftest.$ac_objext conftest$ac_exeext
21010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21011   (eval $ac_link) 2>&5
21012   ac_status=$?
21013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014   (exit $ac_status); } &&
21015          { ac_try='test -s conftest$ac_exeext'
21016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017   (eval $ac_try) 2>&5
21018   ac_status=$?
21019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020   (exit $ac_status); }; }; then
21021   eval "$as_ac_var=yes"
21022 else
21023   echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21025
21026 eval "$as_ac_var=no"
21027 fi
21028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21029 fi
21030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21032 if test `eval echo '${'$as_ac_var'}'` = yes; then
21033   cat >>confdefs.h <<_ACEOF
21034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21035 _ACEOF
21036
21037 fi
21038 done
21039
21040   else
21041
21042   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21043 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21044   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21045     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21046   echo $ECHO_N "(cached) $ECHO_C" >&6
21047 else
21048
21049
21050
21051       ac_ext=cc
21052 ac_cpp='$CXXCPP $CPPFLAGS'
21053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21056
21057       cat >conftest.$ac_ext <<_ACEOF
21058 #line $LINENO "configure"
21059 /* confdefs.h.  */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h.  */
21064 #include <math.h>
21065                       #ifdef HAVE_IEEEFP_H
21066                       #include <ieeefp.h>
21067                       #endif
21068
21069 int
21070 main ()
21071 {
21072  _finitel(0);
21073   ;
21074   return 0;
21075 }
21076 _ACEOF
21077 rm -f conftest.$ac_objext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21079   (eval $ac_compile) 2>&5
21080   ac_status=$?
21081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082   (exit $ac_status); } &&
21083          { ac_try='test -s conftest.$ac_objext'
21084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085   (eval $ac_try) 2>&5
21086   ac_status=$?
21087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088   (exit $ac_status); }; }; then
21089   glibcxx_cv_func__finitel_use=yes
21090 else
21091   echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21093
21094 glibcxx_cv_func__finitel_use=no
21095 fi
21096 rm -f conftest.$ac_objext conftest.$ac_ext
21097       ac_ext=c
21098 ac_cpp='$CPP $CPPFLAGS'
21099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21102
21103
21104 fi
21105
21106   fi
21107   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21108 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21109
21110     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21111
21112 for ac_func in _finitel
21113 do
21114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21115 echo "$as_me:$LINENO: checking for $ac_func" >&5
21116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21117 if eval "test \"\${$as_ac_var+set}\" = set"; then
21118   echo $ECHO_N "(cached) $ECHO_C" >&6
21119 else
21120   cat >conftest.$ac_ext <<_ACEOF
21121 #line $LINENO "configure"
21122 /* confdefs.h.  */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h.  */
21127 /* System header to define __stub macros and hopefully few prototypes,
21128     which can conflict with char $ac_func (); below.
21129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21130     <limits.h> exists even on freestanding compilers.  */
21131 #ifdef __STDC__
21132 # include <limits.h>
21133 #else
21134 # include <assert.h>
21135 #endif
21136 /* Override any gcc2 internal prototype to avoid an error.  */
21137 #ifdef __cplusplus
21138 extern "C"
21139 {
21140 #endif
21141 /* We use char because int might match the return type of a gcc2
21142    builtin and then its argument prototype would still apply.  */
21143 char $ac_func ();
21144 /* The GNU C library defines this for functions which it implements
21145     to always fail with ENOSYS.  Some functions are actually named
21146     something starting with __ and the normal name is an alias.  */
21147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21148 choke me
21149 #else
21150 char (*f) () = $ac_func;
21151 #endif
21152 #ifdef __cplusplus
21153 }
21154 #endif
21155
21156 int
21157 main ()
21158 {
21159 return f != $ac_func;
21160   ;
21161   return 0;
21162 }
21163 _ACEOF
21164 rm -f conftest.$ac_objext conftest$ac_exeext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21166   (eval $ac_link) 2>&5
21167   ac_status=$?
21168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169   (exit $ac_status); } &&
21170          { ac_try='test -s conftest$ac_exeext'
21171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172   (eval $ac_try) 2>&5
21173   ac_status=$?
21174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175   (exit $ac_status); }; }; then
21176   eval "$as_ac_var=yes"
21177 else
21178   echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21180
21181 eval "$as_ac_var=no"
21182 fi
21183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21184 fi
21185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21187 if test `eval echo '${'$as_ac_var'}'` = yes; then
21188   cat >>confdefs.h <<_ACEOF
21189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21190 _ACEOF
21191
21192 fi
21193 done
21194
21195     fi
21196   fi
21197
21198
21199
21200
21201   echo "$as_me:$LINENO: checking for _float trig functions" >&5
21202 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21203   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21204   echo $ECHO_N "(cached) $ECHO_C" >&6
21205 else
21206
21207
21208
21209     ac_ext=cc
21210 ac_cpp='$CXXCPP $CPPFLAGS'
21211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21214
21215     cat >conftest.$ac_ext <<_ACEOF
21216 #line $LINENO "configure"
21217 /* confdefs.h.  */
21218 _ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h.  */
21222 #include <math.h>
21223 int
21224 main ()
21225 {
21226  `for x in _acosf _asinf _atanf \
21227                                           _cosf _sinf _tanf \
21228                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21229   ;
21230   return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21235   (eval $ac_compile) 2>&5
21236   ac_status=$?
21237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238   (exit $ac_status); } &&
21239          { ac_try='test -s conftest.$ac_objext'
21240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241   (eval $ac_try) 2>&5
21242   ac_status=$?
21243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244   (exit $ac_status); }; }; then
21245   glibcxx_cv_func__float_trig_use=yes
21246 else
21247   echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.$ac_ext >&5
21249
21250 glibcxx_cv_func__float_trig_use=no
21251 fi
21252 rm -f conftest.$ac_objext conftest.$ac_ext
21253     ac_ext=c
21254 ac_cpp='$CPP $CPPFLAGS'
21255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258
21259 fi
21260
21261   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21262 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21263   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273 for ac_func in _acosf _asinf _atanf \
21274                                           _cosf _sinf _tanf \
21275                                           _coshf _sinhf _tanhf
21276 do
21277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21278 echo "$as_me:$LINENO: checking for $ac_func" >&5
21279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21280 if eval "test \"\${$as_ac_var+set}\" = set"; then
21281   echo $ECHO_N "(cached) $ECHO_C" >&6
21282 else
21283   cat >conftest.$ac_ext <<_ACEOF
21284 #line $LINENO "configure"
21285 /* confdefs.h.  */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h.  */
21290 /* System header to define __stub macros and hopefully few prototypes,
21291     which can conflict with char $ac_func (); below.
21292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21293     <limits.h> exists even on freestanding compilers.  */
21294 #ifdef __STDC__
21295 # include <limits.h>
21296 #else
21297 # include <assert.h>
21298 #endif
21299 /* Override any gcc2 internal prototype to avoid an error.  */
21300 #ifdef __cplusplus
21301 extern "C"
21302 {
21303 #endif
21304 /* We use char because int might match the return type of a gcc2
21305    builtin and then its argument prototype would still apply.  */
21306 char $ac_func ();
21307 /* The GNU C library defines this for functions which it implements
21308     to always fail with ENOSYS.  Some functions are actually named
21309     something starting with __ and the normal name is an alias.  */
21310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21311 choke me
21312 #else
21313 char (*f) () = $ac_func;
21314 #endif
21315 #ifdef __cplusplus
21316 }
21317 #endif
21318
21319 int
21320 main ()
21321 {
21322 return f != $ac_func;
21323   ;
21324   return 0;
21325 }
21326 _ACEOF
21327 rm -f conftest.$ac_objext conftest$ac_exeext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21329   (eval $ac_link) 2>&5
21330   ac_status=$?
21331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332   (exit $ac_status); } &&
21333          { ac_try='test -s conftest$ac_exeext'
21334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335   (eval $ac_try) 2>&5
21336   ac_status=$?
21337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338   (exit $ac_status); }; }; then
21339   eval "$as_ac_var=yes"
21340 else
21341   echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21343
21344 eval "$as_ac_var=no"
21345 fi
21346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21347 fi
21348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21350 if test `eval echo '${'$as_ac_var'}'` = yes; then
21351   cat >>confdefs.h <<_ACEOF
21352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21353 _ACEOF
21354
21355 fi
21356 done
21357
21358   fi
21359
21360
21361   echo "$as_me:$LINENO: checking for _float round functions" >&5
21362 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21363   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21364   echo $ECHO_N "(cached) $ECHO_C" >&6
21365 else
21366
21367
21368
21369     ac_ext=cc
21370 ac_cpp='$CXXCPP $CPPFLAGS'
21371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21374
21375     cat >conftest.$ac_ext <<_ACEOF
21376 #line $LINENO "configure"
21377 /* confdefs.h.  */
21378 _ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h.  */
21382 #include <math.h>
21383 int
21384 main ()
21385 {
21386  `for x in _ceilf _floorf; do echo "$x (0);"; done`
21387   ;
21388   return 0;
21389 }
21390 _ACEOF
21391 rm -f conftest.$ac_objext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21393   (eval $ac_compile) 2>&5
21394   ac_status=$?
21395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396   (exit $ac_status); } &&
21397          { ac_try='test -s conftest.$ac_objext'
21398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399   (eval $ac_try) 2>&5
21400   ac_status=$?
21401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402   (exit $ac_status); }; }; then
21403   glibcxx_cv_func__float_round_use=yes
21404 else
21405   echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 glibcxx_cv_func__float_round_use=no
21409 fi
21410 rm -f conftest.$ac_objext conftest.$ac_ext
21411     ac_ext=c
21412 ac_cpp='$CPP $CPPFLAGS'
21413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21416
21417 fi
21418
21419   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21420 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21421   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21422
21423
21424 for ac_func in _ceilf _floorf
21425 do
21426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21427 echo "$as_me:$LINENO: checking for $ac_func" >&5
21428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21429 if eval "test \"\${$as_ac_var+set}\" = set"; then
21430   echo $ECHO_N "(cached) $ECHO_C" >&6
21431 else
21432   cat >conftest.$ac_ext <<_ACEOF
21433 #line $LINENO "configure"
21434 /* confdefs.h.  */
21435 _ACEOF
21436 cat confdefs.h >>conftest.$ac_ext
21437 cat >>conftest.$ac_ext <<_ACEOF
21438 /* end confdefs.h.  */
21439 /* System header to define __stub macros and hopefully few prototypes,
21440     which can conflict with char $ac_func (); below.
21441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21442     <limits.h> exists even on freestanding compilers.  */
21443 #ifdef __STDC__
21444 # include <limits.h>
21445 #else
21446 # include <assert.h>
21447 #endif
21448 /* Override any gcc2 internal prototype to avoid an error.  */
21449 #ifdef __cplusplus
21450 extern "C"
21451 {
21452 #endif
21453 /* We use char because int might match the return type of a gcc2
21454    builtin and then its argument prototype would still apply.  */
21455 char $ac_func ();
21456 /* The GNU C library defines this for functions which it implements
21457     to always fail with ENOSYS.  Some functions are actually named
21458     something starting with __ and the normal name is an alias.  */
21459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21460 choke me
21461 #else
21462 char (*f) () = $ac_func;
21463 #endif
21464 #ifdef __cplusplus
21465 }
21466 #endif
21467
21468 int
21469 main ()
21470 {
21471 return f != $ac_func;
21472   ;
21473   return 0;
21474 }
21475 _ACEOF
21476 rm -f conftest.$ac_objext conftest$ac_exeext
21477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21478   (eval $ac_link) 2>&5
21479   ac_status=$?
21480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481   (exit $ac_status); } &&
21482          { ac_try='test -s conftest$ac_exeext'
21483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21484   (eval $ac_try) 2>&5
21485   ac_status=$?
21486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487   (exit $ac_status); }; }; then
21488   eval "$as_ac_var=yes"
21489 else
21490   echo "$as_me: failed program was:" >&5
21491 sed 's/^/| /' conftest.$ac_ext >&5
21492
21493 eval "$as_ac_var=no"
21494 fi
21495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21496 fi
21497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21499 if test `eval echo '${'$as_ac_var'}'` = yes; then
21500   cat >>confdefs.h <<_ACEOF
21501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21502 _ACEOF
21503
21504 fi
21505 done
21506
21507   fi
21508
21509
21510
21511   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21512 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21513   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21514   echo $ECHO_N "(cached) $ECHO_C" >&6
21515 else
21516
21517
21518
21519     ac_ext=cc
21520 ac_cpp='$CXXCPP $CPPFLAGS'
21521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21524
21525     cat >conftest.$ac_ext <<_ACEOF
21526 #line $LINENO "configure"
21527 /* confdefs.h.  */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h.  */
21532 #include <math.h>
21533 int
21534 main ()
21535 {
21536  `for x in _acosl _asinl _atanl \
21537                                           _cosl _sinl _tanl \
21538                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21539   ;
21540   return 0;
21541 }
21542 _ACEOF
21543 rm -f conftest.$ac_objext
21544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21545   (eval $ac_compile) 2>&5
21546   ac_status=$?
21547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548   (exit $ac_status); } &&
21549          { ac_try='test -s conftest.$ac_objext'
21550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551   (eval $ac_try) 2>&5
21552   ac_status=$?
21553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554   (exit $ac_status); }; }; then
21555   glibcxx_cv_func__long_double_trig_use=yes
21556 else
21557   echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21559
21560 glibcxx_cv_func__long_double_trig_use=no
21561 fi
21562 rm -f conftest.$ac_objext conftest.$ac_ext
21563     ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568
21569 fi
21570
21571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21572 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21573   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583 for ac_func in _acosl _asinl _atanl \
21584                                           _cosl _sinl _tanl \
21585                                           _coshl _sinhl _tanhl
21586 do
21587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21588 echo "$as_me:$LINENO: checking for $ac_func" >&5
21589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21590 if eval "test \"\${$as_ac_var+set}\" = set"; then
21591   echo $ECHO_N "(cached) $ECHO_C" >&6
21592 else
21593   cat >conftest.$ac_ext <<_ACEOF
21594 #line $LINENO "configure"
21595 /* confdefs.h.  */
21596 _ACEOF
21597 cat confdefs.h >>conftest.$ac_ext
21598 cat >>conftest.$ac_ext <<_ACEOF
21599 /* end confdefs.h.  */
21600 /* System header to define __stub macros and hopefully few prototypes,
21601     which can conflict with char $ac_func (); below.
21602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21603     <limits.h> exists even on freestanding compilers.  */
21604 #ifdef __STDC__
21605 # include <limits.h>
21606 #else
21607 # include <assert.h>
21608 #endif
21609 /* Override any gcc2 internal prototype to avoid an error.  */
21610 #ifdef __cplusplus
21611 extern "C"
21612 {
21613 #endif
21614 /* We use char because int might match the return type of a gcc2
21615    builtin and then its argument prototype would still apply.  */
21616 char $ac_func ();
21617 /* The GNU C library defines this for functions which it implements
21618     to always fail with ENOSYS.  Some functions are actually named
21619     something starting with __ and the normal name is an alias.  */
21620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21621 choke me
21622 #else
21623 char (*f) () = $ac_func;
21624 #endif
21625 #ifdef __cplusplus
21626 }
21627 #endif
21628
21629 int
21630 main ()
21631 {
21632 return f != $ac_func;
21633   ;
21634   return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext conftest$ac_exeext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21639   (eval $ac_link) 2>&5
21640   ac_status=$?
21641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642   (exit $ac_status); } &&
21643          { ac_try='test -s conftest$ac_exeext'
21644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645   (eval $ac_try) 2>&5
21646   ac_status=$?
21647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648   (exit $ac_status); }; }; then
21649   eval "$as_ac_var=yes"
21650 else
21651   echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21653
21654 eval "$as_ac_var=no"
21655 fi
21656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21657 fi
21658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21660 if test `eval echo '${'$as_ac_var'}'` = yes; then
21661   cat >>confdefs.h <<_ACEOF
21662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21663 _ACEOF
21664
21665 fi
21666 done
21667
21668   fi
21669
21670
21671   echo "$as_me:$LINENO: checking for _long double round functions" >&5
21672 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
21673   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
21674   echo $ECHO_N "(cached) $ECHO_C" >&6
21675 else
21676
21677
21678
21679     ac_ext=cc
21680 ac_cpp='$CXXCPP $CPPFLAGS'
21681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684
21685     cat >conftest.$ac_ext <<_ACEOF
21686 #line $LINENO "configure"
21687 /* confdefs.h.  */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h.  */
21692 #include <math.h>
21693 int
21694 main ()
21695 {
21696  `for x in _ceill _floorl; do echo "$x (0);"; done`
21697   ;
21698   return 0;
21699 }
21700 _ACEOF
21701 rm -f conftest.$ac_objext
21702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21703   (eval $ac_compile) 2>&5
21704   ac_status=$?
21705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706   (exit $ac_status); } &&
21707          { ac_try='test -s conftest.$ac_objext'
21708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709   (eval $ac_try) 2>&5
21710   ac_status=$?
21711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712   (exit $ac_status); }; }; then
21713   glibcxx_cv_func__long_double_round_use=yes
21714 else
21715   echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21717
21718 glibcxx_cv_func__long_double_round_use=no
21719 fi
21720 rm -f conftest.$ac_objext conftest.$ac_ext
21721     ac_ext=c
21722 ac_cpp='$CPP $CPPFLAGS'
21723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21726
21727 fi
21728
21729   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
21730 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
21731   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
21732
21733
21734 for ac_func in _ceill _floorl
21735 do
21736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21737 echo "$as_me:$LINENO: checking for $ac_func" >&5
21738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21739 if eval "test \"\${$as_ac_var+set}\" = set"; then
21740   echo $ECHO_N "(cached) $ECHO_C" >&6
21741 else
21742   cat >conftest.$ac_ext <<_ACEOF
21743 #line $LINENO "configure"
21744 /* confdefs.h.  */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h.  */
21749 /* System header to define __stub macros and hopefully few prototypes,
21750     which can conflict with char $ac_func (); below.
21751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21752     <limits.h> exists even on freestanding compilers.  */
21753 #ifdef __STDC__
21754 # include <limits.h>
21755 #else
21756 # include <assert.h>
21757 #endif
21758 /* Override any gcc2 internal prototype to avoid an error.  */
21759 #ifdef __cplusplus
21760 extern "C"
21761 {
21762 #endif
21763 /* We use char because int might match the return type of a gcc2
21764    builtin and then its argument prototype would still apply.  */
21765 char $ac_func ();
21766 /* The GNU C library defines this for functions which it implements
21767     to always fail with ENOSYS.  Some functions are actually named
21768     something starting with __ and the normal name is an alias.  */
21769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21770 choke me
21771 #else
21772 char (*f) () = $ac_func;
21773 #endif
21774 #ifdef __cplusplus
21775 }
21776 #endif
21777
21778 int
21779 main ()
21780 {
21781 return f != $ac_func;
21782   ;
21783   return 0;
21784 }
21785 _ACEOF
21786 rm -f conftest.$ac_objext conftest$ac_exeext
21787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21788   (eval $ac_link) 2>&5
21789   ac_status=$?
21790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791   (exit $ac_status); } &&
21792          { ac_try='test -s conftest$ac_exeext'
21793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21794   (eval $ac_try) 2>&5
21795   ac_status=$?
21796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797   (exit $ac_status); }; }; then
21798   eval "$as_ac_var=yes"
21799 else
21800   echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21802
21803 eval "$as_ac_var=no"
21804 fi
21805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21806 fi
21807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21809 if test `eval echo '${'$as_ac_var'}'` = yes; then
21810   cat >>confdefs.h <<_ACEOF
21811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21812 _ACEOF
21813
21814 fi
21815 done
21816
21817   fi
21818
21819
21820   LIBS="$ac_save_LIBS"
21821   CXXFLAGS="$ac_save_CXXFLAGS"
21822
21823
21824
21825   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
21826 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
21827   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
21828     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
21829   echo $ECHO_N "(cached) $ECHO_C" >&6
21830 else
21831
21832
21833
21834       ac_ext=cc
21835 ac_cpp='$CXXCPP $CPPFLAGS'
21836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21839
21840       cat >conftest.$ac_ext <<_ACEOF
21841 #line $LINENO "configure"
21842 /* confdefs.h.  */
21843 _ACEOF
21844 cat confdefs.h >>conftest.$ac_ext
21845 cat >>conftest.$ac_ext <<_ACEOF
21846 /* end confdefs.h.  */
21847 #include <math.h>
21848 int
21849 main ()
21850 {
21851  __builtin_abs(0);
21852   ;
21853   return 0;
21854 }
21855 _ACEOF
21856 rm -f conftest.$ac_objext
21857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21858   (eval $ac_compile) 2>&5
21859   ac_status=$?
21860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861   (exit $ac_status); } &&
21862          { ac_try='test -s conftest.$ac_objext'
21863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864   (eval $ac_try) 2>&5
21865   ac_status=$?
21866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867   (exit $ac_status); }; }; then
21868   glibcxx_cv_func___builtin_abs_use=yes
21869 else
21870   echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.$ac_ext >&5
21872
21873 glibcxx_cv_func___builtin_abs_use=no
21874 fi
21875 rm -f conftest.$ac_objext conftest.$ac_ext
21876       ac_ext=c
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881
21882
21883 fi
21884
21885   fi
21886   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
21887 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
21888   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
21889     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
21890 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
21891     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
21892       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
21893   echo $ECHO_N "(cached) $ECHO_C" >&6
21894 else
21895
21896         cat >conftest.$ac_ext <<_ACEOF
21897 #line $LINENO "configure"
21898 /* confdefs.h.  */
21899 _ACEOF
21900 cat confdefs.h >>conftest.$ac_ext
21901 cat >>conftest.$ac_ext <<_ACEOF
21902 /* end confdefs.h.  */
21903 #include <math.h>
21904 int
21905 main ()
21906 {
21907  __builtin_abs(0);
21908   ;
21909   return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest.$ac_objext conftest$ac_exeext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21914   (eval $ac_link) 2>&5
21915   ac_status=$?
21916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917   (exit $ac_status); } &&
21918          { ac_try='test -s conftest$ac_exeext'
21919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920   (eval $ac_try) 2>&5
21921   ac_status=$?
21922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923   (exit $ac_status); }; }; then
21924   glibcxx_cv_func___builtin_abs_link=yes
21925 else
21926   echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21928
21929 glibcxx_cv_func___builtin_abs_link=no
21930 fi
21931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21932
21933 fi
21934
21935     fi
21936     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
21937 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
21938     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
21939       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21940       cat >>confdefs.h <<_ACEOF
21941 #define ${ac_tr_func} 1
21942 _ACEOF
21943
21944     fi
21945   fi
21946
21947
21948   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
21949 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
21950   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
21951     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
21952   echo $ECHO_N "(cached) $ECHO_C" >&6
21953 else
21954
21955
21956
21957       ac_ext=cc
21958 ac_cpp='$CXXCPP $CPPFLAGS'
21959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21962
21963       cat >conftest.$ac_ext <<_ACEOF
21964 #line $LINENO "configure"
21965 /* confdefs.h.  */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h.  */
21970 #include <math.h>
21971 int
21972 main ()
21973 {
21974  __builtin_fabsf(0);
21975   ;
21976   return 0;
21977 }
21978 _ACEOF
21979 rm -f conftest.$ac_objext
21980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21981   (eval $ac_compile) 2>&5
21982   ac_status=$?
21983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984   (exit $ac_status); } &&
21985          { ac_try='test -s conftest.$ac_objext'
21986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987   (eval $ac_try) 2>&5
21988   ac_status=$?
21989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990   (exit $ac_status); }; }; then
21991   glibcxx_cv_func___builtin_fabsf_use=yes
21992 else
21993   echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.$ac_ext >&5
21995
21996 glibcxx_cv_func___builtin_fabsf_use=no
21997 fi
21998 rm -f conftest.$ac_objext conftest.$ac_ext
21999       ac_ext=c
22000 ac_cpp='$CPP $CPPFLAGS'
22001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22004
22005
22006 fi
22007
22008   fi
22009   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22010 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22011   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22012     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22013 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22014     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22015       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22016   echo $ECHO_N "(cached) $ECHO_C" >&6
22017 else
22018
22019         cat >conftest.$ac_ext <<_ACEOF
22020 #line $LINENO "configure"
22021 /* confdefs.h.  */
22022 _ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h.  */
22026 #include <math.h>
22027 int
22028 main ()
22029 {
22030  __builtin_fabsf(0);
22031   ;
22032   return 0;
22033 }
22034 _ACEOF
22035 rm -f conftest.$ac_objext conftest$ac_exeext
22036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22037   (eval $ac_link) 2>&5
22038   ac_status=$?
22039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040   (exit $ac_status); } &&
22041          { ac_try='test -s conftest$ac_exeext'
22042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22043   (eval $ac_try) 2>&5
22044   ac_status=$?
22045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046   (exit $ac_status); }; }; then
22047   glibcxx_cv_func___builtin_fabsf_link=yes
22048 else
22049   echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22051
22052 glibcxx_cv_func___builtin_fabsf_link=no
22053 fi
22054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22055
22056 fi
22057
22058     fi
22059     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22060 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22061     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22062       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22063       cat >>confdefs.h <<_ACEOF
22064 #define ${ac_tr_func} 1
22065 _ACEOF
22066
22067     fi
22068   fi
22069
22070
22071   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22072 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22073   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22074     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22075   echo $ECHO_N "(cached) $ECHO_C" >&6
22076 else
22077
22078
22079
22080       ac_ext=cc
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22085
22086       cat >conftest.$ac_ext <<_ACEOF
22087 #line $LINENO "configure"
22088 /* confdefs.h.  */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h.  */
22093 #include <math.h>
22094 int
22095 main ()
22096 {
22097  __builtin_fabs(0);
22098   ;
22099   return 0;
22100 }
22101 _ACEOF
22102 rm -f conftest.$ac_objext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22104   (eval $ac_compile) 2>&5
22105   ac_status=$?
22106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107   (exit $ac_status); } &&
22108          { ac_try='test -s conftest.$ac_objext'
22109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110   (eval $ac_try) 2>&5
22111   ac_status=$?
22112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113   (exit $ac_status); }; }; then
22114   glibcxx_cv_func___builtin_fabs_use=yes
22115 else
22116   echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22118
22119 glibcxx_cv_func___builtin_fabs_use=no
22120 fi
22121 rm -f conftest.$ac_objext conftest.$ac_ext
22122       ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127
22128
22129 fi
22130
22131   fi
22132   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22133 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22134   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22135     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22136 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22137     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22138       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22139   echo $ECHO_N "(cached) $ECHO_C" >&6
22140 else
22141
22142         cat >conftest.$ac_ext <<_ACEOF
22143 #line $LINENO "configure"
22144 /* confdefs.h.  */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h.  */
22149 #include <math.h>
22150 int
22151 main ()
22152 {
22153  __builtin_fabs(0);
22154   ;
22155   return 0;
22156 }
22157 _ACEOF
22158 rm -f conftest.$ac_objext conftest$ac_exeext
22159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22160   (eval $ac_link) 2>&5
22161   ac_status=$?
22162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163   (exit $ac_status); } &&
22164          { ac_try='test -s conftest$ac_exeext'
22165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166   (eval $ac_try) 2>&5
22167   ac_status=$?
22168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169   (exit $ac_status); }; }; then
22170   glibcxx_cv_func___builtin_fabs_link=yes
22171 else
22172   echo "$as_me: failed program was:" >&5
22173 sed 's/^/| /' conftest.$ac_ext >&5
22174
22175 glibcxx_cv_func___builtin_fabs_link=no
22176 fi
22177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22178
22179 fi
22180
22181     fi
22182     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22183 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22184     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22185       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22186       cat >>confdefs.h <<_ACEOF
22187 #define ${ac_tr_func} 1
22188 _ACEOF
22189
22190     fi
22191   fi
22192
22193
22194   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22195 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22196   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22197     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22198   echo $ECHO_N "(cached) $ECHO_C" >&6
22199 else
22200
22201
22202
22203       ac_ext=cc
22204 ac_cpp='$CXXCPP $CPPFLAGS'
22205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22208
22209       cat >conftest.$ac_ext <<_ACEOF
22210 #line $LINENO "configure"
22211 /* confdefs.h.  */
22212 _ACEOF
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h.  */
22216 #include <math.h>
22217 int
22218 main ()
22219 {
22220  __builtin_fabsl(0);
22221   ;
22222   return 0;
22223 }
22224 _ACEOF
22225 rm -f conftest.$ac_objext
22226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22227   (eval $ac_compile) 2>&5
22228   ac_status=$?
22229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230   (exit $ac_status); } &&
22231          { ac_try='test -s conftest.$ac_objext'
22232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233   (eval $ac_try) 2>&5
22234   ac_status=$?
22235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236   (exit $ac_status); }; }; then
22237   glibcxx_cv_func___builtin_fabsl_use=yes
22238 else
22239   echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 glibcxx_cv_func___builtin_fabsl_use=no
22243 fi
22244 rm -f conftest.$ac_objext conftest.$ac_ext
22245       ac_ext=c
22246 ac_cpp='$CPP $CPPFLAGS'
22247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250
22251
22252 fi
22253
22254   fi
22255   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22256 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22257   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22258     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22259 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22260     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22261       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22262   echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264
22265         cat >conftest.$ac_ext <<_ACEOF
22266 #line $LINENO "configure"
22267 /* confdefs.h.  */
22268 _ACEOF
22269 cat confdefs.h >>conftest.$ac_ext
22270 cat >>conftest.$ac_ext <<_ACEOF
22271 /* end confdefs.h.  */
22272 #include <math.h>
22273 int
22274 main ()
22275 {
22276  __builtin_fabsl(0);
22277   ;
22278   return 0;
22279 }
22280 _ACEOF
22281 rm -f conftest.$ac_objext conftest$ac_exeext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22283   (eval $ac_link) 2>&5
22284   ac_status=$?
22285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286   (exit $ac_status); } &&
22287          { ac_try='test -s conftest$ac_exeext'
22288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22289   (eval $ac_try) 2>&5
22290   ac_status=$?
22291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292   (exit $ac_status); }; }; then
22293   glibcxx_cv_func___builtin_fabsl_link=yes
22294 else
22295   echo "$as_me: failed program was:" >&5
22296 sed 's/^/| /' conftest.$ac_ext >&5
22297
22298 glibcxx_cv_func___builtin_fabsl_link=no
22299 fi
22300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22301
22302 fi
22303
22304     fi
22305     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22306 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22307     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22308       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22309       cat >>confdefs.h <<_ACEOF
22310 #define ${ac_tr_func} 1
22311 _ACEOF
22312
22313     fi
22314   fi
22315
22316
22317   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22318 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22319   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22320     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22321   echo $ECHO_N "(cached) $ECHO_C" >&6
22322 else
22323
22324
22325
22326       ac_ext=cc
22327 ac_cpp='$CXXCPP $CPPFLAGS'
22328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22331
22332       cat >conftest.$ac_ext <<_ACEOF
22333 #line $LINENO "configure"
22334 /* confdefs.h.  */
22335 _ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h.  */
22339 #include <math.h>
22340 int
22341 main ()
22342 {
22343  __builtin_labs(0);
22344   ;
22345   return 0;
22346 }
22347 _ACEOF
22348 rm -f conftest.$ac_objext
22349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22350   (eval $ac_compile) 2>&5
22351   ac_status=$?
22352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353   (exit $ac_status); } &&
22354          { ac_try='test -s conftest.$ac_objext'
22355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356   (eval $ac_try) 2>&5
22357   ac_status=$?
22358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359   (exit $ac_status); }; }; then
22360   glibcxx_cv_func___builtin_labs_use=yes
22361 else
22362   echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.$ac_ext >&5
22364
22365 glibcxx_cv_func___builtin_labs_use=no
22366 fi
22367 rm -f conftest.$ac_objext conftest.$ac_ext
22368       ac_ext=c
22369 ac_cpp='$CPP $CPPFLAGS'
22370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22373
22374
22375 fi
22376
22377   fi
22378   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22379 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22380   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22381     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22382 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22383     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22384       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22385   echo $ECHO_N "(cached) $ECHO_C" >&6
22386 else
22387
22388         cat >conftest.$ac_ext <<_ACEOF
22389 #line $LINENO "configure"
22390 /* confdefs.h.  */
22391 _ACEOF
22392 cat confdefs.h >>conftest.$ac_ext
22393 cat >>conftest.$ac_ext <<_ACEOF
22394 /* end confdefs.h.  */
22395 #include <math.h>
22396 int
22397 main ()
22398 {
22399  __builtin_labs(0);
22400   ;
22401   return 0;
22402 }
22403 _ACEOF
22404 rm -f conftest.$ac_objext conftest$ac_exeext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22406   (eval $ac_link) 2>&5
22407   ac_status=$?
22408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409   (exit $ac_status); } &&
22410          { ac_try='test -s conftest$ac_exeext'
22411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22412   (eval $ac_try) 2>&5
22413   ac_status=$?
22414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415   (exit $ac_status); }; }; then
22416   glibcxx_cv_func___builtin_labs_link=yes
22417 else
22418   echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22420
22421 glibcxx_cv_func___builtin_labs_link=no
22422 fi
22423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22424
22425 fi
22426
22427     fi
22428     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22429 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22430     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22431       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22432       cat >>confdefs.h <<_ACEOF
22433 #define ${ac_tr_func} 1
22434 _ACEOF
22435
22436     fi
22437   fi
22438
22439
22440
22441   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22442 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22443   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22444     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22445   echo $ECHO_N "(cached) $ECHO_C" >&6
22446 else
22447
22448
22449
22450       ac_ext=cc
22451 ac_cpp='$CXXCPP $CPPFLAGS'
22452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22455
22456       cat >conftest.$ac_ext <<_ACEOF
22457 #line $LINENO "configure"
22458 /* confdefs.h.  */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h.  */
22463 #include <math.h>
22464 int
22465 main ()
22466 {
22467  __builtin_sqrtf(0);
22468   ;
22469   return 0;
22470 }
22471 _ACEOF
22472 rm -f conftest.$ac_objext
22473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22474   (eval $ac_compile) 2>&5
22475   ac_status=$?
22476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477   (exit $ac_status); } &&
22478          { ac_try='test -s conftest.$ac_objext'
22479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480   (eval $ac_try) 2>&5
22481   ac_status=$?
22482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483   (exit $ac_status); }; }; then
22484   glibcxx_cv_func___builtin_sqrtf_use=yes
22485 else
22486   echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.$ac_ext >&5
22488
22489 glibcxx_cv_func___builtin_sqrtf_use=no
22490 fi
22491 rm -f conftest.$ac_objext conftest.$ac_ext
22492       ac_ext=c
22493 ac_cpp='$CPP $CPPFLAGS'
22494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22497
22498
22499 fi
22500
22501   fi
22502   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22503 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22504   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22505     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22506 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22507     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22508       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22509   echo $ECHO_N "(cached) $ECHO_C" >&6
22510 else
22511
22512         cat >conftest.$ac_ext <<_ACEOF
22513 #line $LINENO "configure"
22514 /* confdefs.h.  */
22515 _ACEOF
22516 cat confdefs.h >>conftest.$ac_ext
22517 cat >>conftest.$ac_ext <<_ACEOF
22518 /* end confdefs.h.  */
22519 #include <math.h>
22520 int
22521 main ()
22522 {
22523  __builtin_sqrtf(0);
22524   ;
22525   return 0;
22526 }
22527 _ACEOF
22528 rm -f conftest.$ac_objext conftest$ac_exeext
22529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22530   (eval $ac_link) 2>&5
22531   ac_status=$?
22532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533   (exit $ac_status); } &&
22534          { ac_try='test -s conftest$ac_exeext'
22535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536   (eval $ac_try) 2>&5
22537   ac_status=$?
22538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539   (exit $ac_status); }; }; then
22540   glibcxx_cv_func___builtin_sqrtf_link=yes
22541 else
22542   echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22544
22545 glibcxx_cv_func___builtin_sqrtf_link=no
22546 fi
22547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22548
22549 fi
22550
22551     fi
22552     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
22553 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
22554     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
22555       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22556       cat >>confdefs.h <<_ACEOF
22557 #define ${ac_tr_func} 1
22558 _ACEOF
22559
22560     fi
22561   fi
22562
22563
22564   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
22565 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
22566   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
22567     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
22568   echo $ECHO_N "(cached) $ECHO_C" >&6
22569 else
22570
22571
22572
22573       ac_ext=cc
22574 ac_cpp='$CXXCPP $CPPFLAGS'
22575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22578
22579       cat >conftest.$ac_ext <<_ACEOF
22580 #line $LINENO "configure"
22581 /* confdefs.h.  */
22582 _ACEOF
22583 cat confdefs.h >>conftest.$ac_ext
22584 cat >>conftest.$ac_ext <<_ACEOF
22585 /* end confdefs.h.  */
22586 #include <math.h>
22587 int
22588 main ()
22589 {
22590  __builtin_sqrt(0);
22591   ;
22592   return 0;
22593 }
22594 _ACEOF
22595 rm -f conftest.$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597   (eval $ac_compile) 2>&5
22598   ac_status=$?
22599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600   (exit $ac_status); } &&
22601          { ac_try='test -s conftest.$ac_objext'
22602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603   (eval $ac_try) 2>&5
22604   ac_status=$?
22605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606   (exit $ac_status); }; }; then
22607   glibcxx_cv_func___builtin_sqrt_use=yes
22608 else
22609   echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22611
22612 glibcxx_cv_func___builtin_sqrt_use=no
22613 fi
22614 rm -f conftest.$ac_objext conftest.$ac_ext
22615       ac_ext=c
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22620
22621
22622 fi
22623
22624   fi
22625   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
22626 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
22627   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
22628     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
22629 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
22630     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
22631       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
22632   echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634
22635         cat >conftest.$ac_ext <<_ACEOF
22636 #line $LINENO "configure"
22637 /* confdefs.h.  */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h.  */
22642 #include <math.h>
22643 int
22644 main ()
22645 {
22646  __builtin_sqrt(0);
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 rm -f conftest.$ac_objext conftest$ac_exeext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22653   (eval $ac_link) 2>&5
22654   ac_status=$?
22655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656   (exit $ac_status); } &&
22657          { ac_try='test -s conftest$ac_exeext'
22658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22659   (eval $ac_try) 2>&5
22660   ac_status=$?
22661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662   (exit $ac_status); }; }; then
22663   glibcxx_cv_func___builtin_sqrt_link=yes
22664 else
22665   echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22667
22668 glibcxx_cv_func___builtin_sqrt_link=no
22669 fi
22670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22671
22672 fi
22673
22674     fi
22675     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
22676 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
22677     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
22678       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22679       cat >>confdefs.h <<_ACEOF
22680 #define ${ac_tr_func} 1
22681 _ACEOF
22682
22683     fi
22684   fi
22685
22686
22687   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
22688 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
22689   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
22690     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
22691   echo $ECHO_N "(cached) $ECHO_C" >&6
22692 else
22693
22694
22695
22696       ac_ext=cc
22697 ac_cpp='$CXXCPP $CPPFLAGS'
22698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22701
22702       cat >conftest.$ac_ext <<_ACEOF
22703 #line $LINENO "configure"
22704 /* confdefs.h.  */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h.  */
22709 #include <math.h>
22710 int
22711 main ()
22712 {
22713  __builtin_sqrtl(0);
22714   ;
22715   return 0;
22716 }
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22720   (eval $ac_compile) 2>&5
22721   ac_status=$?
22722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723   (exit $ac_status); } &&
22724          { ac_try='test -s conftest.$ac_objext'
22725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726   (eval $ac_try) 2>&5
22727   ac_status=$?
22728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729   (exit $ac_status); }; }; then
22730   glibcxx_cv_func___builtin_sqrtl_use=yes
22731 else
22732   echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22734
22735 glibcxx_cv_func___builtin_sqrtl_use=no
22736 fi
22737 rm -f conftest.$ac_objext conftest.$ac_ext
22738       ac_ext=c
22739 ac_cpp='$CPP $CPPFLAGS'
22740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743
22744
22745 fi
22746
22747   fi
22748   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
22749 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
22750   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
22751     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
22752 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
22753     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
22754       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
22755   echo $ECHO_N "(cached) $ECHO_C" >&6
22756 else
22757
22758         cat >conftest.$ac_ext <<_ACEOF
22759 #line $LINENO "configure"
22760 /* confdefs.h.  */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h.  */
22765 #include <math.h>
22766 int
22767 main ()
22768 {
22769  __builtin_sqrtl(0);
22770   ;
22771   return 0;
22772 }
22773 _ACEOF
22774 rm -f conftest.$ac_objext conftest$ac_exeext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22776   (eval $ac_link) 2>&5
22777   ac_status=$?
22778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779   (exit $ac_status); } &&
22780          { ac_try='test -s conftest$ac_exeext'
22781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782   (eval $ac_try) 2>&5
22783   ac_status=$?
22784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785   (exit $ac_status); }; }; then
22786   glibcxx_cv_func___builtin_sqrtl_link=yes
22787 else
22788   echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791 glibcxx_cv_func___builtin_sqrtl_link=no
22792 fi
22793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22794
22795 fi
22796
22797     fi
22798     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
22799 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
22800     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
22801       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22802       cat >>confdefs.h <<_ACEOF
22803 #define ${ac_tr_func} 1
22804 _ACEOF
22805
22806     fi
22807   fi
22808
22809
22810
22811   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
22812 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
22813   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
22814     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
22815   echo $ECHO_N "(cached) $ECHO_C" >&6
22816 else
22817
22818
22819
22820       ac_ext=cc
22821 ac_cpp='$CXXCPP $CPPFLAGS'
22822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22825
22826       cat >conftest.$ac_ext <<_ACEOF
22827 #line $LINENO "configure"
22828 /* confdefs.h.  */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h.  */
22833 #include <math.h>
22834 int
22835 main ()
22836 {
22837  __builtin_sinf(0);
22838   ;
22839   return 0;
22840 }
22841 _ACEOF
22842 rm -f conftest.$ac_objext
22843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22844   (eval $ac_compile) 2>&5
22845   ac_status=$?
22846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847   (exit $ac_status); } &&
22848          { ac_try='test -s conftest.$ac_objext'
22849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22850   (eval $ac_try) 2>&5
22851   ac_status=$?
22852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853   (exit $ac_status); }; }; then
22854   glibcxx_cv_func___builtin_sinf_use=yes
22855 else
22856   echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.$ac_ext >&5
22858
22859 glibcxx_cv_func___builtin_sinf_use=no
22860 fi
22861 rm -f conftest.$ac_objext conftest.$ac_ext
22862       ac_ext=c
22863 ac_cpp='$CPP $CPPFLAGS'
22864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22867
22868
22869 fi
22870
22871   fi
22872   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
22873 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
22874   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
22875     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
22876 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
22877     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
22878       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
22879   echo $ECHO_N "(cached) $ECHO_C" >&6
22880 else
22881
22882         cat >conftest.$ac_ext <<_ACEOF
22883 #line $LINENO "configure"
22884 /* confdefs.h.  */
22885 _ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h.  */
22889 #include <math.h>
22890 int
22891 main ()
22892 {
22893  __builtin_sinf(0);
22894   ;
22895   return 0;
22896 }
22897 _ACEOF
22898 rm -f conftest.$ac_objext conftest$ac_exeext
22899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22900   (eval $ac_link) 2>&5
22901   ac_status=$?
22902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903   (exit $ac_status); } &&
22904          { ac_try='test -s conftest$ac_exeext'
22905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906   (eval $ac_try) 2>&5
22907   ac_status=$?
22908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909   (exit $ac_status); }; }; then
22910   glibcxx_cv_func___builtin_sinf_link=yes
22911 else
22912   echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 glibcxx_cv_func___builtin_sinf_link=no
22916 fi
22917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22918
22919 fi
22920
22921     fi
22922     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
22923 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
22924     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
22925       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22926       cat >>confdefs.h <<_ACEOF
22927 #define ${ac_tr_func} 1
22928 _ACEOF
22929
22930     fi
22931   fi
22932
22933
22934   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
22935 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
22936   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
22937     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
22938   echo $ECHO_N "(cached) $ECHO_C" >&6
22939 else
22940
22941
22942
22943       ac_ext=cc
22944 ac_cpp='$CXXCPP $CPPFLAGS'
22945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22948
22949       cat >conftest.$ac_ext <<_ACEOF
22950 #line $LINENO "configure"
22951 /* confdefs.h.  */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h.  */
22956 #include <math.h>
22957 int
22958 main ()
22959 {
22960  __builtin_sin(0);
22961   ;
22962   return 0;
22963 }
22964 _ACEOF
22965 rm -f conftest.$ac_objext
22966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22967   (eval $ac_compile) 2>&5
22968   ac_status=$?
22969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970   (exit $ac_status); } &&
22971          { ac_try='test -s conftest.$ac_objext'
22972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973   (eval $ac_try) 2>&5
22974   ac_status=$?
22975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976   (exit $ac_status); }; }; then
22977   glibcxx_cv_func___builtin_sin_use=yes
22978 else
22979   echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 glibcxx_cv_func___builtin_sin_use=no
22983 fi
22984 rm -f conftest.$ac_objext conftest.$ac_ext
22985       ac_ext=c
22986 ac_cpp='$CPP $CPPFLAGS'
22987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22990
22991
22992 fi
22993
22994   fi
22995   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
22996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
22997   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
22998     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
22999 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23000     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23001       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23002   echo $ECHO_N "(cached) $ECHO_C" >&6
23003 else
23004
23005         cat >conftest.$ac_ext <<_ACEOF
23006 #line $LINENO "configure"
23007 /* confdefs.h.  */
23008 _ACEOF
23009 cat confdefs.h >>conftest.$ac_ext
23010 cat >>conftest.$ac_ext <<_ACEOF
23011 /* end confdefs.h.  */
23012 #include <math.h>
23013 int
23014 main ()
23015 {
23016  __builtin_sin(0);
23017   ;
23018   return 0;
23019 }
23020 _ACEOF
23021 rm -f conftest.$ac_objext conftest$ac_exeext
23022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23023   (eval $ac_link) 2>&5
23024   ac_status=$?
23025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026   (exit $ac_status); } &&
23027          { ac_try='test -s conftest$ac_exeext'
23028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029   (eval $ac_try) 2>&5
23030   ac_status=$?
23031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032   (exit $ac_status); }; }; then
23033   glibcxx_cv_func___builtin_sin_link=yes
23034 else
23035   echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.$ac_ext >&5
23037
23038 glibcxx_cv_func___builtin_sin_link=no
23039 fi
23040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23041
23042 fi
23043
23044     fi
23045     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23046 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23047     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23048       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23049       cat >>confdefs.h <<_ACEOF
23050 #define ${ac_tr_func} 1
23051 _ACEOF
23052
23053     fi
23054   fi
23055
23056
23057   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23058 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23059   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23060     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23061   echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23063
23064
23065
23066       ac_ext=cc
23067 ac_cpp='$CXXCPP $CPPFLAGS'
23068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23071
23072       cat >conftest.$ac_ext <<_ACEOF
23073 #line $LINENO "configure"
23074 /* confdefs.h.  */
23075 _ACEOF
23076 cat confdefs.h >>conftest.$ac_ext
23077 cat >>conftest.$ac_ext <<_ACEOF
23078 /* end confdefs.h.  */
23079 #include <math.h>
23080 int
23081 main ()
23082 {
23083  __builtin_sinl(0);
23084   ;
23085   return 0;
23086 }
23087 _ACEOF
23088 rm -f conftest.$ac_objext
23089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23090   (eval $ac_compile) 2>&5
23091   ac_status=$?
23092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093   (exit $ac_status); } &&
23094          { ac_try='test -s conftest.$ac_objext'
23095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096   (eval $ac_try) 2>&5
23097   ac_status=$?
23098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099   (exit $ac_status); }; }; then
23100   glibcxx_cv_func___builtin_sinl_use=yes
23101 else
23102   echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 glibcxx_cv_func___builtin_sinl_use=no
23106 fi
23107 rm -f conftest.$ac_objext conftest.$ac_ext
23108       ac_ext=c
23109 ac_cpp='$CPP $CPPFLAGS'
23110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23113
23114
23115 fi
23116
23117   fi
23118   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23119 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23120   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23121     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23122 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23123     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23124       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23125   echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127
23128         cat >conftest.$ac_ext <<_ACEOF
23129 #line $LINENO "configure"
23130 /* confdefs.h.  */
23131 _ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h.  */
23135 #include <math.h>
23136 int
23137 main ()
23138 {
23139  __builtin_sinl(0);
23140   ;
23141   return 0;
23142 }
23143 _ACEOF
23144 rm -f conftest.$ac_objext conftest$ac_exeext
23145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23146   (eval $ac_link) 2>&5
23147   ac_status=$?
23148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149   (exit $ac_status); } &&
23150          { ac_try='test -s conftest$ac_exeext'
23151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152   (eval $ac_try) 2>&5
23153   ac_status=$?
23154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155   (exit $ac_status); }; }; then
23156   glibcxx_cv_func___builtin_sinl_link=yes
23157 else
23158   echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 glibcxx_cv_func___builtin_sinl_link=no
23162 fi
23163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23164
23165 fi
23166
23167     fi
23168     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23169 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23170     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23171       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23172       cat >>confdefs.h <<_ACEOF
23173 #define ${ac_tr_func} 1
23174 _ACEOF
23175
23176     fi
23177   fi
23178
23179
23180
23181   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23182 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23183   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23184     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23185   echo $ECHO_N "(cached) $ECHO_C" >&6
23186 else
23187
23188
23189
23190       ac_ext=cc
23191 ac_cpp='$CXXCPP $CPPFLAGS'
23192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195
23196       cat >conftest.$ac_ext <<_ACEOF
23197 #line $LINENO "configure"
23198 /* confdefs.h.  */
23199 _ACEOF
23200 cat confdefs.h >>conftest.$ac_ext
23201 cat >>conftest.$ac_ext <<_ACEOF
23202 /* end confdefs.h.  */
23203 #include <math.h>
23204 int
23205 main ()
23206 {
23207  __builtin_cosf(0);
23208   ;
23209   return 0;
23210 }
23211 _ACEOF
23212 rm -f conftest.$ac_objext
23213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23214   (eval $ac_compile) 2>&5
23215   ac_status=$?
23216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217   (exit $ac_status); } &&
23218          { ac_try='test -s conftest.$ac_objext'
23219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220   (eval $ac_try) 2>&5
23221   ac_status=$?
23222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223   (exit $ac_status); }; }; then
23224   glibcxx_cv_func___builtin_cosf_use=yes
23225 else
23226   echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23228
23229 glibcxx_cv_func___builtin_cosf_use=no
23230 fi
23231 rm -f conftest.$ac_objext conftest.$ac_ext
23232       ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23237
23238
23239 fi
23240
23241   fi
23242   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23243 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23244   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23245     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23246 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23247     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23248       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23249   echo $ECHO_N "(cached) $ECHO_C" >&6
23250 else
23251
23252         cat >conftest.$ac_ext <<_ACEOF
23253 #line $LINENO "configure"
23254 /* confdefs.h.  */
23255 _ACEOF
23256 cat confdefs.h >>conftest.$ac_ext
23257 cat >>conftest.$ac_ext <<_ACEOF
23258 /* end confdefs.h.  */
23259 #include <math.h>
23260 int
23261 main ()
23262 {
23263  __builtin_cosf(0);
23264   ;
23265   return 0;
23266 }
23267 _ACEOF
23268 rm -f conftest.$ac_objext conftest$ac_exeext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23270   (eval $ac_link) 2>&5
23271   ac_status=$?
23272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273   (exit $ac_status); } &&
23274          { ac_try='test -s conftest$ac_exeext'
23275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276   (eval $ac_try) 2>&5
23277   ac_status=$?
23278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279   (exit $ac_status); }; }; then
23280   glibcxx_cv_func___builtin_cosf_link=yes
23281 else
23282   echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 glibcxx_cv_func___builtin_cosf_link=no
23286 fi
23287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23288
23289 fi
23290
23291     fi
23292     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23293 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23294     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23295       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23296       cat >>confdefs.h <<_ACEOF
23297 #define ${ac_tr_func} 1
23298 _ACEOF
23299
23300     fi
23301   fi
23302
23303
23304   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23305 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23306   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23307     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23308   echo $ECHO_N "(cached) $ECHO_C" >&6
23309 else
23310
23311
23312
23313       ac_ext=cc
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23318
23319       cat >conftest.$ac_ext <<_ACEOF
23320 #line $LINENO "configure"
23321 /* confdefs.h.  */
23322 _ACEOF
23323 cat confdefs.h >>conftest.$ac_ext
23324 cat >>conftest.$ac_ext <<_ACEOF
23325 /* end confdefs.h.  */
23326 #include <math.h>
23327 int
23328 main ()
23329 {
23330  __builtin_cos(0);
23331   ;
23332   return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337   (eval $ac_compile) 2>&5
23338   ac_status=$?
23339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340   (exit $ac_status); } &&
23341          { ac_try='test -s conftest.$ac_objext'
23342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343   (eval $ac_try) 2>&5
23344   ac_status=$?
23345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346   (exit $ac_status); }; }; then
23347   glibcxx_cv_func___builtin_cos_use=yes
23348 else
23349   echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23351
23352 glibcxx_cv_func___builtin_cos_use=no
23353 fi
23354 rm -f conftest.$ac_objext conftest.$ac_ext
23355       ac_ext=c
23356 ac_cpp='$CPP $CPPFLAGS'
23357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23360
23361
23362 fi
23363
23364   fi
23365   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23366 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23367   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23368     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23369 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23370     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23371       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23372   echo $ECHO_N "(cached) $ECHO_C" >&6
23373 else
23374
23375         cat >conftest.$ac_ext <<_ACEOF
23376 #line $LINENO "configure"
23377 /* confdefs.h.  */
23378 _ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h.  */
23382 #include <math.h>
23383 int
23384 main ()
23385 {
23386  __builtin_cos(0);
23387   ;
23388   return 0;
23389 }
23390 _ACEOF
23391 rm -f conftest.$ac_objext conftest$ac_exeext
23392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23393   (eval $ac_link) 2>&5
23394   ac_status=$?
23395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396   (exit $ac_status); } &&
23397          { ac_try='test -s conftest$ac_exeext'
23398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23399   (eval $ac_try) 2>&5
23400   ac_status=$?
23401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402   (exit $ac_status); }; }; then
23403   glibcxx_cv_func___builtin_cos_link=yes
23404 else
23405   echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408 glibcxx_cv_func___builtin_cos_link=no
23409 fi
23410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23411
23412 fi
23413
23414     fi
23415     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23416 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23417     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23418       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23419       cat >>confdefs.h <<_ACEOF
23420 #define ${ac_tr_func} 1
23421 _ACEOF
23422
23423     fi
23424   fi
23425
23426
23427   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23428 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23429   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23430     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23431   echo $ECHO_N "(cached) $ECHO_C" >&6
23432 else
23433
23434
23435
23436       ac_ext=cc
23437 ac_cpp='$CXXCPP $CPPFLAGS'
23438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23441
23442       cat >conftest.$ac_ext <<_ACEOF
23443 #line $LINENO "configure"
23444 /* confdefs.h.  */
23445 _ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h.  */
23449 #include <math.h>
23450 int
23451 main ()
23452 {
23453  __builtin_cosl(0);
23454   ;
23455   return 0;
23456 }
23457 _ACEOF
23458 rm -f conftest.$ac_objext
23459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23460   (eval $ac_compile) 2>&5
23461   ac_status=$?
23462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463   (exit $ac_status); } &&
23464          { ac_try='test -s conftest.$ac_objext'
23465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23466   (eval $ac_try) 2>&5
23467   ac_status=$?
23468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469   (exit $ac_status); }; }; then
23470   glibcxx_cv_func___builtin_cosl_use=yes
23471 else
23472   echo "$as_me: failed program was:" >&5
23473 sed 's/^/| /' conftest.$ac_ext >&5
23474
23475 glibcxx_cv_func___builtin_cosl_use=no
23476 fi
23477 rm -f conftest.$ac_objext conftest.$ac_ext
23478       ac_ext=c
23479 ac_cpp='$CPP $CPPFLAGS'
23480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23483
23484
23485 fi
23486
23487   fi
23488   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23489 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23490   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
23491     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23492 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23493     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
23494       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23495   echo $ECHO_N "(cached) $ECHO_C" >&6
23496 else
23497
23498         cat >conftest.$ac_ext <<_ACEOF
23499 #line $LINENO "configure"
23500 /* confdefs.h.  */
23501 _ACEOF
23502 cat confdefs.h >>conftest.$ac_ext
23503 cat >>conftest.$ac_ext <<_ACEOF
23504 /* end confdefs.h.  */
23505 #include <math.h>
23506 int
23507 main ()
23508 {
23509  __builtin_cosl(0);
23510   ;
23511   return 0;
23512 }
23513 _ACEOF
23514 rm -f conftest.$ac_objext conftest$ac_exeext
23515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23516   (eval $ac_link) 2>&5
23517   ac_status=$?
23518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519   (exit $ac_status); } &&
23520          { ac_try='test -s conftest$ac_exeext'
23521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522   (eval $ac_try) 2>&5
23523   ac_status=$?
23524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525   (exit $ac_status); }; }; then
23526   glibcxx_cv_func___builtin_cosl_link=yes
23527 else
23528   echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23530
23531 glibcxx_cv_func___builtin_cosl_link=no
23532 fi
23533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23534
23535 fi
23536
23537     fi
23538     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
23539 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
23540     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
23541       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23542       cat >>confdefs.h <<_ACEOF
23543 #define ${ac_tr_func} 1
23544 _ACEOF
23545
23546     fi
23547   fi
23548
23549
23550               dummyvar=no
23551   if test x$dummyvar = x"yes"; then
23552     cat >>confdefs.h <<\_ACEOF
23553 #define HAVE___BUILTIN_ABS 1
23554 _ACEOF
23555
23556     cat >>confdefs.h <<\_ACEOF
23557 #define HAVE___BUILTIN_LABS 1
23558 _ACEOF
23559
23560     cat >>confdefs.h <<\_ACEOF
23561 #define HAVE___BUILTIN_COS 1
23562 _ACEOF
23563
23564     cat >>confdefs.h <<\_ACEOF
23565 #define HAVE___BUILTIN_COSF 1
23566 _ACEOF
23567
23568     cat >>confdefs.h <<\_ACEOF
23569 #define HAVE___BUILTIN_COSL 1
23570 _ACEOF
23571
23572     cat >>confdefs.h <<\_ACEOF
23573 #define HAVE___BUILTIN_FABS 1
23574 _ACEOF
23575
23576     cat >>confdefs.h <<\_ACEOF
23577 #define HAVE___BUILTIN_FABSF 1
23578 _ACEOF
23579
23580     cat >>confdefs.h <<\_ACEOF
23581 #define HAVE___BUILTIN_FABSL 1
23582 _ACEOF
23583
23584     cat >>confdefs.h <<\_ACEOF
23585 #define HAVE___BUILTIN_SIN 1
23586 _ACEOF
23587
23588     cat >>confdefs.h <<\_ACEOF
23589 #define HAVE___BUILTIN_SINF 1
23590 _ACEOF
23591
23592     cat >>confdefs.h <<\_ACEOF
23593 #define HAVE___BUILTIN_SINL 1
23594 _ACEOF
23595
23596     cat >>confdefs.h <<\_ACEOF
23597 #define HAVE___BUILTIN_SQRT 1
23598 _ACEOF
23599
23600     cat >>confdefs.h <<\_ACEOF
23601 #define HAVE___BUILTIN_SQRTF 1
23602 _ACEOF
23603
23604     cat >>confdefs.h <<\_ACEOF
23605 #define HAVE___BUILTIN_SQRTL 1
23606 _ACEOF
23607
23608   fi
23609
23610
23611
23612 echo "$as_me:$LINENO: checking for main in -lm" >&5
23613 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
23614 if test "${ac_cv_lib_m_main+set}" = set; then
23615   echo $ECHO_N "(cached) $ECHO_C" >&6
23616 else
23617   ac_check_lib_save_LIBS=$LIBS
23618 LIBS="-lm  $LIBS"
23619 cat >conftest.$ac_ext <<_ACEOF
23620 #line $LINENO "configure"
23621 /* confdefs.h.  */
23622 _ACEOF
23623 cat confdefs.h >>conftest.$ac_ext
23624 cat >>conftest.$ac_ext <<_ACEOF
23625 /* end confdefs.h.  */
23626
23627
23628 int
23629 main ()
23630 {
23631 main ();
23632   ;
23633   return 0;
23634 }
23635 _ACEOF
23636 rm -f conftest.$ac_objext conftest$ac_exeext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23638   (eval $ac_link) 2>&5
23639   ac_status=$?
23640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641   (exit $ac_status); } &&
23642          { ac_try='test -s conftest$ac_exeext'
23643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644   (eval $ac_try) 2>&5
23645   ac_status=$?
23646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647   (exit $ac_status); }; }; then
23648   ac_cv_lib_m_main=yes
23649 else
23650   echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23652
23653 ac_cv_lib_m_main=no
23654 fi
23655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23656 LIBS=$ac_check_lib_save_LIBS
23657 fi
23658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
23659 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
23660 if test $ac_cv_lib_m_main = yes; then
23661   cat >>confdefs.h <<_ACEOF
23662 #define HAVE_LIBM 1
23663 _ACEOF
23664
23665   LIBS="-lm $LIBS"
23666
23667 fi
23668
23669
23670
23671 for ac_func in nan copysignf
23672 do
23673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23674 echo "$as_me:$LINENO: checking for $ac_func" >&5
23675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23676 if eval "test \"\${$as_ac_var+set}\" = set"; then
23677   echo $ECHO_N "(cached) $ECHO_C" >&6
23678 else
23679   cat >conftest.$ac_ext <<_ACEOF
23680 #line $LINENO "configure"
23681 /* confdefs.h.  */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h.  */
23686 /* System header to define __stub macros and hopefully few prototypes,
23687     which can conflict with char $ac_func (); below.
23688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23689     <limits.h> exists even on freestanding compilers.  */
23690 #ifdef __STDC__
23691 # include <limits.h>
23692 #else
23693 # include <assert.h>
23694 #endif
23695 /* Override any gcc2 internal prototype to avoid an error.  */
23696 #ifdef __cplusplus
23697 extern "C"
23698 {
23699 #endif
23700 /* We use char because int might match the return type of a gcc2
23701    builtin and then its argument prototype would still apply.  */
23702 char $ac_func ();
23703 /* The GNU C library defines this for functions which it implements
23704     to always fail with ENOSYS.  Some functions are actually named
23705     something starting with __ and the normal name is an alias.  */
23706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23707 choke me
23708 #else
23709 char (*f) () = $ac_func;
23710 #endif
23711 #ifdef __cplusplus
23712 }
23713 #endif
23714
23715 int
23716 main ()
23717 {
23718 return f != $ac_func;
23719   ;
23720   return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest.$ac_objext conftest$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725   (eval $ac_link) 2>&5
23726   ac_status=$?
23727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728   (exit $ac_status); } &&
23729          { ac_try='test -s conftest$ac_exeext'
23730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23731   (eval $ac_try) 2>&5
23732   ac_status=$?
23733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734   (exit $ac_status); }; }; then
23735   eval "$as_ac_var=yes"
23736 else
23737   echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23739
23740 eval "$as_ac_var=no"
23741 fi
23742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23743 fi
23744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23746 if test `eval echo '${'$as_ac_var'}'` = yes; then
23747   cat >>confdefs.h <<_ACEOF
23748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23749 _ACEOF
23750
23751 else
23752   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
23753 fi
23754 done
23755
23756
23757
23758 for ac_func in __signbit
23759 do
23760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23761 echo "$as_me:$LINENO: checking for $ac_func" >&5
23762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23763 if eval "test \"\${$as_ac_var+set}\" = set"; then
23764   echo $ECHO_N "(cached) $ECHO_C" >&6
23765 else
23766   cat >conftest.$ac_ext <<_ACEOF
23767 #line $LINENO "configure"
23768 /* confdefs.h.  */
23769 _ACEOF
23770 cat confdefs.h >>conftest.$ac_ext
23771 cat >>conftest.$ac_ext <<_ACEOF
23772 /* end confdefs.h.  */
23773 /* System header to define __stub macros and hopefully few prototypes,
23774     which can conflict with char $ac_func (); below.
23775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23776     <limits.h> exists even on freestanding compilers.  */
23777 #ifdef __STDC__
23778 # include <limits.h>
23779 #else
23780 # include <assert.h>
23781 #endif
23782 /* Override any gcc2 internal prototype to avoid an error.  */
23783 #ifdef __cplusplus
23784 extern "C"
23785 {
23786 #endif
23787 /* We use char because int might match the return type of a gcc2
23788    builtin and then its argument prototype would still apply.  */
23789 char $ac_func ();
23790 /* The GNU C library defines this for functions which it implements
23791     to always fail with ENOSYS.  Some functions are actually named
23792     something starting with __ and the normal name is an alias.  */
23793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23794 choke me
23795 #else
23796 char (*f) () = $ac_func;
23797 #endif
23798 #ifdef __cplusplus
23799 }
23800 #endif
23801
23802 int
23803 main ()
23804 {
23805 return f != $ac_func;
23806   ;
23807   return 0;
23808 }
23809 _ACEOF
23810 rm -f conftest.$ac_objext conftest$ac_exeext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23812   (eval $ac_link) 2>&5
23813   ac_status=$?
23814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815   (exit $ac_status); } &&
23816          { ac_try='test -s conftest$ac_exeext'
23817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818   (eval $ac_try) 2>&5
23819   ac_status=$?
23820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821   (exit $ac_status); }; }; then
23822   eval "$as_ac_var=yes"
23823 else
23824   echo "$as_me: failed program was:" >&5
23825 sed 's/^/| /' conftest.$ac_ext >&5
23826
23827 eval "$as_ac_var=no"
23828 fi
23829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23830 fi
23831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23833 if test `eval echo '${'$as_ac_var'}'` = yes; then
23834   cat >>confdefs.h <<_ACEOF
23835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23836 _ACEOF
23837
23838 else
23839   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
23840 fi
23841 done
23842
23843
23844 for ac_func in __signbitf
23845 do
23846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23847 echo "$as_me:$LINENO: checking for $ac_func" >&5
23848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23849 if eval "test \"\${$as_ac_var+set}\" = set"; then
23850   echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23852   cat >conftest.$ac_ext <<_ACEOF
23853 #line $LINENO "configure"
23854 /* confdefs.h.  */
23855 _ACEOF
23856 cat confdefs.h >>conftest.$ac_ext
23857 cat >>conftest.$ac_ext <<_ACEOF
23858 /* end confdefs.h.  */
23859 /* System header to define __stub macros and hopefully few prototypes,
23860     which can conflict with char $ac_func (); below.
23861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23862     <limits.h> exists even on freestanding compilers.  */
23863 #ifdef __STDC__
23864 # include <limits.h>
23865 #else
23866 # include <assert.h>
23867 #endif
23868 /* Override any gcc2 internal prototype to avoid an error.  */
23869 #ifdef __cplusplus
23870 extern "C"
23871 {
23872 #endif
23873 /* We use char because int might match the return type of a gcc2
23874    builtin and then its argument prototype would still apply.  */
23875 char $ac_func ();
23876 /* The GNU C library defines this for functions which it implements
23877     to always fail with ENOSYS.  Some functions are actually named
23878     something starting with __ and the normal name is an alias.  */
23879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23880 choke me
23881 #else
23882 char (*f) () = $ac_func;
23883 #endif
23884 #ifdef __cplusplus
23885 }
23886 #endif
23887
23888 int
23889 main ()
23890 {
23891 return f != $ac_func;
23892   ;
23893   return 0;
23894 }
23895 _ACEOF
23896 rm -f conftest.$ac_objext conftest$ac_exeext
23897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23898   (eval $ac_link) 2>&5
23899   ac_status=$?
23900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901   (exit $ac_status); } &&
23902          { ac_try='test -s conftest$ac_exeext'
23903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904   (eval $ac_try) 2>&5
23905   ac_status=$?
23906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907   (exit $ac_status); }; }; then
23908   eval "$as_ac_var=yes"
23909 else
23910   echo "$as_me: failed program was:" >&5
23911 sed 's/^/| /' conftest.$ac_ext >&5
23912
23913 eval "$as_ac_var=no"
23914 fi
23915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23916 fi
23917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23919 if test `eval echo '${'$as_ac_var'}'` = yes; then
23920   cat >>confdefs.h <<_ACEOF
23921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23922 _ACEOF
23923
23924 else
23925   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
23926 fi
23927 done
23928
23929
23930           if test x$ac_cv_func_copysignl = x"yes"; then
23931
23932 for ac_func in __signbitl
23933 do
23934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23935 echo "$as_me:$LINENO: checking for $ac_func" >&5
23936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23937 if eval "test \"\${$as_ac_var+set}\" = set"; then
23938   echo $ECHO_N "(cached) $ECHO_C" >&6
23939 else
23940   cat >conftest.$ac_ext <<_ACEOF
23941 #line $LINENO "configure"
23942 /* confdefs.h.  */
23943 _ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h.  */
23947 /* System header to define __stub macros and hopefully few prototypes,
23948     which can conflict with char $ac_func (); below.
23949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23950     <limits.h> exists even on freestanding compilers.  */
23951 #ifdef __STDC__
23952 # include <limits.h>
23953 #else
23954 # include <assert.h>
23955 #endif
23956 /* Override any gcc2 internal prototype to avoid an error.  */
23957 #ifdef __cplusplus
23958 extern "C"
23959 {
23960 #endif
23961 /* We use char because int might match the return type of a gcc2
23962    builtin and then its argument prototype would still apply.  */
23963 char $ac_func ();
23964 /* The GNU C library defines this for functions which it implements
23965     to always fail with ENOSYS.  Some functions are actually named
23966     something starting with __ and the normal name is an alias.  */
23967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23968 choke me
23969 #else
23970 char (*f) () = $ac_func;
23971 #endif
23972 #ifdef __cplusplus
23973 }
23974 #endif
23975
23976 int
23977 main ()
23978 {
23979 return f != $ac_func;
23980   ;
23981   return 0;
23982 }
23983 _ACEOF
23984 rm -f conftest.$ac_objext conftest$ac_exeext
23985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23986   (eval $ac_link) 2>&5
23987   ac_status=$?
23988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989   (exit $ac_status); } &&
23990          { ac_try='test -s conftest$ac_exeext'
23991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992   (eval $ac_try) 2>&5
23993   ac_status=$?
23994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995   (exit $ac_status); }; }; then
23996   eval "$as_ac_var=yes"
23997 else
23998   echo "$as_me: failed program was:" >&5
23999 sed 's/^/| /' conftest.$ac_ext >&5
24000
24001 eval "$as_ac_var=no"
24002 fi
24003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24004 fi
24005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24007 if test `eval echo '${'$as_ac_var'}'` = yes; then
24008   cat >>confdefs.h <<_ACEOF
24009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24010 _ACEOF
24011
24012 else
24013   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24014 fi
24015 done
24016
24017   fi
24018
24019   # XXX Review this.  Nothing uses it.
24020   if test -n "$LIBMATHOBJS"; then
24021     need_libmath=yes
24022   fi
24023
24024
24025
24026   # Test wchar.h for mbstate_t, which is needed for char_traits and
24027   # others even if wchar_t support is not on.
24028   echo "$as_me:$LINENO: checking for mbstate_t" >&5
24029 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24030   cat >conftest.$ac_ext <<_ACEOF
24031 #line $LINENO "configure"
24032 /* confdefs.h.  */
24033 _ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h.  */
24037 #include <wchar.h>
24038 int
24039 main ()
24040 {
24041 mbstate_t teststate;
24042   ;
24043   return 0;
24044 }
24045 _ACEOF
24046 rm -f conftest.$ac_objext
24047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24048   (eval $ac_compile) 2>&5
24049   ac_status=$?
24050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051   (exit $ac_status); } &&
24052          { ac_try='test -s conftest.$ac_objext'
24053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24054   (eval $ac_try) 2>&5
24055   ac_status=$?
24056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057   (exit $ac_status); }; }; then
24058   have_mbstate_t=yes
24059 else
24060   echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.$ac_ext >&5
24062
24063 have_mbstate_t=no
24064 fi
24065 rm -f conftest.$ac_objext conftest.$ac_ext
24066   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24067 echo "${ECHO_T}$have_mbstate_t" >&6
24068   if test x"$have_mbstate_t" = xyes; then
24069     cat >>confdefs.h <<\_ACEOF
24070 #define HAVE_MBSTATE_T 1
24071 _ACEOF
24072
24073   fi
24074
24075   # Sanity check for existence of ISO C99 headers for extended encoding.
24076
24077 for ac_header in wchar.h
24078 do
24079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24081   echo "$as_me:$LINENO: checking for $ac_header" >&5
24082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24084   echo $ECHO_N "(cached) $ECHO_C" >&6
24085 fi
24086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24088 else
24089   # Is the header compilable?
24090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24092 cat >conftest.$ac_ext <<_ACEOF
24093 #line $LINENO "configure"
24094 /* confdefs.h.  */
24095 _ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h.  */
24099 $ac_includes_default
24100 #include <$ac_header>
24101 _ACEOF
24102 rm -f conftest.$ac_objext
24103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24104   (eval $ac_compile) 2>&5
24105   ac_status=$?
24106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107   (exit $ac_status); } &&
24108          { ac_try='test -s conftest.$ac_objext'
24109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110   (eval $ac_try) 2>&5
24111   ac_status=$?
24112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113   (exit $ac_status); }; }; then
24114   ac_header_compiler=yes
24115 else
24116   echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24118
24119 ac_header_compiler=no
24120 fi
24121 rm -f conftest.$ac_objext conftest.$ac_ext
24122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24123 echo "${ECHO_T}$ac_header_compiler" >&6
24124
24125 # Is the header present?
24126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24128 cat >conftest.$ac_ext <<_ACEOF
24129 #line $LINENO "configure"
24130 /* confdefs.h.  */
24131 _ACEOF
24132 cat confdefs.h >>conftest.$ac_ext
24133 cat >>conftest.$ac_ext <<_ACEOF
24134 /* end confdefs.h.  */
24135 #include <$ac_header>
24136 _ACEOF
24137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24138   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24139   ac_status=$?
24140   grep -v '^ *+' conftest.er1 >conftest.err
24141   rm -f conftest.er1
24142   cat conftest.err >&5
24143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144   (exit $ac_status); } >/dev/null; then
24145   if test -s conftest.err; then
24146     ac_cpp_err=$ac_c_preproc_warn_flag
24147   else
24148     ac_cpp_err=
24149   fi
24150 else
24151   ac_cpp_err=yes
24152 fi
24153 if test -z "$ac_cpp_err"; then
24154   ac_header_preproc=yes
24155 else
24156   echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24158
24159   ac_header_preproc=no
24160 fi
24161 rm -f conftest.err conftest.$ac_ext
24162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24163 echo "${ECHO_T}$ac_header_preproc" >&6
24164
24165 # So?  What about this header?
24166 case $ac_header_compiler:$ac_header_preproc in
24167   yes:no )
24168     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24170     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24172     (
24173       cat <<\_ASBOX
24174 ## ------------------------------------ ##
24175 ## Report this to bug-autoconf@gnu.org. ##
24176 ## ------------------------------------ ##
24177 _ASBOX
24178     ) |
24179       sed "s/^/$as_me: WARNING:     /" >&2
24180     ;;
24181   no:yes )
24182     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24184     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24186     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24188     (
24189       cat <<\_ASBOX
24190 ## ------------------------------------ ##
24191 ## Report this to bug-autoconf@gnu.org. ##
24192 ## ------------------------------------ ##
24193 _ASBOX
24194     ) |
24195       sed "s/^/$as_me: WARNING:     /" >&2
24196     ;;
24197 esac
24198 echo "$as_me:$LINENO: checking for $ac_header" >&5
24199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24201   echo $ECHO_N "(cached) $ECHO_C" >&6
24202 else
24203   eval "$as_ac_Header=$ac_header_preproc"
24204 fi
24205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24207
24208 fi
24209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24210   cat >>confdefs.h <<_ACEOF
24211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24212 _ACEOF
24213  ac_has_wchar_h=yes
24214 else
24215   ac_has_wchar_h=no
24216 fi
24217
24218 done
24219
24220
24221 for ac_header in wctype.h
24222 do
24223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24225   echo "$as_me:$LINENO: checking for $ac_header" >&5
24226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24228   echo $ECHO_N "(cached) $ECHO_C" >&6
24229 fi
24230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24232 else
24233   # Is the header compilable?
24234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24236 cat >conftest.$ac_ext <<_ACEOF
24237 #line $LINENO "configure"
24238 /* confdefs.h.  */
24239 _ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h.  */
24243 $ac_includes_default
24244 #include <$ac_header>
24245 _ACEOF
24246 rm -f conftest.$ac_objext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24248   (eval $ac_compile) 2>&5
24249   ac_status=$?
24250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251   (exit $ac_status); } &&
24252          { ac_try='test -s conftest.$ac_objext'
24253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254   (eval $ac_try) 2>&5
24255   ac_status=$?
24256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257   (exit $ac_status); }; }; then
24258   ac_header_compiler=yes
24259 else
24260   echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24262
24263 ac_header_compiler=no
24264 fi
24265 rm -f conftest.$ac_objext conftest.$ac_ext
24266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24267 echo "${ECHO_T}$ac_header_compiler" >&6
24268
24269 # Is the header present?
24270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24272 cat >conftest.$ac_ext <<_ACEOF
24273 #line $LINENO "configure"
24274 /* confdefs.h.  */
24275 _ACEOF
24276 cat confdefs.h >>conftest.$ac_ext
24277 cat >>conftest.$ac_ext <<_ACEOF
24278 /* end confdefs.h.  */
24279 #include <$ac_header>
24280 _ACEOF
24281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24282   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24283   ac_status=$?
24284   grep -v '^ *+' conftest.er1 >conftest.err
24285   rm -f conftest.er1
24286   cat conftest.err >&5
24287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288   (exit $ac_status); } >/dev/null; then
24289   if test -s conftest.err; then
24290     ac_cpp_err=$ac_c_preproc_warn_flag
24291   else
24292     ac_cpp_err=
24293   fi
24294 else
24295   ac_cpp_err=yes
24296 fi
24297 if test -z "$ac_cpp_err"; then
24298   ac_header_preproc=yes
24299 else
24300   echo "$as_me: failed program was:" >&5
24301 sed 's/^/| /' conftest.$ac_ext >&5
24302
24303   ac_header_preproc=no
24304 fi
24305 rm -f conftest.err conftest.$ac_ext
24306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24307 echo "${ECHO_T}$ac_header_preproc" >&6
24308
24309 # So?  What about this header?
24310 case $ac_header_compiler:$ac_header_preproc in
24311   yes:no )
24312     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24314     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24316     (
24317       cat <<\_ASBOX
24318 ## ------------------------------------ ##
24319 ## Report this to bug-autoconf@gnu.org. ##
24320 ## ------------------------------------ ##
24321 _ASBOX
24322     ) |
24323       sed "s/^/$as_me: WARNING:     /" >&2
24324     ;;
24325   no:yes )
24326     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24328     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24330     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24332     (
24333       cat <<\_ASBOX
24334 ## ------------------------------------ ##
24335 ## Report this to bug-autoconf@gnu.org. ##
24336 ## ------------------------------------ ##
24337 _ASBOX
24338     ) |
24339       sed "s/^/$as_me: WARNING:     /" >&2
24340     ;;
24341 esac
24342 echo "$as_me:$LINENO: checking for $ac_header" >&5
24343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24345   echo $ECHO_N "(cached) $ECHO_C" >&6
24346 else
24347   eval "$as_ac_Header=$ac_header_preproc"
24348 fi
24349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24351
24352 fi
24353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24354   cat >>confdefs.h <<_ACEOF
24355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24356 _ACEOF
24357  ac_has_wctype_h=yes
24358 else
24359   ac_has_wctype_h=no
24360 fi
24361
24362 done
24363
24364
24365   # Only continue checking if the ISO C99 headers exist and support is on.
24366   if test x"$ac_has_wchar_h" = xyes &&
24367      test x"$ac_has_wctype_h" = xyes &&
24368      test x"$enable_c_mbchar" != xno; then
24369
24370     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24371     # numeric_limits can instantiate type_traits<wchar_t>
24372     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24373 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24374     cat >conftest.$ac_ext <<_ACEOF
24375 #line $LINENO "configure"
24376 /* confdefs.h.  */
24377 _ACEOF
24378 cat confdefs.h >>conftest.$ac_ext
24379 cat >>conftest.$ac_ext <<_ACEOF
24380 /* end confdefs.h.  */
24381 #include <wchar.h>
24382 int
24383 main ()
24384 {
24385 int i = WCHAR_MIN; int j = WCHAR_MAX;
24386   ;
24387   return 0;
24388 }
24389 _ACEOF
24390 rm -f conftest.$ac_objext
24391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24392   (eval $ac_compile) 2>&5
24393   ac_status=$?
24394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395   (exit $ac_status); } &&
24396          { ac_try='test -s conftest.$ac_objext'
24397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398   (eval $ac_try) 2>&5
24399   ac_status=$?
24400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401   (exit $ac_status); }; }; then
24402   has_wchar_minmax=yes
24403 else
24404   echo "$as_me: failed program was:" >&5
24405 sed 's/^/| /' conftest.$ac_ext >&5
24406
24407 has_wchar_minmax=no
24408 fi
24409 rm -f conftest.$ac_objext conftest.$ac_ext
24410     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24411 echo "${ECHO_T}$has_wchar_minmax" >&6
24412
24413     # Test wchar.h for WEOF, which is what we use to determine whether
24414     # to specialize for char_traits<wchar_t> or not.
24415     echo "$as_me:$LINENO: checking for WEOF" >&5
24416 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24417     cat >conftest.$ac_ext <<_ACEOF
24418 #line $LINENO "configure"
24419 /* confdefs.h.  */
24420 _ACEOF
24421 cat confdefs.h >>conftest.$ac_ext
24422 cat >>conftest.$ac_ext <<_ACEOF
24423 /* end confdefs.h.  */
24424
24425       #include <wchar.h>
24426       #include <stddef.h>
24427 int
24428 main ()
24429 {
24430 wint_t i = WEOF;
24431   ;
24432   return 0;
24433 }
24434 _ACEOF
24435 rm -f conftest.$ac_objext
24436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24437   (eval $ac_compile) 2>&5
24438   ac_status=$?
24439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440   (exit $ac_status); } &&
24441          { ac_try='test -s conftest.$ac_objext'
24442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443   (eval $ac_try) 2>&5
24444   ac_status=$?
24445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446   (exit $ac_status); }; }; then
24447   has_weof=yes
24448 else
24449   echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24451
24452 has_weof=no
24453 fi
24454 rm -f conftest.$ac_objext conftest.$ac_ext
24455     echo "$as_me:$LINENO: result: $has_weof" >&5
24456 echo "${ECHO_T}$has_weof" >&6
24457
24458     # Tests for wide character functions used in char_traits<wchar_t>.
24459     ac_wfuncs=yes
24460
24461
24462
24463
24464
24465
24466 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24467 do
24468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24469 echo "$as_me:$LINENO: checking for $ac_func" >&5
24470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24471 if eval "test \"\${$as_ac_var+set}\" = set"; then
24472   echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474   cat >conftest.$ac_ext <<_ACEOF
24475 #line $LINENO "configure"
24476 /* confdefs.h.  */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h.  */
24481 /* System header to define __stub macros and hopefully few prototypes,
24482     which can conflict with char $ac_func (); below.
24483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24484     <limits.h> exists even on freestanding compilers.  */
24485 #ifdef __STDC__
24486 # include <limits.h>
24487 #else
24488 # include <assert.h>
24489 #endif
24490 /* Override any gcc2 internal prototype to avoid an error.  */
24491 #ifdef __cplusplus
24492 extern "C"
24493 {
24494 #endif
24495 /* We use char because int might match the return type of a gcc2
24496    builtin and then its argument prototype would still apply.  */
24497 char $ac_func ();
24498 /* The GNU C library defines this for functions which it implements
24499     to always fail with ENOSYS.  Some functions are actually named
24500     something starting with __ and the normal name is an alias.  */
24501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24502 choke me
24503 #else
24504 char (*f) () = $ac_func;
24505 #endif
24506 #ifdef __cplusplus
24507 }
24508 #endif
24509
24510 int
24511 main ()
24512 {
24513 return f != $ac_func;
24514   ;
24515   return 0;
24516 }
24517 _ACEOF
24518 rm -f conftest.$ac_objext conftest$ac_exeext
24519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24520   (eval $ac_link) 2>&5
24521   ac_status=$?
24522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523   (exit $ac_status); } &&
24524          { ac_try='test -s conftest$ac_exeext'
24525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526   (eval $ac_try) 2>&5
24527   ac_status=$?
24528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529   (exit $ac_status); }; }; then
24530   eval "$as_ac_var=yes"
24531 else
24532   echo "$as_me: failed program was:" >&5
24533 sed 's/^/| /' conftest.$ac_ext >&5
24534
24535 eval "$as_ac_var=no"
24536 fi
24537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24538 fi
24539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24541 if test `eval echo '${'$as_ac_var'}'` = yes; then
24542   cat >>confdefs.h <<_ACEOF
24543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24544 _ACEOF
24545
24546 else
24547   ac_wfuncs=no
24548 fi
24549 done
24550
24551
24552     # Checks for names injected into std:: by the c_std headers.
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
24604     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
24605     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
24606     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
24607     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
24608     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
24609 do
24610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24611 echo "$as_me:$LINENO: checking for $ac_func" >&5
24612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24613 if eval "test \"\${$as_ac_var+set}\" = set"; then
24614   echo $ECHO_N "(cached) $ECHO_C" >&6
24615 else
24616   cat >conftest.$ac_ext <<_ACEOF
24617 #line $LINENO "configure"
24618 /* confdefs.h.  */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h.  */
24623 /* System header to define __stub macros and hopefully few prototypes,
24624     which can conflict with char $ac_func (); below.
24625     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24626     <limits.h> exists even on freestanding compilers.  */
24627 #ifdef __STDC__
24628 # include <limits.h>
24629 #else
24630 # include <assert.h>
24631 #endif
24632 /* Override any gcc2 internal prototype to avoid an error.  */
24633 #ifdef __cplusplus
24634 extern "C"
24635 {
24636 #endif
24637 /* We use char because int might match the return type of a gcc2
24638    builtin and then its argument prototype would still apply.  */
24639 char $ac_func ();
24640 /* The GNU C library defines this for functions which it implements
24641     to always fail with ENOSYS.  Some functions are actually named
24642     something starting with __ and the normal name is an alias.  */
24643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24644 choke me
24645 #else
24646 char (*f) () = $ac_func;
24647 #endif
24648 #ifdef __cplusplus
24649 }
24650 #endif
24651
24652 int
24653 main ()
24654 {
24655 return f != $ac_func;
24656   ;
24657   return 0;
24658 }
24659 _ACEOF
24660 rm -f conftest.$ac_objext conftest$ac_exeext
24661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24662   (eval $ac_link) 2>&5
24663   ac_status=$?
24664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665   (exit $ac_status); } &&
24666          { ac_try='test -s conftest$ac_exeext'
24667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668   (eval $ac_try) 2>&5
24669   ac_status=$?
24670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671   (exit $ac_status); }; }; then
24672   eval "$as_ac_var=yes"
24673 else
24674   echo "$as_me: failed program was:" >&5
24675 sed 's/^/| /' conftest.$ac_ext >&5
24676
24677 eval "$as_ac_var=no"
24678 fi
24679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24680 fi
24681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24683 if test `eval echo '${'$as_ac_var'}'` = yes; then
24684   cat >>confdefs.h <<_ACEOF
24685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24686 _ACEOF
24687
24688 else
24689   ac_wfuncs=no
24690 fi
24691 done
24692
24693
24694     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
24695 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
24696     if test x"$has_weof" = xyes &&
24697        test x"$has_wchar_minmax" = xyes &&
24698        test x"$ac_wfuncs" = xyes;
24699     then
24700       ac_isoC99_wchar_t=yes
24701     else
24702       ac_isoC99_wchar_t=no
24703     fi
24704     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
24705 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
24706
24707     # Use iconv for wchar_t to char conversions. As such, check for
24708     # X/Open Portability Guide, version 2 features (XPG2).
24709     if test "${ac_cv_header_iconv_h+set}" = set; then
24710   echo "$as_me:$LINENO: checking for iconv.h" >&5
24711 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
24712 if test "${ac_cv_header_iconv_h+set}" = set; then
24713   echo $ECHO_N "(cached) $ECHO_C" >&6
24714 fi
24715 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
24716 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
24717 else
24718   # Is the header compilable?
24719 echo "$as_me:$LINENO: checking iconv.h usability" >&5
24720 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
24721 cat >conftest.$ac_ext <<_ACEOF
24722 #line $LINENO "configure"
24723 /* confdefs.h.  */
24724 _ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h.  */
24728 $ac_includes_default
24729 #include <iconv.h>
24730 _ACEOF
24731 rm -f conftest.$ac_objext
24732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24733   (eval $ac_compile) 2>&5
24734   ac_status=$?
24735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736   (exit $ac_status); } &&
24737          { ac_try='test -s conftest.$ac_objext'
24738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739   (eval $ac_try) 2>&5
24740   ac_status=$?
24741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742   (exit $ac_status); }; }; then
24743   ac_header_compiler=yes
24744 else
24745   echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.$ac_ext >&5
24747
24748 ac_header_compiler=no
24749 fi
24750 rm -f conftest.$ac_objext conftest.$ac_ext
24751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24752 echo "${ECHO_T}$ac_header_compiler" >&6
24753
24754 # Is the header present?
24755 echo "$as_me:$LINENO: checking iconv.h presence" >&5
24756 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
24757 cat >conftest.$ac_ext <<_ACEOF
24758 #line $LINENO "configure"
24759 /* confdefs.h.  */
24760 _ACEOF
24761 cat confdefs.h >>conftest.$ac_ext
24762 cat >>conftest.$ac_ext <<_ACEOF
24763 /* end confdefs.h.  */
24764 #include <iconv.h>
24765 _ACEOF
24766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24767   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24768   ac_status=$?
24769   grep -v '^ *+' conftest.er1 >conftest.err
24770   rm -f conftest.er1
24771   cat conftest.err >&5
24772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773   (exit $ac_status); } >/dev/null; then
24774   if test -s conftest.err; then
24775     ac_cpp_err=$ac_c_preproc_warn_flag
24776   else
24777     ac_cpp_err=
24778   fi
24779 else
24780   ac_cpp_err=yes
24781 fi
24782 if test -z "$ac_cpp_err"; then
24783   ac_header_preproc=yes
24784 else
24785   echo "$as_me: failed program was:" >&5
24786 sed 's/^/| /' conftest.$ac_ext >&5
24787
24788   ac_header_preproc=no
24789 fi
24790 rm -f conftest.err conftest.$ac_ext
24791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24792 echo "${ECHO_T}$ac_header_preproc" >&6
24793
24794 # So?  What about this header?
24795 case $ac_header_compiler:$ac_header_preproc in
24796   yes:no )
24797     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
24798 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24799     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
24800 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
24801     (
24802       cat <<\_ASBOX
24803 ## ------------------------------------ ##
24804 ## Report this to bug-autoconf@gnu.org. ##
24805 ## ------------------------------------ ##
24806 _ASBOX
24807     ) |
24808       sed "s/^/$as_me: WARNING:     /" >&2
24809     ;;
24810   no:yes )
24811     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
24812 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
24813     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
24814 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
24815     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
24816 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
24817     (
24818       cat <<\_ASBOX
24819 ## ------------------------------------ ##
24820 ## Report this to bug-autoconf@gnu.org. ##
24821 ## ------------------------------------ ##
24822 _ASBOX
24823     ) |
24824       sed "s/^/$as_me: WARNING:     /" >&2
24825     ;;
24826 esac
24827 echo "$as_me:$LINENO: checking for iconv.h" >&5
24828 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
24829 if test "${ac_cv_header_iconv_h+set}" = set; then
24830   echo $ECHO_N "(cached) $ECHO_C" >&6
24831 else
24832   ac_cv_header_iconv_h=$ac_header_preproc
24833 fi
24834 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
24835 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
24836
24837 fi
24838 if test $ac_cv_header_iconv_h = yes; then
24839   ac_has_iconv_h=yes
24840 else
24841   ac_has_iconv_h=no
24842 fi
24843
24844
24845     if test "${ac_cv_header_langinfo_h+set}" = set; then
24846   echo "$as_me:$LINENO: checking for langinfo.h" >&5
24847 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
24848 if test "${ac_cv_header_langinfo_h+set}" = set; then
24849   echo $ECHO_N "(cached) $ECHO_C" >&6
24850 fi
24851 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
24852 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
24853 else
24854   # Is the header compilable?
24855 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
24856 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
24857 cat >conftest.$ac_ext <<_ACEOF
24858 #line $LINENO "configure"
24859 /* confdefs.h.  */
24860 _ACEOF
24861 cat confdefs.h >>conftest.$ac_ext
24862 cat >>conftest.$ac_ext <<_ACEOF
24863 /* end confdefs.h.  */
24864 $ac_includes_default
24865 #include <langinfo.h>
24866 _ACEOF
24867 rm -f conftest.$ac_objext
24868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24869   (eval $ac_compile) 2>&5
24870   ac_status=$?
24871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872   (exit $ac_status); } &&
24873          { ac_try='test -s conftest.$ac_objext'
24874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24875   (eval $ac_try) 2>&5
24876   ac_status=$?
24877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878   (exit $ac_status); }; }; then
24879   ac_header_compiler=yes
24880 else
24881   echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.$ac_ext >&5
24883
24884 ac_header_compiler=no
24885 fi
24886 rm -f conftest.$ac_objext conftest.$ac_ext
24887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24888 echo "${ECHO_T}$ac_header_compiler" >&6
24889
24890 # Is the header present?
24891 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
24892 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
24893 cat >conftest.$ac_ext <<_ACEOF
24894 #line $LINENO "configure"
24895 /* confdefs.h.  */
24896 _ACEOF
24897 cat confdefs.h >>conftest.$ac_ext
24898 cat >>conftest.$ac_ext <<_ACEOF
24899 /* end confdefs.h.  */
24900 #include <langinfo.h>
24901 _ACEOF
24902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24903   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24904   ac_status=$?
24905   grep -v '^ *+' conftest.er1 >conftest.err
24906   rm -f conftest.er1
24907   cat conftest.err >&5
24908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909   (exit $ac_status); } >/dev/null; then
24910   if test -s conftest.err; then
24911     ac_cpp_err=$ac_c_preproc_warn_flag
24912   else
24913     ac_cpp_err=
24914   fi
24915 else
24916   ac_cpp_err=yes
24917 fi
24918 if test -z "$ac_cpp_err"; then
24919   ac_header_preproc=yes
24920 else
24921   echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924   ac_header_preproc=no
24925 fi
24926 rm -f conftest.err conftest.$ac_ext
24927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24928 echo "${ECHO_T}$ac_header_preproc" >&6
24929
24930 # So?  What about this header?
24931 case $ac_header_compiler:$ac_header_preproc in
24932   yes:no )
24933     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
24934 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24935     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
24936 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
24937     (
24938       cat <<\_ASBOX
24939 ## ------------------------------------ ##
24940 ## Report this to bug-autoconf@gnu.org. ##
24941 ## ------------------------------------ ##
24942 _ASBOX
24943     ) |
24944       sed "s/^/$as_me: WARNING:     /" >&2
24945     ;;
24946   no:yes )
24947     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
24948 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
24949     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
24950 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
24951     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
24952 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
24953     (
24954       cat <<\_ASBOX
24955 ## ------------------------------------ ##
24956 ## Report this to bug-autoconf@gnu.org. ##
24957 ## ------------------------------------ ##
24958 _ASBOX
24959     ) |
24960       sed "s/^/$as_me: WARNING:     /" >&2
24961     ;;
24962 esac
24963 echo "$as_me:$LINENO: checking for langinfo.h" >&5
24964 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
24965 if test "${ac_cv_header_langinfo_h+set}" = set; then
24966   echo $ECHO_N "(cached) $ECHO_C" >&6
24967 else
24968   ac_cv_header_langinfo_h=$ac_header_preproc
24969 fi
24970 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
24971 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
24972
24973 fi
24974 if test $ac_cv_header_langinfo_h = yes; then
24975   ac_has_langinfo_h=yes
24976 else
24977   ac_has_langinfo_h=no
24978 fi
24979
24980
24981
24982     # Check for existence of libiconv.a providing XPG2 wchar_t support.
24983     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
24984 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
24985 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
24986   echo $ECHO_N "(cached) $ECHO_C" >&6
24987 else
24988   ac_check_lib_save_LIBS=$LIBS
24989 LIBS="-liconv  $LIBS"
24990 cat >conftest.$ac_ext <<_ACEOF
24991 #line $LINENO "configure"
24992 /* confdefs.h.  */
24993 _ACEOF
24994 cat confdefs.h >>conftest.$ac_ext
24995 cat >>conftest.$ac_ext <<_ACEOF
24996 /* end confdefs.h.  */
24997
24998 /* Override any gcc2 internal prototype to avoid an error.  */
24999 #ifdef __cplusplus
25000 extern "C"
25001 #endif
25002 /* We use char because int might match the return type of a gcc2
25003    builtin and then its argument prototype would still apply.  */
25004 char iconv ();
25005 int
25006 main ()
25007 {
25008 iconv ();
25009   ;
25010   return 0;
25011 }
25012 _ACEOF
25013 rm -f conftest.$ac_objext conftest$ac_exeext
25014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25015   (eval $ac_link) 2>&5
25016   ac_status=$?
25017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018   (exit $ac_status); } &&
25019          { ac_try='test -s conftest$ac_exeext'
25020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021   (eval $ac_try) 2>&5
25022   ac_status=$?
25023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024   (exit $ac_status); }; }; then
25025   ac_cv_lib_iconv_iconv=yes
25026 else
25027   echo "$as_me: failed program was:" >&5
25028 sed 's/^/| /' conftest.$ac_ext >&5
25029
25030 ac_cv_lib_iconv_iconv=no
25031 fi
25032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25033 LIBS=$ac_check_lib_save_LIBS
25034 fi
25035 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25036 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25037 if test $ac_cv_lib_iconv_iconv = yes; then
25038   libiconv="-liconv"
25039 fi
25040
25041     ac_save_LIBS="$LIBS"
25042     LIBS="$LIBS $libiconv"
25043
25044
25045
25046
25047
25048 for ac_func in iconv_open iconv_close iconv nl_langinfo
25049 do
25050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25051 echo "$as_me:$LINENO: checking for $ac_func" >&5
25052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25053 if eval "test \"\${$as_ac_var+set}\" = set"; then
25054   echo $ECHO_N "(cached) $ECHO_C" >&6
25055 else
25056   cat >conftest.$ac_ext <<_ACEOF
25057 #line $LINENO "configure"
25058 /* confdefs.h.  */
25059 _ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h.  */
25063 /* System header to define __stub macros and hopefully few prototypes,
25064     which can conflict with char $ac_func (); below.
25065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25066     <limits.h> exists even on freestanding compilers.  */
25067 #ifdef __STDC__
25068 # include <limits.h>
25069 #else
25070 # include <assert.h>
25071 #endif
25072 /* Override any gcc2 internal prototype to avoid an error.  */
25073 #ifdef __cplusplus
25074 extern "C"
25075 {
25076 #endif
25077 /* We use char because int might match the return type of a gcc2
25078    builtin and then its argument prototype would still apply.  */
25079 char $ac_func ();
25080 /* The GNU C library defines this for functions which it implements
25081     to always fail with ENOSYS.  Some functions are actually named
25082     something starting with __ and the normal name is an alias.  */
25083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25084 choke me
25085 #else
25086 char (*f) () = $ac_func;
25087 #endif
25088 #ifdef __cplusplus
25089 }
25090 #endif
25091
25092 int
25093 main ()
25094 {
25095 return f != $ac_func;
25096   ;
25097   return 0;
25098 }
25099 _ACEOF
25100 rm -f conftest.$ac_objext conftest$ac_exeext
25101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25102   (eval $ac_link) 2>&5
25103   ac_status=$?
25104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105   (exit $ac_status); } &&
25106          { ac_try='test -s conftest$ac_exeext'
25107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108   (eval $ac_try) 2>&5
25109   ac_status=$?
25110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111   (exit $ac_status); }; }; then
25112   eval "$as_ac_var=yes"
25113 else
25114   echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117 eval "$as_ac_var=no"
25118 fi
25119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25120 fi
25121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25123 if test `eval echo '${'$as_ac_var'}'` = yes; then
25124   cat >>confdefs.h <<_ACEOF
25125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25126 _ACEOF
25127  ac_XPG2funcs=yes
25128 else
25129   ac_XPG2funcs=no
25130 fi
25131 done
25132
25133
25134     LIBS="$ac_save_LIBS"
25135
25136     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25137 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25138     if test x"$ac_has_iconv_h" = xyes &&
25139        test x"$ac_has_langinfo_h" = xyes &&
25140        test x"$ac_XPG2funcs" = xyes;
25141     then
25142       ac_XPG2_wchar_t=yes
25143     else
25144       ac_XPG2_wchar_t=no
25145     fi
25146     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25147 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25148
25149     # At the moment, only enable wchar_t specializations if all the
25150     # above support is present.
25151     if test x"$ac_isoC99_wchar_t" = xyes &&
25152        test x"$ac_XPG2_wchar_t" = xyes;
25153     then
25154       cat >>confdefs.h <<\_ACEOF
25155 #define _GLIBCXX_USE_WCHAR_T 1
25156 _ACEOF
25157
25158       enable_wchar_t=yes
25159     fi
25160   fi
25161   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25162 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25163   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25164 echo "${ECHO_T}$enable_wchar_t" >&6
25165
25166
25167   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25168   ac_save_CXXFLAGS="$CXXFLAGS"
25169   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25170
25171
25172   echo "$as_me:$LINENO: checking for strtold declaration" >&5
25173 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25174   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25175     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25176   echo $ECHO_N "(cached) $ECHO_C" >&6
25177 else
25178
25179
25180
25181       ac_ext=cc
25182 ac_cpp='$CXXCPP $CPPFLAGS'
25183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25186
25187       cat >conftest.$ac_ext <<_ACEOF
25188 #line $LINENO "configure"
25189 /* confdefs.h.  */
25190 _ACEOF
25191 cat confdefs.h >>conftest.$ac_ext
25192 cat >>conftest.$ac_ext <<_ACEOF
25193 /* end confdefs.h.  */
25194 #include <stdlib.h>
25195 int
25196 main ()
25197 {
25198  strtold(0, 0);
25199   ;
25200   return 0;
25201 }
25202 _ACEOF
25203 rm -f conftest.$ac_objext
25204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25205   (eval $ac_compile) 2>&5
25206   ac_status=$?
25207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208   (exit $ac_status); } &&
25209          { ac_try='test -s conftest.$ac_objext'
25210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211   (eval $ac_try) 2>&5
25212   ac_status=$?
25213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214   (exit $ac_status); }; }; then
25215   glibcxx_cv_func_strtold_use=yes
25216 else
25217   echo "$as_me: failed program was:" >&5
25218 sed 's/^/| /' conftest.$ac_ext >&5
25219
25220 glibcxx_cv_func_strtold_use=no
25221 fi
25222 rm -f conftest.$ac_objext conftest.$ac_ext
25223       ac_ext=c
25224 ac_cpp='$CPP $CPPFLAGS'
25225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25228
25229
25230 fi
25231
25232   fi
25233   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25234 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25235   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25236
25237 for ac_func in strtold
25238 do
25239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25240 echo "$as_me:$LINENO: checking for $ac_func" >&5
25241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25242 if eval "test \"\${$as_ac_var+set}\" = set"; then
25243   echo $ECHO_N "(cached) $ECHO_C" >&6
25244 else
25245   cat >conftest.$ac_ext <<_ACEOF
25246 #line $LINENO "configure"
25247 /* confdefs.h.  */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h.  */
25252 /* System header to define __stub macros and hopefully few prototypes,
25253     which can conflict with char $ac_func (); below.
25254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25255     <limits.h> exists even on freestanding compilers.  */
25256 #ifdef __STDC__
25257 # include <limits.h>
25258 #else
25259 # include <assert.h>
25260 #endif
25261 /* Override any gcc2 internal prototype to avoid an error.  */
25262 #ifdef __cplusplus
25263 extern "C"
25264 {
25265 #endif
25266 /* We use char because int might match the return type of a gcc2
25267    builtin and then its argument prototype would still apply.  */
25268 char $ac_func ();
25269 /* The GNU C library defines this for functions which it implements
25270     to always fail with ENOSYS.  Some functions are actually named
25271     something starting with __ and the normal name is an alias.  */
25272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25273 choke me
25274 #else
25275 char (*f) () = $ac_func;
25276 #endif
25277 #ifdef __cplusplus
25278 }
25279 #endif
25280
25281 int
25282 main ()
25283 {
25284 return f != $ac_func;
25285   ;
25286   return 0;
25287 }
25288 _ACEOF
25289 rm -f conftest.$ac_objext conftest$ac_exeext
25290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25291   (eval $ac_link) 2>&5
25292   ac_status=$?
25293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294   (exit $ac_status); } &&
25295          { ac_try='test -s conftest$ac_exeext'
25296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297   (eval $ac_try) 2>&5
25298   ac_status=$?
25299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300   (exit $ac_status); }; }; then
25301   eval "$as_ac_var=yes"
25302 else
25303   echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25305
25306 eval "$as_ac_var=no"
25307 fi
25308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25309 fi
25310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25312 if test `eval echo '${'$as_ac_var'}'` = yes; then
25313   cat >>confdefs.h <<_ACEOF
25314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25315 _ACEOF
25316
25317 fi
25318 done
25319
25320   fi
25321
25322
25323   echo "$as_me:$LINENO: checking for strtof declaration" >&5
25324 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25325   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25326     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25327   echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25329
25330
25331
25332       ac_ext=cc
25333 ac_cpp='$CXXCPP $CPPFLAGS'
25334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25337
25338       cat >conftest.$ac_ext <<_ACEOF
25339 #line $LINENO "configure"
25340 /* confdefs.h.  */
25341 _ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h.  */
25345 #include <stdlib.h>
25346 int
25347 main ()
25348 {
25349  strtof(0, 0);
25350   ;
25351   return 0;
25352 }
25353 _ACEOF
25354 rm -f conftest.$ac_objext
25355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25356   (eval $ac_compile) 2>&5
25357   ac_status=$?
25358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359   (exit $ac_status); } &&
25360          { ac_try='test -s conftest.$ac_objext'
25361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362   (eval $ac_try) 2>&5
25363   ac_status=$?
25364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365   (exit $ac_status); }; }; then
25366   glibcxx_cv_func_strtof_use=yes
25367 else
25368   echo "$as_me: failed program was:" >&5
25369 sed 's/^/| /' conftest.$ac_ext >&5
25370
25371 glibcxx_cv_func_strtof_use=no
25372 fi
25373 rm -f conftest.$ac_objext conftest.$ac_ext
25374       ac_ext=c
25375 ac_cpp='$CPP $CPPFLAGS'
25376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25379
25380
25381 fi
25382
25383   fi
25384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
25385 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
25386   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25387
25388 for ac_func in strtof
25389 do
25390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25391 echo "$as_me:$LINENO: checking for $ac_func" >&5
25392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25393 if eval "test \"\${$as_ac_var+set}\" = set"; then
25394   echo $ECHO_N "(cached) $ECHO_C" >&6
25395 else
25396   cat >conftest.$ac_ext <<_ACEOF
25397 #line $LINENO "configure"
25398 /* confdefs.h.  */
25399 _ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h.  */
25403 /* System header to define __stub macros and hopefully few prototypes,
25404     which can conflict with char $ac_func (); below.
25405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25406     <limits.h> exists even on freestanding compilers.  */
25407 #ifdef __STDC__
25408 # include <limits.h>
25409 #else
25410 # include <assert.h>
25411 #endif
25412 /* Override any gcc2 internal prototype to avoid an error.  */
25413 #ifdef __cplusplus
25414 extern "C"
25415 {
25416 #endif
25417 /* We use char because int might match the return type of a gcc2
25418    builtin and then its argument prototype would still apply.  */
25419 char $ac_func ();
25420 /* The GNU C library defines this for functions which it implements
25421     to always fail with ENOSYS.  Some functions are actually named
25422     something starting with __ and the normal name is an alias.  */
25423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25424 choke me
25425 #else
25426 char (*f) () = $ac_func;
25427 #endif
25428 #ifdef __cplusplus
25429 }
25430 #endif
25431
25432 int
25433 main ()
25434 {
25435 return f != $ac_func;
25436   ;
25437   return 0;
25438 }
25439 _ACEOF
25440 rm -f conftest.$ac_objext conftest$ac_exeext
25441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25442   (eval $ac_link) 2>&5
25443   ac_status=$?
25444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445   (exit $ac_status); } &&
25446          { ac_try='test -s conftest$ac_exeext'
25447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25448   (eval $ac_try) 2>&5
25449   ac_status=$?
25450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451   (exit $ac_status); }; }; then
25452   eval "$as_ac_var=yes"
25453 else
25454   echo "$as_me: failed program was:" >&5
25455 sed 's/^/| /' conftest.$ac_ext >&5
25456
25457 eval "$as_ac_var=no"
25458 fi
25459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25460 fi
25461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25463 if test `eval echo '${'$as_ac_var'}'` = yes; then
25464   cat >>confdefs.h <<_ACEOF
25465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25466 _ACEOF
25467
25468 fi
25469 done
25470
25471   fi
25472
25473
25474 for ac_func in drand48
25475 do
25476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25477 echo "$as_me:$LINENO: checking for $ac_func" >&5
25478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25479 if eval "test \"\${$as_ac_var+set}\" = set"; then
25480   echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25482   cat >conftest.$ac_ext <<_ACEOF
25483 #line $LINENO "configure"
25484 /* confdefs.h.  */
25485 _ACEOF
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h.  */
25489 /* System header to define __stub macros and hopefully few prototypes,
25490     which can conflict with char $ac_func (); below.
25491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492     <limits.h> exists even on freestanding compilers.  */
25493 #ifdef __STDC__
25494 # include <limits.h>
25495 #else
25496 # include <assert.h>
25497 #endif
25498 /* Override any gcc2 internal prototype to avoid an error.  */
25499 #ifdef __cplusplus
25500 extern "C"
25501 {
25502 #endif
25503 /* We use char because int might match the return type of a gcc2
25504    builtin and then its argument prototype would still apply.  */
25505 char $ac_func ();
25506 /* The GNU C library defines this for functions which it implements
25507     to always fail with ENOSYS.  Some functions are actually named
25508     something starting with __ and the normal name is an alias.  */
25509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25510 choke me
25511 #else
25512 char (*f) () = $ac_func;
25513 #endif
25514 #ifdef __cplusplus
25515 }
25516 #endif
25517
25518 int
25519 main ()
25520 {
25521 return f != $ac_func;
25522   ;
25523   return 0;
25524 }
25525 _ACEOF
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528   (eval $ac_link) 2>&5
25529   ac_status=$?
25530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531   (exit $ac_status); } &&
25532          { ac_try='test -s conftest$ac_exeext'
25533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534   (eval $ac_try) 2>&5
25535   ac_status=$?
25536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537   (exit $ac_status); }; }; then
25538   eval "$as_ac_var=yes"
25539 else
25540   echo "$as_me: failed program was:" >&5
25541 sed 's/^/| /' conftest.$ac_ext >&5
25542
25543 eval "$as_ac_var=no"
25544 fi
25545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25546 fi
25547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25549 if test `eval echo '${'$as_ac_var'}'` = yes; then
25550   cat >>confdefs.h <<_ACEOF
25551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25552 _ACEOF
25553
25554 fi
25555 done
25556
25557
25558   CXXFLAGS="$ac_save_CXXFLAGS"
25559
25560
25561   # For showmanyc_helper().
25562
25563
25564 for ac_header in sys/ioctl.h sys/filio.h
25565 do
25566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25568   echo "$as_me:$LINENO: checking for $ac_header" >&5
25569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25571   echo $ECHO_N "(cached) $ECHO_C" >&6
25572 fi
25573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25575 else
25576   # Is the header compilable?
25577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25579 cat >conftest.$ac_ext <<_ACEOF
25580 #line $LINENO "configure"
25581 /* confdefs.h.  */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h.  */
25586 $ac_includes_default
25587 #include <$ac_header>
25588 _ACEOF
25589 rm -f conftest.$ac_objext
25590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25591   (eval $ac_compile) 2>&5
25592   ac_status=$?
25593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594   (exit $ac_status); } &&
25595          { ac_try='test -s conftest.$ac_objext'
25596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597   (eval $ac_try) 2>&5
25598   ac_status=$?
25599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600   (exit $ac_status); }; }; then
25601   ac_header_compiler=yes
25602 else
25603   echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25605
25606 ac_header_compiler=no
25607 fi
25608 rm -f conftest.$ac_objext conftest.$ac_ext
25609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25610 echo "${ECHO_T}$ac_header_compiler" >&6
25611
25612 # Is the header present?
25613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25615 cat >conftest.$ac_ext <<_ACEOF
25616 #line $LINENO "configure"
25617 /* confdefs.h.  */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h.  */
25622 #include <$ac_header>
25623 _ACEOF
25624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25625   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25626   ac_status=$?
25627   grep -v '^ *+' conftest.er1 >conftest.err
25628   rm -f conftest.er1
25629   cat conftest.err >&5
25630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631   (exit $ac_status); } >/dev/null; then
25632   if test -s conftest.err; then
25633     ac_cpp_err=$ac_c_preproc_warn_flag
25634   else
25635     ac_cpp_err=
25636   fi
25637 else
25638   ac_cpp_err=yes
25639 fi
25640 if test -z "$ac_cpp_err"; then
25641   ac_header_preproc=yes
25642 else
25643   echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.$ac_ext >&5
25645
25646   ac_header_preproc=no
25647 fi
25648 rm -f conftest.err conftest.$ac_ext
25649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25650 echo "${ECHO_T}$ac_header_preproc" >&6
25651
25652 # So?  What about this header?
25653 case $ac_header_compiler:$ac_header_preproc in
25654   yes:no )
25655     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25657     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25659     (
25660       cat <<\_ASBOX
25661 ## ------------------------------------ ##
25662 ## Report this to bug-autoconf@gnu.org. ##
25663 ## ------------------------------------ ##
25664 _ASBOX
25665     ) |
25666       sed "s/^/$as_me: WARNING:     /" >&2
25667     ;;
25668   no:yes )
25669     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25671     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25673     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25675     (
25676       cat <<\_ASBOX
25677 ## ------------------------------------ ##
25678 ## Report this to bug-autoconf@gnu.org. ##
25679 ## ------------------------------------ ##
25680 _ASBOX
25681     ) |
25682       sed "s/^/$as_me: WARNING:     /" >&2
25683     ;;
25684 esac
25685 echo "$as_me:$LINENO: checking for $ac_header" >&5
25686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25688   echo $ECHO_N "(cached) $ECHO_C" >&6
25689 else
25690   eval "$as_ac_Header=$ac_header_preproc"
25691 fi
25692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25694
25695 fi
25696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25697   cat >>confdefs.h <<_ACEOF
25698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25699 _ACEOF
25700
25701 fi
25702
25703 done
25704
25705
25706   if test "${glibcxx_cv_POLL+set}" = set; then
25707   echo $ECHO_N "(cached) $ECHO_C" >&6
25708 else
25709
25710     cat >conftest.$ac_ext <<_ACEOF
25711 #line $LINENO "configure"
25712 /* confdefs.h.  */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h.  */
25717 #include <poll.h>
25718 int
25719 main ()
25720 {
25721 struct pollfd pfd[1];
25722        pfd[0].events = POLLIN;
25723        poll(pfd, 1, 0);
25724   ;
25725   return 0;
25726 }
25727 _ACEOF
25728 rm -f conftest.$ac_objext
25729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25730   (eval $ac_compile) 2>&5
25731   ac_status=$?
25732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733   (exit $ac_status); } &&
25734          { ac_try='test -s conftest.$ac_objext'
25735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736   (eval $ac_try) 2>&5
25737   ac_status=$?
25738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739   (exit $ac_status); }; }; then
25740   glibcxx_cv_POLL=yes
25741 else
25742   echo "$as_me: failed program was:" >&5
25743 sed 's/^/| /' conftest.$ac_ext >&5
25744
25745 glibcxx_cv_POLL=no
25746 fi
25747 rm -f conftest.$ac_objext conftest.$ac_ext
25748
25749 fi
25750
25751   if test $glibcxx_cv_POLL = yes; then
25752     cat >>confdefs.h <<\_ACEOF
25753 #define HAVE_POLL 1
25754 _ACEOF
25755
25756   fi
25757
25758
25759   if test "${glibcxx_cv_S_ISREG+set}" = set; then
25760   echo $ECHO_N "(cached) $ECHO_C" >&6
25761 else
25762
25763     cat >conftest.$ac_ext <<_ACEOF
25764 #line $LINENO "configure"
25765 /* confdefs.h.  */
25766 _ACEOF
25767 cat confdefs.h >>conftest.$ac_ext
25768 cat >>conftest.$ac_ext <<_ACEOF
25769 /* end confdefs.h.  */
25770 #include <sys/stat.h>
25771 int
25772 main ()
25773 {
25774 struct stat buffer;
25775        fstat(0, &buffer);
25776        S_ISREG(buffer.st_mode);
25777   ;
25778   return 0;
25779 }
25780 _ACEOF
25781 rm -f conftest.$ac_objext conftest$ac_exeext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25783   (eval $ac_link) 2>&5
25784   ac_status=$?
25785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786   (exit $ac_status); } &&
25787          { ac_try='test -s conftest$ac_exeext'
25788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789   (eval $ac_try) 2>&5
25790   ac_status=$?
25791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792   (exit $ac_status); }; }; then
25793   glibcxx_cv_S_ISREG=yes
25794 else
25795   echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.$ac_ext >&5
25797
25798 glibcxx_cv_S_ISREG=no
25799 fi
25800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25801
25802 fi
25803
25804   if test "${glibcxx_cv_S_IFREG+set}" = set; then
25805   echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807
25808     cat >conftest.$ac_ext <<_ACEOF
25809 #line $LINENO "configure"
25810 /* confdefs.h.  */
25811 _ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h.  */
25815 #include <sys/stat.h>
25816 int
25817 main ()
25818 {
25819 struct stat buffer;
25820        fstat(0, &buffer);
25821        S_IFREG & buffer.st_mode;
25822   ;
25823   return 0;
25824 }
25825 _ACEOF
25826 rm -f conftest.$ac_objext conftest$ac_exeext
25827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25828   (eval $ac_link) 2>&5
25829   ac_status=$?
25830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831   (exit $ac_status); } &&
25832          { ac_try='test -s conftest$ac_exeext'
25833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834   (eval $ac_try) 2>&5
25835   ac_status=$?
25836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837   (exit $ac_status); }; }; then
25838   glibcxx_cv_S_IFREG=yes
25839 else
25840   echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.$ac_ext >&5
25842
25843 glibcxx_cv_S_IFREG=no
25844 fi
25845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25846
25847 fi
25848
25849   if test $glibcxx_cv_S_ISREG = yes; then
25850     cat >>confdefs.h <<\_ACEOF
25851 #define HAVE_S_ISREG 1
25852 _ACEOF
25853
25854   elif test $glibcxx_cv_S_IFREG = yes; then
25855     cat >>confdefs.h <<\_ACEOF
25856 #define HAVE_S_IFREG 1
25857 _ACEOF
25858
25859   fi
25860
25861
25862   # For xsputn_2().
25863
25864 for ac_header in sys/uio.h
25865 do
25866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25868   echo "$as_me:$LINENO: checking for $ac_header" >&5
25869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25871   echo $ECHO_N "(cached) $ECHO_C" >&6
25872 fi
25873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25875 else
25876   # Is the header compilable?
25877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25879 cat >conftest.$ac_ext <<_ACEOF
25880 #line $LINENO "configure"
25881 /* confdefs.h.  */
25882 _ACEOF
25883 cat confdefs.h >>conftest.$ac_ext
25884 cat >>conftest.$ac_ext <<_ACEOF
25885 /* end confdefs.h.  */
25886 $ac_includes_default
25887 #include <$ac_header>
25888 _ACEOF
25889 rm -f conftest.$ac_objext
25890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25891   (eval $ac_compile) 2>&5
25892   ac_status=$?
25893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894   (exit $ac_status); } &&
25895          { ac_try='test -s conftest.$ac_objext'
25896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897   (eval $ac_try) 2>&5
25898   ac_status=$?
25899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900   (exit $ac_status); }; }; then
25901   ac_header_compiler=yes
25902 else
25903   echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25905
25906 ac_header_compiler=no
25907 fi
25908 rm -f conftest.$ac_objext conftest.$ac_ext
25909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25910 echo "${ECHO_T}$ac_header_compiler" >&6
25911
25912 # Is the header present?
25913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25915 cat >conftest.$ac_ext <<_ACEOF
25916 #line $LINENO "configure"
25917 /* confdefs.h.  */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h.  */
25922 #include <$ac_header>
25923 _ACEOF
25924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25925   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25926   ac_status=$?
25927   grep -v '^ *+' conftest.er1 >conftest.err
25928   rm -f conftest.er1
25929   cat conftest.err >&5
25930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931   (exit $ac_status); } >/dev/null; then
25932   if test -s conftest.err; then
25933     ac_cpp_err=$ac_c_preproc_warn_flag
25934   else
25935     ac_cpp_err=
25936   fi
25937 else
25938   ac_cpp_err=yes
25939 fi
25940 if test -z "$ac_cpp_err"; then
25941   ac_header_preproc=yes
25942 else
25943   echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.$ac_ext >&5
25945
25946   ac_header_preproc=no
25947 fi
25948 rm -f conftest.err conftest.$ac_ext
25949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25950 echo "${ECHO_T}$ac_header_preproc" >&6
25951
25952 # So?  What about this header?
25953 case $ac_header_compiler:$ac_header_preproc in
25954   yes:no )
25955     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25959     (
25960       cat <<\_ASBOX
25961 ## ------------------------------------ ##
25962 ## Report this to bug-autoconf@gnu.org. ##
25963 ## ------------------------------------ ##
25964 _ASBOX
25965     ) |
25966       sed "s/^/$as_me: WARNING:     /" >&2
25967     ;;
25968   no:yes )
25969     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25971     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25973     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25975     (
25976       cat <<\_ASBOX
25977 ## ------------------------------------ ##
25978 ## Report this to bug-autoconf@gnu.org. ##
25979 ## ------------------------------------ ##
25980 _ASBOX
25981     ) |
25982       sed "s/^/$as_me: WARNING:     /" >&2
25983     ;;
25984 esac
25985 echo "$as_me:$LINENO: checking for $ac_header" >&5
25986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25988   echo $ECHO_N "(cached) $ECHO_C" >&6
25989 else
25990   eval "$as_ac_Header=$ac_header_preproc"
25991 fi
25992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25994
25995 fi
25996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25997   cat >>confdefs.h <<_ACEOF
25998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25999 _ACEOF
26000
26001 fi
26002
26003 done
26004
26005
26006   if test "${glibcxx_cv_WRITEV+set}" = set; then
26007   echo $ECHO_N "(cached) $ECHO_C" >&6
26008 else
26009
26010     cat >conftest.$ac_ext <<_ACEOF
26011 #line $LINENO "configure"
26012 /* confdefs.h.  */
26013 _ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h.  */
26017 #include <sys/uio.h>
26018 int
26019 main ()
26020 {
26021 struct iovec iov[2];
26022        writev(0, iov, 0);
26023   ;
26024   return 0;
26025 }
26026 _ACEOF
26027 rm -f conftest.$ac_objext
26028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26029   (eval $ac_compile) 2>&5
26030   ac_status=$?
26031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032   (exit $ac_status); } &&
26033          { ac_try='test -s conftest.$ac_objext'
26034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26035   (eval $ac_try) 2>&5
26036   ac_status=$?
26037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038   (exit $ac_status); }; }; then
26039   glibcxx_cv_WRITEV=yes
26040 else
26041   echo "$as_me: failed program was:" >&5
26042 sed 's/^/| /' conftest.$ac_ext >&5
26043
26044 glibcxx_cv_WRITEV=no
26045 fi
26046 rm -f conftest.$ac_objext conftest.$ac_ext
26047
26048 fi
26049
26050   if test $glibcxx_cv_WRITEV = yes; then
26051     cat >>confdefs.h <<\_ACEOF
26052 #define HAVE_WRITEV 1
26053 _ACEOF
26054
26055   fi
26056
26057
26058
26059   if test "${ac_cv_header_locale_h+set}" = set; then
26060   echo "$as_me:$LINENO: checking for locale.h" >&5
26061 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26062 if test "${ac_cv_header_locale_h+set}" = set; then
26063   echo $ECHO_N "(cached) $ECHO_C" >&6
26064 fi
26065 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26066 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26067 else
26068   # Is the header compilable?
26069 echo "$as_me:$LINENO: checking locale.h usability" >&5
26070 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26071 cat >conftest.$ac_ext <<_ACEOF
26072 #line $LINENO "configure"
26073 /* confdefs.h.  */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h.  */
26078 $ac_includes_default
26079 #include <locale.h>
26080 _ACEOF
26081 rm -f conftest.$ac_objext
26082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26083   (eval $ac_compile) 2>&5
26084   ac_status=$?
26085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086   (exit $ac_status); } &&
26087          { ac_try='test -s conftest.$ac_objext'
26088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089   (eval $ac_try) 2>&5
26090   ac_status=$?
26091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092   (exit $ac_status); }; }; then
26093   ac_header_compiler=yes
26094 else
26095   echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26097
26098 ac_header_compiler=no
26099 fi
26100 rm -f conftest.$ac_objext conftest.$ac_ext
26101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26102 echo "${ECHO_T}$ac_header_compiler" >&6
26103
26104 # Is the header present?
26105 echo "$as_me:$LINENO: checking locale.h presence" >&5
26106 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26107 cat >conftest.$ac_ext <<_ACEOF
26108 #line $LINENO "configure"
26109 /* confdefs.h.  */
26110 _ACEOF
26111 cat confdefs.h >>conftest.$ac_ext
26112 cat >>conftest.$ac_ext <<_ACEOF
26113 /* end confdefs.h.  */
26114 #include <locale.h>
26115 _ACEOF
26116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26117   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26118   ac_status=$?
26119   grep -v '^ *+' conftest.er1 >conftest.err
26120   rm -f conftest.er1
26121   cat conftest.err >&5
26122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123   (exit $ac_status); } >/dev/null; then
26124   if test -s conftest.err; then
26125     ac_cpp_err=$ac_c_preproc_warn_flag
26126   else
26127     ac_cpp_err=
26128   fi
26129 else
26130   ac_cpp_err=yes
26131 fi
26132 if test -z "$ac_cpp_err"; then
26133   ac_header_preproc=yes
26134 else
26135   echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.$ac_ext >&5
26137
26138   ac_header_preproc=no
26139 fi
26140 rm -f conftest.err conftest.$ac_ext
26141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26142 echo "${ECHO_T}$ac_header_preproc" >&6
26143
26144 # So?  What about this header?
26145 case $ac_header_compiler:$ac_header_preproc in
26146   yes:no )
26147     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26148 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26149     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26150 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26151     (
26152       cat <<\_ASBOX
26153 ## ------------------------------------ ##
26154 ## Report this to bug-autoconf@gnu.org. ##
26155 ## ------------------------------------ ##
26156 _ASBOX
26157     ) |
26158       sed "s/^/$as_me: WARNING:     /" >&2
26159     ;;
26160   no:yes )
26161     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26162 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26163     { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26164 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26165     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26166 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26167     (
26168       cat <<\_ASBOX
26169 ## ------------------------------------ ##
26170 ## Report this to bug-autoconf@gnu.org. ##
26171 ## ------------------------------------ ##
26172 _ASBOX
26173     ) |
26174       sed "s/^/$as_me: WARNING:     /" >&2
26175     ;;
26176 esac
26177 echo "$as_me:$LINENO: checking for locale.h" >&5
26178 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26179 if test "${ac_cv_header_locale_h+set}" = set; then
26180   echo $ECHO_N "(cached) $ECHO_C" >&6
26181 else
26182   ac_cv_header_locale_h=$ac_header_preproc
26183 fi
26184 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26185 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26186
26187 fi
26188 if test $ac_cv_header_locale_h = yes; then
26189
26190     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26191 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26192 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26193   echo $ECHO_N "(cached) $ECHO_C" >&6
26194 else
26195   cat >conftest.$ac_ext <<_ACEOF
26196 #line $LINENO "configure"
26197 /* confdefs.h.  */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h.  */
26202 #include <locale.h>
26203 int
26204 main ()
26205 {
26206 return LC_MESSAGES
26207   ;
26208   return 0;
26209 }
26210 _ACEOF
26211 rm -f conftest.$ac_objext conftest$ac_exeext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26213   (eval $ac_link) 2>&5
26214   ac_status=$?
26215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216   (exit $ac_status); } &&
26217          { ac_try='test -s conftest$ac_exeext'
26218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26219   (eval $ac_try) 2>&5
26220   ac_status=$?
26221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222   (exit $ac_status); }; }; then
26223   ac_cv_val_LC_MESSAGES=yes
26224 else
26225   echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26227
26228 ac_cv_val_LC_MESSAGES=no
26229 fi
26230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26231 fi
26232 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26233 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26234     if test $ac_cv_val_LC_MESSAGES = yes; then
26235       cat >>confdefs.h <<\_ACEOF
26236 #define HAVE_LC_MESSAGES 1
26237 _ACEOF
26238
26239     fi
26240
26241 fi
26242
26243
26244
26245
26246   cat >conftest.$ac_ext <<_ACEOF
26247 #line $LINENO "configure"
26248 /* confdefs.h.  */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h.  */
26253 #include <setjmp.h>
26254 int
26255 main ()
26256 {
26257 sigjmp_buf env;
26258      while (! sigsetjmp (env, 1))
26259        siglongjmp (env, 1);
26260
26261   ;
26262   return 0;
26263 }
26264 _ACEOF
26265 rm -f conftest.$ac_objext
26266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26267   (eval $ac_compile) 2>&5
26268   ac_status=$?
26269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270   (exit $ac_status); } &&
26271          { ac_try='test -s conftest.$ac_objext'
26272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273   (eval $ac_try) 2>&5
26274   ac_status=$?
26275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276   (exit $ac_status); }; }; then
26277
26278 cat >>confdefs.h <<\_ACEOF
26279 #define HAVE_SIGSETJMP 1
26280 _ACEOF
26281
26282 else
26283   echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.$ac_ext >&5
26285
26286 fi
26287 rm -f conftest.$ac_objext conftest.$ac_ext
26288
26289
26290
26291 for ac_header in stdlib.h unistd.h
26292 do
26293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26295   echo "$as_me:$LINENO: checking for $ac_header" >&5
26296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26298   echo $ECHO_N "(cached) $ECHO_C" >&6
26299 fi
26300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26302 else
26303   # Is the header compilable?
26304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26306 cat >conftest.$ac_ext <<_ACEOF
26307 #line $LINENO "configure"
26308 /* confdefs.h.  */
26309 _ACEOF
26310 cat confdefs.h >>conftest.$ac_ext
26311 cat >>conftest.$ac_ext <<_ACEOF
26312 /* end confdefs.h.  */
26313 $ac_includes_default
26314 #include <$ac_header>
26315 _ACEOF
26316 rm -f conftest.$ac_objext
26317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26318   (eval $ac_compile) 2>&5
26319   ac_status=$?
26320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321   (exit $ac_status); } &&
26322          { ac_try='test -s conftest.$ac_objext'
26323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324   (eval $ac_try) 2>&5
26325   ac_status=$?
26326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327   (exit $ac_status); }; }; then
26328   ac_header_compiler=yes
26329 else
26330   echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333 ac_header_compiler=no
26334 fi
26335 rm -f conftest.$ac_objext conftest.$ac_ext
26336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26337 echo "${ECHO_T}$ac_header_compiler" >&6
26338
26339 # Is the header present?
26340 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26341 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26342 cat >conftest.$ac_ext <<_ACEOF
26343 #line $LINENO "configure"
26344 /* confdefs.h.  */
26345 _ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h.  */
26349 #include <$ac_header>
26350 _ACEOF
26351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26352   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26353   ac_status=$?
26354   grep -v '^ *+' conftest.er1 >conftest.err
26355   rm -f conftest.er1
26356   cat conftest.err >&5
26357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358   (exit $ac_status); } >/dev/null; then
26359   if test -s conftest.err; then
26360     ac_cpp_err=$ac_c_preproc_warn_flag
26361   else
26362     ac_cpp_err=
26363   fi
26364 else
26365   ac_cpp_err=yes
26366 fi
26367 if test -z "$ac_cpp_err"; then
26368   ac_header_preproc=yes
26369 else
26370   echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26372
26373   ac_header_preproc=no
26374 fi
26375 rm -f conftest.err conftest.$ac_ext
26376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26377 echo "${ECHO_T}$ac_header_preproc" >&6
26378
26379 # So?  What about this header?
26380 case $ac_header_compiler:$ac_header_preproc in
26381   yes:no )
26382     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26383 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26384     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26386     (
26387       cat <<\_ASBOX
26388 ## ------------------------------------ ##
26389 ## Report this to bug-autoconf@gnu.org. ##
26390 ## ------------------------------------ ##
26391 _ASBOX
26392     ) |
26393       sed "s/^/$as_me: WARNING:     /" >&2
26394     ;;
26395   no:yes )
26396     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26398     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26400     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26402     (
26403       cat <<\_ASBOX
26404 ## ------------------------------------ ##
26405 ## Report this to bug-autoconf@gnu.org. ##
26406 ## ------------------------------------ ##
26407 _ASBOX
26408     ) |
26409       sed "s/^/$as_me: WARNING:     /" >&2
26410     ;;
26411 esac
26412 echo "$as_me:$LINENO: checking for $ac_header" >&5
26413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26415   echo $ECHO_N "(cached) $ECHO_C" >&6
26416 else
26417   eval "$as_ac_Header=$ac_header_preproc"
26418 fi
26419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26421
26422 fi
26423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26424   cat >>confdefs.h <<_ACEOF
26425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26426 _ACEOF
26427
26428 fi
26429
26430 done
26431
26432
26433 for ac_func in getpagesize
26434 do
26435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26436 echo "$as_me:$LINENO: checking for $ac_func" >&5
26437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26438 if eval "test \"\${$as_ac_var+set}\" = set"; then
26439   echo $ECHO_N "(cached) $ECHO_C" >&6
26440 else
26441   cat >conftest.$ac_ext <<_ACEOF
26442 #line $LINENO "configure"
26443 /* confdefs.h.  */
26444 _ACEOF
26445 cat confdefs.h >>conftest.$ac_ext
26446 cat >>conftest.$ac_ext <<_ACEOF
26447 /* end confdefs.h.  */
26448 /* System header to define __stub macros and hopefully few prototypes,
26449     which can conflict with char $ac_func (); below.
26450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26451     <limits.h> exists even on freestanding compilers.  */
26452 #ifdef __STDC__
26453 # include <limits.h>
26454 #else
26455 # include <assert.h>
26456 #endif
26457 /* Override any gcc2 internal prototype to avoid an error.  */
26458 #ifdef __cplusplus
26459 extern "C"
26460 {
26461 #endif
26462 /* We use char because int might match the return type of a gcc2
26463    builtin and then its argument prototype would still apply.  */
26464 char $ac_func ();
26465 /* The GNU C library defines this for functions which it implements
26466     to always fail with ENOSYS.  Some functions are actually named
26467     something starting with __ and the normal name is an alias.  */
26468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26469 choke me
26470 #else
26471 char (*f) () = $ac_func;
26472 #endif
26473 #ifdef __cplusplus
26474 }
26475 #endif
26476
26477 int
26478 main ()
26479 {
26480 return f != $ac_func;
26481   ;
26482   return 0;
26483 }
26484 _ACEOF
26485 rm -f conftest.$ac_objext conftest$ac_exeext
26486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26487   (eval $ac_link) 2>&5
26488   ac_status=$?
26489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490   (exit $ac_status); } &&
26491          { ac_try='test -s conftest$ac_exeext'
26492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493   (eval $ac_try) 2>&5
26494   ac_status=$?
26495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496   (exit $ac_status); }; }; then
26497   eval "$as_ac_var=yes"
26498 else
26499   echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26501
26502 eval "$as_ac_var=no"
26503 fi
26504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26505 fi
26506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26508 if test `eval echo '${'$as_ac_var'}'` = yes; then
26509   cat >>confdefs.h <<_ACEOF
26510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26511 _ACEOF
26512
26513 fi
26514 done
26515
26516 echo "$as_me:$LINENO: checking for working mmap" >&5
26517 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
26518 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
26519   echo $ECHO_N "(cached) $ECHO_C" >&6
26520 else
26521   if test "$cross_compiling" = yes; then
26522   ac_cv_func_mmap_fixed_mapped=no
26523 else
26524   cat >conftest.$ac_ext <<_ACEOF
26525 #line $LINENO "configure"
26526 /* confdefs.h.  */
26527 _ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h.  */
26531 $ac_includes_default
26532 /* malloc might have been renamed as rpl_malloc. */
26533 #undef malloc
26534
26535 /* Thanks to Mike Haertel and Jim Avera for this test.
26536    Here is a matrix of mmap possibilities:
26537         mmap private not fixed
26538         mmap private fixed at somewhere currently unmapped
26539         mmap private fixed at somewhere already mapped
26540         mmap shared not fixed
26541         mmap shared fixed at somewhere currently unmapped
26542         mmap shared fixed at somewhere already mapped
26543    For private mappings, we should verify that changes cannot be read()
26544    back from the file, nor mmap's back from the file at a different
26545    address.  (There have been systems where private was not correctly
26546    implemented like the infamous i386 svr4.0, and systems where the
26547    VM page cache was not coherent with the file system buffer cache
26548    like early versions of FreeBSD and possibly contemporary NetBSD.)
26549    For shared mappings, we should conversely verify that changes get
26550    propagated back to all the places they're supposed to be.
26551
26552    Grep wants private fixed already mapped.
26553    The main things grep needs to know about mmap are:
26554    * does it exist and is it safe to write into the mmap'd area
26555    * how to use it (BSD variants)  */
26556
26557 #include <fcntl.h>
26558 #include <sys/mman.h>
26559
26560 #if !STDC_HEADERS && !HAVE_STDLIB_H
26561 char *malloc ();
26562 #endif
26563
26564 /* This mess was copied from the GNU getpagesize.h.  */
26565 #if !HAVE_GETPAGESIZE
26566 /* Assume that all systems that can run configure have sys/param.h.  */
26567 # if !HAVE_SYS_PARAM_H
26568 #  define HAVE_SYS_PARAM_H 1
26569 # endif
26570
26571 # ifdef _SC_PAGESIZE
26572 #  define getpagesize() sysconf(_SC_PAGESIZE)
26573 # else /* no _SC_PAGESIZE */
26574 #  if HAVE_SYS_PARAM_H
26575 #   include <sys/param.h>
26576 #   ifdef EXEC_PAGESIZE
26577 #    define getpagesize() EXEC_PAGESIZE
26578 #   else /* no EXEC_PAGESIZE */
26579 #    ifdef NBPG
26580 #     define getpagesize() NBPG * CLSIZE
26581 #     ifndef CLSIZE
26582 #      define CLSIZE 1
26583 #     endif /* no CLSIZE */
26584 #    else /* no NBPG */
26585 #     ifdef NBPC
26586 #      define getpagesize() NBPC
26587 #     else /* no NBPC */
26588 #      ifdef PAGESIZE
26589 #       define getpagesize() PAGESIZE
26590 #      endif /* PAGESIZE */
26591 #     endif /* no NBPC */
26592 #    endif /* no NBPG */
26593 #   endif /* no EXEC_PAGESIZE */
26594 #  else /* no HAVE_SYS_PARAM_H */
26595 #   define getpagesize() 8192   /* punt totally */
26596 #  endif /* no HAVE_SYS_PARAM_H */
26597 # endif /* no _SC_PAGESIZE */
26598
26599 #endif /* no HAVE_GETPAGESIZE */
26600
26601 int
26602 main ()
26603 {
26604   char *data, *data2, *data3;
26605   int i, pagesize;
26606   int fd;
26607
26608   pagesize = getpagesize ();
26609
26610   /* First, make a file with some known garbage in it. */
26611   data = (char *) malloc (pagesize);
26612   if (!data)
26613     exit (1);
26614   for (i = 0; i < pagesize; ++i)
26615     *(data + i) = rand ();
26616   umask (0);
26617   fd = creat ("conftest.mmap", 0600);
26618   if (fd < 0)
26619     exit (1);
26620   if (write (fd, data, pagesize) != pagesize)
26621     exit (1);
26622   close (fd);
26623
26624   /* Next, try to mmap the file at a fixed address which already has
26625      something else allocated at it.  If we can, also make sure that
26626      we see the same garbage.  */
26627   fd = open ("conftest.mmap", O_RDWR);
26628   if (fd < 0)
26629     exit (1);
26630   data2 = (char *) malloc (2 * pagesize);
26631   if (!data2)
26632     exit (1);
26633   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
26634   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
26635                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
26636     exit (1);
26637   for (i = 0; i < pagesize; ++i)
26638     if (*(data + i) != *(data2 + i))
26639       exit (1);
26640
26641   /* Finally, make sure that changes to the mapped area do not
26642      percolate back to the file as seen by read().  (This is a bug on
26643      some variants of i386 svr4.0.)  */
26644   for (i = 0; i < pagesize; ++i)
26645     *(data2 + i) = *(data2 + i) + 1;
26646   data3 = (char *) malloc (pagesize);
26647   if (!data3)
26648     exit (1);
26649   if (read (fd, data3, pagesize) != pagesize)
26650     exit (1);
26651   for (i = 0; i < pagesize; ++i)
26652     if (*(data + i) != *(data3 + i))
26653       exit (1);
26654   close (fd);
26655   exit (0);
26656 }
26657 _ACEOF
26658 rm -f conftest$ac_exeext
26659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26660   (eval $ac_link) 2>&5
26661   ac_status=$?
26662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665   (eval $ac_try) 2>&5
26666   ac_status=$?
26667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668   (exit $ac_status); }; }; then
26669   ac_cv_func_mmap_fixed_mapped=yes
26670 else
26671   echo "$as_me: program exited with status $ac_status" >&5
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26674
26675 ( exit $ac_status )
26676 ac_cv_func_mmap_fixed_mapped=no
26677 fi
26678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26679 fi
26680 fi
26681 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
26682 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
26683 if test $ac_cv_func_mmap_fixed_mapped = yes; then
26684
26685 cat >>confdefs.h <<\_ACEOF
26686 #define HAVE_MMAP 1
26687 _ACEOF
26688
26689 fi
26690 rm -f conftest.mmap
26691
26692
26693 else
26694
26695   # This lets us hard-code the functionality we know we'll have in the cross
26696   # target environment.  "Let" is a sugar-coated word placed on an especially
26697   # dull and tedious hack, actually.
26698   #
26699   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26700   # that involve linking, can't be used:
26701   #    "cannot open sim-crt0.o"
26702   #    "cannot open crt0.o"
26703   # etc.  All this is because there currently exists no unified, consistent
26704   # way for top level CC information to be passed down to target directories:
26705   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26706   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26707   # crosses can be removed.
26708
26709   # If Canadian cross, then don't pick up tools from the build directory.
26710   # Used only in GLIBCXX_EXPORT_INCLUDES.
26711   if test -n "$with_cross_host" &&
26712      test x"$build" != x"$with_cross_host" &&
26713      test x"$build" != x"$target";
26714   then
26715     CANADIAN=yes
26716   else
26717     CANADIAN=no
26718   fi
26719
26720   # Construct crosses by hand, eliminating bits that need ld...
26721   # GLIBCXX_CHECK_COMPILER_FEATURES
26722   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
26723   # GLIBCXX_CHECK_MATH_SUPPORT
26724
26725   # First, test for "known" system libraries.  We may be using newlib even
26726   # on a hosted environment.
26727   if test "x${with_newlib}" = "xyes"; then
26728     os_include_dir="os/newlib"
26729     cat >>confdefs.h <<\_ACEOF
26730 #define HAVE_HYPOT 1
26731 _ACEOF
26732
26733
26734     # GLIBCXX_CHECK_STDLIB_SUPPORT
26735     cat >>confdefs.h <<\_ACEOF
26736 #define HAVE_STRTOF 1
26737 _ACEOF
26738
26739     cat >>confdefs.h <<\_ACEOF
26740 #define HAVE_STRTOLD 1
26741 _ACEOF
26742
26743     # AC_FUNC_MMAP
26744     cat >>confdefs.h <<\_ACEOF
26745 #define HAVE_MMAP 1
26746 _ACEOF
26747
26748
26749     cat >>confdefs.h <<\_ACEOF
26750 #define HAVE_ACOSF 1
26751 _ACEOF
26752
26753     cat >>confdefs.h <<\_ACEOF
26754 #define HAVE_ASINF 1
26755 _ACEOF
26756
26757     cat >>confdefs.h <<\_ACEOF
26758 #define HAVE_ATAN2F 1
26759 _ACEOF
26760
26761     cat >>confdefs.h <<\_ACEOF
26762 #define HAVE_ATANF 1
26763 _ACEOF
26764
26765     cat >>confdefs.h <<\_ACEOF
26766 #define HAVE_CEILF 1
26767 _ACEOF
26768
26769     cat >>confdefs.h <<\_ACEOF
26770 #define HAVE_COPYSIGN 1
26771 _ACEOF
26772
26773     cat >>confdefs.h <<\_ACEOF
26774 #define HAVE_COPYSIGNF 1
26775 _ACEOF
26776
26777     cat >>confdefs.h <<\_ACEOF
26778 #define HAVE_COSF 1
26779 _ACEOF
26780
26781     cat >>confdefs.h <<\_ACEOF
26782 #define HAVE_COSHF 1
26783 _ACEOF
26784
26785     cat >>confdefs.h <<\_ACEOF
26786 #define HAVE_EXPF 1
26787 _ACEOF
26788
26789     cat >>confdefs.h <<\_ACEOF
26790 #define HAVE_FABSF 1
26791 _ACEOF
26792
26793     cat >>confdefs.h <<\_ACEOF
26794 #define HAVE_FLOORF 1
26795 _ACEOF
26796
26797     cat >>confdefs.h <<\_ACEOF
26798 #define HAVE_FMODF 1
26799 _ACEOF
26800
26801     cat >>confdefs.h <<\_ACEOF
26802 #define HAVE_FREXPF 1
26803 _ACEOF
26804
26805     cat >>confdefs.h <<\_ACEOF
26806 #define HAVE_LDEXPF 1
26807 _ACEOF
26808
26809     cat >>confdefs.h <<\_ACEOF
26810 #define HAVE_LOG10F 1
26811 _ACEOF
26812
26813     cat >>confdefs.h <<\_ACEOF
26814 #define HAVE_LOGF 1
26815 _ACEOF
26816
26817     cat >>confdefs.h <<\_ACEOF
26818 #define HAVE_MODFF 1
26819 _ACEOF
26820
26821     cat >>confdefs.h <<\_ACEOF
26822 #define HAVE_POWF 1
26823 _ACEOF
26824
26825     cat >>confdefs.h <<\_ACEOF
26826 #define HAVE_SINF 1
26827 _ACEOF
26828
26829     cat >>confdefs.h <<\_ACEOF
26830 #define HAVE_SINHF 1
26831 _ACEOF
26832
26833     cat >>confdefs.h <<\_ACEOF
26834 #define HAVE_SQRTF 1
26835 _ACEOF
26836
26837     cat >>confdefs.h <<\_ACEOF
26838 #define HAVE_TANF 1
26839 _ACEOF
26840
26841     cat >>confdefs.h <<\_ACEOF
26842 #define HAVE_TANHF 1
26843 _ACEOF
26844
26845   else
26846
26847 # Base decisions on target environment.
26848 case "${host}" in
26849   *-darwin*)
26850     # Darwin versions vary, but the linker should work in a cross environment,
26851     # so we just check for all the features here.
26852     # Check for available headers.
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
26867     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
26868     sys/types.h
26869 do
26870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26872   echo "$as_me:$LINENO: checking for $ac_header" >&5
26873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26875   echo $ECHO_N "(cached) $ECHO_C" >&6
26876 fi
26877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26879 else
26880   # Is the header compilable?
26881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26883 cat >conftest.$ac_ext <<_ACEOF
26884 #line $LINENO "configure"
26885 /* confdefs.h.  */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h.  */
26890 $ac_includes_default
26891 #include <$ac_header>
26892 _ACEOF
26893 rm -f conftest.$ac_objext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26895   (eval $ac_compile) 2>&5
26896   ac_status=$?
26897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898   (exit $ac_status); } &&
26899          { ac_try='test -s conftest.$ac_objext'
26900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901   (eval $ac_try) 2>&5
26902   ac_status=$?
26903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904   (exit $ac_status); }; }; then
26905   ac_header_compiler=yes
26906 else
26907   echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26909
26910 ac_header_compiler=no
26911 fi
26912 rm -f conftest.$ac_objext conftest.$ac_ext
26913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26914 echo "${ECHO_T}$ac_header_compiler" >&6
26915
26916 # Is the header present?
26917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26919 cat >conftest.$ac_ext <<_ACEOF
26920 #line $LINENO "configure"
26921 /* confdefs.h.  */
26922 _ACEOF
26923 cat confdefs.h >>conftest.$ac_ext
26924 cat >>conftest.$ac_ext <<_ACEOF
26925 /* end confdefs.h.  */
26926 #include <$ac_header>
26927 _ACEOF
26928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26929   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26930   ac_status=$?
26931   grep -v '^ *+' conftest.er1 >conftest.err
26932   rm -f conftest.er1
26933   cat conftest.err >&5
26934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935   (exit $ac_status); } >/dev/null; then
26936   if test -s conftest.err; then
26937     ac_cpp_err=$ac_c_preproc_warn_flag
26938   else
26939     ac_cpp_err=
26940   fi
26941 else
26942   ac_cpp_err=yes
26943 fi
26944 if test -z "$ac_cpp_err"; then
26945   ac_header_preproc=yes
26946 else
26947   echo "$as_me: failed program was:" >&5
26948 sed 's/^/| /' conftest.$ac_ext >&5
26949
26950   ac_header_preproc=no
26951 fi
26952 rm -f conftest.err conftest.$ac_ext
26953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26954 echo "${ECHO_T}$ac_header_preproc" >&6
26955
26956 # So?  What about this header?
26957 case $ac_header_compiler:$ac_header_preproc in
26958   yes:no )
26959     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26961     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26963     (
26964       cat <<\_ASBOX
26965 ## ------------------------------------ ##
26966 ## Report this to bug-autoconf@gnu.org. ##
26967 ## ------------------------------------ ##
26968 _ASBOX
26969     ) |
26970       sed "s/^/$as_me: WARNING:     /" >&2
26971     ;;
26972   no:yes )
26973     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26975     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26977     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26979     (
26980       cat <<\_ASBOX
26981 ## ------------------------------------ ##
26982 ## Report this to bug-autoconf@gnu.org. ##
26983 ## ------------------------------------ ##
26984 _ASBOX
26985     ) |
26986       sed "s/^/$as_me: WARNING:     /" >&2
26987     ;;
26988 esac
26989 echo "$as_me:$LINENO: checking for $ac_header" >&5
26990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26992   echo $ECHO_N "(cached) $ECHO_C" >&6
26993 else
26994   eval "$as_ac_Header=$ac_header_preproc"
26995 fi
26996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26998
26999 fi
27000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27001   cat >>confdefs.h <<_ACEOF
27002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27003 _ACEOF
27004
27005 fi
27006
27007 done
27008
27009
27010
27011   # All these tests are for C++; save the language and the compiler flags.
27012   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27013   # found in GLIBCXX_CONFIGURE.
27014
27015
27016   ac_ext=cc
27017 ac_cpp='$CXXCPP $CPPFLAGS'
27018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27021
27022   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27023   ac_save_CXXFLAGS="$CXXFLAGS"
27024
27025   # Check for maintainer-mode bits.
27026   if test x"$USE_MAINTAINER_MODE" = xno; then
27027     WERROR=''
27028   else
27029     WERROR='-Werror'
27030   fi
27031
27032   # Check for -ffunction-sections -fdata-sections
27033   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27034 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27035   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27036   cat >conftest.$ac_ext <<_ACEOF
27037 #line $LINENO "configure"
27038 /* confdefs.h.  */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h.  */
27043
27044 int
27045 main ()
27046 {
27047 int foo;
27048   ;
27049   return 0;
27050 }
27051 _ACEOF
27052 rm -f conftest.$ac_objext
27053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27054   (eval $ac_compile) 2>&5
27055   ac_status=$?
27056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057   (exit $ac_status); } &&
27058          { ac_try='test -s conftest.$ac_objext'
27059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060   (eval $ac_try) 2>&5
27061   ac_status=$?
27062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063   (exit $ac_status); }; }; then
27064   ac_fdsections=yes
27065 else
27066   echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.$ac_ext >&5
27068
27069 ac_fdsections=no
27070 fi
27071 rm -f conftest.$ac_objext conftest.$ac_ext
27072   if test "$ac_test_CXXFLAGS" = set; then
27073     CXXFLAGS="$ac_save_CXXFLAGS"
27074   else
27075     # this is the suspicious part
27076     CXXFLAGS=''
27077   fi
27078   if test x"$ac_fdsections" = x"yes"; then
27079     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27080   fi
27081   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27082 echo "${ECHO_T}$ac_fdsections" >&6
27083
27084   ac_ext=c
27085 ac_cpp='$CPP $CPPFLAGS'
27086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27089
27090
27091
27092
27093     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27094
27095   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27096   ac_save_CXXFLAGS="$CXXFLAGS"
27097   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27098
27099     echo "$as_me:$LINENO: checking for sin in -lm" >&5
27100 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27101 if test "${ac_cv_lib_m_sin+set}" = set; then
27102   echo $ECHO_N "(cached) $ECHO_C" >&6
27103 else
27104   ac_check_lib_save_LIBS=$LIBS
27105 LIBS="-lm  $LIBS"
27106 cat >conftest.$ac_ext <<_ACEOF
27107 #line $LINENO "configure"
27108 /* confdefs.h.  */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h.  */
27113
27114 /* Override any gcc2 internal prototype to avoid an error.  */
27115 #ifdef __cplusplus
27116 extern "C"
27117 #endif
27118 /* We use char because int might match the return type of a gcc2
27119    builtin and then its argument prototype would still apply.  */
27120 char sin ();
27121 int
27122 main ()
27123 {
27124 sin ();
27125   ;
27126   return 0;
27127 }
27128 _ACEOF
27129 rm -f conftest.$ac_objext conftest$ac_exeext
27130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27131   (eval $ac_link) 2>&5
27132   ac_status=$?
27133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134   (exit $ac_status); } &&
27135          { ac_try='test -s conftest$ac_exeext'
27136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137   (eval $ac_try) 2>&5
27138   ac_status=$?
27139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140   (exit $ac_status); }; }; then
27141   ac_cv_lib_m_sin=yes
27142 else
27143   echo "$as_me: failed program was:" >&5
27144 sed 's/^/| /' conftest.$ac_ext >&5
27145
27146 ac_cv_lib_m_sin=no
27147 fi
27148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27149 LIBS=$ac_check_lib_save_LIBS
27150 fi
27151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27152 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27153 if test $ac_cv_lib_m_sin = yes; then
27154   libm="-lm"
27155 fi
27156
27157   ac_save_LIBS="$LIBS"
27158   LIBS="$LIBS $libm"
27159
27160
27161
27162   echo "$as_me:$LINENO: checking for isinf declaration" >&5
27163 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27164   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27165     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27166   echo $ECHO_N "(cached) $ECHO_C" >&6
27167 else
27168
27169
27170
27171       ac_ext=cc
27172 ac_cpp='$CXXCPP $CPPFLAGS'
27173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27176
27177       cat >conftest.$ac_ext <<_ACEOF
27178 #line $LINENO "configure"
27179 /* confdefs.h.  */
27180 _ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h.  */
27184 #include <math.h>
27185                       #ifdef HAVE_IEEEFP_H
27186                       #include <ieeefp.h>
27187                       #endif
27188
27189 int
27190 main ()
27191 {
27192  isinf(0);
27193   ;
27194   return 0;
27195 }
27196 _ACEOF
27197 rm -f conftest.$ac_objext
27198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27199   (eval $ac_compile) 2>&5
27200   ac_status=$?
27201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202   (exit $ac_status); } &&
27203          { ac_try='test -s conftest.$ac_objext'
27204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205   (eval $ac_try) 2>&5
27206   ac_status=$?
27207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208   (exit $ac_status); }; }; then
27209   glibcxx_cv_func_isinf_use=yes
27210 else
27211   echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214 glibcxx_cv_func_isinf_use=no
27215 fi
27216 rm -f conftest.$ac_objext conftest.$ac_ext
27217       ac_ext=c
27218 ac_cpp='$CPP $CPPFLAGS'
27219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27222
27223
27224 fi
27225
27226   fi
27227   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27228 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27229
27230   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27231
27232 for ac_func in isinf
27233 do
27234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27235 echo "$as_me:$LINENO: checking for $ac_func" >&5
27236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27237 if eval "test \"\${$as_ac_var+set}\" = set"; then
27238   echo $ECHO_N "(cached) $ECHO_C" >&6
27239 else
27240   cat >conftest.$ac_ext <<_ACEOF
27241 #line $LINENO "configure"
27242 /* confdefs.h.  */
27243 _ACEOF
27244 cat confdefs.h >>conftest.$ac_ext
27245 cat >>conftest.$ac_ext <<_ACEOF
27246 /* end confdefs.h.  */
27247 /* System header to define __stub macros and hopefully few prototypes,
27248     which can conflict with char $ac_func (); below.
27249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27250     <limits.h> exists even on freestanding compilers.  */
27251 #ifdef __STDC__
27252 # include <limits.h>
27253 #else
27254 # include <assert.h>
27255 #endif
27256 /* Override any gcc2 internal prototype to avoid an error.  */
27257 #ifdef __cplusplus
27258 extern "C"
27259 {
27260 #endif
27261 /* We use char because int might match the return type of a gcc2
27262    builtin and then its argument prototype would still apply.  */
27263 char $ac_func ();
27264 /* The GNU C library defines this for functions which it implements
27265     to always fail with ENOSYS.  Some functions are actually named
27266     something starting with __ and the normal name is an alias.  */
27267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27268 choke me
27269 #else
27270 char (*f) () = $ac_func;
27271 #endif
27272 #ifdef __cplusplus
27273 }
27274 #endif
27275
27276 int
27277 main ()
27278 {
27279 return f != $ac_func;
27280   ;
27281   return 0;
27282 }
27283 _ACEOF
27284 rm -f conftest.$ac_objext conftest$ac_exeext
27285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27286   (eval $ac_link) 2>&5
27287   ac_status=$?
27288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289   (exit $ac_status); } &&
27290          { ac_try='test -s conftest$ac_exeext'
27291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292   (eval $ac_try) 2>&5
27293   ac_status=$?
27294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295   (exit $ac_status); }; }; then
27296   eval "$as_ac_var=yes"
27297 else
27298   echo "$as_me: failed program was:" >&5
27299 sed 's/^/| /' conftest.$ac_ext >&5
27300
27301 eval "$as_ac_var=no"
27302 fi
27303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27304 fi
27305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27307 if test `eval echo '${'$as_ac_var'}'` = yes; then
27308   cat >>confdefs.h <<_ACEOF
27309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27310 _ACEOF
27311
27312 fi
27313 done
27314
27315   else
27316
27317   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
27318 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
27319   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27320     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
27321   echo $ECHO_N "(cached) $ECHO_C" >&6
27322 else
27323
27324
27325
27326       ac_ext=cc
27327 ac_cpp='$CXXCPP $CPPFLAGS'
27328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331
27332       cat >conftest.$ac_ext <<_ACEOF
27333 #line $LINENO "configure"
27334 /* confdefs.h.  */
27335 _ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h.  */
27339 #include <math.h>
27340                       #ifdef HAVE_IEEEFP_H
27341                       #include <ieeefp.h>
27342                       #endif
27343
27344 int
27345 main ()
27346 {
27347  _isinf(0);
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 rm -f conftest.$ac_objext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27354   (eval $ac_compile) 2>&5
27355   ac_status=$?
27356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357   (exit $ac_status); } &&
27358          { ac_try='test -s conftest.$ac_objext'
27359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360   (eval $ac_try) 2>&5
27361   ac_status=$?
27362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363   (exit $ac_status); }; }; then
27364   glibcxx_cv_func__isinf_use=yes
27365 else
27366   echo "$as_me: failed program was:" >&5
27367 sed 's/^/| /' conftest.$ac_ext >&5
27368
27369 glibcxx_cv_func__isinf_use=no
27370 fi
27371 rm -f conftest.$ac_objext conftest.$ac_ext
27372       ac_ext=c
27373 ac_cpp='$CPP $CPPFLAGS'
27374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27377
27378
27379 fi
27380
27381   fi
27382   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
27383 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
27384
27385     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27386
27387 for ac_func in _isinf
27388 do
27389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27390 echo "$as_me:$LINENO: checking for $ac_func" >&5
27391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27392 if eval "test \"\${$as_ac_var+set}\" = set"; then
27393   echo $ECHO_N "(cached) $ECHO_C" >&6
27394 else
27395   cat >conftest.$ac_ext <<_ACEOF
27396 #line $LINENO "configure"
27397 /* confdefs.h.  */
27398 _ACEOF
27399 cat confdefs.h >>conftest.$ac_ext
27400 cat >>conftest.$ac_ext <<_ACEOF
27401 /* end confdefs.h.  */
27402 /* System header to define __stub macros and hopefully few prototypes,
27403     which can conflict with char $ac_func (); below.
27404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27405     <limits.h> exists even on freestanding compilers.  */
27406 #ifdef __STDC__
27407 # include <limits.h>
27408 #else
27409 # include <assert.h>
27410 #endif
27411 /* Override any gcc2 internal prototype to avoid an error.  */
27412 #ifdef __cplusplus
27413 extern "C"
27414 {
27415 #endif
27416 /* We use char because int might match the return type of a gcc2
27417    builtin and then its argument prototype would still apply.  */
27418 char $ac_func ();
27419 /* The GNU C library defines this for functions which it implements
27420     to always fail with ENOSYS.  Some functions are actually named
27421     something starting with __ and the normal name is an alias.  */
27422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27423 choke me
27424 #else
27425 char (*f) () = $ac_func;
27426 #endif
27427 #ifdef __cplusplus
27428 }
27429 #endif
27430
27431 int
27432 main ()
27433 {
27434 return f != $ac_func;
27435   ;
27436   return 0;
27437 }
27438 _ACEOF
27439 rm -f conftest.$ac_objext conftest$ac_exeext
27440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27441   (eval $ac_link) 2>&5
27442   ac_status=$?
27443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444   (exit $ac_status); } &&
27445          { ac_try='test -s conftest$ac_exeext'
27446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447   (eval $ac_try) 2>&5
27448   ac_status=$?
27449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450   (exit $ac_status); }; }; then
27451   eval "$as_ac_var=yes"
27452 else
27453   echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.$ac_ext >&5
27455
27456 eval "$as_ac_var=no"
27457 fi
27458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27459 fi
27460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27462 if test `eval echo '${'$as_ac_var'}'` = yes; then
27463   cat >>confdefs.h <<_ACEOF
27464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27465 _ACEOF
27466
27467 fi
27468 done
27469
27470     fi
27471   fi
27472
27473
27474
27475   echo "$as_me:$LINENO: checking for isnan declaration" >&5
27476 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
27477   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27478     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
27479   echo $ECHO_N "(cached) $ECHO_C" >&6
27480 else
27481
27482
27483
27484       ac_ext=cc
27485 ac_cpp='$CXXCPP $CPPFLAGS'
27486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27489
27490       cat >conftest.$ac_ext <<_ACEOF
27491 #line $LINENO "configure"
27492 /* confdefs.h.  */
27493 _ACEOF
27494 cat confdefs.h >>conftest.$ac_ext
27495 cat >>conftest.$ac_ext <<_ACEOF
27496 /* end confdefs.h.  */
27497 #include <math.h>
27498                       #ifdef HAVE_IEEEFP_H
27499                       #include <ieeefp.h>
27500                       #endif
27501
27502 int
27503 main ()
27504 {
27505  isnan(0);
27506   ;
27507   return 0;
27508 }
27509 _ACEOF
27510 rm -f conftest.$ac_objext
27511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27512   (eval $ac_compile) 2>&5
27513   ac_status=$?
27514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27515   (exit $ac_status); } &&
27516          { ac_try='test -s conftest.$ac_objext'
27517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518   (eval $ac_try) 2>&5
27519   ac_status=$?
27520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521   (exit $ac_status); }; }; then
27522   glibcxx_cv_func_isnan_use=yes
27523 else
27524   echo "$as_me: failed program was:" >&5
27525 sed 's/^/| /' conftest.$ac_ext >&5
27526
27527 glibcxx_cv_func_isnan_use=no
27528 fi
27529 rm -f conftest.$ac_objext conftest.$ac_ext
27530       ac_ext=c
27531 ac_cpp='$CPP $CPPFLAGS'
27532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27535
27536
27537 fi
27538
27539   fi
27540   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
27541 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
27542
27543   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27544
27545 for ac_func in isnan
27546 do
27547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27548 echo "$as_me:$LINENO: checking for $ac_func" >&5
27549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27550 if eval "test \"\${$as_ac_var+set}\" = set"; then
27551   echo $ECHO_N "(cached) $ECHO_C" >&6
27552 else
27553   cat >conftest.$ac_ext <<_ACEOF
27554 #line $LINENO "configure"
27555 /* confdefs.h.  */
27556 _ACEOF
27557 cat confdefs.h >>conftest.$ac_ext
27558 cat >>conftest.$ac_ext <<_ACEOF
27559 /* end confdefs.h.  */
27560 /* System header to define __stub macros and hopefully few prototypes,
27561     which can conflict with char $ac_func (); below.
27562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27563     <limits.h> exists even on freestanding compilers.  */
27564 #ifdef __STDC__
27565 # include <limits.h>
27566 #else
27567 # include <assert.h>
27568 #endif
27569 /* Override any gcc2 internal prototype to avoid an error.  */
27570 #ifdef __cplusplus
27571 extern "C"
27572 {
27573 #endif
27574 /* We use char because int might match the return type of a gcc2
27575    builtin and then its argument prototype would still apply.  */
27576 char $ac_func ();
27577 /* The GNU C library defines this for functions which it implements
27578     to always fail with ENOSYS.  Some functions are actually named
27579     something starting with __ and the normal name is an alias.  */
27580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27581 choke me
27582 #else
27583 char (*f) () = $ac_func;
27584 #endif
27585 #ifdef __cplusplus
27586 }
27587 #endif
27588
27589 int
27590 main ()
27591 {
27592 return f != $ac_func;
27593   ;
27594   return 0;
27595 }
27596 _ACEOF
27597 rm -f conftest.$ac_objext conftest$ac_exeext
27598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27599   (eval $ac_link) 2>&5
27600   ac_status=$?
27601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602   (exit $ac_status); } &&
27603          { ac_try='test -s conftest$ac_exeext'
27604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27605   (eval $ac_try) 2>&5
27606   ac_status=$?
27607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608   (exit $ac_status); }; }; then
27609   eval "$as_ac_var=yes"
27610 else
27611   echo "$as_me: failed program was:" >&5
27612 sed 's/^/| /' conftest.$ac_ext >&5
27613
27614 eval "$as_ac_var=no"
27615 fi
27616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27617 fi
27618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27620 if test `eval echo '${'$as_ac_var'}'` = yes; then
27621   cat >>confdefs.h <<_ACEOF
27622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27623 _ACEOF
27624
27625 fi
27626 done
27627
27628   else
27629
27630   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
27631 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
27632   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27633     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
27634   echo $ECHO_N "(cached) $ECHO_C" >&6
27635 else
27636
27637
27638
27639       ac_ext=cc
27640 ac_cpp='$CXXCPP $CPPFLAGS'
27641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27644
27645       cat >conftest.$ac_ext <<_ACEOF
27646 #line $LINENO "configure"
27647 /* confdefs.h.  */
27648 _ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h.  */
27652 #include <math.h>
27653                       #ifdef HAVE_IEEEFP_H
27654                       #include <ieeefp.h>
27655                       #endif
27656
27657 int
27658 main ()
27659 {
27660  _isnan(0);
27661   ;
27662   return 0;
27663 }
27664 _ACEOF
27665 rm -f conftest.$ac_objext
27666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27667   (eval $ac_compile) 2>&5
27668   ac_status=$?
27669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670   (exit $ac_status); } &&
27671          { ac_try='test -s conftest.$ac_objext'
27672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27673   (eval $ac_try) 2>&5
27674   ac_status=$?
27675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676   (exit $ac_status); }; }; then
27677   glibcxx_cv_func__isnan_use=yes
27678 else
27679   echo "$as_me: failed program was:" >&5
27680 sed 's/^/| /' conftest.$ac_ext >&5
27681
27682 glibcxx_cv_func__isnan_use=no
27683 fi
27684 rm -f conftest.$ac_objext conftest.$ac_ext
27685       ac_ext=c
27686 ac_cpp='$CPP $CPPFLAGS'
27687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27690
27691
27692 fi
27693
27694   fi
27695   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
27696 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
27697
27698     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27699
27700 for ac_func in _isnan
27701 do
27702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27703 echo "$as_me:$LINENO: checking for $ac_func" >&5
27704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27705 if eval "test \"\${$as_ac_var+set}\" = set"; then
27706   echo $ECHO_N "(cached) $ECHO_C" >&6
27707 else
27708   cat >conftest.$ac_ext <<_ACEOF
27709 #line $LINENO "configure"
27710 /* confdefs.h.  */
27711 _ACEOF
27712 cat confdefs.h >>conftest.$ac_ext
27713 cat >>conftest.$ac_ext <<_ACEOF
27714 /* end confdefs.h.  */
27715 /* System header to define __stub macros and hopefully few prototypes,
27716     which can conflict with char $ac_func (); below.
27717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27718     <limits.h> exists even on freestanding compilers.  */
27719 #ifdef __STDC__
27720 # include <limits.h>
27721 #else
27722 # include <assert.h>
27723 #endif
27724 /* Override any gcc2 internal prototype to avoid an error.  */
27725 #ifdef __cplusplus
27726 extern "C"
27727 {
27728 #endif
27729 /* We use char because int might match the return type of a gcc2
27730    builtin and then its argument prototype would still apply.  */
27731 char $ac_func ();
27732 /* The GNU C library defines this for functions which it implements
27733     to always fail with ENOSYS.  Some functions are actually named
27734     something starting with __ and the normal name is an alias.  */
27735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27736 choke me
27737 #else
27738 char (*f) () = $ac_func;
27739 #endif
27740 #ifdef __cplusplus
27741 }
27742 #endif
27743
27744 int
27745 main ()
27746 {
27747 return f != $ac_func;
27748   ;
27749   return 0;
27750 }
27751 _ACEOF
27752 rm -f conftest.$ac_objext conftest$ac_exeext
27753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27754   (eval $ac_link) 2>&5
27755   ac_status=$?
27756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757   (exit $ac_status); } &&
27758          { ac_try='test -s conftest$ac_exeext'
27759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27760   (eval $ac_try) 2>&5
27761   ac_status=$?
27762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763   (exit $ac_status); }; }; then
27764   eval "$as_ac_var=yes"
27765 else
27766   echo "$as_me: failed program was:" >&5
27767 sed 's/^/| /' conftest.$ac_ext >&5
27768
27769 eval "$as_ac_var=no"
27770 fi
27771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27772 fi
27773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27775 if test `eval echo '${'$as_ac_var'}'` = yes; then
27776   cat >>confdefs.h <<_ACEOF
27777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27778 _ACEOF
27779
27780 fi
27781 done
27782
27783     fi
27784   fi
27785
27786
27787
27788   echo "$as_me:$LINENO: checking for finite declaration" >&5
27789 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
27790   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27791     if test "${glibcxx_cv_func_finite_use+set}" = set; then
27792   echo $ECHO_N "(cached) $ECHO_C" >&6
27793 else
27794
27795
27796
27797       ac_ext=cc
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27802
27803       cat >conftest.$ac_ext <<_ACEOF
27804 #line $LINENO "configure"
27805 /* confdefs.h.  */
27806 _ACEOF
27807 cat confdefs.h >>conftest.$ac_ext
27808 cat >>conftest.$ac_ext <<_ACEOF
27809 /* end confdefs.h.  */
27810 #include <math.h>
27811                       #ifdef HAVE_IEEEFP_H
27812                       #include <ieeefp.h>
27813                       #endif
27814
27815 int
27816 main ()
27817 {
27818  finite(0);
27819   ;
27820   return 0;
27821 }
27822 _ACEOF
27823 rm -f conftest.$ac_objext
27824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27825   (eval $ac_compile) 2>&5
27826   ac_status=$?
27827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828   (exit $ac_status); } &&
27829          { ac_try='test -s conftest.$ac_objext'
27830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831   (eval $ac_try) 2>&5
27832   ac_status=$?
27833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834   (exit $ac_status); }; }; then
27835   glibcxx_cv_func_finite_use=yes
27836 else
27837   echo "$as_me: failed program was:" >&5
27838 sed 's/^/| /' conftest.$ac_ext >&5
27839
27840 glibcxx_cv_func_finite_use=no
27841 fi
27842 rm -f conftest.$ac_objext conftest.$ac_ext
27843       ac_ext=c
27844 ac_cpp='$CPP $CPPFLAGS'
27845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27848
27849
27850 fi
27851
27852   fi
27853   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
27854 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
27855
27856   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27857
27858 for ac_func in finite
27859 do
27860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27861 echo "$as_me:$LINENO: checking for $ac_func" >&5
27862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27863 if eval "test \"\${$as_ac_var+set}\" = set"; then
27864   echo $ECHO_N "(cached) $ECHO_C" >&6
27865 else
27866   cat >conftest.$ac_ext <<_ACEOF
27867 #line $LINENO "configure"
27868 /* confdefs.h.  */
27869 _ACEOF
27870 cat confdefs.h >>conftest.$ac_ext
27871 cat >>conftest.$ac_ext <<_ACEOF
27872 /* end confdefs.h.  */
27873 /* System header to define __stub macros and hopefully few prototypes,
27874     which can conflict with char $ac_func (); below.
27875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27876     <limits.h> exists even on freestanding compilers.  */
27877 #ifdef __STDC__
27878 # include <limits.h>
27879 #else
27880 # include <assert.h>
27881 #endif
27882 /* Override any gcc2 internal prototype to avoid an error.  */
27883 #ifdef __cplusplus
27884 extern "C"
27885 {
27886 #endif
27887 /* We use char because int might match the return type of a gcc2
27888    builtin and then its argument prototype would still apply.  */
27889 char $ac_func ();
27890 /* The GNU C library defines this for functions which it implements
27891     to always fail with ENOSYS.  Some functions are actually named
27892     something starting with __ and the normal name is an alias.  */
27893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27894 choke me
27895 #else
27896 char (*f) () = $ac_func;
27897 #endif
27898 #ifdef __cplusplus
27899 }
27900 #endif
27901
27902 int
27903 main ()
27904 {
27905 return f != $ac_func;
27906   ;
27907   return 0;
27908 }
27909 _ACEOF
27910 rm -f conftest.$ac_objext conftest$ac_exeext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27912   (eval $ac_link) 2>&5
27913   ac_status=$?
27914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915   (exit $ac_status); } &&
27916          { ac_try='test -s conftest$ac_exeext'
27917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918   (eval $ac_try) 2>&5
27919   ac_status=$?
27920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921   (exit $ac_status); }; }; then
27922   eval "$as_ac_var=yes"
27923 else
27924   echo "$as_me: failed program was:" >&5
27925 sed 's/^/| /' conftest.$ac_ext >&5
27926
27927 eval "$as_ac_var=no"
27928 fi
27929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27930 fi
27931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27933 if test `eval echo '${'$as_ac_var'}'` = yes; then
27934   cat >>confdefs.h <<_ACEOF
27935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27936 _ACEOF
27937
27938 fi
27939 done
27940
27941   else
27942
27943   echo "$as_me:$LINENO: checking for _finite declaration" >&5
27944 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
27945   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27946     if test "${glibcxx_cv_func__finite_use+set}" = set; then
27947   echo $ECHO_N "(cached) $ECHO_C" >&6
27948 else
27949
27950
27951
27952       ac_ext=cc
27953 ac_cpp='$CXXCPP $CPPFLAGS'
27954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27957
27958       cat >conftest.$ac_ext <<_ACEOF
27959 #line $LINENO "configure"
27960 /* confdefs.h.  */
27961 _ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h.  */
27965 #include <math.h>
27966                       #ifdef HAVE_IEEEFP_H
27967                       #include <ieeefp.h>
27968                       #endif
27969
27970 int
27971 main ()
27972 {
27973  _finite(0);
27974   ;
27975   return 0;
27976 }
27977 _ACEOF
27978 rm -f conftest.$ac_objext
27979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27980   (eval $ac_compile) 2>&5
27981   ac_status=$?
27982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983   (exit $ac_status); } &&
27984          { ac_try='test -s conftest.$ac_objext'
27985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986   (eval $ac_try) 2>&5
27987   ac_status=$?
27988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989   (exit $ac_status); }; }; then
27990   glibcxx_cv_func__finite_use=yes
27991 else
27992   echo "$as_me: failed program was:" >&5
27993 sed 's/^/| /' conftest.$ac_ext >&5
27994
27995 glibcxx_cv_func__finite_use=no
27996 fi
27997 rm -f conftest.$ac_objext conftest.$ac_ext
27998       ac_ext=c
27999 ac_cpp='$CPP $CPPFLAGS'
28000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28003
28004
28005 fi
28006
28007   fi
28008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28009 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28010
28011     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28012
28013 for ac_func in _finite
28014 do
28015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28016 echo "$as_me:$LINENO: checking for $ac_func" >&5
28017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28018 if eval "test \"\${$as_ac_var+set}\" = set"; then
28019   echo $ECHO_N "(cached) $ECHO_C" >&6
28020 else
28021   cat >conftest.$ac_ext <<_ACEOF
28022 #line $LINENO "configure"
28023 /* confdefs.h.  */
28024 _ACEOF
28025 cat confdefs.h >>conftest.$ac_ext
28026 cat >>conftest.$ac_ext <<_ACEOF
28027 /* end confdefs.h.  */
28028 /* System header to define __stub macros and hopefully few prototypes,
28029     which can conflict with char $ac_func (); below.
28030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28031     <limits.h> exists even on freestanding compilers.  */
28032 #ifdef __STDC__
28033 # include <limits.h>
28034 #else
28035 # include <assert.h>
28036 #endif
28037 /* Override any gcc2 internal prototype to avoid an error.  */
28038 #ifdef __cplusplus
28039 extern "C"
28040 {
28041 #endif
28042 /* We use char because int might match the return type of a gcc2
28043    builtin and then its argument prototype would still apply.  */
28044 char $ac_func ();
28045 /* The GNU C library defines this for functions which it implements
28046     to always fail with ENOSYS.  Some functions are actually named
28047     something starting with __ and the normal name is an alias.  */
28048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28049 choke me
28050 #else
28051 char (*f) () = $ac_func;
28052 #endif
28053 #ifdef __cplusplus
28054 }
28055 #endif
28056
28057 int
28058 main ()
28059 {
28060 return f != $ac_func;
28061   ;
28062   return 0;
28063 }
28064 _ACEOF
28065 rm -f conftest.$ac_objext conftest$ac_exeext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067   (eval $ac_link) 2>&5
28068   ac_status=$?
28069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070   (exit $ac_status); } &&
28071          { ac_try='test -s conftest$ac_exeext'
28072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073   (eval $ac_try) 2>&5
28074   ac_status=$?
28075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076   (exit $ac_status); }; }; then
28077   eval "$as_ac_var=yes"
28078 else
28079   echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.$ac_ext >&5
28081
28082 eval "$as_ac_var=no"
28083 fi
28084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28085 fi
28086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28088 if test `eval echo '${'$as_ac_var'}'` = yes; then
28089   cat >>confdefs.h <<_ACEOF
28090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28091 _ACEOF
28092
28093 fi
28094 done
28095
28096     fi
28097   fi
28098
28099
28100
28101   echo "$as_me:$LINENO: checking for copysign declaration" >&5
28102 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28103   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28104     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28105   echo $ECHO_N "(cached) $ECHO_C" >&6
28106 else
28107
28108
28109
28110       ac_ext=cc
28111 ac_cpp='$CXXCPP $CPPFLAGS'
28112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28115
28116       cat >conftest.$ac_ext <<_ACEOF
28117 #line $LINENO "configure"
28118 /* confdefs.h.  */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h.  */
28123 #include <math.h>
28124 int
28125 main ()
28126 {
28127  copysign(0, 0);
28128   ;
28129   return 0;
28130 }
28131 _ACEOF
28132 rm -f conftest.$ac_objext
28133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28134   (eval $ac_compile) 2>&5
28135   ac_status=$?
28136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137   (exit $ac_status); } &&
28138          { ac_try='test -s conftest.$ac_objext'
28139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140   (eval $ac_try) 2>&5
28141   ac_status=$?
28142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143   (exit $ac_status); }; }; then
28144   glibcxx_cv_func_copysign_use=yes
28145 else
28146   echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28148
28149 glibcxx_cv_func_copysign_use=no
28150 fi
28151 rm -f conftest.$ac_objext conftest.$ac_ext
28152       ac_ext=c
28153 ac_cpp='$CPP $CPPFLAGS'
28154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28157
28158
28159 fi
28160
28161   fi
28162   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28163 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28164
28165   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28166
28167 for ac_func in copysign
28168 do
28169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28170 echo "$as_me:$LINENO: checking for $ac_func" >&5
28171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28172 if eval "test \"\${$as_ac_var+set}\" = set"; then
28173   echo $ECHO_N "(cached) $ECHO_C" >&6
28174 else
28175   cat >conftest.$ac_ext <<_ACEOF
28176 #line $LINENO "configure"
28177 /* confdefs.h.  */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h.  */
28182 /* System header to define __stub macros and hopefully few prototypes,
28183     which can conflict with char $ac_func (); below.
28184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28185     <limits.h> exists even on freestanding compilers.  */
28186 #ifdef __STDC__
28187 # include <limits.h>
28188 #else
28189 # include <assert.h>
28190 #endif
28191 /* Override any gcc2 internal prototype to avoid an error.  */
28192 #ifdef __cplusplus
28193 extern "C"
28194 {
28195 #endif
28196 /* We use char because int might match the return type of a gcc2
28197    builtin and then its argument prototype would still apply.  */
28198 char $ac_func ();
28199 /* The GNU C library defines this for functions which it implements
28200     to always fail with ENOSYS.  Some functions are actually named
28201     something starting with __ and the normal name is an alias.  */
28202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28203 choke me
28204 #else
28205 char (*f) () = $ac_func;
28206 #endif
28207 #ifdef __cplusplus
28208 }
28209 #endif
28210
28211 int
28212 main ()
28213 {
28214 return f != $ac_func;
28215   ;
28216   return 0;
28217 }
28218 _ACEOF
28219 rm -f conftest.$ac_objext conftest$ac_exeext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28221   (eval $ac_link) 2>&5
28222   ac_status=$?
28223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224   (exit $ac_status); } &&
28225          { ac_try='test -s conftest$ac_exeext'
28226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227   (eval $ac_try) 2>&5
28228   ac_status=$?
28229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230   (exit $ac_status); }; }; then
28231   eval "$as_ac_var=yes"
28232 else
28233   echo "$as_me: failed program was:" >&5
28234 sed 's/^/| /' conftest.$ac_ext >&5
28235
28236 eval "$as_ac_var=no"
28237 fi
28238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28239 fi
28240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28242 if test `eval echo '${'$as_ac_var'}'` = yes; then
28243   cat >>confdefs.h <<_ACEOF
28244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28245 _ACEOF
28246
28247 fi
28248 done
28249
28250   else
28251
28252   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
28253 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
28254   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
28255     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
28256   echo $ECHO_N "(cached) $ECHO_C" >&6
28257 else
28258
28259
28260
28261       ac_ext=cc
28262 ac_cpp='$CXXCPP $CPPFLAGS'
28263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28266
28267       cat >conftest.$ac_ext <<_ACEOF
28268 #line $LINENO "configure"
28269 /* confdefs.h.  */
28270 _ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h.  */
28274 #include <math.h>
28275 int
28276 main ()
28277 {
28278  _copysign(0, 0);
28279   ;
28280   return 0;
28281 }
28282 _ACEOF
28283 rm -f conftest.$ac_objext
28284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28285   (eval $ac_compile) 2>&5
28286   ac_status=$?
28287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288   (exit $ac_status); } &&
28289          { ac_try='test -s conftest.$ac_objext'
28290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28291   (eval $ac_try) 2>&5
28292   ac_status=$?
28293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294   (exit $ac_status); }; }; then
28295   glibcxx_cv_func__copysign_use=yes
28296 else
28297   echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28299
28300 glibcxx_cv_func__copysign_use=no
28301 fi
28302 rm -f conftest.$ac_objext conftest.$ac_ext
28303       ac_ext=c
28304 ac_cpp='$CPP $CPPFLAGS'
28305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28308
28309
28310 fi
28311
28312   fi
28313   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
28314 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
28315
28316     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
28317
28318 for ac_func in _copysign
28319 do
28320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28321 echo "$as_me:$LINENO: checking for $ac_func" >&5
28322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28323 if eval "test \"\${$as_ac_var+set}\" = set"; then
28324   echo $ECHO_N "(cached) $ECHO_C" >&6
28325 else
28326   cat >conftest.$ac_ext <<_ACEOF
28327 #line $LINENO "configure"
28328 /* confdefs.h.  */
28329 _ACEOF
28330 cat confdefs.h >>conftest.$ac_ext
28331 cat >>conftest.$ac_ext <<_ACEOF
28332 /* end confdefs.h.  */
28333 /* System header to define __stub macros and hopefully few prototypes,
28334     which can conflict with char $ac_func (); below.
28335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28336     <limits.h> exists even on freestanding compilers.  */
28337 #ifdef __STDC__
28338 # include <limits.h>
28339 #else
28340 # include <assert.h>
28341 #endif
28342 /* Override any gcc2 internal prototype to avoid an error.  */
28343 #ifdef __cplusplus
28344 extern "C"
28345 {
28346 #endif
28347 /* We use char because int might match the return type of a gcc2
28348    builtin and then its argument prototype would still apply.  */
28349 char $ac_func ();
28350 /* The GNU C library defines this for functions which it implements
28351     to always fail with ENOSYS.  Some functions are actually named
28352     something starting with __ and the normal name is an alias.  */
28353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28354 choke me
28355 #else
28356 char (*f) () = $ac_func;
28357 #endif
28358 #ifdef __cplusplus
28359 }
28360 #endif
28361
28362 int
28363 main ()
28364 {
28365 return f != $ac_func;
28366   ;
28367   return 0;
28368 }
28369 _ACEOF
28370 rm -f conftest.$ac_objext conftest$ac_exeext
28371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28372   (eval $ac_link) 2>&5
28373   ac_status=$?
28374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375   (exit $ac_status); } &&
28376          { ac_try='test -s conftest$ac_exeext'
28377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378   (eval $ac_try) 2>&5
28379   ac_status=$?
28380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381   (exit $ac_status); }; }; then
28382   eval "$as_ac_var=yes"
28383 else
28384   echo "$as_me: failed program was:" >&5
28385 sed 's/^/| /' conftest.$ac_ext >&5
28386
28387 eval "$as_ac_var=no"
28388 fi
28389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28390 fi
28391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28393 if test `eval echo '${'$as_ac_var'}'` = yes; then
28394   cat >>confdefs.h <<_ACEOF
28395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28396 _ACEOF
28397
28398 fi
28399 done
28400
28401     fi
28402   fi
28403
28404
28405
28406   echo "$as_me:$LINENO: checking for sincos declaration" >&5
28407 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
28408   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28409     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
28410   echo $ECHO_N "(cached) $ECHO_C" >&6
28411 else
28412
28413
28414
28415       ac_ext=cc
28416 ac_cpp='$CXXCPP $CPPFLAGS'
28417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28420
28421       cat >conftest.$ac_ext <<_ACEOF
28422 #line $LINENO "configure"
28423 /* confdefs.h.  */
28424 _ACEOF
28425 cat confdefs.h >>conftest.$ac_ext
28426 cat >>conftest.$ac_ext <<_ACEOF
28427 /* end confdefs.h.  */
28428 #include <math.h>
28429 int
28430 main ()
28431 {
28432  sincos(0, 0, 0);
28433   ;
28434   return 0;
28435 }
28436 _ACEOF
28437 rm -f conftest.$ac_objext
28438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28439   (eval $ac_compile) 2>&5
28440   ac_status=$?
28441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442   (exit $ac_status); } &&
28443          { ac_try='test -s conftest.$ac_objext'
28444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445   (eval $ac_try) 2>&5
28446   ac_status=$?
28447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448   (exit $ac_status); }; }; then
28449   glibcxx_cv_func_sincos_use=yes
28450 else
28451   echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.$ac_ext >&5
28453
28454 glibcxx_cv_func_sincos_use=no
28455 fi
28456 rm -f conftest.$ac_objext conftest.$ac_ext
28457       ac_ext=c
28458 ac_cpp='$CPP $CPPFLAGS'
28459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28462
28463
28464 fi
28465
28466   fi
28467   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
28468 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
28469
28470   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28471
28472 for ac_func in sincos
28473 do
28474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28475 echo "$as_me:$LINENO: checking for $ac_func" >&5
28476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28477 if eval "test \"\${$as_ac_var+set}\" = set"; then
28478   echo $ECHO_N "(cached) $ECHO_C" >&6
28479 else
28480   cat >conftest.$ac_ext <<_ACEOF
28481 #line $LINENO "configure"
28482 /* confdefs.h.  */
28483 _ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h.  */
28487 /* System header to define __stub macros and hopefully few prototypes,
28488     which can conflict with char $ac_func (); below.
28489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28490     <limits.h> exists even on freestanding compilers.  */
28491 #ifdef __STDC__
28492 # include <limits.h>
28493 #else
28494 # include <assert.h>
28495 #endif
28496 /* Override any gcc2 internal prototype to avoid an error.  */
28497 #ifdef __cplusplus
28498 extern "C"
28499 {
28500 #endif
28501 /* We use char because int might match the return type of a gcc2
28502    builtin and then its argument prototype would still apply.  */
28503 char $ac_func ();
28504 /* The GNU C library defines this for functions which it implements
28505     to always fail with ENOSYS.  Some functions are actually named
28506     something starting with __ and the normal name is an alias.  */
28507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28508 choke me
28509 #else
28510 char (*f) () = $ac_func;
28511 #endif
28512 #ifdef __cplusplus
28513 }
28514 #endif
28515
28516 int
28517 main ()
28518 {
28519 return f != $ac_func;
28520   ;
28521   return 0;
28522 }
28523 _ACEOF
28524 rm -f conftest.$ac_objext conftest$ac_exeext
28525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28526   (eval $ac_link) 2>&5
28527   ac_status=$?
28528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529   (exit $ac_status); } &&
28530          { ac_try='test -s conftest$ac_exeext'
28531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532   (eval $ac_try) 2>&5
28533   ac_status=$?
28534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535   (exit $ac_status); }; }; then
28536   eval "$as_ac_var=yes"
28537 else
28538   echo "$as_me: failed program was:" >&5
28539 sed 's/^/| /' conftest.$ac_ext >&5
28540
28541 eval "$as_ac_var=no"
28542 fi
28543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28544 fi
28545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28547 if test `eval echo '${'$as_ac_var'}'` = yes; then
28548   cat >>confdefs.h <<_ACEOF
28549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28550 _ACEOF
28551
28552 fi
28553 done
28554
28555   else
28556
28557   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
28558 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
28559   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28560     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
28561   echo $ECHO_N "(cached) $ECHO_C" >&6
28562 else
28563
28564
28565
28566       ac_ext=cc
28567 ac_cpp='$CXXCPP $CPPFLAGS'
28568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28571
28572       cat >conftest.$ac_ext <<_ACEOF
28573 #line $LINENO "configure"
28574 /* confdefs.h.  */
28575 _ACEOF
28576 cat confdefs.h >>conftest.$ac_ext
28577 cat >>conftest.$ac_ext <<_ACEOF
28578 /* end confdefs.h.  */
28579 #include <math.h>
28580 int
28581 main ()
28582 {
28583  _sincos(0, 0, 0);
28584   ;
28585   return 0;
28586 }
28587 _ACEOF
28588 rm -f conftest.$ac_objext
28589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28590   (eval $ac_compile) 2>&5
28591   ac_status=$?
28592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593   (exit $ac_status); } &&
28594          { ac_try='test -s conftest.$ac_objext'
28595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596   (eval $ac_try) 2>&5
28597   ac_status=$?
28598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599   (exit $ac_status); }; }; then
28600   glibcxx_cv_func__sincos_use=yes
28601 else
28602   echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 glibcxx_cv_func__sincos_use=no
28606 fi
28607 rm -f conftest.$ac_objext conftest.$ac_ext
28608       ac_ext=c
28609 ac_cpp='$CPP $CPPFLAGS'
28610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28613
28614
28615 fi
28616
28617   fi
28618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
28619 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
28620
28621     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28622
28623 for ac_func in _sincos
28624 do
28625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28626 echo "$as_me:$LINENO: checking for $ac_func" >&5
28627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28628 if eval "test \"\${$as_ac_var+set}\" = set"; then
28629   echo $ECHO_N "(cached) $ECHO_C" >&6
28630 else
28631   cat >conftest.$ac_ext <<_ACEOF
28632 #line $LINENO "configure"
28633 /* confdefs.h.  */
28634 _ACEOF
28635 cat confdefs.h >>conftest.$ac_ext
28636 cat >>conftest.$ac_ext <<_ACEOF
28637 /* end confdefs.h.  */
28638 /* System header to define __stub macros and hopefully few prototypes,
28639     which can conflict with char $ac_func (); below.
28640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28641     <limits.h> exists even on freestanding compilers.  */
28642 #ifdef __STDC__
28643 # include <limits.h>
28644 #else
28645 # include <assert.h>
28646 #endif
28647 /* Override any gcc2 internal prototype to avoid an error.  */
28648 #ifdef __cplusplus
28649 extern "C"
28650 {
28651 #endif
28652 /* We use char because int might match the return type of a gcc2
28653    builtin and then its argument prototype would still apply.  */
28654 char $ac_func ();
28655 /* The GNU C library defines this for functions which it implements
28656     to always fail with ENOSYS.  Some functions are actually named
28657     something starting with __ and the normal name is an alias.  */
28658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28659 choke me
28660 #else
28661 char (*f) () = $ac_func;
28662 #endif
28663 #ifdef __cplusplus
28664 }
28665 #endif
28666
28667 int
28668 main ()
28669 {
28670 return f != $ac_func;
28671   ;
28672   return 0;
28673 }
28674 _ACEOF
28675 rm -f conftest.$ac_objext conftest$ac_exeext
28676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28677   (eval $ac_link) 2>&5
28678   ac_status=$?
28679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680   (exit $ac_status); } &&
28681          { ac_try='test -s conftest$ac_exeext'
28682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683   (eval $ac_try) 2>&5
28684   ac_status=$?
28685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686   (exit $ac_status); }; }; then
28687   eval "$as_ac_var=yes"
28688 else
28689   echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.$ac_ext >&5
28691
28692 eval "$as_ac_var=no"
28693 fi
28694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28695 fi
28696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28698 if test `eval echo '${'$as_ac_var'}'` = yes; then
28699   cat >>confdefs.h <<_ACEOF
28700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28701 _ACEOF
28702
28703 fi
28704 done
28705
28706     fi
28707   fi
28708
28709
28710
28711   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
28712 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
28713   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28714     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
28715   echo $ECHO_N "(cached) $ECHO_C" >&6
28716 else
28717
28718
28719
28720       ac_ext=cc
28721 ac_cpp='$CXXCPP $CPPFLAGS'
28722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28725
28726       cat >conftest.$ac_ext <<_ACEOF
28727 #line $LINENO "configure"
28728 /* confdefs.h.  */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h.  */
28733 #include <math.h>
28734                       #ifdef HAVE_IEEEFP_H
28735                       #include <ieeefp.h>
28736                       #endif
28737
28738 int
28739 main ()
28740 {
28741  fpclass(0);
28742   ;
28743   return 0;
28744 }
28745 _ACEOF
28746 rm -f conftest.$ac_objext
28747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28748   (eval $ac_compile) 2>&5
28749   ac_status=$?
28750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751   (exit $ac_status); } &&
28752          { ac_try='test -s conftest.$ac_objext'
28753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754   (eval $ac_try) 2>&5
28755   ac_status=$?
28756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757   (exit $ac_status); }; }; then
28758   glibcxx_cv_func_fpclass_use=yes
28759 else
28760   echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.$ac_ext >&5
28762
28763 glibcxx_cv_func_fpclass_use=no
28764 fi
28765 rm -f conftest.$ac_objext conftest.$ac_ext
28766       ac_ext=c
28767 ac_cpp='$CPP $CPPFLAGS'
28768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28771
28772
28773 fi
28774
28775   fi
28776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
28777 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
28778
28779   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28780
28781 for ac_func in fpclass
28782 do
28783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28784 echo "$as_me:$LINENO: checking for $ac_func" >&5
28785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28786 if eval "test \"\${$as_ac_var+set}\" = set"; then
28787   echo $ECHO_N "(cached) $ECHO_C" >&6
28788 else
28789   cat >conftest.$ac_ext <<_ACEOF
28790 #line $LINENO "configure"
28791 /* confdefs.h.  */
28792 _ACEOF
28793 cat confdefs.h >>conftest.$ac_ext
28794 cat >>conftest.$ac_ext <<_ACEOF
28795 /* end confdefs.h.  */
28796 /* System header to define __stub macros and hopefully few prototypes,
28797     which can conflict with char $ac_func (); below.
28798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28799     <limits.h> exists even on freestanding compilers.  */
28800 #ifdef __STDC__
28801 # include <limits.h>
28802 #else
28803 # include <assert.h>
28804 #endif
28805 /* Override any gcc2 internal prototype to avoid an error.  */
28806 #ifdef __cplusplus
28807 extern "C"
28808 {
28809 #endif
28810 /* We use char because int might match the return type of a gcc2
28811    builtin and then its argument prototype would still apply.  */
28812 char $ac_func ();
28813 /* The GNU C library defines this for functions which it implements
28814     to always fail with ENOSYS.  Some functions are actually named
28815     something starting with __ and the normal name is an alias.  */
28816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28817 choke me
28818 #else
28819 char (*f) () = $ac_func;
28820 #endif
28821 #ifdef __cplusplus
28822 }
28823 #endif
28824
28825 int
28826 main ()
28827 {
28828 return f != $ac_func;
28829   ;
28830   return 0;
28831 }
28832 _ACEOF
28833 rm -f conftest.$ac_objext conftest$ac_exeext
28834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28835   (eval $ac_link) 2>&5
28836   ac_status=$?
28837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838   (exit $ac_status); } &&
28839          { ac_try='test -s conftest$ac_exeext'
28840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841   (eval $ac_try) 2>&5
28842   ac_status=$?
28843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844   (exit $ac_status); }; }; then
28845   eval "$as_ac_var=yes"
28846 else
28847   echo "$as_me: failed program was:" >&5
28848 sed 's/^/| /' conftest.$ac_ext >&5
28849
28850 eval "$as_ac_var=no"
28851 fi
28852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28853 fi
28854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28856 if test `eval echo '${'$as_ac_var'}'` = yes; then
28857   cat >>confdefs.h <<_ACEOF
28858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28859 _ACEOF
28860
28861 fi
28862 done
28863
28864   else
28865
28866   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
28867 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
28868   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28869     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
28870   echo $ECHO_N "(cached) $ECHO_C" >&6
28871 else
28872
28873
28874
28875       ac_ext=cc
28876 ac_cpp='$CXXCPP $CPPFLAGS'
28877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28880
28881       cat >conftest.$ac_ext <<_ACEOF
28882 #line $LINENO "configure"
28883 /* confdefs.h.  */
28884 _ACEOF
28885 cat confdefs.h >>conftest.$ac_ext
28886 cat >>conftest.$ac_ext <<_ACEOF
28887 /* end confdefs.h.  */
28888 #include <math.h>
28889                       #ifdef HAVE_IEEEFP_H
28890                       #include <ieeefp.h>
28891                       #endif
28892
28893 int
28894 main ()
28895 {
28896  _fpclass(0);
28897   ;
28898   return 0;
28899 }
28900 _ACEOF
28901 rm -f conftest.$ac_objext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903   (eval $ac_compile) 2>&5
28904   ac_status=$?
28905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906   (exit $ac_status); } &&
28907          { ac_try='test -s conftest.$ac_objext'
28908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909   (eval $ac_try) 2>&5
28910   ac_status=$?
28911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912   (exit $ac_status); }; }; then
28913   glibcxx_cv_func__fpclass_use=yes
28914 else
28915   echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.$ac_ext >&5
28917
28918 glibcxx_cv_func__fpclass_use=no
28919 fi
28920 rm -f conftest.$ac_objext conftest.$ac_ext
28921       ac_ext=c
28922 ac_cpp='$CPP $CPPFLAGS'
28923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28926
28927
28928 fi
28929
28930   fi
28931   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
28932 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
28933
28934     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28935
28936 for ac_func in _fpclass
28937 do
28938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28939 echo "$as_me:$LINENO: checking for $ac_func" >&5
28940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28941 if eval "test \"\${$as_ac_var+set}\" = set"; then
28942   echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944   cat >conftest.$ac_ext <<_ACEOF
28945 #line $LINENO "configure"
28946 /* confdefs.h.  */
28947 _ACEOF
28948 cat confdefs.h >>conftest.$ac_ext
28949 cat >>conftest.$ac_ext <<_ACEOF
28950 /* end confdefs.h.  */
28951 /* System header to define __stub macros and hopefully few prototypes,
28952     which can conflict with char $ac_func (); below.
28953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28954     <limits.h> exists even on freestanding compilers.  */
28955 #ifdef __STDC__
28956 # include <limits.h>
28957 #else
28958 # include <assert.h>
28959 #endif
28960 /* Override any gcc2 internal prototype to avoid an error.  */
28961 #ifdef __cplusplus
28962 extern "C"
28963 {
28964 #endif
28965 /* We use char because int might match the return type of a gcc2
28966    builtin and then its argument prototype would still apply.  */
28967 char $ac_func ();
28968 /* The GNU C library defines this for functions which it implements
28969     to always fail with ENOSYS.  Some functions are actually named
28970     something starting with __ and the normal name is an alias.  */
28971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28972 choke me
28973 #else
28974 char (*f) () = $ac_func;
28975 #endif
28976 #ifdef __cplusplus
28977 }
28978 #endif
28979
28980 int
28981 main ()
28982 {
28983 return f != $ac_func;
28984   ;
28985   return 0;
28986 }
28987 _ACEOF
28988 rm -f conftest.$ac_objext conftest$ac_exeext
28989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28990   (eval $ac_link) 2>&5
28991   ac_status=$?
28992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993   (exit $ac_status); } &&
28994          { ac_try='test -s conftest$ac_exeext'
28995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996   (eval $ac_try) 2>&5
28997   ac_status=$?
28998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999   (exit $ac_status); }; }; then
29000   eval "$as_ac_var=yes"
29001 else
29002   echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29004
29005 eval "$as_ac_var=no"
29006 fi
29007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29008 fi
29009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29011 if test `eval echo '${'$as_ac_var'}'` = yes; then
29012   cat >>confdefs.h <<_ACEOF
29013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29014 _ACEOF
29015
29016 fi
29017 done
29018
29019     fi
29020   fi
29021
29022
29023
29024   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29025 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29026   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29027     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29028   echo $ECHO_N "(cached) $ECHO_C" >&6
29029 else
29030
29031
29032
29033       ac_ext=cc
29034 ac_cpp='$CXXCPP $CPPFLAGS'
29035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29038
29039       cat >conftest.$ac_ext <<_ACEOF
29040 #line $LINENO "configure"
29041 /* confdefs.h.  */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h.  */
29046 #include <math.h>
29047                       #ifdef HAVE_IEEEFP_H
29048                       #include <ieeefp.h>
29049                       #endif
29050
29051 int
29052 main ()
29053 {
29054  qfpclass(0);
29055   ;
29056   return 0;
29057 }
29058 _ACEOF
29059 rm -f conftest.$ac_objext
29060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29061   (eval $ac_compile) 2>&5
29062   ac_status=$?
29063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064   (exit $ac_status); } &&
29065          { ac_try='test -s conftest.$ac_objext'
29066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067   (eval $ac_try) 2>&5
29068   ac_status=$?
29069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070   (exit $ac_status); }; }; then
29071   glibcxx_cv_func_qfpclass_use=yes
29072 else
29073   echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.$ac_ext >&5
29075
29076 glibcxx_cv_func_qfpclass_use=no
29077 fi
29078 rm -f conftest.$ac_objext conftest.$ac_ext
29079       ac_ext=c
29080 ac_cpp='$CPP $CPPFLAGS'
29081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29084
29085
29086 fi
29087
29088   fi
29089   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29090 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29091
29092   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29093
29094 for ac_func in qfpclass
29095 do
29096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29097 echo "$as_me:$LINENO: checking for $ac_func" >&5
29098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29099 if eval "test \"\${$as_ac_var+set}\" = set"; then
29100   echo $ECHO_N "(cached) $ECHO_C" >&6
29101 else
29102   cat >conftest.$ac_ext <<_ACEOF
29103 #line $LINENO "configure"
29104 /* confdefs.h.  */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h.  */
29109 /* System header to define __stub macros and hopefully few prototypes,
29110     which can conflict with char $ac_func (); below.
29111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29112     <limits.h> exists even on freestanding compilers.  */
29113 #ifdef __STDC__
29114 # include <limits.h>
29115 #else
29116 # include <assert.h>
29117 #endif
29118 /* Override any gcc2 internal prototype to avoid an error.  */
29119 #ifdef __cplusplus
29120 extern "C"
29121 {
29122 #endif
29123 /* We use char because int might match the return type of a gcc2
29124    builtin and then its argument prototype would still apply.  */
29125 char $ac_func ();
29126 /* The GNU C library defines this for functions which it implements
29127     to always fail with ENOSYS.  Some functions are actually named
29128     something starting with __ and the normal name is an alias.  */
29129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29130 choke me
29131 #else
29132 char (*f) () = $ac_func;
29133 #endif
29134 #ifdef __cplusplus
29135 }
29136 #endif
29137
29138 int
29139 main ()
29140 {
29141 return f != $ac_func;
29142   ;
29143   return 0;
29144 }
29145 _ACEOF
29146 rm -f conftest.$ac_objext conftest$ac_exeext
29147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29148   (eval $ac_link) 2>&5
29149   ac_status=$?
29150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151   (exit $ac_status); } &&
29152          { ac_try='test -s conftest$ac_exeext'
29153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154   (eval $ac_try) 2>&5
29155   ac_status=$?
29156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157   (exit $ac_status); }; }; then
29158   eval "$as_ac_var=yes"
29159 else
29160   echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29162
29163 eval "$as_ac_var=no"
29164 fi
29165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29166 fi
29167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29169 if test `eval echo '${'$as_ac_var'}'` = yes; then
29170   cat >>confdefs.h <<_ACEOF
29171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29172 _ACEOF
29173
29174 fi
29175 done
29176
29177   else
29178
29179   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
29180 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
29181   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29182     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
29183   echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185
29186
29187
29188       ac_ext=cc
29189 ac_cpp='$CXXCPP $CPPFLAGS'
29190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29193
29194       cat >conftest.$ac_ext <<_ACEOF
29195 #line $LINENO "configure"
29196 /* confdefs.h.  */
29197 _ACEOF
29198 cat confdefs.h >>conftest.$ac_ext
29199 cat >>conftest.$ac_ext <<_ACEOF
29200 /* end confdefs.h.  */
29201 #include <math.h>
29202                       #ifdef HAVE_IEEEFP_H
29203                       #include <ieeefp.h>
29204                       #endif
29205
29206 int
29207 main ()
29208 {
29209  _qfpclass(0);
29210   ;
29211   return 0;
29212 }
29213 _ACEOF
29214 rm -f conftest.$ac_objext
29215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29216   (eval $ac_compile) 2>&5
29217   ac_status=$?
29218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219   (exit $ac_status); } &&
29220          { ac_try='test -s conftest.$ac_objext'
29221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222   (eval $ac_try) 2>&5
29223   ac_status=$?
29224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225   (exit $ac_status); }; }; then
29226   glibcxx_cv_func__qfpclass_use=yes
29227 else
29228   echo "$as_me: failed program was:" >&5
29229 sed 's/^/| /' conftest.$ac_ext >&5
29230
29231 glibcxx_cv_func__qfpclass_use=no
29232 fi
29233 rm -f conftest.$ac_objext conftest.$ac_ext
29234       ac_ext=c
29235 ac_cpp='$CPP $CPPFLAGS'
29236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239
29240
29241 fi
29242
29243   fi
29244   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
29245 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
29246
29247     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29248
29249 for ac_func in _qfpclass
29250 do
29251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29252 echo "$as_me:$LINENO: checking for $ac_func" >&5
29253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29254 if eval "test \"\${$as_ac_var+set}\" = set"; then
29255   echo $ECHO_N "(cached) $ECHO_C" >&6
29256 else
29257   cat >conftest.$ac_ext <<_ACEOF
29258 #line $LINENO "configure"
29259 /* confdefs.h.  */
29260 _ACEOF
29261 cat confdefs.h >>conftest.$ac_ext
29262 cat >>conftest.$ac_ext <<_ACEOF
29263 /* end confdefs.h.  */
29264 /* System header to define __stub macros and hopefully few prototypes,
29265     which can conflict with char $ac_func (); below.
29266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29267     <limits.h> exists even on freestanding compilers.  */
29268 #ifdef __STDC__
29269 # include <limits.h>
29270 #else
29271 # include <assert.h>
29272 #endif
29273 /* Override any gcc2 internal prototype to avoid an error.  */
29274 #ifdef __cplusplus
29275 extern "C"
29276 {
29277 #endif
29278 /* We use char because int might match the return type of a gcc2
29279    builtin and then its argument prototype would still apply.  */
29280 char $ac_func ();
29281 /* The GNU C library defines this for functions which it implements
29282     to always fail with ENOSYS.  Some functions are actually named
29283     something starting with __ and the normal name is an alias.  */
29284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29285 choke me
29286 #else
29287 char (*f) () = $ac_func;
29288 #endif
29289 #ifdef __cplusplus
29290 }
29291 #endif
29292
29293 int
29294 main ()
29295 {
29296 return f != $ac_func;
29297   ;
29298   return 0;
29299 }
29300 _ACEOF
29301 rm -f conftest.$ac_objext conftest$ac_exeext
29302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29303   (eval $ac_link) 2>&5
29304   ac_status=$?
29305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306   (exit $ac_status); } &&
29307          { ac_try='test -s conftest$ac_exeext'
29308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309   (eval $ac_try) 2>&5
29310   ac_status=$?
29311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312   (exit $ac_status); }; }; then
29313   eval "$as_ac_var=yes"
29314 else
29315   echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.$ac_ext >&5
29317
29318 eval "$as_ac_var=no"
29319 fi
29320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29321 fi
29322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29324 if test `eval echo '${'$as_ac_var'}'` = yes; then
29325   cat >>confdefs.h <<_ACEOF
29326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29327 _ACEOF
29328
29329 fi
29330 done
29331
29332     fi
29333   fi
29334
29335
29336
29337   echo "$as_me:$LINENO: checking for hypot declaration" >&5
29338 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
29339   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29340     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
29341   echo $ECHO_N "(cached) $ECHO_C" >&6
29342 else
29343
29344
29345
29346       ac_ext=cc
29347 ac_cpp='$CXXCPP $CPPFLAGS'
29348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29351
29352       cat >conftest.$ac_ext <<_ACEOF
29353 #line $LINENO "configure"
29354 /* confdefs.h.  */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h.  */
29359 #include <math.h>
29360 int
29361 main ()
29362 {
29363  hypot(0, 0);
29364   ;
29365   return 0;
29366 }
29367 _ACEOF
29368 rm -f conftest.$ac_objext
29369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29370   (eval $ac_compile) 2>&5
29371   ac_status=$?
29372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373   (exit $ac_status); } &&
29374          { ac_try='test -s conftest.$ac_objext'
29375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376   (eval $ac_try) 2>&5
29377   ac_status=$?
29378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379   (exit $ac_status); }; }; then
29380   glibcxx_cv_func_hypot_use=yes
29381 else
29382   echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29384
29385 glibcxx_cv_func_hypot_use=no
29386 fi
29387 rm -f conftest.$ac_objext conftest.$ac_ext
29388       ac_ext=c
29389 ac_cpp='$CPP $CPPFLAGS'
29390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29393
29394
29395 fi
29396
29397   fi
29398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
29399 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
29400
29401   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29402
29403 for ac_func in hypot
29404 do
29405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29406 echo "$as_me:$LINENO: checking for $ac_func" >&5
29407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29408 if eval "test \"\${$as_ac_var+set}\" = set"; then
29409   echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29411   cat >conftest.$ac_ext <<_ACEOF
29412 #line $LINENO "configure"
29413 /* confdefs.h.  */
29414 _ACEOF
29415 cat confdefs.h >>conftest.$ac_ext
29416 cat >>conftest.$ac_ext <<_ACEOF
29417 /* end confdefs.h.  */
29418 /* System header to define __stub macros and hopefully few prototypes,
29419     which can conflict with char $ac_func (); below.
29420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29421     <limits.h> exists even on freestanding compilers.  */
29422 #ifdef __STDC__
29423 # include <limits.h>
29424 #else
29425 # include <assert.h>
29426 #endif
29427 /* Override any gcc2 internal prototype to avoid an error.  */
29428 #ifdef __cplusplus
29429 extern "C"
29430 {
29431 #endif
29432 /* We use char because int might match the return type of a gcc2
29433    builtin and then its argument prototype would still apply.  */
29434 char $ac_func ();
29435 /* The GNU C library defines this for functions which it implements
29436     to always fail with ENOSYS.  Some functions are actually named
29437     something starting with __ and the normal name is an alias.  */
29438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29439 choke me
29440 #else
29441 char (*f) () = $ac_func;
29442 #endif
29443 #ifdef __cplusplus
29444 }
29445 #endif
29446
29447 int
29448 main ()
29449 {
29450 return f != $ac_func;
29451   ;
29452   return 0;
29453 }
29454 _ACEOF
29455 rm -f conftest.$ac_objext conftest$ac_exeext
29456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29457   (eval $ac_link) 2>&5
29458   ac_status=$?
29459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460   (exit $ac_status); } &&
29461          { ac_try='test -s conftest$ac_exeext'
29462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463   (eval $ac_try) 2>&5
29464   ac_status=$?
29465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466   (exit $ac_status); }; }; then
29467   eval "$as_ac_var=yes"
29468 else
29469   echo "$as_me: failed program was:" >&5
29470 sed 's/^/| /' conftest.$ac_ext >&5
29471
29472 eval "$as_ac_var=no"
29473 fi
29474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29475 fi
29476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29478 if test `eval echo '${'$as_ac_var'}'` = yes; then
29479   cat >>confdefs.h <<_ACEOF
29480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29481 _ACEOF
29482
29483 fi
29484 done
29485
29486   else
29487
29488   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
29489 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
29490   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29491     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
29492   echo $ECHO_N "(cached) $ECHO_C" >&6
29493 else
29494
29495
29496
29497       ac_ext=cc
29498 ac_cpp='$CXXCPP $CPPFLAGS'
29499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29502
29503       cat >conftest.$ac_ext <<_ACEOF
29504 #line $LINENO "configure"
29505 /* confdefs.h.  */
29506 _ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h.  */
29510 #include <math.h>
29511 int
29512 main ()
29513 {
29514  _hypot(0, 0);
29515   ;
29516   return 0;
29517 }
29518 _ACEOF
29519 rm -f conftest.$ac_objext
29520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29521   (eval $ac_compile) 2>&5
29522   ac_status=$?
29523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524   (exit $ac_status); } &&
29525          { ac_try='test -s conftest.$ac_objext'
29526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29527   (eval $ac_try) 2>&5
29528   ac_status=$?
29529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530   (exit $ac_status); }; }; then
29531   glibcxx_cv_func__hypot_use=yes
29532 else
29533   echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 glibcxx_cv_func__hypot_use=no
29537 fi
29538 rm -f conftest.$ac_objext conftest.$ac_ext
29539       ac_ext=c
29540 ac_cpp='$CPP $CPPFLAGS'
29541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29544
29545
29546 fi
29547
29548   fi
29549   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
29550 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
29551
29552     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29553
29554 for ac_func in _hypot
29555 do
29556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29557 echo "$as_me:$LINENO: checking for $ac_func" >&5
29558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29559 if eval "test \"\${$as_ac_var+set}\" = set"; then
29560   echo $ECHO_N "(cached) $ECHO_C" >&6
29561 else
29562   cat >conftest.$ac_ext <<_ACEOF
29563 #line $LINENO "configure"
29564 /* confdefs.h.  */
29565 _ACEOF
29566 cat confdefs.h >>conftest.$ac_ext
29567 cat >>conftest.$ac_ext <<_ACEOF
29568 /* end confdefs.h.  */
29569 /* System header to define __stub macros and hopefully few prototypes,
29570     which can conflict with char $ac_func (); below.
29571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29572     <limits.h> exists even on freestanding compilers.  */
29573 #ifdef __STDC__
29574 # include <limits.h>
29575 #else
29576 # include <assert.h>
29577 #endif
29578 /* Override any gcc2 internal prototype to avoid an error.  */
29579 #ifdef __cplusplus
29580 extern "C"
29581 {
29582 #endif
29583 /* We use char because int might match the return type of a gcc2
29584    builtin and then its argument prototype would still apply.  */
29585 char $ac_func ();
29586 /* The GNU C library defines this for functions which it implements
29587     to always fail with ENOSYS.  Some functions are actually named
29588     something starting with __ and the normal name is an alias.  */
29589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29590 choke me
29591 #else
29592 char (*f) () = $ac_func;
29593 #endif
29594 #ifdef __cplusplus
29595 }
29596 #endif
29597
29598 int
29599 main ()
29600 {
29601 return f != $ac_func;
29602   ;
29603   return 0;
29604 }
29605 _ACEOF
29606 rm -f conftest.$ac_objext conftest$ac_exeext
29607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29608   (eval $ac_link) 2>&5
29609   ac_status=$?
29610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611   (exit $ac_status); } &&
29612          { ac_try='test -s conftest$ac_exeext'
29613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614   (eval $ac_try) 2>&5
29615   ac_status=$?
29616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617   (exit $ac_status); }; }; then
29618   eval "$as_ac_var=yes"
29619 else
29620   echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29622
29623 eval "$as_ac_var=no"
29624 fi
29625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29626 fi
29627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29629 if test `eval echo '${'$as_ac_var'}'` = yes; then
29630   cat >>confdefs.h <<_ACEOF
29631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29632 _ACEOF
29633
29634 fi
29635 done
29636
29637     fi
29638   fi
29639
29640
29641
29642   echo "$as_me:$LINENO: checking for float trig functions" >&5
29643 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
29644   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
29645   echo $ECHO_N "(cached) $ECHO_C" >&6
29646 else
29647
29648
29649
29650     ac_ext=cc
29651 ac_cpp='$CXXCPP $CPPFLAGS'
29652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29655
29656     cat >conftest.$ac_ext <<_ACEOF
29657 #line $LINENO "configure"
29658 /* confdefs.h.  */
29659 _ACEOF
29660 cat confdefs.h >>conftest.$ac_ext
29661 cat >>conftest.$ac_ext <<_ACEOF
29662 /* end confdefs.h.  */
29663 #include <math.h>
29664 int
29665 main ()
29666 {
29667  `for x in acosf asinf atanf \
29668                                           cosf sinf tanf \
29669                                           coshf sinhf tanhf; do echo "$x (0);"; done`
29670   ;
29671   return 0;
29672 }
29673 _ACEOF
29674 rm -f conftest.$ac_objext
29675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29676   (eval $ac_compile) 2>&5
29677   ac_status=$?
29678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679   (exit $ac_status); } &&
29680          { ac_try='test -s conftest.$ac_objext'
29681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682   (eval $ac_try) 2>&5
29683   ac_status=$?
29684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685   (exit $ac_status); }; }; then
29686   glibcxx_cv_func_float_trig_use=yes
29687 else
29688   echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29690
29691 glibcxx_cv_func_float_trig_use=no
29692 fi
29693 rm -f conftest.$ac_objext conftest.$ac_ext
29694     ac_ext=c
29695 ac_cpp='$CPP $CPPFLAGS'
29696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29699
29700 fi
29701
29702   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
29703 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
29704   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714 for ac_func in acosf asinf atanf \
29715                                           cosf sinf tanf \
29716                                           coshf sinhf tanhf
29717 do
29718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29719 echo "$as_me:$LINENO: checking for $ac_func" >&5
29720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29721 if eval "test \"\${$as_ac_var+set}\" = set"; then
29722   echo $ECHO_N "(cached) $ECHO_C" >&6
29723 else
29724   cat >conftest.$ac_ext <<_ACEOF
29725 #line $LINENO "configure"
29726 /* confdefs.h.  */
29727 _ACEOF
29728 cat confdefs.h >>conftest.$ac_ext
29729 cat >>conftest.$ac_ext <<_ACEOF
29730 /* end confdefs.h.  */
29731 /* System header to define __stub macros and hopefully few prototypes,
29732     which can conflict with char $ac_func (); below.
29733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29734     <limits.h> exists even on freestanding compilers.  */
29735 #ifdef __STDC__
29736 # include <limits.h>
29737 #else
29738 # include <assert.h>
29739 #endif
29740 /* Override any gcc2 internal prototype to avoid an error.  */
29741 #ifdef __cplusplus
29742 extern "C"
29743 {
29744 #endif
29745 /* We use char because int might match the return type of a gcc2
29746    builtin and then its argument prototype would still apply.  */
29747 char $ac_func ();
29748 /* The GNU C library defines this for functions which it implements
29749     to always fail with ENOSYS.  Some functions are actually named
29750     something starting with __ and the normal name is an alias.  */
29751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29752 choke me
29753 #else
29754 char (*f) () = $ac_func;
29755 #endif
29756 #ifdef __cplusplus
29757 }
29758 #endif
29759
29760 int
29761 main ()
29762 {
29763 return f != $ac_func;
29764   ;
29765   return 0;
29766 }
29767 _ACEOF
29768 rm -f conftest.$ac_objext conftest$ac_exeext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29770   (eval $ac_link) 2>&5
29771   ac_status=$?
29772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773   (exit $ac_status); } &&
29774          { ac_try='test -s conftest$ac_exeext'
29775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776   (eval $ac_try) 2>&5
29777   ac_status=$?
29778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779   (exit $ac_status); }; }; then
29780   eval "$as_ac_var=yes"
29781 else
29782   echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.$ac_ext >&5
29784
29785 eval "$as_ac_var=no"
29786 fi
29787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29788 fi
29789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29791 if test `eval echo '${'$as_ac_var'}'` = yes; then
29792   cat >>confdefs.h <<_ACEOF
29793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29794 _ACEOF
29795
29796 fi
29797 done
29798
29799   fi
29800
29801
29802   echo "$as_me:$LINENO: checking for float round functions" >&5
29803 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
29804   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
29805   echo $ECHO_N "(cached) $ECHO_C" >&6
29806 else
29807
29808
29809
29810     ac_ext=cc
29811 ac_cpp='$CXXCPP $CPPFLAGS'
29812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29815
29816     cat >conftest.$ac_ext <<_ACEOF
29817 #line $LINENO "configure"
29818 /* confdefs.h.  */
29819 _ACEOF
29820 cat confdefs.h >>conftest.$ac_ext
29821 cat >>conftest.$ac_ext <<_ACEOF
29822 /* end confdefs.h.  */
29823 #include <math.h>
29824 int
29825 main ()
29826 {
29827  `for x in ceilf floorf; do echo "$x (0);"; done`
29828   ;
29829   return 0;
29830 }
29831 _ACEOF
29832 rm -f conftest.$ac_objext
29833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29834   (eval $ac_compile) 2>&5
29835   ac_status=$?
29836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837   (exit $ac_status); } &&
29838          { ac_try='test -s conftest.$ac_objext'
29839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840   (eval $ac_try) 2>&5
29841   ac_status=$?
29842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843   (exit $ac_status); }; }; then
29844   glibcxx_cv_func_float_round_use=yes
29845 else
29846   echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849 glibcxx_cv_func_float_round_use=no
29850 fi
29851 rm -f conftest.$ac_objext conftest.$ac_ext
29852     ac_ext=c
29853 ac_cpp='$CPP $CPPFLAGS'
29854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29857
29858 fi
29859
29860   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
29861 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
29862   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29863
29864
29865 for ac_func in ceilf floorf
29866 do
29867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29868 echo "$as_me:$LINENO: checking for $ac_func" >&5
29869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29870 if eval "test \"\${$as_ac_var+set}\" = set"; then
29871   echo $ECHO_N "(cached) $ECHO_C" >&6
29872 else
29873   cat >conftest.$ac_ext <<_ACEOF
29874 #line $LINENO "configure"
29875 /* confdefs.h.  */
29876 _ACEOF
29877 cat confdefs.h >>conftest.$ac_ext
29878 cat >>conftest.$ac_ext <<_ACEOF
29879 /* end confdefs.h.  */
29880 /* System header to define __stub macros and hopefully few prototypes,
29881     which can conflict with char $ac_func (); below.
29882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29883     <limits.h> exists even on freestanding compilers.  */
29884 #ifdef __STDC__
29885 # include <limits.h>
29886 #else
29887 # include <assert.h>
29888 #endif
29889 /* Override any gcc2 internal prototype to avoid an error.  */
29890 #ifdef __cplusplus
29891 extern "C"
29892 {
29893 #endif
29894 /* We use char because int might match the return type of a gcc2
29895    builtin and then its argument prototype would still apply.  */
29896 char $ac_func ();
29897 /* The GNU C library defines this for functions which it implements
29898     to always fail with ENOSYS.  Some functions are actually named
29899     something starting with __ and the normal name is an alias.  */
29900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29901 choke me
29902 #else
29903 char (*f) () = $ac_func;
29904 #endif
29905 #ifdef __cplusplus
29906 }
29907 #endif
29908
29909 int
29910 main ()
29911 {
29912 return f != $ac_func;
29913   ;
29914   return 0;
29915 }
29916 _ACEOF
29917 rm -f conftest.$ac_objext conftest$ac_exeext
29918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29919   (eval $ac_link) 2>&5
29920   ac_status=$?
29921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922   (exit $ac_status); } &&
29923          { ac_try='test -s conftest$ac_exeext'
29924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925   (eval $ac_try) 2>&5
29926   ac_status=$?
29927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928   (exit $ac_status); }; }; then
29929   eval "$as_ac_var=yes"
29930 else
29931   echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29933
29934 eval "$as_ac_var=no"
29935 fi
29936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29937 fi
29938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29940 if test `eval echo '${'$as_ac_var'}'` = yes; then
29941   cat >>confdefs.h <<_ACEOF
29942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29943 _ACEOF
29944
29945 fi
29946 done
29947
29948   fi
29949
29950
29951
29952   echo "$as_me:$LINENO: checking for expf declaration" >&5
29953 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
29954   if test x${glibcxx_cv_func_expf_use+set} != xset; then
29955     if test "${glibcxx_cv_func_expf_use+set}" = set; then
29956   echo $ECHO_N "(cached) $ECHO_C" >&6
29957 else
29958
29959
29960
29961       ac_ext=cc
29962 ac_cpp='$CXXCPP $CPPFLAGS'
29963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29966
29967       cat >conftest.$ac_ext <<_ACEOF
29968 #line $LINENO "configure"
29969 /* confdefs.h.  */
29970 _ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h.  */
29974 #include <math.h>
29975                       #ifdef HAVE_IEEEFP_H
29976                       #include <ieeefp.h>
29977                       #endif
29978
29979 int
29980 main ()
29981 {
29982  expf(0);
29983   ;
29984   return 0;
29985 }
29986 _ACEOF
29987 rm -f conftest.$ac_objext
29988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29989   (eval $ac_compile) 2>&5
29990   ac_status=$?
29991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992   (exit $ac_status); } &&
29993          { ac_try='test -s conftest.$ac_objext'
29994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29995   (eval $ac_try) 2>&5
29996   ac_status=$?
29997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998   (exit $ac_status); }; }; then
29999   glibcxx_cv_func_expf_use=yes
30000 else
30001   echo "$as_me: failed program was:" >&5
30002 sed 's/^/| /' conftest.$ac_ext >&5
30003
30004 glibcxx_cv_func_expf_use=no
30005 fi
30006 rm -f conftest.$ac_objext conftest.$ac_ext
30007       ac_ext=c
30008 ac_cpp='$CPP $CPPFLAGS'
30009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30012
30013
30014 fi
30015
30016   fi
30017   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30018 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30019
30020   if test x$glibcxx_cv_func_expf_use = x"yes"; then
30021
30022 for ac_func in expf
30023 do
30024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30025 echo "$as_me:$LINENO: checking for $ac_func" >&5
30026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30027 if eval "test \"\${$as_ac_var+set}\" = set"; then
30028   echo $ECHO_N "(cached) $ECHO_C" >&6
30029 else
30030   cat >conftest.$ac_ext <<_ACEOF
30031 #line $LINENO "configure"
30032 /* confdefs.h.  */
30033 _ACEOF
30034 cat confdefs.h >>conftest.$ac_ext
30035 cat >>conftest.$ac_ext <<_ACEOF
30036 /* end confdefs.h.  */
30037 /* System header to define __stub macros and hopefully few prototypes,
30038     which can conflict with char $ac_func (); below.
30039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30040     <limits.h> exists even on freestanding compilers.  */
30041 #ifdef __STDC__
30042 # include <limits.h>
30043 #else
30044 # include <assert.h>
30045 #endif
30046 /* Override any gcc2 internal prototype to avoid an error.  */
30047 #ifdef __cplusplus
30048 extern "C"
30049 {
30050 #endif
30051 /* We use char because int might match the return type of a gcc2
30052    builtin and then its argument prototype would still apply.  */
30053 char $ac_func ();
30054 /* The GNU C library defines this for functions which it implements
30055     to always fail with ENOSYS.  Some functions are actually named
30056     something starting with __ and the normal name is an alias.  */
30057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30058 choke me
30059 #else
30060 char (*f) () = $ac_func;
30061 #endif
30062 #ifdef __cplusplus
30063 }
30064 #endif
30065
30066 int
30067 main ()
30068 {
30069 return f != $ac_func;
30070   ;
30071   return 0;
30072 }
30073 _ACEOF
30074 rm -f conftest.$ac_objext conftest$ac_exeext
30075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30076   (eval $ac_link) 2>&5
30077   ac_status=$?
30078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079   (exit $ac_status); } &&
30080          { ac_try='test -s conftest$ac_exeext'
30081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082   (eval $ac_try) 2>&5
30083   ac_status=$?
30084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085   (exit $ac_status); }; }; then
30086   eval "$as_ac_var=yes"
30087 else
30088   echo "$as_me: failed program was:" >&5
30089 sed 's/^/| /' conftest.$ac_ext >&5
30090
30091 eval "$as_ac_var=no"
30092 fi
30093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30094 fi
30095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30097 if test `eval echo '${'$as_ac_var'}'` = yes; then
30098   cat >>confdefs.h <<_ACEOF
30099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30100 _ACEOF
30101
30102 fi
30103 done
30104
30105   else
30106
30107   echo "$as_me:$LINENO: checking for _expf declaration" >&5
30108 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30109   if test x${glibcxx_cv_func__expf_use+set} != xset; then
30110     if test "${glibcxx_cv_func__expf_use+set}" = set; then
30111   echo $ECHO_N "(cached) $ECHO_C" >&6
30112 else
30113
30114
30115
30116       ac_ext=cc
30117 ac_cpp='$CXXCPP $CPPFLAGS'
30118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30121
30122       cat >conftest.$ac_ext <<_ACEOF
30123 #line $LINENO "configure"
30124 /* confdefs.h.  */
30125 _ACEOF
30126 cat confdefs.h >>conftest.$ac_ext
30127 cat >>conftest.$ac_ext <<_ACEOF
30128 /* end confdefs.h.  */
30129 #include <math.h>
30130                       #ifdef HAVE_IEEEFP_H
30131                       #include <ieeefp.h>
30132                       #endif
30133
30134 int
30135 main ()
30136 {
30137  _expf(0);
30138   ;
30139   return 0;
30140 }
30141 _ACEOF
30142 rm -f conftest.$ac_objext
30143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30144   (eval $ac_compile) 2>&5
30145   ac_status=$?
30146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147   (exit $ac_status); } &&
30148          { ac_try='test -s conftest.$ac_objext'
30149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150   (eval $ac_try) 2>&5
30151   ac_status=$?
30152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153   (exit $ac_status); }; }; then
30154   glibcxx_cv_func__expf_use=yes
30155 else
30156   echo "$as_me: failed program was:" >&5
30157 sed 's/^/| /' conftest.$ac_ext >&5
30158
30159 glibcxx_cv_func__expf_use=no
30160 fi
30161 rm -f conftest.$ac_objext conftest.$ac_ext
30162       ac_ext=c
30163 ac_cpp='$CPP $CPPFLAGS'
30164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30167
30168
30169 fi
30170
30171   fi
30172   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
30173 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
30174
30175     if test x$glibcxx_cv_func__expf_use = x"yes"; then
30176
30177 for ac_func in _expf
30178 do
30179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30180 echo "$as_me:$LINENO: checking for $ac_func" >&5
30181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30182 if eval "test \"\${$as_ac_var+set}\" = set"; then
30183   echo $ECHO_N "(cached) $ECHO_C" >&6
30184 else
30185   cat >conftest.$ac_ext <<_ACEOF
30186 #line $LINENO "configure"
30187 /* confdefs.h.  */
30188 _ACEOF
30189 cat confdefs.h >>conftest.$ac_ext
30190 cat >>conftest.$ac_ext <<_ACEOF
30191 /* end confdefs.h.  */
30192 /* System header to define __stub macros and hopefully few prototypes,
30193     which can conflict with char $ac_func (); below.
30194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30195     <limits.h> exists even on freestanding compilers.  */
30196 #ifdef __STDC__
30197 # include <limits.h>
30198 #else
30199 # include <assert.h>
30200 #endif
30201 /* Override any gcc2 internal prototype to avoid an error.  */
30202 #ifdef __cplusplus
30203 extern "C"
30204 {
30205 #endif
30206 /* We use char because int might match the return type of a gcc2
30207    builtin and then its argument prototype would still apply.  */
30208 char $ac_func ();
30209 /* The GNU C library defines this for functions which it implements
30210     to always fail with ENOSYS.  Some functions are actually named
30211     something starting with __ and the normal name is an alias.  */
30212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30213 choke me
30214 #else
30215 char (*f) () = $ac_func;
30216 #endif
30217 #ifdef __cplusplus
30218 }
30219 #endif
30220
30221 int
30222 main ()
30223 {
30224 return f != $ac_func;
30225   ;
30226   return 0;
30227 }
30228 _ACEOF
30229 rm -f conftest.$ac_objext conftest$ac_exeext
30230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30231   (eval $ac_link) 2>&5
30232   ac_status=$?
30233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234   (exit $ac_status); } &&
30235          { ac_try='test -s conftest$ac_exeext'
30236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237   (eval $ac_try) 2>&5
30238   ac_status=$?
30239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240   (exit $ac_status); }; }; then
30241   eval "$as_ac_var=yes"
30242 else
30243   echo "$as_me: failed program was:" >&5
30244 sed 's/^/| /' conftest.$ac_ext >&5
30245
30246 eval "$as_ac_var=no"
30247 fi
30248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30249 fi
30250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30252 if test `eval echo '${'$as_ac_var'}'` = yes; then
30253   cat >>confdefs.h <<_ACEOF
30254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30255 _ACEOF
30256
30257 fi
30258 done
30259
30260     fi
30261   fi
30262
30263
30264
30265   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
30266 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
30267   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30268     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
30269   echo $ECHO_N "(cached) $ECHO_C" >&6
30270 else
30271
30272
30273
30274       ac_ext=cc
30275 ac_cpp='$CXXCPP $CPPFLAGS'
30276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279
30280       cat >conftest.$ac_ext <<_ACEOF
30281 #line $LINENO "configure"
30282 /* confdefs.h.  */
30283 _ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h.  */
30287 #include <math.h>
30288                       #ifdef HAVE_IEEEFP_H
30289                       #include <ieeefp.h>
30290                       #endif
30291
30292 int
30293 main ()
30294 {
30295  isnanf(0);
30296   ;
30297   return 0;
30298 }
30299 _ACEOF
30300 rm -f conftest.$ac_objext
30301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30302   (eval $ac_compile) 2>&5
30303   ac_status=$?
30304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305   (exit $ac_status); } &&
30306          { ac_try='test -s conftest.$ac_objext'
30307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308   (eval $ac_try) 2>&5
30309   ac_status=$?
30310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311   (exit $ac_status); }; }; then
30312   glibcxx_cv_func_isnanf_use=yes
30313 else
30314   echo "$as_me: failed program was:" >&5
30315 sed 's/^/| /' conftest.$ac_ext >&5
30316
30317 glibcxx_cv_func_isnanf_use=no
30318 fi
30319 rm -f conftest.$ac_objext conftest.$ac_ext
30320       ac_ext=c
30321 ac_cpp='$CPP $CPPFLAGS'
30322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30325
30326
30327 fi
30328
30329   fi
30330   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
30331 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
30332
30333   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30334
30335 for ac_func in isnanf
30336 do
30337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30338 echo "$as_me:$LINENO: checking for $ac_func" >&5
30339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30340 if eval "test \"\${$as_ac_var+set}\" = set"; then
30341   echo $ECHO_N "(cached) $ECHO_C" >&6
30342 else
30343   cat >conftest.$ac_ext <<_ACEOF
30344 #line $LINENO "configure"
30345 /* confdefs.h.  */
30346 _ACEOF
30347 cat confdefs.h >>conftest.$ac_ext
30348 cat >>conftest.$ac_ext <<_ACEOF
30349 /* end confdefs.h.  */
30350 /* System header to define __stub macros and hopefully few prototypes,
30351     which can conflict with char $ac_func (); below.
30352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30353     <limits.h> exists even on freestanding compilers.  */
30354 #ifdef __STDC__
30355 # include <limits.h>
30356 #else
30357 # include <assert.h>
30358 #endif
30359 /* Override any gcc2 internal prototype to avoid an error.  */
30360 #ifdef __cplusplus
30361 extern "C"
30362 {
30363 #endif
30364 /* We use char because int might match the return type of a gcc2
30365    builtin and then its argument prototype would still apply.  */
30366 char $ac_func ();
30367 /* The GNU C library defines this for functions which it implements
30368     to always fail with ENOSYS.  Some functions are actually named
30369     something starting with __ and the normal name is an alias.  */
30370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30371 choke me
30372 #else
30373 char (*f) () = $ac_func;
30374 #endif
30375 #ifdef __cplusplus
30376 }
30377 #endif
30378
30379 int
30380 main ()
30381 {
30382 return f != $ac_func;
30383   ;
30384   return 0;
30385 }
30386 _ACEOF
30387 rm -f conftest.$ac_objext conftest$ac_exeext
30388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30389   (eval $ac_link) 2>&5
30390   ac_status=$?
30391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392   (exit $ac_status); } &&
30393          { ac_try='test -s conftest$ac_exeext'
30394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395   (eval $ac_try) 2>&5
30396   ac_status=$?
30397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398   (exit $ac_status); }; }; then
30399   eval "$as_ac_var=yes"
30400 else
30401   echo "$as_me: failed program was:" >&5
30402 sed 's/^/| /' conftest.$ac_ext >&5
30403
30404 eval "$as_ac_var=no"
30405 fi
30406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30407 fi
30408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30410 if test `eval echo '${'$as_ac_var'}'` = yes; then
30411   cat >>confdefs.h <<_ACEOF
30412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30413 _ACEOF
30414
30415 fi
30416 done
30417
30418   else
30419
30420   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
30421 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
30422   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30423     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
30424   echo $ECHO_N "(cached) $ECHO_C" >&6
30425 else
30426
30427
30428
30429       ac_ext=cc
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434
30435       cat >conftest.$ac_ext <<_ACEOF
30436 #line $LINENO "configure"
30437 /* confdefs.h.  */
30438 _ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h.  */
30442 #include <math.h>
30443                       #ifdef HAVE_IEEEFP_H
30444                       #include <ieeefp.h>
30445                       #endif
30446
30447 int
30448 main ()
30449 {
30450  _isnanf(0);
30451   ;
30452   return 0;
30453 }
30454 _ACEOF
30455 rm -f conftest.$ac_objext
30456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30457   (eval $ac_compile) 2>&5
30458   ac_status=$?
30459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460   (exit $ac_status); } &&
30461          { ac_try='test -s conftest.$ac_objext'
30462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463   (eval $ac_try) 2>&5
30464   ac_status=$?
30465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466   (exit $ac_status); }; }; then
30467   glibcxx_cv_func__isnanf_use=yes
30468 else
30469   echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.$ac_ext >&5
30471
30472 glibcxx_cv_func__isnanf_use=no
30473 fi
30474 rm -f conftest.$ac_objext conftest.$ac_ext
30475       ac_ext=c
30476 ac_cpp='$CPP $CPPFLAGS'
30477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30480
30481
30482 fi
30483
30484   fi
30485   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
30486 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
30487
30488     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30489
30490 for ac_func in _isnanf
30491 do
30492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30493 echo "$as_me:$LINENO: checking for $ac_func" >&5
30494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30495 if eval "test \"\${$as_ac_var+set}\" = set"; then
30496   echo $ECHO_N "(cached) $ECHO_C" >&6
30497 else
30498   cat >conftest.$ac_ext <<_ACEOF
30499 #line $LINENO "configure"
30500 /* confdefs.h.  */
30501 _ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h.  */
30505 /* System header to define __stub macros and hopefully few prototypes,
30506     which can conflict with char $ac_func (); below.
30507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30508     <limits.h> exists even on freestanding compilers.  */
30509 #ifdef __STDC__
30510 # include <limits.h>
30511 #else
30512 # include <assert.h>
30513 #endif
30514 /* Override any gcc2 internal prototype to avoid an error.  */
30515 #ifdef __cplusplus
30516 extern "C"
30517 {
30518 #endif
30519 /* We use char because int might match the return type of a gcc2
30520    builtin and then its argument prototype would still apply.  */
30521 char $ac_func ();
30522 /* The GNU C library defines this for functions which it implements
30523     to always fail with ENOSYS.  Some functions are actually named
30524     something starting with __ and the normal name is an alias.  */
30525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30526 choke me
30527 #else
30528 char (*f) () = $ac_func;
30529 #endif
30530 #ifdef __cplusplus
30531 }
30532 #endif
30533
30534 int
30535 main ()
30536 {
30537 return f != $ac_func;
30538   ;
30539   return 0;
30540 }
30541 _ACEOF
30542 rm -f conftest.$ac_objext conftest$ac_exeext
30543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30544   (eval $ac_link) 2>&5
30545   ac_status=$?
30546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547   (exit $ac_status); } &&
30548          { ac_try='test -s conftest$ac_exeext'
30549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550   (eval $ac_try) 2>&5
30551   ac_status=$?
30552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553   (exit $ac_status); }; }; then
30554   eval "$as_ac_var=yes"
30555 else
30556   echo "$as_me: failed program was:" >&5
30557 sed 's/^/| /' conftest.$ac_ext >&5
30558
30559 eval "$as_ac_var=no"
30560 fi
30561 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30562 fi
30563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30565 if test `eval echo '${'$as_ac_var'}'` = yes; then
30566   cat >>confdefs.h <<_ACEOF
30567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30568 _ACEOF
30569
30570 fi
30571 done
30572
30573     fi
30574   fi
30575
30576
30577
30578   echo "$as_me:$LINENO: checking for isinff declaration" >&5
30579 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
30580   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30581     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
30582   echo $ECHO_N "(cached) $ECHO_C" >&6
30583 else
30584
30585
30586
30587       ac_ext=cc
30588 ac_cpp='$CXXCPP $CPPFLAGS'
30589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30592
30593       cat >conftest.$ac_ext <<_ACEOF
30594 #line $LINENO "configure"
30595 /* confdefs.h.  */
30596 _ACEOF
30597 cat confdefs.h >>conftest.$ac_ext
30598 cat >>conftest.$ac_ext <<_ACEOF
30599 /* end confdefs.h.  */
30600 #include <math.h>
30601                       #ifdef HAVE_IEEEFP_H
30602                       #include <ieeefp.h>
30603                       #endif
30604
30605 int
30606 main ()
30607 {
30608  isinff(0);
30609   ;
30610   return 0;
30611 }
30612 _ACEOF
30613 rm -f conftest.$ac_objext
30614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30615   (eval $ac_compile) 2>&5
30616   ac_status=$?
30617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618   (exit $ac_status); } &&
30619          { ac_try='test -s conftest.$ac_objext'
30620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30621   (eval $ac_try) 2>&5
30622   ac_status=$?
30623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624   (exit $ac_status); }; }; then
30625   glibcxx_cv_func_isinff_use=yes
30626 else
30627   echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30629
30630 glibcxx_cv_func_isinff_use=no
30631 fi
30632 rm -f conftest.$ac_objext conftest.$ac_ext
30633       ac_ext=c
30634 ac_cpp='$CPP $CPPFLAGS'
30635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30638
30639
30640 fi
30641
30642   fi
30643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
30644 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
30645
30646   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30647
30648 for ac_func in isinff
30649 do
30650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30651 echo "$as_me:$LINENO: checking for $ac_func" >&5
30652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30653 if eval "test \"\${$as_ac_var+set}\" = set"; then
30654   echo $ECHO_N "(cached) $ECHO_C" >&6
30655 else
30656   cat >conftest.$ac_ext <<_ACEOF
30657 #line $LINENO "configure"
30658 /* confdefs.h.  */
30659 _ACEOF
30660 cat confdefs.h >>conftest.$ac_ext
30661 cat >>conftest.$ac_ext <<_ACEOF
30662 /* end confdefs.h.  */
30663 /* System header to define __stub macros and hopefully few prototypes,
30664     which can conflict with char $ac_func (); below.
30665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30666     <limits.h> exists even on freestanding compilers.  */
30667 #ifdef __STDC__
30668 # include <limits.h>
30669 #else
30670 # include <assert.h>
30671 #endif
30672 /* Override any gcc2 internal prototype to avoid an error.  */
30673 #ifdef __cplusplus
30674 extern "C"
30675 {
30676 #endif
30677 /* We use char because int might match the return type of a gcc2
30678    builtin and then its argument prototype would still apply.  */
30679 char $ac_func ();
30680 /* The GNU C library defines this for functions which it implements
30681     to always fail with ENOSYS.  Some functions are actually named
30682     something starting with __ and the normal name is an alias.  */
30683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30684 choke me
30685 #else
30686 char (*f) () = $ac_func;
30687 #endif
30688 #ifdef __cplusplus
30689 }
30690 #endif
30691
30692 int
30693 main ()
30694 {
30695 return f != $ac_func;
30696   ;
30697   return 0;
30698 }
30699 _ACEOF
30700 rm -f conftest.$ac_objext conftest$ac_exeext
30701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30702   (eval $ac_link) 2>&5
30703   ac_status=$?
30704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705   (exit $ac_status); } &&
30706          { ac_try='test -s conftest$ac_exeext'
30707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708   (eval $ac_try) 2>&5
30709   ac_status=$?
30710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711   (exit $ac_status); }; }; then
30712   eval "$as_ac_var=yes"
30713 else
30714   echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.$ac_ext >&5
30716
30717 eval "$as_ac_var=no"
30718 fi
30719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30720 fi
30721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30723 if test `eval echo '${'$as_ac_var'}'` = yes; then
30724   cat >>confdefs.h <<_ACEOF
30725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30726 _ACEOF
30727
30728 fi
30729 done
30730
30731   else
30732
30733   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
30734 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
30735   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30736     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
30737   echo $ECHO_N "(cached) $ECHO_C" >&6
30738 else
30739
30740
30741
30742       ac_ext=cc
30743 ac_cpp='$CXXCPP $CPPFLAGS'
30744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30747
30748       cat >conftest.$ac_ext <<_ACEOF
30749 #line $LINENO "configure"
30750 /* confdefs.h.  */
30751 _ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h.  */
30755 #include <math.h>
30756                       #ifdef HAVE_IEEEFP_H
30757                       #include <ieeefp.h>
30758                       #endif
30759
30760 int
30761 main ()
30762 {
30763  _isinff(0);
30764   ;
30765   return 0;
30766 }
30767 _ACEOF
30768 rm -f conftest.$ac_objext
30769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30770   (eval $ac_compile) 2>&5
30771   ac_status=$?
30772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773   (exit $ac_status); } &&
30774          { ac_try='test -s conftest.$ac_objext'
30775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776   (eval $ac_try) 2>&5
30777   ac_status=$?
30778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779   (exit $ac_status); }; }; then
30780   glibcxx_cv_func__isinff_use=yes
30781 else
30782   echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30784
30785 glibcxx_cv_func__isinff_use=no
30786 fi
30787 rm -f conftest.$ac_objext conftest.$ac_ext
30788       ac_ext=c
30789 ac_cpp='$CPP $CPPFLAGS'
30790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30793
30794
30795 fi
30796
30797   fi
30798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
30799 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
30800
30801     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30802
30803 for ac_func in _isinff
30804 do
30805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30806 echo "$as_me:$LINENO: checking for $ac_func" >&5
30807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30808 if eval "test \"\${$as_ac_var+set}\" = set"; then
30809   echo $ECHO_N "(cached) $ECHO_C" >&6
30810 else
30811   cat >conftest.$ac_ext <<_ACEOF
30812 #line $LINENO "configure"
30813 /* confdefs.h.  */
30814 _ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h.  */
30818 /* System header to define __stub macros and hopefully few prototypes,
30819     which can conflict with char $ac_func (); below.
30820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30821     <limits.h> exists even on freestanding compilers.  */
30822 #ifdef __STDC__
30823 # include <limits.h>
30824 #else
30825 # include <assert.h>
30826 #endif
30827 /* Override any gcc2 internal prototype to avoid an error.  */
30828 #ifdef __cplusplus
30829 extern "C"
30830 {
30831 #endif
30832 /* We use char because int might match the return type of a gcc2
30833    builtin and then its argument prototype would still apply.  */
30834 char $ac_func ();
30835 /* The GNU C library defines this for functions which it implements
30836     to always fail with ENOSYS.  Some functions are actually named
30837     something starting with __ and the normal name is an alias.  */
30838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30839 choke me
30840 #else
30841 char (*f) () = $ac_func;
30842 #endif
30843 #ifdef __cplusplus
30844 }
30845 #endif
30846
30847 int
30848 main ()
30849 {
30850 return f != $ac_func;
30851   ;
30852   return 0;
30853 }
30854 _ACEOF
30855 rm -f conftest.$ac_objext conftest$ac_exeext
30856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30857   (eval $ac_link) 2>&5
30858   ac_status=$?
30859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860   (exit $ac_status); } &&
30861          { ac_try='test -s conftest$ac_exeext'
30862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863   (eval $ac_try) 2>&5
30864   ac_status=$?
30865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866   (exit $ac_status); }; }; then
30867   eval "$as_ac_var=yes"
30868 else
30869   echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30871
30872 eval "$as_ac_var=no"
30873 fi
30874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30875 fi
30876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30878 if test `eval echo '${'$as_ac_var'}'` = yes; then
30879   cat >>confdefs.h <<_ACEOF
30880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30881 _ACEOF
30882
30883 fi
30884 done
30885
30886     fi
30887   fi
30888
30889
30890
30891   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
30892 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
30893   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30894     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
30895   echo $ECHO_N "(cached) $ECHO_C" >&6
30896 else
30897
30898
30899
30900       ac_ext=cc
30901 ac_cpp='$CXXCPP $CPPFLAGS'
30902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30905
30906       cat >conftest.$ac_ext <<_ACEOF
30907 #line $LINENO "configure"
30908 /* confdefs.h.  */
30909 _ACEOF
30910 cat confdefs.h >>conftest.$ac_ext
30911 cat >>conftest.$ac_ext <<_ACEOF
30912 /* end confdefs.h.  */
30913 #include <math.h>
30914 int
30915 main ()
30916 {
30917  atan2f(0, 0);
30918   ;
30919   return 0;
30920 }
30921 _ACEOF
30922 rm -f conftest.$ac_objext
30923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30924   (eval $ac_compile) 2>&5
30925   ac_status=$?
30926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927   (exit $ac_status); } &&
30928          { ac_try='test -s conftest.$ac_objext'
30929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930   (eval $ac_try) 2>&5
30931   ac_status=$?
30932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933   (exit $ac_status); }; }; then
30934   glibcxx_cv_func_atan2f_use=yes
30935 else
30936   echo "$as_me: failed program was:" >&5
30937 sed 's/^/| /' conftest.$ac_ext >&5
30938
30939 glibcxx_cv_func_atan2f_use=no
30940 fi
30941 rm -f conftest.$ac_objext conftest.$ac_ext
30942       ac_ext=c
30943 ac_cpp='$CPP $CPPFLAGS'
30944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30947
30948
30949 fi
30950
30951   fi
30952   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
30953 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
30954
30955   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30956
30957 for ac_func in atan2f
30958 do
30959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30960 echo "$as_me:$LINENO: checking for $ac_func" >&5
30961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30962 if eval "test \"\${$as_ac_var+set}\" = set"; then
30963   echo $ECHO_N "(cached) $ECHO_C" >&6
30964 else
30965   cat >conftest.$ac_ext <<_ACEOF
30966 #line $LINENO "configure"
30967 /* confdefs.h.  */
30968 _ACEOF
30969 cat confdefs.h >>conftest.$ac_ext
30970 cat >>conftest.$ac_ext <<_ACEOF
30971 /* end confdefs.h.  */
30972 /* System header to define __stub macros and hopefully few prototypes,
30973     which can conflict with char $ac_func (); below.
30974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30975     <limits.h> exists even on freestanding compilers.  */
30976 #ifdef __STDC__
30977 # include <limits.h>
30978 #else
30979 # include <assert.h>
30980 #endif
30981 /* Override any gcc2 internal prototype to avoid an error.  */
30982 #ifdef __cplusplus
30983 extern "C"
30984 {
30985 #endif
30986 /* We use char because int might match the return type of a gcc2
30987    builtin and then its argument prototype would still apply.  */
30988 char $ac_func ();
30989 /* The GNU C library defines this for functions which it implements
30990     to always fail with ENOSYS.  Some functions are actually named
30991     something starting with __ and the normal name is an alias.  */
30992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30993 choke me
30994 #else
30995 char (*f) () = $ac_func;
30996 #endif
30997 #ifdef __cplusplus
30998 }
30999 #endif
31000
31001 int
31002 main ()
31003 {
31004 return f != $ac_func;
31005   ;
31006   return 0;
31007 }
31008 _ACEOF
31009 rm -f conftest.$ac_objext conftest$ac_exeext
31010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31011   (eval $ac_link) 2>&5
31012   ac_status=$?
31013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014   (exit $ac_status); } &&
31015          { ac_try='test -s conftest$ac_exeext'
31016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31017   (eval $ac_try) 2>&5
31018   ac_status=$?
31019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020   (exit $ac_status); }; }; then
31021   eval "$as_ac_var=yes"
31022 else
31023   echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.$ac_ext >&5
31025
31026 eval "$as_ac_var=no"
31027 fi
31028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31029 fi
31030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31032 if test `eval echo '${'$as_ac_var'}'` = yes; then
31033   cat >>confdefs.h <<_ACEOF
31034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31035 _ACEOF
31036
31037 fi
31038 done
31039
31040   else
31041
31042   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31043 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31044   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31045     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31046   echo $ECHO_N "(cached) $ECHO_C" >&6
31047 else
31048
31049
31050
31051       ac_ext=cc
31052 ac_cpp='$CXXCPP $CPPFLAGS'
31053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056
31057       cat >conftest.$ac_ext <<_ACEOF
31058 #line $LINENO "configure"
31059 /* confdefs.h.  */
31060 _ACEOF
31061 cat confdefs.h >>conftest.$ac_ext
31062 cat >>conftest.$ac_ext <<_ACEOF
31063 /* end confdefs.h.  */
31064 #include <math.h>
31065 int
31066 main ()
31067 {
31068  _atan2f(0, 0);
31069   ;
31070   return 0;
31071 }
31072 _ACEOF
31073 rm -f conftest.$ac_objext
31074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31075   (eval $ac_compile) 2>&5
31076   ac_status=$?
31077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078   (exit $ac_status); } &&
31079          { ac_try='test -s conftest.$ac_objext'
31080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081   (eval $ac_try) 2>&5
31082   ac_status=$?
31083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084   (exit $ac_status); }; }; then
31085   glibcxx_cv_func__atan2f_use=yes
31086 else
31087   echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31089
31090 glibcxx_cv_func__atan2f_use=no
31091 fi
31092 rm -f conftest.$ac_objext conftest.$ac_ext
31093       ac_ext=c
31094 ac_cpp='$CPP $CPPFLAGS'
31095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31098
31099
31100 fi
31101
31102   fi
31103   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31104 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31105
31106     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31107
31108 for ac_func in _atan2f
31109 do
31110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31111 echo "$as_me:$LINENO: checking for $ac_func" >&5
31112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31113 if eval "test \"\${$as_ac_var+set}\" = set"; then
31114   echo $ECHO_N "(cached) $ECHO_C" >&6
31115 else
31116   cat >conftest.$ac_ext <<_ACEOF
31117 #line $LINENO "configure"
31118 /* confdefs.h.  */
31119 _ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h.  */
31123 /* System header to define __stub macros and hopefully few prototypes,
31124     which can conflict with char $ac_func (); below.
31125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31126     <limits.h> exists even on freestanding compilers.  */
31127 #ifdef __STDC__
31128 # include <limits.h>
31129 #else
31130 # include <assert.h>
31131 #endif
31132 /* Override any gcc2 internal prototype to avoid an error.  */
31133 #ifdef __cplusplus
31134 extern "C"
31135 {
31136 #endif
31137 /* We use char because int might match the return type of a gcc2
31138    builtin and then its argument prototype would still apply.  */
31139 char $ac_func ();
31140 /* The GNU C library defines this for functions which it implements
31141     to always fail with ENOSYS.  Some functions are actually named
31142     something starting with __ and the normal name is an alias.  */
31143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31144 choke me
31145 #else
31146 char (*f) () = $ac_func;
31147 #endif
31148 #ifdef __cplusplus
31149 }
31150 #endif
31151
31152 int
31153 main ()
31154 {
31155 return f != $ac_func;
31156   ;
31157   return 0;
31158 }
31159 _ACEOF
31160 rm -f conftest.$ac_objext conftest$ac_exeext
31161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31162   (eval $ac_link) 2>&5
31163   ac_status=$?
31164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165   (exit $ac_status); } &&
31166          { ac_try='test -s conftest$ac_exeext'
31167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168   (eval $ac_try) 2>&5
31169   ac_status=$?
31170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171   (exit $ac_status); }; }; then
31172   eval "$as_ac_var=yes"
31173 else
31174   echo "$as_me: failed program was:" >&5
31175 sed 's/^/| /' conftest.$ac_ext >&5
31176
31177 eval "$as_ac_var=no"
31178 fi
31179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31180 fi
31181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31183 if test `eval echo '${'$as_ac_var'}'` = yes; then
31184   cat >>confdefs.h <<_ACEOF
31185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31186 _ACEOF
31187
31188 fi
31189 done
31190
31191     fi
31192   fi
31193
31194
31195
31196   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
31197 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
31198   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31199     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
31200   echo $ECHO_N "(cached) $ECHO_C" >&6
31201 else
31202
31203
31204
31205       ac_ext=cc
31206 ac_cpp='$CXXCPP $CPPFLAGS'
31207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31210
31211       cat >conftest.$ac_ext <<_ACEOF
31212 #line $LINENO "configure"
31213 /* confdefs.h.  */
31214 _ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h.  */
31218 #include <math.h>
31219                       #ifdef HAVE_IEEEFP_H
31220                       #include <ieeefp.h>
31221                       #endif
31222
31223 int
31224 main ()
31225 {
31226  fabsf(0);
31227   ;
31228   return 0;
31229 }
31230 _ACEOF
31231 rm -f conftest.$ac_objext
31232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31233   (eval $ac_compile) 2>&5
31234   ac_status=$?
31235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236   (exit $ac_status); } &&
31237          { ac_try='test -s conftest.$ac_objext'
31238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239   (eval $ac_try) 2>&5
31240   ac_status=$?
31241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242   (exit $ac_status); }; }; then
31243   glibcxx_cv_func_fabsf_use=yes
31244 else
31245   echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31247
31248 glibcxx_cv_func_fabsf_use=no
31249 fi
31250 rm -f conftest.$ac_objext conftest.$ac_ext
31251       ac_ext=c
31252 ac_cpp='$CPP $CPPFLAGS'
31253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31256
31257
31258 fi
31259
31260   fi
31261   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
31262 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
31263
31264   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31265
31266 for ac_func in fabsf
31267 do
31268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31269 echo "$as_me:$LINENO: checking for $ac_func" >&5
31270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31271 if eval "test \"\${$as_ac_var+set}\" = set"; then
31272   echo $ECHO_N "(cached) $ECHO_C" >&6
31273 else
31274   cat >conftest.$ac_ext <<_ACEOF
31275 #line $LINENO "configure"
31276 /* confdefs.h.  */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h.  */
31281 /* System header to define __stub macros and hopefully few prototypes,
31282     which can conflict with char $ac_func (); below.
31283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31284     <limits.h> exists even on freestanding compilers.  */
31285 #ifdef __STDC__
31286 # include <limits.h>
31287 #else
31288 # include <assert.h>
31289 #endif
31290 /* Override any gcc2 internal prototype to avoid an error.  */
31291 #ifdef __cplusplus
31292 extern "C"
31293 {
31294 #endif
31295 /* We use char because int might match the return type of a gcc2
31296    builtin and then its argument prototype would still apply.  */
31297 char $ac_func ();
31298 /* The GNU C library defines this for functions which it implements
31299     to always fail with ENOSYS.  Some functions are actually named
31300     something starting with __ and the normal name is an alias.  */
31301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31302 choke me
31303 #else
31304 char (*f) () = $ac_func;
31305 #endif
31306 #ifdef __cplusplus
31307 }
31308 #endif
31309
31310 int
31311 main ()
31312 {
31313 return f != $ac_func;
31314   ;
31315   return 0;
31316 }
31317 _ACEOF
31318 rm -f conftest.$ac_objext conftest$ac_exeext
31319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31320   (eval $ac_link) 2>&5
31321   ac_status=$?
31322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323   (exit $ac_status); } &&
31324          { ac_try='test -s conftest$ac_exeext'
31325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326   (eval $ac_try) 2>&5
31327   ac_status=$?
31328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329   (exit $ac_status); }; }; then
31330   eval "$as_ac_var=yes"
31331 else
31332   echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31334
31335 eval "$as_ac_var=no"
31336 fi
31337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31338 fi
31339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31341 if test `eval echo '${'$as_ac_var'}'` = yes; then
31342   cat >>confdefs.h <<_ACEOF
31343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31344 _ACEOF
31345
31346 fi
31347 done
31348
31349   else
31350
31351   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
31352 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
31353   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31354     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
31355   echo $ECHO_N "(cached) $ECHO_C" >&6
31356 else
31357
31358
31359
31360       ac_ext=cc
31361 ac_cpp='$CXXCPP $CPPFLAGS'
31362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31365
31366       cat >conftest.$ac_ext <<_ACEOF
31367 #line $LINENO "configure"
31368 /* confdefs.h.  */
31369 _ACEOF
31370 cat confdefs.h >>conftest.$ac_ext
31371 cat >>conftest.$ac_ext <<_ACEOF
31372 /* end confdefs.h.  */
31373 #include <math.h>
31374                       #ifdef HAVE_IEEEFP_H
31375                       #include <ieeefp.h>
31376                       #endif
31377
31378 int
31379 main ()
31380 {
31381  _fabsf(0);
31382   ;
31383   return 0;
31384 }
31385 _ACEOF
31386 rm -f conftest.$ac_objext
31387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31388   (eval $ac_compile) 2>&5
31389   ac_status=$?
31390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391   (exit $ac_status); } &&
31392          { ac_try='test -s conftest.$ac_objext'
31393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31394   (eval $ac_try) 2>&5
31395   ac_status=$?
31396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397   (exit $ac_status); }; }; then
31398   glibcxx_cv_func__fabsf_use=yes
31399 else
31400   echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31402
31403 glibcxx_cv_func__fabsf_use=no
31404 fi
31405 rm -f conftest.$ac_objext conftest.$ac_ext
31406       ac_ext=c
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31411
31412
31413 fi
31414
31415   fi
31416   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
31417 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
31418
31419     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31420
31421 for ac_func in _fabsf
31422 do
31423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31424 echo "$as_me:$LINENO: checking for $ac_func" >&5
31425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31426 if eval "test \"\${$as_ac_var+set}\" = set"; then
31427   echo $ECHO_N "(cached) $ECHO_C" >&6
31428 else
31429   cat >conftest.$ac_ext <<_ACEOF
31430 #line $LINENO "configure"
31431 /* confdefs.h.  */
31432 _ACEOF
31433 cat confdefs.h >>conftest.$ac_ext
31434 cat >>conftest.$ac_ext <<_ACEOF
31435 /* end confdefs.h.  */
31436 /* System header to define __stub macros and hopefully few prototypes,
31437     which can conflict with char $ac_func (); below.
31438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439     <limits.h> exists even on freestanding compilers.  */
31440 #ifdef __STDC__
31441 # include <limits.h>
31442 #else
31443 # include <assert.h>
31444 #endif
31445 /* Override any gcc2 internal prototype to avoid an error.  */
31446 #ifdef __cplusplus
31447 extern "C"
31448 {
31449 #endif
31450 /* We use char because int might match the return type of a gcc2
31451    builtin and then its argument prototype would still apply.  */
31452 char $ac_func ();
31453 /* The GNU C library defines this for functions which it implements
31454     to always fail with ENOSYS.  Some functions are actually named
31455     something starting with __ and the normal name is an alias.  */
31456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31457 choke me
31458 #else
31459 char (*f) () = $ac_func;
31460 #endif
31461 #ifdef __cplusplus
31462 }
31463 #endif
31464
31465 int
31466 main ()
31467 {
31468 return f != $ac_func;
31469   ;
31470   return 0;
31471 }
31472 _ACEOF
31473 rm -f conftest.$ac_objext conftest$ac_exeext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31475   (eval $ac_link) 2>&5
31476   ac_status=$?
31477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478   (exit $ac_status); } &&
31479          { ac_try='test -s conftest$ac_exeext'
31480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481   (eval $ac_try) 2>&5
31482   ac_status=$?
31483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484   (exit $ac_status); }; }; then
31485   eval "$as_ac_var=yes"
31486 else
31487   echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.$ac_ext >&5
31489
31490 eval "$as_ac_var=no"
31491 fi
31492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31493 fi
31494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31496 if test `eval echo '${'$as_ac_var'}'` = yes; then
31497   cat >>confdefs.h <<_ACEOF
31498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31499 _ACEOF
31500
31501 fi
31502 done
31503
31504     fi
31505   fi
31506
31507
31508
31509   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
31510 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
31511   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31512     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
31513   echo $ECHO_N "(cached) $ECHO_C" >&6
31514 else
31515
31516
31517
31518       ac_ext=cc
31519 ac_cpp='$CXXCPP $CPPFLAGS'
31520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31523
31524       cat >conftest.$ac_ext <<_ACEOF
31525 #line $LINENO "configure"
31526 /* confdefs.h.  */
31527 _ACEOF
31528 cat confdefs.h >>conftest.$ac_ext
31529 cat >>conftest.$ac_ext <<_ACEOF
31530 /* end confdefs.h.  */
31531 #include <math.h>
31532 int
31533 main ()
31534 {
31535  fmodf(0, 0);
31536   ;
31537   return 0;
31538 }
31539 _ACEOF
31540 rm -f conftest.$ac_objext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31542   (eval $ac_compile) 2>&5
31543   ac_status=$?
31544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545   (exit $ac_status); } &&
31546          { ac_try='test -s conftest.$ac_objext'
31547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548   (eval $ac_try) 2>&5
31549   ac_status=$?
31550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551   (exit $ac_status); }; }; then
31552   glibcxx_cv_func_fmodf_use=yes
31553 else
31554   echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.$ac_ext >&5
31556
31557 glibcxx_cv_func_fmodf_use=no
31558 fi
31559 rm -f conftest.$ac_objext conftest.$ac_ext
31560       ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31565
31566
31567 fi
31568
31569   fi
31570   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
31571 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
31572
31573   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31574
31575 for ac_func in fmodf
31576 do
31577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31578 echo "$as_me:$LINENO: checking for $ac_func" >&5
31579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31580 if eval "test \"\${$as_ac_var+set}\" = set"; then
31581   echo $ECHO_N "(cached) $ECHO_C" >&6
31582 else
31583   cat >conftest.$ac_ext <<_ACEOF
31584 #line $LINENO "configure"
31585 /* confdefs.h.  */
31586 _ACEOF
31587 cat confdefs.h >>conftest.$ac_ext
31588 cat >>conftest.$ac_ext <<_ACEOF
31589 /* end confdefs.h.  */
31590 /* System header to define __stub macros and hopefully few prototypes,
31591     which can conflict with char $ac_func (); below.
31592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31593     <limits.h> exists even on freestanding compilers.  */
31594 #ifdef __STDC__
31595 # include <limits.h>
31596 #else
31597 # include <assert.h>
31598 #endif
31599 /* Override any gcc2 internal prototype to avoid an error.  */
31600 #ifdef __cplusplus
31601 extern "C"
31602 {
31603 #endif
31604 /* We use char because int might match the return type of a gcc2
31605    builtin and then its argument prototype would still apply.  */
31606 char $ac_func ();
31607 /* The GNU C library defines this for functions which it implements
31608     to always fail with ENOSYS.  Some functions are actually named
31609     something starting with __ and the normal name is an alias.  */
31610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31611 choke me
31612 #else
31613 char (*f) () = $ac_func;
31614 #endif
31615 #ifdef __cplusplus
31616 }
31617 #endif
31618
31619 int
31620 main ()
31621 {
31622 return f != $ac_func;
31623   ;
31624   return 0;
31625 }
31626 _ACEOF
31627 rm -f conftest.$ac_objext conftest$ac_exeext
31628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31629   (eval $ac_link) 2>&5
31630   ac_status=$?
31631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632   (exit $ac_status); } &&
31633          { ac_try='test -s conftest$ac_exeext'
31634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635   (eval $ac_try) 2>&5
31636   ac_status=$?
31637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638   (exit $ac_status); }; }; then
31639   eval "$as_ac_var=yes"
31640 else
31641   echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.$ac_ext >&5
31643
31644 eval "$as_ac_var=no"
31645 fi
31646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31647 fi
31648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31650 if test `eval echo '${'$as_ac_var'}'` = yes; then
31651   cat >>confdefs.h <<_ACEOF
31652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31653 _ACEOF
31654
31655 fi
31656 done
31657
31658   else
31659
31660   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
31661 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
31662   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31663     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
31664   echo $ECHO_N "(cached) $ECHO_C" >&6
31665 else
31666
31667
31668
31669       ac_ext=cc
31670 ac_cpp='$CXXCPP $CPPFLAGS'
31671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31674
31675       cat >conftest.$ac_ext <<_ACEOF
31676 #line $LINENO "configure"
31677 /* confdefs.h.  */
31678 _ACEOF
31679 cat confdefs.h >>conftest.$ac_ext
31680 cat >>conftest.$ac_ext <<_ACEOF
31681 /* end confdefs.h.  */
31682 #include <math.h>
31683 int
31684 main ()
31685 {
31686  _fmodf(0, 0);
31687   ;
31688   return 0;
31689 }
31690 _ACEOF
31691 rm -f conftest.$ac_objext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31693   (eval $ac_compile) 2>&5
31694   ac_status=$?
31695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696   (exit $ac_status); } &&
31697          { ac_try='test -s conftest.$ac_objext'
31698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31699   (eval $ac_try) 2>&5
31700   ac_status=$?
31701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702   (exit $ac_status); }; }; then
31703   glibcxx_cv_func__fmodf_use=yes
31704 else
31705   echo "$as_me: failed program was:" >&5
31706 sed 's/^/| /' conftest.$ac_ext >&5
31707
31708 glibcxx_cv_func__fmodf_use=no
31709 fi
31710 rm -f conftest.$ac_objext conftest.$ac_ext
31711       ac_ext=c
31712 ac_cpp='$CPP $CPPFLAGS'
31713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31716
31717
31718 fi
31719
31720   fi
31721   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
31722 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
31723
31724     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31725
31726 for ac_func in _fmodf
31727 do
31728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31729 echo "$as_me:$LINENO: checking for $ac_func" >&5
31730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31731 if eval "test \"\${$as_ac_var+set}\" = set"; then
31732   echo $ECHO_N "(cached) $ECHO_C" >&6
31733 else
31734   cat >conftest.$ac_ext <<_ACEOF
31735 #line $LINENO "configure"
31736 /* confdefs.h.  */
31737 _ACEOF
31738 cat confdefs.h >>conftest.$ac_ext
31739 cat >>conftest.$ac_ext <<_ACEOF
31740 /* end confdefs.h.  */
31741 /* System header to define __stub macros and hopefully few prototypes,
31742     which can conflict with char $ac_func (); below.
31743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31744     <limits.h> exists even on freestanding compilers.  */
31745 #ifdef __STDC__
31746 # include <limits.h>
31747 #else
31748 # include <assert.h>
31749 #endif
31750 /* Override any gcc2 internal prototype to avoid an error.  */
31751 #ifdef __cplusplus
31752 extern "C"
31753 {
31754 #endif
31755 /* We use char because int might match the return type of a gcc2
31756    builtin and then its argument prototype would still apply.  */
31757 char $ac_func ();
31758 /* The GNU C library defines this for functions which it implements
31759     to always fail with ENOSYS.  Some functions are actually named
31760     something starting with __ and the normal name is an alias.  */
31761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31762 choke me
31763 #else
31764 char (*f) () = $ac_func;
31765 #endif
31766 #ifdef __cplusplus
31767 }
31768 #endif
31769
31770 int
31771 main ()
31772 {
31773 return f != $ac_func;
31774   ;
31775   return 0;
31776 }
31777 _ACEOF
31778 rm -f conftest.$ac_objext conftest$ac_exeext
31779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31780   (eval $ac_link) 2>&5
31781   ac_status=$?
31782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783   (exit $ac_status); } &&
31784          { ac_try='test -s conftest$ac_exeext'
31785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786   (eval $ac_try) 2>&5
31787   ac_status=$?
31788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789   (exit $ac_status); }; }; then
31790   eval "$as_ac_var=yes"
31791 else
31792   echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 eval "$as_ac_var=no"
31796 fi
31797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31798 fi
31799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31801 if test `eval echo '${'$as_ac_var'}'` = yes; then
31802   cat >>confdefs.h <<_ACEOF
31803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31804 _ACEOF
31805
31806 fi
31807 done
31808
31809     fi
31810   fi
31811
31812
31813
31814   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
31815 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
31816   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31817     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
31818   echo $ECHO_N "(cached) $ECHO_C" >&6
31819 else
31820
31821
31822
31823       ac_ext=cc
31824 ac_cpp='$CXXCPP $CPPFLAGS'
31825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31828
31829       cat >conftest.$ac_ext <<_ACEOF
31830 #line $LINENO "configure"
31831 /* confdefs.h.  */
31832 _ACEOF
31833 cat confdefs.h >>conftest.$ac_ext
31834 cat >>conftest.$ac_ext <<_ACEOF
31835 /* end confdefs.h.  */
31836 #include <math.h>
31837 int
31838 main ()
31839 {
31840  frexpf(0, 0);
31841   ;
31842   return 0;
31843 }
31844 _ACEOF
31845 rm -f conftest.$ac_objext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31847   (eval $ac_compile) 2>&5
31848   ac_status=$?
31849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850   (exit $ac_status); } &&
31851          { ac_try='test -s conftest.$ac_objext'
31852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853   (eval $ac_try) 2>&5
31854   ac_status=$?
31855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856   (exit $ac_status); }; }; then
31857   glibcxx_cv_func_frexpf_use=yes
31858 else
31859   echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 glibcxx_cv_func_frexpf_use=no
31863 fi
31864 rm -f conftest.$ac_objext conftest.$ac_ext
31865       ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31870
31871
31872 fi
31873
31874   fi
31875   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
31876 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
31877
31878   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31879
31880 for ac_func in frexpf
31881 do
31882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31883 echo "$as_me:$LINENO: checking for $ac_func" >&5
31884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31885 if eval "test \"\${$as_ac_var+set}\" = set"; then
31886   echo $ECHO_N "(cached) $ECHO_C" >&6
31887 else
31888   cat >conftest.$ac_ext <<_ACEOF
31889 #line $LINENO "configure"
31890 /* confdefs.h.  */
31891 _ACEOF
31892 cat confdefs.h >>conftest.$ac_ext
31893 cat >>conftest.$ac_ext <<_ACEOF
31894 /* end confdefs.h.  */
31895 /* System header to define __stub macros and hopefully few prototypes,
31896     which can conflict with char $ac_func (); below.
31897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31898     <limits.h> exists even on freestanding compilers.  */
31899 #ifdef __STDC__
31900 # include <limits.h>
31901 #else
31902 # include <assert.h>
31903 #endif
31904 /* Override any gcc2 internal prototype to avoid an error.  */
31905 #ifdef __cplusplus
31906 extern "C"
31907 {
31908 #endif
31909 /* We use char because int might match the return type of a gcc2
31910    builtin and then its argument prototype would still apply.  */
31911 char $ac_func ();
31912 /* The GNU C library defines this for functions which it implements
31913     to always fail with ENOSYS.  Some functions are actually named
31914     something starting with __ and the normal name is an alias.  */
31915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31916 choke me
31917 #else
31918 char (*f) () = $ac_func;
31919 #endif
31920 #ifdef __cplusplus
31921 }
31922 #endif
31923
31924 int
31925 main ()
31926 {
31927 return f != $ac_func;
31928   ;
31929   return 0;
31930 }
31931 _ACEOF
31932 rm -f conftest.$ac_objext conftest$ac_exeext
31933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31934   (eval $ac_link) 2>&5
31935   ac_status=$?
31936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937   (exit $ac_status); } &&
31938          { ac_try='test -s conftest$ac_exeext'
31939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31940   (eval $ac_try) 2>&5
31941   ac_status=$?
31942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943   (exit $ac_status); }; }; then
31944   eval "$as_ac_var=yes"
31945 else
31946   echo "$as_me: failed program was:" >&5
31947 sed 's/^/| /' conftest.$ac_ext >&5
31948
31949 eval "$as_ac_var=no"
31950 fi
31951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31952 fi
31953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31955 if test `eval echo '${'$as_ac_var'}'` = yes; then
31956   cat >>confdefs.h <<_ACEOF
31957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31958 _ACEOF
31959
31960 fi
31961 done
31962
31963   else
31964
31965   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
31966 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
31967   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31968     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
31969   echo $ECHO_N "(cached) $ECHO_C" >&6
31970 else
31971
31972
31973
31974       ac_ext=cc
31975 ac_cpp='$CXXCPP $CPPFLAGS'
31976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979
31980       cat >conftest.$ac_ext <<_ACEOF
31981 #line $LINENO "configure"
31982 /* confdefs.h.  */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h.  */
31987 #include <math.h>
31988 int
31989 main ()
31990 {
31991  _frexpf(0, 0);
31992   ;
31993   return 0;
31994 }
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998   (eval $ac_compile) 2>&5
31999   ac_status=$?
32000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001   (exit $ac_status); } &&
32002          { ac_try='test -s conftest.$ac_objext'
32003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004   (eval $ac_try) 2>&5
32005   ac_status=$?
32006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007   (exit $ac_status); }; }; then
32008   glibcxx_cv_func__frexpf_use=yes
32009 else
32010   echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.$ac_ext >&5
32012
32013 glibcxx_cv_func__frexpf_use=no
32014 fi
32015 rm -f conftest.$ac_objext conftest.$ac_ext
32016       ac_ext=c
32017 ac_cpp='$CPP $CPPFLAGS'
32018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32021
32022
32023 fi
32024
32025   fi
32026   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32027 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32028
32029     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32030
32031 for ac_func in _frexpf
32032 do
32033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32034 echo "$as_me:$LINENO: checking for $ac_func" >&5
32035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32036 if eval "test \"\${$as_ac_var+set}\" = set"; then
32037   echo $ECHO_N "(cached) $ECHO_C" >&6
32038 else
32039   cat >conftest.$ac_ext <<_ACEOF
32040 #line $LINENO "configure"
32041 /* confdefs.h.  */
32042 _ACEOF
32043 cat confdefs.h >>conftest.$ac_ext
32044 cat >>conftest.$ac_ext <<_ACEOF
32045 /* end confdefs.h.  */
32046 /* System header to define __stub macros and hopefully few prototypes,
32047     which can conflict with char $ac_func (); below.
32048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32049     <limits.h> exists even on freestanding compilers.  */
32050 #ifdef __STDC__
32051 # include <limits.h>
32052 #else
32053 # include <assert.h>
32054 #endif
32055 /* Override any gcc2 internal prototype to avoid an error.  */
32056 #ifdef __cplusplus
32057 extern "C"
32058 {
32059 #endif
32060 /* We use char because int might match the return type of a gcc2
32061    builtin and then its argument prototype would still apply.  */
32062 char $ac_func ();
32063 /* The GNU C library defines this for functions which it implements
32064     to always fail with ENOSYS.  Some functions are actually named
32065     something starting with __ and the normal name is an alias.  */
32066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32067 choke me
32068 #else
32069 char (*f) () = $ac_func;
32070 #endif
32071 #ifdef __cplusplus
32072 }
32073 #endif
32074
32075 int
32076 main ()
32077 {
32078 return f != $ac_func;
32079   ;
32080   return 0;
32081 }
32082 _ACEOF
32083 rm -f conftest.$ac_objext conftest$ac_exeext
32084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32085   (eval $ac_link) 2>&5
32086   ac_status=$?
32087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088   (exit $ac_status); } &&
32089          { ac_try='test -s conftest$ac_exeext'
32090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32091   (eval $ac_try) 2>&5
32092   ac_status=$?
32093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094   (exit $ac_status); }; }; then
32095   eval "$as_ac_var=yes"
32096 else
32097   echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.$ac_ext >&5
32099
32100 eval "$as_ac_var=no"
32101 fi
32102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32103 fi
32104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32106 if test `eval echo '${'$as_ac_var'}'` = yes; then
32107   cat >>confdefs.h <<_ACEOF
32108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32109 _ACEOF
32110
32111 fi
32112 done
32113
32114     fi
32115   fi
32116
32117
32118
32119   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
32120 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
32121   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32122     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
32123   echo $ECHO_N "(cached) $ECHO_C" >&6
32124 else
32125
32126
32127
32128       ac_ext=cc
32129 ac_cpp='$CXXCPP $CPPFLAGS'
32130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32133
32134       cat >conftest.$ac_ext <<_ACEOF
32135 #line $LINENO "configure"
32136 /* confdefs.h.  */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h.  */
32141 #include <math.h>
32142 int
32143 main ()
32144 {
32145  hypotf(0, 0);
32146   ;
32147   return 0;
32148 }
32149 _ACEOF
32150 rm -f conftest.$ac_objext
32151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32152   (eval $ac_compile) 2>&5
32153   ac_status=$?
32154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155   (exit $ac_status); } &&
32156          { ac_try='test -s conftest.$ac_objext'
32157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158   (eval $ac_try) 2>&5
32159   ac_status=$?
32160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161   (exit $ac_status); }; }; then
32162   glibcxx_cv_func_hypotf_use=yes
32163 else
32164   echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.$ac_ext >&5
32166
32167 glibcxx_cv_func_hypotf_use=no
32168 fi
32169 rm -f conftest.$ac_objext conftest.$ac_ext
32170       ac_ext=c
32171 ac_cpp='$CPP $CPPFLAGS'
32172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32175
32176
32177 fi
32178
32179   fi
32180   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
32181 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
32182
32183   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32184
32185 for ac_func in hypotf
32186 do
32187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32188 echo "$as_me:$LINENO: checking for $ac_func" >&5
32189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32190 if eval "test \"\${$as_ac_var+set}\" = set"; then
32191   echo $ECHO_N "(cached) $ECHO_C" >&6
32192 else
32193   cat >conftest.$ac_ext <<_ACEOF
32194 #line $LINENO "configure"
32195 /* confdefs.h.  */
32196 _ACEOF
32197 cat confdefs.h >>conftest.$ac_ext
32198 cat >>conftest.$ac_ext <<_ACEOF
32199 /* end confdefs.h.  */
32200 /* System header to define __stub macros and hopefully few prototypes,
32201     which can conflict with char $ac_func (); below.
32202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32203     <limits.h> exists even on freestanding compilers.  */
32204 #ifdef __STDC__
32205 # include <limits.h>
32206 #else
32207 # include <assert.h>
32208 #endif
32209 /* Override any gcc2 internal prototype to avoid an error.  */
32210 #ifdef __cplusplus
32211 extern "C"
32212 {
32213 #endif
32214 /* We use char because int might match the return type of a gcc2
32215    builtin and then its argument prototype would still apply.  */
32216 char $ac_func ();
32217 /* The GNU C library defines this for functions which it implements
32218     to always fail with ENOSYS.  Some functions are actually named
32219     something starting with __ and the normal name is an alias.  */
32220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32221 choke me
32222 #else
32223 char (*f) () = $ac_func;
32224 #endif
32225 #ifdef __cplusplus
32226 }
32227 #endif
32228
32229 int
32230 main ()
32231 {
32232 return f != $ac_func;
32233   ;
32234   return 0;
32235 }
32236 _ACEOF
32237 rm -f conftest.$ac_objext conftest$ac_exeext
32238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32239   (eval $ac_link) 2>&5
32240   ac_status=$?
32241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242   (exit $ac_status); } &&
32243          { ac_try='test -s conftest$ac_exeext'
32244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245   (eval $ac_try) 2>&5
32246   ac_status=$?
32247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248   (exit $ac_status); }; }; then
32249   eval "$as_ac_var=yes"
32250 else
32251   echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.$ac_ext >&5
32253
32254 eval "$as_ac_var=no"
32255 fi
32256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32257 fi
32258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32260 if test `eval echo '${'$as_ac_var'}'` = yes; then
32261   cat >>confdefs.h <<_ACEOF
32262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32263 _ACEOF
32264
32265 fi
32266 done
32267
32268   else
32269
32270   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
32271 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
32272   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32273     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
32274   echo $ECHO_N "(cached) $ECHO_C" >&6
32275 else
32276
32277
32278
32279       ac_ext=cc
32280 ac_cpp='$CXXCPP $CPPFLAGS'
32281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284
32285       cat >conftest.$ac_ext <<_ACEOF
32286 #line $LINENO "configure"
32287 /* confdefs.h.  */
32288 _ACEOF
32289 cat confdefs.h >>conftest.$ac_ext
32290 cat >>conftest.$ac_ext <<_ACEOF
32291 /* end confdefs.h.  */
32292 #include <math.h>
32293 int
32294 main ()
32295 {
32296  _hypotf(0, 0);
32297   ;
32298   return 0;
32299 }
32300 _ACEOF
32301 rm -f conftest.$ac_objext
32302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32303   (eval $ac_compile) 2>&5
32304   ac_status=$?
32305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306   (exit $ac_status); } &&
32307          { ac_try='test -s conftest.$ac_objext'
32308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309   (eval $ac_try) 2>&5
32310   ac_status=$?
32311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312   (exit $ac_status); }; }; then
32313   glibcxx_cv_func__hypotf_use=yes
32314 else
32315   echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.$ac_ext >&5
32317
32318 glibcxx_cv_func__hypotf_use=no
32319 fi
32320 rm -f conftest.$ac_objext conftest.$ac_ext
32321       ac_ext=c
32322 ac_cpp='$CPP $CPPFLAGS'
32323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32326
32327
32328 fi
32329
32330   fi
32331   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
32332 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
32333
32334     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32335
32336 for ac_func in _hypotf
32337 do
32338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32339 echo "$as_me:$LINENO: checking for $ac_func" >&5
32340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32341 if eval "test \"\${$as_ac_var+set}\" = set"; then
32342   echo $ECHO_N "(cached) $ECHO_C" >&6
32343 else
32344   cat >conftest.$ac_ext <<_ACEOF
32345 #line $LINENO "configure"
32346 /* confdefs.h.  */
32347 _ACEOF
32348 cat confdefs.h >>conftest.$ac_ext
32349 cat >>conftest.$ac_ext <<_ACEOF
32350 /* end confdefs.h.  */
32351 /* System header to define __stub macros and hopefully few prototypes,
32352     which can conflict with char $ac_func (); below.
32353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32354     <limits.h> exists even on freestanding compilers.  */
32355 #ifdef __STDC__
32356 # include <limits.h>
32357 #else
32358 # include <assert.h>
32359 #endif
32360 /* Override any gcc2 internal prototype to avoid an error.  */
32361 #ifdef __cplusplus
32362 extern "C"
32363 {
32364 #endif
32365 /* We use char because int might match the return type of a gcc2
32366    builtin and then its argument prototype would still apply.  */
32367 char $ac_func ();
32368 /* The GNU C library defines this for functions which it implements
32369     to always fail with ENOSYS.  Some functions are actually named
32370     something starting with __ and the normal name is an alias.  */
32371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32372 choke me
32373 #else
32374 char (*f) () = $ac_func;
32375 #endif
32376 #ifdef __cplusplus
32377 }
32378 #endif
32379
32380 int
32381 main ()
32382 {
32383 return f != $ac_func;
32384   ;
32385   return 0;
32386 }
32387 _ACEOF
32388 rm -f conftest.$ac_objext conftest$ac_exeext
32389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32390   (eval $ac_link) 2>&5
32391   ac_status=$?
32392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32393   (exit $ac_status); } &&
32394          { ac_try='test -s conftest$ac_exeext'
32395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396   (eval $ac_try) 2>&5
32397   ac_status=$?
32398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399   (exit $ac_status); }; }; then
32400   eval "$as_ac_var=yes"
32401 else
32402   echo "$as_me: failed program was:" >&5
32403 sed 's/^/| /' conftest.$ac_ext >&5
32404
32405 eval "$as_ac_var=no"
32406 fi
32407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32408 fi
32409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32411 if test `eval echo '${'$as_ac_var'}'` = yes; then
32412   cat >>confdefs.h <<_ACEOF
32413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32414 _ACEOF
32415
32416 fi
32417 done
32418
32419     fi
32420   fi
32421
32422
32423
32424   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
32425 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
32426   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32427     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
32428   echo $ECHO_N "(cached) $ECHO_C" >&6
32429 else
32430
32431
32432
32433       ac_ext=cc
32434 ac_cpp='$CXXCPP $CPPFLAGS'
32435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32438
32439       cat >conftest.$ac_ext <<_ACEOF
32440 #line $LINENO "configure"
32441 /* confdefs.h.  */
32442 _ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h.  */
32446 #include <math.h>
32447 int
32448 main ()
32449 {
32450  ldexpf(0, 0);
32451   ;
32452   return 0;
32453 }
32454 _ACEOF
32455 rm -f conftest.$ac_objext
32456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32457   (eval $ac_compile) 2>&5
32458   ac_status=$?
32459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460   (exit $ac_status); } &&
32461          { ac_try='test -s conftest.$ac_objext'
32462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32463   (eval $ac_try) 2>&5
32464   ac_status=$?
32465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466   (exit $ac_status); }; }; then
32467   glibcxx_cv_func_ldexpf_use=yes
32468 else
32469   echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.$ac_ext >&5
32471
32472 glibcxx_cv_func_ldexpf_use=no
32473 fi
32474 rm -f conftest.$ac_objext conftest.$ac_ext
32475       ac_ext=c
32476 ac_cpp='$CPP $CPPFLAGS'
32477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32480
32481
32482 fi
32483
32484   fi
32485   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
32486 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
32487
32488   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32489
32490 for ac_func in ldexpf
32491 do
32492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32493 echo "$as_me:$LINENO: checking for $ac_func" >&5
32494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32495 if eval "test \"\${$as_ac_var+set}\" = set"; then
32496   echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498   cat >conftest.$ac_ext <<_ACEOF
32499 #line $LINENO "configure"
32500 /* confdefs.h.  */
32501 _ACEOF
32502 cat confdefs.h >>conftest.$ac_ext
32503 cat >>conftest.$ac_ext <<_ACEOF
32504 /* end confdefs.h.  */
32505 /* System header to define __stub macros and hopefully few prototypes,
32506     which can conflict with char $ac_func (); below.
32507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32508     <limits.h> exists even on freestanding compilers.  */
32509 #ifdef __STDC__
32510 # include <limits.h>
32511 #else
32512 # include <assert.h>
32513 #endif
32514 /* Override any gcc2 internal prototype to avoid an error.  */
32515 #ifdef __cplusplus
32516 extern "C"
32517 {
32518 #endif
32519 /* We use char because int might match the return type of a gcc2
32520    builtin and then its argument prototype would still apply.  */
32521 char $ac_func ();
32522 /* The GNU C library defines this for functions which it implements
32523     to always fail with ENOSYS.  Some functions are actually named
32524     something starting with __ and the normal name is an alias.  */
32525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32526 choke me
32527 #else
32528 char (*f) () = $ac_func;
32529 #endif
32530 #ifdef __cplusplus
32531 }
32532 #endif
32533
32534 int
32535 main ()
32536 {
32537 return f != $ac_func;
32538   ;
32539   return 0;
32540 }
32541 _ACEOF
32542 rm -f conftest.$ac_objext conftest$ac_exeext
32543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32544   (eval $ac_link) 2>&5
32545   ac_status=$?
32546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547   (exit $ac_status); } &&
32548          { ac_try='test -s conftest$ac_exeext'
32549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550   (eval $ac_try) 2>&5
32551   ac_status=$?
32552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553   (exit $ac_status); }; }; then
32554   eval "$as_ac_var=yes"
32555 else
32556   echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32558
32559 eval "$as_ac_var=no"
32560 fi
32561 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32562 fi
32563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32565 if test `eval echo '${'$as_ac_var'}'` = yes; then
32566   cat >>confdefs.h <<_ACEOF
32567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32568 _ACEOF
32569
32570 fi
32571 done
32572
32573   else
32574
32575   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
32576 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
32577   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32578     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
32579   echo $ECHO_N "(cached) $ECHO_C" >&6
32580 else
32581
32582
32583
32584       ac_ext=cc
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589
32590       cat >conftest.$ac_ext <<_ACEOF
32591 #line $LINENO "configure"
32592 /* confdefs.h.  */
32593 _ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h.  */
32597 #include <math.h>
32598 int
32599 main ()
32600 {
32601  _ldexpf(0, 0);
32602   ;
32603   return 0;
32604 }
32605 _ACEOF
32606 rm -f conftest.$ac_objext
32607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32608   (eval $ac_compile) 2>&5
32609   ac_status=$?
32610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611   (exit $ac_status); } &&
32612          { ac_try='test -s conftest.$ac_objext'
32613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614   (eval $ac_try) 2>&5
32615   ac_status=$?
32616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617   (exit $ac_status); }; }; then
32618   glibcxx_cv_func__ldexpf_use=yes
32619 else
32620   echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32622
32623 glibcxx_cv_func__ldexpf_use=no
32624 fi
32625 rm -f conftest.$ac_objext conftest.$ac_ext
32626       ac_ext=c
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32631
32632
32633 fi
32634
32635   fi
32636   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
32637 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
32638
32639     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32640
32641 for ac_func in _ldexpf
32642 do
32643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32644 echo "$as_me:$LINENO: checking for $ac_func" >&5
32645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32646 if eval "test \"\${$as_ac_var+set}\" = set"; then
32647   echo $ECHO_N "(cached) $ECHO_C" >&6
32648 else
32649   cat >conftest.$ac_ext <<_ACEOF
32650 #line $LINENO "configure"
32651 /* confdefs.h.  */
32652 _ACEOF
32653 cat confdefs.h >>conftest.$ac_ext
32654 cat >>conftest.$ac_ext <<_ACEOF
32655 /* end confdefs.h.  */
32656 /* System header to define __stub macros and hopefully few prototypes,
32657     which can conflict with char $ac_func (); below.
32658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32659     <limits.h> exists even on freestanding compilers.  */
32660 #ifdef __STDC__
32661 # include <limits.h>
32662 #else
32663 # include <assert.h>
32664 #endif
32665 /* Override any gcc2 internal prototype to avoid an error.  */
32666 #ifdef __cplusplus
32667 extern "C"
32668 {
32669 #endif
32670 /* We use char because int might match the return type of a gcc2
32671    builtin and then its argument prototype would still apply.  */
32672 char $ac_func ();
32673 /* The GNU C library defines this for functions which it implements
32674     to always fail with ENOSYS.  Some functions are actually named
32675     something starting with __ and the normal name is an alias.  */
32676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32677 choke me
32678 #else
32679 char (*f) () = $ac_func;
32680 #endif
32681 #ifdef __cplusplus
32682 }
32683 #endif
32684
32685 int
32686 main ()
32687 {
32688 return f != $ac_func;
32689   ;
32690   return 0;
32691 }
32692 _ACEOF
32693 rm -f conftest.$ac_objext conftest$ac_exeext
32694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32695   (eval $ac_link) 2>&5
32696   ac_status=$?
32697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698   (exit $ac_status); } &&
32699          { ac_try='test -s conftest$ac_exeext'
32700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701   (eval $ac_try) 2>&5
32702   ac_status=$?
32703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704   (exit $ac_status); }; }; then
32705   eval "$as_ac_var=yes"
32706 else
32707   echo "$as_me: failed program was:" >&5
32708 sed 's/^/| /' conftest.$ac_ext >&5
32709
32710 eval "$as_ac_var=no"
32711 fi
32712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32713 fi
32714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32716 if test `eval echo '${'$as_ac_var'}'` = yes; then
32717   cat >>confdefs.h <<_ACEOF
32718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32719 _ACEOF
32720
32721 fi
32722 done
32723
32724     fi
32725   fi
32726
32727
32728
32729   echo "$as_me:$LINENO: checking for logf declaration" >&5
32730 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
32731   if test x${glibcxx_cv_func_logf_use+set} != xset; then
32732     if test "${glibcxx_cv_func_logf_use+set}" = set; then
32733   echo $ECHO_N "(cached) $ECHO_C" >&6
32734 else
32735
32736
32737
32738       ac_ext=cc
32739 ac_cpp='$CXXCPP $CPPFLAGS'
32740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32743
32744       cat >conftest.$ac_ext <<_ACEOF
32745 #line $LINENO "configure"
32746 /* confdefs.h.  */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h.  */
32751 #include <math.h>
32752                       #ifdef HAVE_IEEEFP_H
32753                       #include <ieeefp.h>
32754                       #endif
32755
32756 int
32757 main ()
32758 {
32759  logf(0);
32760   ;
32761   return 0;
32762 }
32763 _ACEOF
32764 rm -f conftest.$ac_objext
32765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32766   (eval $ac_compile) 2>&5
32767   ac_status=$?
32768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769   (exit $ac_status); } &&
32770          { ac_try='test -s conftest.$ac_objext'
32771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32772   (eval $ac_try) 2>&5
32773   ac_status=$?
32774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775   (exit $ac_status); }; }; then
32776   glibcxx_cv_func_logf_use=yes
32777 else
32778   echo "$as_me: failed program was:" >&5
32779 sed 's/^/| /' conftest.$ac_ext >&5
32780
32781 glibcxx_cv_func_logf_use=no
32782 fi
32783 rm -f conftest.$ac_objext conftest.$ac_ext
32784       ac_ext=c
32785 ac_cpp='$CPP $CPPFLAGS'
32786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32789
32790
32791 fi
32792
32793   fi
32794   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
32795 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
32796
32797   if test x$glibcxx_cv_func_logf_use = x"yes"; then
32798
32799 for ac_func in logf
32800 do
32801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32802 echo "$as_me:$LINENO: checking for $ac_func" >&5
32803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32804 if eval "test \"\${$as_ac_var+set}\" = set"; then
32805   echo $ECHO_N "(cached) $ECHO_C" >&6
32806 else
32807   cat >conftest.$ac_ext <<_ACEOF
32808 #line $LINENO "configure"
32809 /* confdefs.h.  */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h.  */
32814 /* System header to define __stub macros and hopefully few prototypes,
32815     which can conflict with char $ac_func (); below.
32816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32817     <limits.h> exists even on freestanding compilers.  */
32818 #ifdef __STDC__
32819 # include <limits.h>
32820 #else
32821 # include <assert.h>
32822 #endif
32823 /* Override any gcc2 internal prototype to avoid an error.  */
32824 #ifdef __cplusplus
32825 extern "C"
32826 {
32827 #endif
32828 /* We use char because int might match the return type of a gcc2
32829    builtin and then its argument prototype would still apply.  */
32830 char $ac_func ();
32831 /* The GNU C library defines this for functions which it implements
32832     to always fail with ENOSYS.  Some functions are actually named
32833     something starting with __ and the normal name is an alias.  */
32834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32835 choke me
32836 #else
32837 char (*f) () = $ac_func;
32838 #endif
32839 #ifdef __cplusplus
32840 }
32841 #endif
32842
32843 int
32844 main ()
32845 {
32846 return f != $ac_func;
32847   ;
32848   return 0;
32849 }
32850 _ACEOF
32851 rm -f conftest.$ac_objext conftest$ac_exeext
32852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32853   (eval $ac_link) 2>&5
32854   ac_status=$?
32855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856   (exit $ac_status); } &&
32857          { ac_try='test -s conftest$ac_exeext'
32858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859   (eval $ac_try) 2>&5
32860   ac_status=$?
32861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862   (exit $ac_status); }; }; then
32863   eval "$as_ac_var=yes"
32864 else
32865   echo "$as_me: failed program was:" >&5
32866 sed 's/^/| /' conftest.$ac_ext >&5
32867
32868 eval "$as_ac_var=no"
32869 fi
32870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32871 fi
32872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32874 if test `eval echo '${'$as_ac_var'}'` = yes; then
32875   cat >>confdefs.h <<_ACEOF
32876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32877 _ACEOF
32878
32879 fi
32880 done
32881
32882   else
32883
32884   echo "$as_me:$LINENO: checking for _logf declaration" >&5
32885 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
32886   if test x${glibcxx_cv_func__logf_use+set} != xset; then
32887     if test "${glibcxx_cv_func__logf_use+set}" = set; then
32888   echo $ECHO_N "(cached) $ECHO_C" >&6
32889 else
32890
32891
32892
32893       ac_ext=cc
32894 ac_cpp='$CXXCPP $CPPFLAGS'
32895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32898
32899       cat >conftest.$ac_ext <<_ACEOF
32900 #line $LINENO "configure"
32901 /* confdefs.h.  */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h.  */
32906 #include <math.h>
32907                       #ifdef HAVE_IEEEFP_H
32908                       #include <ieeefp.h>
32909                       #endif
32910
32911 int
32912 main ()
32913 {
32914  _logf(0);
32915   ;
32916   return 0;
32917 }
32918 _ACEOF
32919 rm -f conftest.$ac_objext
32920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32921   (eval $ac_compile) 2>&5
32922   ac_status=$?
32923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924   (exit $ac_status); } &&
32925          { ac_try='test -s conftest.$ac_objext'
32926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927   (eval $ac_try) 2>&5
32928   ac_status=$?
32929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930   (exit $ac_status); }; }; then
32931   glibcxx_cv_func__logf_use=yes
32932 else
32933   echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32935
32936 glibcxx_cv_func__logf_use=no
32937 fi
32938 rm -f conftest.$ac_objext conftest.$ac_ext
32939       ac_ext=c
32940 ac_cpp='$CPP $CPPFLAGS'
32941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32944
32945
32946 fi
32947
32948   fi
32949   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
32950 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
32951
32952     if test x$glibcxx_cv_func__logf_use = x"yes"; then
32953
32954 for ac_func in _logf
32955 do
32956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32957 echo "$as_me:$LINENO: checking for $ac_func" >&5
32958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32959 if eval "test \"\${$as_ac_var+set}\" = set"; then
32960   echo $ECHO_N "(cached) $ECHO_C" >&6
32961 else
32962   cat >conftest.$ac_ext <<_ACEOF
32963 #line $LINENO "configure"
32964 /* confdefs.h.  */
32965 _ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h.  */
32969 /* System header to define __stub macros and hopefully few prototypes,
32970     which can conflict with char $ac_func (); below.
32971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32972     <limits.h> exists even on freestanding compilers.  */
32973 #ifdef __STDC__
32974 # include <limits.h>
32975 #else
32976 # include <assert.h>
32977 #endif
32978 /* Override any gcc2 internal prototype to avoid an error.  */
32979 #ifdef __cplusplus
32980 extern "C"
32981 {
32982 #endif
32983 /* We use char because int might match the return type of a gcc2
32984    builtin and then its argument prototype would still apply.  */
32985 char $ac_func ();
32986 /* The GNU C library defines this for functions which it implements
32987     to always fail with ENOSYS.  Some functions are actually named
32988     something starting with __ and the normal name is an alias.  */
32989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32990 choke me
32991 #else
32992 char (*f) () = $ac_func;
32993 #endif
32994 #ifdef __cplusplus
32995 }
32996 #endif
32997
32998 int
32999 main ()
33000 {
33001 return f != $ac_func;
33002   ;
33003   return 0;
33004 }
33005 _ACEOF
33006 rm -f conftest.$ac_objext conftest$ac_exeext
33007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33008   (eval $ac_link) 2>&5
33009   ac_status=$?
33010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011   (exit $ac_status); } &&
33012          { ac_try='test -s conftest$ac_exeext'
33013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014   (eval $ac_try) 2>&5
33015   ac_status=$?
33016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017   (exit $ac_status); }; }; then
33018   eval "$as_ac_var=yes"
33019 else
33020   echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33022
33023 eval "$as_ac_var=no"
33024 fi
33025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33026 fi
33027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33029 if test `eval echo '${'$as_ac_var'}'` = yes; then
33030   cat >>confdefs.h <<_ACEOF
33031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33032 _ACEOF
33033
33034 fi
33035 done
33036
33037     fi
33038   fi
33039
33040
33041
33042   echo "$as_me:$LINENO: checking for log10f declaration" >&5
33043 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33044   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33045     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33046   echo $ECHO_N "(cached) $ECHO_C" >&6
33047 else
33048
33049
33050
33051       ac_ext=cc
33052 ac_cpp='$CXXCPP $CPPFLAGS'
33053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33056
33057       cat >conftest.$ac_ext <<_ACEOF
33058 #line $LINENO "configure"
33059 /* confdefs.h.  */
33060 _ACEOF
33061 cat confdefs.h >>conftest.$ac_ext
33062 cat >>conftest.$ac_ext <<_ACEOF
33063 /* end confdefs.h.  */
33064 #include <math.h>
33065                       #ifdef HAVE_IEEEFP_H
33066                       #include <ieeefp.h>
33067                       #endif
33068
33069 int
33070 main ()
33071 {
33072  log10f(0);
33073   ;
33074   return 0;
33075 }
33076 _ACEOF
33077 rm -f conftest.$ac_objext
33078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33079   (eval $ac_compile) 2>&5
33080   ac_status=$?
33081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082   (exit $ac_status); } &&
33083          { ac_try='test -s conftest.$ac_objext'
33084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085   (eval $ac_try) 2>&5
33086   ac_status=$?
33087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088   (exit $ac_status); }; }; then
33089   glibcxx_cv_func_log10f_use=yes
33090 else
33091   echo "$as_me: failed program was:" >&5
33092 sed 's/^/| /' conftest.$ac_ext >&5
33093
33094 glibcxx_cv_func_log10f_use=no
33095 fi
33096 rm -f conftest.$ac_objext conftest.$ac_ext
33097       ac_ext=c
33098 ac_cpp='$CPP $CPPFLAGS'
33099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33102
33103
33104 fi
33105
33106   fi
33107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
33108 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
33109
33110   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33111
33112 for ac_func in log10f
33113 do
33114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33115 echo "$as_me:$LINENO: checking for $ac_func" >&5
33116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33117 if eval "test \"\${$as_ac_var+set}\" = set"; then
33118   echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33120   cat >conftest.$ac_ext <<_ACEOF
33121 #line $LINENO "configure"
33122 /* confdefs.h.  */
33123 _ACEOF
33124 cat confdefs.h >>conftest.$ac_ext
33125 cat >>conftest.$ac_ext <<_ACEOF
33126 /* end confdefs.h.  */
33127 /* System header to define __stub macros and hopefully few prototypes,
33128     which can conflict with char $ac_func (); below.
33129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33130     <limits.h> exists even on freestanding compilers.  */
33131 #ifdef __STDC__
33132 # include <limits.h>
33133 #else
33134 # include <assert.h>
33135 #endif
33136 /* Override any gcc2 internal prototype to avoid an error.  */
33137 #ifdef __cplusplus
33138 extern "C"
33139 {
33140 #endif
33141 /* We use char because int might match the return type of a gcc2
33142    builtin and then its argument prototype would still apply.  */
33143 char $ac_func ();
33144 /* The GNU C library defines this for functions which it implements
33145     to always fail with ENOSYS.  Some functions are actually named
33146     something starting with __ and the normal name is an alias.  */
33147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33148 choke me
33149 #else
33150 char (*f) () = $ac_func;
33151 #endif
33152 #ifdef __cplusplus
33153 }
33154 #endif
33155
33156 int
33157 main ()
33158 {
33159 return f != $ac_func;
33160   ;
33161   return 0;
33162 }
33163 _ACEOF
33164 rm -f conftest.$ac_objext conftest$ac_exeext
33165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33166   (eval $ac_link) 2>&5
33167   ac_status=$?
33168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169   (exit $ac_status); } &&
33170          { ac_try='test -s conftest$ac_exeext'
33171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33172   (eval $ac_try) 2>&5
33173   ac_status=$?
33174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175   (exit $ac_status); }; }; then
33176   eval "$as_ac_var=yes"
33177 else
33178   echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 eval "$as_ac_var=no"
33182 fi
33183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33184 fi
33185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33187 if test `eval echo '${'$as_ac_var'}'` = yes; then
33188   cat >>confdefs.h <<_ACEOF
33189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33190 _ACEOF
33191
33192 fi
33193 done
33194
33195   else
33196
33197   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
33198 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
33199   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
33200     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
33201   echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203
33204
33205
33206       ac_ext=cc
33207 ac_cpp='$CXXCPP $CPPFLAGS'
33208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33211
33212       cat >conftest.$ac_ext <<_ACEOF
33213 #line $LINENO "configure"
33214 /* confdefs.h.  */
33215 _ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h.  */
33219 #include <math.h>
33220                       #ifdef HAVE_IEEEFP_H
33221                       #include <ieeefp.h>
33222                       #endif
33223
33224 int
33225 main ()
33226 {
33227  _log10f(0);
33228   ;
33229   return 0;
33230 }
33231 _ACEOF
33232 rm -f conftest.$ac_objext
33233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33234   (eval $ac_compile) 2>&5
33235   ac_status=$?
33236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237   (exit $ac_status); } &&
33238          { ac_try='test -s conftest.$ac_objext'
33239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240   (eval $ac_try) 2>&5
33241   ac_status=$?
33242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243   (exit $ac_status); }; }; then
33244   glibcxx_cv_func__log10f_use=yes
33245 else
33246   echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.$ac_ext >&5
33248
33249 glibcxx_cv_func__log10f_use=no
33250 fi
33251 rm -f conftest.$ac_objext conftest.$ac_ext
33252       ac_ext=c
33253 ac_cpp='$CPP $CPPFLAGS'
33254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33257
33258
33259 fi
33260
33261   fi
33262   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
33263 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
33264
33265     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
33266
33267 for ac_func in _log10f
33268 do
33269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33270 echo "$as_me:$LINENO: checking for $ac_func" >&5
33271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33272 if eval "test \"\${$as_ac_var+set}\" = set"; then
33273   echo $ECHO_N "(cached) $ECHO_C" >&6
33274 else
33275   cat >conftest.$ac_ext <<_ACEOF
33276 #line $LINENO "configure"
33277 /* confdefs.h.  */
33278 _ACEOF
33279 cat confdefs.h >>conftest.$ac_ext
33280 cat >>conftest.$ac_ext <<_ACEOF
33281 /* end confdefs.h.  */
33282 /* System header to define __stub macros and hopefully few prototypes,
33283     which can conflict with char $ac_func (); below.
33284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33285     <limits.h> exists even on freestanding compilers.  */
33286 #ifdef __STDC__
33287 # include <limits.h>
33288 #else
33289 # include <assert.h>
33290 #endif
33291 /* Override any gcc2 internal prototype to avoid an error.  */
33292 #ifdef __cplusplus
33293 extern "C"
33294 {
33295 #endif
33296 /* We use char because int might match the return type of a gcc2
33297    builtin and then its argument prototype would still apply.  */
33298 char $ac_func ();
33299 /* The GNU C library defines this for functions which it implements
33300     to always fail with ENOSYS.  Some functions are actually named
33301     something starting with __ and the normal name is an alias.  */
33302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33303 choke me
33304 #else
33305 char (*f) () = $ac_func;
33306 #endif
33307 #ifdef __cplusplus
33308 }
33309 #endif
33310
33311 int
33312 main ()
33313 {
33314 return f != $ac_func;
33315   ;
33316   return 0;
33317 }
33318 _ACEOF
33319 rm -f conftest.$ac_objext conftest$ac_exeext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33321   (eval $ac_link) 2>&5
33322   ac_status=$?
33323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324   (exit $ac_status); } &&
33325          { ac_try='test -s conftest$ac_exeext'
33326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33327   (eval $ac_try) 2>&5
33328   ac_status=$?
33329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330   (exit $ac_status); }; }; then
33331   eval "$as_ac_var=yes"
33332 else
33333   echo "$as_me: failed program was:" >&5
33334 sed 's/^/| /' conftest.$ac_ext >&5
33335
33336 eval "$as_ac_var=no"
33337 fi
33338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33339 fi
33340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33342 if test `eval echo '${'$as_ac_var'}'` = yes; then
33343   cat >>confdefs.h <<_ACEOF
33344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33345 _ACEOF
33346
33347 fi
33348 done
33349
33350     fi
33351   fi
33352
33353
33354
33355   echo "$as_me:$LINENO: checking for modff declaration" >&5
33356 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
33357   if test x${glibcxx_cv_func_modff_use+set} != xset; then
33358     if test "${glibcxx_cv_func_modff_use+set}" = set; then
33359   echo $ECHO_N "(cached) $ECHO_C" >&6
33360 else
33361
33362
33363
33364       ac_ext=cc
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33369
33370       cat >conftest.$ac_ext <<_ACEOF
33371 #line $LINENO "configure"
33372 /* confdefs.h.  */
33373 _ACEOF
33374 cat confdefs.h >>conftest.$ac_ext
33375 cat >>conftest.$ac_ext <<_ACEOF
33376 /* end confdefs.h.  */
33377 #include <math.h>
33378 int
33379 main ()
33380 {
33381  modff(0, 0);
33382   ;
33383   return 0;
33384 }
33385 _ACEOF
33386 rm -f conftest.$ac_objext
33387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33388   (eval $ac_compile) 2>&5
33389   ac_status=$?
33390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391   (exit $ac_status); } &&
33392          { ac_try='test -s conftest.$ac_objext'
33393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394   (eval $ac_try) 2>&5
33395   ac_status=$?
33396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397   (exit $ac_status); }; }; then
33398   glibcxx_cv_func_modff_use=yes
33399 else
33400   echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.$ac_ext >&5
33402
33403 glibcxx_cv_func_modff_use=no
33404 fi
33405 rm -f conftest.$ac_objext conftest.$ac_ext
33406       ac_ext=c
33407 ac_cpp='$CPP $CPPFLAGS'
33408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33411
33412
33413 fi
33414
33415   fi
33416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
33417 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
33418
33419   if test x$glibcxx_cv_func_modff_use = x"yes"; then
33420
33421 for ac_func in modff
33422 do
33423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424 echo "$as_me:$LINENO: checking for $ac_func" >&5
33425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33426 if eval "test \"\${$as_ac_var+set}\" = set"; then
33427   echo $ECHO_N "(cached) $ECHO_C" >&6
33428 else
33429   cat >conftest.$ac_ext <<_ACEOF
33430 #line $LINENO "configure"
33431 /* confdefs.h.  */
33432 _ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h.  */
33436 /* System header to define __stub macros and hopefully few prototypes,
33437     which can conflict with char $ac_func (); below.
33438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33439     <limits.h> exists even on freestanding compilers.  */
33440 #ifdef __STDC__
33441 # include <limits.h>
33442 #else
33443 # include <assert.h>
33444 #endif
33445 /* Override any gcc2 internal prototype to avoid an error.  */
33446 #ifdef __cplusplus
33447 extern "C"
33448 {
33449 #endif
33450 /* We use char because int might match the return type of a gcc2
33451    builtin and then its argument prototype would still apply.  */
33452 char $ac_func ();
33453 /* The GNU C library defines this for functions which it implements
33454     to always fail with ENOSYS.  Some functions are actually named
33455     something starting with __ and the normal name is an alias.  */
33456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33457 choke me
33458 #else
33459 char (*f) () = $ac_func;
33460 #endif
33461 #ifdef __cplusplus
33462 }
33463 #endif
33464
33465 int
33466 main ()
33467 {
33468 return f != $ac_func;
33469   ;
33470   return 0;
33471 }
33472 _ACEOF
33473 rm -f conftest.$ac_objext conftest$ac_exeext
33474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33475   (eval $ac_link) 2>&5
33476   ac_status=$?
33477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478   (exit $ac_status); } &&
33479          { ac_try='test -s conftest$ac_exeext'
33480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481   (eval $ac_try) 2>&5
33482   ac_status=$?
33483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484   (exit $ac_status); }; }; then
33485   eval "$as_ac_var=yes"
33486 else
33487   echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.$ac_ext >&5
33489
33490 eval "$as_ac_var=no"
33491 fi
33492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33493 fi
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497   cat >>confdefs.h <<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499 _ACEOF
33500
33501 fi
33502 done
33503
33504   else
33505
33506   echo "$as_me:$LINENO: checking for _modff declaration" >&5
33507 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
33508   if test x${glibcxx_cv_func__modff_use+set} != xset; then
33509     if test "${glibcxx_cv_func__modff_use+set}" = set; then
33510   echo $ECHO_N "(cached) $ECHO_C" >&6
33511 else
33512
33513
33514
33515       ac_ext=cc
33516 ac_cpp='$CXXCPP $CPPFLAGS'
33517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520
33521       cat >conftest.$ac_ext <<_ACEOF
33522 #line $LINENO "configure"
33523 /* confdefs.h.  */
33524 _ACEOF
33525 cat confdefs.h >>conftest.$ac_ext
33526 cat >>conftest.$ac_ext <<_ACEOF
33527 /* end confdefs.h.  */
33528 #include <math.h>
33529 int
33530 main ()
33531 {
33532  _modff(0, 0);
33533   ;
33534   return 0;
33535 }
33536 _ACEOF
33537 rm -f conftest.$ac_objext
33538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33539   (eval $ac_compile) 2>&5
33540   ac_status=$?
33541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542   (exit $ac_status); } &&
33543          { ac_try='test -s conftest.$ac_objext'
33544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545   (eval $ac_try) 2>&5
33546   ac_status=$?
33547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548   (exit $ac_status); }; }; then
33549   glibcxx_cv_func__modff_use=yes
33550 else
33551   echo "$as_me: failed program was:" >&5
33552 sed 's/^/| /' conftest.$ac_ext >&5
33553
33554 glibcxx_cv_func__modff_use=no
33555 fi
33556 rm -f conftest.$ac_objext conftest.$ac_ext
33557       ac_ext=c
33558 ac_cpp='$CPP $CPPFLAGS'
33559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562
33563
33564 fi
33565
33566   fi
33567   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
33568 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
33569
33570     if test x$glibcxx_cv_func__modff_use = x"yes"; then
33571
33572 for ac_func in _modff
33573 do
33574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33575 echo "$as_me:$LINENO: checking for $ac_func" >&5
33576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33577 if eval "test \"\${$as_ac_var+set}\" = set"; then
33578   echo $ECHO_N "(cached) $ECHO_C" >&6
33579 else
33580   cat >conftest.$ac_ext <<_ACEOF
33581 #line $LINENO "configure"
33582 /* confdefs.h.  */
33583 _ACEOF
33584 cat confdefs.h >>conftest.$ac_ext
33585 cat >>conftest.$ac_ext <<_ACEOF
33586 /* end confdefs.h.  */
33587 /* System header to define __stub macros and hopefully few prototypes,
33588     which can conflict with char $ac_func (); below.
33589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33590     <limits.h> exists even on freestanding compilers.  */
33591 #ifdef __STDC__
33592 # include <limits.h>
33593 #else
33594 # include <assert.h>
33595 #endif
33596 /* Override any gcc2 internal prototype to avoid an error.  */
33597 #ifdef __cplusplus
33598 extern "C"
33599 {
33600 #endif
33601 /* We use char because int might match the return type of a gcc2
33602    builtin and then its argument prototype would still apply.  */
33603 char $ac_func ();
33604 /* The GNU C library defines this for functions which it implements
33605     to always fail with ENOSYS.  Some functions are actually named
33606     something starting with __ and the normal name is an alias.  */
33607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33608 choke me
33609 #else
33610 char (*f) () = $ac_func;
33611 #endif
33612 #ifdef __cplusplus
33613 }
33614 #endif
33615
33616 int
33617 main ()
33618 {
33619 return f != $ac_func;
33620   ;
33621   return 0;
33622 }
33623 _ACEOF
33624 rm -f conftest.$ac_objext conftest$ac_exeext
33625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33626   (eval $ac_link) 2>&5
33627   ac_status=$?
33628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629   (exit $ac_status); } &&
33630          { ac_try='test -s conftest$ac_exeext'
33631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33632   (eval $ac_try) 2>&5
33633   ac_status=$?
33634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635   (exit $ac_status); }; }; then
33636   eval "$as_ac_var=yes"
33637 else
33638   echo "$as_me: failed program was:" >&5
33639 sed 's/^/| /' conftest.$ac_ext >&5
33640
33641 eval "$as_ac_var=no"
33642 fi
33643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33644 fi
33645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33647 if test `eval echo '${'$as_ac_var'}'` = yes; then
33648   cat >>confdefs.h <<_ACEOF
33649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33650 _ACEOF
33651
33652 fi
33653 done
33654
33655     fi
33656   fi
33657
33658
33659
33660   echo "$as_me:$LINENO: checking for powf declaration" >&5
33661 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
33662   if test x${glibcxx_cv_func_powf_use+set} != xset; then
33663     if test "${glibcxx_cv_func_powf_use+set}" = set; then
33664   echo $ECHO_N "(cached) $ECHO_C" >&6
33665 else
33666
33667
33668
33669       ac_ext=cc
33670 ac_cpp='$CXXCPP $CPPFLAGS'
33671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33674
33675       cat >conftest.$ac_ext <<_ACEOF
33676 #line $LINENO "configure"
33677 /* confdefs.h.  */
33678 _ACEOF
33679 cat confdefs.h >>conftest.$ac_ext
33680 cat >>conftest.$ac_ext <<_ACEOF
33681 /* end confdefs.h.  */
33682 #include <math.h>
33683 int
33684 main ()
33685 {
33686  powf(0, 0);
33687   ;
33688   return 0;
33689 }
33690 _ACEOF
33691 rm -f conftest.$ac_objext
33692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33693   (eval $ac_compile) 2>&5
33694   ac_status=$?
33695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696   (exit $ac_status); } &&
33697          { ac_try='test -s conftest.$ac_objext'
33698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699   (eval $ac_try) 2>&5
33700   ac_status=$?
33701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702   (exit $ac_status); }; }; then
33703   glibcxx_cv_func_powf_use=yes
33704 else
33705   echo "$as_me: failed program was:" >&5
33706 sed 's/^/| /' conftest.$ac_ext >&5
33707
33708 glibcxx_cv_func_powf_use=no
33709 fi
33710 rm -f conftest.$ac_objext conftest.$ac_ext
33711       ac_ext=c
33712 ac_cpp='$CPP $CPPFLAGS'
33713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33716
33717
33718 fi
33719
33720   fi
33721   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
33722 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
33723
33724   if test x$glibcxx_cv_func_powf_use = x"yes"; then
33725
33726 for ac_func in powf
33727 do
33728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33729 echo "$as_me:$LINENO: checking for $ac_func" >&5
33730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33731 if eval "test \"\${$as_ac_var+set}\" = set"; then
33732   echo $ECHO_N "(cached) $ECHO_C" >&6
33733 else
33734   cat >conftest.$ac_ext <<_ACEOF
33735 #line $LINENO "configure"
33736 /* confdefs.h.  */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h.  */
33741 /* System header to define __stub macros and hopefully few prototypes,
33742     which can conflict with char $ac_func (); below.
33743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33744     <limits.h> exists even on freestanding compilers.  */
33745 #ifdef __STDC__
33746 # include <limits.h>
33747 #else
33748 # include <assert.h>
33749 #endif
33750 /* Override any gcc2 internal prototype to avoid an error.  */
33751 #ifdef __cplusplus
33752 extern "C"
33753 {
33754 #endif
33755 /* We use char because int might match the return type of a gcc2
33756    builtin and then its argument prototype would still apply.  */
33757 char $ac_func ();
33758 /* The GNU C library defines this for functions which it implements
33759     to always fail with ENOSYS.  Some functions are actually named
33760     something starting with __ and the normal name is an alias.  */
33761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33762 choke me
33763 #else
33764 char (*f) () = $ac_func;
33765 #endif
33766 #ifdef __cplusplus
33767 }
33768 #endif
33769
33770 int
33771 main ()
33772 {
33773 return f != $ac_func;
33774   ;
33775   return 0;
33776 }
33777 _ACEOF
33778 rm -f conftest.$ac_objext conftest$ac_exeext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33780   (eval $ac_link) 2>&5
33781   ac_status=$?
33782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783   (exit $ac_status); } &&
33784          { ac_try='test -s conftest$ac_exeext'
33785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786   (eval $ac_try) 2>&5
33787   ac_status=$?
33788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789   (exit $ac_status); }; }; then
33790   eval "$as_ac_var=yes"
33791 else
33792   echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.$ac_ext >&5
33794
33795 eval "$as_ac_var=no"
33796 fi
33797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33798 fi
33799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33801 if test `eval echo '${'$as_ac_var'}'` = yes; then
33802   cat >>confdefs.h <<_ACEOF
33803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33804 _ACEOF
33805
33806 fi
33807 done
33808
33809   else
33810
33811   echo "$as_me:$LINENO: checking for _powf declaration" >&5
33812 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
33813   if test x${glibcxx_cv_func__powf_use+set} != xset; then
33814     if test "${glibcxx_cv_func__powf_use+set}" = set; then
33815   echo $ECHO_N "(cached) $ECHO_C" >&6
33816 else
33817
33818
33819
33820       ac_ext=cc
33821 ac_cpp='$CXXCPP $CPPFLAGS'
33822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33825
33826       cat >conftest.$ac_ext <<_ACEOF
33827 #line $LINENO "configure"
33828 /* confdefs.h.  */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h.  */
33833 #include <math.h>
33834 int
33835 main ()
33836 {
33837  _powf(0, 0);
33838   ;
33839   return 0;
33840 }
33841 _ACEOF
33842 rm -f conftest.$ac_objext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33844   (eval $ac_compile) 2>&5
33845   ac_status=$?
33846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847   (exit $ac_status); } &&
33848          { ac_try='test -s conftest.$ac_objext'
33849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33850   (eval $ac_try) 2>&5
33851   ac_status=$?
33852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853   (exit $ac_status); }; }; then
33854   glibcxx_cv_func__powf_use=yes
33855 else
33856   echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.$ac_ext >&5
33858
33859 glibcxx_cv_func__powf_use=no
33860 fi
33861 rm -f conftest.$ac_objext conftest.$ac_ext
33862       ac_ext=c
33863 ac_cpp='$CPP $CPPFLAGS'
33864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33867
33868
33869 fi
33870
33871   fi
33872   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
33873 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
33874
33875     if test x$glibcxx_cv_func__powf_use = x"yes"; then
33876
33877 for ac_func in _powf
33878 do
33879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33880 echo "$as_me:$LINENO: checking for $ac_func" >&5
33881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33882 if eval "test \"\${$as_ac_var+set}\" = set"; then
33883   echo $ECHO_N "(cached) $ECHO_C" >&6
33884 else
33885   cat >conftest.$ac_ext <<_ACEOF
33886 #line $LINENO "configure"
33887 /* confdefs.h.  */
33888 _ACEOF
33889 cat confdefs.h >>conftest.$ac_ext
33890 cat >>conftest.$ac_ext <<_ACEOF
33891 /* end confdefs.h.  */
33892 /* System header to define __stub macros and hopefully few prototypes,
33893     which can conflict with char $ac_func (); below.
33894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33895     <limits.h> exists even on freestanding compilers.  */
33896 #ifdef __STDC__
33897 # include <limits.h>
33898 #else
33899 # include <assert.h>
33900 #endif
33901 /* Override any gcc2 internal prototype to avoid an error.  */
33902 #ifdef __cplusplus
33903 extern "C"
33904 {
33905 #endif
33906 /* We use char because int might match the return type of a gcc2
33907    builtin and then its argument prototype would still apply.  */
33908 char $ac_func ();
33909 /* The GNU C library defines this for functions which it implements
33910     to always fail with ENOSYS.  Some functions are actually named
33911     something starting with __ and the normal name is an alias.  */
33912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33913 choke me
33914 #else
33915 char (*f) () = $ac_func;
33916 #endif
33917 #ifdef __cplusplus
33918 }
33919 #endif
33920
33921 int
33922 main ()
33923 {
33924 return f != $ac_func;
33925   ;
33926   return 0;
33927 }
33928 _ACEOF
33929 rm -f conftest.$ac_objext conftest$ac_exeext
33930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33931   (eval $ac_link) 2>&5
33932   ac_status=$?
33933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934   (exit $ac_status); } &&
33935          { ac_try='test -s conftest$ac_exeext'
33936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33937   (eval $ac_try) 2>&5
33938   ac_status=$?
33939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940   (exit $ac_status); }; }; then
33941   eval "$as_ac_var=yes"
33942 else
33943   echo "$as_me: failed program was:" >&5
33944 sed 's/^/| /' conftest.$ac_ext >&5
33945
33946 eval "$as_ac_var=no"
33947 fi
33948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33949 fi
33950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33952 if test `eval echo '${'$as_ac_var'}'` = yes; then
33953   cat >>confdefs.h <<_ACEOF
33954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33955 _ACEOF
33956
33957 fi
33958 done
33959
33960     fi
33961   fi
33962
33963
33964
33965   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
33966 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
33967   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33968     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
33969   echo $ECHO_N "(cached) $ECHO_C" >&6
33970 else
33971
33972
33973
33974       ac_ext=cc
33975 ac_cpp='$CXXCPP $CPPFLAGS'
33976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33979
33980       cat >conftest.$ac_ext <<_ACEOF
33981 #line $LINENO "configure"
33982 /* confdefs.h.  */
33983 _ACEOF
33984 cat confdefs.h >>conftest.$ac_ext
33985 cat >>conftest.$ac_ext <<_ACEOF
33986 /* end confdefs.h.  */
33987 #include <math.h>
33988                       #ifdef HAVE_IEEEFP_H
33989                       #include <ieeefp.h>
33990                       #endif
33991
33992 int
33993 main ()
33994 {
33995  sqrtf(0);
33996   ;
33997   return 0;
33998 }
33999 _ACEOF
34000 rm -f conftest.$ac_objext
34001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34002   (eval $ac_compile) 2>&5
34003   ac_status=$?
34004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005   (exit $ac_status); } &&
34006          { ac_try='test -s conftest.$ac_objext'
34007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34008   (eval $ac_try) 2>&5
34009   ac_status=$?
34010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011   (exit $ac_status); }; }; then
34012   glibcxx_cv_func_sqrtf_use=yes
34013 else
34014   echo "$as_me: failed program was:" >&5
34015 sed 's/^/| /' conftest.$ac_ext >&5
34016
34017 glibcxx_cv_func_sqrtf_use=no
34018 fi
34019 rm -f conftest.$ac_objext conftest.$ac_ext
34020       ac_ext=c
34021 ac_cpp='$CPP $CPPFLAGS'
34022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34025
34026
34027 fi
34028
34029   fi
34030   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
34031 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
34032
34033   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34034
34035 for ac_func in sqrtf
34036 do
34037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34038 echo "$as_me:$LINENO: checking for $ac_func" >&5
34039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34040 if eval "test \"\${$as_ac_var+set}\" = set"; then
34041   echo $ECHO_N "(cached) $ECHO_C" >&6
34042 else
34043   cat >conftest.$ac_ext <<_ACEOF
34044 #line $LINENO "configure"
34045 /* confdefs.h.  */
34046 _ACEOF
34047 cat confdefs.h >>conftest.$ac_ext
34048 cat >>conftest.$ac_ext <<_ACEOF
34049 /* end confdefs.h.  */
34050 /* System header to define __stub macros and hopefully few prototypes,
34051     which can conflict with char $ac_func (); below.
34052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34053     <limits.h> exists even on freestanding compilers.  */
34054 #ifdef __STDC__
34055 # include <limits.h>
34056 #else
34057 # include <assert.h>
34058 #endif
34059 /* Override any gcc2 internal prototype to avoid an error.  */
34060 #ifdef __cplusplus
34061 extern "C"
34062 {
34063 #endif
34064 /* We use char because int might match the return type of a gcc2
34065    builtin and then its argument prototype would still apply.  */
34066 char $ac_func ();
34067 /* The GNU C library defines this for functions which it implements
34068     to always fail with ENOSYS.  Some functions are actually named
34069     something starting with __ and the normal name is an alias.  */
34070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34071 choke me
34072 #else
34073 char (*f) () = $ac_func;
34074 #endif
34075 #ifdef __cplusplus
34076 }
34077 #endif
34078
34079 int
34080 main ()
34081 {
34082 return f != $ac_func;
34083   ;
34084   return 0;
34085 }
34086 _ACEOF
34087 rm -f conftest.$ac_objext conftest$ac_exeext
34088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34089   (eval $ac_link) 2>&5
34090   ac_status=$?
34091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092   (exit $ac_status); } &&
34093          { ac_try='test -s conftest$ac_exeext'
34094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095   (eval $ac_try) 2>&5
34096   ac_status=$?
34097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098   (exit $ac_status); }; }; then
34099   eval "$as_ac_var=yes"
34100 else
34101   echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.$ac_ext >&5
34103
34104 eval "$as_ac_var=no"
34105 fi
34106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34107 fi
34108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34110 if test `eval echo '${'$as_ac_var'}'` = yes; then
34111   cat >>confdefs.h <<_ACEOF
34112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118   else
34119
34120   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
34121 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
34122   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34123     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
34124   echo $ECHO_N "(cached) $ECHO_C" >&6
34125 else
34126
34127
34128
34129       ac_ext=cc
34130 ac_cpp='$CXXCPP $CPPFLAGS'
34131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34134
34135       cat >conftest.$ac_ext <<_ACEOF
34136 #line $LINENO "configure"
34137 /* confdefs.h.  */
34138 _ACEOF
34139 cat confdefs.h >>conftest.$ac_ext
34140 cat >>conftest.$ac_ext <<_ACEOF
34141 /* end confdefs.h.  */
34142 #include <math.h>
34143                       #ifdef HAVE_IEEEFP_H
34144                       #include <ieeefp.h>
34145                       #endif
34146
34147 int
34148 main ()
34149 {
34150  _sqrtf(0);
34151   ;
34152   return 0;
34153 }
34154 _ACEOF
34155 rm -f conftest.$ac_objext
34156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34157   (eval $ac_compile) 2>&5
34158   ac_status=$?
34159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160   (exit $ac_status); } &&
34161          { ac_try='test -s conftest.$ac_objext'
34162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34163   (eval $ac_try) 2>&5
34164   ac_status=$?
34165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166   (exit $ac_status); }; }; then
34167   glibcxx_cv_func__sqrtf_use=yes
34168 else
34169   echo "$as_me: failed program was:" >&5
34170 sed 's/^/| /' conftest.$ac_ext >&5
34171
34172 glibcxx_cv_func__sqrtf_use=no
34173 fi
34174 rm -f conftest.$ac_objext conftest.$ac_ext
34175       ac_ext=c
34176 ac_cpp='$CPP $CPPFLAGS'
34177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34180
34181
34182 fi
34183
34184   fi
34185   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
34186 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
34187
34188     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
34189
34190 for ac_func in _sqrtf
34191 do
34192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34193 echo "$as_me:$LINENO: checking for $ac_func" >&5
34194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34195 if eval "test \"\${$as_ac_var+set}\" = set"; then
34196   echo $ECHO_N "(cached) $ECHO_C" >&6
34197 else
34198   cat >conftest.$ac_ext <<_ACEOF
34199 #line $LINENO "configure"
34200 /* confdefs.h.  */
34201 _ACEOF
34202 cat confdefs.h >>conftest.$ac_ext
34203 cat >>conftest.$ac_ext <<_ACEOF
34204 /* end confdefs.h.  */
34205 /* System header to define __stub macros and hopefully few prototypes,
34206     which can conflict with char $ac_func (); below.
34207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34208     <limits.h> exists even on freestanding compilers.  */
34209 #ifdef __STDC__
34210 # include <limits.h>
34211 #else
34212 # include <assert.h>
34213 #endif
34214 /* Override any gcc2 internal prototype to avoid an error.  */
34215 #ifdef __cplusplus
34216 extern "C"
34217 {
34218 #endif
34219 /* We use char because int might match the return type of a gcc2
34220    builtin and then its argument prototype would still apply.  */
34221 char $ac_func ();
34222 /* The GNU C library defines this for functions which it implements
34223     to always fail with ENOSYS.  Some functions are actually named
34224     something starting with __ and the normal name is an alias.  */
34225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34226 choke me
34227 #else
34228 char (*f) () = $ac_func;
34229 #endif
34230 #ifdef __cplusplus
34231 }
34232 #endif
34233
34234 int
34235 main ()
34236 {
34237 return f != $ac_func;
34238   ;
34239   return 0;
34240 }
34241 _ACEOF
34242 rm -f conftest.$ac_objext conftest$ac_exeext
34243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34244   (eval $ac_link) 2>&5
34245   ac_status=$?
34246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247   (exit $ac_status); } &&
34248          { ac_try='test -s conftest$ac_exeext'
34249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34250   (eval $ac_try) 2>&5
34251   ac_status=$?
34252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253   (exit $ac_status); }; }; then
34254   eval "$as_ac_var=yes"
34255 else
34256   echo "$as_me: failed program was:" >&5
34257 sed 's/^/| /' conftest.$ac_ext >&5
34258
34259 eval "$as_ac_var=no"
34260 fi
34261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34262 fi
34263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34265 if test `eval echo '${'$as_ac_var'}'` = yes; then
34266   cat >>confdefs.h <<_ACEOF
34267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34268 _ACEOF
34269
34270 fi
34271 done
34272
34273     fi
34274   fi
34275
34276
34277
34278   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
34279 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
34280   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
34281     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
34282   echo $ECHO_N "(cached) $ECHO_C" >&6
34283 else
34284
34285
34286
34287       ac_ext=cc
34288 ac_cpp='$CXXCPP $CPPFLAGS'
34289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34292
34293       cat >conftest.$ac_ext <<_ACEOF
34294 #line $LINENO "configure"
34295 /* confdefs.h.  */
34296 _ACEOF
34297 cat confdefs.h >>conftest.$ac_ext
34298 cat >>conftest.$ac_ext <<_ACEOF
34299 /* end confdefs.h.  */
34300 #include <math.h>
34301 int
34302 main ()
34303 {
34304  sincosf(0, 0, 0);
34305   ;
34306   return 0;
34307 }
34308 _ACEOF
34309 rm -f conftest.$ac_objext
34310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34311   (eval $ac_compile) 2>&5
34312   ac_status=$?
34313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314   (exit $ac_status); } &&
34315          { ac_try='test -s conftest.$ac_objext'
34316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317   (eval $ac_try) 2>&5
34318   ac_status=$?
34319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320   (exit $ac_status); }; }; then
34321   glibcxx_cv_func_sincosf_use=yes
34322 else
34323   echo "$as_me: failed program was:" >&5
34324 sed 's/^/| /' conftest.$ac_ext >&5
34325
34326 glibcxx_cv_func_sincosf_use=no
34327 fi
34328 rm -f conftest.$ac_objext conftest.$ac_ext
34329       ac_ext=c
34330 ac_cpp='$CPP $CPPFLAGS'
34331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34334
34335
34336 fi
34337
34338   fi
34339   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
34340 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
34341
34342   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
34343
34344 for ac_func in sincosf
34345 do
34346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34347 echo "$as_me:$LINENO: checking for $ac_func" >&5
34348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34349 if eval "test \"\${$as_ac_var+set}\" = set"; then
34350   echo $ECHO_N "(cached) $ECHO_C" >&6
34351 else
34352   cat >conftest.$ac_ext <<_ACEOF
34353 #line $LINENO "configure"
34354 /* confdefs.h.  */
34355 _ACEOF
34356 cat confdefs.h >>conftest.$ac_ext
34357 cat >>conftest.$ac_ext <<_ACEOF
34358 /* end confdefs.h.  */
34359 /* System header to define __stub macros and hopefully few prototypes,
34360     which can conflict with char $ac_func (); below.
34361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34362     <limits.h> exists even on freestanding compilers.  */
34363 #ifdef __STDC__
34364 # include <limits.h>
34365 #else
34366 # include <assert.h>
34367 #endif
34368 /* Override any gcc2 internal prototype to avoid an error.  */
34369 #ifdef __cplusplus
34370 extern "C"
34371 {
34372 #endif
34373 /* We use char because int might match the return type of a gcc2
34374    builtin and then its argument prototype would still apply.  */
34375 char $ac_func ();
34376 /* The GNU C library defines this for functions which it implements
34377     to always fail with ENOSYS.  Some functions are actually named
34378     something starting with __ and the normal name is an alias.  */
34379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34380 choke me
34381 #else
34382 char (*f) () = $ac_func;
34383 #endif
34384 #ifdef __cplusplus
34385 }
34386 #endif
34387
34388 int
34389 main ()
34390 {
34391 return f != $ac_func;
34392   ;
34393   return 0;
34394 }
34395 _ACEOF
34396 rm -f conftest.$ac_objext conftest$ac_exeext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34398   (eval $ac_link) 2>&5
34399   ac_status=$?
34400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401   (exit $ac_status); } &&
34402          { ac_try='test -s conftest$ac_exeext'
34403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404   (eval $ac_try) 2>&5
34405   ac_status=$?
34406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407   (exit $ac_status); }; }; then
34408   eval "$as_ac_var=yes"
34409 else
34410   echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34412
34413 eval "$as_ac_var=no"
34414 fi
34415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34416 fi
34417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34419 if test `eval echo '${'$as_ac_var'}'` = yes; then
34420   cat >>confdefs.h <<_ACEOF
34421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34422 _ACEOF
34423
34424 fi
34425 done
34426
34427   else
34428
34429   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
34430 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
34431   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
34432     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
34433   echo $ECHO_N "(cached) $ECHO_C" >&6
34434 else
34435
34436
34437
34438       ac_ext=cc
34439 ac_cpp='$CXXCPP $CPPFLAGS'
34440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34443
34444       cat >conftest.$ac_ext <<_ACEOF
34445 #line $LINENO "configure"
34446 /* confdefs.h.  */
34447 _ACEOF
34448 cat confdefs.h >>conftest.$ac_ext
34449 cat >>conftest.$ac_ext <<_ACEOF
34450 /* end confdefs.h.  */
34451 #include <math.h>
34452 int
34453 main ()
34454 {
34455  _sincosf(0, 0, 0);
34456   ;
34457   return 0;
34458 }
34459 _ACEOF
34460 rm -f conftest.$ac_objext
34461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34462   (eval $ac_compile) 2>&5
34463   ac_status=$?
34464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465   (exit $ac_status); } &&
34466          { ac_try='test -s conftest.$ac_objext'
34467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34468   (eval $ac_try) 2>&5
34469   ac_status=$?
34470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471   (exit $ac_status); }; }; then
34472   glibcxx_cv_func__sincosf_use=yes
34473 else
34474   echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.$ac_ext >&5
34476
34477 glibcxx_cv_func__sincosf_use=no
34478 fi
34479 rm -f conftest.$ac_objext conftest.$ac_ext
34480       ac_ext=c
34481 ac_cpp='$CPP $CPPFLAGS'
34482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34485
34486
34487 fi
34488
34489   fi
34490   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
34491 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
34492
34493     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
34494
34495 for ac_func in _sincosf
34496 do
34497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34498 echo "$as_me:$LINENO: checking for $ac_func" >&5
34499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34500 if eval "test \"\${$as_ac_var+set}\" = set"; then
34501   echo $ECHO_N "(cached) $ECHO_C" >&6
34502 else
34503   cat >conftest.$ac_ext <<_ACEOF
34504 #line $LINENO "configure"
34505 /* confdefs.h.  */
34506 _ACEOF
34507 cat confdefs.h >>conftest.$ac_ext
34508 cat >>conftest.$ac_ext <<_ACEOF
34509 /* end confdefs.h.  */
34510 /* System header to define __stub macros and hopefully few prototypes,
34511     which can conflict with char $ac_func (); below.
34512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34513     <limits.h> exists even on freestanding compilers.  */
34514 #ifdef __STDC__
34515 # include <limits.h>
34516 #else
34517 # include <assert.h>
34518 #endif
34519 /* Override any gcc2 internal prototype to avoid an error.  */
34520 #ifdef __cplusplus
34521 extern "C"
34522 {
34523 #endif
34524 /* We use char because int might match the return type of a gcc2
34525    builtin and then its argument prototype would still apply.  */
34526 char $ac_func ();
34527 /* The GNU C library defines this for functions which it implements
34528     to always fail with ENOSYS.  Some functions are actually named
34529     something starting with __ and the normal name is an alias.  */
34530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34531 choke me
34532 #else
34533 char (*f) () = $ac_func;
34534 #endif
34535 #ifdef __cplusplus
34536 }
34537 #endif
34538
34539 int
34540 main ()
34541 {
34542 return f != $ac_func;
34543   ;
34544   return 0;
34545 }
34546 _ACEOF
34547 rm -f conftest.$ac_objext conftest$ac_exeext
34548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34549   (eval $ac_link) 2>&5
34550   ac_status=$?
34551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552   (exit $ac_status); } &&
34553          { ac_try='test -s conftest$ac_exeext'
34554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555   (eval $ac_try) 2>&5
34556   ac_status=$?
34557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558   (exit $ac_status); }; }; then
34559   eval "$as_ac_var=yes"
34560 else
34561   echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34563
34564 eval "$as_ac_var=no"
34565 fi
34566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34567 fi
34568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34570 if test `eval echo '${'$as_ac_var'}'` = yes; then
34571   cat >>confdefs.h <<_ACEOF
34572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34573 _ACEOF
34574
34575 fi
34576 done
34577
34578     fi
34579   fi
34580
34581
34582
34583   echo "$as_me:$LINENO: checking for finitef declaration" >&5
34584 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
34585   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
34586     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
34587   echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589
34590
34591
34592       ac_ext=cc
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597
34598       cat >conftest.$ac_ext <<_ACEOF
34599 #line $LINENO "configure"
34600 /* confdefs.h.  */
34601 _ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h.  */
34605 #include <math.h>
34606                       #ifdef HAVE_IEEEFP_H
34607                       #include <ieeefp.h>
34608                       #endif
34609
34610 int
34611 main ()
34612 {
34613  finitef(0);
34614   ;
34615   return 0;
34616 }
34617 _ACEOF
34618 rm -f conftest.$ac_objext
34619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34620   (eval $ac_compile) 2>&5
34621   ac_status=$?
34622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623   (exit $ac_status); } &&
34624          { ac_try='test -s conftest.$ac_objext'
34625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626   (eval $ac_try) 2>&5
34627   ac_status=$?
34628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629   (exit $ac_status); }; }; then
34630   glibcxx_cv_func_finitef_use=yes
34631 else
34632   echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.$ac_ext >&5
34634
34635 glibcxx_cv_func_finitef_use=no
34636 fi
34637 rm -f conftest.$ac_objext conftest.$ac_ext
34638       ac_ext=c
34639 ac_cpp='$CPP $CPPFLAGS'
34640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34643
34644
34645 fi
34646
34647   fi
34648   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
34649 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
34650
34651   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
34652
34653 for ac_func in finitef
34654 do
34655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34656 echo "$as_me:$LINENO: checking for $ac_func" >&5
34657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34658 if eval "test \"\${$as_ac_var+set}\" = set"; then
34659   echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661   cat >conftest.$ac_ext <<_ACEOF
34662 #line $LINENO "configure"
34663 /* confdefs.h.  */
34664 _ACEOF
34665 cat confdefs.h >>conftest.$ac_ext
34666 cat >>conftest.$ac_ext <<_ACEOF
34667 /* end confdefs.h.  */
34668 /* System header to define __stub macros and hopefully few prototypes,
34669     which can conflict with char $ac_func (); below.
34670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34671     <limits.h> exists even on freestanding compilers.  */
34672 #ifdef __STDC__
34673 # include <limits.h>
34674 #else
34675 # include <assert.h>
34676 #endif
34677 /* Override any gcc2 internal prototype to avoid an error.  */
34678 #ifdef __cplusplus
34679 extern "C"
34680 {
34681 #endif
34682 /* We use char because int might match the return type of a gcc2
34683    builtin and then its argument prototype would still apply.  */
34684 char $ac_func ();
34685 /* The GNU C library defines this for functions which it implements
34686     to always fail with ENOSYS.  Some functions are actually named
34687     something starting with __ and the normal name is an alias.  */
34688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34689 choke me
34690 #else
34691 char (*f) () = $ac_func;
34692 #endif
34693 #ifdef __cplusplus
34694 }
34695 #endif
34696
34697 int
34698 main ()
34699 {
34700 return f != $ac_func;
34701   ;
34702   return 0;
34703 }
34704 _ACEOF
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34707   (eval $ac_link) 2>&5
34708   ac_status=$?
34709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710   (exit $ac_status); } &&
34711          { ac_try='test -s conftest$ac_exeext'
34712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713   (eval $ac_try) 2>&5
34714   ac_status=$?
34715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716   (exit $ac_status); }; }; then
34717   eval "$as_ac_var=yes"
34718 else
34719   echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.$ac_ext >&5
34721
34722 eval "$as_ac_var=no"
34723 fi
34724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34725 fi
34726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34728 if test `eval echo '${'$as_ac_var'}'` = yes; then
34729   cat >>confdefs.h <<_ACEOF
34730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34731 _ACEOF
34732
34733 fi
34734 done
34735
34736   else
34737
34738   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
34739 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
34740   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
34741     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
34742   echo $ECHO_N "(cached) $ECHO_C" >&6
34743 else
34744
34745
34746
34747       ac_ext=cc
34748 ac_cpp='$CXXCPP $CPPFLAGS'
34749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34752
34753       cat >conftest.$ac_ext <<_ACEOF
34754 #line $LINENO "configure"
34755 /* confdefs.h.  */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h.  */
34760 #include <math.h>
34761                       #ifdef HAVE_IEEEFP_H
34762                       #include <ieeefp.h>
34763                       #endif
34764
34765 int
34766 main ()
34767 {
34768  _finitef(0);
34769   ;
34770   return 0;
34771 }
34772 _ACEOF
34773 rm -f conftest.$ac_objext
34774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34775   (eval $ac_compile) 2>&5
34776   ac_status=$?
34777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778   (exit $ac_status); } &&
34779          { ac_try='test -s conftest.$ac_objext'
34780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781   (eval $ac_try) 2>&5
34782   ac_status=$?
34783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784   (exit $ac_status); }; }; then
34785   glibcxx_cv_func__finitef_use=yes
34786 else
34787   echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.$ac_ext >&5
34789
34790 glibcxx_cv_func__finitef_use=no
34791 fi
34792 rm -f conftest.$ac_objext conftest.$ac_ext
34793       ac_ext=c
34794 ac_cpp='$CPP $CPPFLAGS'
34795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34798
34799
34800 fi
34801
34802   fi
34803   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
34804 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
34805
34806     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
34807
34808 for ac_func in _finitef
34809 do
34810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34811 echo "$as_me:$LINENO: checking for $ac_func" >&5
34812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34813 if eval "test \"\${$as_ac_var+set}\" = set"; then
34814   echo $ECHO_N "(cached) $ECHO_C" >&6
34815 else
34816   cat >conftest.$ac_ext <<_ACEOF
34817 #line $LINENO "configure"
34818 /* confdefs.h.  */
34819 _ACEOF
34820 cat confdefs.h >>conftest.$ac_ext
34821 cat >>conftest.$ac_ext <<_ACEOF
34822 /* end confdefs.h.  */
34823 /* System header to define __stub macros and hopefully few prototypes,
34824     which can conflict with char $ac_func (); below.
34825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34826     <limits.h> exists even on freestanding compilers.  */
34827 #ifdef __STDC__
34828 # include <limits.h>
34829 #else
34830 # include <assert.h>
34831 #endif
34832 /* Override any gcc2 internal prototype to avoid an error.  */
34833 #ifdef __cplusplus
34834 extern "C"
34835 {
34836 #endif
34837 /* We use char because int might match the return type of a gcc2
34838    builtin and then its argument prototype would still apply.  */
34839 char $ac_func ();
34840 /* The GNU C library defines this for functions which it implements
34841     to always fail with ENOSYS.  Some functions are actually named
34842     something starting with __ and the normal name is an alias.  */
34843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34844 choke me
34845 #else
34846 char (*f) () = $ac_func;
34847 #endif
34848 #ifdef __cplusplus
34849 }
34850 #endif
34851
34852 int
34853 main ()
34854 {
34855 return f != $ac_func;
34856   ;
34857   return 0;
34858 }
34859 _ACEOF
34860 rm -f conftest.$ac_objext conftest$ac_exeext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34862   (eval $ac_link) 2>&5
34863   ac_status=$?
34864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865   (exit $ac_status); } &&
34866          { ac_try='test -s conftest$ac_exeext'
34867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34868   (eval $ac_try) 2>&5
34869   ac_status=$?
34870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871   (exit $ac_status); }; }; then
34872   eval "$as_ac_var=yes"
34873 else
34874   echo "$as_me: failed program was:" >&5
34875 sed 's/^/| /' conftest.$ac_ext >&5
34876
34877 eval "$as_ac_var=no"
34878 fi
34879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34880 fi
34881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34883 if test `eval echo '${'$as_ac_var'}'` = yes; then
34884   cat >>confdefs.h <<_ACEOF
34885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34886 _ACEOF
34887
34888 fi
34889 done
34890
34891     fi
34892   fi
34893
34894
34895
34896   echo "$as_me:$LINENO: checking for long double trig functions" >&5
34897 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
34898   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
34899   echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901
34902
34903
34904     ac_ext=cc
34905 ac_cpp='$CXXCPP $CPPFLAGS'
34906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34909
34910     cat >conftest.$ac_ext <<_ACEOF
34911 #line $LINENO "configure"
34912 /* confdefs.h.  */
34913 _ACEOF
34914 cat confdefs.h >>conftest.$ac_ext
34915 cat >>conftest.$ac_ext <<_ACEOF
34916 /* end confdefs.h.  */
34917 #include <math.h>
34918 int
34919 main ()
34920 {
34921  `for x in acosl asinl atanl \
34922                                           cosl sinl tanl \
34923                                           coshl sinhl tanhl; do echo "$x (0);"; done`
34924   ;
34925   return 0;
34926 }
34927 _ACEOF
34928 rm -f conftest.$ac_objext
34929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34930   (eval $ac_compile) 2>&5
34931   ac_status=$?
34932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933   (exit $ac_status); } &&
34934          { ac_try='test -s conftest.$ac_objext'
34935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34936   (eval $ac_try) 2>&5
34937   ac_status=$?
34938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939   (exit $ac_status); }; }; then
34940   glibcxx_cv_func_long_double_trig_use=yes
34941 else
34942   echo "$as_me: failed program was:" >&5
34943 sed 's/^/| /' conftest.$ac_ext >&5
34944
34945 glibcxx_cv_func_long_double_trig_use=no
34946 fi
34947 rm -f conftest.$ac_objext conftest.$ac_ext
34948     ac_ext=c
34949 ac_cpp='$CPP $CPPFLAGS'
34950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34953
34954 fi
34955
34956   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
34957 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
34958   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968 for ac_func in acosl asinl atanl \
34969                                           cosl sinl tanl \
34970                                           coshl sinhl tanhl
34971 do
34972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34973 echo "$as_me:$LINENO: checking for $ac_func" >&5
34974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34975 if eval "test \"\${$as_ac_var+set}\" = set"; then
34976   echo $ECHO_N "(cached) $ECHO_C" >&6
34977 else
34978   cat >conftest.$ac_ext <<_ACEOF
34979 #line $LINENO "configure"
34980 /* confdefs.h.  */
34981 _ACEOF
34982 cat confdefs.h >>conftest.$ac_ext
34983 cat >>conftest.$ac_ext <<_ACEOF
34984 /* end confdefs.h.  */
34985 /* System header to define __stub macros and hopefully few prototypes,
34986     which can conflict with char $ac_func (); below.
34987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34988     <limits.h> exists even on freestanding compilers.  */
34989 #ifdef __STDC__
34990 # include <limits.h>
34991 #else
34992 # include <assert.h>
34993 #endif
34994 /* Override any gcc2 internal prototype to avoid an error.  */
34995 #ifdef __cplusplus
34996 extern "C"
34997 {
34998 #endif
34999 /* We use char because int might match the return type of a gcc2
35000    builtin and then its argument prototype would still apply.  */
35001 char $ac_func ();
35002 /* The GNU C library defines this for functions which it implements
35003     to always fail with ENOSYS.  Some functions are actually named
35004     something starting with __ and the normal name is an alias.  */
35005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35006 choke me
35007 #else
35008 char (*f) () = $ac_func;
35009 #endif
35010 #ifdef __cplusplus
35011 }
35012 #endif
35013
35014 int
35015 main ()
35016 {
35017 return f != $ac_func;
35018   ;
35019   return 0;
35020 }
35021 _ACEOF
35022 rm -f conftest.$ac_objext conftest$ac_exeext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35024   (eval $ac_link) 2>&5
35025   ac_status=$?
35026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027   (exit $ac_status); } &&
35028          { ac_try='test -s conftest$ac_exeext'
35029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030   (eval $ac_try) 2>&5
35031   ac_status=$?
35032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033   (exit $ac_status); }; }; then
35034   eval "$as_ac_var=yes"
35035 else
35036   echo "$as_me: failed program was:" >&5
35037 sed 's/^/| /' conftest.$ac_ext >&5
35038
35039 eval "$as_ac_var=no"
35040 fi
35041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35042 fi
35043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35045 if test `eval echo '${'$as_ac_var'}'` = yes; then
35046   cat >>confdefs.h <<_ACEOF
35047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 _ACEOF
35049
35050 fi
35051 done
35052
35053   fi
35054
35055
35056   echo "$as_me:$LINENO: checking for long double round functions" >&5
35057 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
35058   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
35059   echo $ECHO_N "(cached) $ECHO_C" >&6
35060 else
35061
35062
35063
35064     ac_ext=cc
35065 ac_cpp='$CXXCPP $CPPFLAGS'
35066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35069
35070     cat >conftest.$ac_ext <<_ACEOF
35071 #line $LINENO "configure"
35072 /* confdefs.h.  */
35073 _ACEOF
35074 cat confdefs.h >>conftest.$ac_ext
35075 cat >>conftest.$ac_ext <<_ACEOF
35076 /* end confdefs.h.  */
35077 #include <math.h>
35078 int
35079 main ()
35080 {
35081  `for x in ceill floorl; do echo "$x (0);"; done`
35082   ;
35083   return 0;
35084 }
35085 _ACEOF
35086 rm -f conftest.$ac_objext
35087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35088   (eval $ac_compile) 2>&5
35089   ac_status=$?
35090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091   (exit $ac_status); } &&
35092          { ac_try='test -s conftest.$ac_objext'
35093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094   (eval $ac_try) 2>&5
35095   ac_status=$?
35096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097   (exit $ac_status); }; }; then
35098   glibcxx_cv_func_long_double_round_use=yes
35099 else
35100   echo "$as_me: failed program was:" >&5
35101 sed 's/^/| /' conftest.$ac_ext >&5
35102
35103 glibcxx_cv_func_long_double_round_use=no
35104 fi
35105 rm -f conftest.$ac_objext conftest.$ac_ext
35106     ac_ext=c
35107 ac_cpp='$CPP $CPPFLAGS'
35108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35111
35112 fi
35113
35114   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
35115 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
35116   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35117
35118
35119 for ac_func in ceill floorl
35120 do
35121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35122 echo "$as_me:$LINENO: checking for $ac_func" >&5
35123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35124 if eval "test \"\${$as_ac_var+set}\" = set"; then
35125   echo $ECHO_N "(cached) $ECHO_C" >&6
35126 else
35127   cat >conftest.$ac_ext <<_ACEOF
35128 #line $LINENO "configure"
35129 /* confdefs.h.  */
35130 _ACEOF
35131 cat confdefs.h >>conftest.$ac_ext
35132 cat >>conftest.$ac_ext <<_ACEOF
35133 /* end confdefs.h.  */
35134 /* System header to define __stub macros and hopefully few prototypes,
35135     which can conflict with char $ac_func (); below.
35136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35137     <limits.h> exists even on freestanding compilers.  */
35138 #ifdef __STDC__
35139 # include <limits.h>
35140 #else
35141 # include <assert.h>
35142 #endif
35143 /* Override any gcc2 internal prototype to avoid an error.  */
35144 #ifdef __cplusplus
35145 extern "C"
35146 {
35147 #endif
35148 /* We use char because int might match the return type of a gcc2
35149    builtin and then its argument prototype would still apply.  */
35150 char $ac_func ();
35151 /* The GNU C library defines this for functions which it implements
35152     to always fail with ENOSYS.  Some functions are actually named
35153     something starting with __ and the normal name is an alias.  */
35154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35155 choke me
35156 #else
35157 char (*f) () = $ac_func;
35158 #endif
35159 #ifdef __cplusplus
35160 }
35161 #endif
35162
35163 int
35164 main ()
35165 {
35166 return f != $ac_func;
35167   ;
35168   return 0;
35169 }
35170 _ACEOF
35171 rm -f conftest.$ac_objext conftest$ac_exeext
35172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35173   (eval $ac_link) 2>&5
35174   ac_status=$?
35175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176   (exit $ac_status); } &&
35177          { ac_try='test -s conftest$ac_exeext'
35178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35179   (eval $ac_try) 2>&5
35180   ac_status=$?
35181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182   (exit $ac_status); }; }; then
35183   eval "$as_ac_var=yes"
35184 else
35185   echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35187
35188 eval "$as_ac_var=no"
35189 fi
35190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35191 fi
35192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35194 if test `eval echo '${'$as_ac_var'}'` = yes; then
35195   cat >>confdefs.h <<_ACEOF
35196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35197 _ACEOF
35198
35199 fi
35200 done
35201
35202   fi
35203
35204
35205
35206   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
35207 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
35208   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35209     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
35210   echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212
35213
35214
35215       ac_ext=cc
35216 ac_cpp='$CXXCPP $CPPFLAGS'
35217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35220
35221       cat >conftest.$ac_ext <<_ACEOF
35222 #line $LINENO "configure"
35223 /* confdefs.h.  */
35224 _ACEOF
35225 cat confdefs.h >>conftest.$ac_ext
35226 cat >>conftest.$ac_ext <<_ACEOF
35227 /* end confdefs.h.  */
35228 #include <math.h>
35229                       #ifdef HAVE_IEEEFP_H
35230                       #include <ieeefp.h>
35231                       #endif
35232
35233 int
35234 main ()
35235 {
35236  isnanl(0);
35237   ;
35238   return 0;
35239 }
35240 _ACEOF
35241 rm -f conftest.$ac_objext
35242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35243   (eval $ac_compile) 2>&5
35244   ac_status=$?
35245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246   (exit $ac_status); } &&
35247          { ac_try='test -s conftest.$ac_objext'
35248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249   (eval $ac_try) 2>&5
35250   ac_status=$?
35251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252   (exit $ac_status); }; }; then
35253   glibcxx_cv_func_isnanl_use=yes
35254 else
35255   echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.$ac_ext >&5
35257
35258 glibcxx_cv_func_isnanl_use=no
35259 fi
35260 rm -f conftest.$ac_objext conftest.$ac_ext
35261       ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35266
35267
35268 fi
35269
35270   fi
35271   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
35272 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
35273
35274   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35275
35276 for ac_func in isnanl
35277 do
35278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35279 echo "$as_me:$LINENO: checking for $ac_func" >&5
35280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35281 if eval "test \"\${$as_ac_var+set}\" = set"; then
35282   echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284   cat >conftest.$ac_ext <<_ACEOF
35285 #line $LINENO "configure"
35286 /* confdefs.h.  */
35287 _ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h.  */
35291 /* System header to define __stub macros and hopefully few prototypes,
35292     which can conflict with char $ac_func (); below.
35293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35294     <limits.h> exists even on freestanding compilers.  */
35295 #ifdef __STDC__
35296 # include <limits.h>
35297 #else
35298 # include <assert.h>
35299 #endif
35300 /* Override any gcc2 internal prototype to avoid an error.  */
35301 #ifdef __cplusplus
35302 extern "C"
35303 {
35304 #endif
35305 /* We use char because int might match the return type of a gcc2
35306    builtin and then its argument prototype would still apply.  */
35307 char $ac_func ();
35308 /* The GNU C library defines this for functions which it implements
35309     to always fail with ENOSYS.  Some functions are actually named
35310     something starting with __ and the normal name is an alias.  */
35311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35312 choke me
35313 #else
35314 char (*f) () = $ac_func;
35315 #endif
35316 #ifdef __cplusplus
35317 }
35318 #endif
35319
35320 int
35321 main ()
35322 {
35323 return f != $ac_func;
35324   ;
35325   return 0;
35326 }
35327 _ACEOF
35328 rm -f conftest.$ac_objext conftest$ac_exeext
35329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35330   (eval $ac_link) 2>&5
35331   ac_status=$?
35332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333   (exit $ac_status); } &&
35334          { ac_try='test -s conftest$ac_exeext'
35335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35336   (eval $ac_try) 2>&5
35337   ac_status=$?
35338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339   (exit $ac_status); }; }; then
35340   eval "$as_ac_var=yes"
35341 else
35342   echo "$as_me: failed program was:" >&5
35343 sed 's/^/| /' conftest.$ac_ext >&5
35344
35345 eval "$as_ac_var=no"
35346 fi
35347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35348 fi
35349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35351 if test `eval echo '${'$as_ac_var'}'` = yes; then
35352   cat >>confdefs.h <<_ACEOF
35353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35354 _ACEOF
35355
35356 fi
35357 done
35358
35359   else
35360
35361   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
35362 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
35363   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35364     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
35365   echo $ECHO_N "(cached) $ECHO_C" >&6
35366 else
35367
35368
35369
35370       ac_ext=cc
35371 ac_cpp='$CXXCPP $CPPFLAGS'
35372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35375
35376       cat >conftest.$ac_ext <<_ACEOF
35377 #line $LINENO "configure"
35378 /* confdefs.h.  */
35379 _ACEOF
35380 cat confdefs.h >>conftest.$ac_ext
35381 cat >>conftest.$ac_ext <<_ACEOF
35382 /* end confdefs.h.  */
35383 #include <math.h>
35384                       #ifdef HAVE_IEEEFP_H
35385                       #include <ieeefp.h>
35386                       #endif
35387
35388 int
35389 main ()
35390 {
35391  _isnanl(0);
35392   ;
35393   return 0;
35394 }
35395 _ACEOF
35396 rm -f conftest.$ac_objext
35397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35398   (eval $ac_compile) 2>&5
35399   ac_status=$?
35400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401   (exit $ac_status); } &&
35402          { ac_try='test -s conftest.$ac_objext'
35403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35404   (eval $ac_try) 2>&5
35405   ac_status=$?
35406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407   (exit $ac_status); }; }; then
35408   glibcxx_cv_func__isnanl_use=yes
35409 else
35410   echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35412
35413 glibcxx_cv_func__isnanl_use=no
35414 fi
35415 rm -f conftest.$ac_objext conftest.$ac_ext
35416       ac_ext=c
35417 ac_cpp='$CPP $CPPFLAGS'
35418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35421
35422
35423 fi
35424
35425   fi
35426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
35427 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
35428
35429     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35430
35431 for ac_func in _isnanl
35432 do
35433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35434 echo "$as_me:$LINENO: checking for $ac_func" >&5
35435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35436 if eval "test \"\${$as_ac_var+set}\" = set"; then
35437   echo $ECHO_N "(cached) $ECHO_C" >&6
35438 else
35439   cat >conftest.$ac_ext <<_ACEOF
35440 #line $LINENO "configure"
35441 /* confdefs.h.  */
35442 _ACEOF
35443 cat confdefs.h >>conftest.$ac_ext
35444 cat >>conftest.$ac_ext <<_ACEOF
35445 /* end confdefs.h.  */
35446 /* System header to define __stub macros and hopefully few prototypes,
35447     which can conflict with char $ac_func (); below.
35448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35449     <limits.h> exists even on freestanding compilers.  */
35450 #ifdef __STDC__
35451 # include <limits.h>
35452 #else
35453 # include <assert.h>
35454 #endif
35455 /* Override any gcc2 internal prototype to avoid an error.  */
35456 #ifdef __cplusplus
35457 extern "C"
35458 {
35459 #endif
35460 /* We use char because int might match the return type of a gcc2
35461    builtin and then its argument prototype would still apply.  */
35462 char $ac_func ();
35463 /* The GNU C library defines this for functions which it implements
35464     to always fail with ENOSYS.  Some functions are actually named
35465     something starting with __ and the normal name is an alias.  */
35466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35467 choke me
35468 #else
35469 char (*f) () = $ac_func;
35470 #endif
35471 #ifdef __cplusplus
35472 }
35473 #endif
35474
35475 int
35476 main ()
35477 {
35478 return f != $ac_func;
35479   ;
35480   return 0;
35481 }
35482 _ACEOF
35483 rm -f conftest.$ac_objext conftest$ac_exeext
35484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35485   (eval $ac_link) 2>&5
35486   ac_status=$?
35487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488   (exit $ac_status); } &&
35489          { ac_try='test -s conftest$ac_exeext'
35490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35491   (eval $ac_try) 2>&5
35492   ac_status=$?
35493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494   (exit $ac_status); }; }; then
35495   eval "$as_ac_var=yes"
35496 else
35497   echo "$as_me: failed program was:" >&5
35498 sed 's/^/| /' conftest.$ac_ext >&5
35499
35500 eval "$as_ac_var=no"
35501 fi
35502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35503 fi
35504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35506 if test `eval echo '${'$as_ac_var'}'` = yes; then
35507   cat >>confdefs.h <<_ACEOF
35508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35509 _ACEOF
35510
35511 fi
35512 done
35513
35514     fi
35515   fi
35516
35517
35518
35519   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
35520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
35521   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35522     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
35523   echo $ECHO_N "(cached) $ECHO_C" >&6
35524 else
35525
35526
35527
35528       ac_ext=cc
35529 ac_cpp='$CXXCPP $CPPFLAGS'
35530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35533
35534       cat >conftest.$ac_ext <<_ACEOF
35535 #line $LINENO "configure"
35536 /* confdefs.h.  */
35537 _ACEOF
35538 cat confdefs.h >>conftest.$ac_ext
35539 cat >>conftest.$ac_ext <<_ACEOF
35540 /* end confdefs.h.  */
35541 #include <math.h>
35542                       #ifdef HAVE_IEEEFP_H
35543                       #include <ieeefp.h>
35544                       #endif
35545
35546 int
35547 main ()
35548 {
35549  isinfl(0);
35550   ;
35551   return 0;
35552 }
35553 _ACEOF
35554 rm -f conftest.$ac_objext
35555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35556   (eval $ac_compile) 2>&5
35557   ac_status=$?
35558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559   (exit $ac_status); } &&
35560          { ac_try='test -s conftest.$ac_objext'
35561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562   (eval $ac_try) 2>&5
35563   ac_status=$?
35564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565   (exit $ac_status); }; }; then
35566   glibcxx_cv_func_isinfl_use=yes
35567 else
35568   echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35570
35571 glibcxx_cv_func_isinfl_use=no
35572 fi
35573 rm -f conftest.$ac_objext conftest.$ac_ext
35574       ac_ext=c
35575 ac_cpp='$CPP $CPPFLAGS'
35576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35579
35580
35581 fi
35582
35583   fi
35584   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
35585 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
35586
35587   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35588
35589 for ac_func in isinfl
35590 do
35591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35592 echo "$as_me:$LINENO: checking for $ac_func" >&5
35593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35594 if eval "test \"\${$as_ac_var+set}\" = set"; then
35595   echo $ECHO_N "(cached) $ECHO_C" >&6
35596 else
35597   cat >conftest.$ac_ext <<_ACEOF
35598 #line $LINENO "configure"
35599 /* confdefs.h.  */
35600 _ACEOF
35601 cat confdefs.h >>conftest.$ac_ext
35602 cat >>conftest.$ac_ext <<_ACEOF
35603 /* end confdefs.h.  */
35604 /* System header to define __stub macros and hopefully few prototypes,
35605     which can conflict with char $ac_func (); below.
35606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35607     <limits.h> exists even on freestanding compilers.  */
35608 #ifdef __STDC__
35609 # include <limits.h>
35610 #else
35611 # include <assert.h>
35612 #endif
35613 /* Override any gcc2 internal prototype to avoid an error.  */
35614 #ifdef __cplusplus
35615 extern "C"
35616 {
35617 #endif
35618 /* We use char because int might match the return type of a gcc2
35619    builtin and then its argument prototype would still apply.  */
35620 char $ac_func ();
35621 /* The GNU C library defines this for functions which it implements
35622     to always fail with ENOSYS.  Some functions are actually named
35623     something starting with __ and the normal name is an alias.  */
35624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35625 choke me
35626 #else
35627 char (*f) () = $ac_func;
35628 #endif
35629 #ifdef __cplusplus
35630 }
35631 #endif
35632
35633 int
35634 main ()
35635 {
35636 return f != $ac_func;
35637   ;
35638   return 0;
35639 }
35640 _ACEOF
35641 rm -f conftest.$ac_objext conftest$ac_exeext
35642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35643   (eval $ac_link) 2>&5
35644   ac_status=$?
35645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646   (exit $ac_status); } &&
35647          { ac_try='test -s conftest$ac_exeext'
35648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35649   (eval $ac_try) 2>&5
35650   ac_status=$?
35651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652   (exit $ac_status); }; }; then
35653   eval "$as_ac_var=yes"
35654 else
35655   echo "$as_me: failed program was:" >&5
35656 sed 's/^/| /' conftest.$ac_ext >&5
35657
35658 eval "$as_ac_var=no"
35659 fi
35660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35661 fi
35662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35664 if test `eval echo '${'$as_ac_var'}'` = yes; then
35665   cat >>confdefs.h <<_ACEOF
35666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35667 _ACEOF
35668
35669 fi
35670 done
35671
35672   else
35673
35674   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
35675 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
35676   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35677     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
35678   echo $ECHO_N "(cached) $ECHO_C" >&6
35679 else
35680
35681
35682
35683       ac_ext=cc
35684 ac_cpp='$CXXCPP $CPPFLAGS'
35685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688
35689       cat >conftest.$ac_ext <<_ACEOF
35690 #line $LINENO "configure"
35691 /* confdefs.h.  */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h.  */
35696 #include <math.h>
35697                       #ifdef HAVE_IEEEFP_H
35698                       #include <ieeefp.h>
35699                       #endif
35700
35701 int
35702 main ()
35703 {
35704  _isinfl(0);
35705   ;
35706   return 0;
35707 }
35708 _ACEOF
35709 rm -f conftest.$ac_objext
35710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35711   (eval $ac_compile) 2>&5
35712   ac_status=$?
35713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714   (exit $ac_status); } &&
35715          { ac_try='test -s conftest.$ac_objext'
35716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35717   (eval $ac_try) 2>&5
35718   ac_status=$?
35719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720   (exit $ac_status); }; }; then
35721   glibcxx_cv_func__isinfl_use=yes
35722 else
35723   echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35725
35726 glibcxx_cv_func__isinfl_use=no
35727 fi
35728 rm -f conftest.$ac_objext conftest.$ac_ext
35729       ac_ext=c
35730 ac_cpp='$CPP $CPPFLAGS'
35731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35734
35735
35736 fi
35737
35738   fi
35739   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
35740 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
35741
35742     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35743
35744 for ac_func in _isinfl
35745 do
35746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35747 echo "$as_me:$LINENO: checking for $ac_func" >&5
35748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35749 if eval "test \"\${$as_ac_var+set}\" = set"; then
35750   echo $ECHO_N "(cached) $ECHO_C" >&6
35751 else
35752   cat >conftest.$ac_ext <<_ACEOF
35753 #line $LINENO "configure"
35754 /* confdefs.h.  */
35755 _ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h.  */
35759 /* System header to define __stub macros and hopefully few prototypes,
35760     which can conflict with char $ac_func (); below.
35761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35762     <limits.h> exists even on freestanding compilers.  */
35763 #ifdef __STDC__
35764 # include <limits.h>
35765 #else
35766 # include <assert.h>
35767 #endif
35768 /* Override any gcc2 internal prototype to avoid an error.  */
35769 #ifdef __cplusplus
35770 extern "C"
35771 {
35772 #endif
35773 /* We use char because int might match the return type of a gcc2
35774    builtin and then its argument prototype would still apply.  */
35775 char $ac_func ();
35776 /* The GNU C library defines this for functions which it implements
35777     to always fail with ENOSYS.  Some functions are actually named
35778     something starting with __ and the normal name is an alias.  */
35779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35780 choke me
35781 #else
35782 char (*f) () = $ac_func;
35783 #endif
35784 #ifdef __cplusplus
35785 }
35786 #endif
35787
35788 int
35789 main ()
35790 {
35791 return f != $ac_func;
35792   ;
35793   return 0;
35794 }
35795 _ACEOF
35796 rm -f conftest.$ac_objext conftest$ac_exeext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35798   (eval $ac_link) 2>&5
35799   ac_status=$?
35800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801   (exit $ac_status); } &&
35802          { ac_try='test -s conftest$ac_exeext'
35803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35804   (eval $ac_try) 2>&5
35805   ac_status=$?
35806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807   (exit $ac_status); }; }; then
35808   eval "$as_ac_var=yes"
35809 else
35810   echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.$ac_ext >&5
35812
35813 eval "$as_ac_var=no"
35814 fi
35815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35816 fi
35817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35819 if test `eval echo '${'$as_ac_var'}'` = yes; then
35820   cat >>confdefs.h <<_ACEOF
35821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35822 _ACEOF
35823
35824 fi
35825 done
35826
35827     fi
35828   fi
35829
35830
35831
35832   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
35833 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
35834   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
35835     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
35836   echo $ECHO_N "(cached) $ECHO_C" >&6
35837 else
35838
35839
35840
35841       ac_ext=cc
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846
35847       cat >conftest.$ac_ext <<_ACEOF
35848 #line $LINENO "configure"
35849 /* confdefs.h.  */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h.  */
35854 #include <math.h>
35855 int
35856 main ()
35857 {
35858  copysignl(0, 0);
35859   ;
35860   return 0;
35861 }
35862 _ACEOF
35863 rm -f conftest.$ac_objext
35864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35865   (eval $ac_compile) 2>&5
35866   ac_status=$?
35867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868   (exit $ac_status); } &&
35869          { ac_try='test -s conftest.$ac_objext'
35870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871   (eval $ac_try) 2>&5
35872   ac_status=$?
35873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874   (exit $ac_status); }; }; then
35875   glibcxx_cv_func_copysignl_use=yes
35876 else
35877   echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35879
35880 glibcxx_cv_func_copysignl_use=no
35881 fi
35882 rm -f conftest.$ac_objext conftest.$ac_ext
35883       ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35888
35889
35890 fi
35891
35892   fi
35893   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
35894 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
35895
35896   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
35897
35898 for ac_func in copysignl
35899 do
35900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35901 echo "$as_me:$LINENO: checking for $ac_func" >&5
35902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35903 if eval "test \"\${$as_ac_var+set}\" = set"; then
35904   echo $ECHO_N "(cached) $ECHO_C" >&6
35905 else
35906   cat >conftest.$ac_ext <<_ACEOF
35907 #line $LINENO "configure"
35908 /* confdefs.h.  */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h.  */
35913 /* System header to define __stub macros and hopefully few prototypes,
35914     which can conflict with char $ac_func (); below.
35915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35916     <limits.h> exists even on freestanding compilers.  */
35917 #ifdef __STDC__
35918 # include <limits.h>
35919 #else
35920 # include <assert.h>
35921 #endif
35922 /* Override any gcc2 internal prototype to avoid an error.  */
35923 #ifdef __cplusplus
35924 extern "C"
35925 {
35926 #endif
35927 /* We use char because int might match the return type of a gcc2
35928    builtin and then its argument prototype would still apply.  */
35929 char $ac_func ();
35930 /* The GNU C library defines this for functions which it implements
35931     to always fail with ENOSYS.  Some functions are actually named
35932     something starting with __ and the normal name is an alias.  */
35933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35934 choke me
35935 #else
35936 char (*f) () = $ac_func;
35937 #endif
35938 #ifdef __cplusplus
35939 }
35940 #endif
35941
35942 int
35943 main ()
35944 {
35945 return f != $ac_func;
35946   ;
35947   return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext conftest$ac_exeext
35951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35952   (eval $ac_link) 2>&5
35953   ac_status=$?
35954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955   (exit $ac_status); } &&
35956          { ac_try='test -s conftest$ac_exeext'
35957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35958   (eval $ac_try) 2>&5
35959   ac_status=$?
35960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961   (exit $ac_status); }; }; then
35962   eval "$as_ac_var=yes"
35963 else
35964   echo "$as_me: failed program was:" >&5
35965 sed 's/^/| /' conftest.$ac_ext >&5
35966
35967 eval "$as_ac_var=no"
35968 fi
35969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35970 fi
35971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35973 if test `eval echo '${'$as_ac_var'}'` = yes; then
35974   cat >>confdefs.h <<_ACEOF
35975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35976 _ACEOF
35977
35978 fi
35979 done
35980
35981   else
35982
35983   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
35984 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
35985   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
35986     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
35987   echo $ECHO_N "(cached) $ECHO_C" >&6
35988 else
35989
35990
35991
35992       ac_ext=cc
35993 ac_cpp='$CXXCPP $CPPFLAGS'
35994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35997
35998       cat >conftest.$ac_ext <<_ACEOF
35999 #line $LINENO "configure"
36000 /* confdefs.h.  */
36001 _ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h.  */
36005 #include <math.h>
36006 int
36007 main ()
36008 {
36009  _copysignl(0, 0);
36010   ;
36011   return 0;
36012 }
36013 _ACEOF
36014 rm -f conftest.$ac_objext
36015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36016   (eval $ac_compile) 2>&5
36017   ac_status=$?
36018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36019   (exit $ac_status); } &&
36020          { ac_try='test -s conftest.$ac_objext'
36021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022   (eval $ac_try) 2>&5
36023   ac_status=$?
36024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025   (exit $ac_status); }; }; then
36026   glibcxx_cv_func__copysignl_use=yes
36027 else
36028   echo "$as_me: failed program was:" >&5
36029 sed 's/^/| /' conftest.$ac_ext >&5
36030
36031 glibcxx_cv_func__copysignl_use=no
36032 fi
36033 rm -f conftest.$ac_objext conftest.$ac_ext
36034       ac_ext=c
36035 ac_cpp='$CPP $CPPFLAGS'
36036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36039
36040
36041 fi
36042
36043   fi
36044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
36045 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
36046
36047     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
36048
36049 for ac_func in _copysignl
36050 do
36051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36052 echo "$as_me:$LINENO: checking for $ac_func" >&5
36053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36054 if eval "test \"\${$as_ac_var+set}\" = set"; then
36055   echo $ECHO_N "(cached) $ECHO_C" >&6
36056 else
36057   cat >conftest.$ac_ext <<_ACEOF
36058 #line $LINENO "configure"
36059 /* confdefs.h.  */
36060 _ACEOF
36061 cat confdefs.h >>conftest.$ac_ext
36062 cat >>conftest.$ac_ext <<_ACEOF
36063 /* end confdefs.h.  */
36064 /* System header to define __stub macros and hopefully few prototypes,
36065     which can conflict with char $ac_func (); below.
36066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36067     <limits.h> exists even on freestanding compilers.  */
36068 #ifdef __STDC__
36069 # include <limits.h>
36070 #else
36071 # include <assert.h>
36072 #endif
36073 /* Override any gcc2 internal prototype to avoid an error.  */
36074 #ifdef __cplusplus
36075 extern "C"
36076 {
36077 #endif
36078 /* We use char because int might match the return type of a gcc2
36079    builtin and then its argument prototype would still apply.  */
36080 char $ac_func ();
36081 /* The GNU C library defines this for functions which it implements
36082     to always fail with ENOSYS.  Some functions are actually named
36083     something starting with __ and the normal name is an alias.  */
36084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36085 choke me
36086 #else
36087 char (*f) () = $ac_func;
36088 #endif
36089 #ifdef __cplusplus
36090 }
36091 #endif
36092
36093 int
36094 main ()
36095 {
36096 return f != $ac_func;
36097   ;
36098   return 0;
36099 }
36100 _ACEOF
36101 rm -f conftest.$ac_objext conftest$ac_exeext
36102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36103   (eval $ac_link) 2>&5
36104   ac_status=$?
36105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106   (exit $ac_status); } &&
36107          { ac_try='test -s conftest$ac_exeext'
36108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36109   (eval $ac_try) 2>&5
36110   ac_status=$?
36111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112   (exit $ac_status); }; }; then
36113   eval "$as_ac_var=yes"
36114 else
36115   echo "$as_me: failed program was:" >&5
36116 sed 's/^/| /' conftest.$ac_ext >&5
36117
36118 eval "$as_ac_var=no"
36119 fi
36120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36121 fi
36122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36124 if test `eval echo '${'$as_ac_var'}'` = yes; then
36125   cat >>confdefs.h <<_ACEOF
36126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36127 _ACEOF
36128
36129 fi
36130 done
36131
36132     fi
36133   fi
36134
36135
36136
36137   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
36138 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
36139   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36140     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
36141   echo $ECHO_N "(cached) $ECHO_C" >&6
36142 else
36143
36144
36145
36146       ac_ext=cc
36147 ac_cpp='$CXXCPP $CPPFLAGS'
36148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36151
36152       cat >conftest.$ac_ext <<_ACEOF
36153 #line $LINENO "configure"
36154 /* confdefs.h.  */
36155 _ACEOF
36156 cat confdefs.h >>conftest.$ac_ext
36157 cat >>conftest.$ac_ext <<_ACEOF
36158 /* end confdefs.h.  */
36159 #include <math.h>
36160 int
36161 main ()
36162 {
36163  atan2l(0, 0);
36164   ;
36165   return 0;
36166 }
36167 _ACEOF
36168 rm -f conftest.$ac_objext
36169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36170   (eval $ac_compile) 2>&5
36171   ac_status=$?
36172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173   (exit $ac_status); } &&
36174          { ac_try='test -s conftest.$ac_objext'
36175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36176   (eval $ac_try) 2>&5
36177   ac_status=$?
36178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179   (exit $ac_status); }; }; then
36180   glibcxx_cv_func_atan2l_use=yes
36181 else
36182   echo "$as_me: failed program was:" >&5
36183 sed 's/^/| /' conftest.$ac_ext >&5
36184
36185 glibcxx_cv_func_atan2l_use=no
36186 fi
36187 rm -f conftest.$ac_objext conftest.$ac_ext
36188       ac_ext=c
36189 ac_cpp='$CPP $CPPFLAGS'
36190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36193
36194
36195 fi
36196
36197   fi
36198   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
36199 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
36200
36201   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36202
36203 for ac_func in atan2l
36204 do
36205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36206 echo "$as_me:$LINENO: checking for $ac_func" >&5
36207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36208 if eval "test \"\${$as_ac_var+set}\" = set"; then
36209   echo $ECHO_N "(cached) $ECHO_C" >&6
36210 else
36211   cat >conftest.$ac_ext <<_ACEOF
36212 #line $LINENO "configure"
36213 /* confdefs.h.  */
36214 _ACEOF
36215 cat confdefs.h >>conftest.$ac_ext
36216 cat >>conftest.$ac_ext <<_ACEOF
36217 /* end confdefs.h.  */
36218 /* System header to define __stub macros and hopefully few prototypes,
36219     which can conflict with char $ac_func (); below.
36220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36221     <limits.h> exists even on freestanding compilers.  */
36222 #ifdef __STDC__
36223 # include <limits.h>
36224 #else
36225 # include <assert.h>
36226 #endif
36227 /* Override any gcc2 internal prototype to avoid an error.  */
36228 #ifdef __cplusplus
36229 extern "C"
36230 {
36231 #endif
36232 /* We use char because int might match the return type of a gcc2
36233    builtin and then its argument prototype would still apply.  */
36234 char $ac_func ();
36235 /* The GNU C library defines this for functions which it implements
36236     to always fail with ENOSYS.  Some functions are actually named
36237     something starting with __ and the normal name is an alias.  */
36238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36239 choke me
36240 #else
36241 char (*f) () = $ac_func;
36242 #endif
36243 #ifdef __cplusplus
36244 }
36245 #endif
36246
36247 int
36248 main ()
36249 {
36250 return f != $ac_func;
36251   ;
36252   return 0;
36253 }
36254 _ACEOF
36255 rm -f conftest.$ac_objext conftest$ac_exeext
36256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36257   (eval $ac_link) 2>&5
36258   ac_status=$?
36259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260   (exit $ac_status); } &&
36261          { ac_try='test -s conftest$ac_exeext'
36262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36263   (eval $ac_try) 2>&5
36264   ac_status=$?
36265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266   (exit $ac_status); }; }; then
36267   eval "$as_ac_var=yes"
36268 else
36269   echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.$ac_ext >&5
36271
36272 eval "$as_ac_var=no"
36273 fi
36274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36275 fi
36276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36278 if test `eval echo '${'$as_ac_var'}'` = yes; then
36279   cat >>confdefs.h <<_ACEOF
36280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36281 _ACEOF
36282
36283 fi
36284 done
36285
36286   else
36287
36288   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
36289 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
36290   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36291     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
36292   echo $ECHO_N "(cached) $ECHO_C" >&6
36293 else
36294
36295
36296
36297       ac_ext=cc
36298 ac_cpp='$CXXCPP $CPPFLAGS'
36299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36302
36303       cat >conftest.$ac_ext <<_ACEOF
36304 #line $LINENO "configure"
36305 /* confdefs.h.  */
36306 _ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h.  */
36310 #include <math.h>
36311 int
36312 main ()
36313 {
36314  _atan2l(0, 0);
36315   ;
36316   return 0;
36317 }
36318 _ACEOF
36319 rm -f conftest.$ac_objext
36320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36321   (eval $ac_compile) 2>&5
36322   ac_status=$?
36323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324   (exit $ac_status); } &&
36325          { ac_try='test -s conftest.$ac_objext'
36326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327   (eval $ac_try) 2>&5
36328   ac_status=$?
36329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330   (exit $ac_status); }; }; then
36331   glibcxx_cv_func__atan2l_use=yes
36332 else
36333   echo "$as_me: failed program was:" >&5
36334 sed 's/^/| /' conftest.$ac_ext >&5
36335
36336 glibcxx_cv_func__atan2l_use=no
36337 fi
36338 rm -f conftest.$ac_objext conftest.$ac_ext
36339       ac_ext=c
36340 ac_cpp='$CPP $CPPFLAGS'
36341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36344
36345
36346 fi
36347
36348   fi
36349   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
36350 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
36351
36352     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36353
36354 for ac_func in _atan2l
36355 do
36356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36357 echo "$as_me:$LINENO: checking for $ac_func" >&5
36358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36359 if eval "test \"\${$as_ac_var+set}\" = set"; then
36360   echo $ECHO_N "(cached) $ECHO_C" >&6
36361 else
36362   cat >conftest.$ac_ext <<_ACEOF
36363 #line $LINENO "configure"
36364 /* confdefs.h.  */
36365 _ACEOF
36366 cat confdefs.h >>conftest.$ac_ext
36367 cat >>conftest.$ac_ext <<_ACEOF
36368 /* end confdefs.h.  */
36369 /* System header to define __stub macros and hopefully few prototypes,
36370     which can conflict with char $ac_func (); below.
36371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36372     <limits.h> exists even on freestanding compilers.  */
36373 #ifdef __STDC__
36374 # include <limits.h>
36375 #else
36376 # include <assert.h>
36377 #endif
36378 /* Override any gcc2 internal prototype to avoid an error.  */
36379 #ifdef __cplusplus
36380 extern "C"
36381 {
36382 #endif
36383 /* We use char because int might match the return type of a gcc2
36384    builtin and then its argument prototype would still apply.  */
36385 char $ac_func ();
36386 /* The GNU C library defines this for functions which it implements
36387     to always fail with ENOSYS.  Some functions are actually named
36388     something starting with __ and the normal name is an alias.  */
36389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36390 choke me
36391 #else
36392 char (*f) () = $ac_func;
36393 #endif
36394 #ifdef __cplusplus
36395 }
36396 #endif
36397
36398 int
36399 main ()
36400 {
36401 return f != $ac_func;
36402   ;
36403   return 0;
36404 }
36405 _ACEOF
36406 rm -f conftest.$ac_objext conftest$ac_exeext
36407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36408   (eval $ac_link) 2>&5
36409   ac_status=$?
36410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411   (exit $ac_status); } &&
36412          { ac_try='test -s conftest$ac_exeext'
36413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36414   (eval $ac_try) 2>&5
36415   ac_status=$?
36416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417   (exit $ac_status); }; }; then
36418   eval "$as_ac_var=yes"
36419 else
36420   echo "$as_me: failed program was:" >&5
36421 sed 's/^/| /' conftest.$ac_ext >&5
36422
36423 eval "$as_ac_var=no"
36424 fi
36425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36426 fi
36427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36429 if test `eval echo '${'$as_ac_var'}'` = yes; then
36430   cat >>confdefs.h <<_ACEOF
36431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36432 _ACEOF
36433
36434 fi
36435 done
36436
36437     fi
36438   fi
36439
36440
36441
36442   echo "$as_me:$LINENO: checking for expl declaration" >&5
36443 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
36444   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36445     if test "${glibcxx_cv_func_expl_use+set}" = set; then
36446   echo $ECHO_N "(cached) $ECHO_C" >&6
36447 else
36448
36449
36450
36451       ac_ext=cc
36452 ac_cpp='$CXXCPP $CPPFLAGS'
36453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36456
36457       cat >conftest.$ac_ext <<_ACEOF
36458 #line $LINENO "configure"
36459 /* confdefs.h.  */
36460 _ACEOF
36461 cat confdefs.h >>conftest.$ac_ext
36462 cat >>conftest.$ac_ext <<_ACEOF
36463 /* end confdefs.h.  */
36464 #include <math.h>
36465                       #ifdef HAVE_IEEEFP_H
36466                       #include <ieeefp.h>
36467                       #endif
36468
36469 int
36470 main ()
36471 {
36472  expl(0);
36473   ;
36474   return 0;
36475 }
36476 _ACEOF
36477 rm -f conftest.$ac_objext
36478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36479   (eval $ac_compile) 2>&5
36480   ac_status=$?
36481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482   (exit $ac_status); } &&
36483          { ac_try='test -s conftest.$ac_objext'
36484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485   (eval $ac_try) 2>&5
36486   ac_status=$?
36487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488   (exit $ac_status); }; }; then
36489   glibcxx_cv_func_expl_use=yes
36490 else
36491   echo "$as_me: failed program was:" >&5
36492 sed 's/^/| /' conftest.$ac_ext >&5
36493
36494 glibcxx_cv_func_expl_use=no
36495 fi
36496 rm -f conftest.$ac_objext conftest.$ac_ext
36497       ac_ext=c
36498 ac_cpp='$CPP $CPPFLAGS'
36499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36502
36503
36504 fi
36505
36506   fi
36507   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
36508 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
36509
36510   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36511
36512 for ac_func in expl
36513 do
36514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36515 echo "$as_me:$LINENO: checking for $ac_func" >&5
36516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36517 if eval "test \"\${$as_ac_var+set}\" = set"; then
36518   echo $ECHO_N "(cached) $ECHO_C" >&6
36519 else
36520   cat >conftest.$ac_ext <<_ACEOF
36521 #line $LINENO "configure"
36522 /* confdefs.h.  */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h.  */
36527 /* System header to define __stub macros and hopefully few prototypes,
36528     which can conflict with char $ac_func (); below.
36529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36530     <limits.h> exists even on freestanding compilers.  */
36531 #ifdef __STDC__
36532 # include <limits.h>
36533 #else
36534 # include <assert.h>
36535 #endif
36536 /* Override any gcc2 internal prototype to avoid an error.  */
36537 #ifdef __cplusplus
36538 extern "C"
36539 {
36540 #endif
36541 /* We use char because int might match the return type of a gcc2
36542    builtin and then its argument prototype would still apply.  */
36543 char $ac_func ();
36544 /* The GNU C library defines this for functions which it implements
36545     to always fail with ENOSYS.  Some functions are actually named
36546     something starting with __ and the normal name is an alias.  */
36547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36548 choke me
36549 #else
36550 char (*f) () = $ac_func;
36551 #endif
36552 #ifdef __cplusplus
36553 }
36554 #endif
36555
36556 int
36557 main ()
36558 {
36559 return f != $ac_func;
36560   ;
36561   return 0;
36562 }
36563 _ACEOF
36564 rm -f conftest.$ac_objext conftest$ac_exeext
36565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36566   (eval $ac_link) 2>&5
36567   ac_status=$?
36568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569   (exit $ac_status); } &&
36570          { ac_try='test -s conftest$ac_exeext'
36571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36572   (eval $ac_try) 2>&5
36573   ac_status=$?
36574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575   (exit $ac_status); }; }; then
36576   eval "$as_ac_var=yes"
36577 else
36578   echo "$as_me: failed program was:" >&5
36579 sed 's/^/| /' conftest.$ac_ext >&5
36580
36581 eval "$as_ac_var=no"
36582 fi
36583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36584 fi
36585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36587 if test `eval echo '${'$as_ac_var'}'` = yes; then
36588   cat >>confdefs.h <<_ACEOF
36589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36590 _ACEOF
36591
36592 fi
36593 done
36594
36595   else
36596
36597   echo "$as_me:$LINENO: checking for _expl declaration" >&5
36598 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
36599   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36600     if test "${glibcxx_cv_func__expl_use+set}" = set; then
36601   echo $ECHO_N "(cached) $ECHO_C" >&6
36602 else
36603
36604
36605
36606       ac_ext=cc
36607 ac_cpp='$CXXCPP $CPPFLAGS'
36608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36611
36612       cat >conftest.$ac_ext <<_ACEOF
36613 #line $LINENO "configure"
36614 /* confdefs.h.  */
36615 _ACEOF
36616 cat confdefs.h >>conftest.$ac_ext
36617 cat >>conftest.$ac_ext <<_ACEOF
36618 /* end confdefs.h.  */
36619 #include <math.h>
36620                       #ifdef HAVE_IEEEFP_H
36621                       #include <ieeefp.h>
36622                       #endif
36623
36624 int
36625 main ()
36626 {
36627  _expl(0);
36628   ;
36629   return 0;
36630 }
36631 _ACEOF
36632 rm -f conftest.$ac_objext
36633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36634   (eval $ac_compile) 2>&5
36635   ac_status=$?
36636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637   (exit $ac_status); } &&
36638          { ac_try='test -s conftest.$ac_objext'
36639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640   (eval $ac_try) 2>&5
36641   ac_status=$?
36642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643   (exit $ac_status); }; }; then
36644   glibcxx_cv_func__expl_use=yes
36645 else
36646   echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36648
36649 glibcxx_cv_func__expl_use=no
36650 fi
36651 rm -f conftest.$ac_objext conftest.$ac_ext
36652       ac_ext=c
36653 ac_cpp='$CPP $CPPFLAGS'
36654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36657
36658
36659 fi
36660
36661   fi
36662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
36663 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
36664
36665     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36666
36667 for ac_func in _expl
36668 do
36669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36670 echo "$as_me:$LINENO: checking for $ac_func" >&5
36671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36672 if eval "test \"\${$as_ac_var+set}\" = set"; then
36673   echo $ECHO_N "(cached) $ECHO_C" >&6
36674 else
36675   cat >conftest.$ac_ext <<_ACEOF
36676 #line $LINENO "configure"
36677 /* confdefs.h.  */
36678 _ACEOF
36679 cat confdefs.h >>conftest.$ac_ext
36680 cat >>conftest.$ac_ext <<_ACEOF
36681 /* end confdefs.h.  */
36682 /* System header to define __stub macros and hopefully few prototypes,
36683     which can conflict with char $ac_func (); below.
36684     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36685     <limits.h> exists even on freestanding compilers.  */
36686 #ifdef __STDC__
36687 # include <limits.h>
36688 #else
36689 # include <assert.h>
36690 #endif
36691 /* Override any gcc2 internal prototype to avoid an error.  */
36692 #ifdef __cplusplus
36693 extern "C"
36694 {
36695 #endif
36696 /* We use char because int might match the return type of a gcc2
36697    builtin and then its argument prototype would still apply.  */
36698 char $ac_func ();
36699 /* The GNU C library defines this for functions which it implements
36700     to always fail with ENOSYS.  Some functions are actually named
36701     something starting with __ and the normal name is an alias.  */
36702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36703 choke me
36704 #else
36705 char (*f) () = $ac_func;
36706 #endif
36707 #ifdef __cplusplus
36708 }
36709 #endif
36710
36711 int
36712 main ()
36713 {
36714 return f != $ac_func;
36715   ;
36716   return 0;
36717 }
36718 _ACEOF
36719 rm -f conftest.$ac_objext conftest$ac_exeext
36720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36721   (eval $ac_link) 2>&5
36722   ac_status=$?
36723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724   (exit $ac_status); } &&
36725          { ac_try='test -s conftest$ac_exeext'
36726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36727   (eval $ac_try) 2>&5
36728   ac_status=$?
36729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36730   (exit $ac_status); }; }; then
36731   eval "$as_ac_var=yes"
36732 else
36733   echo "$as_me: failed program was:" >&5
36734 sed 's/^/| /' conftest.$ac_ext >&5
36735
36736 eval "$as_ac_var=no"
36737 fi
36738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36739 fi
36740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36742 if test `eval echo '${'$as_ac_var'}'` = yes; then
36743   cat >>confdefs.h <<_ACEOF
36744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 _ACEOF
36746
36747 fi
36748 done
36749
36750     fi
36751   fi
36752
36753
36754
36755   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36756 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36757   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36758     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36759   echo $ECHO_N "(cached) $ECHO_C" >&6
36760 else
36761
36762
36763
36764       ac_ext=cc
36765 ac_cpp='$CXXCPP $CPPFLAGS'
36766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769
36770       cat >conftest.$ac_ext <<_ACEOF
36771 #line $LINENO "configure"
36772 /* confdefs.h.  */
36773 _ACEOF
36774 cat confdefs.h >>conftest.$ac_ext
36775 cat >>conftest.$ac_ext <<_ACEOF
36776 /* end confdefs.h.  */
36777 #include <math.h>
36778                       #ifdef HAVE_IEEEFP_H
36779                       #include <ieeefp.h>
36780                       #endif
36781
36782 int
36783 main ()
36784 {
36785  fabsl(0);
36786   ;
36787   return 0;
36788 }
36789 _ACEOF
36790 rm -f conftest.$ac_objext
36791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36792   (eval $ac_compile) 2>&5
36793   ac_status=$?
36794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795   (exit $ac_status); } &&
36796          { ac_try='test -s conftest.$ac_objext'
36797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36798   (eval $ac_try) 2>&5
36799   ac_status=$?
36800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801   (exit $ac_status); }; }; then
36802   glibcxx_cv_func_fabsl_use=yes
36803 else
36804   echo "$as_me: failed program was:" >&5
36805 sed 's/^/| /' conftest.$ac_ext >&5
36806
36807 glibcxx_cv_func_fabsl_use=no
36808 fi
36809 rm -f conftest.$ac_objext conftest.$ac_ext
36810       ac_ext=c
36811 ac_cpp='$CPP $CPPFLAGS'
36812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36815
36816
36817 fi
36818
36819   fi
36820   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36821 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36822
36823   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36824
36825 for ac_func in fabsl
36826 do
36827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36828 echo "$as_me:$LINENO: checking for $ac_func" >&5
36829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36830 if eval "test \"\${$as_ac_var+set}\" = set"; then
36831   echo $ECHO_N "(cached) $ECHO_C" >&6
36832 else
36833   cat >conftest.$ac_ext <<_ACEOF
36834 #line $LINENO "configure"
36835 /* confdefs.h.  */
36836 _ACEOF
36837 cat confdefs.h >>conftest.$ac_ext
36838 cat >>conftest.$ac_ext <<_ACEOF
36839 /* end confdefs.h.  */
36840 /* System header to define __stub macros and hopefully few prototypes,
36841     which can conflict with char $ac_func (); below.
36842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36843     <limits.h> exists even on freestanding compilers.  */
36844 #ifdef __STDC__
36845 # include <limits.h>
36846 #else
36847 # include <assert.h>
36848 #endif
36849 /* Override any gcc2 internal prototype to avoid an error.  */
36850 #ifdef __cplusplus
36851 extern "C"
36852 {
36853 #endif
36854 /* We use char because int might match the return type of a gcc2
36855    builtin and then its argument prototype would still apply.  */
36856 char $ac_func ();
36857 /* The GNU C library defines this for functions which it implements
36858     to always fail with ENOSYS.  Some functions are actually named
36859     something starting with __ and the normal name is an alias.  */
36860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36861 choke me
36862 #else
36863 char (*f) () = $ac_func;
36864 #endif
36865 #ifdef __cplusplus
36866 }
36867 #endif
36868
36869 int
36870 main ()
36871 {
36872 return f != $ac_func;
36873   ;
36874   return 0;
36875 }
36876 _ACEOF
36877 rm -f conftest.$ac_objext conftest$ac_exeext
36878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36879   (eval $ac_link) 2>&5
36880   ac_status=$?
36881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882   (exit $ac_status); } &&
36883          { ac_try='test -s conftest$ac_exeext'
36884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885   (eval $ac_try) 2>&5
36886   ac_status=$?
36887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888   (exit $ac_status); }; }; then
36889   eval "$as_ac_var=yes"
36890 else
36891   echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36893
36894 eval "$as_ac_var=no"
36895 fi
36896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36897 fi
36898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36900 if test `eval echo '${'$as_ac_var'}'` = yes; then
36901   cat >>confdefs.h <<_ACEOF
36902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36903 _ACEOF
36904
36905 fi
36906 done
36907
36908   else
36909
36910   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36911 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36912   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36913     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36914   echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916
36917
36918
36919       ac_ext=cc
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924
36925       cat >conftest.$ac_ext <<_ACEOF
36926 #line $LINENO "configure"
36927 /* confdefs.h.  */
36928 _ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h.  */
36932 #include <math.h>
36933                       #ifdef HAVE_IEEEFP_H
36934                       #include <ieeefp.h>
36935                       #endif
36936
36937 int
36938 main ()
36939 {
36940  _fabsl(0);
36941   ;
36942   return 0;
36943 }
36944 _ACEOF
36945 rm -f conftest.$ac_objext
36946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36947   (eval $ac_compile) 2>&5
36948   ac_status=$?
36949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950   (exit $ac_status); } &&
36951          { ac_try='test -s conftest.$ac_objext'
36952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36953   (eval $ac_try) 2>&5
36954   ac_status=$?
36955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956   (exit $ac_status); }; }; then
36957   glibcxx_cv_func__fabsl_use=yes
36958 else
36959   echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.$ac_ext >&5
36961
36962 glibcxx_cv_func__fabsl_use=no
36963 fi
36964 rm -f conftest.$ac_objext conftest.$ac_ext
36965       ac_ext=c
36966 ac_cpp='$CPP $CPPFLAGS'
36967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36970
36971
36972 fi
36973
36974   fi
36975   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36976 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36977
36978     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36979
36980 for ac_func in _fabsl
36981 do
36982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36983 echo "$as_me:$LINENO: checking for $ac_func" >&5
36984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36985 if eval "test \"\${$as_ac_var+set}\" = set"; then
36986   echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988   cat >conftest.$ac_ext <<_ACEOF
36989 #line $LINENO "configure"
36990 /* confdefs.h.  */
36991 _ACEOF
36992 cat confdefs.h >>conftest.$ac_ext
36993 cat >>conftest.$ac_ext <<_ACEOF
36994 /* end confdefs.h.  */
36995 /* System header to define __stub macros and hopefully few prototypes,
36996     which can conflict with char $ac_func (); below.
36997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36998     <limits.h> exists even on freestanding compilers.  */
36999 #ifdef __STDC__
37000 # include <limits.h>
37001 #else
37002 # include <assert.h>
37003 #endif
37004 /* Override any gcc2 internal prototype to avoid an error.  */
37005 #ifdef __cplusplus
37006 extern "C"
37007 {
37008 #endif
37009 /* We use char because int might match the return type of a gcc2
37010    builtin and then its argument prototype would still apply.  */
37011 char $ac_func ();
37012 /* The GNU C library defines this for functions which it implements
37013     to always fail with ENOSYS.  Some functions are actually named
37014     something starting with __ and the normal name is an alias.  */
37015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37016 choke me
37017 #else
37018 char (*f) () = $ac_func;
37019 #endif
37020 #ifdef __cplusplus
37021 }
37022 #endif
37023
37024 int
37025 main ()
37026 {
37027 return f != $ac_func;
37028   ;
37029   return 0;
37030 }
37031 _ACEOF
37032 rm -f conftest.$ac_objext conftest$ac_exeext
37033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37034   (eval $ac_link) 2>&5
37035   ac_status=$?
37036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037   (exit $ac_status); } &&
37038          { ac_try='test -s conftest$ac_exeext'
37039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040   (eval $ac_try) 2>&5
37041   ac_status=$?
37042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043   (exit $ac_status); }; }; then
37044   eval "$as_ac_var=yes"
37045 else
37046   echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049 eval "$as_ac_var=no"
37050 fi
37051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37052 fi
37053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37055 if test `eval echo '${'$as_ac_var'}'` = yes; then
37056   cat >>confdefs.h <<_ACEOF
37057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37058 _ACEOF
37059
37060 fi
37061 done
37062
37063     fi
37064   fi
37065
37066
37067
37068   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
37069 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
37070   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37071     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
37072   echo $ECHO_N "(cached) $ECHO_C" >&6
37073 else
37074
37075
37076
37077       ac_ext=cc
37078 ac_cpp='$CXXCPP $CPPFLAGS'
37079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37082
37083       cat >conftest.$ac_ext <<_ACEOF
37084 #line $LINENO "configure"
37085 /* confdefs.h.  */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h.  */
37090 #include <math.h>
37091 int
37092 main ()
37093 {
37094  fmodl(0, 0);
37095   ;
37096   return 0;
37097 }
37098 _ACEOF
37099 rm -f conftest.$ac_objext
37100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37101   (eval $ac_compile) 2>&5
37102   ac_status=$?
37103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104   (exit $ac_status); } &&
37105          { ac_try='test -s conftest.$ac_objext'
37106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107   (eval $ac_try) 2>&5
37108   ac_status=$?
37109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110   (exit $ac_status); }; }; then
37111   glibcxx_cv_func_fmodl_use=yes
37112 else
37113   echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37115
37116 glibcxx_cv_func_fmodl_use=no
37117 fi
37118 rm -f conftest.$ac_objext conftest.$ac_ext
37119       ac_ext=c
37120 ac_cpp='$CPP $CPPFLAGS'
37121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37124
37125
37126 fi
37127
37128   fi
37129   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
37130 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
37131
37132   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37133
37134 for ac_func in fmodl
37135 do
37136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37137 echo "$as_me:$LINENO: checking for $ac_func" >&5
37138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37139 if eval "test \"\${$as_ac_var+set}\" = set"; then
37140   echo $ECHO_N "(cached) $ECHO_C" >&6
37141 else
37142   cat >conftest.$ac_ext <<_ACEOF
37143 #line $LINENO "configure"
37144 /* confdefs.h.  */
37145 _ACEOF
37146 cat confdefs.h >>conftest.$ac_ext
37147 cat >>conftest.$ac_ext <<_ACEOF
37148 /* end confdefs.h.  */
37149 /* System header to define __stub macros and hopefully few prototypes,
37150     which can conflict with char $ac_func (); below.
37151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37152     <limits.h> exists even on freestanding compilers.  */
37153 #ifdef __STDC__
37154 # include <limits.h>
37155 #else
37156 # include <assert.h>
37157 #endif
37158 /* Override any gcc2 internal prototype to avoid an error.  */
37159 #ifdef __cplusplus
37160 extern "C"
37161 {
37162 #endif
37163 /* We use char because int might match the return type of a gcc2
37164    builtin and then its argument prototype would still apply.  */
37165 char $ac_func ();
37166 /* The GNU C library defines this for functions which it implements
37167     to always fail with ENOSYS.  Some functions are actually named
37168     something starting with __ and the normal name is an alias.  */
37169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37170 choke me
37171 #else
37172 char (*f) () = $ac_func;
37173 #endif
37174 #ifdef __cplusplus
37175 }
37176 #endif
37177
37178 int
37179 main ()
37180 {
37181 return f != $ac_func;
37182   ;
37183   return 0;
37184 }
37185 _ACEOF
37186 rm -f conftest.$ac_objext conftest$ac_exeext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37188   (eval $ac_link) 2>&5
37189   ac_status=$?
37190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191   (exit $ac_status); } &&
37192          { ac_try='test -s conftest$ac_exeext'
37193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37194   (eval $ac_try) 2>&5
37195   ac_status=$?
37196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197   (exit $ac_status); }; }; then
37198   eval "$as_ac_var=yes"
37199 else
37200   echo "$as_me: failed program was:" >&5
37201 sed 's/^/| /' conftest.$ac_ext >&5
37202
37203 eval "$as_ac_var=no"
37204 fi
37205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37206 fi
37207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37209 if test `eval echo '${'$as_ac_var'}'` = yes; then
37210   cat >>confdefs.h <<_ACEOF
37211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212 _ACEOF
37213
37214 fi
37215 done
37216
37217   else
37218
37219   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
37220 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
37221   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37222     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
37223   echo $ECHO_N "(cached) $ECHO_C" >&6
37224 else
37225
37226
37227
37228       ac_ext=cc
37229 ac_cpp='$CXXCPP $CPPFLAGS'
37230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37233
37234       cat >conftest.$ac_ext <<_ACEOF
37235 #line $LINENO "configure"
37236 /* confdefs.h.  */
37237 _ACEOF
37238 cat confdefs.h >>conftest.$ac_ext
37239 cat >>conftest.$ac_ext <<_ACEOF
37240 /* end confdefs.h.  */
37241 #include <math.h>
37242 int
37243 main ()
37244 {
37245  _fmodl(0, 0);
37246   ;
37247   return 0;
37248 }
37249 _ACEOF
37250 rm -f conftest.$ac_objext
37251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37252   (eval $ac_compile) 2>&5
37253   ac_status=$?
37254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255   (exit $ac_status); } &&
37256          { ac_try='test -s conftest.$ac_objext'
37257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37258   (eval $ac_try) 2>&5
37259   ac_status=$?
37260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261   (exit $ac_status); }; }; then
37262   glibcxx_cv_func__fmodl_use=yes
37263 else
37264   echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.$ac_ext >&5
37266
37267 glibcxx_cv_func__fmodl_use=no
37268 fi
37269 rm -f conftest.$ac_objext conftest.$ac_ext
37270       ac_ext=c
37271 ac_cpp='$CPP $CPPFLAGS'
37272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37275
37276
37277 fi
37278
37279   fi
37280   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
37281 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
37282
37283     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37284
37285 for ac_func in _fmodl
37286 do
37287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37288 echo "$as_me:$LINENO: checking for $ac_func" >&5
37289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37290 if eval "test \"\${$as_ac_var+set}\" = set"; then
37291   echo $ECHO_N "(cached) $ECHO_C" >&6
37292 else
37293   cat >conftest.$ac_ext <<_ACEOF
37294 #line $LINENO "configure"
37295 /* confdefs.h.  */
37296 _ACEOF
37297 cat confdefs.h >>conftest.$ac_ext
37298 cat >>conftest.$ac_ext <<_ACEOF
37299 /* end confdefs.h.  */
37300 /* System header to define __stub macros and hopefully few prototypes,
37301     which can conflict with char $ac_func (); below.
37302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37303     <limits.h> exists even on freestanding compilers.  */
37304 #ifdef __STDC__
37305 # include <limits.h>
37306 #else
37307 # include <assert.h>
37308 #endif
37309 /* Override any gcc2 internal prototype to avoid an error.  */
37310 #ifdef __cplusplus
37311 extern "C"
37312 {
37313 #endif
37314 /* We use char because int might match the return type of a gcc2
37315    builtin and then its argument prototype would still apply.  */
37316 char $ac_func ();
37317 /* The GNU C library defines this for functions which it implements
37318     to always fail with ENOSYS.  Some functions are actually named
37319     something starting with __ and the normal name is an alias.  */
37320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37321 choke me
37322 #else
37323 char (*f) () = $ac_func;
37324 #endif
37325 #ifdef __cplusplus
37326 }
37327 #endif
37328
37329 int
37330 main ()
37331 {
37332 return f != $ac_func;
37333   ;
37334   return 0;
37335 }
37336 _ACEOF
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37339   (eval $ac_link) 2>&5
37340   ac_status=$?
37341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342   (exit $ac_status); } &&
37343          { ac_try='test -s conftest$ac_exeext'
37344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37345   (eval $ac_try) 2>&5
37346   ac_status=$?
37347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348   (exit $ac_status); }; }; then
37349   eval "$as_ac_var=yes"
37350 else
37351   echo "$as_me: failed program was:" >&5
37352 sed 's/^/| /' conftest.$ac_ext >&5
37353
37354 eval "$as_ac_var=no"
37355 fi
37356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37357 fi
37358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37360 if test `eval echo '${'$as_ac_var'}'` = yes; then
37361   cat >>confdefs.h <<_ACEOF
37362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37363 _ACEOF
37364
37365 fi
37366 done
37367
37368     fi
37369   fi
37370
37371
37372
37373   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
37374 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
37375   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37376     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
37377   echo $ECHO_N "(cached) $ECHO_C" >&6
37378 else
37379
37380
37381
37382       ac_ext=cc
37383 ac_cpp='$CXXCPP $CPPFLAGS'
37384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37387
37388       cat >conftest.$ac_ext <<_ACEOF
37389 #line $LINENO "configure"
37390 /* confdefs.h.  */
37391 _ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h.  */
37395 #include <math.h>
37396 int
37397 main ()
37398 {
37399  frexpl(0, 0);
37400   ;
37401   return 0;
37402 }
37403 _ACEOF
37404 rm -f conftest.$ac_objext
37405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37406   (eval $ac_compile) 2>&5
37407   ac_status=$?
37408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409   (exit $ac_status); } &&
37410          { ac_try='test -s conftest.$ac_objext'
37411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412   (eval $ac_try) 2>&5
37413   ac_status=$?
37414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415   (exit $ac_status); }; }; then
37416   glibcxx_cv_func_frexpl_use=yes
37417 else
37418   echo "$as_me: failed program was:" >&5
37419 sed 's/^/| /' conftest.$ac_ext >&5
37420
37421 glibcxx_cv_func_frexpl_use=no
37422 fi
37423 rm -f conftest.$ac_objext conftest.$ac_ext
37424       ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429
37430
37431 fi
37432
37433   fi
37434   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
37435 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
37436
37437   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37438
37439 for ac_func in frexpl
37440 do
37441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37442 echo "$as_me:$LINENO: checking for $ac_func" >&5
37443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37444 if eval "test \"\${$as_ac_var+set}\" = set"; then
37445   echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37447   cat >conftest.$ac_ext <<_ACEOF
37448 #line $LINENO "configure"
37449 /* confdefs.h.  */
37450 _ACEOF
37451 cat confdefs.h >>conftest.$ac_ext
37452 cat >>conftest.$ac_ext <<_ACEOF
37453 /* end confdefs.h.  */
37454 /* System header to define __stub macros and hopefully few prototypes,
37455     which can conflict with char $ac_func (); below.
37456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37457     <limits.h> exists even on freestanding compilers.  */
37458 #ifdef __STDC__
37459 # include <limits.h>
37460 #else
37461 # include <assert.h>
37462 #endif
37463 /* Override any gcc2 internal prototype to avoid an error.  */
37464 #ifdef __cplusplus
37465 extern "C"
37466 {
37467 #endif
37468 /* We use char because int might match the return type of a gcc2
37469    builtin and then its argument prototype would still apply.  */
37470 char $ac_func ();
37471 /* The GNU C library defines this for functions which it implements
37472     to always fail with ENOSYS.  Some functions are actually named
37473     something starting with __ and the normal name is an alias.  */
37474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37475 choke me
37476 #else
37477 char (*f) () = $ac_func;
37478 #endif
37479 #ifdef __cplusplus
37480 }
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486 return f != $ac_func;
37487   ;
37488   return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37493   (eval $ac_link) 2>&5
37494   ac_status=$?
37495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496   (exit $ac_status); } &&
37497          { ac_try='test -s conftest$ac_exeext'
37498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37499   (eval $ac_try) 2>&5
37500   ac_status=$?
37501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502   (exit $ac_status); }; }; then
37503   eval "$as_ac_var=yes"
37504 else
37505   echo "$as_me: failed program was:" >&5
37506 sed 's/^/| /' conftest.$ac_ext >&5
37507
37508 eval "$as_ac_var=no"
37509 fi
37510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37511 fi
37512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37514 if test `eval echo '${'$as_ac_var'}'` = yes; then
37515   cat >>confdefs.h <<_ACEOF
37516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37517 _ACEOF
37518
37519 fi
37520 done
37521
37522   else
37523
37524   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37525 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37526   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37527     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37528   echo $ECHO_N "(cached) $ECHO_C" >&6
37529 else
37530
37531
37532
37533       ac_ext=cc
37534 ac_cpp='$CXXCPP $CPPFLAGS'
37535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37538
37539       cat >conftest.$ac_ext <<_ACEOF
37540 #line $LINENO "configure"
37541 /* confdefs.h.  */
37542 _ACEOF
37543 cat confdefs.h >>conftest.$ac_ext
37544 cat >>conftest.$ac_ext <<_ACEOF
37545 /* end confdefs.h.  */
37546 #include <math.h>
37547 int
37548 main ()
37549 {
37550  _frexpl(0, 0);
37551   ;
37552   return 0;
37553 }
37554 _ACEOF
37555 rm -f conftest.$ac_objext
37556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37557   (eval $ac_compile) 2>&5
37558   ac_status=$?
37559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560   (exit $ac_status); } &&
37561          { ac_try='test -s conftest.$ac_objext'
37562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37563   (eval $ac_try) 2>&5
37564   ac_status=$?
37565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566   (exit $ac_status); }; }; then
37567   glibcxx_cv_func__frexpl_use=yes
37568 else
37569   echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37571
37572 glibcxx_cv_func__frexpl_use=no
37573 fi
37574 rm -f conftest.$ac_objext conftest.$ac_ext
37575       ac_ext=c
37576 ac_cpp='$CPP $CPPFLAGS'
37577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37580
37581
37582 fi
37583
37584   fi
37585   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37586 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37587
37588     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37589
37590 for ac_func in _frexpl
37591 do
37592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 echo "$as_me:$LINENO: checking for $ac_func" >&5
37594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37595 if eval "test \"\${$as_ac_var+set}\" = set"; then
37596   echo $ECHO_N "(cached) $ECHO_C" >&6
37597 else
37598   cat >conftest.$ac_ext <<_ACEOF
37599 #line $LINENO "configure"
37600 /* confdefs.h.  */
37601 _ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h.  */
37605 /* System header to define __stub macros and hopefully few prototypes,
37606     which can conflict with char $ac_func (); below.
37607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37608     <limits.h> exists even on freestanding compilers.  */
37609 #ifdef __STDC__
37610 # include <limits.h>
37611 #else
37612 # include <assert.h>
37613 #endif
37614 /* Override any gcc2 internal prototype to avoid an error.  */
37615 #ifdef __cplusplus
37616 extern "C"
37617 {
37618 #endif
37619 /* We use char because int might match the return type of a gcc2
37620    builtin and then its argument prototype would still apply.  */
37621 char $ac_func ();
37622 /* The GNU C library defines this for functions which it implements
37623     to always fail with ENOSYS.  Some functions are actually named
37624     something starting with __ and the normal name is an alias.  */
37625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37626 choke me
37627 #else
37628 char (*f) () = $ac_func;
37629 #endif
37630 #ifdef __cplusplus
37631 }
37632 #endif
37633
37634 int
37635 main ()
37636 {
37637 return f != $ac_func;
37638   ;
37639   return 0;
37640 }
37641 _ACEOF
37642 rm -f conftest.$ac_objext conftest$ac_exeext
37643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37644   (eval $ac_link) 2>&5
37645   ac_status=$?
37646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647   (exit $ac_status); } &&
37648          { ac_try='test -s conftest$ac_exeext'
37649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650   (eval $ac_try) 2>&5
37651   ac_status=$?
37652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653   (exit $ac_status); }; }; then
37654   eval "$as_ac_var=yes"
37655 else
37656   echo "$as_me: failed program was:" >&5
37657 sed 's/^/| /' conftest.$ac_ext >&5
37658
37659 eval "$as_ac_var=no"
37660 fi
37661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37662 fi
37663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37665 if test `eval echo '${'$as_ac_var'}'` = yes; then
37666   cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37668 _ACEOF
37669
37670 fi
37671 done
37672
37673     fi
37674   fi
37675
37676
37677
37678   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37679 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37680   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37681     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37682   echo $ECHO_N "(cached) $ECHO_C" >&6
37683 else
37684
37685
37686
37687       ac_ext=cc
37688 ac_cpp='$CXXCPP $CPPFLAGS'
37689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37692
37693       cat >conftest.$ac_ext <<_ACEOF
37694 #line $LINENO "configure"
37695 /* confdefs.h.  */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h.  */
37700 #include <math.h>
37701 int
37702 main ()
37703 {
37704  hypotl(0, 0);
37705   ;
37706   return 0;
37707 }
37708 _ACEOF
37709 rm -f conftest.$ac_objext
37710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37711   (eval $ac_compile) 2>&5
37712   ac_status=$?
37713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714   (exit $ac_status); } &&
37715          { ac_try='test -s conftest.$ac_objext'
37716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717   (eval $ac_try) 2>&5
37718   ac_status=$?
37719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720   (exit $ac_status); }; }; then
37721   glibcxx_cv_func_hypotl_use=yes
37722 else
37723   echo "$as_me: failed program was:" >&5
37724 sed 's/^/| /' conftest.$ac_ext >&5
37725
37726 glibcxx_cv_func_hypotl_use=no
37727 fi
37728 rm -f conftest.$ac_objext conftest.$ac_ext
37729       ac_ext=c
37730 ac_cpp='$CPP $CPPFLAGS'
37731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37734
37735
37736 fi
37737
37738   fi
37739   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37740 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37741
37742   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37743
37744 for ac_func in hypotl
37745 do
37746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37747 echo "$as_me:$LINENO: checking for $ac_func" >&5
37748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37749 if eval "test \"\${$as_ac_var+set}\" = set"; then
37750   echo $ECHO_N "(cached) $ECHO_C" >&6
37751 else
37752   cat >conftest.$ac_ext <<_ACEOF
37753 #line $LINENO "configure"
37754 /* confdefs.h.  */
37755 _ACEOF
37756 cat confdefs.h >>conftest.$ac_ext
37757 cat >>conftest.$ac_ext <<_ACEOF
37758 /* end confdefs.h.  */
37759 /* System header to define __stub macros and hopefully few prototypes,
37760     which can conflict with char $ac_func (); below.
37761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37762     <limits.h> exists even on freestanding compilers.  */
37763 #ifdef __STDC__
37764 # include <limits.h>
37765 #else
37766 # include <assert.h>
37767 #endif
37768 /* Override any gcc2 internal prototype to avoid an error.  */
37769 #ifdef __cplusplus
37770 extern "C"
37771 {
37772 #endif
37773 /* We use char because int might match the return type of a gcc2
37774    builtin and then its argument prototype would still apply.  */
37775 char $ac_func ();
37776 /* The GNU C library defines this for functions which it implements
37777     to always fail with ENOSYS.  Some functions are actually named
37778     something starting with __ and the normal name is an alias.  */
37779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37780 choke me
37781 #else
37782 char (*f) () = $ac_func;
37783 #endif
37784 #ifdef __cplusplus
37785 }
37786 #endif
37787
37788 int
37789 main ()
37790 {
37791 return f != $ac_func;
37792   ;
37793   return 0;
37794 }
37795 _ACEOF
37796 rm -f conftest.$ac_objext conftest$ac_exeext
37797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37798   (eval $ac_link) 2>&5
37799   ac_status=$?
37800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37801   (exit $ac_status); } &&
37802          { ac_try='test -s conftest$ac_exeext'
37803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37804   (eval $ac_try) 2>&5
37805   ac_status=$?
37806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807   (exit $ac_status); }; }; then
37808   eval "$as_ac_var=yes"
37809 else
37810   echo "$as_me: failed program was:" >&5
37811 sed 's/^/| /' conftest.$ac_ext >&5
37812
37813 eval "$as_ac_var=no"
37814 fi
37815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37816 fi
37817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37819 if test `eval echo '${'$as_ac_var'}'` = yes; then
37820   cat >>confdefs.h <<_ACEOF
37821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37822 _ACEOF
37823
37824 fi
37825 done
37826
37827   else
37828
37829   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37830 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37831   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37832     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37833   echo $ECHO_N "(cached) $ECHO_C" >&6
37834 else
37835
37836
37837
37838       ac_ext=cc
37839 ac_cpp='$CXXCPP $CPPFLAGS'
37840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37843
37844       cat >conftest.$ac_ext <<_ACEOF
37845 #line $LINENO "configure"
37846 /* confdefs.h.  */
37847 _ACEOF
37848 cat confdefs.h >>conftest.$ac_ext
37849 cat >>conftest.$ac_ext <<_ACEOF
37850 /* end confdefs.h.  */
37851 #include <math.h>
37852 int
37853 main ()
37854 {
37855  _hypotl(0, 0);
37856   ;
37857   return 0;
37858 }
37859 _ACEOF
37860 rm -f conftest.$ac_objext
37861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37862   (eval $ac_compile) 2>&5
37863   ac_status=$?
37864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865   (exit $ac_status); } &&
37866          { ac_try='test -s conftest.$ac_objext'
37867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868   (eval $ac_try) 2>&5
37869   ac_status=$?
37870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871   (exit $ac_status); }; }; then
37872   glibcxx_cv_func__hypotl_use=yes
37873 else
37874   echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 glibcxx_cv_func__hypotl_use=no
37878 fi
37879 rm -f conftest.$ac_objext conftest.$ac_ext
37880       ac_ext=c
37881 ac_cpp='$CPP $CPPFLAGS'
37882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37885
37886
37887 fi
37888
37889   fi
37890   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37891 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37892
37893     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37894
37895 for ac_func in _hypotl
37896 do
37897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37898 echo "$as_me:$LINENO: checking for $ac_func" >&5
37899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37900 if eval "test \"\${$as_ac_var+set}\" = set"; then
37901   echo $ECHO_N "(cached) $ECHO_C" >&6
37902 else
37903   cat >conftest.$ac_ext <<_ACEOF
37904 #line $LINENO "configure"
37905 /* confdefs.h.  */
37906 _ACEOF
37907 cat confdefs.h >>conftest.$ac_ext
37908 cat >>conftest.$ac_ext <<_ACEOF
37909 /* end confdefs.h.  */
37910 /* System header to define __stub macros and hopefully few prototypes,
37911     which can conflict with char $ac_func (); below.
37912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37913     <limits.h> exists even on freestanding compilers.  */
37914 #ifdef __STDC__
37915 # include <limits.h>
37916 #else
37917 # include <assert.h>
37918 #endif
37919 /* Override any gcc2 internal prototype to avoid an error.  */
37920 #ifdef __cplusplus
37921 extern "C"
37922 {
37923 #endif
37924 /* We use char because int might match the return type of a gcc2
37925    builtin and then its argument prototype would still apply.  */
37926 char $ac_func ();
37927 /* The GNU C library defines this for functions which it implements
37928     to always fail with ENOSYS.  Some functions are actually named
37929     something starting with __ and the normal name is an alias.  */
37930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37931 choke me
37932 #else
37933 char (*f) () = $ac_func;
37934 #endif
37935 #ifdef __cplusplus
37936 }
37937 #endif
37938
37939 int
37940 main ()
37941 {
37942 return f != $ac_func;
37943   ;
37944   return 0;
37945 }
37946 _ACEOF
37947 rm -f conftest.$ac_objext conftest$ac_exeext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37949   (eval $ac_link) 2>&5
37950   ac_status=$?
37951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952   (exit $ac_status); } &&
37953          { ac_try='test -s conftest$ac_exeext'
37954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37955   (eval $ac_try) 2>&5
37956   ac_status=$?
37957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958   (exit $ac_status); }; }; then
37959   eval "$as_ac_var=yes"
37960 else
37961   echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37963
37964 eval "$as_ac_var=no"
37965 fi
37966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37967 fi
37968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37970 if test `eval echo '${'$as_ac_var'}'` = yes; then
37971   cat >>confdefs.h <<_ACEOF
37972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37973 _ACEOF
37974
37975 fi
37976 done
37977
37978     fi
37979   fi
37980
37981
37982
37983   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37984 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37985   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37986     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37987   echo $ECHO_N "(cached) $ECHO_C" >&6
37988 else
37989
37990
37991
37992       ac_ext=cc
37993 ac_cpp='$CXXCPP $CPPFLAGS'
37994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37997
37998       cat >conftest.$ac_ext <<_ACEOF
37999 #line $LINENO "configure"
38000 /* confdefs.h.  */
38001 _ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h.  */
38005 #include <math.h>
38006 int
38007 main ()
38008 {
38009  ldexpl(0, 0);
38010   ;
38011   return 0;
38012 }
38013 _ACEOF
38014 rm -f conftest.$ac_objext
38015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38016   (eval $ac_compile) 2>&5
38017   ac_status=$?
38018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019   (exit $ac_status); } &&
38020          { ac_try='test -s conftest.$ac_objext'
38021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022   (eval $ac_try) 2>&5
38023   ac_status=$?
38024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025   (exit $ac_status); }; }; then
38026   glibcxx_cv_func_ldexpl_use=yes
38027 else
38028   echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38030
38031 glibcxx_cv_func_ldexpl_use=no
38032 fi
38033 rm -f conftest.$ac_objext conftest.$ac_ext
38034       ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38039
38040
38041 fi
38042
38043   fi
38044   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
38045 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
38046
38047   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38048
38049 for ac_func in ldexpl
38050 do
38051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38052 echo "$as_me:$LINENO: checking for $ac_func" >&5
38053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_var+set}\" = set"; then
38055   echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057   cat >conftest.$ac_ext <<_ACEOF
38058 #line $LINENO "configure"
38059 /* confdefs.h.  */
38060 _ACEOF
38061 cat confdefs.h >>conftest.$ac_ext
38062 cat >>conftest.$ac_ext <<_ACEOF
38063 /* end confdefs.h.  */
38064 /* System header to define __stub macros and hopefully few prototypes,
38065     which can conflict with char $ac_func (); below.
38066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38067     <limits.h> exists even on freestanding compilers.  */
38068 #ifdef __STDC__
38069 # include <limits.h>
38070 #else
38071 # include <assert.h>
38072 #endif
38073 /* Override any gcc2 internal prototype to avoid an error.  */
38074 #ifdef __cplusplus
38075 extern "C"
38076 {
38077 #endif
38078 /* We use char because int might match the return type of a gcc2
38079    builtin and then its argument prototype would still apply.  */
38080 char $ac_func ();
38081 /* The GNU C library defines this for functions which it implements
38082     to always fail with ENOSYS.  Some functions are actually named
38083     something starting with __ and the normal name is an alias.  */
38084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38085 choke me
38086 #else
38087 char (*f) () = $ac_func;
38088 #endif
38089 #ifdef __cplusplus
38090 }
38091 #endif
38092
38093 int
38094 main ()
38095 {
38096 return f != $ac_func;
38097   ;
38098   return 0;
38099 }
38100 _ACEOF
38101 rm -f conftest.$ac_objext conftest$ac_exeext
38102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38103   (eval $ac_link) 2>&5
38104   ac_status=$?
38105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106   (exit $ac_status); } &&
38107          { ac_try='test -s conftest$ac_exeext'
38108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38109   (eval $ac_try) 2>&5
38110   ac_status=$?
38111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112   (exit $ac_status); }; }; then
38113   eval "$as_ac_var=yes"
38114 else
38115   echo "$as_me: failed program was:" >&5
38116 sed 's/^/| /' conftest.$ac_ext >&5
38117
38118 eval "$as_ac_var=no"
38119 fi
38120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38121 fi
38122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38124 if test `eval echo '${'$as_ac_var'}'` = yes; then
38125   cat >>confdefs.h <<_ACEOF
38126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38127 _ACEOF
38128
38129 fi
38130 done
38131
38132   else
38133
38134   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
38135 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
38136   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38137     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
38138   echo $ECHO_N "(cached) $ECHO_C" >&6
38139 else
38140
38141
38142
38143       ac_ext=cc
38144 ac_cpp='$CXXCPP $CPPFLAGS'
38145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38148
38149       cat >conftest.$ac_ext <<_ACEOF
38150 #line $LINENO "configure"
38151 /* confdefs.h.  */
38152 _ACEOF
38153 cat confdefs.h >>conftest.$ac_ext
38154 cat >>conftest.$ac_ext <<_ACEOF
38155 /* end confdefs.h.  */
38156 #include <math.h>
38157 int
38158 main ()
38159 {
38160  _ldexpl(0, 0);
38161   ;
38162   return 0;
38163 }
38164 _ACEOF
38165 rm -f conftest.$ac_objext
38166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38167   (eval $ac_compile) 2>&5
38168   ac_status=$?
38169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170   (exit $ac_status); } &&
38171          { ac_try='test -s conftest.$ac_objext'
38172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38173   (eval $ac_try) 2>&5
38174   ac_status=$?
38175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176   (exit $ac_status); }; }; then
38177   glibcxx_cv_func__ldexpl_use=yes
38178 else
38179   echo "$as_me: failed program was:" >&5
38180 sed 's/^/| /' conftest.$ac_ext >&5
38181
38182 glibcxx_cv_func__ldexpl_use=no
38183 fi
38184 rm -f conftest.$ac_objext conftest.$ac_ext
38185       ac_ext=c
38186 ac_cpp='$CPP $CPPFLAGS'
38187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190
38191
38192 fi
38193
38194   fi
38195   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
38196 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
38197
38198     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38199
38200 for ac_func in _ldexpl
38201 do
38202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38203 echo "$as_me:$LINENO: checking for $ac_func" >&5
38204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38205 if eval "test \"\${$as_ac_var+set}\" = set"; then
38206   echo $ECHO_N "(cached) $ECHO_C" >&6
38207 else
38208   cat >conftest.$ac_ext <<_ACEOF
38209 #line $LINENO "configure"
38210 /* confdefs.h.  */
38211 _ACEOF
38212 cat confdefs.h >>conftest.$ac_ext
38213 cat >>conftest.$ac_ext <<_ACEOF
38214 /* end confdefs.h.  */
38215 /* System header to define __stub macros and hopefully few prototypes,
38216     which can conflict with char $ac_func (); below.
38217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38218     <limits.h> exists even on freestanding compilers.  */
38219 #ifdef __STDC__
38220 # include <limits.h>
38221 #else
38222 # include <assert.h>
38223 #endif
38224 /* Override any gcc2 internal prototype to avoid an error.  */
38225 #ifdef __cplusplus
38226 extern "C"
38227 {
38228 #endif
38229 /* We use char because int might match the return type of a gcc2
38230    builtin and then its argument prototype would still apply.  */
38231 char $ac_func ();
38232 /* The GNU C library defines this for functions which it implements
38233     to always fail with ENOSYS.  Some functions are actually named
38234     something starting with __ and the normal name is an alias.  */
38235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38236 choke me
38237 #else
38238 char (*f) () = $ac_func;
38239 #endif
38240 #ifdef __cplusplus
38241 }
38242 #endif
38243
38244 int
38245 main ()
38246 {
38247 return f != $ac_func;
38248   ;
38249   return 0;
38250 }
38251 _ACEOF
38252 rm -f conftest.$ac_objext conftest$ac_exeext
38253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38254   (eval $ac_link) 2>&5
38255   ac_status=$?
38256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257   (exit $ac_status); } &&
38258          { ac_try='test -s conftest$ac_exeext'
38259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38260   (eval $ac_try) 2>&5
38261   ac_status=$?
38262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263   (exit $ac_status); }; }; then
38264   eval "$as_ac_var=yes"
38265 else
38266   echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38268
38269 eval "$as_ac_var=no"
38270 fi
38271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38272 fi
38273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38275 if test `eval echo '${'$as_ac_var'}'` = yes; then
38276   cat >>confdefs.h <<_ACEOF
38277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38278 _ACEOF
38279
38280 fi
38281 done
38282
38283     fi
38284   fi
38285
38286
38287
38288   echo "$as_me:$LINENO: checking for logl declaration" >&5
38289 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
38290   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38291     if test "${glibcxx_cv_func_logl_use+set}" = set; then
38292   echo $ECHO_N "(cached) $ECHO_C" >&6
38293 else
38294
38295
38296
38297       ac_ext=cc
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38302
38303       cat >conftest.$ac_ext <<_ACEOF
38304 #line $LINENO "configure"
38305 /* confdefs.h.  */
38306 _ACEOF
38307 cat confdefs.h >>conftest.$ac_ext
38308 cat >>conftest.$ac_ext <<_ACEOF
38309 /* end confdefs.h.  */
38310 #include <math.h>
38311                       #ifdef HAVE_IEEEFP_H
38312                       #include <ieeefp.h>
38313                       #endif
38314
38315 int
38316 main ()
38317 {
38318  logl(0);
38319   ;
38320   return 0;
38321 }
38322 _ACEOF
38323 rm -f conftest.$ac_objext
38324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38325   (eval $ac_compile) 2>&5
38326   ac_status=$?
38327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328   (exit $ac_status); } &&
38329          { ac_try='test -s conftest.$ac_objext'
38330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38331   (eval $ac_try) 2>&5
38332   ac_status=$?
38333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334   (exit $ac_status); }; }; then
38335   glibcxx_cv_func_logl_use=yes
38336 else
38337   echo "$as_me: failed program was:" >&5
38338 sed 's/^/| /' conftest.$ac_ext >&5
38339
38340 glibcxx_cv_func_logl_use=no
38341 fi
38342 rm -f conftest.$ac_objext conftest.$ac_ext
38343       ac_ext=c
38344 ac_cpp='$CPP $CPPFLAGS'
38345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38348
38349
38350 fi
38351
38352   fi
38353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38354 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38355
38356   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38357
38358 for ac_func in logl
38359 do
38360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38361 echo "$as_me:$LINENO: checking for $ac_func" >&5
38362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38363 if eval "test \"\${$as_ac_var+set}\" = set"; then
38364   echo $ECHO_N "(cached) $ECHO_C" >&6
38365 else
38366   cat >conftest.$ac_ext <<_ACEOF
38367 #line $LINENO "configure"
38368 /* confdefs.h.  */
38369 _ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h.  */
38373 /* System header to define __stub macros and hopefully few prototypes,
38374     which can conflict with char $ac_func (); below.
38375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38376     <limits.h> exists even on freestanding compilers.  */
38377 #ifdef __STDC__
38378 # include <limits.h>
38379 #else
38380 # include <assert.h>
38381 #endif
38382 /* Override any gcc2 internal prototype to avoid an error.  */
38383 #ifdef __cplusplus
38384 extern "C"
38385 {
38386 #endif
38387 /* We use char because int might match the return type of a gcc2
38388    builtin and then its argument prototype would still apply.  */
38389 char $ac_func ();
38390 /* The GNU C library defines this for functions which it implements
38391     to always fail with ENOSYS.  Some functions are actually named
38392     something starting with __ and the normal name is an alias.  */
38393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38394 choke me
38395 #else
38396 char (*f) () = $ac_func;
38397 #endif
38398 #ifdef __cplusplus
38399 }
38400 #endif
38401
38402 int
38403 main ()
38404 {
38405 return f != $ac_func;
38406   ;
38407   return 0;
38408 }
38409 _ACEOF
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38412   (eval $ac_link) 2>&5
38413   ac_status=$?
38414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415   (exit $ac_status); } &&
38416          { ac_try='test -s conftest$ac_exeext'
38417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38418   (eval $ac_try) 2>&5
38419   ac_status=$?
38420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421   (exit $ac_status); }; }; then
38422   eval "$as_ac_var=yes"
38423 else
38424   echo "$as_me: failed program was:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38426
38427 eval "$as_ac_var=no"
38428 fi
38429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38430 fi
38431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38433 if test `eval echo '${'$as_ac_var'}'` = yes; then
38434   cat >>confdefs.h <<_ACEOF
38435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38436 _ACEOF
38437
38438 fi
38439 done
38440
38441   else
38442
38443   echo "$as_me:$LINENO: checking for _logl declaration" >&5
38444 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38445   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38446     if test "${glibcxx_cv_func__logl_use+set}" = set; then
38447   echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449
38450
38451
38452       ac_ext=cc
38453 ac_cpp='$CXXCPP $CPPFLAGS'
38454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457
38458       cat >conftest.$ac_ext <<_ACEOF
38459 #line $LINENO "configure"
38460 /* confdefs.h.  */
38461 _ACEOF
38462 cat confdefs.h >>conftest.$ac_ext
38463 cat >>conftest.$ac_ext <<_ACEOF
38464 /* end confdefs.h.  */
38465 #include <math.h>
38466                       #ifdef HAVE_IEEEFP_H
38467                       #include <ieeefp.h>
38468                       #endif
38469
38470 int
38471 main ()
38472 {
38473  _logl(0);
38474   ;
38475   return 0;
38476 }
38477 _ACEOF
38478 rm -f conftest.$ac_objext
38479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38480   (eval $ac_compile) 2>&5
38481   ac_status=$?
38482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483   (exit $ac_status); } &&
38484          { ac_try='test -s conftest.$ac_objext'
38485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38486   (eval $ac_try) 2>&5
38487   ac_status=$?
38488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489   (exit $ac_status); }; }; then
38490   glibcxx_cv_func__logl_use=yes
38491 else
38492   echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38494
38495 glibcxx_cv_func__logl_use=no
38496 fi
38497 rm -f conftest.$ac_objext conftest.$ac_ext
38498       ac_ext=c
38499 ac_cpp='$CPP $CPPFLAGS'
38500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38503
38504
38505 fi
38506
38507   fi
38508   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38509 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38510
38511     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38512
38513 for ac_func in _logl
38514 do
38515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38516 echo "$as_me:$LINENO: checking for $ac_func" >&5
38517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38518 if eval "test \"\${$as_ac_var+set}\" = set"; then
38519   echo $ECHO_N "(cached) $ECHO_C" >&6
38520 else
38521   cat >conftest.$ac_ext <<_ACEOF
38522 #line $LINENO "configure"
38523 /* confdefs.h.  */
38524 _ACEOF
38525 cat confdefs.h >>conftest.$ac_ext
38526 cat >>conftest.$ac_ext <<_ACEOF
38527 /* end confdefs.h.  */
38528 /* System header to define __stub macros and hopefully few prototypes,
38529     which can conflict with char $ac_func (); below.
38530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38531     <limits.h> exists even on freestanding compilers.  */
38532 #ifdef __STDC__
38533 # include <limits.h>
38534 #else
38535 # include <assert.h>
38536 #endif
38537 /* Override any gcc2 internal prototype to avoid an error.  */
38538 #ifdef __cplusplus
38539 extern "C"
38540 {
38541 #endif
38542 /* We use char because int might match the return type of a gcc2
38543    builtin and then its argument prototype would still apply.  */
38544 char $ac_func ();
38545 /* The GNU C library defines this for functions which it implements
38546     to always fail with ENOSYS.  Some functions are actually named
38547     something starting with __ and the normal name is an alias.  */
38548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38549 choke me
38550 #else
38551 char (*f) () = $ac_func;
38552 #endif
38553 #ifdef __cplusplus
38554 }
38555 #endif
38556
38557 int
38558 main ()
38559 {
38560 return f != $ac_func;
38561   ;
38562   return 0;
38563 }
38564 _ACEOF
38565 rm -f conftest.$ac_objext conftest$ac_exeext
38566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38567   (eval $ac_link) 2>&5
38568   ac_status=$?
38569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570   (exit $ac_status); } &&
38571          { ac_try='test -s conftest$ac_exeext'
38572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38573   (eval $ac_try) 2>&5
38574   ac_status=$?
38575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576   (exit $ac_status); }; }; then
38577   eval "$as_ac_var=yes"
38578 else
38579   echo "$as_me: failed program was:" >&5
38580 sed 's/^/| /' conftest.$ac_ext >&5
38581
38582 eval "$as_ac_var=no"
38583 fi
38584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38585 fi
38586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38588 if test `eval echo '${'$as_ac_var'}'` = yes; then
38589   cat >>confdefs.h <<_ACEOF
38590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38591 _ACEOF
38592
38593 fi
38594 done
38595
38596     fi
38597   fi
38598
38599
38600
38601   echo "$as_me:$LINENO: checking for log10l declaration" >&5
38602 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38603   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38604     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38605   echo $ECHO_N "(cached) $ECHO_C" >&6
38606 else
38607
38608
38609
38610       ac_ext=cc
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38615
38616       cat >conftest.$ac_ext <<_ACEOF
38617 #line $LINENO "configure"
38618 /* confdefs.h.  */
38619 _ACEOF
38620 cat confdefs.h >>conftest.$ac_ext
38621 cat >>conftest.$ac_ext <<_ACEOF
38622 /* end confdefs.h.  */
38623 #include <math.h>
38624                       #ifdef HAVE_IEEEFP_H
38625                       #include <ieeefp.h>
38626                       #endif
38627
38628 int
38629 main ()
38630 {
38631  log10l(0);
38632   ;
38633   return 0;
38634 }
38635 _ACEOF
38636 rm -f conftest.$ac_objext
38637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38638   (eval $ac_compile) 2>&5
38639   ac_status=$?
38640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641   (exit $ac_status); } &&
38642          { ac_try='test -s conftest.$ac_objext'
38643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38644   (eval $ac_try) 2>&5
38645   ac_status=$?
38646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647   (exit $ac_status); }; }; then
38648   glibcxx_cv_func_log10l_use=yes
38649 else
38650   echo "$as_me: failed program was:" >&5
38651 sed 's/^/| /' conftest.$ac_ext >&5
38652
38653 glibcxx_cv_func_log10l_use=no
38654 fi
38655 rm -f conftest.$ac_objext conftest.$ac_ext
38656       ac_ext=c
38657 ac_cpp='$CPP $CPPFLAGS'
38658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38661
38662
38663 fi
38664
38665   fi
38666   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38667 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38668
38669   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38670
38671 for ac_func in log10l
38672 do
38673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38674 echo "$as_me:$LINENO: checking for $ac_func" >&5
38675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38676 if eval "test \"\${$as_ac_var+set}\" = set"; then
38677   echo $ECHO_N "(cached) $ECHO_C" >&6
38678 else
38679   cat >conftest.$ac_ext <<_ACEOF
38680 #line $LINENO "configure"
38681 /* confdefs.h.  */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h.  */
38686 /* System header to define __stub macros and hopefully few prototypes,
38687     which can conflict with char $ac_func (); below.
38688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38689     <limits.h> exists even on freestanding compilers.  */
38690 #ifdef __STDC__
38691 # include <limits.h>
38692 #else
38693 # include <assert.h>
38694 #endif
38695 /* Override any gcc2 internal prototype to avoid an error.  */
38696 #ifdef __cplusplus
38697 extern "C"
38698 {
38699 #endif
38700 /* We use char because int might match the return type of a gcc2
38701    builtin and then its argument prototype would still apply.  */
38702 char $ac_func ();
38703 /* The GNU C library defines this for functions which it implements
38704     to always fail with ENOSYS.  Some functions are actually named
38705     something starting with __ and the normal name is an alias.  */
38706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38707 choke me
38708 #else
38709 char (*f) () = $ac_func;
38710 #endif
38711 #ifdef __cplusplus
38712 }
38713 #endif
38714
38715 int
38716 main ()
38717 {
38718 return f != $ac_func;
38719   ;
38720   return 0;
38721 }
38722 _ACEOF
38723 rm -f conftest.$ac_objext conftest$ac_exeext
38724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38725   (eval $ac_link) 2>&5
38726   ac_status=$?
38727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728   (exit $ac_status); } &&
38729          { ac_try='test -s conftest$ac_exeext'
38730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731   (eval $ac_try) 2>&5
38732   ac_status=$?
38733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734   (exit $ac_status); }; }; then
38735   eval "$as_ac_var=yes"
38736 else
38737   echo "$as_me: failed program was:" >&5
38738 sed 's/^/| /' conftest.$ac_ext >&5
38739
38740 eval "$as_ac_var=no"
38741 fi
38742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38743 fi
38744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38746 if test `eval echo '${'$as_ac_var'}'` = yes; then
38747   cat >>confdefs.h <<_ACEOF
38748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38749 _ACEOF
38750
38751 fi
38752 done
38753
38754   else
38755
38756   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38757 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38758   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38759     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38760   echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762
38763
38764
38765       ac_ext=cc
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38770
38771       cat >conftest.$ac_ext <<_ACEOF
38772 #line $LINENO "configure"
38773 /* confdefs.h.  */
38774 _ACEOF
38775 cat confdefs.h >>conftest.$ac_ext
38776 cat >>conftest.$ac_ext <<_ACEOF
38777 /* end confdefs.h.  */
38778 #include <math.h>
38779                       #ifdef HAVE_IEEEFP_H
38780                       #include <ieeefp.h>
38781                       #endif
38782
38783 int
38784 main ()
38785 {
38786  _log10l(0);
38787   ;
38788   return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38793   (eval $ac_compile) 2>&5
38794   ac_status=$?
38795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796   (exit $ac_status); } &&
38797          { ac_try='test -s conftest.$ac_objext'
38798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799   (eval $ac_try) 2>&5
38800   ac_status=$?
38801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802   (exit $ac_status); }; }; then
38803   glibcxx_cv_func__log10l_use=yes
38804 else
38805   echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.$ac_ext >&5
38807
38808 glibcxx_cv_func__log10l_use=no
38809 fi
38810 rm -f conftest.$ac_objext conftest.$ac_ext
38811       ac_ext=c
38812 ac_cpp='$CPP $CPPFLAGS'
38813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816
38817
38818 fi
38819
38820   fi
38821   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38822 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38823
38824     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38825
38826 for ac_func in _log10l
38827 do
38828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38829 echo "$as_me:$LINENO: checking for $ac_func" >&5
38830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38831 if eval "test \"\${$as_ac_var+set}\" = set"; then
38832   echo $ECHO_N "(cached) $ECHO_C" >&6
38833 else
38834   cat >conftest.$ac_ext <<_ACEOF
38835 #line $LINENO "configure"
38836 /* confdefs.h.  */
38837 _ACEOF
38838 cat confdefs.h >>conftest.$ac_ext
38839 cat >>conftest.$ac_ext <<_ACEOF
38840 /* end confdefs.h.  */
38841 /* System header to define __stub macros and hopefully few prototypes,
38842     which can conflict with char $ac_func (); below.
38843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38844     <limits.h> exists even on freestanding compilers.  */
38845 #ifdef __STDC__
38846 # include <limits.h>
38847 #else
38848 # include <assert.h>
38849 #endif
38850 /* Override any gcc2 internal prototype to avoid an error.  */
38851 #ifdef __cplusplus
38852 extern "C"
38853 {
38854 #endif
38855 /* We use char because int might match the return type of a gcc2
38856    builtin and then its argument prototype would still apply.  */
38857 char $ac_func ();
38858 /* The GNU C library defines this for functions which it implements
38859     to always fail with ENOSYS.  Some functions are actually named
38860     something starting with __ and the normal name is an alias.  */
38861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38862 choke me
38863 #else
38864 char (*f) () = $ac_func;
38865 #endif
38866 #ifdef __cplusplus
38867 }
38868 #endif
38869
38870 int
38871 main ()
38872 {
38873 return f != $ac_func;
38874   ;
38875   return 0;
38876 }
38877 _ACEOF
38878 rm -f conftest.$ac_objext conftest$ac_exeext
38879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38880   (eval $ac_link) 2>&5
38881   ac_status=$?
38882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883   (exit $ac_status); } &&
38884          { ac_try='test -s conftest$ac_exeext'
38885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38886   (eval $ac_try) 2>&5
38887   ac_status=$?
38888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889   (exit $ac_status); }; }; then
38890   eval "$as_ac_var=yes"
38891 else
38892   echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.$ac_ext >&5
38894
38895 eval "$as_ac_var=no"
38896 fi
38897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38898 fi
38899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38901 if test `eval echo '${'$as_ac_var'}'` = yes; then
38902   cat >>confdefs.h <<_ACEOF
38903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38904 _ACEOF
38905
38906 fi
38907 done
38908
38909     fi
38910   fi
38911
38912
38913
38914   echo "$as_me:$LINENO: checking for modfl declaration" >&5
38915 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38916   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38917     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38918   echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920
38921
38922
38923       ac_ext=cc
38924 ac_cpp='$CXXCPP $CPPFLAGS'
38925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38928
38929       cat >conftest.$ac_ext <<_ACEOF
38930 #line $LINENO "configure"
38931 /* confdefs.h.  */
38932 _ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h.  */
38936 #include <math.h>
38937 int
38938 main ()
38939 {
38940  modfl(0, 0);
38941   ;
38942   return 0;
38943 }
38944 _ACEOF
38945 rm -f conftest.$ac_objext
38946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38947   (eval $ac_compile) 2>&5
38948   ac_status=$?
38949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950   (exit $ac_status); } &&
38951          { ac_try='test -s conftest.$ac_objext'
38952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953   (eval $ac_try) 2>&5
38954   ac_status=$?
38955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956   (exit $ac_status); }; }; then
38957   glibcxx_cv_func_modfl_use=yes
38958 else
38959   echo "$as_me: failed program was:" >&5
38960 sed 's/^/| /' conftest.$ac_ext >&5
38961
38962 glibcxx_cv_func_modfl_use=no
38963 fi
38964 rm -f conftest.$ac_objext conftest.$ac_ext
38965       ac_ext=c
38966 ac_cpp='$CPP $CPPFLAGS'
38967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970
38971
38972 fi
38973
38974   fi
38975   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38976 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38977
38978   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38979
38980 for ac_func in modfl
38981 do
38982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38983 echo "$as_me:$LINENO: checking for $ac_func" >&5
38984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38985 if eval "test \"\${$as_ac_var+set}\" = set"; then
38986   echo $ECHO_N "(cached) $ECHO_C" >&6
38987 else
38988   cat >conftest.$ac_ext <<_ACEOF
38989 #line $LINENO "configure"
38990 /* confdefs.h.  */
38991 _ACEOF
38992 cat confdefs.h >>conftest.$ac_ext
38993 cat >>conftest.$ac_ext <<_ACEOF
38994 /* end confdefs.h.  */
38995 /* System header to define __stub macros and hopefully few prototypes,
38996     which can conflict with char $ac_func (); below.
38997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38998     <limits.h> exists even on freestanding compilers.  */
38999 #ifdef __STDC__
39000 # include <limits.h>
39001 #else
39002 # include <assert.h>
39003 #endif
39004 /* Override any gcc2 internal prototype to avoid an error.  */
39005 #ifdef __cplusplus
39006 extern "C"
39007 {
39008 #endif
39009 /* We use char because int might match the return type of a gcc2
39010    builtin and then its argument prototype would still apply.  */
39011 char $ac_func ();
39012 /* The GNU C library defines this for functions which it implements
39013     to always fail with ENOSYS.  Some functions are actually named
39014     something starting with __ and the normal name is an alias.  */
39015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39016 choke me
39017 #else
39018 char (*f) () = $ac_func;
39019 #endif
39020 #ifdef __cplusplus
39021 }
39022 #endif
39023
39024 int
39025 main ()
39026 {
39027 return f != $ac_func;
39028   ;
39029   return 0;
39030 }
39031 _ACEOF
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39034   (eval $ac_link) 2>&5
39035   ac_status=$?
39036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037   (exit $ac_status); } &&
39038          { ac_try='test -s conftest$ac_exeext'
39039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39040   (eval $ac_try) 2>&5
39041   ac_status=$?
39042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043   (exit $ac_status); }; }; then
39044   eval "$as_ac_var=yes"
39045 else
39046   echo "$as_me: failed program was:" >&5
39047 sed 's/^/| /' conftest.$ac_ext >&5
39048
39049 eval "$as_ac_var=no"
39050 fi
39051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39052 fi
39053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39055 if test `eval echo '${'$as_ac_var'}'` = yes; then
39056   cat >>confdefs.h <<_ACEOF
39057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39058 _ACEOF
39059
39060 fi
39061 done
39062
39063   else
39064
39065   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
39066 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
39067   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39068     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
39069   echo $ECHO_N "(cached) $ECHO_C" >&6
39070 else
39071
39072
39073
39074       ac_ext=cc
39075 ac_cpp='$CXXCPP $CPPFLAGS'
39076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39079
39080       cat >conftest.$ac_ext <<_ACEOF
39081 #line $LINENO "configure"
39082 /* confdefs.h.  */
39083 _ACEOF
39084 cat confdefs.h >>conftest.$ac_ext
39085 cat >>conftest.$ac_ext <<_ACEOF
39086 /* end confdefs.h.  */
39087 #include <math.h>
39088 int
39089 main ()
39090 {
39091  _modfl(0, 0);
39092   ;
39093   return 0;
39094 }
39095 _ACEOF
39096 rm -f conftest.$ac_objext
39097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39098   (eval $ac_compile) 2>&5
39099   ac_status=$?
39100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101   (exit $ac_status); } &&
39102          { ac_try='test -s conftest.$ac_objext'
39103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39104   (eval $ac_try) 2>&5
39105   ac_status=$?
39106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39107   (exit $ac_status); }; }; then
39108   glibcxx_cv_func__modfl_use=yes
39109 else
39110   echo "$as_me: failed program was:" >&5
39111 sed 's/^/| /' conftest.$ac_ext >&5
39112
39113 glibcxx_cv_func__modfl_use=no
39114 fi
39115 rm -f conftest.$ac_objext conftest.$ac_ext
39116       ac_ext=c
39117 ac_cpp='$CPP $CPPFLAGS'
39118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39121
39122
39123 fi
39124
39125   fi
39126   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
39127 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
39128
39129     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39130
39131 for ac_func in _modfl
39132 do
39133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39134 echo "$as_me:$LINENO: checking for $ac_func" >&5
39135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39136 if eval "test \"\${$as_ac_var+set}\" = set"; then
39137   echo $ECHO_N "(cached) $ECHO_C" >&6
39138 else
39139   cat >conftest.$ac_ext <<_ACEOF
39140 #line $LINENO "configure"
39141 /* confdefs.h.  */
39142 _ACEOF
39143 cat confdefs.h >>conftest.$ac_ext
39144 cat >>conftest.$ac_ext <<_ACEOF
39145 /* end confdefs.h.  */
39146 /* System header to define __stub macros and hopefully few prototypes,
39147     which can conflict with char $ac_func (); below.
39148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39149     <limits.h> exists even on freestanding compilers.  */
39150 #ifdef __STDC__
39151 # include <limits.h>
39152 #else
39153 # include <assert.h>
39154 #endif
39155 /* Override any gcc2 internal prototype to avoid an error.  */
39156 #ifdef __cplusplus
39157 extern "C"
39158 {
39159 #endif
39160 /* We use char because int might match the return type of a gcc2
39161    builtin and then its argument prototype would still apply.  */
39162 char $ac_func ();
39163 /* The GNU C library defines this for functions which it implements
39164     to always fail with ENOSYS.  Some functions are actually named
39165     something starting with __ and the normal name is an alias.  */
39166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39167 choke me
39168 #else
39169 char (*f) () = $ac_func;
39170 #endif
39171 #ifdef __cplusplus
39172 }
39173 #endif
39174
39175 int
39176 main ()
39177 {
39178 return f != $ac_func;
39179   ;
39180   return 0;
39181 }
39182 _ACEOF
39183 rm -f conftest.$ac_objext conftest$ac_exeext
39184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39185   (eval $ac_link) 2>&5
39186   ac_status=$?
39187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188   (exit $ac_status); } &&
39189          { ac_try='test -s conftest$ac_exeext'
39190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39191   (eval $ac_try) 2>&5
39192   ac_status=$?
39193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194   (exit $ac_status); }; }; then
39195   eval "$as_ac_var=yes"
39196 else
39197   echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.$ac_ext >&5
39199
39200 eval "$as_ac_var=no"
39201 fi
39202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39203 fi
39204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39206 if test `eval echo '${'$as_ac_var'}'` = yes; then
39207   cat >>confdefs.h <<_ACEOF
39208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39209 _ACEOF
39210
39211 fi
39212 done
39213
39214     fi
39215   fi
39216
39217
39218
39219   echo "$as_me:$LINENO: checking for powl declaration" >&5
39220 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39221   if test x${glibcxx_cv_func_powl_use+set} != xset; then
39222     if test "${glibcxx_cv_func_powl_use+set}" = set; then
39223   echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39225
39226
39227
39228       ac_ext=cc
39229 ac_cpp='$CXXCPP $CPPFLAGS'
39230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39233
39234       cat >conftest.$ac_ext <<_ACEOF
39235 #line $LINENO "configure"
39236 /* confdefs.h.  */
39237 _ACEOF
39238 cat confdefs.h >>conftest.$ac_ext
39239 cat >>conftest.$ac_ext <<_ACEOF
39240 /* end confdefs.h.  */
39241 #include <math.h>
39242 int
39243 main ()
39244 {
39245  powl(0, 0);
39246   ;
39247   return 0;
39248 }
39249 _ACEOF
39250 rm -f conftest.$ac_objext
39251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39252   (eval $ac_compile) 2>&5
39253   ac_status=$?
39254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255   (exit $ac_status); } &&
39256          { ac_try='test -s conftest.$ac_objext'
39257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39258   (eval $ac_try) 2>&5
39259   ac_status=$?
39260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261   (exit $ac_status); }; }; then
39262   glibcxx_cv_func_powl_use=yes
39263 else
39264   echo "$as_me: failed program was:" >&5
39265 sed 's/^/| /' conftest.$ac_ext >&5
39266
39267 glibcxx_cv_func_powl_use=no
39268 fi
39269 rm -f conftest.$ac_objext conftest.$ac_ext
39270       ac_ext=c
39271 ac_cpp='$CPP $CPPFLAGS'
39272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39275
39276
39277 fi
39278
39279   fi
39280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39281 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39282
39283   if test x$glibcxx_cv_func_powl_use = x"yes"; then
39284
39285 for ac_func in powl
39286 do
39287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39288 echo "$as_me:$LINENO: checking for $ac_func" >&5
39289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39290 if eval "test \"\${$as_ac_var+set}\" = set"; then
39291   echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293   cat >conftest.$ac_ext <<_ACEOF
39294 #line $LINENO "configure"
39295 /* confdefs.h.  */
39296 _ACEOF
39297 cat confdefs.h >>conftest.$ac_ext
39298 cat >>conftest.$ac_ext <<_ACEOF
39299 /* end confdefs.h.  */
39300 /* System header to define __stub macros and hopefully few prototypes,
39301     which can conflict with char $ac_func (); below.
39302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39303     <limits.h> exists even on freestanding compilers.  */
39304 #ifdef __STDC__
39305 # include <limits.h>
39306 #else
39307 # include <assert.h>
39308 #endif
39309 /* Override any gcc2 internal prototype to avoid an error.  */
39310 #ifdef __cplusplus
39311 extern "C"
39312 {
39313 #endif
39314 /* We use char because int might match the return type of a gcc2
39315    builtin and then its argument prototype would still apply.  */
39316 char $ac_func ();
39317 /* The GNU C library defines this for functions which it implements
39318     to always fail with ENOSYS.  Some functions are actually named
39319     something starting with __ and the normal name is an alias.  */
39320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39321 choke me
39322 #else
39323 char (*f) () = $ac_func;
39324 #endif
39325 #ifdef __cplusplus
39326 }
39327 #endif
39328
39329 int
39330 main ()
39331 {
39332 return f != $ac_func;
39333   ;
39334   return 0;
39335 }
39336 _ACEOF
39337 rm -f conftest.$ac_objext conftest$ac_exeext
39338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39339   (eval $ac_link) 2>&5
39340   ac_status=$?
39341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342   (exit $ac_status); } &&
39343          { ac_try='test -s conftest$ac_exeext'
39344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39345   (eval $ac_try) 2>&5
39346   ac_status=$?
39347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348   (exit $ac_status); }; }; then
39349   eval "$as_ac_var=yes"
39350 else
39351   echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39353
39354 eval "$as_ac_var=no"
39355 fi
39356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39357 fi
39358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39360 if test `eval echo '${'$as_ac_var'}'` = yes; then
39361   cat >>confdefs.h <<_ACEOF
39362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39363 _ACEOF
39364
39365 fi
39366 done
39367
39368   else
39369
39370   echo "$as_me:$LINENO: checking for _powl declaration" >&5
39371 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39372   if test x${glibcxx_cv_func__powl_use+set} != xset; then
39373     if test "${glibcxx_cv_func__powl_use+set}" = set; then
39374   echo $ECHO_N "(cached) $ECHO_C" >&6
39375 else
39376
39377
39378
39379       ac_ext=cc
39380 ac_cpp='$CXXCPP $CPPFLAGS'
39381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39384
39385       cat >conftest.$ac_ext <<_ACEOF
39386 #line $LINENO "configure"
39387 /* confdefs.h.  */
39388 _ACEOF
39389 cat confdefs.h >>conftest.$ac_ext
39390 cat >>conftest.$ac_ext <<_ACEOF
39391 /* end confdefs.h.  */
39392 #include <math.h>
39393 int
39394 main ()
39395 {
39396  _powl(0, 0);
39397   ;
39398   return 0;
39399 }
39400 _ACEOF
39401 rm -f conftest.$ac_objext
39402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39403   (eval $ac_compile) 2>&5
39404   ac_status=$?
39405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406   (exit $ac_status); } &&
39407          { ac_try='test -s conftest.$ac_objext'
39408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39409   (eval $ac_try) 2>&5
39410   ac_status=$?
39411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39412   (exit $ac_status); }; }; then
39413   glibcxx_cv_func__powl_use=yes
39414 else
39415   echo "$as_me: failed program was:" >&5
39416 sed 's/^/| /' conftest.$ac_ext >&5
39417
39418 glibcxx_cv_func__powl_use=no
39419 fi
39420 rm -f conftest.$ac_objext conftest.$ac_ext
39421       ac_ext=c
39422 ac_cpp='$CPP $CPPFLAGS'
39423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39426
39427
39428 fi
39429
39430   fi
39431   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39432 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39433
39434     if test x$glibcxx_cv_func__powl_use = x"yes"; then
39435
39436 for ac_func in _powl
39437 do
39438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39439 echo "$as_me:$LINENO: checking for $ac_func" >&5
39440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39441 if eval "test \"\${$as_ac_var+set}\" = set"; then
39442   echo $ECHO_N "(cached) $ECHO_C" >&6
39443 else
39444   cat >conftest.$ac_ext <<_ACEOF
39445 #line $LINENO "configure"
39446 /* confdefs.h.  */
39447 _ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h.  */
39451 /* System header to define __stub macros and hopefully few prototypes,
39452     which can conflict with char $ac_func (); below.
39453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39454     <limits.h> exists even on freestanding compilers.  */
39455 #ifdef __STDC__
39456 # include <limits.h>
39457 #else
39458 # include <assert.h>
39459 #endif
39460 /* Override any gcc2 internal prototype to avoid an error.  */
39461 #ifdef __cplusplus
39462 extern "C"
39463 {
39464 #endif
39465 /* We use char because int might match the return type of a gcc2
39466    builtin and then its argument prototype would still apply.  */
39467 char $ac_func ();
39468 /* The GNU C library defines this for functions which it implements
39469     to always fail with ENOSYS.  Some functions are actually named
39470     something starting with __ and the normal name is an alias.  */
39471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39472 choke me
39473 #else
39474 char (*f) () = $ac_func;
39475 #endif
39476 #ifdef __cplusplus
39477 }
39478 #endif
39479
39480 int
39481 main ()
39482 {
39483 return f != $ac_func;
39484   ;
39485   return 0;
39486 }
39487 _ACEOF
39488 rm -f conftest.$ac_objext conftest$ac_exeext
39489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39490   (eval $ac_link) 2>&5
39491   ac_status=$?
39492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493   (exit $ac_status); } &&
39494          { ac_try='test -s conftest$ac_exeext'
39495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39496   (eval $ac_try) 2>&5
39497   ac_status=$?
39498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499   (exit $ac_status); }; }; then
39500   eval "$as_ac_var=yes"
39501 else
39502   echo "$as_me: failed program was:" >&5
39503 sed 's/^/| /' conftest.$ac_ext >&5
39504
39505 eval "$as_ac_var=no"
39506 fi
39507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39508 fi
39509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39511 if test `eval echo '${'$as_ac_var'}'` = yes; then
39512   cat >>confdefs.h <<_ACEOF
39513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39514 _ACEOF
39515
39516 fi
39517 done
39518
39519     fi
39520   fi
39521
39522
39523
39524   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39525 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39526   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39527     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39528   echo $ECHO_N "(cached) $ECHO_C" >&6
39529 else
39530
39531
39532
39533       ac_ext=cc
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39538
39539       cat >conftest.$ac_ext <<_ACEOF
39540 #line $LINENO "configure"
39541 /* confdefs.h.  */
39542 _ACEOF
39543 cat confdefs.h >>conftest.$ac_ext
39544 cat >>conftest.$ac_ext <<_ACEOF
39545 /* end confdefs.h.  */
39546 #include <math.h>
39547                       #ifdef HAVE_IEEEFP_H
39548                       #include <ieeefp.h>
39549                       #endif
39550
39551 int
39552 main ()
39553 {
39554  sqrtl(0);
39555   ;
39556   return 0;
39557 }
39558 _ACEOF
39559 rm -f conftest.$ac_objext
39560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39561   (eval $ac_compile) 2>&5
39562   ac_status=$?
39563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39564   (exit $ac_status); } &&
39565          { ac_try='test -s conftest.$ac_objext'
39566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39567   (eval $ac_try) 2>&5
39568   ac_status=$?
39569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39570   (exit $ac_status); }; }; then
39571   glibcxx_cv_func_sqrtl_use=yes
39572 else
39573   echo "$as_me: failed program was:" >&5
39574 sed 's/^/| /' conftest.$ac_ext >&5
39575
39576 glibcxx_cv_func_sqrtl_use=no
39577 fi
39578 rm -f conftest.$ac_objext conftest.$ac_ext
39579       ac_ext=c
39580 ac_cpp='$CPP $CPPFLAGS'
39581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39584
39585
39586 fi
39587
39588   fi
39589   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39590 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39591
39592   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39593
39594 for ac_func in sqrtl
39595 do
39596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39597 echo "$as_me:$LINENO: checking for $ac_func" >&5
39598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39599 if eval "test \"\${$as_ac_var+set}\" = set"; then
39600   echo $ECHO_N "(cached) $ECHO_C" >&6
39601 else
39602   cat >conftest.$ac_ext <<_ACEOF
39603 #line $LINENO "configure"
39604 /* confdefs.h.  */
39605 _ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h.  */
39609 /* System header to define __stub macros and hopefully few prototypes,
39610     which can conflict with char $ac_func (); below.
39611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39612     <limits.h> exists even on freestanding compilers.  */
39613 #ifdef __STDC__
39614 # include <limits.h>
39615 #else
39616 # include <assert.h>
39617 #endif
39618 /* Override any gcc2 internal prototype to avoid an error.  */
39619 #ifdef __cplusplus
39620 extern "C"
39621 {
39622 #endif
39623 /* We use char because int might match the return type of a gcc2
39624    builtin and then its argument prototype would still apply.  */
39625 char $ac_func ();
39626 /* The GNU C library defines this for functions which it implements
39627     to always fail with ENOSYS.  Some functions are actually named
39628     something starting with __ and the normal name is an alias.  */
39629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39630 choke me
39631 #else
39632 char (*f) () = $ac_func;
39633 #endif
39634 #ifdef __cplusplus
39635 }
39636 #endif
39637
39638 int
39639 main ()
39640 {
39641 return f != $ac_func;
39642   ;
39643   return 0;
39644 }
39645 _ACEOF
39646 rm -f conftest.$ac_objext conftest$ac_exeext
39647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39648   (eval $ac_link) 2>&5
39649   ac_status=$?
39650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651   (exit $ac_status); } &&
39652          { ac_try='test -s conftest$ac_exeext'
39653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654   (eval $ac_try) 2>&5
39655   ac_status=$?
39656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657   (exit $ac_status); }; }; then
39658   eval "$as_ac_var=yes"
39659 else
39660   echo "$as_me: failed program was:" >&5
39661 sed 's/^/| /' conftest.$ac_ext >&5
39662
39663 eval "$as_ac_var=no"
39664 fi
39665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39666 fi
39667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39669 if test `eval echo '${'$as_ac_var'}'` = yes; then
39670   cat >>confdefs.h <<_ACEOF
39671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39672 _ACEOF
39673
39674 fi
39675 done
39676
39677   else
39678
39679   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39680 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39681   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39682     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39683   echo $ECHO_N "(cached) $ECHO_C" >&6
39684 else
39685
39686
39687
39688       ac_ext=cc
39689 ac_cpp='$CXXCPP $CPPFLAGS'
39690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39693
39694       cat >conftest.$ac_ext <<_ACEOF
39695 #line $LINENO "configure"
39696 /* confdefs.h.  */
39697 _ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h.  */
39701 #include <math.h>
39702                       #ifdef HAVE_IEEEFP_H
39703                       #include <ieeefp.h>
39704                       #endif
39705
39706 int
39707 main ()
39708 {
39709  _sqrtl(0);
39710   ;
39711   return 0;
39712 }
39713 _ACEOF
39714 rm -f conftest.$ac_objext
39715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39716   (eval $ac_compile) 2>&5
39717   ac_status=$?
39718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719   (exit $ac_status); } &&
39720          { ac_try='test -s conftest.$ac_objext'
39721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39722   (eval $ac_try) 2>&5
39723   ac_status=$?
39724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725   (exit $ac_status); }; }; then
39726   glibcxx_cv_func__sqrtl_use=yes
39727 else
39728   echo "$as_me: failed program was:" >&5
39729 sed 's/^/| /' conftest.$ac_ext >&5
39730
39731 glibcxx_cv_func__sqrtl_use=no
39732 fi
39733 rm -f conftest.$ac_objext conftest.$ac_ext
39734       ac_ext=c
39735 ac_cpp='$CPP $CPPFLAGS'
39736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39739
39740
39741 fi
39742
39743   fi
39744   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39745 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39746
39747     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39748
39749 for ac_func in _sqrtl
39750 do
39751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39752 echo "$as_me:$LINENO: checking for $ac_func" >&5
39753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39754 if eval "test \"\${$as_ac_var+set}\" = set"; then
39755   echo $ECHO_N "(cached) $ECHO_C" >&6
39756 else
39757   cat >conftest.$ac_ext <<_ACEOF
39758 #line $LINENO "configure"
39759 /* confdefs.h.  */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h.  */
39764 /* System header to define __stub macros and hopefully few prototypes,
39765     which can conflict with char $ac_func (); below.
39766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39767     <limits.h> exists even on freestanding compilers.  */
39768 #ifdef __STDC__
39769 # include <limits.h>
39770 #else
39771 # include <assert.h>
39772 #endif
39773 /* Override any gcc2 internal prototype to avoid an error.  */
39774 #ifdef __cplusplus
39775 extern "C"
39776 {
39777 #endif
39778 /* We use char because int might match the return type of a gcc2
39779    builtin and then its argument prototype would still apply.  */
39780 char $ac_func ();
39781 /* The GNU C library defines this for functions which it implements
39782     to always fail with ENOSYS.  Some functions are actually named
39783     something starting with __ and the normal name is an alias.  */
39784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39785 choke me
39786 #else
39787 char (*f) () = $ac_func;
39788 #endif
39789 #ifdef __cplusplus
39790 }
39791 #endif
39792
39793 int
39794 main ()
39795 {
39796 return f != $ac_func;
39797   ;
39798   return 0;
39799 }
39800 _ACEOF
39801 rm -f conftest.$ac_objext conftest$ac_exeext
39802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39803   (eval $ac_link) 2>&5
39804   ac_status=$?
39805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806   (exit $ac_status); } &&
39807          { ac_try='test -s conftest$ac_exeext'
39808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39809   (eval $ac_try) 2>&5
39810   ac_status=$?
39811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812   (exit $ac_status); }; }; then
39813   eval "$as_ac_var=yes"
39814 else
39815   echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.$ac_ext >&5
39817
39818 eval "$as_ac_var=no"
39819 fi
39820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39821 fi
39822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39824 if test `eval echo '${'$as_ac_var'}'` = yes; then
39825   cat >>confdefs.h <<_ACEOF
39826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39827 _ACEOF
39828
39829 fi
39830 done
39831
39832     fi
39833   fi
39834
39835
39836
39837   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39838 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39839   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39840     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39841   echo $ECHO_N "(cached) $ECHO_C" >&6
39842 else
39843
39844
39845
39846       ac_ext=cc
39847 ac_cpp='$CXXCPP $CPPFLAGS'
39848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39851
39852       cat >conftest.$ac_ext <<_ACEOF
39853 #line $LINENO "configure"
39854 /* confdefs.h.  */
39855 _ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h.  */
39859 #include <math.h>
39860 int
39861 main ()
39862 {
39863  sincosl(0, 0, 0);
39864   ;
39865   return 0;
39866 }
39867 _ACEOF
39868 rm -f conftest.$ac_objext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39870   (eval $ac_compile) 2>&5
39871   ac_status=$?
39872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873   (exit $ac_status); } &&
39874          { ac_try='test -s conftest.$ac_objext'
39875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39876   (eval $ac_try) 2>&5
39877   ac_status=$?
39878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879   (exit $ac_status); }; }; then
39880   glibcxx_cv_func_sincosl_use=yes
39881 else
39882   echo "$as_me: failed program was:" >&5
39883 sed 's/^/| /' conftest.$ac_ext >&5
39884
39885 glibcxx_cv_func_sincosl_use=no
39886 fi
39887 rm -f conftest.$ac_objext conftest.$ac_ext
39888       ac_ext=c
39889 ac_cpp='$CPP $CPPFLAGS'
39890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39893
39894
39895 fi
39896
39897   fi
39898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
39899 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
39900
39901   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39902
39903 for ac_func in sincosl
39904 do
39905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39906 echo "$as_me:$LINENO: checking for $ac_func" >&5
39907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39908 if eval "test \"\${$as_ac_var+set}\" = set"; then
39909   echo $ECHO_N "(cached) $ECHO_C" >&6
39910 else
39911   cat >conftest.$ac_ext <<_ACEOF
39912 #line $LINENO "configure"
39913 /* confdefs.h.  */
39914 _ACEOF
39915 cat confdefs.h >>conftest.$ac_ext
39916 cat >>conftest.$ac_ext <<_ACEOF
39917 /* end confdefs.h.  */
39918 /* System header to define __stub macros and hopefully few prototypes,
39919     which can conflict with char $ac_func (); below.
39920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39921     <limits.h> exists even on freestanding compilers.  */
39922 #ifdef __STDC__
39923 # include <limits.h>
39924 #else
39925 # include <assert.h>
39926 #endif
39927 /* Override any gcc2 internal prototype to avoid an error.  */
39928 #ifdef __cplusplus
39929 extern "C"
39930 {
39931 #endif
39932 /* We use char because int might match the return type of a gcc2
39933    builtin and then its argument prototype would still apply.  */
39934 char $ac_func ();
39935 /* The GNU C library defines this for functions which it implements
39936     to always fail with ENOSYS.  Some functions are actually named
39937     something starting with __ and the normal name is an alias.  */
39938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39939 choke me
39940 #else
39941 char (*f) () = $ac_func;
39942 #endif
39943 #ifdef __cplusplus
39944 }
39945 #endif
39946
39947 int
39948 main ()
39949 {
39950 return f != $ac_func;
39951   ;
39952   return 0;
39953 }
39954 _ACEOF
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39957   (eval $ac_link) 2>&5
39958   ac_status=$?
39959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39960   (exit $ac_status); } &&
39961          { ac_try='test -s conftest$ac_exeext'
39962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39963   (eval $ac_try) 2>&5
39964   ac_status=$?
39965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966   (exit $ac_status); }; }; then
39967   eval "$as_ac_var=yes"
39968 else
39969   echo "$as_me: failed program was:" >&5
39970 sed 's/^/| /' conftest.$ac_ext >&5
39971
39972 eval "$as_ac_var=no"
39973 fi
39974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39975 fi
39976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39978 if test `eval echo '${'$as_ac_var'}'` = yes; then
39979   cat >>confdefs.h <<_ACEOF
39980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39981 _ACEOF
39982
39983 fi
39984 done
39985
39986   else
39987
39988   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
39989 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
39990   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39991     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
39992   echo $ECHO_N "(cached) $ECHO_C" >&6
39993 else
39994
39995
39996
39997       ac_ext=cc
39998 ac_cpp='$CXXCPP $CPPFLAGS'
39999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40002
40003       cat >conftest.$ac_ext <<_ACEOF
40004 #line $LINENO "configure"
40005 /* confdefs.h.  */
40006 _ACEOF
40007 cat confdefs.h >>conftest.$ac_ext
40008 cat >>conftest.$ac_ext <<_ACEOF
40009 /* end confdefs.h.  */
40010 #include <math.h>
40011 int
40012 main ()
40013 {
40014  _sincosl(0, 0, 0);
40015   ;
40016   return 0;
40017 }
40018 _ACEOF
40019 rm -f conftest.$ac_objext
40020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40021   (eval $ac_compile) 2>&5
40022   ac_status=$?
40023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024   (exit $ac_status); } &&
40025          { ac_try='test -s conftest.$ac_objext'
40026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40027   (eval $ac_try) 2>&5
40028   ac_status=$?
40029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030   (exit $ac_status); }; }; then
40031   glibcxx_cv_func__sincosl_use=yes
40032 else
40033   echo "$as_me: failed program was:" >&5
40034 sed 's/^/| /' conftest.$ac_ext >&5
40035
40036 glibcxx_cv_func__sincosl_use=no
40037 fi
40038 rm -f conftest.$ac_objext conftest.$ac_ext
40039       ac_ext=c
40040 ac_cpp='$CPP $CPPFLAGS'
40041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40044
40045
40046 fi
40047
40048   fi
40049   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40050 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40051
40052     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40053
40054 for ac_func in _sincosl
40055 do
40056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 echo "$as_me:$LINENO: checking for $ac_func" >&5
40058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40059 if eval "test \"\${$as_ac_var+set}\" = set"; then
40060   echo $ECHO_N "(cached) $ECHO_C" >&6
40061 else
40062   cat >conftest.$ac_ext <<_ACEOF
40063 #line $LINENO "configure"
40064 /* confdefs.h.  */
40065 _ACEOF
40066 cat confdefs.h >>conftest.$ac_ext
40067 cat >>conftest.$ac_ext <<_ACEOF
40068 /* end confdefs.h.  */
40069 /* System header to define __stub macros and hopefully few prototypes,
40070     which can conflict with char $ac_func (); below.
40071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40072     <limits.h> exists even on freestanding compilers.  */
40073 #ifdef __STDC__
40074 # include <limits.h>
40075 #else
40076 # include <assert.h>
40077 #endif
40078 /* Override any gcc2 internal prototype to avoid an error.  */
40079 #ifdef __cplusplus
40080 extern "C"
40081 {
40082 #endif
40083 /* We use char because int might match the return type of a gcc2
40084    builtin and then its argument prototype would still apply.  */
40085 char $ac_func ();
40086 /* The GNU C library defines this for functions which it implements
40087     to always fail with ENOSYS.  Some functions are actually named
40088     something starting with __ and the normal name is an alias.  */
40089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40090 choke me
40091 #else
40092 char (*f) () = $ac_func;
40093 #endif
40094 #ifdef __cplusplus
40095 }
40096 #endif
40097
40098 int
40099 main ()
40100 {
40101 return f != $ac_func;
40102   ;
40103   return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40108   (eval $ac_link) 2>&5
40109   ac_status=$?
40110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111   (exit $ac_status); } &&
40112          { ac_try='test -s conftest$ac_exeext'
40113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40114   (eval $ac_try) 2>&5
40115   ac_status=$?
40116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117   (exit $ac_status); }; }; then
40118   eval "$as_ac_var=yes"
40119 else
40120   echo "$as_me: failed program was:" >&5
40121 sed 's/^/| /' conftest.$ac_ext >&5
40122
40123 eval "$as_ac_var=no"
40124 fi
40125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40126 fi
40127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40129 if test `eval echo '${'$as_ac_var'}'` = yes; then
40130   cat >>confdefs.h <<_ACEOF
40131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40132 _ACEOF
40133
40134 fi
40135 done
40136
40137     fi
40138   fi
40139
40140
40141
40142   echo "$as_me:$LINENO: checking for finitel declaration" >&5
40143 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40144   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40145     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40146   echo $ECHO_N "(cached) $ECHO_C" >&6
40147 else
40148
40149
40150
40151       ac_ext=cc
40152 ac_cpp='$CXXCPP $CPPFLAGS'
40153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40156
40157       cat >conftest.$ac_ext <<_ACEOF
40158 #line $LINENO "configure"
40159 /* confdefs.h.  */
40160 _ACEOF
40161 cat confdefs.h >>conftest.$ac_ext
40162 cat >>conftest.$ac_ext <<_ACEOF
40163 /* end confdefs.h.  */
40164 #include <math.h>
40165                       #ifdef HAVE_IEEEFP_H
40166                       #include <ieeefp.h>
40167                       #endif
40168
40169 int
40170 main ()
40171 {
40172  finitel(0);
40173   ;
40174   return 0;
40175 }
40176 _ACEOF
40177 rm -f conftest.$ac_objext
40178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40179   (eval $ac_compile) 2>&5
40180   ac_status=$?
40181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182   (exit $ac_status); } &&
40183          { ac_try='test -s conftest.$ac_objext'
40184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40185   (eval $ac_try) 2>&5
40186   ac_status=$?
40187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188   (exit $ac_status); }; }; then
40189   glibcxx_cv_func_finitel_use=yes
40190 else
40191   echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.$ac_ext >&5
40193
40194 glibcxx_cv_func_finitel_use=no
40195 fi
40196 rm -f conftest.$ac_objext conftest.$ac_ext
40197       ac_ext=c
40198 ac_cpp='$CPP $CPPFLAGS'
40199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40202
40203
40204 fi
40205
40206   fi
40207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40208 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40209
40210   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40211
40212 for ac_func in finitel
40213 do
40214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40215 echo "$as_me:$LINENO: checking for $ac_func" >&5
40216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40217 if eval "test \"\${$as_ac_var+set}\" = set"; then
40218   echo $ECHO_N "(cached) $ECHO_C" >&6
40219 else
40220   cat >conftest.$ac_ext <<_ACEOF
40221 #line $LINENO "configure"
40222 /* confdefs.h.  */
40223 _ACEOF
40224 cat confdefs.h >>conftest.$ac_ext
40225 cat >>conftest.$ac_ext <<_ACEOF
40226 /* end confdefs.h.  */
40227 /* System header to define __stub macros and hopefully few prototypes,
40228     which can conflict with char $ac_func (); below.
40229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230     <limits.h> exists even on freestanding compilers.  */
40231 #ifdef __STDC__
40232 # include <limits.h>
40233 #else
40234 # include <assert.h>
40235 #endif
40236 /* Override any gcc2 internal prototype to avoid an error.  */
40237 #ifdef __cplusplus
40238 extern "C"
40239 {
40240 #endif
40241 /* We use char because int might match the return type of a gcc2
40242    builtin and then its argument prototype would still apply.  */
40243 char $ac_func ();
40244 /* The GNU C library defines this for functions which it implements
40245     to always fail with ENOSYS.  Some functions are actually named
40246     something starting with __ and the normal name is an alias.  */
40247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40248 choke me
40249 #else
40250 char (*f) () = $ac_func;
40251 #endif
40252 #ifdef __cplusplus
40253 }
40254 #endif
40255
40256 int
40257 main ()
40258 {
40259 return f != $ac_func;
40260   ;
40261   return 0;
40262 }
40263 _ACEOF
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40266   (eval $ac_link) 2>&5
40267   ac_status=$?
40268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269   (exit $ac_status); } &&
40270          { ac_try='test -s conftest$ac_exeext'
40271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40272   (eval $ac_try) 2>&5
40273   ac_status=$?
40274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275   (exit $ac_status); }; }; then
40276   eval "$as_ac_var=yes"
40277 else
40278   echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40280
40281 eval "$as_ac_var=no"
40282 fi
40283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40284 fi
40285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40287 if test `eval echo '${'$as_ac_var'}'` = yes; then
40288   cat >>confdefs.h <<_ACEOF
40289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40290 _ACEOF
40291
40292 fi
40293 done
40294
40295   else
40296
40297   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40298 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40299   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40300     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40301   echo $ECHO_N "(cached) $ECHO_C" >&6
40302 else
40303
40304
40305
40306       ac_ext=cc
40307 ac_cpp='$CXXCPP $CPPFLAGS'
40308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40311
40312       cat >conftest.$ac_ext <<_ACEOF
40313 #line $LINENO "configure"
40314 /* confdefs.h.  */
40315 _ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h.  */
40319 #include <math.h>
40320                       #ifdef HAVE_IEEEFP_H
40321                       #include <ieeefp.h>
40322                       #endif
40323
40324 int
40325 main ()
40326 {
40327  _finitel(0);
40328   ;
40329   return 0;
40330 }
40331 _ACEOF
40332 rm -f conftest.$ac_objext
40333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40334   (eval $ac_compile) 2>&5
40335   ac_status=$?
40336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337   (exit $ac_status); } &&
40338          { ac_try='test -s conftest.$ac_objext'
40339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40340   (eval $ac_try) 2>&5
40341   ac_status=$?
40342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343   (exit $ac_status); }; }; then
40344   glibcxx_cv_func__finitel_use=yes
40345 else
40346   echo "$as_me: failed program was:" >&5
40347 sed 's/^/| /' conftest.$ac_ext >&5
40348
40349 glibcxx_cv_func__finitel_use=no
40350 fi
40351 rm -f conftest.$ac_objext conftest.$ac_ext
40352       ac_ext=c
40353 ac_cpp='$CPP $CPPFLAGS'
40354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40357
40358
40359 fi
40360
40361   fi
40362   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40363 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40364
40365     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40366
40367 for ac_func in _finitel
40368 do
40369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40370 echo "$as_me:$LINENO: checking for $ac_func" >&5
40371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40372 if eval "test \"\${$as_ac_var+set}\" = set"; then
40373   echo $ECHO_N "(cached) $ECHO_C" >&6
40374 else
40375   cat >conftest.$ac_ext <<_ACEOF
40376 #line $LINENO "configure"
40377 /* confdefs.h.  */
40378 _ACEOF
40379 cat confdefs.h >>conftest.$ac_ext
40380 cat >>conftest.$ac_ext <<_ACEOF
40381 /* end confdefs.h.  */
40382 /* System header to define __stub macros and hopefully few prototypes,
40383     which can conflict with char $ac_func (); below.
40384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40385     <limits.h> exists even on freestanding compilers.  */
40386 #ifdef __STDC__
40387 # include <limits.h>
40388 #else
40389 # include <assert.h>
40390 #endif
40391 /* Override any gcc2 internal prototype to avoid an error.  */
40392 #ifdef __cplusplus
40393 extern "C"
40394 {
40395 #endif
40396 /* We use char because int might match the return type of a gcc2
40397    builtin and then its argument prototype would still apply.  */
40398 char $ac_func ();
40399 /* The GNU C library defines this for functions which it implements
40400     to always fail with ENOSYS.  Some functions are actually named
40401     something starting with __ and the normal name is an alias.  */
40402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40403 choke me
40404 #else
40405 char (*f) () = $ac_func;
40406 #endif
40407 #ifdef __cplusplus
40408 }
40409 #endif
40410
40411 int
40412 main ()
40413 {
40414 return f != $ac_func;
40415   ;
40416   return 0;
40417 }
40418 _ACEOF
40419 rm -f conftest.$ac_objext conftest$ac_exeext
40420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40421   (eval $ac_link) 2>&5
40422   ac_status=$?
40423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424   (exit $ac_status); } &&
40425          { ac_try='test -s conftest$ac_exeext'
40426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40427   (eval $ac_try) 2>&5
40428   ac_status=$?
40429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430   (exit $ac_status); }; }; then
40431   eval "$as_ac_var=yes"
40432 else
40433   echo "$as_me: failed program was:" >&5
40434 sed 's/^/| /' conftest.$ac_ext >&5
40435
40436 eval "$as_ac_var=no"
40437 fi
40438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40439 fi
40440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40442 if test `eval echo '${'$as_ac_var'}'` = yes; then
40443   cat >>confdefs.h <<_ACEOF
40444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40445 _ACEOF
40446
40447 fi
40448 done
40449
40450     fi
40451   fi
40452
40453
40454
40455
40456   echo "$as_me:$LINENO: checking for _float trig functions" >&5
40457 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
40458   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
40459   echo $ECHO_N "(cached) $ECHO_C" >&6
40460 else
40461
40462
40463
40464     ac_ext=cc
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40469
40470     cat >conftest.$ac_ext <<_ACEOF
40471 #line $LINENO "configure"
40472 /* confdefs.h.  */
40473 _ACEOF
40474 cat confdefs.h >>conftest.$ac_ext
40475 cat >>conftest.$ac_ext <<_ACEOF
40476 /* end confdefs.h.  */
40477 #include <math.h>
40478 int
40479 main ()
40480 {
40481  `for x in _acosf _asinf _atanf \
40482                                           _cosf _sinf _tanf \
40483                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
40484   ;
40485   return 0;
40486 }
40487 _ACEOF
40488 rm -f conftest.$ac_objext
40489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40490   (eval $ac_compile) 2>&5
40491   ac_status=$?
40492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493   (exit $ac_status); } &&
40494          { ac_try='test -s conftest.$ac_objext'
40495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496   (eval $ac_try) 2>&5
40497   ac_status=$?
40498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499   (exit $ac_status); }; }; then
40500   glibcxx_cv_func__float_trig_use=yes
40501 else
40502   echo "$as_me: failed program was:" >&5
40503 sed 's/^/| /' conftest.$ac_ext >&5
40504
40505 glibcxx_cv_func__float_trig_use=no
40506 fi
40507 rm -f conftest.$ac_objext conftest.$ac_ext
40508     ac_ext=c
40509 ac_cpp='$CPP $CPPFLAGS'
40510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40513
40514 fi
40515
40516   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
40517 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
40518   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528 for ac_func in _acosf _asinf _atanf \
40529                                           _cosf _sinf _tanf \
40530                                           _coshf _sinhf _tanhf
40531 do
40532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40533 echo "$as_me:$LINENO: checking for $ac_func" >&5
40534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40535 if eval "test \"\${$as_ac_var+set}\" = set"; then
40536   echo $ECHO_N "(cached) $ECHO_C" >&6
40537 else
40538   cat >conftest.$ac_ext <<_ACEOF
40539 #line $LINENO "configure"
40540 /* confdefs.h.  */
40541 _ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h.  */
40545 /* System header to define __stub macros and hopefully few prototypes,
40546     which can conflict with char $ac_func (); below.
40547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40548     <limits.h> exists even on freestanding compilers.  */
40549 #ifdef __STDC__
40550 # include <limits.h>
40551 #else
40552 # include <assert.h>
40553 #endif
40554 /* Override any gcc2 internal prototype to avoid an error.  */
40555 #ifdef __cplusplus
40556 extern "C"
40557 {
40558 #endif
40559 /* We use char because int might match the return type of a gcc2
40560    builtin and then its argument prototype would still apply.  */
40561 char $ac_func ();
40562 /* The GNU C library defines this for functions which it implements
40563     to always fail with ENOSYS.  Some functions are actually named
40564     something starting with __ and the normal name is an alias.  */
40565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40566 choke me
40567 #else
40568 char (*f) () = $ac_func;
40569 #endif
40570 #ifdef __cplusplus
40571 }
40572 #endif
40573
40574 int
40575 main ()
40576 {
40577 return f != $ac_func;
40578   ;
40579   return 0;
40580 }
40581 _ACEOF
40582 rm -f conftest.$ac_objext conftest$ac_exeext
40583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40584   (eval $ac_link) 2>&5
40585   ac_status=$?
40586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587   (exit $ac_status); } &&
40588          { ac_try='test -s conftest$ac_exeext'
40589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590   (eval $ac_try) 2>&5
40591   ac_status=$?
40592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593   (exit $ac_status); }; }; then
40594   eval "$as_ac_var=yes"
40595 else
40596   echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.$ac_ext >&5
40598
40599 eval "$as_ac_var=no"
40600 fi
40601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40602 fi
40603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40605 if test `eval echo '${'$as_ac_var'}'` = yes; then
40606   cat >>confdefs.h <<_ACEOF
40607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40608 _ACEOF
40609
40610 fi
40611 done
40612
40613   fi
40614
40615
40616   echo "$as_me:$LINENO: checking for _float round functions" >&5
40617 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
40618   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
40619   echo $ECHO_N "(cached) $ECHO_C" >&6
40620 else
40621
40622
40623
40624     ac_ext=cc
40625 ac_cpp='$CXXCPP $CPPFLAGS'
40626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40629
40630     cat >conftest.$ac_ext <<_ACEOF
40631 #line $LINENO "configure"
40632 /* confdefs.h.  */
40633 _ACEOF
40634 cat confdefs.h >>conftest.$ac_ext
40635 cat >>conftest.$ac_ext <<_ACEOF
40636 /* end confdefs.h.  */
40637 #include <math.h>
40638 int
40639 main ()
40640 {
40641  `for x in _ceilf _floorf; do echo "$x (0);"; done`
40642   ;
40643   return 0;
40644 }
40645 _ACEOF
40646 rm -f conftest.$ac_objext
40647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40648   (eval $ac_compile) 2>&5
40649   ac_status=$?
40650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40651   (exit $ac_status); } &&
40652          { ac_try='test -s conftest.$ac_objext'
40653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40654   (eval $ac_try) 2>&5
40655   ac_status=$?
40656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657   (exit $ac_status); }; }; then
40658   glibcxx_cv_func__float_round_use=yes
40659 else
40660   echo "$as_me: failed program was:" >&5
40661 sed 's/^/| /' conftest.$ac_ext >&5
40662
40663 glibcxx_cv_func__float_round_use=no
40664 fi
40665 rm -f conftest.$ac_objext conftest.$ac_ext
40666     ac_ext=c
40667 ac_cpp='$CPP $CPPFLAGS'
40668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40671
40672 fi
40673
40674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
40675 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
40676   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40677
40678
40679 for ac_func in _ceilf _floorf
40680 do
40681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40682 echo "$as_me:$LINENO: checking for $ac_func" >&5
40683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40684 if eval "test \"\${$as_ac_var+set}\" = set"; then
40685   echo $ECHO_N "(cached) $ECHO_C" >&6
40686 else
40687   cat >conftest.$ac_ext <<_ACEOF
40688 #line $LINENO "configure"
40689 /* confdefs.h.  */
40690 _ACEOF
40691 cat confdefs.h >>conftest.$ac_ext
40692 cat >>conftest.$ac_ext <<_ACEOF
40693 /* end confdefs.h.  */
40694 /* System header to define __stub macros and hopefully few prototypes,
40695     which can conflict with char $ac_func (); below.
40696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40697     <limits.h> exists even on freestanding compilers.  */
40698 #ifdef __STDC__
40699 # include <limits.h>
40700 #else
40701 # include <assert.h>
40702 #endif
40703 /* Override any gcc2 internal prototype to avoid an error.  */
40704 #ifdef __cplusplus
40705 extern "C"
40706 {
40707 #endif
40708 /* We use char because int might match the return type of a gcc2
40709    builtin and then its argument prototype would still apply.  */
40710 char $ac_func ();
40711 /* The GNU C library defines this for functions which it implements
40712     to always fail with ENOSYS.  Some functions are actually named
40713     something starting with __ and the normal name is an alias.  */
40714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40715 choke me
40716 #else
40717 char (*f) () = $ac_func;
40718 #endif
40719 #ifdef __cplusplus
40720 }
40721 #endif
40722
40723 int
40724 main ()
40725 {
40726 return f != $ac_func;
40727   ;
40728   return 0;
40729 }
40730 _ACEOF
40731 rm -f conftest.$ac_objext conftest$ac_exeext
40732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40733   (eval $ac_link) 2>&5
40734   ac_status=$?
40735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736   (exit $ac_status); } &&
40737          { ac_try='test -s conftest$ac_exeext'
40738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739   (eval $ac_try) 2>&5
40740   ac_status=$?
40741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742   (exit $ac_status); }; }; then
40743   eval "$as_ac_var=yes"
40744 else
40745   echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748 eval "$as_ac_var=no"
40749 fi
40750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40751 fi
40752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40754 if test `eval echo '${'$as_ac_var'}'` = yes; then
40755   cat >>confdefs.h <<_ACEOF
40756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40757 _ACEOF
40758
40759 fi
40760 done
40761
40762   fi
40763
40764
40765
40766   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
40767 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
40768   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
40769   echo $ECHO_N "(cached) $ECHO_C" >&6
40770 else
40771
40772
40773
40774     ac_ext=cc
40775 ac_cpp='$CXXCPP $CPPFLAGS'
40776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40779
40780     cat >conftest.$ac_ext <<_ACEOF
40781 #line $LINENO "configure"
40782 /* confdefs.h.  */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h.  */
40787 #include <math.h>
40788 int
40789 main ()
40790 {
40791  `for x in _acosl _asinl _atanl \
40792                                           _cosl _sinl _tanl \
40793                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
40794   ;
40795   return 0;
40796 }
40797 _ACEOF
40798 rm -f conftest.$ac_objext
40799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40800   (eval $ac_compile) 2>&5
40801   ac_status=$?
40802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803   (exit $ac_status); } &&
40804          { ac_try='test -s conftest.$ac_objext'
40805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806   (eval $ac_try) 2>&5
40807   ac_status=$?
40808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809   (exit $ac_status); }; }; then
40810   glibcxx_cv_func__long_double_trig_use=yes
40811 else
40812   echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.$ac_ext >&5
40814
40815 glibcxx_cv_func__long_double_trig_use=no
40816 fi
40817 rm -f conftest.$ac_objext conftest.$ac_ext
40818     ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40823
40824 fi
40825
40826   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
40827 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
40828   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838 for ac_func in _acosl _asinl _atanl \
40839                                           _cosl _sinl _tanl \
40840                                           _coshl _sinhl _tanhl
40841 do
40842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40843 echo "$as_me:$LINENO: checking for $ac_func" >&5
40844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40845 if eval "test \"\${$as_ac_var+set}\" = set"; then
40846   echo $ECHO_N "(cached) $ECHO_C" >&6
40847 else
40848   cat >conftest.$ac_ext <<_ACEOF
40849 #line $LINENO "configure"
40850 /* confdefs.h.  */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h.  */
40855 /* System header to define __stub macros and hopefully few prototypes,
40856     which can conflict with char $ac_func (); below.
40857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40858     <limits.h> exists even on freestanding compilers.  */
40859 #ifdef __STDC__
40860 # include <limits.h>
40861 #else
40862 # include <assert.h>
40863 #endif
40864 /* Override any gcc2 internal prototype to avoid an error.  */
40865 #ifdef __cplusplus
40866 extern "C"
40867 {
40868 #endif
40869 /* We use char because int might match the return type of a gcc2
40870    builtin and then its argument prototype would still apply.  */
40871 char $ac_func ();
40872 /* The GNU C library defines this for functions which it implements
40873     to always fail with ENOSYS.  Some functions are actually named
40874     something starting with __ and the normal name is an alias.  */
40875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40876 choke me
40877 #else
40878 char (*f) () = $ac_func;
40879 #endif
40880 #ifdef __cplusplus
40881 }
40882 #endif
40883
40884 int
40885 main ()
40886 {
40887 return f != $ac_func;
40888   ;
40889   return 0;
40890 }
40891 _ACEOF
40892 rm -f conftest.$ac_objext conftest$ac_exeext
40893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40894   (eval $ac_link) 2>&5
40895   ac_status=$?
40896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40897   (exit $ac_status); } &&
40898          { ac_try='test -s conftest$ac_exeext'
40899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40900   (eval $ac_try) 2>&5
40901   ac_status=$?
40902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903   (exit $ac_status); }; }; then
40904   eval "$as_ac_var=yes"
40905 else
40906   echo "$as_me: failed program was:" >&5
40907 sed 's/^/| /' conftest.$ac_ext >&5
40908
40909 eval "$as_ac_var=no"
40910 fi
40911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40912 fi
40913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40915 if test `eval echo '${'$as_ac_var'}'` = yes; then
40916   cat >>confdefs.h <<_ACEOF
40917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40918 _ACEOF
40919
40920 fi
40921 done
40922
40923   fi
40924
40925
40926   echo "$as_me:$LINENO: checking for _long double round functions" >&5
40927 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
40928   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
40929   echo $ECHO_N "(cached) $ECHO_C" >&6
40930 else
40931
40932
40933
40934     ac_ext=cc
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939
40940     cat >conftest.$ac_ext <<_ACEOF
40941 #line $LINENO "configure"
40942 /* confdefs.h.  */
40943 _ACEOF
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h.  */
40947 #include <math.h>
40948 int
40949 main ()
40950 {
40951  `for x in _ceill _floorl; do echo "$x (0);"; done`
40952   ;
40953   return 0;
40954 }
40955 _ACEOF
40956 rm -f conftest.$ac_objext
40957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40958   (eval $ac_compile) 2>&5
40959   ac_status=$?
40960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961   (exit $ac_status); } &&
40962          { ac_try='test -s conftest.$ac_objext'
40963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40964   (eval $ac_try) 2>&5
40965   ac_status=$?
40966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40967   (exit $ac_status); }; }; then
40968   glibcxx_cv_func__long_double_round_use=yes
40969 else
40970   echo "$as_me: failed program was:" >&5
40971 sed 's/^/| /' conftest.$ac_ext >&5
40972
40973 glibcxx_cv_func__long_double_round_use=no
40974 fi
40975 rm -f conftest.$ac_objext conftest.$ac_ext
40976     ac_ext=c
40977 ac_cpp='$CPP $CPPFLAGS'
40978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40981
40982 fi
40983
40984   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
40985 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
40986   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
40987
40988
40989 for ac_func in _ceill _floorl
40990 do
40991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40992 echo "$as_me:$LINENO: checking for $ac_func" >&5
40993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40994 if eval "test \"\${$as_ac_var+set}\" = set"; then
40995   echo $ECHO_N "(cached) $ECHO_C" >&6
40996 else
40997   cat >conftest.$ac_ext <<_ACEOF
40998 #line $LINENO "configure"
40999 /* confdefs.h.  */
41000 _ACEOF
41001 cat confdefs.h >>conftest.$ac_ext
41002 cat >>conftest.$ac_ext <<_ACEOF
41003 /* end confdefs.h.  */
41004 /* System header to define __stub macros and hopefully few prototypes,
41005     which can conflict with char $ac_func (); below.
41006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41007     <limits.h> exists even on freestanding compilers.  */
41008 #ifdef __STDC__
41009 # include <limits.h>
41010 #else
41011 # include <assert.h>
41012 #endif
41013 /* Override any gcc2 internal prototype to avoid an error.  */
41014 #ifdef __cplusplus
41015 extern "C"
41016 {
41017 #endif
41018 /* We use char because int might match the return type of a gcc2
41019    builtin and then its argument prototype would still apply.  */
41020 char $ac_func ();
41021 /* The GNU C library defines this for functions which it implements
41022     to always fail with ENOSYS.  Some functions are actually named
41023     something starting with __ and the normal name is an alias.  */
41024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41025 choke me
41026 #else
41027 char (*f) () = $ac_func;
41028 #endif
41029 #ifdef __cplusplus
41030 }
41031 #endif
41032
41033 int
41034 main ()
41035 {
41036 return f != $ac_func;
41037   ;
41038   return 0;
41039 }
41040 _ACEOF
41041 rm -f conftest.$ac_objext conftest$ac_exeext
41042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41043   (eval $ac_link) 2>&5
41044   ac_status=$?
41045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046   (exit $ac_status); } &&
41047          { ac_try='test -s conftest$ac_exeext'
41048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41049   (eval $ac_try) 2>&5
41050   ac_status=$?
41051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052   (exit $ac_status); }; }; then
41053   eval "$as_ac_var=yes"
41054 else
41055   echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41057
41058 eval "$as_ac_var=no"
41059 fi
41060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41061 fi
41062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41064 if test `eval echo '${'$as_ac_var'}'` = yes; then
41065   cat >>confdefs.h <<_ACEOF
41066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41067 _ACEOF
41068
41069 fi
41070 done
41071
41072   fi
41073
41074
41075   LIBS="$ac_save_LIBS"
41076   CXXFLAGS="$ac_save_CXXFLAGS"
41077
41078
41079
41080   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
41081 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
41082   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
41083     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
41084   echo $ECHO_N "(cached) $ECHO_C" >&6
41085 else
41086
41087
41088
41089       ac_ext=cc
41090 ac_cpp='$CXXCPP $CPPFLAGS'
41091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41094
41095       cat >conftest.$ac_ext <<_ACEOF
41096 #line $LINENO "configure"
41097 /* confdefs.h.  */
41098 _ACEOF
41099 cat confdefs.h >>conftest.$ac_ext
41100 cat >>conftest.$ac_ext <<_ACEOF
41101 /* end confdefs.h.  */
41102 #include <math.h>
41103 int
41104 main ()
41105 {
41106  __builtin_abs(0);
41107   ;
41108   return 0;
41109 }
41110 _ACEOF
41111 rm -f conftest.$ac_objext
41112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41113   (eval $ac_compile) 2>&5
41114   ac_status=$?
41115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116   (exit $ac_status); } &&
41117          { ac_try='test -s conftest.$ac_objext'
41118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41119   (eval $ac_try) 2>&5
41120   ac_status=$?
41121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122   (exit $ac_status); }; }; then
41123   glibcxx_cv_func___builtin_abs_use=yes
41124 else
41125   echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41127
41128 glibcxx_cv_func___builtin_abs_use=no
41129 fi
41130 rm -f conftest.$ac_objext conftest.$ac_ext
41131       ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136
41137
41138 fi
41139
41140   fi
41141   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
41142 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
41143   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
41144     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
41145 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
41146     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
41147       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
41148   echo $ECHO_N "(cached) $ECHO_C" >&6
41149 else
41150
41151         cat >conftest.$ac_ext <<_ACEOF
41152 #line $LINENO "configure"
41153 /* confdefs.h.  */
41154 _ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h.  */
41158 #include <math.h>
41159 int
41160 main ()
41161 {
41162  __builtin_abs(0);
41163   ;
41164   return 0;
41165 }
41166 _ACEOF
41167 rm -f conftest.$ac_objext conftest$ac_exeext
41168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41169   (eval $ac_link) 2>&5
41170   ac_status=$?
41171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41172   (exit $ac_status); } &&
41173          { ac_try='test -s conftest$ac_exeext'
41174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41175   (eval $ac_try) 2>&5
41176   ac_status=$?
41177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41178   (exit $ac_status); }; }; then
41179   glibcxx_cv_func___builtin_abs_link=yes
41180 else
41181   echo "$as_me: failed program was:" >&5
41182 sed 's/^/| /' conftest.$ac_ext >&5
41183
41184 glibcxx_cv_func___builtin_abs_link=no
41185 fi
41186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41187
41188 fi
41189
41190     fi
41191     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
41192 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
41193     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
41194       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41195       cat >>confdefs.h <<_ACEOF
41196 #define ${ac_tr_func} 1
41197 _ACEOF
41198
41199     fi
41200   fi
41201
41202
41203   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
41204 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
41205   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
41206     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
41207   echo $ECHO_N "(cached) $ECHO_C" >&6
41208 else
41209
41210
41211
41212       ac_ext=cc
41213 ac_cpp='$CXXCPP $CPPFLAGS'
41214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41217
41218       cat >conftest.$ac_ext <<_ACEOF
41219 #line $LINENO "configure"
41220 /* confdefs.h.  */
41221 _ACEOF
41222 cat confdefs.h >>conftest.$ac_ext
41223 cat >>conftest.$ac_ext <<_ACEOF
41224 /* end confdefs.h.  */
41225 #include <math.h>
41226 int
41227 main ()
41228 {
41229  __builtin_fabsf(0);
41230   ;
41231   return 0;
41232 }
41233 _ACEOF
41234 rm -f conftest.$ac_objext
41235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41236   (eval $ac_compile) 2>&5
41237   ac_status=$?
41238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41239   (exit $ac_status); } &&
41240          { ac_try='test -s conftest.$ac_objext'
41241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41242   (eval $ac_try) 2>&5
41243   ac_status=$?
41244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41245   (exit $ac_status); }; }; then
41246   glibcxx_cv_func___builtin_fabsf_use=yes
41247 else
41248   echo "$as_me: failed program was:" >&5
41249 sed 's/^/| /' conftest.$ac_ext >&5
41250
41251 glibcxx_cv_func___builtin_fabsf_use=no
41252 fi
41253 rm -f conftest.$ac_objext conftest.$ac_ext
41254       ac_ext=c
41255 ac_cpp='$CPP $CPPFLAGS'
41256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41259
41260
41261 fi
41262
41263   fi
41264   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
41265 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
41266   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
41267     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
41268 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
41269     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
41270       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
41271   echo $ECHO_N "(cached) $ECHO_C" >&6
41272 else
41273
41274         cat >conftest.$ac_ext <<_ACEOF
41275 #line $LINENO "configure"
41276 /* confdefs.h.  */
41277 _ACEOF
41278 cat confdefs.h >>conftest.$ac_ext
41279 cat >>conftest.$ac_ext <<_ACEOF
41280 /* end confdefs.h.  */
41281 #include <math.h>
41282 int
41283 main ()
41284 {
41285  __builtin_fabsf(0);
41286   ;
41287   return 0;
41288 }
41289 _ACEOF
41290 rm -f conftest.$ac_objext conftest$ac_exeext
41291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41292   (eval $ac_link) 2>&5
41293   ac_status=$?
41294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295   (exit $ac_status); } &&
41296          { ac_try='test -s conftest$ac_exeext'
41297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41298   (eval $ac_try) 2>&5
41299   ac_status=$?
41300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301   (exit $ac_status); }; }; then
41302   glibcxx_cv_func___builtin_fabsf_link=yes
41303 else
41304   echo "$as_me: failed program was:" >&5
41305 sed 's/^/| /' conftest.$ac_ext >&5
41306
41307 glibcxx_cv_func___builtin_fabsf_link=no
41308 fi
41309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41310
41311 fi
41312
41313     fi
41314     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
41315 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
41316     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
41317       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41318       cat >>confdefs.h <<_ACEOF
41319 #define ${ac_tr_func} 1
41320 _ACEOF
41321
41322     fi
41323   fi
41324
41325
41326   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
41327 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
41328   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
41329     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
41330   echo $ECHO_N "(cached) $ECHO_C" >&6
41331 else
41332
41333
41334
41335       ac_ext=cc
41336 ac_cpp='$CXXCPP $CPPFLAGS'
41337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41340
41341       cat >conftest.$ac_ext <<_ACEOF
41342 #line $LINENO "configure"
41343 /* confdefs.h.  */
41344 _ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h.  */
41348 #include <math.h>
41349 int
41350 main ()
41351 {
41352  __builtin_fabs(0);
41353   ;
41354   return 0;
41355 }
41356 _ACEOF
41357 rm -f conftest.$ac_objext
41358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41359   (eval $ac_compile) 2>&5
41360   ac_status=$?
41361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362   (exit $ac_status); } &&
41363          { ac_try='test -s conftest.$ac_objext'
41364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41365   (eval $ac_try) 2>&5
41366   ac_status=$?
41367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368   (exit $ac_status); }; }; then
41369   glibcxx_cv_func___builtin_fabs_use=yes
41370 else
41371   echo "$as_me: failed program was:" >&5
41372 sed 's/^/| /' conftest.$ac_ext >&5
41373
41374 glibcxx_cv_func___builtin_fabs_use=no
41375 fi
41376 rm -f conftest.$ac_objext conftest.$ac_ext
41377       ac_ext=c
41378 ac_cpp='$CPP $CPPFLAGS'
41379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41382
41383
41384 fi
41385
41386   fi
41387   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
41388 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
41389   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
41390     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
41391 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
41392     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
41393       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
41394   echo $ECHO_N "(cached) $ECHO_C" >&6
41395 else
41396
41397         cat >conftest.$ac_ext <<_ACEOF
41398 #line $LINENO "configure"
41399 /* confdefs.h.  */
41400 _ACEOF
41401 cat confdefs.h >>conftest.$ac_ext
41402 cat >>conftest.$ac_ext <<_ACEOF
41403 /* end confdefs.h.  */
41404 #include <math.h>
41405 int
41406 main ()
41407 {
41408  __builtin_fabs(0);
41409   ;
41410   return 0;
41411 }
41412 _ACEOF
41413 rm -f conftest.$ac_objext conftest$ac_exeext
41414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41415   (eval $ac_link) 2>&5
41416   ac_status=$?
41417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418   (exit $ac_status); } &&
41419          { ac_try='test -s conftest$ac_exeext'
41420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421   (eval $ac_try) 2>&5
41422   ac_status=$?
41423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424   (exit $ac_status); }; }; then
41425   glibcxx_cv_func___builtin_fabs_link=yes
41426 else
41427   echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41429
41430 glibcxx_cv_func___builtin_fabs_link=no
41431 fi
41432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41433
41434 fi
41435
41436     fi
41437     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
41438 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
41439     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
41440       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41441       cat >>confdefs.h <<_ACEOF
41442 #define ${ac_tr_func} 1
41443 _ACEOF
41444
41445     fi
41446   fi
41447
41448
41449   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
41450 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
41451   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
41452     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
41453   echo $ECHO_N "(cached) $ECHO_C" >&6
41454 else
41455
41456
41457
41458       ac_ext=cc
41459 ac_cpp='$CXXCPP $CPPFLAGS'
41460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41463
41464       cat >conftest.$ac_ext <<_ACEOF
41465 #line $LINENO "configure"
41466 /* confdefs.h.  */
41467 _ACEOF
41468 cat confdefs.h >>conftest.$ac_ext
41469 cat >>conftest.$ac_ext <<_ACEOF
41470 /* end confdefs.h.  */
41471 #include <math.h>
41472 int
41473 main ()
41474 {
41475  __builtin_fabsl(0);
41476   ;
41477   return 0;
41478 }
41479 _ACEOF
41480 rm -f conftest.$ac_objext
41481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41482   (eval $ac_compile) 2>&5
41483   ac_status=$?
41484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485   (exit $ac_status); } &&
41486          { ac_try='test -s conftest.$ac_objext'
41487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41488   (eval $ac_try) 2>&5
41489   ac_status=$?
41490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491   (exit $ac_status); }; }; then
41492   glibcxx_cv_func___builtin_fabsl_use=yes
41493 else
41494   echo "$as_me: failed program was:" >&5
41495 sed 's/^/| /' conftest.$ac_ext >&5
41496
41497 glibcxx_cv_func___builtin_fabsl_use=no
41498 fi
41499 rm -f conftest.$ac_objext conftest.$ac_ext
41500       ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41505
41506
41507 fi
41508
41509   fi
41510   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
41511 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
41512   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
41513     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
41514 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
41515     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
41516       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
41517   echo $ECHO_N "(cached) $ECHO_C" >&6
41518 else
41519
41520         cat >conftest.$ac_ext <<_ACEOF
41521 #line $LINENO "configure"
41522 /* confdefs.h.  */
41523 _ACEOF
41524 cat confdefs.h >>conftest.$ac_ext
41525 cat >>conftest.$ac_ext <<_ACEOF
41526 /* end confdefs.h.  */
41527 #include <math.h>
41528 int
41529 main ()
41530 {
41531  __builtin_fabsl(0);
41532   ;
41533   return 0;
41534 }
41535 _ACEOF
41536 rm -f conftest.$ac_objext conftest$ac_exeext
41537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41538   (eval $ac_link) 2>&5
41539   ac_status=$?
41540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541   (exit $ac_status); } &&
41542          { ac_try='test -s conftest$ac_exeext'
41543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41544   (eval $ac_try) 2>&5
41545   ac_status=$?
41546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547   (exit $ac_status); }; }; then
41548   glibcxx_cv_func___builtin_fabsl_link=yes
41549 else
41550   echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41552
41553 glibcxx_cv_func___builtin_fabsl_link=no
41554 fi
41555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41556
41557 fi
41558
41559     fi
41560     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
41561 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
41562     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
41563       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41564       cat >>confdefs.h <<_ACEOF
41565 #define ${ac_tr_func} 1
41566 _ACEOF
41567
41568     fi
41569   fi
41570
41571
41572   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
41573 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
41574   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
41575     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
41576   echo $ECHO_N "(cached) $ECHO_C" >&6
41577 else
41578
41579
41580
41581       ac_ext=cc
41582 ac_cpp='$CXXCPP $CPPFLAGS'
41583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586
41587       cat >conftest.$ac_ext <<_ACEOF
41588 #line $LINENO "configure"
41589 /* confdefs.h.  */
41590 _ACEOF
41591 cat confdefs.h >>conftest.$ac_ext
41592 cat >>conftest.$ac_ext <<_ACEOF
41593 /* end confdefs.h.  */
41594 #include <math.h>
41595 int
41596 main ()
41597 {
41598  __builtin_labs(0);
41599   ;
41600   return 0;
41601 }
41602 _ACEOF
41603 rm -f conftest.$ac_objext
41604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41605   (eval $ac_compile) 2>&5
41606   ac_status=$?
41607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608   (exit $ac_status); } &&
41609          { ac_try='test -s conftest.$ac_objext'
41610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611   (eval $ac_try) 2>&5
41612   ac_status=$?
41613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614   (exit $ac_status); }; }; then
41615   glibcxx_cv_func___builtin_labs_use=yes
41616 else
41617   echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620 glibcxx_cv_func___builtin_labs_use=no
41621 fi
41622 rm -f conftest.$ac_objext conftest.$ac_ext
41623       ac_ext=c
41624 ac_cpp='$CPP $CPPFLAGS'
41625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41628
41629
41630 fi
41631
41632   fi
41633   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
41634 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
41635   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
41636     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
41637 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
41638     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
41639       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
41640   echo $ECHO_N "(cached) $ECHO_C" >&6
41641 else
41642
41643         cat >conftest.$ac_ext <<_ACEOF
41644 #line $LINENO "configure"
41645 /* confdefs.h.  */
41646 _ACEOF
41647 cat confdefs.h >>conftest.$ac_ext
41648 cat >>conftest.$ac_ext <<_ACEOF
41649 /* end confdefs.h.  */
41650 #include <math.h>
41651 int
41652 main ()
41653 {
41654  __builtin_labs(0);
41655   ;
41656   return 0;
41657 }
41658 _ACEOF
41659 rm -f conftest.$ac_objext conftest$ac_exeext
41660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41661   (eval $ac_link) 2>&5
41662   ac_status=$?
41663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664   (exit $ac_status); } &&
41665          { ac_try='test -s conftest$ac_exeext'
41666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41667   (eval $ac_try) 2>&5
41668   ac_status=$?
41669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670   (exit $ac_status); }; }; then
41671   glibcxx_cv_func___builtin_labs_link=yes
41672 else
41673   echo "$as_me: failed program was:" >&5
41674 sed 's/^/| /' conftest.$ac_ext >&5
41675
41676 glibcxx_cv_func___builtin_labs_link=no
41677 fi
41678 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41679
41680 fi
41681
41682     fi
41683     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
41684 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
41685     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
41686       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41687       cat >>confdefs.h <<_ACEOF
41688 #define ${ac_tr_func} 1
41689 _ACEOF
41690
41691     fi
41692   fi
41693
41694
41695
41696   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
41697 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
41698   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
41699     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
41700   echo $ECHO_N "(cached) $ECHO_C" >&6
41701 else
41702
41703
41704
41705       ac_ext=cc
41706 ac_cpp='$CXXCPP $CPPFLAGS'
41707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41710
41711       cat >conftest.$ac_ext <<_ACEOF
41712 #line $LINENO "configure"
41713 /* confdefs.h.  */
41714 _ACEOF
41715 cat confdefs.h >>conftest.$ac_ext
41716 cat >>conftest.$ac_ext <<_ACEOF
41717 /* end confdefs.h.  */
41718 #include <math.h>
41719 int
41720 main ()
41721 {
41722  __builtin_sqrtf(0);
41723   ;
41724   return 0;
41725 }
41726 _ACEOF
41727 rm -f conftest.$ac_objext
41728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41729   (eval $ac_compile) 2>&5
41730   ac_status=$?
41731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732   (exit $ac_status); } &&
41733          { ac_try='test -s conftest.$ac_objext'
41734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41735   (eval $ac_try) 2>&5
41736   ac_status=$?
41737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738   (exit $ac_status); }; }; then
41739   glibcxx_cv_func___builtin_sqrtf_use=yes
41740 else
41741   echo "$as_me: failed program was:" >&5
41742 sed 's/^/| /' conftest.$ac_ext >&5
41743
41744 glibcxx_cv_func___builtin_sqrtf_use=no
41745 fi
41746 rm -f conftest.$ac_objext conftest.$ac_ext
41747       ac_ext=c
41748 ac_cpp='$CPP $CPPFLAGS'
41749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41752
41753
41754 fi
41755
41756   fi
41757   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
41758 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
41759   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
41760     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
41761 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
41762     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
41763       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
41764   echo $ECHO_N "(cached) $ECHO_C" >&6
41765 else
41766
41767         cat >conftest.$ac_ext <<_ACEOF
41768 #line $LINENO "configure"
41769 /* confdefs.h.  */
41770 _ACEOF
41771 cat confdefs.h >>conftest.$ac_ext
41772 cat >>conftest.$ac_ext <<_ACEOF
41773 /* end confdefs.h.  */
41774 #include <math.h>
41775 int
41776 main ()
41777 {
41778  __builtin_sqrtf(0);
41779   ;
41780   return 0;
41781 }
41782 _ACEOF
41783 rm -f conftest.$ac_objext conftest$ac_exeext
41784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41785   (eval $ac_link) 2>&5
41786   ac_status=$?
41787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41788   (exit $ac_status); } &&
41789          { ac_try='test -s conftest$ac_exeext'
41790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41791   (eval $ac_try) 2>&5
41792   ac_status=$?
41793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41794   (exit $ac_status); }; }; then
41795   glibcxx_cv_func___builtin_sqrtf_link=yes
41796 else
41797   echo "$as_me: failed program was:" >&5
41798 sed 's/^/| /' conftest.$ac_ext >&5
41799
41800 glibcxx_cv_func___builtin_sqrtf_link=no
41801 fi
41802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41803
41804 fi
41805
41806     fi
41807     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
41808 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
41809     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
41810       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41811       cat >>confdefs.h <<_ACEOF
41812 #define ${ac_tr_func} 1
41813 _ACEOF
41814
41815     fi
41816   fi
41817
41818
41819   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
41820 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
41821   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
41822     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
41823   echo $ECHO_N "(cached) $ECHO_C" >&6
41824 else
41825
41826
41827
41828       ac_ext=cc
41829 ac_cpp='$CXXCPP $CPPFLAGS'
41830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41833
41834       cat >conftest.$ac_ext <<_ACEOF
41835 #line $LINENO "configure"
41836 /* confdefs.h.  */
41837 _ACEOF
41838 cat confdefs.h >>conftest.$ac_ext
41839 cat >>conftest.$ac_ext <<_ACEOF
41840 /* end confdefs.h.  */
41841 #include <math.h>
41842 int
41843 main ()
41844 {
41845  __builtin_sqrt(0);
41846   ;
41847   return 0;
41848 }
41849 _ACEOF
41850 rm -f conftest.$ac_objext
41851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41852   (eval $ac_compile) 2>&5
41853   ac_status=$?
41854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855   (exit $ac_status); } &&
41856          { ac_try='test -s conftest.$ac_objext'
41857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858   (eval $ac_try) 2>&5
41859   ac_status=$?
41860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861   (exit $ac_status); }; }; then
41862   glibcxx_cv_func___builtin_sqrt_use=yes
41863 else
41864   echo "$as_me: failed program was:" >&5
41865 sed 's/^/| /' conftest.$ac_ext >&5
41866
41867 glibcxx_cv_func___builtin_sqrt_use=no
41868 fi
41869 rm -f conftest.$ac_objext conftest.$ac_ext
41870       ac_ext=c
41871 ac_cpp='$CPP $CPPFLAGS'
41872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41875
41876
41877 fi
41878
41879   fi
41880   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
41881 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
41882   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
41883     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
41884 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
41885     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
41886       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
41887   echo $ECHO_N "(cached) $ECHO_C" >&6
41888 else
41889
41890         cat >conftest.$ac_ext <<_ACEOF
41891 #line $LINENO "configure"
41892 /* confdefs.h.  */
41893 _ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h.  */
41897 #include <math.h>
41898 int
41899 main ()
41900 {
41901  __builtin_sqrt(0);
41902   ;
41903   return 0;
41904 }
41905 _ACEOF
41906 rm -f conftest.$ac_objext conftest$ac_exeext
41907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41908   (eval $ac_link) 2>&5
41909   ac_status=$?
41910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911   (exit $ac_status); } &&
41912          { ac_try='test -s conftest$ac_exeext'
41913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41914   (eval $ac_try) 2>&5
41915   ac_status=$?
41916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917   (exit $ac_status); }; }; then
41918   glibcxx_cv_func___builtin_sqrt_link=yes
41919 else
41920   echo "$as_me: failed program was:" >&5
41921 sed 's/^/| /' conftest.$ac_ext >&5
41922
41923 glibcxx_cv_func___builtin_sqrt_link=no
41924 fi
41925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41926
41927 fi
41928
41929     fi
41930     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
41931 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
41932     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
41933       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
41934       cat >>confdefs.h <<_ACEOF
41935 #define ${ac_tr_func} 1
41936 _ACEOF
41937
41938     fi
41939   fi
41940
41941
41942   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
41943 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
41944   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
41945     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
41946   echo $ECHO_N "(cached) $ECHO_C" >&6
41947 else
41948
41949
41950
41951       ac_ext=cc
41952 ac_cpp='$CXXCPP $CPPFLAGS'
41953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956
41957       cat >conftest.$ac_ext <<_ACEOF
41958 #line $LINENO "configure"
41959 /* confdefs.h.  */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h.  */
41964 #include <math.h>
41965 int
41966 main ()
41967 {
41968  __builtin_sqrtl(0);
41969   ;
41970   return 0;
41971 }
41972 _ACEOF
41973 rm -f conftest.$ac_objext
41974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41975   (eval $ac_compile) 2>&5
41976   ac_status=$?
41977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978   (exit $ac_status); } &&
41979          { ac_try='test -s conftest.$ac_objext'
41980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41981   (eval $ac_try) 2>&5
41982   ac_status=$?
41983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984   (exit $ac_status); }; }; then
41985   glibcxx_cv_func___builtin_sqrtl_use=yes
41986 else
41987   echo "$as_me: failed program was:" >&5
41988 sed 's/^/| /' conftest.$ac_ext >&5
41989
41990 glibcxx_cv_func___builtin_sqrtl_use=no
41991 fi
41992 rm -f conftest.$ac_objext conftest.$ac_ext
41993       ac_ext=c
41994 ac_cpp='$CPP $CPPFLAGS'
41995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41998
41999
42000 fi
42001
42002   fi
42003   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
42004 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
42005   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
42006     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
42007 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
42008     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
42009       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
42010   echo $ECHO_N "(cached) $ECHO_C" >&6
42011 else
42012
42013         cat >conftest.$ac_ext <<_ACEOF
42014 #line $LINENO "configure"
42015 /* confdefs.h.  */
42016 _ACEOF
42017 cat confdefs.h >>conftest.$ac_ext
42018 cat >>conftest.$ac_ext <<_ACEOF
42019 /* end confdefs.h.  */
42020 #include <math.h>
42021 int
42022 main ()
42023 {
42024  __builtin_sqrtl(0);
42025   ;
42026   return 0;
42027 }
42028 _ACEOF
42029 rm -f conftest.$ac_objext conftest$ac_exeext
42030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42031   (eval $ac_link) 2>&5
42032   ac_status=$?
42033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42034   (exit $ac_status); } &&
42035          { ac_try='test -s conftest$ac_exeext'
42036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42037   (eval $ac_try) 2>&5
42038   ac_status=$?
42039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040   (exit $ac_status); }; }; then
42041   glibcxx_cv_func___builtin_sqrtl_link=yes
42042 else
42043   echo "$as_me: failed program was:" >&5
42044 sed 's/^/| /' conftest.$ac_ext >&5
42045
42046 glibcxx_cv_func___builtin_sqrtl_link=no
42047 fi
42048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42049
42050 fi
42051
42052     fi
42053     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
42054 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
42055     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
42056       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42057       cat >>confdefs.h <<_ACEOF
42058 #define ${ac_tr_func} 1
42059 _ACEOF
42060
42061     fi
42062   fi
42063
42064
42065
42066   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
42067 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
42068   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
42069     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
42070   echo $ECHO_N "(cached) $ECHO_C" >&6
42071 else
42072
42073
42074
42075       ac_ext=cc
42076 ac_cpp='$CXXCPP $CPPFLAGS'
42077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42080
42081       cat >conftest.$ac_ext <<_ACEOF
42082 #line $LINENO "configure"
42083 /* confdefs.h.  */
42084 _ACEOF
42085 cat confdefs.h >>conftest.$ac_ext
42086 cat >>conftest.$ac_ext <<_ACEOF
42087 /* end confdefs.h.  */
42088 #include <math.h>
42089 int
42090 main ()
42091 {
42092  __builtin_sinf(0);
42093   ;
42094   return 0;
42095 }
42096 _ACEOF
42097 rm -f conftest.$ac_objext
42098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42099   (eval $ac_compile) 2>&5
42100   ac_status=$?
42101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102   (exit $ac_status); } &&
42103          { ac_try='test -s conftest.$ac_objext'
42104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42105   (eval $ac_try) 2>&5
42106   ac_status=$?
42107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108   (exit $ac_status); }; }; then
42109   glibcxx_cv_func___builtin_sinf_use=yes
42110 else
42111   echo "$as_me: failed program was:" >&5
42112 sed 's/^/| /' conftest.$ac_ext >&5
42113
42114 glibcxx_cv_func___builtin_sinf_use=no
42115 fi
42116 rm -f conftest.$ac_objext conftest.$ac_ext
42117       ac_ext=c
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42122
42123
42124 fi
42125
42126   fi
42127   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
42128 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
42129   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
42130     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
42131 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
42132     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
42133       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
42134   echo $ECHO_N "(cached) $ECHO_C" >&6
42135 else
42136
42137         cat >conftest.$ac_ext <<_ACEOF
42138 #line $LINENO "configure"
42139 /* confdefs.h.  */
42140 _ACEOF
42141 cat confdefs.h >>conftest.$ac_ext
42142 cat >>conftest.$ac_ext <<_ACEOF
42143 /* end confdefs.h.  */
42144 #include <math.h>
42145 int
42146 main ()
42147 {
42148  __builtin_sinf(0);
42149   ;
42150   return 0;
42151 }
42152 _ACEOF
42153 rm -f conftest.$ac_objext conftest$ac_exeext
42154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42155   (eval $ac_link) 2>&5
42156   ac_status=$?
42157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42158   (exit $ac_status); } &&
42159          { ac_try='test -s conftest$ac_exeext'
42160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42161   (eval $ac_try) 2>&5
42162   ac_status=$?
42163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42164   (exit $ac_status); }; }; then
42165   glibcxx_cv_func___builtin_sinf_link=yes
42166 else
42167   echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.$ac_ext >&5
42169
42170 glibcxx_cv_func___builtin_sinf_link=no
42171 fi
42172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42173
42174 fi
42175
42176     fi
42177     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
42178 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
42179     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
42180       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42181       cat >>confdefs.h <<_ACEOF
42182 #define ${ac_tr_func} 1
42183 _ACEOF
42184
42185     fi
42186   fi
42187
42188
42189   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
42190 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
42191   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
42192     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
42193   echo $ECHO_N "(cached) $ECHO_C" >&6
42194 else
42195
42196
42197
42198       ac_ext=cc
42199 ac_cpp='$CXXCPP $CPPFLAGS'
42200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42203
42204       cat >conftest.$ac_ext <<_ACEOF
42205 #line $LINENO "configure"
42206 /* confdefs.h.  */
42207 _ACEOF
42208 cat confdefs.h >>conftest.$ac_ext
42209 cat >>conftest.$ac_ext <<_ACEOF
42210 /* end confdefs.h.  */
42211 #include <math.h>
42212 int
42213 main ()
42214 {
42215  __builtin_sin(0);
42216   ;
42217   return 0;
42218 }
42219 _ACEOF
42220 rm -f conftest.$ac_objext
42221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42222   (eval $ac_compile) 2>&5
42223   ac_status=$?
42224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42225   (exit $ac_status); } &&
42226          { ac_try='test -s conftest.$ac_objext'
42227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42228   (eval $ac_try) 2>&5
42229   ac_status=$?
42230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231   (exit $ac_status); }; }; then
42232   glibcxx_cv_func___builtin_sin_use=yes
42233 else
42234   echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42236
42237 glibcxx_cv_func___builtin_sin_use=no
42238 fi
42239 rm -f conftest.$ac_objext conftest.$ac_ext
42240       ac_ext=c
42241 ac_cpp='$CPP $CPPFLAGS'
42242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245
42246
42247 fi
42248
42249   fi
42250   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
42251 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
42252   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
42253     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
42254 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
42255     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
42256       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
42257   echo $ECHO_N "(cached) $ECHO_C" >&6
42258 else
42259
42260         cat >conftest.$ac_ext <<_ACEOF
42261 #line $LINENO "configure"
42262 /* confdefs.h.  */
42263 _ACEOF
42264 cat confdefs.h >>conftest.$ac_ext
42265 cat >>conftest.$ac_ext <<_ACEOF
42266 /* end confdefs.h.  */
42267 #include <math.h>
42268 int
42269 main ()
42270 {
42271  __builtin_sin(0);
42272   ;
42273   return 0;
42274 }
42275 _ACEOF
42276 rm -f conftest.$ac_objext conftest$ac_exeext
42277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42278   (eval $ac_link) 2>&5
42279   ac_status=$?
42280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281   (exit $ac_status); } &&
42282          { ac_try='test -s conftest$ac_exeext'
42283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42284   (eval $ac_try) 2>&5
42285   ac_status=$?
42286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287   (exit $ac_status); }; }; then
42288   glibcxx_cv_func___builtin_sin_link=yes
42289 else
42290   echo "$as_me: failed program was:" >&5
42291 sed 's/^/| /' conftest.$ac_ext >&5
42292
42293 glibcxx_cv_func___builtin_sin_link=no
42294 fi
42295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42296
42297 fi
42298
42299     fi
42300     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
42301 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
42302     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
42303       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42304       cat >>confdefs.h <<_ACEOF
42305 #define ${ac_tr_func} 1
42306 _ACEOF
42307
42308     fi
42309   fi
42310
42311
42312   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
42313 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
42314   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
42315     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
42316   echo $ECHO_N "(cached) $ECHO_C" >&6
42317 else
42318
42319
42320
42321       ac_ext=cc
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42326
42327       cat >conftest.$ac_ext <<_ACEOF
42328 #line $LINENO "configure"
42329 /* confdefs.h.  */
42330 _ACEOF
42331 cat confdefs.h >>conftest.$ac_ext
42332 cat >>conftest.$ac_ext <<_ACEOF
42333 /* end confdefs.h.  */
42334 #include <math.h>
42335 int
42336 main ()
42337 {
42338  __builtin_sinl(0);
42339   ;
42340   return 0;
42341 }
42342 _ACEOF
42343 rm -f conftest.$ac_objext
42344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42345   (eval $ac_compile) 2>&5
42346   ac_status=$?
42347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348   (exit $ac_status); } &&
42349          { ac_try='test -s conftest.$ac_objext'
42350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42351   (eval $ac_try) 2>&5
42352   ac_status=$?
42353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354   (exit $ac_status); }; }; then
42355   glibcxx_cv_func___builtin_sinl_use=yes
42356 else
42357   echo "$as_me: failed program was:" >&5
42358 sed 's/^/| /' conftest.$ac_ext >&5
42359
42360 glibcxx_cv_func___builtin_sinl_use=no
42361 fi
42362 rm -f conftest.$ac_objext conftest.$ac_ext
42363       ac_ext=c
42364 ac_cpp='$CPP $CPPFLAGS'
42365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42368
42369
42370 fi
42371
42372   fi
42373   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
42374 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
42375   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
42376     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
42377 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
42378     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
42379       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
42380   echo $ECHO_N "(cached) $ECHO_C" >&6
42381 else
42382
42383         cat >conftest.$ac_ext <<_ACEOF
42384 #line $LINENO "configure"
42385 /* confdefs.h.  */
42386 _ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h.  */
42390 #include <math.h>
42391 int
42392 main ()
42393 {
42394  __builtin_sinl(0);
42395   ;
42396   return 0;
42397 }
42398 _ACEOF
42399 rm -f conftest.$ac_objext conftest$ac_exeext
42400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42401   (eval $ac_link) 2>&5
42402   ac_status=$?
42403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404   (exit $ac_status); } &&
42405          { ac_try='test -s conftest$ac_exeext'
42406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407   (eval $ac_try) 2>&5
42408   ac_status=$?
42409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410   (exit $ac_status); }; }; then
42411   glibcxx_cv_func___builtin_sinl_link=yes
42412 else
42413   echo "$as_me: failed program was:" >&5
42414 sed 's/^/| /' conftest.$ac_ext >&5
42415
42416 glibcxx_cv_func___builtin_sinl_link=no
42417 fi
42418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42419
42420 fi
42421
42422     fi
42423     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
42424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
42425     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
42426       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42427       cat >>confdefs.h <<_ACEOF
42428 #define ${ac_tr_func} 1
42429 _ACEOF
42430
42431     fi
42432   fi
42433
42434
42435
42436   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
42437 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
42438   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
42439     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
42440   echo $ECHO_N "(cached) $ECHO_C" >&6
42441 else
42442
42443
42444
42445       ac_ext=cc
42446 ac_cpp='$CXXCPP $CPPFLAGS'
42447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42450
42451       cat >conftest.$ac_ext <<_ACEOF
42452 #line $LINENO "configure"
42453 /* confdefs.h.  */
42454 _ACEOF
42455 cat confdefs.h >>conftest.$ac_ext
42456 cat >>conftest.$ac_ext <<_ACEOF
42457 /* end confdefs.h.  */
42458 #include <math.h>
42459 int
42460 main ()
42461 {
42462  __builtin_cosf(0);
42463   ;
42464   return 0;
42465 }
42466 _ACEOF
42467 rm -f conftest.$ac_objext
42468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42469   (eval $ac_compile) 2>&5
42470   ac_status=$?
42471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472   (exit $ac_status); } &&
42473          { ac_try='test -s conftest.$ac_objext'
42474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42475   (eval $ac_try) 2>&5
42476   ac_status=$?
42477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478   (exit $ac_status); }; }; then
42479   glibcxx_cv_func___builtin_cosf_use=yes
42480 else
42481   echo "$as_me: failed program was:" >&5
42482 sed 's/^/| /' conftest.$ac_ext >&5
42483
42484 glibcxx_cv_func___builtin_cosf_use=no
42485 fi
42486 rm -f conftest.$ac_objext conftest.$ac_ext
42487       ac_ext=c
42488 ac_cpp='$CPP $CPPFLAGS'
42489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42492
42493
42494 fi
42495
42496   fi
42497   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
42498 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
42499   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
42500     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
42501 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
42502     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
42503       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
42504   echo $ECHO_N "(cached) $ECHO_C" >&6
42505 else
42506
42507         cat >conftest.$ac_ext <<_ACEOF
42508 #line $LINENO "configure"
42509 /* confdefs.h.  */
42510 _ACEOF
42511 cat confdefs.h >>conftest.$ac_ext
42512 cat >>conftest.$ac_ext <<_ACEOF
42513 /* end confdefs.h.  */
42514 #include <math.h>
42515 int
42516 main ()
42517 {
42518  __builtin_cosf(0);
42519   ;
42520   return 0;
42521 }
42522 _ACEOF
42523 rm -f conftest.$ac_objext conftest$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525   (eval $ac_link) 2>&5
42526   ac_status=$?
42527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528   (exit $ac_status); } &&
42529          { ac_try='test -s conftest$ac_exeext'
42530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531   (eval $ac_try) 2>&5
42532   ac_status=$?
42533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534   (exit $ac_status); }; }; then
42535   glibcxx_cv_func___builtin_cosf_link=yes
42536 else
42537   echo "$as_me: failed program was:" >&5
42538 sed 's/^/| /' conftest.$ac_ext >&5
42539
42540 glibcxx_cv_func___builtin_cosf_link=no
42541 fi
42542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42543
42544 fi
42545
42546     fi
42547     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
42548 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
42549     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
42550       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42551       cat >>confdefs.h <<_ACEOF
42552 #define ${ac_tr_func} 1
42553 _ACEOF
42554
42555     fi
42556   fi
42557
42558
42559   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
42560 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
42561   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
42562     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
42563   echo $ECHO_N "(cached) $ECHO_C" >&6
42564 else
42565
42566
42567
42568       ac_ext=cc
42569 ac_cpp='$CXXCPP $CPPFLAGS'
42570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42573
42574       cat >conftest.$ac_ext <<_ACEOF
42575 #line $LINENO "configure"
42576 /* confdefs.h.  */
42577 _ACEOF
42578 cat confdefs.h >>conftest.$ac_ext
42579 cat >>conftest.$ac_ext <<_ACEOF
42580 /* end confdefs.h.  */
42581 #include <math.h>
42582 int
42583 main ()
42584 {
42585  __builtin_cos(0);
42586   ;
42587   return 0;
42588 }
42589 _ACEOF
42590 rm -f conftest.$ac_objext
42591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42592   (eval $ac_compile) 2>&5
42593   ac_status=$?
42594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595   (exit $ac_status); } &&
42596          { ac_try='test -s conftest.$ac_objext'
42597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42598   (eval $ac_try) 2>&5
42599   ac_status=$?
42600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601   (exit $ac_status); }; }; then
42602   glibcxx_cv_func___builtin_cos_use=yes
42603 else
42604   echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42606
42607 glibcxx_cv_func___builtin_cos_use=no
42608 fi
42609 rm -f conftest.$ac_objext conftest.$ac_ext
42610       ac_ext=c
42611 ac_cpp='$CPP $CPPFLAGS'
42612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42615
42616
42617 fi
42618
42619   fi
42620   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
42621 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
42622   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
42623     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
42624 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
42625     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
42626       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
42627   echo $ECHO_N "(cached) $ECHO_C" >&6
42628 else
42629
42630         cat >conftest.$ac_ext <<_ACEOF
42631 #line $LINENO "configure"
42632 /* confdefs.h.  */
42633 _ACEOF
42634 cat confdefs.h >>conftest.$ac_ext
42635 cat >>conftest.$ac_ext <<_ACEOF
42636 /* end confdefs.h.  */
42637 #include <math.h>
42638 int
42639 main ()
42640 {
42641  __builtin_cos(0);
42642   ;
42643   return 0;
42644 }
42645 _ACEOF
42646 rm -f conftest.$ac_objext conftest$ac_exeext
42647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42648   (eval $ac_link) 2>&5
42649   ac_status=$?
42650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651   (exit $ac_status); } &&
42652          { ac_try='test -s conftest$ac_exeext'
42653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42654   (eval $ac_try) 2>&5
42655   ac_status=$?
42656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657   (exit $ac_status); }; }; then
42658   glibcxx_cv_func___builtin_cos_link=yes
42659 else
42660   echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42662
42663 glibcxx_cv_func___builtin_cos_link=no
42664 fi
42665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42666
42667 fi
42668
42669     fi
42670     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
42671 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
42672     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
42673       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42674       cat >>confdefs.h <<_ACEOF
42675 #define ${ac_tr_func} 1
42676 _ACEOF
42677
42678     fi
42679   fi
42680
42681
42682   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
42683 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
42684   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
42685     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
42686   echo $ECHO_N "(cached) $ECHO_C" >&6
42687 else
42688
42689
42690
42691       ac_ext=cc
42692 ac_cpp='$CXXCPP $CPPFLAGS'
42693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42696
42697       cat >conftest.$ac_ext <<_ACEOF
42698 #line $LINENO "configure"
42699 /* confdefs.h.  */
42700 _ACEOF
42701 cat confdefs.h >>conftest.$ac_ext
42702 cat >>conftest.$ac_ext <<_ACEOF
42703 /* end confdefs.h.  */
42704 #include <math.h>
42705 int
42706 main ()
42707 {
42708  __builtin_cosl(0);
42709   ;
42710   return 0;
42711 }
42712 _ACEOF
42713 rm -f conftest.$ac_objext
42714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42715   (eval $ac_compile) 2>&5
42716   ac_status=$?
42717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42718   (exit $ac_status); } &&
42719          { ac_try='test -s conftest.$ac_objext'
42720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42721   (eval $ac_try) 2>&5
42722   ac_status=$?
42723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42724   (exit $ac_status); }; }; then
42725   glibcxx_cv_func___builtin_cosl_use=yes
42726 else
42727   echo "$as_me: failed program was:" >&5
42728 sed 's/^/| /' conftest.$ac_ext >&5
42729
42730 glibcxx_cv_func___builtin_cosl_use=no
42731 fi
42732 rm -f conftest.$ac_objext conftest.$ac_ext
42733       ac_ext=c
42734 ac_cpp='$CPP $CPPFLAGS'
42735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42738
42739
42740 fi
42741
42742   fi
42743   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
42744 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
42745   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
42746     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
42747 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
42748     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
42749       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
42750   echo $ECHO_N "(cached) $ECHO_C" >&6
42751 else
42752
42753         cat >conftest.$ac_ext <<_ACEOF
42754 #line $LINENO "configure"
42755 /* confdefs.h.  */
42756 _ACEOF
42757 cat confdefs.h >>conftest.$ac_ext
42758 cat >>conftest.$ac_ext <<_ACEOF
42759 /* end confdefs.h.  */
42760 #include <math.h>
42761 int
42762 main ()
42763 {
42764  __builtin_cosl(0);
42765   ;
42766   return 0;
42767 }
42768 _ACEOF
42769 rm -f conftest.$ac_objext conftest$ac_exeext
42770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42771   (eval $ac_link) 2>&5
42772   ac_status=$?
42773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774   (exit $ac_status); } &&
42775          { ac_try='test -s conftest$ac_exeext'
42776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42777   (eval $ac_try) 2>&5
42778   ac_status=$?
42779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780   (exit $ac_status); }; }; then
42781   glibcxx_cv_func___builtin_cosl_link=yes
42782 else
42783   echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.$ac_ext >&5
42785
42786 glibcxx_cv_func___builtin_cosl_link=no
42787 fi
42788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42789
42790 fi
42791
42792     fi
42793     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
42794 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
42795     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
42796       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42797       cat >>confdefs.h <<_ACEOF
42798 #define ${ac_tr_func} 1
42799 _ACEOF
42800
42801     fi
42802   fi
42803
42804
42805               dummyvar=no
42806   if test x$dummyvar = x"yes"; then
42807     cat >>confdefs.h <<\_ACEOF
42808 #define HAVE___BUILTIN_ABS 1
42809 _ACEOF
42810
42811     cat >>confdefs.h <<\_ACEOF
42812 #define HAVE___BUILTIN_LABS 1
42813 _ACEOF
42814
42815     cat >>confdefs.h <<\_ACEOF
42816 #define HAVE___BUILTIN_COS 1
42817 _ACEOF
42818
42819     cat >>confdefs.h <<\_ACEOF
42820 #define HAVE___BUILTIN_COSF 1
42821 _ACEOF
42822
42823     cat >>confdefs.h <<\_ACEOF
42824 #define HAVE___BUILTIN_COSL 1
42825 _ACEOF
42826
42827     cat >>confdefs.h <<\_ACEOF
42828 #define HAVE___BUILTIN_FABS 1
42829 _ACEOF
42830
42831     cat >>confdefs.h <<\_ACEOF
42832 #define HAVE___BUILTIN_FABSF 1
42833 _ACEOF
42834
42835     cat >>confdefs.h <<\_ACEOF
42836 #define HAVE___BUILTIN_FABSL 1
42837 _ACEOF
42838
42839     cat >>confdefs.h <<\_ACEOF
42840 #define HAVE___BUILTIN_SIN 1
42841 _ACEOF
42842
42843     cat >>confdefs.h <<\_ACEOF
42844 #define HAVE___BUILTIN_SINF 1
42845 _ACEOF
42846
42847     cat >>confdefs.h <<\_ACEOF
42848 #define HAVE___BUILTIN_SINL 1
42849 _ACEOF
42850
42851     cat >>confdefs.h <<\_ACEOF
42852 #define HAVE___BUILTIN_SQRT 1
42853 _ACEOF
42854
42855     cat >>confdefs.h <<\_ACEOF
42856 #define HAVE___BUILTIN_SQRTF 1
42857 _ACEOF
42858
42859     cat >>confdefs.h <<\_ACEOF
42860 #define HAVE___BUILTIN_SQRTL 1
42861 _ACEOF
42862
42863   fi
42864
42865
42866
42867 echo "$as_me:$LINENO: checking for main in -lm" >&5
42868 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
42869 if test "${ac_cv_lib_m_main+set}" = set; then
42870   echo $ECHO_N "(cached) $ECHO_C" >&6
42871 else
42872   ac_check_lib_save_LIBS=$LIBS
42873 LIBS="-lm  $LIBS"
42874 cat >conftest.$ac_ext <<_ACEOF
42875 #line $LINENO "configure"
42876 /* confdefs.h.  */
42877 _ACEOF
42878 cat confdefs.h >>conftest.$ac_ext
42879 cat >>conftest.$ac_ext <<_ACEOF
42880 /* end confdefs.h.  */
42881
42882
42883 int
42884 main ()
42885 {
42886 main ();
42887   ;
42888   return 0;
42889 }
42890 _ACEOF
42891 rm -f conftest.$ac_objext conftest$ac_exeext
42892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42893   (eval $ac_link) 2>&5
42894   ac_status=$?
42895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42896   (exit $ac_status); } &&
42897          { ac_try='test -s conftest$ac_exeext'
42898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42899   (eval $ac_try) 2>&5
42900   ac_status=$?
42901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902   (exit $ac_status); }; }; then
42903   ac_cv_lib_m_main=yes
42904 else
42905   echo "$as_me: failed program was:" >&5
42906 sed 's/^/| /' conftest.$ac_ext >&5
42907
42908 ac_cv_lib_m_main=no
42909 fi
42910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42911 LIBS=$ac_check_lib_save_LIBS
42912 fi
42913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
42914 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
42915 if test $ac_cv_lib_m_main = yes; then
42916   cat >>confdefs.h <<_ACEOF
42917 #define HAVE_LIBM 1
42918 _ACEOF
42919
42920   LIBS="-lm $LIBS"
42921
42922 fi
42923
42924
42925
42926 for ac_func in nan copysignf
42927 do
42928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42929 echo "$as_me:$LINENO: checking for $ac_func" >&5
42930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42931 if eval "test \"\${$as_ac_var+set}\" = set"; then
42932   echo $ECHO_N "(cached) $ECHO_C" >&6
42933 else
42934   cat >conftest.$ac_ext <<_ACEOF
42935 #line $LINENO "configure"
42936 /* confdefs.h.  */
42937 _ACEOF
42938 cat confdefs.h >>conftest.$ac_ext
42939 cat >>conftest.$ac_ext <<_ACEOF
42940 /* end confdefs.h.  */
42941 /* System header to define __stub macros and hopefully few prototypes,
42942     which can conflict with char $ac_func (); below.
42943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42944     <limits.h> exists even on freestanding compilers.  */
42945 #ifdef __STDC__
42946 # include <limits.h>
42947 #else
42948 # include <assert.h>
42949 #endif
42950 /* Override any gcc2 internal prototype to avoid an error.  */
42951 #ifdef __cplusplus
42952 extern "C"
42953 {
42954 #endif
42955 /* We use char because int might match the return type of a gcc2
42956    builtin and then its argument prototype would still apply.  */
42957 char $ac_func ();
42958 /* The GNU C library defines this for functions which it implements
42959     to always fail with ENOSYS.  Some functions are actually named
42960     something starting with __ and the normal name is an alias.  */
42961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42962 choke me
42963 #else
42964 char (*f) () = $ac_func;
42965 #endif
42966 #ifdef __cplusplus
42967 }
42968 #endif
42969
42970 int
42971 main ()
42972 {
42973 return f != $ac_func;
42974   ;
42975   return 0;
42976 }
42977 _ACEOF
42978 rm -f conftest.$ac_objext conftest$ac_exeext
42979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42980   (eval $ac_link) 2>&5
42981   ac_status=$?
42982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983   (exit $ac_status); } &&
42984          { ac_try='test -s conftest$ac_exeext'
42985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42986   (eval $ac_try) 2>&5
42987   ac_status=$?
42988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989   (exit $ac_status); }; }; then
42990   eval "$as_ac_var=yes"
42991 else
42992   echo "$as_me: failed program was:" >&5
42993 sed 's/^/| /' conftest.$ac_ext >&5
42994
42995 eval "$as_ac_var=no"
42996 fi
42997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42998 fi
42999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43001 if test `eval echo '${'$as_ac_var'}'` = yes; then
43002   cat >>confdefs.h <<_ACEOF
43003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43004 _ACEOF
43005
43006 else
43007   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
43008 fi
43009 done
43010
43011
43012
43013 for ac_func in __signbit
43014 do
43015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43016 echo "$as_me:$LINENO: checking for $ac_func" >&5
43017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43018 if eval "test \"\${$as_ac_var+set}\" = set"; then
43019   echo $ECHO_N "(cached) $ECHO_C" >&6
43020 else
43021   cat >conftest.$ac_ext <<_ACEOF
43022 #line $LINENO "configure"
43023 /* confdefs.h.  */
43024 _ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h.  */
43028 /* System header to define __stub macros and hopefully few prototypes,
43029     which can conflict with char $ac_func (); below.
43030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43031     <limits.h> exists even on freestanding compilers.  */
43032 #ifdef __STDC__
43033 # include <limits.h>
43034 #else
43035 # include <assert.h>
43036 #endif
43037 /* Override any gcc2 internal prototype to avoid an error.  */
43038 #ifdef __cplusplus
43039 extern "C"
43040 {
43041 #endif
43042 /* We use char because int might match the return type of a gcc2
43043    builtin and then its argument prototype would still apply.  */
43044 char $ac_func ();
43045 /* The GNU C library defines this for functions which it implements
43046     to always fail with ENOSYS.  Some functions are actually named
43047     something starting with __ and the normal name is an alias.  */
43048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43049 choke me
43050 #else
43051 char (*f) () = $ac_func;
43052 #endif
43053 #ifdef __cplusplus
43054 }
43055 #endif
43056
43057 int
43058 main ()
43059 {
43060 return f != $ac_func;
43061   ;
43062   return 0;
43063 }
43064 _ACEOF
43065 rm -f conftest.$ac_objext conftest$ac_exeext
43066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43067   (eval $ac_link) 2>&5
43068   ac_status=$?
43069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43070   (exit $ac_status); } &&
43071          { ac_try='test -s conftest$ac_exeext'
43072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43073   (eval $ac_try) 2>&5
43074   ac_status=$?
43075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076   (exit $ac_status); }; }; then
43077   eval "$as_ac_var=yes"
43078 else
43079   echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43081
43082 eval "$as_ac_var=no"
43083 fi
43084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43085 fi
43086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43088 if test `eval echo '${'$as_ac_var'}'` = yes; then
43089   cat >>confdefs.h <<_ACEOF
43090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43091 _ACEOF
43092
43093 else
43094   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
43095 fi
43096 done
43097
43098
43099 for ac_func in __signbitf
43100 do
43101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43102 echo "$as_me:$LINENO: checking for $ac_func" >&5
43103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43104 if eval "test \"\${$as_ac_var+set}\" = set"; then
43105   echo $ECHO_N "(cached) $ECHO_C" >&6
43106 else
43107   cat >conftest.$ac_ext <<_ACEOF
43108 #line $LINENO "configure"
43109 /* confdefs.h.  */
43110 _ACEOF
43111 cat confdefs.h >>conftest.$ac_ext
43112 cat >>conftest.$ac_ext <<_ACEOF
43113 /* end confdefs.h.  */
43114 /* System header to define __stub macros and hopefully few prototypes,
43115     which can conflict with char $ac_func (); below.
43116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43117     <limits.h> exists even on freestanding compilers.  */
43118 #ifdef __STDC__
43119 # include <limits.h>
43120 #else
43121 # include <assert.h>
43122 #endif
43123 /* Override any gcc2 internal prototype to avoid an error.  */
43124 #ifdef __cplusplus
43125 extern "C"
43126 {
43127 #endif
43128 /* We use char because int might match the return type of a gcc2
43129    builtin and then its argument prototype would still apply.  */
43130 char $ac_func ();
43131 /* The GNU C library defines this for functions which it implements
43132     to always fail with ENOSYS.  Some functions are actually named
43133     something starting with __ and the normal name is an alias.  */
43134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43135 choke me
43136 #else
43137 char (*f) () = $ac_func;
43138 #endif
43139 #ifdef __cplusplus
43140 }
43141 #endif
43142
43143 int
43144 main ()
43145 {
43146 return f != $ac_func;
43147   ;
43148   return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext conftest$ac_exeext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43153   (eval $ac_link) 2>&5
43154   ac_status=$?
43155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156   (exit $ac_status); } &&
43157          { ac_try='test -s conftest$ac_exeext'
43158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43159   (eval $ac_try) 2>&5
43160   ac_status=$?
43161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162   (exit $ac_status); }; }; then
43163   eval "$as_ac_var=yes"
43164 else
43165   echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168 eval "$as_ac_var=no"
43169 fi
43170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43171 fi
43172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43174 if test `eval echo '${'$as_ac_var'}'` = yes; then
43175   cat >>confdefs.h <<_ACEOF
43176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43177 _ACEOF
43178
43179 else
43180   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
43181 fi
43182 done
43183
43184
43185           if test x$ac_cv_func_copysignl = x"yes"; then
43186
43187 for ac_func in __signbitl
43188 do
43189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43190 echo "$as_me:$LINENO: checking for $ac_func" >&5
43191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43192 if eval "test \"\${$as_ac_var+set}\" = set"; then
43193   echo $ECHO_N "(cached) $ECHO_C" >&6
43194 else
43195   cat >conftest.$ac_ext <<_ACEOF
43196 #line $LINENO "configure"
43197 /* confdefs.h.  */
43198 _ACEOF
43199 cat confdefs.h >>conftest.$ac_ext
43200 cat >>conftest.$ac_ext <<_ACEOF
43201 /* end confdefs.h.  */
43202 /* System header to define __stub macros and hopefully few prototypes,
43203     which can conflict with char $ac_func (); below.
43204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43205     <limits.h> exists even on freestanding compilers.  */
43206 #ifdef __STDC__
43207 # include <limits.h>
43208 #else
43209 # include <assert.h>
43210 #endif
43211 /* Override any gcc2 internal prototype to avoid an error.  */
43212 #ifdef __cplusplus
43213 extern "C"
43214 {
43215 #endif
43216 /* We use char because int might match the return type of a gcc2
43217    builtin and then its argument prototype would still apply.  */
43218 char $ac_func ();
43219 /* The GNU C library defines this for functions which it implements
43220     to always fail with ENOSYS.  Some functions are actually named
43221     something starting with __ and the normal name is an alias.  */
43222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43223 choke me
43224 #else
43225 char (*f) () = $ac_func;
43226 #endif
43227 #ifdef __cplusplus
43228 }
43229 #endif
43230
43231 int
43232 main ()
43233 {
43234 return f != $ac_func;
43235   ;
43236   return 0;
43237 }
43238 _ACEOF
43239 rm -f conftest.$ac_objext conftest$ac_exeext
43240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43241   (eval $ac_link) 2>&5
43242   ac_status=$?
43243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244   (exit $ac_status); } &&
43245          { ac_try='test -s conftest$ac_exeext'
43246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247   (eval $ac_try) 2>&5
43248   ac_status=$?
43249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250   (exit $ac_status); }; }; then
43251   eval "$as_ac_var=yes"
43252 else
43253   echo "$as_me: failed program was:" >&5
43254 sed 's/^/| /' conftest.$ac_ext >&5
43255
43256 eval "$as_ac_var=no"
43257 fi
43258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43259 fi
43260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43262 if test `eval echo '${'$as_ac_var'}'` = yes; then
43263   cat >>confdefs.h <<_ACEOF
43264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43265 _ACEOF
43266
43267 else
43268   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
43269 fi
43270 done
43271
43272   fi
43273
43274   # XXX Review this.  Nothing uses it.
43275   if test -n "$LIBMATHOBJS"; then
43276     need_libmath=yes
43277   fi
43278
43279
43280
43281   # Test wchar.h for mbstate_t, which is needed for char_traits and
43282   # others even if wchar_t support is not on.
43283   echo "$as_me:$LINENO: checking for mbstate_t" >&5
43284 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
43285   cat >conftest.$ac_ext <<_ACEOF
43286 #line $LINENO "configure"
43287 /* confdefs.h.  */
43288 _ACEOF
43289 cat confdefs.h >>conftest.$ac_ext
43290 cat >>conftest.$ac_ext <<_ACEOF
43291 /* end confdefs.h.  */
43292 #include <wchar.h>
43293 int
43294 main ()
43295 {
43296 mbstate_t teststate;
43297   ;
43298   return 0;
43299 }
43300 _ACEOF
43301 rm -f conftest.$ac_objext
43302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43303   (eval $ac_compile) 2>&5
43304   ac_status=$?
43305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43306   (exit $ac_status); } &&
43307          { ac_try='test -s conftest.$ac_objext'
43308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43309   (eval $ac_try) 2>&5
43310   ac_status=$?
43311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43312   (exit $ac_status); }; }; then
43313   have_mbstate_t=yes
43314 else
43315   echo "$as_me: failed program was:" >&5
43316 sed 's/^/| /' conftest.$ac_ext >&5
43317
43318 have_mbstate_t=no
43319 fi
43320 rm -f conftest.$ac_objext conftest.$ac_ext
43321   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
43322 echo "${ECHO_T}$have_mbstate_t" >&6
43323   if test x"$have_mbstate_t" = xyes; then
43324     cat >>confdefs.h <<\_ACEOF
43325 #define HAVE_MBSTATE_T 1
43326 _ACEOF
43327
43328   fi
43329
43330   # Sanity check for existence of ISO C99 headers for extended encoding.
43331
43332 for ac_header in wchar.h
43333 do
43334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43336   echo "$as_me:$LINENO: checking for $ac_header" >&5
43337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43339   echo $ECHO_N "(cached) $ECHO_C" >&6
43340 fi
43341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43343 else
43344   # Is the header compilable?
43345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43347 cat >conftest.$ac_ext <<_ACEOF
43348 #line $LINENO "configure"
43349 /* confdefs.h.  */
43350 _ACEOF
43351 cat confdefs.h >>conftest.$ac_ext
43352 cat >>conftest.$ac_ext <<_ACEOF
43353 /* end confdefs.h.  */
43354 $ac_includes_default
43355 #include <$ac_header>
43356 _ACEOF
43357 rm -f conftest.$ac_objext
43358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43359   (eval $ac_compile) 2>&5
43360   ac_status=$?
43361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362   (exit $ac_status); } &&
43363          { ac_try='test -s conftest.$ac_objext'
43364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43365   (eval $ac_try) 2>&5
43366   ac_status=$?
43367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368   (exit $ac_status); }; }; then
43369   ac_header_compiler=yes
43370 else
43371   echo "$as_me: failed program was:" >&5
43372 sed 's/^/| /' conftest.$ac_ext >&5
43373
43374 ac_header_compiler=no
43375 fi
43376 rm -f conftest.$ac_objext conftest.$ac_ext
43377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43378 echo "${ECHO_T}$ac_header_compiler" >&6
43379
43380 # Is the header present?
43381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43383 cat >conftest.$ac_ext <<_ACEOF
43384 #line $LINENO "configure"
43385 /* confdefs.h.  */
43386 _ACEOF
43387 cat confdefs.h >>conftest.$ac_ext
43388 cat >>conftest.$ac_ext <<_ACEOF
43389 /* end confdefs.h.  */
43390 #include <$ac_header>
43391 _ACEOF
43392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43393   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43394   ac_status=$?
43395   grep -v '^ *+' conftest.er1 >conftest.err
43396   rm -f conftest.er1
43397   cat conftest.err >&5
43398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43399   (exit $ac_status); } >/dev/null; then
43400   if test -s conftest.err; then
43401     ac_cpp_err=$ac_c_preproc_warn_flag
43402   else
43403     ac_cpp_err=
43404   fi
43405 else
43406   ac_cpp_err=yes
43407 fi
43408 if test -z "$ac_cpp_err"; then
43409   ac_header_preproc=yes
43410 else
43411   echo "$as_me: failed program was:" >&5
43412 sed 's/^/| /' conftest.$ac_ext >&5
43413
43414   ac_header_preproc=no
43415 fi
43416 rm -f conftest.err conftest.$ac_ext
43417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43418 echo "${ECHO_T}$ac_header_preproc" >&6
43419
43420 # So?  What about this header?
43421 case $ac_header_compiler:$ac_header_preproc in
43422   yes:no )
43423     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43425     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43427     (
43428       cat <<\_ASBOX
43429 ## ------------------------------------ ##
43430 ## Report this to bug-autoconf@gnu.org. ##
43431 ## ------------------------------------ ##
43432 _ASBOX
43433     ) |
43434       sed "s/^/$as_me: WARNING:     /" >&2
43435     ;;
43436   no:yes )
43437     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43439     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43441     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43443     (
43444       cat <<\_ASBOX
43445 ## ------------------------------------ ##
43446 ## Report this to bug-autoconf@gnu.org. ##
43447 ## ------------------------------------ ##
43448 _ASBOX
43449     ) |
43450       sed "s/^/$as_me: WARNING:     /" >&2
43451     ;;
43452 esac
43453 echo "$as_me:$LINENO: checking for $ac_header" >&5
43454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43456   echo $ECHO_N "(cached) $ECHO_C" >&6
43457 else
43458   eval "$as_ac_Header=$ac_header_preproc"
43459 fi
43460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43462
43463 fi
43464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43465   cat >>confdefs.h <<_ACEOF
43466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43467 _ACEOF
43468  ac_has_wchar_h=yes
43469 else
43470   ac_has_wchar_h=no
43471 fi
43472
43473 done
43474
43475
43476 for ac_header in wctype.h
43477 do
43478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43480   echo "$as_me:$LINENO: checking for $ac_header" >&5
43481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43483   echo $ECHO_N "(cached) $ECHO_C" >&6
43484 fi
43485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43487 else
43488   # Is the header compilable?
43489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43491 cat >conftest.$ac_ext <<_ACEOF
43492 #line $LINENO "configure"
43493 /* confdefs.h.  */
43494 _ACEOF
43495 cat confdefs.h >>conftest.$ac_ext
43496 cat >>conftest.$ac_ext <<_ACEOF
43497 /* end confdefs.h.  */
43498 $ac_includes_default
43499 #include <$ac_header>
43500 _ACEOF
43501 rm -f conftest.$ac_objext
43502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43503   (eval $ac_compile) 2>&5
43504   ac_status=$?
43505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43506   (exit $ac_status); } &&
43507          { ac_try='test -s conftest.$ac_objext'
43508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43509   (eval $ac_try) 2>&5
43510   ac_status=$?
43511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43512   (exit $ac_status); }; }; then
43513   ac_header_compiler=yes
43514 else
43515   echo "$as_me: failed program was:" >&5
43516 sed 's/^/| /' conftest.$ac_ext >&5
43517
43518 ac_header_compiler=no
43519 fi
43520 rm -f conftest.$ac_objext conftest.$ac_ext
43521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43522 echo "${ECHO_T}$ac_header_compiler" >&6
43523
43524 # Is the header present?
43525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43527 cat >conftest.$ac_ext <<_ACEOF
43528 #line $LINENO "configure"
43529 /* confdefs.h.  */
43530 _ACEOF
43531 cat confdefs.h >>conftest.$ac_ext
43532 cat >>conftest.$ac_ext <<_ACEOF
43533 /* end confdefs.h.  */
43534 #include <$ac_header>
43535 _ACEOF
43536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43537   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43538   ac_status=$?
43539   grep -v '^ *+' conftest.er1 >conftest.err
43540   rm -f conftest.er1
43541   cat conftest.err >&5
43542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543   (exit $ac_status); } >/dev/null; then
43544   if test -s conftest.err; then
43545     ac_cpp_err=$ac_c_preproc_warn_flag
43546   else
43547     ac_cpp_err=
43548   fi
43549 else
43550   ac_cpp_err=yes
43551 fi
43552 if test -z "$ac_cpp_err"; then
43553   ac_header_preproc=yes
43554 else
43555   echo "$as_me: failed program was:" >&5
43556 sed 's/^/| /' conftest.$ac_ext >&5
43557
43558   ac_header_preproc=no
43559 fi
43560 rm -f conftest.err conftest.$ac_ext
43561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43562 echo "${ECHO_T}$ac_header_preproc" >&6
43563
43564 # So?  What about this header?
43565 case $ac_header_compiler:$ac_header_preproc in
43566   yes:no )
43567     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43569     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43571     (
43572       cat <<\_ASBOX
43573 ## ------------------------------------ ##
43574 ## Report this to bug-autoconf@gnu.org. ##
43575 ## ------------------------------------ ##
43576 _ASBOX
43577     ) |
43578       sed "s/^/$as_me: WARNING:     /" >&2
43579     ;;
43580   no:yes )
43581     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43583     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43585     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43587     (
43588       cat <<\_ASBOX
43589 ## ------------------------------------ ##
43590 ## Report this to bug-autoconf@gnu.org. ##
43591 ## ------------------------------------ ##
43592 _ASBOX
43593     ) |
43594       sed "s/^/$as_me: WARNING:     /" >&2
43595     ;;
43596 esac
43597 echo "$as_me:$LINENO: checking for $ac_header" >&5
43598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43600   echo $ECHO_N "(cached) $ECHO_C" >&6
43601 else
43602   eval "$as_ac_Header=$ac_header_preproc"
43603 fi
43604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43606
43607 fi
43608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43609   cat >>confdefs.h <<_ACEOF
43610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43611 _ACEOF
43612  ac_has_wctype_h=yes
43613 else
43614   ac_has_wctype_h=no
43615 fi
43616
43617 done
43618
43619
43620   # Only continue checking if the ISO C99 headers exist and support is on.
43621   if test x"$ac_has_wchar_h" = xyes &&
43622      test x"$ac_has_wctype_h" = xyes &&
43623      test x"$enable_c_mbchar" != xno; then
43624
43625     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
43626     # numeric_limits can instantiate type_traits<wchar_t>
43627     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
43628 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
43629     cat >conftest.$ac_ext <<_ACEOF
43630 #line $LINENO "configure"
43631 /* confdefs.h.  */
43632 _ACEOF
43633 cat confdefs.h >>conftest.$ac_ext
43634 cat >>conftest.$ac_ext <<_ACEOF
43635 /* end confdefs.h.  */
43636 #include <wchar.h>
43637 int
43638 main ()
43639 {
43640 int i = WCHAR_MIN; int j = WCHAR_MAX;
43641   ;
43642   return 0;
43643 }
43644 _ACEOF
43645 rm -f conftest.$ac_objext
43646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43647   (eval $ac_compile) 2>&5
43648   ac_status=$?
43649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650   (exit $ac_status); } &&
43651          { ac_try='test -s conftest.$ac_objext'
43652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43653   (eval $ac_try) 2>&5
43654   ac_status=$?
43655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43656   (exit $ac_status); }; }; then
43657   has_wchar_minmax=yes
43658 else
43659   echo "$as_me: failed program was:" >&5
43660 sed 's/^/| /' conftest.$ac_ext >&5
43661
43662 has_wchar_minmax=no
43663 fi
43664 rm -f conftest.$ac_objext conftest.$ac_ext
43665     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
43666 echo "${ECHO_T}$has_wchar_minmax" >&6
43667
43668     # Test wchar.h for WEOF, which is what we use to determine whether
43669     # to specialize for char_traits<wchar_t> or not.
43670     echo "$as_me:$LINENO: checking for WEOF" >&5
43671 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
43672     cat >conftest.$ac_ext <<_ACEOF
43673 #line $LINENO "configure"
43674 /* confdefs.h.  */
43675 _ACEOF
43676 cat confdefs.h >>conftest.$ac_ext
43677 cat >>conftest.$ac_ext <<_ACEOF
43678 /* end confdefs.h.  */
43679
43680       #include <wchar.h>
43681       #include <stddef.h>
43682 int
43683 main ()
43684 {
43685 wint_t i = WEOF;
43686   ;
43687   return 0;
43688 }
43689 _ACEOF
43690 rm -f conftest.$ac_objext
43691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43692   (eval $ac_compile) 2>&5
43693   ac_status=$?
43694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43695   (exit $ac_status); } &&
43696          { ac_try='test -s conftest.$ac_objext'
43697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43698   (eval $ac_try) 2>&5
43699   ac_status=$?
43700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701   (exit $ac_status); }; }; then
43702   has_weof=yes
43703 else
43704   echo "$as_me: failed program was:" >&5
43705 sed 's/^/| /' conftest.$ac_ext >&5
43706
43707 has_weof=no
43708 fi
43709 rm -f conftest.$ac_objext conftest.$ac_ext
43710     echo "$as_me:$LINENO: result: $has_weof" >&5
43711 echo "${ECHO_T}$has_weof" >&6
43712
43713     # Tests for wide character functions used in char_traits<wchar_t>.
43714     ac_wfuncs=yes
43715
43716
43717
43718
43719
43720
43721 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
43722 do
43723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43724 echo "$as_me:$LINENO: checking for $ac_func" >&5
43725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43726 if eval "test \"\${$as_ac_var+set}\" = set"; then
43727   echo $ECHO_N "(cached) $ECHO_C" >&6
43728 else
43729   cat >conftest.$ac_ext <<_ACEOF
43730 #line $LINENO "configure"
43731 /* confdefs.h.  */
43732 _ACEOF
43733 cat confdefs.h >>conftest.$ac_ext
43734 cat >>conftest.$ac_ext <<_ACEOF
43735 /* end confdefs.h.  */
43736 /* System header to define __stub macros and hopefully few prototypes,
43737     which can conflict with char $ac_func (); below.
43738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43739     <limits.h> exists even on freestanding compilers.  */
43740 #ifdef __STDC__
43741 # include <limits.h>
43742 #else
43743 # include <assert.h>
43744 #endif
43745 /* Override any gcc2 internal prototype to avoid an error.  */
43746 #ifdef __cplusplus
43747 extern "C"
43748 {
43749 #endif
43750 /* We use char because int might match the return type of a gcc2
43751    builtin and then its argument prototype would still apply.  */
43752 char $ac_func ();
43753 /* The GNU C library defines this for functions which it implements
43754     to always fail with ENOSYS.  Some functions are actually named
43755     something starting with __ and the normal name is an alias.  */
43756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43757 choke me
43758 #else
43759 char (*f) () = $ac_func;
43760 #endif
43761 #ifdef __cplusplus
43762 }
43763 #endif
43764
43765 int
43766 main ()
43767 {
43768 return f != $ac_func;
43769   ;
43770   return 0;
43771 }
43772 _ACEOF
43773 rm -f conftest.$ac_objext conftest$ac_exeext
43774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43775   (eval $ac_link) 2>&5
43776   ac_status=$?
43777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43778   (exit $ac_status); } &&
43779          { ac_try='test -s conftest$ac_exeext'
43780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43781   (eval $ac_try) 2>&5
43782   ac_status=$?
43783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784   (exit $ac_status); }; }; then
43785   eval "$as_ac_var=yes"
43786 else
43787   echo "$as_me: failed program was:" >&5
43788 sed 's/^/| /' conftest.$ac_ext >&5
43789
43790 eval "$as_ac_var=no"
43791 fi
43792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43793 fi
43794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43796 if test `eval echo '${'$as_ac_var'}'` = yes; then
43797   cat >>confdefs.h <<_ACEOF
43798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43799 _ACEOF
43800
43801 else
43802   ac_wfuncs=no
43803 fi
43804 done
43805
43806
43807     # Checks for names injected into std:: by the c_std headers.
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
43859     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
43860     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
43861     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
43862     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
43863     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
43864 do
43865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43866 echo "$as_me:$LINENO: checking for $ac_func" >&5
43867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43868 if eval "test \"\${$as_ac_var+set}\" = set"; then
43869   echo $ECHO_N "(cached) $ECHO_C" >&6
43870 else
43871   cat >conftest.$ac_ext <<_ACEOF
43872 #line $LINENO "configure"
43873 /* confdefs.h.  */
43874 _ACEOF
43875 cat confdefs.h >>conftest.$ac_ext
43876 cat >>conftest.$ac_ext <<_ACEOF
43877 /* end confdefs.h.  */
43878 /* System header to define __stub macros and hopefully few prototypes,
43879     which can conflict with char $ac_func (); below.
43880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43881     <limits.h> exists even on freestanding compilers.  */
43882 #ifdef __STDC__
43883 # include <limits.h>
43884 #else
43885 # include <assert.h>
43886 #endif
43887 /* Override any gcc2 internal prototype to avoid an error.  */
43888 #ifdef __cplusplus
43889 extern "C"
43890 {
43891 #endif
43892 /* We use char because int might match the return type of a gcc2
43893    builtin and then its argument prototype would still apply.  */
43894 char $ac_func ();
43895 /* The GNU C library defines this for functions which it implements
43896     to always fail with ENOSYS.  Some functions are actually named
43897     something starting with __ and the normal name is an alias.  */
43898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43899 choke me
43900 #else
43901 char (*f) () = $ac_func;
43902 #endif
43903 #ifdef __cplusplus
43904 }
43905 #endif
43906
43907 int
43908 main ()
43909 {
43910 return f != $ac_func;
43911   ;
43912   return 0;
43913 }
43914 _ACEOF
43915 rm -f conftest.$ac_objext conftest$ac_exeext
43916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43917   (eval $ac_link) 2>&5
43918   ac_status=$?
43919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920   (exit $ac_status); } &&
43921          { ac_try='test -s conftest$ac_exeext'
43922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43923   (eval $ac_try) 2>&5
43924   ac_status=$?
43925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926   (exit $ac_status); }; }; then
43927   eval "$as_ac_var=yes"
43928 else
43929   echo "$as_me: failed program was:" >&5
43930 sed 's/^/| /' conftest.$ac_ext >&5
43931
43932 eval "$as_ac_var=no"
43933 fi
43934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43935 fi
43936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43938 if test `eval echo '${'$as_ac_var'}'` = yes; then
43939   cat >>confdefs.h <<_ACEOF
43940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43941 _ACEOF
43942
43943 else
43944   ac_wfuncs=no
43945 fi
43946 done
43947
43948
43949     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
43950 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
43951     if test x"$has_weof" = xyes &&
43952        test x"$has_wchar_minmax" = xyes &&
43953        test x"$ac_wfuncs" = xyes;
43954     then
43955       ac_isoC99_wchar_t=yes
43956     else
43957       ac_isoC99_wchar_t=no
43958     fi
43959     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
43960 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
43961
43962     # Use iconv for wchar_t to char conversions. As such, check for
43963     # X/Open Portability Guide, version 2 features (XPG2).
43964     if test "${ac_cv_header_iconv_h+set}" = set; then
43965   echo "$as_me:$LINENO: checking for iconv.h" >&5
43966 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
43967 if test "${ac_cv_header_iconv_h+set}" = set; then
43968   echo $ECHO_N "(cached) $ECHO_C" >&6
43969 fi
43970 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
43971 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
43972 else
43973   # Is the header compilable?
43974 echo "$as_me:$LINENO: checking iconv.h usability" >&5
43975 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
43976 cat >conftest.$ac_ext <<_ACEOF
43977 #line $LINENO "configure"
43978 /* confdefs.h.  */
43979 _ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h.  */
43983 $ac_includes_default
43984 #include <iconv.h>
43985 _ACEOF
43986 rm -f conftest.$ac_objext
43987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43988   (eval $ac_compile) 2>&5
43989   ac_status=$?
43990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43991   (exit $ac_status); } &&
43992          { ac_try='test -s conftest.$ac_objext'
43993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43994   (eval $ac_try) 2>&5
43995   ac_status=$?
43996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997   (exit $ac_status); }; }; then
43998   ac_header_compiler=yes
43999 else
44000   echo "$as_me: failed program was:" >&5
44001 sed 's/^/| /' conftest.$ac_ext >&5
44002
44003 ac_header_compiler=no
44004 fi
44005 rm -f conftest.$ac_objext conftest.$ac_ext
44006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44007 echo "${ECHO_T}$ac_header_compiler" >&6
44008
44009 # Is the header present?
44010 echo "$as_me:$LINENO: checking iconv.h presence" >&5
44011 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
44012 cat >conftest.$ac_ext <<_ACEOF
44013 #line $LINENO "configure"
44014 /* confdefs.h.  */
44015 _ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h.  */
44019 #include <iconv.h>
44020 _ACEOF
44021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44022   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44023   ac_status=$?
44024   grep -v '^ *+' conftest.er1 >conftest.err
44025   rm -f conftest.er1
44026   cat conftest.err >&5
44027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44028   (exit $ac_status); } >/dev/null; then
44029   if test -s conftest.err; then
44030     ac_cpp_err=$ac_c_preproc_warn_flag
44031   else
44032     ac_cpp_err=
44033   fi
44034 else
44035   ac_cpp_err=yes
44036 fi
44037 if test -z "$ac_cpp_err"; then
44038   ac_header_preproc=yes
44039 else
44040   echo "$as_me: failed program was:" >&5
44041 sed 's/^/| /' conftest.$ac_ext >&5
44042
44043   ac_header_preproc=no
44044 fi
44045 rm -f conftest.err conftest.$ac_ext
44046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44047 echo "${ECHO_T}$ac_header_preproc" >&6
44048
44049 # So?  What about this header?
44050 case $ac_header_compiler:$ac_header_preproc in
44051   yes:no )
44052     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
44053 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
44054     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
44055 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
44056     (
44057       cat <<\_ASBOX
44058 ## ------------------------------------ ##
44059 ## Report this to bug-autoconf@gnu.org. ##
44060 ## ------------------------------------ ##
44061 _ASBOX
44062     ) |
44063       sed "s/^/$as_me: WARNING:     /" >&2
44064     ;;
44065   no:yes )
44066     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
44067 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
44068     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
44069 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
44070     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
44071 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
44072     (
44073       cat <<\_ASBOX
44074 ## ------------------------------------ ##
44075 ## Report this to bug-autoconf@gnu.org. ##
44076 ## ------------------------------------ ##
44077 _ASBOX
44078     ) |
44079       sed "s/^/$as_me: WARNING:     /" >&2
44080     ;;
44081 esac
44082 echo "$as_me:$LINENO: checking for iconv.h" >&5
44083 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
44084 if test "${ac_cv_header_iconv_h+set}" = set; then
44085   echo $ECHO_N "(cached) $ECHO_C" >&6
44086 else
44087   ac_cv_header_iconv_h=$ac_header_preproc
44088 fi
44089 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
44090 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
44091
44092 fi
44093 if test $ac_cv_header_iconv_h = yes; then
44094   ac_has_iconv_h=yes
44095 else
44096   ac_has_iconv_h=no
44097 fi
44098
44099
44100     if test "${ac_cv_header_langinfo_h+set}" = set; then
44101   echo "$as_me:$LINENO: checking for langinfo.h" >&5
44102 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
44103 if test "${ac_cv_header_langinfo_h+set}" = set; then
44104   echo $ECHO_N "(cached) $ECHO_C" >&6
44105 fi
44106 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
44107 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
44108 else
44109   # Is the header compilable?
44110 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
44111 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
44112 cat >conftest.$ac_ext <<_ACEOF
44113 #line $LINENO "configure"
44114 /* confdefs.h.  */
44115 _ACEOF
44116 cat confdefs.h >>conftest.$ac_ext
44117 cat >>conftest.$ac_ext <<_ACEOF
44118 /* end confdefs.h.  */
44119 $ac_includes_default
44120 #include <langinfo.h>
44121 _ACEOF
44122 rm -f conftest.$ac_objext
44123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44124   (eval $ac_compile) 2>&5
44125   ac_status=$?
44126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127   (exit $ac_status); } &&
44128          { ac_try='test -s conftest.$ac_objext'
44129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130   (eval $ac_try) 2>&5
44131   ac_status=$?
44132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133   (exit $ac_status); }; }; then
44134   ac_header_compiler=yes
44135 else
44136   echo "$as_me: failed program was:" >&5
44137 sed 's/^/| /' conftest.$ac_ext >&5
44138
44139 ac_header_compiler=no
44140 fi
44141 rm -f conftest.$ac_objext conftest.$ac_ext
44142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44143 echo "${ECHO_T}$ac_header_compiler" >&6
44144
44145 # Is the header present?
44146 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
44147 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
44148 cat >conftest.$ac_ext <<_ACEOF
44149 #line $LINENO "configure"
44150 /* confdefs.h.  */
44151 _ACEOF
44152 cat confdefs.h >>conftest.$ac_ext
44153 cat >>conftest.$ac_ext <<_ACEOF
44154 /* end confdefs.h.  */
44155 #include <langinfo.h>
44156 _ACEOF
44157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44158   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44159   ac_status=$?
44160   grep -v '^ *+' conftest.er1 >conftest.err
44161   rm -f conftest.er1
44162   cat conftest.err >&5
44163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164   (exit $ac_status); } >/dev/null; then
44165   if test -s conftest.err; then
44166     ac_cpp_err=$ac_c_preproc_warn_flag
44167   else
44168     ac_cpp_err=
44169   fi
44170 else
44171   ac_cpp_err=yes
44172 fi
44173 if test -z "$ac_cpp_err"; then
44174   ac_header_preproc=yes
44175 else
44176   echo "$as_me: failed program was:" >&5
44177 sed 's/^/| /' conftest.$ac_ext >&5
44178
44179   ac_header_preproc=no
44180 fi
44181 rm -f conftest.err conftest.$ac_ext
44182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44183 echo "${ECHO_T}$ac_header_preproc" >&6
44184
44185 # So?  What about this header?
44186 case $ac_header_compiler:$ac_header_preproc in
44187   yes:no )
44188     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
44189 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
44190     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
44191 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
44192     (
44193       cat <<\_ASBOX
44194 ## ------------------------------------ ##
44195 ## Report this to bug-autoconf@gnu.org. ##
44196 ## ------------------------------------ ##
44197 _ASBOX
44198     ) |
44199       sed "s/^/$as_me: WARNING:     /" >&2
44200     ;;
44201   no:yes )
44202     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
44203 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
44204     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
44205 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
44206     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
44207 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
44208     (
44209       cat <<\_ASBOX
44210 ## ------------------------------------ ##
44211 ## Report this to bug-autoconf@gnu.org. ##
44212 ## ------------------------------------ ##
44213 _ASBOX
44214     ) |
44215       sed "s/^/$as_me: WARNING:     /" >&2
44216     ;;
44217 esac
44218 echo "$as_me:$LINENO: checking for langinfo.h" >&5
44219 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
44220 if test "${ac_cv_header_langinfo_h+set}" = set; then
44221   echo $ECHO_N "(cached) $ECHO_C" >&6
44222 else
44223   ac_cv_header_langinfo_h=$ac_header_preproc
44224 fi
44225 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
44226 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
44227
44228 fi
44229 if test $ac_cv_header_langinfo_h = yes; then
44230   ac_has_langinfo_h=yes
44231 else
44232   ac_has_langinfo_h=no
44233 fi
44234
44235
44236
44237     # Check for existence of libiconv.a providing XPG2 wchar_t support.
44238     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
44239 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
44240 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
44241   echo $ECHO_N "(cached) $ECHO_C" >&6
44242 else
44243   ac_check_lib_save_LIBS=$LIBS
44244 LIBS="-liconv  $LIBS"
44245 cat >conftest.$ac_ext <<_ACEOF
44246 #line $LINENO "configure"
44247 /* confdefs.h.  */
44248 _ACEOF
44249 cat confdefs.h >>conftest.$ac_ext
44250 cat >>conftest.$ac_ext <<_ACEOF
44251 /* end confdefs.h.  */
44252
44253 /* Override any gcc2 internal prototype to avoid an error.  */
44254 #ifdef __cplusplus
44255 extern "C"
44256 #endif
44257 /* We use char because int might match the return type of a gcc2
44258    builtin and then its argument prototype would still apply.  */
44259 char iconv ();
44260 int
44261 main ()
44262 {
44263 iconv ();
44264   ;
44265   return 0;
44266 }
44267 _ACEOF
44268 rm -f conftest.$ac_objext conftest$ac_exeext
44269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44270   (eval $ac_link) 2>&5
44271   ac_status=$?
44272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44273   (exit $ac_status); } &&
44274          { ac_try='test -s conftest$ac_exeext'
44275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44276   (eval $ac_try) 2>&5
44277   ac_status=$?
44278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279   (exit $ac_status); }; }; then
44280   ac_cv_lib_iconv_iconv=yes
44281 else
44282   echo "$as_me: failed program was:" >&5
44283 sed 's/^/| /' conftest.$ac_ext >&5
44284
44285 ac_cv_lib_iconv_iconv=no
44286 fi
44287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44288 LIBS=$ac_check_lib_save_LIBS
44289 fi
44290 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
44291 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
44292 if test $ac_cv_lib_iconv_iconv = yes; then
44293   libiconv="-liconv"
44294 fi
44295
44296     ac_save_LIBS="$LIBS"
44297     LIBS="$LIBS $libiconv"
44298
44299
44300
44301
44302
44303 for ac_func in iconv_open iconv_close iconv nl_langinfo
44304 do
44305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44306 echo "$as_me:$LINENO: checking for $ac_func" >&5
44307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44308 if eval "test \"\${$as_ac_var+set}\" = set"; then
44309   echo $ECHO_N "(cached) $ECHO_C" >&6
44310 else
44311   cat >conftest.$ac_ext <<_ACEOF
44312 #line $LINENO "configure"
44313 /* confdefs.h.  */
44314 _ACEOF
44315 cat confdefs.h >>conftest.$ac_ext
44316 cat >>conftest.$ac_ext <<_ACEOF
44317 /* end confdefs.h.  */
44318 /* System header to define __stub macros and hopefully few prototypes,
44319     which can conflict with char $ac_func (); below.
44320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44321     <limits.h> exists even on freestanding compilers.  */
44322 #ifdef __STDC__
44323 # include <limits.h>
44324 #else
44325 # include <assert.h>
44326 #endif
44327 /* Override any gcc2 internal prototype to avoid an error.  */
44328 #ifdef __cplusplus
44329 extern "C"
44330 {
44331 #endif
44332 /* We use char because int might match the return type of a gcc2
44333    builtin and then its argument prototype would still apply.  */
44334 char $ac_func ();
44335 /* The GNU C library defines this for functions which it implements
44336     to always fail with ENOSYS.  Some functions are actually named
44337     something starting with __ and the normal name is an alias.  */
44338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44339 choke me
44340 #else
44341 char (*f) () = $ac_func;
44342 #endif
44343 #ifdef __cplusplus
44344 }
44345 #endif
44346
44347 int
44348 main ()
44349 {
44350 return f != $ac_func;
44351   ;
44352   return 0;
44353 }
44354 _ACEOF
44355 rm -f conftest.$ac_objext conftest$ac_exeext
44356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44357   (eval $ac_link) 2>&5
44358   ac_status=$?
44359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360   (exit $ac_status); } &&
44361          { ac_try='test -s conftest$ac_exeext'
44362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44363   (eval $ac_try) 2>&5
44364   ac_status=$?
44365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366   (exit $ac_status); }; }; then
44367   eval "$as_ac_var=yes"
44368 else
44369   echo "$as_me: failed program was:" >&5
44370 sed 's/^/| /' conftest.$ac_ext >&5
44371
44372 eval "$as_ac_var=no"
44373 fi
44374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44375 fi
44376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44378 if test `eval echo '${'$as_ac_var'}'` = yes; then
44379   cat >>confdefs.h <<_ACEOF
44380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44381 _ACEOF
44382  ac_XPG2funcs=yes
44383 else
44384   ac_XPG2funcs=no
44385 fi
44386 done
44387
44388
44389     LIBS="$ac_save_LIBS"
44390
44391     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
44392 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
44393     if test x"$ac_has_iconv_h" = xyes &&
44394        test x"$ac_has_langinfo_h" = xyes &&
44395        test x"$ac_XPG2funcs" = xyes;
44396     then
44397       ac_XPG2_wchar_t=yes
44398     else
44399       ac_XPG2_wchar_t=no
44400     fi
44401     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
44402 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
44403
44404     # At the moment, only enable wchar_t specializations if all the
44405     # above support is present.
44406     if test x"$ac_isoC99_wchar_t" = xyes &&
44407        test x"$ac_XPG2_wchar_t" = xyes;
44408     then
44409       cat >>confdefs.h <<\_ACEOF
44410 #define _GLIBCXX_USE_WCHAR_T 1
44411 _ACEOF
44412
44413       enable_wchar_t=yes
44414     fi
44415   fi
44416   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
44417 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
44418   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
44419 echo "${ECHO_T}$enable_wchar_t" >&6
44420
44421
44422   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44423   ac_save_CXXFLAGS="$CXXFLAGS"
44424   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44425
44426
44427   echo "$as_me:$LINENO: checking for strtold declaration" >&5
44428 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
44429   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44430     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
44431   echo $ECHO_N "(cached) $ECHO_C" >&6
44432 else
44433
44434
44435
44436       ac_ext=cc
44437 ac_cpp='$CXXCPP $CPPFLAGS'
44438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44441
44442       cat >conftest.$ac_ext <<_ACEOF
44443 #line $LINENO "configure"
44444 /* confdefs.h.  */
44445 _ACEOF
44446 cat confdefs.h >>conftest.$ac_ext
44447 cat >>conftest.$ac_ext <<_ACEOF
44448 /* end confdefs.h.  */
44449 #include <stdlib.h>
44450 int
44451 main ()
44452 {
44453  strtold(0, 0);
44454   ;
44455   return 0;
44456 }
44457 _ACEOF
44458 rm -f conftest.$ac_objext
44459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44460   (eval $ac_compile) 2>&5
44461   ac_status=$?
44462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44463   (exit $ac_status); } &&
44464          { ac_try='test -s conftest.$ac_objext'
44465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44466   (eval $ac_try) 2>&5
44467   ac_status=$?
44468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469   (exit $ac_status); }; }; then
44470   glibcxx_cv_func_strtold_use=yes
44471 else
44472   echo "$as_me: failed program was:" >&5
44473 sed 's/^/| /' conftest.$ac_ext >&5
44474
44475 glibcxx_cv_func_strtold_use=no
44476 fi
44477 rm -f conftest.$ac_objext conftest.$ac_ext
44478       ac_ext=c
44479 ac_cpp='$CPP $CPPFLAGS'
44480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44483
44484
44485 fi
44486
44487   fi
44488   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
44489 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
44490   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44491
44492 for ac_func in strtold
44493 do
44494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44495 echo "$as_me:$LINENO: checking for $ac_func" >&5
44496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44497 if eval "test \"\${$as_ac_var+set}\" = set"; then
44498   echo $ECHO_N "(cached) $ECHO_C" >&6
44499 else
44500   cat >conftest.$ac_ext <<_ACEOF
44501 #line $LINENO "configure"
44502 /* confdefs.h.  */
44503 _ACEOF
44504 cat confdefs.h >>conftest.$ac_ext
44505 cat >>conftest.$ac_ext <<_ACEOF
44506 /* end confdefs.h.  */
44507 /* System header to define __stub macros and hopefully few prototypes,
44508     which can conflict with char $ac_func (); below.
44509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44510     <limits.h> exists even on freestanding compilers.  */
44511 #ifdef __STDC__
44512 # include <limits.h>
44513 #else
44514 # include <assert.h>
44515 #endif
44516 /* Override any gcc2 internal prototype to avoid an error.  */
44517 #ifdef __cplusplus
44518 extern "C"
44519 {
44520 #endif
44521 /* We use char because int might match the return type of a gcc2
44522    builtin and then its argument prototype would still apply.  */
44523 char $ac_func ();
44524 /* The GNU C library defines this for functions which it implements
44525     to always fail with ENOSYS.  Some functions are actually named
44526     something starting with __ and the normal name is an alias.  */
44527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44528 choke me
44529 #else
44530 char (*f) () = $ac_func;
44531 #endif
44532 #ifdef __cplusplus
44533 }
44534 #endif
44535
44536 int
44537 main ()
44538 {
44539 return f != $ac_func;
44540   ;
44541   return 0;
44542 }
44543 _ACEOF
44544 rm -f conftest.$ac_objext conftest$ac_exeext
44545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44546   (eval $ac_link) 2>&5
44547   ac_status=$?
44548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44549   (exit $ac_status); } &&
44550          { ac_try='test -s conftest$ac_exeext'
44551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44552   (eval $ac_try) 2>&5
44553   ac_status=$?
44554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555   (exit $ac_status); }; }; then
44556   eval "$as_ac_var=yes"
44557 else
44558   echo "$as_me: failed program was:" >&5
44559 sed 's/^/| /' conftest.$ac_ext >&5
44560
44561 eval "$as_ac_var=no"
44562 fi
44563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44564 fi
44565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44567 if test `eval echo '${'$as_ac_var'}'` = yes; then
44568   cat >>confdefs.h <<_ACEOF
44569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44570 _ACEOF
44571
44572 fi
44573 done
44574
44575   fi
44576
44577
44578   echo "$as_me:$LINENO: checking for strtof declaration" >&5
44579 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
44580   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44581     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
44582   echo $ECHO_N "(cached) $ECHO_C" >&6
44583 else
44584
44585
44586
44587       ac_ext=cc
44588 ac_cpp='$CXXCPP $CPPFLAGS'
44589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44592
44593       cat >conftest.$ac_ext <<_ACEOF
44594 #line $LINENO "configure"
44595 /* confdefs.h.  */
44596 _ACEOF
44597 cat confdefs.h >>conftest.$ac_ext
44598 cat >>conftest.$ac_ext <<_ACEOF
44599 /* end confdefs.h.  */
44600 #include <stdlib.h>
44601 int
44602 main ()
44603 {
44604  strtof(0, 0);
44605   ;
44606   return 0;
44607 }
44608 _ACEOF
44609 rm -f conftest.$ac_objext
44610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44611   (eval $ac_compile) 2>&5
44612   ac_status=$?
44613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614   (exit $ac_status); } &&
44615          { ac_try='test -s conftest.$ac_objext'
44616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44617   (eval $ac_try) 2>&5
44618   ac_status=$?
44619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620   (exit $ac_status); }; }; then
44621   glibcxx_cv_func_strtof_use=yes
44622 else
44623   echo "$as_me: failed program was:" >&5
44624 sed 's/^/| /' conftest.$ac_ext >&5
44625
44626 glibcxx_cv_func_strtof_use=no
44627 fi
44628 rm -f conftest.$ac_objext conftest.$ac_ext
44629       ac_ext=c
44630 ac_cpp='$CPP $CPPFLAGS'
44631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44634
44635
44636 fi
44637
44638   fi
44639   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
44640 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
44641   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44642
44643 for ac_func in strtof
44644 do
44645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44646 echo "$as_me:$LINENO: checking for $ac_func" >&5
44647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44648 if eval "test \"\${$as_ac_var+set}\" = set"; then
44649   echo $ECHO_N "(cached) $ECHO_C" >&6
44650 else
44651   cat >conftest.$ac_ext <<_ACEOF
44652 #line $LINENO "configure"
44653 /* confdefs.h.  */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h.  */
44658 /* System header to define __stub macros and hopefully few prototypes,
44659     which can conflict with char $ac_func (); below.
44660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44661     <limits.h> exists even on freestanding compilers.  */
44662 #ifdef __STDC__
44663 # include <limits.h>
44664 #else
44665 # include <assert.h>
44666 #endif
44667 /* Override any gcc2 internal prototype to avoid an error.  */
44668 #ifdef __cplusplus
44669 extern "C"
44670 {
44671 #endif
44672 /* We use char because int might match the return type of a gcc2
44673    builtin and then its argument prototype would still apply.  */
44674 char $ac_func ();
44675 /* The GNU C library defines this for functions which it implements
44676     to always fail with ENOSYS.  Some functions are actually named
44677     something starting with __ and the normal name is an alias.  */
44678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44679 choke me
44680 #else
44681 char (*f) () = $ac_func;
44682 #endif
44683 #ifdef __cplusplus
44684 }
44685 #endif
44686
44687 int
44688 main ()
44689 {
44690 return f != $ac_func;
44691   ;
44692   return 0;
44693 }
44694 _ACEOF
44695 rm -f conftest.$ac_objext conftest$ac_exeext
44696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44697   (eval $ac_link) 2>&5
44698   ac_status=$?
44699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700   (exit $ac_status); } &&
44701          { ac_try='test -s conftest$ac_exeext'
44702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703   (eval $ac_try) 2>&5
44704   ac_status=$?
44705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706   (exit $ac_status); }; }; then
44707   eval "$as_ac_var=yes"
44708 else
44709   echo "$as_me: failed program was:" >&5
44710 sed 's/^/| /' conftest.$ac_ext >&5
44711
44712 eval "$as_ac_var=no"
44713 fi
44714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44715 fi
44716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44718 if test `eval echo '${'$as_ac_var'}'` = yes; then
44719   cat >>confdefs.h <<_ACEOF
44720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44721 _ACEOF
44722
44723 fi
44724 done
44725
44726   fi
44727
44728
44729 for ac_func in drand48
44730 do
44731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44732 echo "$as_me:$LINENO: checking for $ac_func" >&5
44733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44734 if eval "test \"\${$as_ac_var+set}\" = set"; then
44735   echo $ECHO_N "(cached) $ECHO_C" >&6
44736 else
44737   cat >conftest.$ac_ext <<_ACEOF
44738 #line $LINENO "configure"
44739 /* confdefs.h.  */
44740 _ACEOF
44741 cat confdefs.h >>conftest.$ac_ext
44742 cat >>conftest.$ac_ext <<_ACEOF
44743 /* end confdefs.h.  */
44744 /* System header to define __stub macros and hopefully few prototypes,
44745     which can conflict with char $ac_func (); below.
44746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44747     <limits.h> exists even on freestanding compilers.  */
44748 #ifdef __STDC__
44749 # include <limits.h>
44750 #else
44751 # include <assert.h>
44752 #endif
44753 /* Override any gcc2 internal prototype to avoid an error.  */
44754 #ifdef __cplusplus
44755 extern "C"
44756 {
44757 #endif
44758 /* We use char because int might match the return type of a gcc2
44759    builtin and then its argument prototype would still apply.  */
44760 char $ac_func ();
44761 /* The GNU C library defines this for functions which it implements
44762     to always fail with ENOSYS.  Some functions are actually named
44763     something starting with __ and the normal name is an alias.  */
44764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44765 choke me
44766 #else
44767 char (*f) () = $ac_func;
44768 #endif
44769 #ifdef __cplusplus
44770 }
44771 #endif
44772
44773 int
44774 main ()
44775 {
44776 return f != $ac_func;
44777   ;
44778   return 0;
44779 }
44780 _ACEOF
44781 rm -f conftest.$ac_objext conftest$ac_exeext
44782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44783   (eval $ac_link) 2>&5
44784   ac_status=$?
44785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786   (exit $ac_status); } &&
44787          { ac_try='test -s conftest$ac_exeext'
44788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44789   (eval $ac_try) 2>&5
44790   ac_status=$?
44791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792   (exit $ac_status); }; }; then
44793   eval "$as_ac_var=yes"
44794 else
44795   echo "$as_me: failed program was:" >&5
44796 sed 's/^/| /' conftest.$ac_ext >&5
44797
44798 eval "$as_ac_var=no"
44799 fi
44800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44801 fi
44802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44804 if test `eval echo '${'$as_ac_var'}'` = yes; then
44805   cat >>confdefs.h <<_ACEOF
44806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44807 _ACEOF
44808
44809 fi
44810 done
44811
44812
44813   CXXFLAGS="$ac_save_CXXFLAGS"
44814
44815
44816     # For showmanyc_helper().
44817
44818
44819 for ac_header in sys/ioctl.h sys/filio.h
44820 do
44821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44823   echo "$as_me:$LINENO: checking for $ac_header" >&5
44824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44826   echo $ECHO_N "(cached) $ECHO_C" >&6
44827 fi
44828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44830 else
44831   # Is the header compilable?
44832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44834 cat >conftest.$ac_ext <<_ACEOF
44835 #line $LINENO "configure"
44836 /* confdefs.h.  */
44837 _ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h.  */
44841 $ac_includes_default
44842 #include <$ac_header>
44843 _ACEOF
44844 rm -f conftest.$ac_objext
44845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44846   (eval $ac_compile) 2>&5
44847   ac_status=$?
44848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849   (exit $ac_status); } &&
44850          { ac_try='test -s conftest.$ac_objext'
44851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852   (eval $ac_try) 2>&5
44853   ac_status=$?
44854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855   (exit $ac_status); }; }; then
44856   ac_header_compiler=yes
44857 else
44858   echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44860
44861 ac_header_compiler=no
44862 fi
44863 rm -f conftest.$ac_objext conftest.$ac_ext
44864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44865 echo "${ECHO_T}$ac_header_compiler" >&6
44866
44867 # Is the header present?
44868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44870 cat >conftest.$ac_ext <<_ACEOF
44871 #line $LINENO "configure"
44872 /* confdefs.h.  */
44873 _ACEOF
44874 cat confdefs.h >>conftest.$ac_ext
44875 cat >>conftest.$ac_ext <<_ACEOF
44876 /* end confdefs.h.  */
44877 #include <$ac_header>
44878 _ACEOF
44879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44880   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44881   ac_status=$?
44882   grep -v '^ *+' conftest.er1 >conftest.err
44883   rm -f conftest.er1
44884   cat conftest.err >&5
44885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886   (exit $ac_status); } >/dev/null; then
44887   if test -s conftest.err; then
44888     ac_cpp_err=$ac_c_preproc_warn_flag
44889   else
44890     ac_cpp_err=
44891   fi
44892 else
44893   ac_cpp_err=yes
44894 fi
44895 if test -z "$ac_cpp_err"; then
44896   ac_header_preproc=yes
44897 else
44898   echo "$as_me: failed program was:" >&5
44899 sed 's/^/| /' conftest.$ac_ext >&5
44900
44901   ac_header_preproc=no
44902 fi
44903 rm -f conftest.err conftest.$ac_ext
44904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44905 echo "${ECHO_T}$ac_header_preproc" >&6
44906
44907 # So?  What about this header?
44908 case $ac_header_compiler:$ac_header_preproc in
44909   yes:no )
44910     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44912     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44914     (
44915       cat <<\_ASBOX
44916 ## ------------------------------------ ##
44917 ## Report this to bug-autoconf@gnu.org. ##
44918 ## ------------------------------------ ##
44919 _ASBOX
44920     ) |
44921       sed "s/^/$as_me: WARNING:     /" >&2
44922     ;;
44923   no:yes )
44924     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44926     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44930     (
44931       cat <<\_ASBOX
44932 ## ------------------------------------ ##
44933 ## Report this to bug-autoconf@gnu.org. ##
44934 ## ------------------------------------ ##
44935 _ASBOX
44936     ) |
44937       sed "s/^/$as_me: WARNING:     /" >&2
44938     ;;
44939 esac
44940 echo "$as_me:$LINENO: checking for $ac_header" >&5
44941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44943   echo $ECHO_N "(cached) $ECHO_C" >&6
44944 else
44945   eval "$as_ac_Header=$ac_header_preproc"
44946 fi
44947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44949
44950 fi
44951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44952   cat >>confdefs.h <<_ACEOF
44953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44954 _ACEOF
44955
44956 fi
44957
44958 done
44959
44960
44961   if test "${glibcxx_cv_POLL+set}" = set; then
44962   echo $ECHO_N "(cached) $ECHO_C" >&6
44963 else
44964
44965     cat >conftest.$ac_ext <<_ACEOF
44966 #line $LINENO "configure"
44967 /* confdefs.h.  */
44968 _ACEOF
44969 cat confdefs.h >>conftest.$ac_ext
44970 cat >>conftest.$ac_ext <<_ACEOF
44971 /* end confdefs.h.  */
44972 #include <poll.h>
44973 int
44974 main ()
44975 {
44976 struct pollfd pfd[1];
44977        pfd[0].events = POLLIN;
44978        poll(pfd, 1, 0);
44979   ;
44980   return 0;
44981 }
44982 _ACEOF
44983 rm -f conftest.$ac_objext
44984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44985   (eval $ac_compile) 2>&5
44986   ac_status=$?
44987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988   (exit $ac_status); } &&
44989          { ac_try='test -s conftest.$ac_objext'
44990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44991   (eval $ac_try) 2>&5
44992   ac_status=$?
44993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994   (exit $ac_status); }; }; then
44995   glibcxx_cv_POLL=yes
44996 else
44997   echo "$as_me: failed program was:" >&5
44998 sed 's/^/| /' conftest.$ac_ext >&5
44999
45000 glibcxx_cv_POLL=no
45001 fi
45002 rm -f conftest.$ac_objext conftest.$ac_ext
45003
45004 fi
45005
45006   if test $glibcxx_cv_POLL = yes; then
45007     cat >>confdefs.h <<\_ACEOF
45008 #define HAVE_POLL 1
45009 _ACEOF
45010
45011   fi
45012
45013
45014   if test "${glibcxx_cv_S_ISREG+set}" = set; then
45015   echo $ECHO_N "(cached) $ECHO_C" >&6
45016 else
45017
45018     cat >conftest.$ac_ext <<_ACEOF
45019 #line $LINENO "configure"
45020 /* confdefs.h.  */
45021 _ACEOF
45022 cat confdefs.h >>conftest.$ac_ext
45023 cat >>conftest.$ac_ext <<_ACEOF
45024 /* end confdefs.h.  */
45025 #include <sys/stat.h>
45026 int
45027 main ()
45028 {
45029 struct stat buffer;
45030        fstat(0, &buffer);
45031        S_ISREG(buffer.st_mode);
45032   ;
45033   return 0;
45034 }
45035 _ACEOF
45036 rm -f conftest.$ac_objext conftest$ac_exeext
45037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45038   (eval $ac_link) 2>&5
45039   ac_status=$?
45040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45041   (exit $ac_status); } &&
45042          { ac_try='test -s conftest$ac_exeext'
45043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45044   (eval $ac_try) 2>&5
45045   ac_status=$?
45046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047   (exit $ac_status); }; }; then
45048   glibcxx_cv_S_ISREG=yes
45049 else
45050   echo "$as_me: failed program was:" >&5
45051 sed 's/^/| /' conftest.$ac_ext >&5
45052
45053 glibcxx_cv_S_ISREG=no
45054 fi
45055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45056
45057 fi
45058
45059   if test "${glibcxx_cv_S_IFREG+set}" = set; then
45060   echo $ECHO_N "(cached) $ECHO_C" >&6
45061 else
45062
45063     cat >conftest.$ac_ext <<_ACEOF
45064 #line $LINENO "configure"
45065 /* confdefs.h.  */
45066 _ACEOF
45067 cat confdefs.h >>conftest.$ac_ext
45068 cat >>conftest.$ac_ext <<_ACEOF
45069 /* end confdefs.h.  */
45070 #include <sys/stat.h>
45071 int
45072 main ()
45073 {
45074 struct stat buffer;
45075        fstat(0, &buffer);
45076        S_IFREG & buffer.st_mode;
45077   ;
45078   return 0;
45079 }
45080 _ACEOF
45081 rm -f conftest.$ac_objext conftest$ac_exeext
45082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45083   (eval $ac_link) 2>&5
45084   ac_status=$?
45085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086   (exit $ac_status); } &&
45087          { ac_try='test -s conftest$ac_exeext'
45088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45089   (eval $ac_try) 2>&5
45090   ac_status=$?
45091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092   (exit $ac_status); }; }; then
45093   glibcxx_cv_S_IFREG=yes
45094 else
45095   echo "$as_me: failed program was:" >&5
45096 sed 's/^/| /' conftest.$ac_ext >&5
45097
45098 glibcxx_cv_S_IFREG=no
45099 fi
45100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45101
45102 fi
45103
45104   if test $glibcxx_cv_S_ISREG = yes; then
45105     cat >>confdefs.h <<\_ACEOF
45106 #define HAVE_S_ISREG 1
45107 _ACEOF
45108
45109   elif test $glibcxx_cv_S_IFREG = yes; then
45110     cat >>confdefs.h <<\_ACEOF
45111 #define HAVE_S_IFREG 1
45112 _ACEOF
45113
45114   fi
45115
45116
45117     # For xsputn_2().
45118
45119 for ac_header in sys/uio.h
45120 do
45121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45123   echo "$as_me:$LINENO: checking for $ac_header" >&5
45124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45126   echo $ECHO_N "(cached) $ECHO_C" >&6
45127 fi
45128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45130 else
45131   # Is the header compilable?
45132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45134 cat >conftest.$ac_ext <<_ACEOF
45135 #line $LINENO "configure"
45136 /* confdefs.h.  */
45137 _ACEOF
45138 cat confdefs.h >>conftest.$ac_ext
45139 cat >>conftest.$ac_ext <<_ACEOF
45140 /* end confdefs.h.  */
45141 $ac_includes_default
45142 #include <$ac_header>
45143 _ACEOF
45144 rm -f conftest.$ac_objext
45145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45146   (eval $ac_compile) 2>&5
45147   ac_status=$?
45148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45149   (exit $ac_status); } &&
45150          { ac_try='test -s conftest.$ac_objext'
45151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45152   (eval $ac_try) 2>&5
45153   ac_status=$?
45154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45155   (exit $ac_status); }; }; then
45156   ac_header_compiler=yes
45157 else
45158   echo "$as_me: failed program was:" >&5
45159 sed 's/^/| /' conftest.$ac_ext >&5
45160
45161 ac_header_compiler=no
45162 fi
45163 rm -f conftest.$ac_objext conftest.$ac_ext
45164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45165 echo "${ECHO_T}$ac_header_compiler" >&6
45166
45167 # Is the header present?
45168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45170 cat >conftest.$ac_ext <<_ACEOF
45171 #line $LINENO "configure"
45172 /* confdefs.h.  */
45173 _ACEOF
45174 cat confdefs.h >>conftest.$ac_ext
45175 cat >>conftest.$ac_ext <<_ACEOF
45176 /* end confdefs.h.  */
45177 #include <$ac_header>
45178 _ACEOF
45179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45180   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45181   ac_status=$?
45182   grep -v '^ *+' conftest.er1 >conftest.err
45183   rm -f conftest.er1
45184   cat conftest.err >&5
45185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186   (exit $ac_status); } >/dev/null; then
45187   if test -s conftest.err; then
45188     ac_cpp_err=$ac_c_preproc_warn_flag
45189   else
45190     ac_cpp_err=
45191   fi
45192 else
45193   ac_cpp_err=yes
45194 fi
45195 if test -z "$ac_cpp_err"; then
45196   ac_header_preproc=yes
45197 else
45198   echo "$as_me: failed program was:" >&5
45199 sed 's/^/| /' conftest.$ac_ext >&5
45200
45201   ac_header_preproc=no
45202 fi
45203 rm -f conftest.err conftest.$ac_ext
45204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45205 echo "${ECHO_T}$ac_header_preproc" >&6
45206
45207 # So?  What about this header?
45208 case $ac_header_compiler:$ac_header_preproc in
45209   yes:no )
45210     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45214     (
45215       cat <<\_ASBOX
45216 ## ------------------------------------ ##
45217 ## Report this to bug-autoconf@gnu.org. ##
45218 ## ------------------------------------ ##
45219 _ASBOX
45220     ) |
45221       sed "s/^/$as_me: WARNING:     /" >&2
45222     ;;
45223   no:yes )
45224     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45226     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45228     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45230     (
45231       cat <<\_ASBOX
45232 ## ------------------------------------ ##
45233 ## Report this to bug-autoconf@gnu.org. ##
45234 ## ------------------------------------ ##
45235 _ASBOX
45236     ) |
45237       sed "s/^/$as_me: WARNING:     /" >&2
45238     ;;
45239 esac
45240 echo "$as_me:$LINENO: checking for $ac_header" >&5
45241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45243   echo $ECHO_N "(cached) $ECHO_C" >&6
45244 else
45245   eval "$as_ac_Header=$ac_header_preproc"
45246 fi
45247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45249
45250 fi
45251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45252   cat >>confdefs.h <<_ACEOF
45253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45254 _ACEOF
45255
45256 fi
45257
45258 done
45259
45260
45261   if test "${glibcxx_cv_WRITEV+set}" = set; then
45262   echo $ECHO_N "(cached) $ECHO_C" >&6
45263 else
45264
45265     cat >conftest.$ac_ext <<_ACEOF
45266 #line $LINENO "configure"
45267 /* confdefs.h.  */
45268 _ACEOF
45269 cat confdefs.h >>conftest.$ac_ext
45270 cat >>conftest.$ac_ext <<_ACEOF
45271 /* end confdefs.h.  */
45272 #include <sys/uio.h>
45273 int
45274 main ()
45275 {
45276 struct iovec iov[2];
45277        writev(0, iov, 0);
45278   ;
45279   return 0;
45280 }
45281 _ACEOF
45282 rm -f conftest.$ac_objext
45283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45284   (eval $ac_compile) 2>&5
45285   ac_status=$?
45286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287   (exit $ac_status); } &&
45288          { ac_try='test -s conftest.$ac_objext'
45289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45290   (eval $ac_try) 2>&5
45291   ac_status=$?
45292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293   (exit $ac_status); }; }; then
45294   glibcxx_cv_WRITEV=yes
45295 else
45296   echo "$as_me: failed program was:" >&5
45297 sed 's/^/| /' conftest.$ac_ext >&5
45298
45299 glibcxx_cv_WRITEV=no
45300 fi
45301 rm -f conftest.$ac_objext conftest.$ac_ext
45302
45303 fi
45304
45305   if test $glibcxx_cv_WRITEV = yes; then
45306     cat >>confdefs.h <<\_ACEOF
45307 #define HAVE_WRITEV 1
45308 _ACEOF
45309
45310   fi
45311
45312
45313     cat >>confdefs.h <<\_ACEOF
45314 #define HAVE_LC_MESSAGES 1
45315 _ACEOF
45316
45317
45318     cat >conftest.$ac_ext <<_ACEOF
45319 #line $LINENO "configure"
45320 /* confdefs.h.  */
45321 _ACEOF
45322 cat confdefs.h >>conftest.$ac_ext
45323 cat >>conftest.$ac_ext <<_ACEOF
45324 /* end confdefs.h.  */
45325 #include <setjmp.h>
45326 int
45327 main ()
45328 {
45329 sigjmp_buf env;
45330        while (! sigsetjmp (env, 1))
45331          siglongjmp (env, 1);
45332
45333   ;
45334   return 0;
45335 }
45336 _ACEOF
45337 rm -f conftest.$ac_objext
45338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45339   (eval $ac_compile) 2>&5
45340   ac_status=$?
45341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342   (exit $ac_status); } &&
45343          { ac_try='test -s conftest.$ac_objext'
45344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45345   (eval $ac_try) 2>&5
45346   ac_status=$?
45347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45348   (exit $ac_status); }; }; then
45349
45350 cat >>confdefs.h <<\_ACEOF
45351 #define HAVE_SIGSETJMP 1
45352 _ACEOF
45353
45354 else
45355   echo "$as_me: failed program was:" >&5
45356 sed 's/^/| /' conftest.$ac_ext >&5
45357
45358 fi
45359 rm -f conftest.$ac_objext conftest.$ac_ext
45360
45361     cat >>confdefs.h <<\_ACEOF
45362 #define HAVE_MMAP 1
45363 _ACEOF
45364
45365     ;;
45366
45367   *-freebsd*)
45368     #os_include_dir="os/bsd/freebsd"
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
45386       machine/endian.h machine/param.h sys/machine.h sys/types.h \
45387       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
45388       sys/time.h unistd.h
45389 do
45390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45392   echo "$as_me:$LINENO: checking for $ac_header" >&5
45393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45395   echo $ECHO_N "(cached) $ECHO_C" >&6
45396 fi
45397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45399 else
45400   # Is the header compilable?
45401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45403 cat >conftest.$ac_ext <<_ACEOF
45404 #line $LINENO "configure"
45405 /* confdefs.h.  */
45406 _ACEOF
45407 cat confdefs.h >>conftest.$ac_ext
45408 cat >>conftest.$ac_ext <<_ACEOF
45409 /* end confdefs.h.  */
45410 $ac_includes_default
45411 #include <$ac_header>
45412 _ACEOF
45413 rm -f conftest.$ac_objext
45414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45415   (eval $ac_compile) 2>&5
45416   ac_status=$?
45417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418   (exit $ac_status); } &&
45419          { ac_try='test -s conftest.$ac_objext'
45420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45421   (eval $ac_try) 2>&5
45422   ac_status=$?
45423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45424   (exit $ac_status); }; }; then
45425   ac_header_compiler=yes
45426 else
45427   echo "$as_me: failed program was:" >&5
45428 sed 's/^/| /' conftest.$ac_ext >&5
45429
45430 ac_header_compiler=no
45431 fi
45432 rm -f conftest.$ac_objext conftest.$ac_ext
45433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45434 echo "${ECHO_T}$ac_header_compiler" >&6
45435
45436 # Is the header present?
45437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45439 cat >conftest.$ac_ext <<_ACEOF
45440 #line $LINENO "configure"
45441 /* confdefs.h.  */
45442 _ACEOF
45443 cat confdefs.h >>conftest.$ac_ext
45444 cat >>conftest.$ac_ext <<_ACEOF
45445 /* end confdefs.h.  */
45446 #include <$ac_header>
45447 _ACEOF
45448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45449   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45450   ac_status=$?
45451   grep -v '^ *+' conftest.er1 >conftest.err
45452   rm -f conftest.er1
45453   cat conftest.err >&5
45454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45455   (exit $ac_status); } >/dev/null; then
45456   if test -s conftest.err; then
45457     ac_cpp_err=$ac_c_preproc_warn_flag
45458   else
45459     ac_cpp_err=
45460   fi
45461 else
45462   ac_cpp_err=yes
45463 fi
45464 if test -z "$ac_cpp_err"; then
45465   ac_header_preproc=yes
45466 else
45467   echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45469
45470   ac_header_preproc=no
45471 fi
45472 rm -f conftest.err conftest.$ac_ext
45473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45474 echo "${ECHO_T}$ac_header_preproc" >&6
45475
45476 # So?  What about this header?
45477 case $ac_header_compiler:$ac_header_preproc in
45478   yes:no )
45479     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45481     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45483     (
45484       cat <<\_ASBOX
45485 ## ------------------------------------ ##
45486 ## Report this to bug-autoconf@gnu.org. ##
45487 ## ------------------------------------ ##
45488 _ASBOX
45489     ) |
45490       sed "s/^/$as_me: WARNING:     /" >&2
45491     ;;
45492   no:yes )
45493     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45495     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45497     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45499     (
45500       cat <<\_ASBOX
45501 ## ------------------------------------ ##
45502 ## Report this to bug-autoconf@gnu.org. ##
45503 ## ------------------------------------ ##
45504 _ASBOX
45505     ) |
45506       sed "s/^/$as_me: WARNING:     /" >&2
45507     ;;
45508 esac
45509 echo "$as_me:$LINENO: checking for $ac_header" >&5
45510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45512   echo $ECHO_N "(cached) $ECHO_C" >&6
45513 else
45514   eval "$as_ac_Header=$ac_header_preproc"
45515 fi
45516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45518
45519 fi
45520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45521   cat >>confdefs.h <<_ACEOF
45522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45523 _ACEOF
45524
45525 fi
45526
45527 done
45528
45529     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45530
45531
45532   # If we're not using GNU ld, then there's no point in even trying these
45533   # tests.  Check for that first.  We should have already tested for gld
45534   # by now (in libtool), but require it now just to be safe...
45535   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45536   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45537
45538
45539
45540   # The name set by libtool depends on the version of libtool.  Shame on us
45541   # for depending on an impl detail, but c'est la vie.  Older versions used
45542   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45543   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45544   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45545   # set (hence we're using an older libtool), then set it.
45546   if test x${with_gnu_ld+set} != xset; then
45547     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45548       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45549       with_gnu_ld=no
45550     else
45551       with_gnu_ld=$ac_cv_prog_gnu_ld
45552     fi
45553   fi
45554
45555   # Start by getting the version number.  I think the libtool test already
45556   # does some of this, but throws away the result.
45557
45558   ldver=`$LD --version 2>/dev/null | head -1 | \
45559          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
45560
45561   glibcxx_gnu_ld_version=`echo $ldver | \
45562          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45563
45564   # Set --gc-sections.
45565   if test "$with_gnu_ld" = "notbroken"; then
45566     # GNU ld it is!  Joy and bunny rabbits!
45567
45568     # All these tests are for C++; save the language and the compiler flags.
45569     # Need to do this so that g++ won't try to link in libstdc++
45570     ac_test_CFLAGS="${CFLAGS+set}"
45571     ac_save_CFLAGS="$CFLAGS"
45572     CFLAGS='-x c++  -Wl,--gc-sections'
45573
45574     # Check for -Wl,--gc-sections
45575     # XXX This test is broken at the moment, as symbols required for linking
45576     # are now in libsupc++ (not built yet).  In addition, this test has
45577     # cored on solaris in the past.  In addition, --gc-sections doesn't
45578     # really work at the moment (keeps on discarding used sections, first
45579     # .eh_frame and now some of the glibc sections for iconv).
45580     # Bzzzzt.  Thanks for playing, maybe next time.
45581     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
45582 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
45583     if test "$cross_compiling" = yes; then
45584   ac_sectionLDflags=yes
45585 else
45586   cat >conftest.$ac_ext <<_ACEOF
45587 #line $LINENO "configure"
45588 /* confdefs.h.  */
45589 _ACEOF
45590 cat confdefs.h >>conftest.$ac_ext
45591 cat >>conftest.$ac_ext <<_ACEOF
45592 /* end confdefs.h.  */
45593
45594      int main(void)
45595      {
45596        try { throw 1; }
45597        catch (...) { };
45598        return 0;
45599      }
45600
45601 _ACEOF
45602 rm -f conftest$ac_exeext
45603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45604   (eval $ac_link) 2>&5
45605   ac_status=$?
45606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45609   (eval $ac_try) 2>&5
45610   ac_status=$?
45611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45612   (exit $ac_status); }; }; then
45613   ac_sectionLDflags=yes
45614 else
45615   echo "$as_me: program exited with status $ac_status" >&5
45616 echo "$as_me: failed program was:" >&5
45617 sed 's/^/| /' conftest.$ac_ext >&5
45618
45619 ( exit $ac_status )
45620 ac_sectionLDflags=no
45621 fi
45622 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45623 fi
45624     if test "$ac_test_CFLAGS" = set; then
45625       CFLAGS="$ac_save_CFLAGS"
45626     else
45627       # this is the suspicious part
45628       CFLAGS=''
45629     fi
45630     if test "$ac_sectionLDflags" = "yes"; then
45631       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45632     fi
45633     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
45634 echo "${ECHO_T}$ac_sectionLDflags" >&6
45635   fi
45636
45637   # Set linker optimization flags.
45638   if test x"$with_gnu_ld" = x"yes"; then
45639     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45640   fi
45641
45642
45643
45644
45645
45646
45647 echo "$as_me:$LINENO: checking for main in -lm" >&5
45648 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
45649 if test "${ac_cv_lib_m_main+set}" = set; then
45650   echo $ECHO_N "(cached) $ECHO_C" >&6
45651 else
45652   ac_check_lib_save_LIBS=$LIBS
45653 LIBS="-lm  $LIBS"
45654 cat >conftest.$ac_ext <<_ACEOF
45655 #line $LINENO "configure"
45656 /* confdefs.h.  */
45657 _ACEOF
45658 cat confdefs.h >>conftest.$ac_ext
45659 cat >>conftest.$ac_ext <<_ACEOF
45660 /* end confdefs.h.  */
45661
45662
45663 int
45664 main ()
45665 {
45666 main ();
45667   ;
45668   return 0;
45669 }
45670 _ACEOF
45671 rm -f conftest.$ac_objext conftest$ac_exeext
45672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45673   (eval $ac_link) 2>&5
45674   ac_status=$?
45675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45676   (exit $ac_status); } &&
45677          { ac_try='test -s conftest$ac_exeext'
45678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45679   (eval $ac_try) 2>&5
45680   ac_status=$?
45681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45682   (exit $ac_status); }; }; then
45683   ac_cv_lib_m_main=yes
45684 else
45685   echo "$as_me: failed program was:" >&5
45686 sed 's/^/| /' conftest.$ac_ext >&5
45687
45688 ac_cv_lib_m_main=no
45689 fi
45690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45691 LIBS=$ac_check_lib_save_LIBS
45692 fi
45693 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
45694 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
45695 if test $ac_cv_lib_m_main = yes; then
45696   cat >>confdefs.h <<_ACEOF
45697 #define HAVE_LIBM 1
45698 _ACEOF
45699
45700   LIBS="-lm $LIBS"
45701
45702 fi
45703
45704
45705
45706 for ac_func in nan copysignf
45707 do
45708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45709 echo "$as_me:$LINENO: checking for $ac_func" >&5
45710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45711 if eval "test \"\${$as_ac_var+set}\" = set"; then
45712   echo $ECHO_N "(cached) $ECHO_C" >&6
45713 else
45714   cat >conftest.$ac_ext <<_ACEOF
45715 #line $LINENO "configure"
45716 /* confdefs.h.  */
45717 _ACEOF
45718 cat confdefs.h >>conftest.$ac_ext
45719 cat >>conftest.$ac_ext <<_ACEOF
45720 /* end confdefs.h.  */
45721 /* System header to define __stub macros and hopefully few prototypes,
45722     which can conflict with char $ac_func (); below.
45723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45724     <limits.h> exists even on freestanding compilers.  */
45725 #ifdef __STDC__
45726 # include <limits.h>
45727 #else
45728 # include <assert.h>
45729 #endif
45730 /* Override any gcc2 internal prototype to avoid an error.  */
45731 #ifdef __cplusplus
45732 extern "C"
45733 {
45734 #endif
45735 /* We use char because int might match the return type of a gcc2
45736    builtin and then its argument prototype would still apply.  */
45737 char $ac_func ();
45738 /* The GNU C library defines this for functions which it implements
45739     to always fail with ENOSYS.  Some functions are actually named
45740     something starting with __ and the normal name is an alias.  */
45741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45742 choke me
45743 #else
45744 char (*f) () = $ac_func;
45745 #endif
45746 #ifdef __cplusplus
45747 }
45748 #endif
45749
45750 int
45751 main ()
45752 {
45753 return f != $ac_func;
45754   ;
45755   return 0;
45756 }
45757 _ACEOF
45758 rm -f conftest.$ac_objext conftest$ac_exeext
45759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45760   (eval $ac_link) 2>&5
45761   ac_status=$?
45762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763   (exit $ac_status); } &&
45764          { ac_try='test -s conftest$ac_exeext'
45765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45766   (eval $ac_try) 2>&5
45767   ac_status=$?
45768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769   (exit $ac_status); }; }; then
45770   eval "$as_ac_var=yes"
45771 else
45772   echo "$as_me: failed program was:" >&5
45773 sed 's/^/| /' conftest.$ac_ext >&5
45774
45775 eval "$as_ac_var=no"
45776 fi
45777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45778 fi
45779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45781 if test `eval echo '${'$as_ac_var'}'` = yes; then
45782   cat >>confdefs.h <<_ACEOF
45783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45784 _ACEOF
45785
45786 else
45787   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
45788 fi
45789 done
45790
45791
45792
45793 for ac_func in __signbit
45794 do
45795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45796 echo "$as_me:$LINENO: checking for $ac_func" >&5
45797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45798 if eval "test \"\${$as_ac_var+set}\" = set"; then
45799   echo $ECHO_N "(cached) $ECHO_C" >&6
45800 else
45801   cat >conftest.$ac_ext <<_ACEOF
45802 #line $LINENO "configure"
45803 /* confdefs.h.  */
45804 _ACEOF
45805 cat confdefs.h >>conftest.$ac_ext
45806 cat >>conftest.$ac_ext <<_ACEOF
45807 /* end confdefs.h.  */
45808 /* System header to define __stub macros and hopefully few prototypes,
45809     which can conflict with char $ac_func (); below.
45810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45811     <limits.h> exists even on freestanding compilers.  */
45812 #ifdef __STDC__
45813 # include <limits.h>
45814 #else
45815 # include <assert.h>
45816 #endif
45817 /* Override any gcc2 internal prototype to avoid an error.  */
45818 #ifdef __cplusplus
45819 extern "C"
45820 {
45821 #endif
45822 /* We use char because int might match the return type of a gcc2
45823    builtin and then its argument prototype would still apply.  */
45824 char $ac_func ();
45825 /* The GNU C library defines this for functions which it implements
45826     to always fail with ENOSYS.  Some functions are actually named
45827     something starting with __ and the normal name is an alias.  */
45828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45829 choke me
45830 #else
45831 char (*f) () = $ac_func;
45832 #endif
45833 #ifdef __cplusplus
45834 }
45835 #endif
45836
45837 int
45838 main ()
45839 {
45840 return f != $ac_func;
45841   ;
45842   return 0;
45843 }
45844 _ACEOF
45845 rm -f conftest.$ac_objext conftest$ac_exeext
45846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45847   (eval $ac_link) 2>&5
45848   ac_status=$?
45849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45850   (exit $ac_status); } &&
45851          { ac_try='test -s conftest$ac_exeext'
45852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45853   (eval $ac_try) 2>&5
45854   ac_status=$?
45855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45856   (exit $ac_status); }; }; then
45857   eval "$as_ac_var=yes"
45858 else
45859   echo "$as_me: failed program was:" >&5
45860 sed 's/^/| /' conftest.$ac_ext >&5
45861
45862 eval "$as_ac_var=no"
45863 fi
45864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45865 fi
45866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45868 if test `eval echo '${'$as_ac_var'}'` = yes; then
45869   cat >>confdefs.h <<_ACEOF
45870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45871 _ACEOF
45872
45873 else
45874   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
45875 fi
45876 done
45877
45878
45879 for ac_func in __signbitf
45880 do
45881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45882 echo "$as_me:$LINENO: checking for $ac_func" >&5
45883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45884 if eval "test \"\${$as_ac_var+set}\" = set"; then
45885   echo $ECHO_N "(cached) $ECHO_C" >&6
45886 else
45887   cat >conftest.$ac_ext <<_ACEOF
45888 #line $LINENO "configure"
45889 /* confdefs.h.  */
45890 _ACEOF
45891 cat confdefs.h >>conftest.$ac_ext
45892 cat >>conftest.$ac_ext <<_ACEOF
45893 /* end confdefs.h.  */
45894 /* System header to define __stub macros and hopefully few prototypes,
45895     which can conflict with char $ac_func (); below.
45896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45897     <limits.h> exists even on freestanding compilers.  */
45898 #ifdef __STDC__
45899 # include <limits.h>
45900 #else
45901 # include <assert.h>
45902 #endif
45903 /* Override any gcc2 internal prototype to avoid an error.  */
45904 #ifdef __cplusplus
45905 extern "C"
45906 {
45907 #endif
45908 /* We use char because int might match the return type of a gcc2
45909    builtin and then its argument prototype would still apply.  */
45910 char $ac_func ();
45911 /* The GNU C library defines this for functions which it implements
45912     to always fail with ENOSYS.  Some functions are actually named
45913     something starting with __ and the normal name is an alias.  */
45914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45915 choke me
45916 #else
45917 char (*f) () = $ac_func;
45918 #endif
45919 #ifdef __cplusplus
45920 }
45921 #endif
45922
45923 int
45924 main ()
45925 {
45926 return f != $ac_func;
45927   ;
45928   return 0;
45929 }
45930 _ACEOF
45931 rm -f conftest.$ac_objext conftest$ac_exeext
45932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45933   (eval $ac_link) 2>&5
45934   ac_status=$?
45935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936   (exit $ac_status); } &&
45937          { ac_try='test -s conftest$ac_exeext'
45938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45939   (eval $ac_try) 2>&5
45940   ac_status=$?
45941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45942   (exit $ac_status); }; }; then
45943   eval "$as_ac_var=yes"
45944 else
45945   echo "$as_me: failed program was:" >&5
45946 sed 's/^/| /' conftest.$ac_ext >&5
45947
45948 eval "$as_ac_var=no"
45949 fi
45950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45951 fi
45952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45954 if test `eval echo '${'$as_ac_var'}'` = yes; then
45955   cat >>confdefs.h <<_ACEOF
45956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45957 _ACEOF
45958
45959 else
45960   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
45961 fi
45962 done
45963
45964
45965           if test x$ac_cv_func_copysignl = x"yes"; then
45966
45967 for ac_func in __signbitl
45968 do
45969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45970 echo "$as_me:$LINENO: checking for $ac_func" >&5
45971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45972 if eval "test \"\${$as_ac_var+set}\" = set"; then
45973   echo $ECHO_N "(cached) $ECHO_C" >&6
45974 else
45975   cat >conftest.$ac_ext <<_ACEOF
45976 #line $LINENO "configure"
45977 /* confdefs.h.  */
45978 _ACEOF
45979 cat confdefs.h >>conftest.$ac_ext
45980 cat >>conftest.$ac_ext <<_ACEOF
45981 /* end confdefs.h.  */
45982 /* System header to define __stub macros and hopefully few prototypes,
45983     which can conflict with char $ac_func (); below.
45984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45985     <limits.h> exists even on freestanding compilers.  */
45986 #ifdef __STDC__
45987 # include <limits.h>
45988 #else
45989 # include <assert.h>
45990 #endif
45991 /* Override any gcc2 internal prototype to avoid an error.  */
45992 #ifdef __cplusplus
45993 extern "C"
45994 {
45995 #endif
45996 /* We use char because int might match the return type of a gcc2
45997    builtin and then its argument prototype would still apply.  */
45998 char $ac_func ();
45999 /* The GNU C library defines this for functions which it implements
46000     to always fail with ENOSYS.  Some functions are actually named
46001     something starting with __ and the normal name is an alias.  */
46002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46003 choke me
46004 #else
46005 char (*f) () = $ac_func;
46006 #endif
46007 #ifdef __cplusplus
46008 }
46009 #endif
46010
46011 int
46012 main ()
46013 {
46014 return f != $ac_func;
46015   ;
46016   return 0;
46017 }
46018 _ACEOF
46019 rm -f conftest.$ac_objext conftest$ac_exeext
46020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46021   (eval $ac_link) 2>&5
46022   ac_status=$?
46023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024   (exit $ac_status); } &&
46025          { ac_try='test -s conftest$ac_exeext'
46026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027   (eval $ac_try) 2>&5
46028   ac_status=$?
46029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030   (exit $ac_status); }; }; then
46031   eval "$as_ac_var=yes"
46032 else
46033   echo "$as_me: failed program was:" >&5
46034 sed 's/^/| /' conftest.$ac_ext >&5
46035
46036 eval "$as_ac_var=no"
46037 fi
46038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46039 fi
46040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46042 if test `eval echo '${'$as_ac_var'}'` = yes; then
46043   cat >>confdefs.h <<_ACEOF
46044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46045 _ACEOF
46046
46047 else
46048   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
46049 fi
46050 done
46051
46052   fi
46053
46054   # XXX Review this.  Nothing uses it.
46055   if test -n "$LIBMATHOBJS"; then
46056     need_libmath=yes
46057   fi
46058
46059
46060
46061   # Test wchar.h for mbstate_t, which is needed for char_traits and
46062   # others even if wchar_t support is not on.
46063   echo "$as_me:$LINENO: checking for mbstate_t" >&5
46064 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
46065   cat >conftest.$ac_ext <<_ACEOF
46066 #line $LINENO "configure"
46067 /* confdefs.h.  */
46068 _ACEOF
46069 cat confdefs.h >>conftest.$ac_ext
46070 cat >>conftest.$ac_ext <<_ACEOF
46071 /* end confdefs.h.  */
46072 #include <wchar.h>
46073 int
46074 main ()
46075 {
46076 mbstate_t teststate;
46077   ;
46078   return 0;
46079 }
46080 _ACEOF
46081 rm -f conftest.$ac_objext
46082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46083   (eval $ac_compile) 2>&5
46084   ac_status=$?
46085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46086   (exit $ac_status); } &&
46087          { ac_try='test -s conftest.$ac_objext'
46088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46089   (eval $ac_try) 2>&5
46090   ac_status=$?
46091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46092   (exit $ac_status); }; }; then
46093   have_mbstate_t=yes
46094 else
46095   echo "$as_me: failed program was:" >&5
46096 sed 's/^/| /' conftest.$ac_ext >&5
46097
46098 have_mbstate_t=no
46099 fi
46100 rm -f conftest.$ac_objext conftest.$ac_ext
46101   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
46102 echo "${ECHO_T}$have_mbstate_t" >&6
46103   if test x"$have_mbstate_t" = xyes; then
46104     cat >>confdefs.h <<\_ACEOF
46105 #define HAVE_MBSTATE_T 1
46106 _ACEOF
46107
46108   fi
46109
46110   # Sanity check for existence of ISO C99 headers for extended encoding.
46111
46112 for ac_header in wchar.h
46113 do
46114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46116   echo "$as_me:$LINENO: checking for $ac_header" >&5
46117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46119   echo $ECHO_N "(cached) $ECHO_C" >&6
46120 fi
46121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46123 else
46124   # Is the header compilable?
46125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46127 cat >conftest.$ac_ext <<_ACEOF
46128 #line $LINENO "configure"
46129 /* confdefs.h.  */
46130 _ACEOF
46131 cat confdefs.h >>conftest.$ac_ext
46132 cat >>conftest.$ac_ext <<_ACEOF
46133 /* end confdefs.h.  */
46134 $ac_includes_default
46135 #include <$ac_header>
46136 _ACEOF
46137 rm -f conftest.$ac_objext
46138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46139   (eval $ac_compile) 2>&5
46140   ac_status=$?
46141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46142   (exit $ac_status); } &&
46143          { ac_try='test -s conftest.$ac_objext'
46144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46145   (eval $ac_try) 2>&5
46146   ac_status=$?
46147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148   (exit $ac_status); }; }; then
46149   ac_header_compiler=yes
46150 else
46151   echo "$as_me: failed program was:" >&5
46152 sed 's/^/| /' conftest.$ac_ext >&5
46153
46154 ac_header_compiler=no
46155 fi
46156 rm -f conftest.$ac_objext conftest.$ac_ext
46157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46158 echo "${ECHO_T}$ac_header_compiler" >&6
46159
46160 # Is the header present?
46161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46163 cat >conftest.$ac_ext <<_ACEOF
46164 #line $LINENO "configure"
46165 /* confdefs.h.  */
46166 _ACEOF
46167 cat confdefs.h >>conftest.$ac_ext
46168 cat >>conftest.$ac_ext <<_ACEOF
46169 /* end confdefs.h.  */
46170 #include <$ac_header>
46171 _ACEOF
46172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46173   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46174   ac_status=$?
46175   grep -v '^ *+' conftest.er1 >conftest.err
46176   rm -f conftest.er1
46177   cat conftest.err >&5
46178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179   (exit $ac_status); } >/dev/null; then
46180   if test -s conftest.err; then
46181     ac_cpp_err=$ac_c_preproc_warn_flag
46182   else
46183     ac_cpp_err=
46184   fi
46185 else
46186   ac_cpp_err=yes
46187 fi
46188 if test -z "$ac_cpp_err"; then
46189   ac_header_preproc=yes
46190 else
46191   echo "$as_me: failed program was:" >&5
46192 sed 's/^/| /' conftest.$ac_ext >&5
46193
46194   ac_header_preproc=no
46195 fi
46196 rm -f conftest.err conftest.$ac_ext
46197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46198 echo "${ECHO_T}$ac_header_preproc" >&6
46199
46200 # So?  What about this header?
46201 case $ac_header_compiler:$ac_header_preproc in
46202   yes:no )
46203     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46205     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46207     (
46208       cat <<\_ASBOX
46209 ## ------------------------------------ ##
46210 ## Report this to bug-autoconf@gnu.org. ##
46211 ## ------------------------------------ ##
46212 _ASBOX
46213     ) |
46214       sed "s/^/$as_me: WARNING:     /" >&2
46215     ;;
46216   no:yes )
46217     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46219     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46221     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46223     (
46224       cat <<\_ASBOX
46225 ## ------------------------------------ ##
46226 ## Report this to bug-autoconf@gnu.org. ##
46227 ## ------------------------------------ ##
46228 _ASBOX
46229     ) |
46230       sed "s/^/$as_me: WARNING:     /" >&2
46231     ;;
46232 esac
46233 echo "$as_me:$LINENO: checking for $ac_header" >&5
46234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46236   echo $ECHO_N "(cached) $ECHO_C" >&6
46237 else
46238   eval "$as_ac_Header=$ac_header_preproc"
46239 fi
46240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46242
46243 fi
46244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46245   cat >>confdefs.h <<_ACEOF
46246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46247 _ACEOF
46248  ac_has_wchar_h=yes
46249 else
46250   ac_has_wchar_h=no
46251 fi
46252
46253 done
46254
46255
46256 for ac_header in wctype.h
46257 do
46258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46260   echo "$as_me:$LINENO: checking for $ac_header" >&5
46261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46263   echo $ECHO_N "(cached) $ECHO_C" >&6
46264 fi
46265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46267 else
46268   # Is the header compilable?
46269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46271 cat >conftest.$ac_ext <<_ACEOF
46272 #line $LINENO "configure"
46273 /* confdefs.h.  */
46274 _ACEOF
46275 cat confdefs.h >>conftest.$ac_ext
46276 cat >>conftest.$ac_ext <<_ACEOF
46277 /* end confdefs.h.  */
46278 $ac_includes_default
46279 #include <$ac_header>
46280 _ACEOF
46281 rm -f conftest.$ac_objext
46282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46283   (eval $ac_compile) 2>&5
46284   ac_status=$?
46285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286   (exit $ac_status); } &&
46287          { ac_try='test -s conftest.$ac_objext'
46288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46289   (eval $ac_try) 2>&5
46290   ac_status=$?
46291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292   (exit $ac_status); }; }; then
46293   ac_header_compiler=yes
46294 else
46295   echo "$as_me: failed program was:" >&5
46296 sed 's/^/| /' conftest.$ac_ext >&5
46297
46298 ac_header_compiler=no
46299 fi
46300 rm -f conftest.$ac_objext conftest.$ac_ext
46301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46302 echo "${ECHO_T}$ac_header_compiler" >&6
46303
46304 # Is the header present?
46305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46307 cat >conftest.$ac_ext <<_ACEOF
46308 #line $LINENO "configure"
46309 /* confdefs.h.  */
46310 _ACEOF
46311 cat confdefs.h >>conftest.$ac_ext
46312 cat >>conftest.$ac_ext <<_ACEOF
46313 /* end confdefs.h.  */
46314 #include <$ac_header>
46315 _ACEOF
46316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46318   ac_status=$?
46319   grep -v '^ *+' conftest.er1 >conftest.err
46320   rm -f conftest.er1
46321   cat conftest.err >&5
46322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323   (exit $ac_status); } >/dev/null; then
46324   if test -s conftest.err; then
46325     ac_cpp_err=$ac_c_preproc_warn_flag
46326   else
46327     ac_cpp_err=
46328   fi
46329 else
46330   ac_cpp_err=yes
46331 fi
46332 if test -z "$ac_cpp_err"; then
46333   ac_header_preproc=yes
46334 else
46335   echo "$as_me: failed program was:" >&5
46336 sed 's/^/| /' conftest.$ac_ext >&5
46337
46338   ac_header_preproc=no
46339 fi
46340 rm -f conftest.err conftest.$ac_ext
46341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46342 echo "${ECHO_T}$ac_header_preproc" >&6
46343
46344 # So?  What about this header?
46345 case $ac_header_compiler:$ac_header_preproc in
46346   yes:no )
46347     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46349     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46351     (
46352       cat <<\_ASBOX
46353 ## ------------------------------------ ##
46354 ## Report this to bug-autoconf@gnu.org. ##
46355 ## ------------------------------------ ##
46356 _ASBOX
46357     ) |
46358       sed "s/^/$as_me: WARNING:     /" >&2
46359     ;;
46360   no:yes )
46361     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46363     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46367     (
46368       cat <<\_ASBOX
46369 ## ------------------------------------ ##
46370 ## Report this to bug-autoconf@gnu.org. ##
46371 ## ------------------------------------ ##
46372 _ASBOX
46373     ) |
46374       sed "s/^/$as_me: WARNING:     /" >&2
46375     ;;
46376 esac
46377 echo "$as_me:$LINENO: checking for $ac_header" >&5
46378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46380   echo $ECHO_N "(cached) $ECHO_C" >&6
46381 else
46382   eval "$as_ac_Header=$ac_header_preproc"
46383 fi
46384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46386
46387 fi
46388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46389   cat >>confdefs.h <<_ACEOF
46390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46391 _ACEOF
46392  ac_has_wctype_h=yes
46393 else
46394   ac_has_wctype_h=no
46395 fi
46396
46397 done
46398
46399
46400   # Only continue checking if the ISO C99 headers exist and support is on.
46401   if test x"$ac_has_wchar_h" = xyes &&
46402      test x"$ac_has_wctype_h" = xyes &&
46403      test x"$enable_c_mbchar" != xno; then
46404
46405     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
46406     # numeric_limits can instantiate type_traits<wchar_t>
46407     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
46408 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
46409     cat >conftest.$ac_ext <<_ACEOF
46410 #line $LINENO "configure"
46411 /* confdefs.h.  */
46412 _ACEOF
46413 cat confdefs.h >>conftest.$ac_ext
46414 cat >>conftest.$ac_ext <<_ACEOF
46415 /* end confdefs.h.  */
46416 #include <wchar.h>
46417 int
46418 main ()
46419 {
46420 int i = WCHAR_MIN; int j = WCHAR_MAX;
46421   ;
46422   return 0;
46423 }
46424 _ACEOF
46425 rm -f conftest.$ac_objext
46426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46427   (eval $ac_compile) 2>&5
46428   ac_status=$?
46429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46430   (exit $ac_status); } &&
46431          { ac_try='test -s conftest.$ac_objext'
46432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46433   (eval $ac_try) 2>&5
46434   ac_status=$?
46435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46436   (exit $ac_status); }; }; then
46437   has_wchar_minmax=yes
46438 else
46439   echo "$as_me: failed program was:" >&5
46440 sed 's/^/| /' conftest.$ac_ext >&5
46441
46442 has_wchar_minmax=no
46443 fi
46444 rm -f conftest.$ac_objext conftest.$ac_ext
46445     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
46446 echo "${ECHO_T}$has_wchar_minmax" >&6
46447
46448     # Test wchar.h for WEOF, which is what we use to determine whether
46449     # to specialize for char_traits<wchar_t> or not.
46450     echo "$as_me:$LINENO: checking for WEOF" >&5
46451 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
46452     cat >conftest.$ac_ext <<_ACEOF
46453 #line $LINENO "configure"
46454 /* confdefs.h.  */
46455 _ACEOF
46456 cat confdefs.h >>conftest.$ac_ext
46457 cat >>conftest.$ac_ext <<_ACEOF
46458 /* end confdefs.h.  */
46459
46460       #include <wchar.h>
46461       #include <stddef.h>
46462 int
46463 main ()
46464 {
46465 wint_t i = WEOF;
46466   ;
46467   return 0;
46468 }
46469 _ACEOF
46470 rm -f conftest.$ac_objext
46471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46472   (eval $ac_compile) 2>&5
46473   ac_status=$?
46474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46475   (exit $ac_status); } &&
46476          { ac_try='test -s conftest.$ac_objext'
46477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46478   (eval $ac_try) 2>&5
46479   ac_status=$?
46480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481   (exit $ac_status); }; }; then
46482   has_weof=yes
46483 else
46484   echo "$as_me: failed program was:" >&5
46485 sed 's/^/| /' conftest.$ac_ext >&5
46486
46487 has_weof=no
46488 fi
46489 rm -f conftest.$ac_objext conftest.$ac_ext
46490     echo "$as_me:$LINENO: result: $has_weof" >&5
46491 echo "${ECHO_T}$has_weof" >&6
46492
46493     # Tests for wide character functions used in char_traits<wchar_t>.
46494     ac_wfuncs=yes
46495
46496
46497
46498
46499
46500
46501 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
46502 do
46503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46504 echo "$as_me:$LINENO: checking for $ac_func" >&5
46505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46506 if eval "test \"\${$as_ac_var+set}\" = set"; then
46507   echo $ECHO_N "(cached) $ECHO_C" >&6
46508 else
46509   cat >conftest.$ac_ext <<_ACEOF
46510 #line $LINENO "configure"
46511 /* confdefs.h.  */
46512 _ACEOF
46513 cat confdefs.h >>conftest.$ac_ext
46514 cat >>conftest.$ac_ext <<_ACEOF
46515 /* end confdefs.h.  */
46516 /* System header to define __stub macros and hopefully few prototypes,
46517     which can conflict with char $ac_func (); below.
46518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46519     <limits.h> exists even on freestanding compilers.  */
46520 #ifdef __STDC__
46521 # include <limits.h>
46522 #else
46523 # include <assert.h>
46524 #endif
46525 /* Override any gcc2 internal prototype to avoid an error.  */
46526 #ifdef __cplusplus
46527 extern "C"
46528 {
46529 #endif
46530 /* We use char because int might match the return type of a gcc2
46531    builtin and then its argument prototype would still apply.  */
46532 char $ac_func ();
46533 /* The GNU C library defines this for functions which it implements
46534     to always fail with ENOSYS.  Some functions are actually named
46535     something starting with __ and the normal name is an alias.  */
46536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46537 choke me
46538 #else
46539 char (*f) () = $ac_func;
46540 #endif
46541 #ifdef __cplusplus
46542 }
46543 #endif
46544
46545 int
46546 main ()
46547 {
46548 return f != $ac_func;
46549   ;
46550   return 0;
46551 }
46552 _ACEOF
46553 rm -f conftest.$ac_objext conftest$ac_exeext
46554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46555   (eval $ac_link) 2>&5
46556   ac_status=$?
46557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46558   (exit $ac_status); } &&
46559          { ac_try='test -s conftest$ac_exeext'
46560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46561   (eval $ac_try) 2>&5
46562   ac_status=$?
46563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564   (exit $ac_status); }; }; then
46565   eval "$as_ac_var=yes"
46566 else
46567   echo "$as_me: failed program was:" >&5
46568 sed 's/^/| /' conftest.$ac_ext >&5
46569
46570 eval "$as_ac_var=no"
46571 fi
46572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46573 fi
46574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46576 if test `eval echo '${'$as_ac_var'}'` = yes; then
46577   cat >>confdefs.h <<_ACEOF
46578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46579 _ACEOF
46580
46581 else
46582   ac_wfuncs=no
46583 fi
46584 done
46585
46586
46587     # Checks for names injected into std:: by the c_std headers.
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
46639     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
46640     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
46641     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
46642     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
46643     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
46644 do
46645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46646 echo "$as_me:$LINENO: checking for $ac_func" >&5
46647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46648 if eval "test \"\${$as_ac_var+set}\" = set"; then
46649   echo $ECHO_N "(cached) $ECHO_C" >&6
46650 else
46651   cat >conftest.$ac_ext <<_ACEOF
46652 #line $LINENO "configure"
46653 /* confdefs.h.  */
46654 _ACEOF
46655 cat confdefs.h >>conftest.$ac_ext
46656 cat >>conftest.$ac_ext <<_ACEOF
46657 /* end confdefs.h.  */
46658 /* System header to define __stub macros and hopefully few prototypes,
46659     which can conflict with char $ac_func (); below.
46660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46661     <limits.h> exists even on freestanding compilers.  */
46662 #ifdef __STDC__
46663 # include <limits.h>
46664 #else
46665 # include <assert.h>
46666 #endif
46667 /* Override any gcc2 internal prototype to avoid an error.  */
46668 #ifdef __cplusplus
46669 extern "C"
46670 {
46671 #endif
46672 /* We use char because int might match the return type of a gcc2
46673    builtin and then its argument prototype would still apply.  */
46674 char $ac_func ();
46675 /* The GNU C library defines this for functions which it implements
46676     to always fail with ENOSYS.  Some functions are actually named
46677     something starting with __ and the normal name is an alias.  */
46678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46679 choke me
46680 #else
46681 char (*f) () = $ac_func;
46682 #endif
46683 #ifdef __cplusplus
46684 }
46685 #endif
46686
46687 int
46688 main ()
46689 {
46690 return f != $ac_func;
46691   ;
46692   return 0;
46693 }
46694 _ACEOF
46695 rm -f conftest.$ac_objext conftest$ac_exeext
46696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46697   (eval $ac_link) 2>&5
46698   ac_status=$?
46699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46700   (exit $ac_status); } &&
46701          { ac_try='test -s conftest$ac_exeext'
46702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46703   (eval $ac_try) 2>&5
46704   ac_status=$?
46705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46706   (exit $ac_status); }; }; then
46707   eval "$as_ac_var=yes"
46708 else
46709   echo "$as_me: failed program was:" >&5
46710 sed 's/^/| /' conftest.$ac_ext >&5
46711
46712 eval "$as_ac_var=no"
46713 fi
46714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46715 fi
46716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46718 if test `eval echo '${'$as_ac_var'}'` = yes; then
46719   cat >>confdefs.h <<_ACEOF
46720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46721 _ACEOF
46722
46723 else
46724   ac_wfuncs=no
46725 fi
46726 done
46727
46728
46729     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
46730 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
46731     if test x"$has_weof" = xyes &&
46732        test x"$has_wchar_minmax" = xyes &&
46733        test x"$ac_wfuncs" = xyes;
46734     then
46735       ac_isoC99_wchar_t=yes
46736     else
46737       ac_isoC99_wchar_t=no
46738     fi
46739     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
46740 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
46741
46742     # Use iconv for wchar_t to char conversions. As such, check for
46743     # X/Open Portability Guide, version 2 features (XPG2).
46744     if test "${ac_cv_header_iconv_h+set}" = set; then
46745   echo "$as_me:$LINENO: checking for iconv.h" >&5
46746 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
46747 if test "${ac_cv_header_iconv_h+set}" = set; then
46748   echo $ECHO_N "(cached) $ECHO_C" >&6
46749 fi
46750 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
46751 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
46752 else
46753   # Is the header compilable?
46754 echo "$as_me:$LINENO: checking iconv.h usability" >&5
46755 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
46756 cat >conftest.$ac_ext <<_ACEOF
46757 #line $LINENO "configure"
46758 /* confdefs.h.  */
46759 _ACEOF
46760 cat confdefs.h >>conftest.$ac_ext
46761 cat >>conftest.$ac_ext <<_ACEOF
46762 /* end confdefs.h.  */
46763 $ac_includes_default
46764 #include <iconv.h>
46765 _ACEOF
46766 rm -f conftest.$ac_objext
46767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46768   (eval $ac_compile) 2>&5
46769   ac_status=$?
46770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771   (exit $ac_status); } &&
46772          { ac_try='test -s conftest.$ac_objext'
46773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46774   (eval $ac_try) 2>&5
46775   ac_status=$?
46776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777   (exit $ac_status); }; }; then
46778   ac_header_compiler=yes
46779 else
46780   echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46782
46783 ac_header_compiler=no
46784 fi
46785 rm -f conftest.$ac_objext conftest.$ac_ext
46786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46787 echo "${ECHO_T}$ac_header_compiler" >&6
46788
46789 # Is the header present?
46790 echo "$as_me:$LINENO: checking iconv.h presence" >&5
46791 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
46792 cat >conftest.$ac_ext <<_ACEOF
46793 #line $LINENO "configure"
46794 /* confdefs.h.  */
46795 _ACEOF
46796 cat confdefs.h >>conftest.$ac_ext
46797 cat >>conftest.$ac_ext <<_ACEOF
46798 /* end confdefs.h.  */
46799 #include <iconv.h>
46800 _ACEOF
46801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46802   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46803   ac_status=$?
46804   grep -v '^ *+' conftest.er1 >conftest.err
46805   rm -f conftest.er1
46806   cat conftest.err >&5
46807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46808   (exit $ac_status); } >/dev/null; then
46809   if test -s conftest.err; then
46810     ac_cpp_err=$ac_c_preproc_warn_flag
46811   else
46812     ac_cpp_err=
46813   fi
46814 else
46815   ac_cpp_err=yes
46816 fi
46817 if test -z "$ac_cpp_err"; then
46818   ac_header_preproc=yes
46819 else
46820   echo "$as_me: failed program was:" >&5
46821 sed 's/^/| /' conftest.$ac_ext >&5
46822
46823   ac_header_preproc=no
46824 fi
46825 rm -f conftest.err conftest.$ac_ext
46826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46827 echo "${ECHO_T}$ac_header_preproc" >&6
46828
46829 # So?  What about this header?
46830 case $ac_header_compiler:$ac_header_preproc in
46831   yes:no )
46832     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
46833 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
46834     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
46835 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
46836     (
46837       cat <<\_ASBOX
46838 ## ------------------------------------ ##
46839 ## Report this to bug-autoconf@gnu.org. ##
46840 ## ------------------------------------ ##
46841 _ASBOX
46842     ) |
46843       sed "s/^/$as_me: WARNING:     /" >&2
46844     ;;
46845   no:yes )
46846     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
46847 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
46848     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
46849 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
46850     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
46851 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
46852     (
46853       cat <<\_ASBOX
46854 ## ------------------------------------ ##
46855 ## Report this to bug-autoconf@gnu.org. ##
46856 ## ------------------------------------ ##
46857 _ASBOX
46858     ) |
46859       sed "s/^/$as_me: WARNING:     /" >&2
46860     ;;
46861 esac
46862 echo "$as_me:$LINENO: checking for iconv.h" >&5
46863 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
46864 if test "${ac_cv_header_iconv_h+set}" = set; then
46865   echo $ECHO_N "(cached) $ECHO_C" >&6
46866 else
46867   ac_cv_header_iconv_h=$ac_header_preproc
46868 fi
46869 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
46870 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
46871
46872 fi
46873 if test $ac_cv_header_iconv_h = yes; then
46874   ac_has_iconv_h=yes
46875 else
46876   ac_has_iconv_h=no
46877 fi
46878
46879
46880     if test "${ac_cv_header_langinfo_h+set}" = set; then
46881   echo "$as_me:$LINENO: checking for langinfo.h" >&5
46882 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
46883 if test "${ac_cv_header_langinfo_h+set}" = set; then
46884   echo $ECHO_N "(cached) $ECHO_C" >&6
46885 fi
46886 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
46887 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
46888 else
46889   # Is the header compilable?
46890 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
46891 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
46892 cat >conftest.$ac_ext <<_ACEOF
46893 #line $LINENO "configure"
46894 /* confdefs.h.  */
46895 _ACEOF
46896 cat confdefs.h >>conftest.$ac_ext
46897 cat >>conftest.$ac_ext <<_ACEOF
46898 /* end confdefs.h.  */
46899 $ac_includes_default
46900 #include <langinfo.h>
46901 _ACEOF
46902 rm -f conftest.$ac_objext
46903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46904   (eval $ac_compile) 2>&5
46905   ac_status=$?
46906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46907   (exit $ac_status); } &&
46908          { ac_try='test -s conftest.$ac_objext'
46909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46910   (eval $ac_try) 2>&5
46911   ac_status=$?
46912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46913   (exit $ac_status); }; }; then
46914   ac_header_compiler=yes
46915 else
46916   echo "$as_me: failed program was:" >&5
46917 sed 's/^/| /' conftest.$ac_ext >&5
46918
46919 ac_header_compiler=no
46920 fi
46921 rm -f conftest.$ac_objext conftest.$ac_ext
46922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46923 echo "${ECHO_T}$ac_header_compiler" >&6
46924
46925 # Is the header present?
46926 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
46927 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
46928 cat >conftest.$ac_ext <<_ACEOF
46929 #line $LINENO "configure"
46930 /* confdefs.h.  */
46931 _ACEOF
46932 cat confdefs.h >>conftest.$ac_ext
46933 cat >>conftest.$ac_ext <<_ACEOF
46934 /* end confdefs.h.  */
46935 #include <langinfo.h>
46936 _ACEOF
46937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46938   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46939   ac_status=$?
46940   grep -v '^ *+' conftest.er1 >conftest.err
46941   rm -f conftest.er1
46942   cat conftest.err >&5
46943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46944   (exit $ac_status); } >/dev/null; then
46945   if test -s conftest.err; then
46946     ac_cpp_err=$ac_c_preproc_warn_flag
46947   else
46948     ac_cpp_err=
46949   fi
46950 else
46951   ac_cpp_err=yes
46952 fi
46953 if test -z "$ac_cpp_err"; then
46954   ac_header_preproc=yes
46955 else
46956   echo "$as_me: failed program was:" >&5
46957 sed 's/^/| /' conftest.$ac_ext >&5
46958
46959   ac_header_preproc=no
46960 fi
46961 rm -f conftest.err conftest.$ac_ext
46962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46963 echo "${ECHO_T}$ac_header_preproc" >&6
46964
46965 # So?  What about this header?
46966 case $ac_header_compiler:$ac_header_preproc in
46967   yes:no )
46968     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
46969 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
46970     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
46971 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
46972     (
46973       cat <<\_ASBOX
46974 ## ------------------------------------ ##
46975 ## Report this to bug-autoconf@gnu.org. ##
46976 ## ------------------------------------ ##
46977 _ASBOX
46978     ) |
46979       sed "s/^/$as_me: WARNING:     /" >&2
46980     ;;
46981   no:yes )
46982     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
46983 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
46984     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
46985 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
46986     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
46987 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
46988     (
46989       cat <<\_ASBOX
46990 ## ------------------------------------ ##
46991 ## Report this to bug-autoconf@gnu.org. ##
46992 ## ------------------------------------ ##
46993 _ASBOX
46994     ) |
46995       sed "s/^/$as_me: WARNING:     /" >&2
46996     ;;
46997 esac
46998 echo "$as_me:$LINENO: checking for langinfo.h" >&5
46999 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
47000 if test "${ac_cv_header_langinfo_h+set}" = set; then
47001   echo $ECHO_N "(cached) $ECHO_C" >&6
47002 else
47003   ac_cv_header_langinfo_h=$ac_header_preproc
47004 fi
47005 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
47006 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
47007
47008 fi
47009 if test $ac_cv_header_langinfo_h = yes; then
47010   ac_has_langinfo_h=yes
47011 else
47012   ac_has_langinfo_h=no
47013 fi
47014
47015
47016
47017     # Check for existence of libiconv.a providing XPG2 wchar_t support.
47018     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
47019 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
47020 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
47021   echo $ECHO_N "(cached) $ECHO_C" >&6
47022 else
47023   ac_check_lib_save_LIBS=$LIBS
47024 LIBS="-liconv  $LIBS"
47025 cat >conftest.$ac_ext <<_ACEOF
47026 #line $LINENO "configure"
47027 /* confdefs.h.  */
47028 _ACEOF
47029 cat confdefs.h >>conftest.$ac_ext
47030 cat >>conftest.$ac_ext <<_ACEOF
47031 /* end confdefs.h.  */
47032
47033 /* Override any gcc2 internal prototype to avoid an error.  */
47034 #ifdef __cplusplus
47035 extern "C"
47036 #endif
47037 /* We use char because int might match the return type of a gcc2
47038    builtin and then its argument prototype would still apply.  */
47039 char iconv ();
47040 int
47041 main ()
47042 {
47043 iconv ();
47044   ;
47045   return 0;
47046 }
47047 _ACEOF
47048 rm -f conftest.$ac_objext conftest$ac_exeext
47049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47050   (eval $ac_link) 2>&5
47051   ac_status=$?
47052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47053   (exit $ac_status); } &&
47054          { ac_try='test -s conftest$ac_exeext'
47055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47056   (eval $ac_try) 2>&5
47057   ac_status=$?
47058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47059   (exit $ac_status); }; }; then
47060   ac_cv_lib_iconv_iconv=yes
47061 else
47062   echo "$as_me: failed program was:" >&5
47063 sed 's/^/| /' conftest.$ac_ext >&5
47064
47065 ac_cv_lib_iconv_iconv=no
47066 fi
47067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47068 LIBS=$ac_check_lib_save_LIBS
47069 fi
47070 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
47071 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
47072 if test $ac_cv_lib_iconv_iconv = yes; then
47073   libiconv="-liconv"
47074 fi
47075
47076     ac_save_LIBS="$LIBS"
47077     LIBS="$LIBS $libiconv"
47078
47079
47080
47081
47082
47083 for ac_func in iconv_open iconv_close iconv nl_langinfo
47084 do
47085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47086 echo "$as_me:$LINENO: checking for $ac_func" >&5
47087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47088 if eval "test \"\${$as_ac_var+set}\" = set"; then
47089   echo $ECHO_N "(cached) $ECHO_C" >&6
47090 else
47091   cat >conftest.$ac_ext <<_ACEOF
47092 #line $LINENO "configure"
47093 /* confdefs.h.  */
47094 _ACEOF
47095 cat confdefs.h >>conftest.$ac_ext
47096 cat >>conftest.$ac_ext <<_ACEOF
47097 /* end confdefs.h.  */
47098 /* System header to define __stub macros and hopefully few prototypes,
47099     which can conflict with char $ac_func (); below.
47100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47101     <limits.h> exists even on freestanding compilers.  */
47102 #ifdef __STDC__
47103 # include <limits.h>
47104 #else
47105 # include <assert.h>
47106 #endif
47107 /* Override any gcc2 internal prototype to avoid an error.  */
47108 #ifdef __cplusplus
47109 extern "C"
47110 {
47111 #endif
47112 /* We use char because int might match the return type of a gcc2
47113    builtin and then its argument prototype would still apply.  */
47114 char $ac_func ();
47115 /* The GNU C library defines this for functions which it implements
47116     to always fail with ENOSYS.  Some functions are actually named
47117     something starting with __ and the normal name is an alias.  */
47118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47119 choke me
47120 #else
47121 char (*f) () = $ac_func;
47122 #endif
47123 #ifdef __cplusplus
47124 }
47125 #endif
47126
47127 int
47128 main ()
47129 {
47130 return f != $ac_func;
47131   ;
47132   return 0;
47133 }
47134 _ACEOF
47135 rm -f conftest.$ac_objext conftest$ac_exeext
47136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47137   (eval $ac_link) 2>&5
47138   ac_status=$?
47139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140   (exit $ac_status); } &&
47141          { ac_try='test -s conftest$ac_exeext'
47142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47143   (eval $ac_try) 2>&5
47144   ac_status=$?
47145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146   (exit $ac_status); }; }; then
47147   eval "$as_ac_var=yes"
47148 else
47149   echo "$as_me: failed program was:" >&5
47150 sed 's/^/| /' conftest.$ac_ext >&5
47151
47152 eval "$as_ac_var=no"
47153 fi
47154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47155 fi
47156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47158 if test `eval echo '${'$as_ac_var'}'` = yes; then
47159   cat >>confdefs.h <<_ACEOF
47160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47161 _ACEOF
47162  ac_XPG2funcs=yes
47163 else
47164   ac_XPG2funcs=no
47165 fi
47166 done
47167
47168
47169     LIBS="$ac_save_LIBS"
47170
47171     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
47172 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
47173     if test x"$ac_has_iconv_h" = xyes &&
47174        test x"$ac_has_langinfo_h" = xyes &&
47175        test x"$ac_XPG2funcs" = xyes;
47176     then
47177       ac_XPG2_wchar_t=yes
47178     else
47179       ac_XPG2_wchar_t=no
47180     fi
47181     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
47182 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
47183
47184     # At the moment, only enable wchar_t specializations if all the
47185     # above support is present.
47186     if test x"$ac_isoC99_wchar_t" = xyes &&
47187        test x"$ac_XPG2_wchar_t" = xyes;
47188     then
47189       cat >>confdefs.h <<\_ACEOF
47190 #define _GLIBCXX_USE_WCHAR_T 1
47191 _ACEOF
47192
47193       enable_wchar_t=yes
47194     fi
47195   fi
47196   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
47197 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
47198   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
47199 echo "${ECHO_T}$enable_wchar_t" >&6
47200
47201     cat >>confdefs.h <<\_ACEOF
47202 #define HAVE_LC_MESSAGES 1
47203 _ACEOF
47204
47205     cat >>confdefs.h <<\_ACEOF
47206 #define HAVE_DRAND48 1
47207 _ACEOF
47208
47209     cat >>confdefs.h <<\_ACEOF
47210 #define HAVE_GETPAGESIZE 1
47211 _ACEOF
47212
47213     cat >>confdefs.h <<\_ACEOF
47214 #define HAVE_SETENV 1
47215 _ACEOF
47216
47217     cat >>confdefs.h <<\_ACEOF
47218 #define HAVE_SIGSETJMP 1
47219 _ACEOF
47220
47221     cat >>confdefs.h <<\_ACEOF
47222 #define HAVE_COPYSIGN 1
47223 _ACEOF
47224
47225     cat >>confdefs.h <<\_ACEOF
47226 #define HAVE_COPYSIGNF 1
47227 _ACEOF
47228
47229     cat >>confdefs.h <<\_ACEOF
47230 #define HAVE_FINITEF 1
47231 _ACEOF
47232
47233     cat >>confdefs.h <<\_ACEOF
47234 #define HAVE_FINITE 1
47235 _ACEOF
47236
47237     cat >>confdefs.h <<\_ACEOF
47238 #define HAVE_FREXPF 1
47239 _ACEOF
47240
47241     cat >>confdefs.h <<\_ACEOF
47242 #define HAVE_HYPOT 1
47243 _ACEOF
47244
47245     cat >>confdefs.h <<\_ACEOF
47246 #define HAVE_HYPOTF 1
47247 _ACEOF
47248
47249     cat >>confdefs.h <<\_ACEOF
47250 #define HAVE_ISINF 1
47251 _ACEOF
47252
47253     cat >>confdefs.h <<\_ACEOF
47254 #define HAVE_ISNAN 1
47255 _ACEOF
47256
47257     cat >>confdefs.h <<\_ACEOF
47258 #define HAVE_ISNANF 1
47259 _ACEOF
47260
47261
47262     cat >>confdefs.h <<\_ACEOF
47263 #define HAVE_MMAP 1
47264 _ACEOF
47265
47266     cat >>confdefs.h <<\_ACEOF
47267 #define HAVE_ACOSF 1
47268 _ACEOF
47269
47270     cat >>confdefs.h <<\_ACEOF
47271 #define HAVE_ASINF 1
47272 _ACEOF
47273
47274     cat >>confdefs.h <<\_ACEOF
47275 #define HAVE_ATAN2F 1
47276 _ACEOF
47277
47278     cat >>confdefs.h <<\_ACEOF
47279 #define HAVE_ATANF 1
47280 _ACEOF
47281
47282     cat >>confdefs.h <<\_ACEOF
47283 #define HAVE_CEILF 1
47284 _ACEOF
47285
47286     cat >>confdefs.h <<\_ACEOF
47287 #define HAVE_COPYSIGN 1
47288 _ACEOF
47289
47290     cat >>confdefs.h <<\_ACEOF
47291 #define HAVE_COPYSIGNF 1
47292 _ACEOF
47293
47294     cat >>confdefs.h <<\_ACEOF
47295 #define HAVE_COSF 1
47296 _ACEOF
47297
47298     cat >>confdefs.h <<\_ACEOF
47299 #define HAVE_COSHF 1
47300 _ACEOF
47301
47302     cat >>confdefs.h <<\_ACEOF
47303 #define HAVE_EXPF 1
47304 _ACEOF
47305
47306     cat >>confdefs.h <<\_ACEOF
47307 #define HAVE_FABSF 1
47308 _ACEOF
47309
47310     cat >>confdefs.h <<\_ACEOF
47311 #define HAVE_FLOORF 1
47312 _ACEOF
47313
47314     cat >>confdefs.h <<\_ACEOF
47315 #define HAVE_FMODF 1
47316 _ACEOF
47317
47318     cat >>confdefs.h <<\_ACEOF
47319 #define HAVE_FREXPF 1
47320 _ACEOF
47321
47322     cat >>confdefs.h <<\_ACEOF
47323 #define HAVE_LDEXPF 1
47324 _ACEOF
47325
47326     cat >>confdefs.h <<\_ACEOF
47327 #define HAVE_LOG10F 1
47328 _ACEOF
47329
47330     cat >>confdefs.h <<\_ACEOF
47331 #define HAVE_LOGF 1
47332 _ACEOF
47333
47334     cat >>confdefs.h <<\_ACEOF
47335 #define HAVE_MODFF 1
47336 _ACEOF
47337
47338     cat >>confdefs.h <<\_ACEOF
47339 #define HAVE_POWF 1
47340 _ACEOF
47341
47342     cat >>confdefs.h <<\_ACEOF
47343 #define HAVE_SINF 1
47344 _ACEOF
47345
47346     cat >>confdefs.h <<\_ACEOF
47347 #define HAVE_SINHF 1
47348 _ACEOF
47349
47350     cat >>confdefs.h <<\_ACEOF
47351 #define HAVE_SQRTF 1
47352 _ACEOF
47353
47354     cat >>confdefs.h <<\_ACEOF
47355 #define HAVE_TANF 1
47356 _ACEOF
47357
47358     cat >>confdefs.h <<\_ACEOF
47359 #define HAVE_TANHF 1
47360 _ACEOF
47361
47362     if test x"long_double_math_on_this_cpu" = x"yes"; then
47363       cat >>confdefs.h <<\_ACEOF
47364 #define HAVE_FINITEL 1
47365 _ACEOF
47366
47367       cat >>confdefs.h <<\_ACEOF
47368 #define HAVE_ISINFL 1
47369 _ACEOF
47370
47371       cat >>confdefs.h <<\_ACEOF
47372 #define HAVE_ISNANL 1
47373 _ACEOF
47374
47375     fi
47376     ;;
47377   *-hpux*)
47378     #os_include_dir="os/hpux"
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
47392       machine/endian.h machine/param.h sys/machine.h sys/types.h \
47393       fp.h locale.h float.h inttypes.h
47394 do
47395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47397   echo "$as_me:$LINENO: checking for $ac_header" >&5
47398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47400   echo $ECHO_N "(cached) $ECHO_C" >&6
47401 fi
47402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47404 else
47405   # Is the header compilable?
47406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47408 cat >conftest.$ac_ext <<_ACEOF
47409 #line $LINENO "configure"
47410 /* confdefs.h.  */
47411 _ACEOF
47412 cat confdefs.h >>conftest.$ac_ext
47413 cat >>conftest.$ac_ext <<_ACEOF
47414 /* end confdefs.h.  */
47415 $ac_includes_default
47416 #include <$ac_header>
47417 _ACEOF
47418 rm -f conftest.$ac_objext
47419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47420   (eval $ac_compile) 2>&5
47421   ac_status=$?
47422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47423   (exit $ac_status); } &&
47424          { ac_try='test -s conftest.$ac_objext'
47425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47426   (eval $ac_try) 2>&5
47427   ac_status=$?
47428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429   (exit $ac_status); }; }; then
47430   ac_header_compiler=yes
47431 else
47432   echo "$as_me: failed program was:" >&5
47433 sed 's/^/| /' conftest.$ac_ext >&5
47434
47435 ac_header_compiler=no
47436 fi
47437 rm -f conftest.$ac_objext conftest.$ac_ext
47438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47439 echo "${ECHO_T}$ac_header_compiler" >&6
47440
47441 # Is the header present?
47442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47444 cat >conftest.$ac_ext <<_ACEOF
47445 #line $LINENO "configure"
47446 /* confdefs.h.  */
47447 _ACEOF
47448 cat confdefs.h >>conftest.$ac_ext
47449 cat >>conftest.$ac_ext <<_ACEOF
47450 /* end confdefs.h.  */
47451 #include <$ac_header>
47452 _ACEOF
47453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47454   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47455   ac_status=$?
47456   grep -v '^ *+' conftest.er1 >conftest.err
47457   rm -f conftest.er1
47458   cat conftest.err >&5
47459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47460   (exit $ac_status); } >/dev/null; then
47461   if test -s conftest.err; then
47462     ac_cpp_err=$ac_c_preproc_warn_flag
47463   else
47464     ac_cpp_err=
47465   fi
47466 else
47467   ac_cpp_err=yes
47468 fi
47469 if test -z "$ac_cpp_err"; then
47470   ac_header_preproc=yes
47471 else
47472   echo "$as_me: failed program was:" >&5
47473 sed 's/^/| /' conftest.$ac_ext >&5
47474
47475   ac_header_preproc=no
47476 fi
47477 rm -f conftest.err conftest.$ac_ext
47478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47479 echo "${ECHO_T}$ac_header_preproc" >&6
47480
47481 # So?  What about this header?
47482 case $ac_header_compiler:$ac_header_preproc in
47483   yes:no )
47484     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47486     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47487 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47488     (
47489       cat <<\_ASBOX
47490 ## ------------------------------------ ##
47491 ## Report this to bug-autoconf@gnu.org. ##
47492 ## ------------------------------------ ##
47493 _ASBOX
47494     ) |
47495       sed "s/^/$as_me: WARNING:     /" >&2
47496     ;;
47497   no:yes )
47498     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47500     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47502     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47504     (
47505       cat <<\_ASBOX
47506 ## ------------------------------------ ##
47507 ## Report this to bug-autoconf@gnu.org. ##
47508 ## ------------------------------------ ##
47509 _ASBOX
47510     ) |
47511       sed "s/^/$as_me: WARNING:     /" >&2
47512     ;;
47513 esac
47514 echo "$as_me:$LINENO: checking for $ac_header" >&5
47515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47517   echo $ECHO_N "(cached) $ECHO_C" >&6
47518 else
47519   eval "$as_ac_Header=$ac_header_preproc"
47520 fi
47521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47523
47524 fi
47525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47526   cat >>confdefs.h <<_ACEOF
47527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47528 _ACEOF
47529
47530 fi
47531
47532 done
47533
47534     SECTION_FLAGS='-ffunction-sections -fdata-sections'
47535
47536
47537   # If we're not using GNU ld, then there's no point in even trying these
47538   # tests.  Check for that first.  We should have already tested for gld
47539   # by now (in libtool), but require it now just to be safe...
47540   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47541   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47542
47543
47544
47545   # The name set by libtool depends on the version of libtool.  Shame on us
47546   # for depending on an impl detail, but c'est la vie.  Older versions used
47547   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47548   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47549   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
47550   # set (hence we're using an older libtool), then set it.
47551   if test x${with_gnu_ld+set} != xset; then
47552     if test x${ac_cv_prog_gnu_ld+set} != xset; then
47553       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
47554       with_gnu_ld=no
47555     else
47556       with_gnu_ld=$ac_cv_prog_gnu_ld
47557     fi
47558   fi
47559
47560   # Start by getting the version number.  I think the libtool test already
47561   # does some of this, but throws away the result.
47562
47563   ldver=`$LD --version 2>/dev/null | head -1 | \
47564          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
47565
47566   glibcxx_gnu_ld_version=`echo $ldver | \
47567          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47568
47569   # Set --gc-sections.
47570   if test "$with_gnu_ld" = "notbroken"; then
47571     # GNU ld it is!  Joy and bunny rabbits!
47572
47573     # All these tests are for C++; save the language and the compiler flags.
47574     # Need to do this so that g++ won't try to link in libstdc++
47575     ac_test_CFLAGS="${CFLAGS+set}"
47576     ac_save_CFLAGS="$CFLAGS"
47577     CFLAGS='-x c++  -Wl,--gc-sections'
47578
47579     # Check for -Wl,--gc-sections
47580     # XXX This test is broken at the moment, as symbols required for linking
47581     # are now in libsupc++ (not built yet).  In addition, this test has
47582     # cored on solaris in the past.  In addition, --gc-sections doesn't
47583     # really work at the moment (keeps on discarding used sections, first
47584     # .eh_frame and now some of the glibc sections for iconv).
47585     # Bzzzzt.  Thanks for playing, maybe next time.
47586     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
47587 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
47588     if test "$cross_compiling" = yes; then
47589   ac_sectionLDflags=yes
47590 else
47591   cat >conftest.$ac_ext <<_ACEOF
47592 #line $LINENO "configure"
47593 /* confdefs.h.  */
47594 _ACEOF
47595 cat confdefs.h >>conftest.$ac_ext
47596 cat >>conftest.$ac_ext <<_ACEOF
47597 /* end confdefs.h.  */
47598
47599      int main(void)
47600      {
47601        try { throw 1; }
47602        catch (...) { };
47603        return 0;
47604      }
47605
47606 _ACEOF
47607 rm -f conftest$ac_exeext
47608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47609   (eval $ac_link) 2>&5
47610   ac_status=$?
47611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47614   (eval $ac_try) 2>&5
47615   ac_status=$?
47616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617   (exit $ac_status); }; }; then
47618   ac_sectionLDflags=yes
47619 else
47620   echo "$as_me: program exited with status $ac_status" >&5
47621 echo "$as_me: failed program was:" >&5
47622 sed 's/^/| /' conftest.$ac_ext >&5
47623
47624 ( exit $ac_status )
47625 ac_sectionLDflags=no
47626 fi
47627 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47628 fi
47629     if test "$ac_test_CFLAGS" = set; then
47630       CFLAGS="$ac_save_CFLAGS"
47631     else
47632       # this is the suspicious part
47633       CFLAGS=''
47634     fi
47635     if test "$ac_sectionLDflags" = "yes"; then
47636       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47637     fi
47638     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
47639 echo "${ECHO_T}$ac_sectionLDflags" >&6
47640   fi
47641
47642   # Set linker optimization flags.
47643   if test x"$with_gnu_ld" = x"yes"; then
47644     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47645   fi
47646
47647
47648
47649
47650
47651
47652 echo "$as_me:$LINENO: checking for main in -lm" >&5
47653 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47654 if test "${ac_cv_lib_m_main+set}" = set; then
47655   echo $ECHO_N "(cached) $ECHO_C" >&6
47656 else
47657   ac_check_lib_save_LIBS=$LIBS
47658 LIBS="-lm  $LIBS"
47659 cat >conftest.$ac_ext <<_ACEOF
47660 #line $LINENO "configure"
47661 /* confdefs.h.  */
47662 _ACEOF
47663 cat confdefs.h >>conftest.$ac_ext
47664 cat >>conftest.$ac_ext <<_ACEOF
47665 /* end confdefs.h.  */
47666
47667
47668 int
47669 main ()
47670 {
47671 main ();
47672   ;
47673   return 0;
47674 }
47675 _ACEOF
47676 rm -f conftest.$ac_objext conftest$ac_exeext
47677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47678   (eval $ac_link) 2>&5
47679   ac_status=$?
47680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681   (exit $ac_status); } &&
47682          { ac_try='test -s conftest$ac_exeext'
47683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47684   (eval $ac_try) 2>&5
47685   ac_status=$?
47686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47687   (exit $ac_status); }; }; then
47688   ac_cv_lib_m_main=yes
47689 else
47690   echo "$as_me: failed program was:" >&5
47691 sed 's/^/| /' conftest.$ac_ext >&5
47692
47693 ac_cv_lib_m_main=no
47694 fi
47695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47696 LIBS=$ac_check_lib_save_LIBS
47697 fi
47698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47699 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47700 if test $ac_cv_lib_m_main = yes; then
47701   cat >>confdefs.h <<_ACEOF
47702 #define HAVE_LIBM 1
47703 _ACEOF
47704
47705   LIBS="-lm $LIBS"
47706
47707 fi
47708
47709
47710
47711 for ac_func in nan copysignf
47712 do
47713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47714 echo "$as_me:$LINENO: checking for $ac_func" >&5
47715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47716 if eval "test \"\${$as_ac_var+set}\" = set"; then
47717   echo $ECHO_N "(cached) $ECHO_C" >&6
47718 else
47719   cat >conftest.$ac_ext <<_ACEOF
47720 #line $LINENO "configure"
47721 /* confdefs.h.  */
47722 _ACEOF
47723 cat confdefs.h >>conftest.$ac_ext
47724 cat >>conftest.$ac_ext <<_ACEOF
47725 /* end confdefs.h.  */
47726 /* System header to define __stub macros and hopefully few prototypes,
47727     which can conflict with char $ac_func (); below.
47728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47729     <limits.h> exists even on freestanding compilers.  */
47730 #ifdef __STDC__
47731 # include <limits.h>
47732 #else
47733 # include <assert.h>
47734 #endif
47735 /* Override any gcc2 internal prototype to avoid an error.  */
47736 #ifdef __cplusplus
47737 extern "C"
47738 {
47739 #endif
47740 /* We use char because int might match the return type of a gcc2
47741    builtin and then its argument prototype would still apply.  */
47742 char $ac_func ();
47743 /* The GNU C library defines this for functions which it implements
47744     to always fail with ENOSYS.  Some functions are actually named
47745     something starting with __ and the normal name is an alias.  */
47746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47747 choke me
47748 #else
47749 char (*f) () = $ac_func;
47750 #endif
47751 #ifdef __cplusplus
47752 }
47753 #endif
47754
47755 int
47756 main ()
47757 {
47758 return f != $ac_func;
47759   ;
47760   return 0;
47761 }
47762 _ACEOF
47763 rm -f conftest.$ac_objext conftest$ac_exeext
47764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47765   (eval $ac_link) 2>&5
47766   ac_status=$?
47767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768   (exit $ac_status); } &&
47769          { ac_try='test -s conftest$ac_exeext'
47770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47771   (eval $ac_try) 2>&5
47772   ac_status=$?
47773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774   (exit $ac_status); }; }; then
47775   eval "$as_ac_var=yes"
47776 else
47777   echo "$as_me: failed program was:" >&5
47778 sed 's/^/| /' conftest.$ac_ext >&5
47779
47780 eval "$as_ac_var=no"
47781 fi
47782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47783 fi
47784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47786 if test `eval echo '${'$as_ac_var'}'` = yes; then
47787   cat >>confdefs.h <<_ACEOF
47788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47789 _ACEOF
47790
47791 else
47792   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47793 fi
47794 done
47795
47796
47797
47798 for ac_func in __signbit
47799 do
47800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47801 echo "$as_me:$LINENO: checking for $ac_func" >&5
47802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47803 if eval "test \"\${$as_ac_var+set}\" = set"; then
47804   echo $ECHO_N "(cached) $ECHO_C" >&6
47805 else
47806   cat >conftest.$ac_ext <<_ACEOF
47807 #line $LINENO "configure"
47808 /* confdefs.h.  */
47809 _ACEOF
47810 cat confdefs.h >>conftest.$ac_ext
47811 cat >>conftest.$ac_ext <<_ACEOF
47812 /* end confdefs.h.  */
47813 /* System header to define __stub macros and hopefully few prototypes,
47814     which can conflict with char $ac_func (); below.
47815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47816     <limits.h> exists even on freestanding compilers.  */
47817 #ifdef __STDC__
47818 # include <limits.h>
47819 #else
47820 # include <assert.h>
47821 #endif
47822 /* Override any gcc2 internal prototype to avoid an error.  */
47823 #ifdef __cplusplus
47824 extern "C"
47825 {
47826 #endif
47827 /* We use char because int might match the return type of a gcc2
47828    builtin and then its argument prototype would still apply.  */
47829 char $ac_func ();
47830 /* The GNU C library defines this for functions which it implements
47831     to always fail with ENOSYS.  Some functions are actually named
47832     something starting with __ and the normal name is an alias.  */
47833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47834 choke me
47835 #else
47836 char (*f) () = $ac_func;
47837 #endif
47838 #ifdef __cplusplus
47839 }
47840 #endif
47841
47842 int
47843 main ()
47844 {
47845 return f != $ac_func;
47846   ;
47847   return 0;
47848 }
47849 _ACEOF
47850 rm -f conftest.$ac_objext conftest$ac_exeext
47851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47852   (eval $ac_link) 2>&5
47853   ac_status=$?
47854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855   (exit $ac_status); } &&
47856          { ac_try='test -s conftest$ac_exeext'
47857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47858   (eval $ac_try) 2>&5
47859   ac_status=$?
47860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47861   (exit $ac_status); }; }; then
47862   eval "$as_ac_var=yes"
47863 else
47864   echo "$as_me: failed program was:" >&5
47865 sed 's/^/| /' conftest.$ac_ext >&5
47866
47867 eval "$as_ac_var=no"
47868 fi
47869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47870 fi
47871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47873 if test `eval echo '${'$as_ac_var'}'` = yes; then
47874   cat >>confdefs.h <<_ACEOF
47875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47876 _ACEOF
47877
47878 else
47879   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47880 fi
47881 done
47882
47883
47884 for ac_func in __signbitf
47885 do
47886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47887 echo "$as_me:$LINENO: checking for $ac_func" >&5
47888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47889 if eval "test \"\${$as_ac_var+set}\" = set"; then
47890   echo $ECHO_N "(cached) $ECHO_C" >&6
47891 else
47892   cat >conftest.$ac_ext <<_ACEOF
47893 #line $LINENO "configure"
47894 /* confdefs.h.  */
47895 _ACEOF
47896 cat confdefs.h >>conftest.$ac_ext
47897 cat >>conftest.$ac_ext <<_ACEOF
47898 /* end confdefs.h.  */
47899 /* System header to define __stub macros and hopefully few prototypes,
47900     which can conflict with char $ac_func (); below.
47901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47902     <limits.h> exists even on freestanding compilers.  */
47903 #ifdef __STDC__
47904 # include <limits.h>
47905 #else
47906 # include <assert.h>
47907 #endif
47908 /* Override any gcc2 internal prototype to avoid an error.  */
47909 #ifdef __cplusplus
47910 extern "C"
47911 {
47912 #endif
47913 /* We use char because int might match the return type of a gcc2
47914    builtin and then its argument prototype would still apply.  */
47915 char $ac_func ();
47916 /* The GNU C library defines this for functions which it implements
47917     to always fail with ENOSYS.  Some functions are actually named
47918     something starting with __ and the normal name is an alias.  */
47919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47920 choke me
47921 #else
47922 char (*f) () = $ac_func;
47923 #endif
47924 #ifdef __cplusplus
47925 }
47926 #endif
47927
47928 int
47929 main ()
47930 {
47931 return f != $ac_func;
47932   ;
47933   return 0;
47934 }
47935 _ACEOF
47936 rm -f conftest.$ac_objext conftest$ac_exeext
47937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47938   (eval $ac_link) 2>&5
47939   ac_status=$?
47940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47941   (exit $ac_status); } &&
47942          { ac_try='test -s conftest$ac_exeext'
47943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47944   (eval $ac_try) 2>&5
47945   ac_status=$?
47946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47947   (exit $ac_status); }; }; then
47948   eval "$as_ac_var=yes"
47949 else
47950   echo "$as_me: failed program was:" >&5
47951 sed 's/^/| /' conftest.$ac_ext >&5
47952
47953 eval "$as_ac_var=no"
47954 fi
47955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47956 fi
47957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47959 if test `eval echo '${'$as_ac_var'}'` = yes; then
47960   cat >>confdefs.h <<_ACEOF
47961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47962 _ACEOF
47963
47964 else
47965   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47966 fi
47967 done
47968
47969
47970           if test x$ac_cv_func_copysignl = x"yes"; then
47971
47972 for ac_func in __signbitl
47973 do
47974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47975 echo "$as_me:$LINENO: checking for $ac_func" >&5
47976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47977 if eval "test \"\${$as_ac_var+set}\" = set"; then
47978   echo $ECHO_N "(cached) $ECHO_C" >&6
47979 else
47980   cat >conftest.$ac_ext <<_ACEOF
47981 #line $LINENO "configure"
47982 /* confdefs.h.  */
47983 _ACEOF
47984 cat confdefs.h >>conftest.$ac_ext
47985 cat >>conftest.$ac_ext <<_ACEOF
47986 /* end confdefs.h.  */
47987 /* System header to define __stub macros and hopefully few prototypes,
47988     which can conflict with char $ac_func (); below.
47989     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47990     <limits.h> exists even on freestanding compilers.  */
47991 #ifdef __STDC__
47992 # include <limits.h>
47993 #else
47994 # include <assert.h>
47995 #endif
47996 /* Override any gcc2 internal prototype to avoid an error.  */
47997 #ifdef __cplusplus
47998 extern "C"
47999 {
48000 #endif
48001 /* We use char because int might match the return type of a gcc2
48002    builtin and then its argument prototype would still apply.  */
48003 char $ac_func ();
48004 /* The GNU C library defines this for functions which it implements
48005     to always fail with ENOSYS.  Some functions are actually named
48006     something starting with __ and the normal name is an alias.  */
48007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48008 choke me
48009 #else
48010 char (*f) () = $ac_func;
48011 #endif
48012 #ifdef __cplusplus
48013 }
48014 #endif
48015
48016 int
48017 main ()
48018 {
48019 return f != $ac_func;
48020   ;
48021   return 0;
48022 }
48023 _ACEOF
48024 rm -f conftest.$ac_objext conftest$ac_exeext
48025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48026   (eval $ac_link) 2>&5
48027   ac_status=$?
48028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48029   (exit $ac_status); } &&
48030          { ac_try='test -s conftest$ac_exeext'
48031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48032   (eval $ac_try) 2>&5
48033   ac_status=$?
48034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48035   (exit $ac_status); }; }; then
48036   eval "$as_ac_var=yes"
48037 else
48038   echo "$as_me: failed program was:" >&5
48039 sed 's/^/| /' conftest.$ac_ext >&5
48040
48041 eval "$as_ac_var=no"
48042 fi
48043 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48044 fi
48045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48047 if test `eval echo '${'$as_ac_var'}'` = yes; then
48048   cat >>confdefs.h <<_ACEOF
48049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48050 _ACEOF
48051
48052 else
48053   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
48054 fi
48055 done
48056
48057   fi
48058
48059   # XXX Review this.  Nothing uses it.
48060   if test -n "$LIBMATHOBJS"; then
48061     need_libmath=yes
48062   fi
48063
48064
48065
48066   # Test wchar.h for mbstate_t, which is needed for char_traits and
48067   # others even if wchar_t support is not on.
48068   echo "$as_me:$LINENO: checking for mbstate_t" >&5
48069 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
48070   cat >conftest.$ac_ext <<_ACEOF
48071 #line $LINENO "configure"
48072 /* confdefs.h.  */
48073 _ACEOF
48074 cat confdefs.h >>conftest.$ac_ext
48075 cat >>conftest.$ac_ext <<_ACEOF
48076 /* end confdefs.h.  */
48077 #include <wchar.h>
48078 int
48079 main ()
48080 {
48081 mbstate_t teststate;
48082   ;
48083   return 0;
48084 }
48085 _ACEOF
48086 rm -f conftest.$ac_objext
48087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48088   (eval $ac_compile) 2>&5
48089   ac_status=$?
48090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091   (exit $ac_status); } &&
48092          { ac_try='test -s conftest.$ac_objext'
48093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48094   (eval $ac_try) 2>&5
48095   ac_status=$?
48096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48097   (exit $ac_status); }; }; then
48098   have_mbstate_t=yes
48099 else
48100   echo "$as_me: failed program was:" >&5
48101 sed 's/^/| /' conftest.$ac_ext >&5
48102
48103 have_mbstate_t=no
48104 fi
48105 rm -f conftest.$ac_objext conftest.$ac_ext
48106   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
48107 echo "${ECHO_T}$have_mbstate_t" >&6
48108   if test x"$have_mbstate_t" = xyes; then
48109     cat >>confdefs.h <<\_ACEOF
48110 #define HAVE_MBSTATE_T 1
48111 _ACEOF
48112
48113   fi
48114
48115   # Sanity check for existence of ISO C99 headers for extended encoding.
48116
48117 for ac_header in wchar.h
48118 do
48119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48121   echo "$as_me:$LINENO: checking for $ac_header" >&5
48122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48124   echo $ECHO_N "(cached) $ECHO_C" >&6
48125 fi
48126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48128 else
48129   # Is the header compilable?
48130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48132 cat >conftest.$ac_ext <<_ACEOF
48133 #line $LINENO "configure"
48134 /* confdefs.h.  */
48135 _ACEOF
48136 cat confdefs.h >>conftest.$ac_ext
48137 cat >>conftest.$ac_ext <<_ACEOF
48138 /* end confdefs.h.  */
48139 $ac_includes_default
48140 #include <$ac_header>
48141 _ACEOF
48142 rm -f conftest.$ac_objext
48143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48144   (eval $ac_compile) 2>&5
48145   ac_status=$?
48146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48147   (exit $ac_status); } &&
48148          { ac_try='test -s conftest.$ac_objext'
48149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48150   (eval $ac_try) 2>&5
48151   ac_status=$?
48152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48153   (exit $ac_status); }; }; then
48154   ac_header_compiler=yes
48155 else
48156   echo "$as_me: failed program was:" >&5
48157 sed 's/^/| /' conftest.$ac_ext >&5
48158
48159 ac_header_compiler=no
48160 fi
48161 rm -f conftest.$ac_objext conftest.$ac_ext
48162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48163 echo "${ECHO_T}$ac_header_compiler" >&6
48164
48165 # Is the header present?
48166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48168 cat >conftest.$ac_ext <<_ACEOF
48169 #line $LINENO "configure"
48170 /* confdefs.h.  */
48171 _ACEOF
48172 cat confdefs.h >>conftest.$ac_ext
48173 cat >>conftest.$ac_ext <<_ACEOF
48174 /* end confdefs.h.  */
48175 #include <$ac_header>
48176 _ACEOF
48177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48178   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48179   ac_status=$?
48180   grep -v '^ *+' conftest.er1 >conftest.err
48181   rm -f conftest.er1
48182   cat conftest.err >&5
48183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48184   (exit $ac_status); } >/dev/null; then
48185   if test -s conftest.err; then
48186     ac_cpp_err=$ac_c_preproc_warn_flag
48187   else
48188     ac_cpp_err=
48189   fi
48190 else
48191   ac_cpp_err=yes
48192 fi
48193 if test -z "$ac_cpp_err"; then
48194   ac_header_preproc=yes
48195 else
48196   echo "$as_me: failed program was:" >&5
48197 sed 's/^/| /' conftest.$ac_ext >&5
48198
48199   ac_header_preproc=no
48200 fi
48201 rm -f conftest.err conftest.$ac_ext
48202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48203 echo "${ECHO_T}$ac_header_preproc" >&6
48204
48205 # So?  What about this header?
48206 case $ac_header_compiler:$ac_header_preproc in
48207   yes:no )
48208     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48210     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48212     (
48213       cat <<\_ASBOX
48214 ## ------------------------------------ ##
48215 ## Report this to bug-autoconf@gnu.org. ##
48216 ## ------------------------------------ ##
48217 _ASBOX
48218     ) |
48219       sed "s/^/$as_me: WARNING:     /" >&2
48220     ;;
48221   no:yes )
48222     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48224     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48226     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48228     (
48229       cat <<\_ASBOX
48230 ## ------------------------------------ ##
48231 ## Report this to bug-autoconf@gnu.org. ##
48232 ## ------------------------------------ ##
48233 _ASBOX
48234     ) |
48235       sed "s/^/$as_me: WARNING:     /" >&2
48236     ;;
48237 esac
48238 echo "$as_me:$LINENO: checking for $ac_header" >&5
48239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48241   echo $ECHO_N "(cached) $ECHO_C" >&6
48242 else
48243   eval "$as_ac_Header=$ac_header_preproc"
48244 fi
48245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48247
48248 fi
48249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48250   cat >>confdefs.h <<_ACEOF
48251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48252 _ACEOF
48253  ac_has_wchar_h=yes
48254 else
48255   ac_has_wchar_h=no
48256 fi
48257
48258 done
48259
48260
48261 for ac_header in wctype.h
48262 do
48263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48265   echo "$as_me:$LINENO: checking for $ac_header" >&5
48266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48268   echo $ECHO_N "(cached) $ECHO_C" >&6
48269 fi
48270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48272 else
48273   # Is the header compilable?
48274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48276 cat >conftest.$ac_ext <<_ACEOF
48277 #line $LINENO "configure"
48278 /* confdefs.h.  */
48279 _ACEOF
48280 cat confdefs.h >>conftest.$ac_ext
48281 cat >>conftest.$ac_ext <<_ACEOF
48282 /* end confdefs.h.  */
48283 $ac_includes_default
48284 #include <$ac_header>
48285 _ACEOF
48286 rm -f conftest.$ac_objext
48287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48288   (eval $ac_compile) 2>&5
48289   ac_status=$?
48290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291   (exit $ac_status); } &&
48292          { ac_try='test -s conftest.$ac_objext'
48293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48294   (eval $ac_try) 2>&5
48295   ac_status=$?
48296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297   (exit $ac_status); }; }; then
48298   ac_header_compiler=yes
48299 else
48300   echo "$as_me: failed program was:" >&5
48301 sed 's/^/| /' conftest.$ac_ext >&5
48302
48303 ac_header_compiler=no
48304 fi
48305 rm -f conftest.$ac_objext conftest.$ac_ext
48306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48307 echo "${ECHO_T}$ac_header_compiler" >&6
48308
48309 # Is the header present?
48310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48312 cat >conftest.$ac_ext <<_ACEOF
48313 #line $LINENO "configure"
48314 /* confdefs.h.  */
48315 _ACEOF
48316 cat confdefs.h >>conftest.$ac_ext
48317 cat >>conftest.$ac_ext <<_ACEOF
48318 /* end confdefs.h.  */
48319 #include <$ac_header>
48320 _ACEOF
48321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48322   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48323   ac_status=$?
48324   grep -v '^ *+' conftest.er1 >conftest.err
48325   rm -f conftest.er1
48326   cat conftest.err >&5
48327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48328   (exit $ac_status); } >/dev/null; then
48329   if test -s conftest.err; then
48330     ac_cpp_err=$ac_c_preproc_warn_flag
48331   else
48332     ac_cpp_err=
48333   fi
48334 else
48335   ac_cpp_err=yes
48336 fi
48337 if test -z "$ac_cpp_err"; then
48338   ac_header_preproc=yes
48339 else
48340   echo "$as_me: failed program was:" >&5
48341 sed 's/^/| /' conftest.$ac_ext >&5
48342
48343   ac_header_preproc=no
48344 fi
48345 rm -f conftest.err conftest.$ac_ext
48346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48347 echo "${ECHO_T}$ac_header_preproc" >&6
48348
48349 # So?  What about this header?
48350 case $ac_header_compiler:$ac_header_preproc in
48351   yes:no )
48352     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48354     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48356     (
48357       cat <<\_ASBOX
48358 ## ------------------------------------ ##
48359 ## Report this to bug-autoconf@gnu.org. ##
48360 ## ------------------------------------ ##
48361 _ASBOX
48362     ) |
48363       sed "s/^/$as_me: WARNING:     /" >&2
48364     ;;
48365   no:yes )
48366     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48368     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48370     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48372     (
48373       cat <<\_ASBOX
48374 ## ------------------------------------ ##
48375 ## Report this to bug-autoconf@gnu.org. ##
48376 ## ------------------------------------ ##
48377 _ASBOX
48378     ) |
48379       sed "s/^/$as_me: WARNING:     /" >&2
48380     ;;
48381 esac
48382 echo "$as_me:$LINENO: checking for $ac_header" >&5
48383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48385   echo $ECHO_N "(cached) $ECHO_C" >&6
48386 else
48387   eval "$as_ac_Header=$ac_header_preproc"
48388 fi
48389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48391
48392 fi
48393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48394   cat >>confdefs.h <<_ACEOF
48395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48396 _ACEOF
48397  ac_has_wctype_h=yes
48398 else
48399   ac_has_wctype_h=no
48400 fi
48401
48402 done
48403
48404
48405   # Only continue checking if the ISO C99 headers exist and support is on.
48406   if test x"$ac_has_wchar_h" = xyes &&
48407      test x"$ac_has_wctype_h" = xyes &&
48408      test x"$enable_c_mbchar" != xno; then
48409
48410     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
48411     # numeric_limits can instantiate type_traits<wchar_t>
48412     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
48413 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
48414     cat >conftest.$ac_ext <<_ACEOF
48415 #line $LINENO "configure"
48416 /* confdefs.h.  */
48417 _ACEOF
48418 cat confdefs.h >>conftest.$ac_ext
48419 cat >>conftest.$ac_ext <<_ACEOF
48420 /* end confdefs.h.  */
48421 #include <wchar.h>
48422 int
48423 main ()
48424 {
48425 int i = WCHAR_MIN; int j = WCHAR_MAX;
48426   ;
48427   return 0;
48428 }
48429 _ACEOF
48430 rm -f conftest.$ac_objext
48431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48432   (eval $ac_compile) 2>&5
48433   ac_status=$?
48434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435   (exit $ac_status); } &&
48436          { ac_try='test -s conftest.$ac_objext'
48437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48438   (eval $ac_try) 2>&5
48439   ac_status=$?
48440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48441   (exit $ac_status); }; }; then
48442   has_wchar_minmax=yes
48443 else
48444   echo "$as_me: failed program was:" >&5
48445 sed 's/^/| /' conftest.$ac_ext >&5
48446
48447 has_wchar_minmax=no
48448 fi
48449 rm -f conftest.$ac_objext conftest.$ac_ext
48450     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
48451 echo "${ECHO_T}$has_wchar_minmax" >&6
48452
48453     # Test wchar.h for WEOF, which is what we use to determine whether
48454     # to specialize for char_traits<wchar_t> or not.
48455     echo "$as_me:$LINENO: checking for WEOF" >&5
48456 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
48457     cat >conftest.$ac_ext <<_ACEOF
48458 #line $LINENO "configure"
48459 /* confdefs.h.  */
48460 _ACEOF
48461 cat confdefs.h >>conftest.$ac_ext
48462 cat >>conftest.$ac_ext <<_ACEOF
48463 /* end confdefs.h.  */
48464
48465       #include <wchar.h>
48466       #include <stddef.h>
48467 int
48468 main ()
48469 {
48470 wint_t i = WEOF;
48471   ;
48472   return 0;
48473 }
48474 _ACEOF
48475 rm -f conftest.$ac_objext
48476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48477   (eval $ac_compile) 2>&5
48478   ac_status=$?
48479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480   (exit $ac_status); } &&
48481          { ac_try='test -s conftest.$ac_objext'
48482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48483   (eval $ac_try) 2>&5
48484   ac_status=$?
48485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486   (exit $ac_status); }; }; then
48487   has_weof=yes
48488 else
48489   echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48491
48492 has_weof=no
48493 fi
48494 rm -f conftest.$ac_objext conftest.$ac_ext
48495     echo "$as_me:$LINENO: result: $has_weof" >&5
48496 echo "${ECHO_T}$has_weof" >&6
48497
48498     # Tests for wide character functions used in char_traits<wchar_t>.
48499     ac_wfuncs=yes
48500
48501
48502
48503
48504
48505
48506 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
48507 do
48508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48509 echo "$as_me:$LINENO: checking for $ac_func" >&5
48510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48511 if eval "test \"\${$as_ac_var+set}\" = set"; then
48512   echo $ECHO_N "(cached) $ECHO_C" >&6
48513 else
48514   cat >conftest.$ac_ext <<_ACEOF
48515 #line $LINENO "configure"
48516 /* confdefs.h.  */
48517 _ACEOF
48518 cat confdefs.h >>conftest.$ac_ext
48519 cat >>conftest.$ac_ext <<_ACEOF
48520 /* end confdefs.h.  */
48521 /* System header to define __stub macros and hopefully few prototypes,
48522     which can conflict with char $ac_func (); below.
48523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48524     <limits.h> exists even on freestanding compilers.  */
48525 #ifdef __STDC__
48526 # include <limits.h>
48527 #else
48528 # include <assert.h>
48529 #endif
48530 /* Override any gcc2 internal prototype to avoid an error.  */
48531 #ifdef __cplusplus
48532 extern "C"
48533 {
48534 #endif
48535 /* We use char because int might match the return type of a gcc2
48536    builtin and then its argument prototype would still apply.  */
48537 char $ac_func ();
48538 /* The GNU C library defines this for functions which it implements
48539     to always fail with ENOSYS.  Some functions are actually named
48540     something starting with __ and the normal name is an alias.  */
48541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48542 choke me
48543 #else
48544 char (*f) () = $ac_func;
48545 #endif
48546 #ifdef __cplusplus
48547 }
48548 #endif
48549
48550 int
48551 main ()
48552 {
48553 return f != $ac_func;
48554   ;
48555   return 0;
48556 }
48557 _ACEOF
48558 rm -f conftest.$ac_objext conftest$ac_exeext
48559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48560   (eval $ac_link) 2>&5
48561   ac_status=$?
48562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48563   (exit $ac_status); } &&
48564          { ac_try='test -s conftest$ac_exeext'
48565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48566   (eval $ac_try) 2>&5
48567   ac_status=$?
48568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48569   (exit $ac_status); }; }; then
48570   eval "$as_ac_var=yes"
48571 else
48572   echo "$as_me: failed program was:" >&5
48573 sed 's/^/| /' conftest.$ac_ext >&5
48574
48575 eval "$as_ac_var=no"
48576 fi
48577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48578 fi
48579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48581 if test `eval echo '${'$as_ac_var'}'` = yes; then
48582   cat >>confdefs.h <<_ACEOF
48583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48584 _ACEOF
48585
48586 else
48587   ac_wfuncs=no
48588 fi
48589 done
48590
48591
48592     # Checks for names injected into std:: by the c_std headers.
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48644     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
48645     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48646     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
48647     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48648     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48649 do
48650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48651 echo "$as_me:$LINENO: checking for $ac_func" >&5
48652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48653 if eval "test \"\${$as_ac_var+set}\" = set"; then
48654   echo $ECHO_N "(cached) $ECHO_C" >&6
48655 else
48656   cat >conftest.$ac_ext <<_ACEOF
48657 #line $LINENO "configure"
48658 /* confdefs.h.  */
48659 _ACEOF
48660 cat confdefs.h >>conftest.$ac_ext
48661 cat >>conftest.$ac_ext <<_ACEOF
48662 /* end confdefs.h.  */
48663 /* System header to define __stub macros and hopefully few prototypes,
48664     which can conflict with char $ac_func (); below.
48665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48666     <limits.h> exists even on freestanding compilers.  */
48667 #ifdef __STDC__
48668 # include <limits.h>
48669 #else
48670 # include <assert.h>
48671 #endif
48672 /* Override any gcc2 internal prototype to avoid an error.  */
48673 #ifdef __cplusplus
48674 extern "C"
48675 {
48676 #endif
48677 /* We use char because int might match the return type of a gcc2
48678    builtin and then its argument prototype would still apply.  */
48679 char $ac_func ();
48680 /* The GNU C library defines this for functions which it implements
48681     to always fail with ENOSYS.  Some functions are actually named
48682     something starting with __ and the normal name is an alias.  */
48683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48684 choke me
48685 #else
48686 char (*f) () = $ac_func;
48687 #endif
48688 #ifdef __cplusplus
48689 }
48690 #endif
48691
48692 int
48693 main ()
48694 {
48695 return f != $ac_func;
48696   ;
48697   return 0;
48698 }
48699 _ACEOF
48700 rm -f conftest.$ac_objext conftest$ac_exeext
48701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48702   (eval $ac_link) 2>&5
48703   ac_status=$?
48704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48705   (exit $ac_status); } &&
48706          { ac_try='test -s conftest$ac_exeext'
48707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48708   (eval $ac_try) 2>&5
48709   ac_status=$?
48710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711   (exit $ac_status); }; }; then
48712   eval "$as_ac_var=yes"
48713 else
48714   echo "$as_me: failed program was:" >&5
48715 sed 's/^/| /' conftest.$ac_ext >&5
48716
48717 eval "$as_ac_var=no"
48718 fi
48719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48720 fi
48721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48723 if test `eval echo '${'$as_ac_var'}'` = yes; then
48724   cat >>confdefs.h <<_ACEOF
48725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48726 _ACEOF
48727
48728 else
48729   ac_wfuncs=no
48730 fi
48731 done
48732
48733
48734     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48735 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48736     if test x"$has_weof" = xyes &&
48737        test x"$has_wchar_minmax" = xyes &&
48738        test x"$ac_wfuncs" = xyes;
48739     then
48740       ac_isoC99_wchar_t=yes
48741     else
48742       ac_isoC99_wchar_t=no
48743     fi
48744     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48745 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48746
48747     # Use iconv for wchar_t to char conversions. As such, check for
48748     # X/Open Portability Guide, version 2 features (XPG2).
48749     if test "${ac_cv_header_iconv_h+set}" = set; then
48750   echo "$as_me:$LINENO: checking for iconv.h" >&5
48751 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48752 if test "${ac_cv_header_iconv_h+set}" = set; then
48753   echo $ECHO_N "(cached) $ECHO_C" >&6
48754 fi
48755 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48756 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48757 else
48758   # Is the header compilable?
48759 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48760 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48761 cat >conftest.$ac_ext <<_ACEOF
48762 #line $LINENO "configure"
48763 /* confdefs.h.  */
48764 _ACEOF
48765 cat confdefs.h >>conftest.$ac_ext
48766 cat >>conftest.$ac_ext <<_ACEOF
48767 /* end confdefs.h.  */
48768 $ac_includes_default
48769 #include <iconv.h>
48770 _ACEOF
48771 rm -f conftest.$ac_objext
48772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48773   (eval $ac_compile) 2>&5
48774   ac_status=$?
48775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776   (exit $ac_status); } &&
48777          { ac_try='test -s conftest.$ac_objext'
48778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48779   (eval $ac_try) 2>&5
48780   ac_status=$?
48781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782   (exit $ac_status); }; }; then
48783   ac_header_compiler=yes
48784 else
48785   echo "$as_me: failed program was:" >&5
48786 sed 's/^/| /' conftest.$ac_ext >&5
48787
48788 ac_header_compiler=no
48789 fi
48790 rm -f conftest.$ac_objext conftest.$ac_ext
48791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48792 echo "${ECHO_T}$ac_header_compiler" >&6
48793
48794 # Is the header present?
48795 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48796 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48797 cat >conftest.$ac_ext <<_ACEOF
48798 #line $LINENO "configure"
48799 /* confdefs.h.  */
48800 _ACEOF
48801 cat confdefs.h >>conftest.$ac_ext
48802 cat >>conftest.$ac_ext <<_ACEOF
48803 /* end confdefs.h.  */
48804 #include <iconv.h>
48805 _ACEOF
48806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48807   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48808   ac_status=$?
48809   grep -v '^ *+' conftest.er1 >conftest.err
48810   rm -f conftest.er1
48811   cat conftest.err >&5
48812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48813   (exit $ac_status); } >/dev/null; then
48814   if test -s conftest.err; then
48815     ac_cpp_err=$ac_c_preproc_warn_flag
48816   else
48817     ac_cpp_err=
48818   fi
48819 else
48820   ac_cpp_err=yes
48821 fi
48822 if test -z "$ac_cpp_err"; then
48823   ac_header_preproc=yes
48824 else
48825   echo "$as_me: failed program was:" >&5
48826 sed 's/^/| /' conftest.$ac_ext >&5
48827
48828   ac_header_preproc=no
48829 fi
48830 rm -f conftest.err conftest.$ac_ext
48831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48832 echo "${ECHO_T}$ac_header_preproc" >&6
48833
48834 # So?  What about this header?
48835 case $ac_header_compiler:$ac_header_preproc in
48836   yes:no )
48837     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48838 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48839     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48840 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48841     (
48842       cat <<\_ASBOX
48843 ## ------------------------------------ ##
48844 ## Report this to bug-autoconf@gnu.org. ##
48845 ## ------------------------------------ ##
48846 _ASBOX
48847     ) |
48848       sed "s/^/$as_me: WARNING:     /" >&2
48849     ;;
48850   no:yes )
48851     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48852 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48853     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48854 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48855     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48856 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48857     (
48858       cat <<\_ASBOX
48859 ## ------------------------------------ ##
48860 ## Report this to bug-autoconf@gnu.org. ##
48861 ## ------------------------------------ ##
48862 _ASBOX
48863     ) |
48864       sed "s/^/$as_me: WARNING:     /" >&2
48865     ;;
48866 esac
48867 echo "$as_me:$LINENO: checking for iconv.h" >&5
48868 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48869 if test "${ac_cv_header_iconv_h+set}" = set; then
48870   echo $ECHO_N "(cached) $ECHO_C" >&6
48871 else
48872   ac_cv_header_iconv_h=$ac_header_preproc
48873 fi
48874 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48875 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48876
48877 fi
48878 if test $ac_cv_header_iconv_h = yes; then
48879   ac_has_iconv_h=yes
48880 else
48881   ac_has_iconv_h=no
48882 fi
48883
48884
48885     if test "${ac_cv_header_langinfo_h+set}" = set; then
48886   echo "$as_me:$LINENO: checking for langinfo.h" >&5
48887 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48888 if test "${ac_cv_header_langinfo_h+set}" = set; then
48889   echo $ECHO_N "(cached) $ECHO_C" >&6
48890 fi
48891 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48892 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48893 else
48894   # Is the header compilable?
48895 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48896 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48897 cat >conftest.$ac_ext <<_ACEOF
48898 #line $LINENO "configure"
48899 /* confdefs.h.  */
48900 _ACEOF
48901 cat confdefs.h >>conftest.$ac_ext
48902 cat >>conftest.$ac_ext <<_ACEOF
48903 /* end confdefs.h.  */
48904 $ac_includes_default
48905 #include <langinfo.h>
48906 _ACEOF
48907 rm -f conftest.$ac_objext
48908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48909   (eval $ac_compile) 2>&5
48910   ac_status=$?
48911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48912   (exit $ac_status); } &&
48913          { ac_try='test -s conftest.$ac_objext'
48914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48915   (eval $ac_try) 2>&5
48916   ac_status=$?
48917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918   (exit $ac_status); }; }; then
48919   ac_header_compiler=yes
48920 else
48921   echo "$as_me: failed program was:" >&5
48922 sed 's/^/| /' conftest.$ac_ext >&5
48923
48924 ac_header_compiler=no
48925 fi
48926 rm -f conftest.$ac_objext conftest.$ac_ext
48927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48928 echo "${ECHO_T}$ac_header_compiler" >&6
48929
48930 # Is the header present?
48931 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48932 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48933 cat >conftest.$ac_ext <<_ACEOF
48934 #line $LINENO "configure"
48935 /* confdefs.h.  */
48936 _ACEOF
48937 cat confdefs.h >>conftest.$ac_ext
48938 cat >>conftest.$ac_ext <<_ACEOF
48939 /* end confdefs.h.  */
48940 #include <langinfo.h>
48941 _ACEOF
48942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48943   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48944   ac_status=$?
48945   grep -v '^ *+' conftest.er1 >conftest.err
48946   rm -f conftest.er1
48947   cat conftest.err >&5
48948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949   (exit $ac_status); } >/dev/null; then
48950   if test -s conftest.err; then
48951     ac_cpp_err=$ac_c_preproc_warn_flag
48952   else
48953     ac_cpp_err=
48954   fi
48955 else
48956   ac_cpp_err=yes
48957 fi
48958 if test -z "$ac_cpp_err"; then
48959   ac_header_preproc=yes
48960 else
48961   echo "$as_me: failed program was:" >&5
48962 sed 's/^/| /' conftest.$ac_ext >&5
48963
48964   ac_header_preproc=no
48965 fi
48966 rm -f conftest.err conftest.$ac_ext
48967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48968 echo "${ECHO_T}$ac_header_preproc" >&6
48969
48970 # So?  What about this header?
48971 case $ac_header_compiler:$ac_header_preproc in
48972   yes:no )
48973     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48974 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48975     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48976 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48977     (
48978       cat <<\_ASBOX
48979 ## ------------------------------------ ##
48980 ## Report this to bug-autoconf@gnu.org. ##
48981 ## ------------------------------------ ##
48982 _ASBOX
48983     ) |
48984       sed "s/^/$as_me: WARNING:     /" >&2
48985     ;;
48986   no:yes )
48987     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48988 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48989     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48990 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48991     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48992 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48993     (
48994       cat <<\_ASBOX
48995 ## ------------------------------------ ##
48996 ## Report this to bug-autoconf@gnu.org. ##
48997 ## ------------------------------------ ##
48998 _ASBOX
48999     ) |
49000       sed "s/^/$as_me: WARNING:     /" >&2
49001     ;;
49002 esac
49003 echo "$as_me:$LINENO: checking for langinfo.h" >&5
49004 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
49005 if test "${ac_cv_header_langinfo_h+set}" = set; then
49006   echo $ECHO_N "(cached) $ECHO_C" >&6
49007 else
49008   ac_cv_header_langinfo_h=$ac_header_preproc
49009 fi
49010 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
49011 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
49012
49013 fi
49014 if test $ac_cv_header_langinfo_h = yes; then
49015   ac_has_langinfo_h=yes
49016 else
49017   ac_has_langinfo_h=no
49018 fi
49019
49020
49021
49022     # Check for existence of libiconv.a providing XPG2 wchar_t support.
49023     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
49024 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
49025 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
49026   echo $ECHO_N "(cached) $ECHO_C" >&6
49027 else
49028   ac_check_lib_save_LIBS=$LIBS
49029 LIBS="-liconv  $LIBS"
49030 cat >conftest.$ac_ext <<_ACEOF
49031 #line $LINENO "configure"
49032 /* confdefs.h.  */
49033 _ACEOF
49034 cat confdefs.h >>conftest.$ac_ext
49035 cat >>conftest.$ac_ext <<_ACEOF
49036 /* end confdefs.h.  */
49037
49038 /* Override any gcc2 internal prototype to avoid an error.  */
49039 #ifdef __cplusplus
49040 extern "C"
49041 #endif
49042 /* We use char because int might match the return type of a gcc2
49043    builtin and then its argument prototype would still apply.  */
49044 char iconv ();
49045 int
49046 main ()
49047 {
49048 iconv ();
49049   ;
49050   return 0;
49051 }
49052 _ACEOF
49053 rm -f conftest.$ac_objext conftest$ac_exeext
49054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49055   (eval $ac_link) 2>&5
49056   ac_status=$?
49057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058   (exit $ac_status); } &&
49059          { ac_try='test -s conftest$ac_exeext'
49060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49061   (eval $ac_try) 2>&5
49062   ac_status=$?
49063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49064   (exit $ac_status); }; }; then
49065   ac_cv_lib_iconv_iconv=yes
49066 else
49067   echo "$as_me: failed program was:" >&5
49068 sed 's/^/| /' conftest.$ac_ext >&5
49069
49070 ac_cv_lib_iconv_iconv=no
49071 fi
49072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49073 LIBS=$ac_check_lib_save_LIBS
49074 fi
49075 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
49076 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
49077 if test $ac_cv_lib_iconv_iconv = yes; then
49078   libiconv="-liconv"
49079 fi
49080
49081     ac_save_LIBS="$LIBS"
49082     LIBS="$LIBS $libiconv"
49083
49084
49085
49086
49087
49088 for ac_func in iconv_open iconv_close iconv nl_langinfo
49089 do
49090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49091 echo "$as_me:$LINENO: checking for $ac_func" >&5
49092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49093 if eval "test \"\${$as_ac_var+set}\" = set"; then
49094   echo $ECHO_N "(cached) $ECHO_C" >&6
49095 else
49096   cat >conftest.$ac_ext <<_ACEOF
49097 #line $LINENO "configure"
49098 /* confdefs.h.  */
49099 _ACEOF
49100 cat confdefs.h >>conftest.$ac_ext
49101 cat >>conftest.$ac_ext <<_ACEOF
49102 /* end confdefs.h.  */
49103 /* System header to define __stub macros and hopefully few prototypes,
49104     which can conflict with char $ac_func (); below.
49105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49106     <limits.h> exists even on freestanding compilers.  */
49107 #ifdef __STDC__
49108 # include <limits.h>
49109 #else
49110 # include <assert.h>
49111 #endif
49112 /* Override any gcc2 internal prototype to avoid an error.  */
49113 #ifdef __cplusplus
49114 extern "C"
49115 {
49116 #endif
49117 /* We use char because int might match the return type of a gcc2
49118    builtin and then its argument prototype would still apply.  */
49119 char $ac_func ();
49120 /* The GNU C library defines this for functions which it implements
49121     to always fail with ENOSYS.  Some functions are actually named
49122     something starting with __ and the normal name is an alias.  */
49123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49124 choke me
49125 #else
49126 char (*f) () = $ac_func;
49127 #endif
49128 #ifdef __cplusplus
49129 }
49130 #endif
49131
49132 int
49133 main ()
49134 {
49135 return f != $ac_func;
49136   ;
49137   return 0;
49138 }
49139 _ACEOF
49140 rm -f conftest.$ac_objext conftest$ac_exeext
49141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49142   (eval $ac_link) 2>&5
49143   ac_status=$?
49144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145   (exit $ac_status); } &&
49146          { ac_try='test -s conftest$ac_exeext'
49147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49148   (eval $ac_try) 2>&5
49149   ac_status=$?
49150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49151   (exit $ac_status); }; }; then
49152   eval "$as_ac_var=yes"
49153 else
49154   echo "$as_me: failed program was:" >&5
49155 sed 's/^/| /' conftest.$ac_ext >&5
49156
49157 eval "$as_ac_var=no"
49158 fi
49159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49160 fi
49161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49163 if test `eval echo '${'$as_ac_var'}'` = yes; then
49164   cat >>confdefs.h <<_ACEOF
49165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49166 _ACEOF
49167  ac_XPG2funcs=yes
49168 else
49169   ac_XPG2funcs=no
49170 fi
49171 done
49172
49173
49174     LIBS="$ac_save_LIBS"
49175
49176     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
49177 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
49178     if test x"$ac_has_iconv_h" = xyes &&
49179        test x"$ac_has_langinfo_h" = xyes &&
49180        test x"$ac_XPG2funcs" = xyes;
49181     then
49182       ac_XPG2_wchar_t=yes
49183     else
49184       ac_XPG2_wchar_t=no
49185     fi
49186     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
49187 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
49188
49189     # At the moment, only enable wchar_t specializations if all the
49190     # above support is present.
49191     if test x"$ac_isoC99_wchar_t" = xyes &&
49192        test x"$ac_XPG2_wchar_t" = xyes;
49193     then
49194       cat >>confdefs.h <<\_ACEOF
49195 #define _GLIBCXX_USE_WCHAR_T 1
49196 _ACEOF
49197
49198       enable_wchar_t=yes
49199     fi
49200   fi
49201   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
49202 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
49203   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
49204 echo "${ECHO_T}$enable_wchar_t" >&6
49205
49206     cat >>confdefs.h <<\_ACEOF
49207 #define HAVE_COPYSIGN 1
49208 _ACEOF
49209
49210     cat >>confdefs.h <<\_ACEOF
49211 #define HAVE_COPYSIGNF 1
49212 _ACEOF
49213
49214     cat >>confdefs.h <<\_ACEOF
49215 #define HAVE_FREXPF 1
49216 _ACEOF
49217
49218     cat >>confdefs.h <<\_ACEOF
49219 #define HAVE_HYPOT 1
49220 _ACEOF
49221
49222     case "$target" in
49223       *-hpux10*)
49224         cat >>confdefs.h <<\_ACEOF
49225 #define HAVE_FINITE 1
49226 _ACEOF
49227
49228         cat >>confdefs.h <<\_ACEOF
49229 #define HAVE_FINITEF 1
49230 _ACEOF
49231
49232         cat >>confdefs.h <<\_ACEOF
49233 #define HAVE_ISINF 1
49234 _ACEOF
49235
49236         cat >>confdefs.h <<\_ACEOF
49237 #define HAVE_ISINFF 1
49238 _ACEOF
49239
49240         cat >>confdefs.h <<\_ACEOF
49241 #define HAVE_ISNAN 1
49242 _ACEOF
49243
49244         cat >>confdefs.h <<\_ACEOF
49245 #define HAVE_ISNANF 1
49246 _ACEOF
49247
49248         ;;
49249     esac
49250     ;;
49251   *-linux*)
49252     #os_include_dir="os/gnu-linux"
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
49266       machine/endian.h machine/param.h sys/machine.h sys/types.h \
49267       fp.h locale.h float.h inttypes.h
49268 do
49269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49271   echo "$as_me:$LINENO: checking for $ac_header" >&5
49272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49274   echo $ECHO_N "(cached) $ECHO_C" >&6
49275 fi
49276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49278 else
49279   # Is the header compilable?
49280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49282 cat >conftest.$ac_ext <<_ACEOF
49283 #line $LINENO "configure"
49284 /* confdefs.h.  */
49285 _ACEOF
49286 cat confdefs.h >>conftest.$ac_ext
49287 cat >>conftest.$ac_ext <<_ACEOF
49288 /* end confdefs.h.  */
49289 $ac_includes_default
49290 #include <$ac_header>
49291 _ACEOF
49292 rm -f conftest.$ac_objext
49293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49294   (eval $ac_compile) 2>&5
49295   ac_status=$?
49296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49297   (exit $ac_status); } &&
49298          { ac_try='test -s conftest.$ac_objext'
49299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49300   (eval $ac_try) 2>&5
49301   ac_status=$?
49302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49303   (exit $ac_status); }; }; then
49304   ac_header_compiler=yes
49305 else
49306   echo "$as_me: failed program was:" >&5
49307 sed 's/^/| /' conftest.$ac_ext >&5
49308
49309 ac_header_compiler=no
49310 fi
49311 rm -f conftest.$ac_objext conftest.$ac_ext
49312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49313 echo "${ECHO_T}$ac_header_compiler" >&6
49314
49315 # Is the header present?
49316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49318 cat >conftest.$ac_ext <<_ACEOF
49319 #line $LINENO "configure"
49320 /* confdefs.h.  */
49321 _ACEOF
49322 cat confdefs.h >>conftest.$ac_ext
49323 cat >>conftest.$ac_ext <<_ACEOF
49324 /* end confdefs.h.  */
49325 #include <$ac_header>
49326 _ACEOF
49327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49328   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49329   ac_status=$?
49330   grep -v '^ *+' conftest.er1 >conftest.err
49331   rm -f conftest.er1
49332   cat conftest.err >&5
49333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49334   (exit $ac_status); } >/dev/null; then
49335   if test -s conftest.err; then
49336     ac_cpp_err=$ac_c_preproc_warn_flag
49337   else
49338     ac_cpp_err=
49339   fi
49340 else
49341   ac_cpp_err=yes
49342 fi
49343 if test -z "$ac_cpp_err"; then
49344   ac_header_preproc=yes
49345 else
49346   echo "$as_me: failed program was:" >&5
49347 sed 's/^/| /' conftest.$ac_ext >&5
49348
49349   ac_header_preproc=no
49350 fi
49351 rm -f conftest.err conftest.$ac_ext
49352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49353 echo "${ECHO_T}$ac_header_preproc" >&6
49354
49355 # So?  What about this header?
49356 case $ac_header_compiler:$ac_header_preproc in
49357   yes:no )
49358     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49360     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49362     (
49363       cat <<\_ASBOX
49364 ## ------------------------------------ ##
49365 ## Report this to bug-autoconf@gnu.org. ##
49366 ## ------------------------------------ ##
49367 _ASBOX
49368     ) |
49369       sed "s/^/$as_me: WARNING:     /" >&2
49370     ;;
49371   no:yes )
49372     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49374     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49376     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49378     (
49379       cat <<\_ASBOX
49380 ## ------------------------------------ ##
49381 ## Report this to bug-autoconf@gnu.org. ##
49382 ## ------------------------------------ ##
49383 _ASBOX
49384     ) |
49385       sed "s/^/$as_me: WARNING:     /" >&2
49386     ;;
49387 esac
49388 echo "$as_me:$LINENO: checking for $ac_header" >&5
49389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49391   echo $ECHO_N "(cached) $ECHO_C" >&6
49392 else
49393   eval "$as_ac_Header=$ac_header_preproc"
49394 fi
49395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49397
49398 fi
49399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49400   cat >>confdefs.h <<_ACEOF
49401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49402 _ACEOF
49403
49404 fi
49405
49406 done
49407
49408     SECTION_FLAGS='-ffunction-sections -fdata-sections'
49409
49410
49411   # If we're not using GNU ld, then there's no point in even trying these
49412   # tests.  Check for that first.  We should have already tested for gld
49413   # by now (in libtool), but require it now just to be safe...
49414   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49415   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49416
49417
49418
49419   # The name set by libtool depends on the version of libtool.  Shame on us
49420   # for depending on an impl detail, but c'est la vie.  Older versions used
49421   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49422   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49423   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
49424   # set (hence we're using an older libtool), then set it.
49425   if test x${with_gnu_ld+set} != xset; then
49426     if test x${ac_cv_prog_gnu_ld+set} != xset; then
49427       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
49428       with_gnu_ld=no
49429     else
49430       with_gnu_ld=$ac_cv_prog_gnu_ld
49431     fi
49432   fi
49433
49434   # Start by getting the version number.  I think the libtool test already
49435   # does some of this, but throws away the result.
49436
49437   ldver=`$LD --version 2>/dev/null | head -1 | \
49438          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49439
49440   glibcxx_gnu_ld_version=`echo $ldver | \
49441          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49442
49443   # Set --gc-sections.
49444   if test "$with_gnu_ld" = "notbroken"; then
49445     # GNU ld it is!  Joy and bunny rabbits!
49446
49447     # All these tests are for C++; save the language and the compiler flags.
49448     # Need to do this so that g++ won't try to link in libstdc++
49449     ac_test_CFLAGS="${CFLAGS+set}"
49450     ac_save_CFLAGS="$CFLAGS"
49451     CFLAGS='-x c++  -Wl,--gc-sections'
49452
49453     # Check for -Wl,--gc-sections
49454     # XXX This test is broken at the moment, as symbols required for linking
49455     # are now in libsupc++ (not built yet).  In addition, this test has
49456     # cored on solaris in the past.  In addition, --gc-sections doesn't
49457     # really work at the moment (keeps on discarding used sections, first
49458     # .eh_frame and now some of the glibc sections for iconv).
49459     # Bzzzzt.  Thanks for playing, maybe next time.
49460     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49461 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49462     if test "$cross_compiling" = yes; then
49463   ac_sectionLDflags=yes
49464 else
49465   cat >conftest.$ac_ext <<_ACEOF
49466 #line $LINENO "configure"
49467 /* confdefs.h.  */
49468 _ACEOF
49469 cat confdefs.h >>conftest.$ac_ext
49470 cat >>conftest.$ac_ext <<_ACEOF
49471 /* end confdefs.h.  */
49472
49473      int main(void)
49474      {
49475        try { throw 1; }
49476        catch (...) { };
49477        return 0;
49478      }
49479
49480 _ACEOF
49481 rm -f conftest$ac_exeext
49482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49483   (eval $ac_link) 2>&5
49484   ac_status=$?
49485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49486   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49488   (eval $ac_try) 2>&5
49489   ac_status=$?
49490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49491   (exit $ac_status); }; }; then
49492   ac_sectionLDflags=yes
49493 else
49494   echo "$as_me: program exited with status $ac_status" >&5
49495 echo "$as_me: failed program was:" >&5
49496 sed 's/^/| /' conftest.$ac_ext >&5
49497
49498 ( exit $ac_status )
49499 ac_sectionLDflags=no
49500 fi
49501 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49502 fi
49503     if test "$ac_test_CFLAGS" = set; then
49504       CFLAGS="$ac_save_CFLAGS"
49505     else
49506       # this is the suspicious part
49507       CFLAGS=''
49508     fi
49509     if test "$ac_sectionLDflags" = "yes"; then
49510       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49511     fi
49512     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49513 echo "${ECHO_T}$ac_sectionLDflags" >&6
49514   fi
49515
49516   # Set linker optimization flags.
49517   if test x"$with_gnu_ld" = x"yes"; then
49518     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49519   fi
49520
49521
49522
49523
49524
49525
49526 echo "$as_me:$LINENO: checking for main in -lm" >&5
49527 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49528 if test "${ac_cv_lib_m_main+set}" = set; then
49529   echo $ECHO_N "(cached) $ECHO_C" >&6
49530 else
49531   ac_check_lib_save_LIBS=$LIBS
49532 LIBS="-lm  $LIBS"
49533 cat >conftest.$ac_ext <<_ACEOF
49534 #line $LINENO "configure"
49535 /* confdefs.h.  */
49536 _ACEOF
49537 cat confdefs.h >>conftest.$ac_ext
49538 cat >>conftest.$ac_ext <<_ACEOF
49539 /* end confdefs.h.  */
49540
49541
49542 int
49543 main ()
49544 {
49545 main ();
49546   ;
49547   return 0;
49548 }
49549 _ACEOF
49550 rm -f conftest.$ac_objext conftest$ac_exeext
49551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49552   (eval $ac_link) 2>&5
49553   ac_status=$?
49554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49555   (exit $ac_status); } &&
49556          { ac_try='test -s conftest$ac_exeext'
49557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49558   (eval $ac_try) 2>&5
49559   ac_status=$?
49560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49561   (exit $ac_status); }; }; then
49562   ac_cv_lib_m_main=yes
49563 else
49564   echo "$as_me: failed program was:" >&5
49565 sed 's/^/| /' conftest.$ac_ext >&5
49566
49567 ac_cv_lib_m_main=no
49568 fi
49569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49570 LIBS=$ac_check_lib_save_LIBS
49571 fi
49572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49573 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49574 if test $ac_cv_lib_m_main = yes; then
49575   cat >>confdefs.h <<_ACEOF
49576 #define HAVE_LIBM 1
49577 _ACEOF
49578
49579   LIBS="-lm $LIBS"
49580
49581 fi
49582
49583
49584
49585 for ac_func in nan copysignf
49586 do
49587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49588 echo "$as_me:$LINENO: checking for $ac_func" >&5
49589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49590 if eval "test \"\${$as_ac_var+set}\" = set"; then
49591   echo $ECHO_N "(cached) $ECHO_C" >&6
49592 else
49593   cat >conftest.$ac_ext <<_ACEOF
49594 #line $LINENO "configure"
49595 /* confdefs.h.  */
49596 _ACEOF
49597 cat confdefs.h >>conftest.$ac_ext
49598 cat >>conftest.$ac_ext <<_ACEOF
49599 /* end confdefs.h.  */
49600 /* System header to define __stub macros and hopefully few prototypes,
49601     which can conflict with char $ac_func (); below.
49602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49603     <limits.h> exists even on freestanding compilers.  */
49604 #ifdef __STDC__
49605 # include <limits.h>
49606 #else
49607 # include <assert.h>
49608 #endif
49609 /* Override any gcc2 internal prototype to avoid an error.  */
49610 #ifdef __cplusplus
49611 extern "C"
49612 {
49613 #endif
49614 /* We use char because int might match the return type of a gcc2
49615    builtin and then its argument prototype would still apply.  */
49616 char $ac_func ();
49617 /* The GNU C library defines this for functions which it implements
49618     to always fail with ENOSYS.  Some functions are actually named
49619     something starting with __ and the normal name is an alias.  */
49620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49621 choke me
49622 #else
49623 char (*f) () = $ac_func;
49624 #endif
49625 #ifdef __cplusplus
49626 }
49627 #endif
49628
49629 int
49630 main ()
49631 {
49632 return f != $ac_func;
49633   ;
49634   return 0;
49635 }
49636 _ACEOF
49637 rm -f conftest.$ac_objext conftest$ac_exeext
49638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49639   (eval $ac_link) 2>&5
49640   ac_status=$?
49641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642   (exit $ac_status); } &&
49643          { ac_try='test -s conftest$ac_exeext'
49644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49645   (eval $ac_try) 2>&5
49646   ac_status=$?
49647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648   (exit $ac_status); }; }; then
49649   eval "$as_ac_var=yes"
49650 else
49651   echo "$as_me: failed program was:" >&5
49652 sed 's/^/| /' conftest.$ac_ext >&5
49653
49654 eval "$as_ac_var=no"
49655 fi
49656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49657 fi
49658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49660 if test `eval echo '${'$as_ac_var'}'` = yes; then
49661   cat >>confdefs.h <<_ACEOF
49662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49663 _ACEOF
49664
49665 else
49666   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49667 fi
49668 done
49669
49670
49671
49672 for ac_func in __signbit
49673 do
49674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49675 echo "$as_me:$LINENO: checking for $ac_func" >&5
49676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49677 if eval "test \"\${$as_ac_var+set}\" = set"; then
49678   echo $ECHO_N "(cached) $ECHO_C" >&6
49679 else
49680   cat >conftest.$ac_ext <<_ACEOF
49681 #line $LINENO "configure"
49682 /* confdefs.h.  */
49683 _ACEOF
49684 cat confdefs.h >>conftest.$ac_ext
49685 cat >>conftest.$ac_ext <<_ACEOF
49686 /* end confdefs.h.  */
49687 /* System header to define __stub macros and hopefully few prototypes,
49688     which can conflict with char $ac_func (); below.
49689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49690     <limits.h> exists even on freestanding compilers.  */
49691 #ifdef __STDC__
49692 # include <limits.h>
49693 #else
49694 # include <assert.h>
49695 #endif
49696 /* Override any gcc2 internal prototype to avoid an error.  */
49697 #ifdef __cplusplus
49698 extern "C"
49699 {
49700 #endif
49701 /* We use char because int might match the return type of a gcc2
49702    builtin and then its argument prototype would still apply.  */
49703 char $ac_func ();
49704 /* The GNU C library defines this for functions which it implements
49705     to always fail with ENOSYS.  Some functions are actually named
49706     something starting with __ and the normal name is an alias.  */
49707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49708 choke me
49709 #else
49710 char (*f) () = $ac_func;
49711 #endif
49712 #ifdef __cplusplus
49713 }
49714 #endif
49715
49716 int
49717 main ()
49718 {
49719 return f != $ac_func;
49720   ;
49721   return 0;
49722 }
49723 _ACEOF
49724 rm -f conftest.$ac_objext conftest$ac_exeext
49725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49726   (eval $ac_link) 2>&5
49727   ac_status=$?
49728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49729   (exit $ac_status); } &&
49730          { ac_try='test -s conftest$ac_exeext'
49731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49732   (eval $ac_try) 2>&5
49733   ac_status=$?
49734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49735   (exit $ac_status); }; }; then
49736   eval "$as_ac_var=yes"
49737 else
49738   echo "$as_me: failed program was:" >&5
49739 sed 's/^/| /' conftest.$ac_ext >&5
49740
49741 eval "$as_ac_var=no"
49742 fi
49743 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49744 fi
49745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49747 if test `eval echo '${'$as_ac_var'}'` = yes; then
49748   cat >>confdefs.h <<_ACEOF
49749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49750 _ACEOF
49751
49752 else
49753   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49754 fi
49755 done
49756
49757
49758 for ac_func in __signbitf
49759 do
49760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49761 echo "$as_me:$LINENO: checking for $ac_func" >&5
49762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49763 if eval "test \"\${$as_ac_var+set}\" = set"; then
49764   echo $ECHO_N "(cached) $ECHO_C" >&6
49765 else
49766   cat >conftest.$ac_ext <<_ACEOF
49767 #line $LINENO "configure"
49768 /* confdefs.h.  */
49769 _ACEOF
49770 cat confdefs.h >>conftest.$ac_ext
49771 cat >>conftest.$ac_ext <<_ACEOF
49772 /* end confdefs.h.  */
49773 /* System header to define __stub macros and hopefully few prototypes,
49774     which can conflict with char $ac_func (); below.
49775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49776     <limits.h> exists even on freestanding compilers.  */
49777 #ifdef __STDC__
49778 # include <limits.h>
49779 #else
49780 # include <assert.h>
49781 #endif
49782 /* Override any gcc2 internal prototype to avoid an error.  */
49783 #ifdef __cplusplus
49784 extern "C"
49785 {
49786 #endif
49787 /* We use char because int might match the return type of a gcc2
49788    builtin and then its argument prototype would still apply.  */
49789 char $ac_func ();
49790 /* The GNU C library defines this for functions which it implements
49791     to always fail with ENOSYS.  Some functions are actually named
49792     something starting with __ and the normal name is an alias.  */
49793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49794 choke me
49795 #else
49796 char (*f) () = $ac_func;
49797 #endif
49798 #ifdef __cplusplus
49799 }
49800 #endif
49801
49802 int
49803 main ()
49804 {
49805 return f != $ac_func;
49806   ;
49807   return 0;
49808 }
49809 _ACEOF
49810 rm -f conftest.$ac_objext conftest$ac_exeext
49811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49812   (eval $ac_link) 2>&5
49813   ac_status=$?
49814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49815   (exit $ac_status); } &&
49816          { ac_try='test -s conftest$ac_exeext'
49817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49818   (eval $ac_try) 2>&5
49819   ac_status=$?
49820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49821   (exit $ac_status); }; }; then
49822   eval "$as_ac_var=yes"
49823 else
49824   echo "$as_me: failed program was:" >&5
49825 sed 's/^/| /' conftest.$ac_ext >&5
49826
49827 eval "$as_ac_var=no"
49828 fi
49829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49830 fi
49831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49833 if test `eval echo '${'$as_ac_var'}'` = yes; then
49834   cat >>confdefs.h <<_ACEOF
49835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49836 _ACEOF
49837
49838 else
49839   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49840 fi
49841 done
49842
49843
49844           if test x$ac_cv_func_copysignl = x"yes"; then
49845
49846 for ac_func in __signbitl
49847 do
49848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49849 echo "$as_me:$LINENO: checking for $ac_func" >&5
49850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49851 if eval "test \"\${$as_ac_var+set}\" = set"; then
49852   echo $ECHO_N "(cached) $ECHO_C" >&6
49853 else
49854   cat >conftest.$ac_ext <<_ACEOF
49855 #line $LINENO "configure"
49856 /* confdefs.h.  */
49857 _ACEOF
49858 cat confdefs.h >>conftest.$ac_ext
49859 cat >>conftest.$ac_ext <<_ACEOF
49860 /* end confdefs.h.  */
49861 /* System header to define __stub macros and hopefully few prototypes,
49862     which can conflict with char $ac_func (); below.
49863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49864     <limits.h> exists even on freestanding compilers.  */
49865 #ifdef __STDC__
49866 # include <limits.h>
49867 #else
49868 # include <assert.h>
49869 #endif
49870 /* Override any gcc2 internal prototype to avoid an error.  */
49871 #ifdef __cplusplus
49872 extern "C"
49873 {
49874 #endif
49875 /* We use char because int might match the return type of a gcc2
49876    builtin and then its argument prototype would still apply.  */
49877 char $ac_func ();
49878 /* The GNU C library defines this for functions which it implements
49879     to always fail with ENOSYS.  Some functions are actually named
49880     something starting with __ and the normal name is an alias.  */
49881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49882 choke me
49883 #else
49884 char (*f) () = $ac_func;
49885 #endif
49886 #ifdef __cplusplus
49887 }
49888 #endif
49889
49890 int
49891 main ()
49892 {
49893 return f != $ac_func;
49894   ;
49895   return 0;
49896 }
49897 _ACEOF
49898 rm -f conftest.$ac_objext conftest$ac_exeext
49899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49900   (eval $ac_link) 2>&5
49901   ac_status=$?
49902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49903   (exit $ac_status); } &&
49904          { ac_try='test -s conftest$ac_exeext'
49905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49906   (eval $ac_try) 2>&5
49907   ac_status=$?
49908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49909   (exit $ac_status); }; }; then
49910   eval "$as_ac_var=yes"
49911 else
49912   echo "$as_me: failed program was:" >&5
49913 sed 's/^/| /' conftest.$ac_ext >&5
49914
49915 eval "$as_ac_var=no"
49916 fi
49917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49918 fi
49919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49921 if test `eval echo '${'$as_ac_var'}'` = yes; then
49922   cat >>confdefs.h <<_ACEOF
49923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49924 _ACEOF
49925
49926 else
49927   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49928 fi
49929 done
49930
49931   fi
49932
49933   # XXX Review this.  Nothing uses it.
49934   if test -n "$LIBMATHOBJS"; then
49935     need_libmath=yes
49936   fi
49937
49938
49939
49940   # Test wchar.h for mbstate_t, which is needed for char_traits and
49941   # others even if wchar_t support is not on.
49942   echo "$as_me:$LINENO: checking for mbstate_t" >&5
49943 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49944   cat >conftest.$ac_ext <<_ACEOF
49945 #line $LINENO "configure"
49946 /* confdefs.h.  */
49947 _ACEOF
49948 cat confdefs.h >>conftest.$ac_ext
49949 cat >>conftest.$ac_ext <<_ACEOF
49950 /* end confdefs.h.  */
49951 #include <wchar.h>
49952 int
49953 main ()
49954 {
49955 mbstate_t teststate;
49956   ;
49957   return 0;
49958 }
49959 _ACEOF
49960 rm -f conftest.$ac_objext
49961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49962   (eval $ac_compile) 2>&5
49963   ac_status=$?
49964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49965   (exit $ac_status); } &&
49966          { ac_try='test -s conftest.$ac_objext'
49967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49968   (eval $ac_try) 2>&5
49969   ac_status=$?
49970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49971   (exit $ac_status); }; }; then
49972   have_mbstate_t=yes
49973 else
49974   echo "$as_me: failed program was:" >&5
49975 sed 's/^/| /' conftest.$ac_ext >&5
49976
49977 have_mbstate_t=no
49978 fi
49979 rm -f conftest.$ac_objext conftest.$ac_ext
49980   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49981 echo "${ECHO_T}$have_mbstate_t" >&6
49982   if test x"$have_mbstate_t" = xyes; then
49983     cat >>confdefs.h <<\_ACEOF
49984 #define HAVE_MBSTATE_T 1
49985 _ACEOF
49986
49987   fi
49988
49989   # Sanity check for existence of ISO C99 headers for extended encoding.
49990
49991 for ac_header in wchar.h
49992 do
49993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49995   echo "$as_me:$LINENO: checking for $ac_header" >&5
49996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49998   echo $ECHO_N "(cached) $ECHO_C" >&6
49999 fi
50000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50002 else
50003   # Is the header compilable?
50004 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50006 cat >conftest.$ac_ext <<_ACEOF
50007 #line $LINENO "configure"
50008 /* confdefs.h.  */
50009 _ACEOF
50010 cat confdefs.h >>conftest.$ac_ext
50011 cat >>conftest.$ac_ext <<_ACEOF
50012 /* end confdefs.h.  */
50013 $ac_includes_default
50014 #include <$ac_header>
50015 _ACEOF
50016 rm -f conftest.$ac_objext
50017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50018   (eval $ac_compile) 2>&5
50019   ac_status=$?
50020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50021   (exit $ac_status); } &&
50022          { ac_try='test -s conftest.$ac_objext'
50023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024   (eval $ac_try) 2>&5
50025   ac_status=$?
50026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027   (exit $ac_status); }; }; then
50028   ac_header_compiler=yes
50029 else
50030   echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50032
50033 ac_header_compiler=no
50034 fi
50035 rm -f conftest.$ac_objext conftest.$ac_ext
50036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50037 echo "${ECHO_T}$ac_header_compiler" >&6
50038
50039 # Is the header present?
50040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50042 cat >conftest.$ac_ext <<_ACEOF
50043 #line $LINENO "configure"
50044 /* confdefs.h.  */
50045 _ACEOF
50046 cat confdefs.h >>conftest.$ac_ext
50047 cat >>conftest.$ac_ext <<_ACEOF
50048 /* end confdefs.h.  */
50049 #include <$ac_header>
50050 _ACEOF
50051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50052   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50053   ac_status=$?
50054   grep -v '^ *+' conftest.er1 >conftest.err
50055   rm -f conftest.er1
50056   cat conftest.err >&5
50057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50058   (exit $ac_status); } >/dev/null; then
50059   if test -s conftest.err; then
50060     ac_cpp_err=$ac_c_preproc_warn_flag
50061   else
50062     ac_cpp_err=
50063   fi
50064 else
50065   ac_cpp_err=yes
50066 fi
50067 if test -z "$ac_cpp_err"; then
50068   ac_header_preproc=yes
50069 else
50070   echo "$as_me: failed program was:" >&5
50071 sed 's/^/| /' conftest.$ac_ext >&5
50072
50073   ac_header_preproc=no
50074 fi
50075 rm -f conftest.err conftest.$ac_ext
50076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50077 echo "${ECHO_T}$ac_header_preproc" >&6
50078
50079 # So?  What about this header?
50080 case $ac_header_compiler:$ac_header_preproc in
50081   yes:no )
50082     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50084     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50086     (
50087       cat <<\_ASBOX
50088 ## ------------------------------------ ##
50089 ## Report this to bug-autoconf@gnu.org. ##
50090 ## ------------------------------------ ##
50091 _ASBOX
50092     ) |
50093       sed "s/^/$as_me: WARNING:     /" >&2
50094     ;;
50095   no:yes )
50096     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50098     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50100     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50102     (
50103       cat <<\_ASBOX
50104 ## ------------------------------------ ##
50105 ## Report this to bug-autoconf@gnu.org. ##
50106 ## ------------------------------------ ##
50107 _ASBOX
50108     ) |
50109       sed "s/^/$as_me: WARNING:     /" >&2
50110     ;;
50111 esac
50112 echo "$as_me:$LINENO: checking for $ac_header" >&5
50113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50115   echo $ECHO_N "(cached) $ECHO_C" >&6
50116 else
50117   eval "$as_ac_Header=$ac_header_preproc"
50118 fi
50119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50121
50122 fi
50123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50124   cat >>confdefs.h <<_ACEOF
50125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50126 _ACEOF
50127  ac_has_wchar_h=yes
50128 else
50129   ac_has_wchar_h=no
50130 fi
50131
50132 done
50133
50134
50135 for ac_header in wctype.h
50136 do
50137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50139   echo "$as_me:$LINENO: checking for $ac_header" >&5
50140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50142   echo $ECHO_N "(cached) $ECHO_C" >&6
50143 fi
50144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50146 else
50147   # Is the header compilable?
50148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50150 cat >conftest.$ac_ext <<_ACEOF
50151 #line $LINENO "configure"
50152 /* confdefs.h.  */
50153 _ACEOF
50154 cat confdefs.h >>conftest.$ac_ext
50155 cat >>conftest.$ac_ext <<_ACEOF
50156 /* end confdefs.h.  */
50157 $ac_includes_default
50158 #include <$ac_header>
50159 _ACEOF
50160 rm -f conftest.$ac_objext
50161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50162   (eval $ac_compile) 2>&5
50163   ac_status=$?
50164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50165   (exit $ac_status); } &&
50166          { ac_try='test -s conftest.$ac_objext'
50167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50168   (eval $ac_try) 2>&5
50169   ac_status=$?
50170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171   (exit $ac_status); }; }; then
50172   ac_header_compiler=yes
50173 else
50174   echo "$as_me: failed program was:" >&5
50175 sed 's/^/| /' conftest.$ac_ext >&5
50176
50177 ac_header_compiler=no
50178 fi
50179 rm -f conftest.$ac_objext conftest.$ac_ext
50180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50181 echo "${ECHO_T}$ac_header_compiler" >&6
50182
50183 # Is the header present?
50184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50186 cat >conftest.$ac_ext <<_ACEOF
50187 #line $LINENO "configure"
50188 /* confdefs.h.  */
50189 _ACEOF
50190 cat confdefs.h >>conftest.$ac_ext
50191 cat >>conftest.$ac_ext <<_ACEOF
50192 /* end confdefs.h.  */
50193 #include <$ac_header>
50194 _ACEOF
50195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50196   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50197   ac_status=$?
50198   grep -v '^ *+' conftest.er1 >conftest.err
50199   rm -f conftest.er1
50200   cat conftest.err >&5
50201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50202   (exit $ac_status); } >/dev/null; then
50203   if test -s conftest.err; then
50204     ac_cpp_err=$ac_c_preproc_warn_flag
50205   else
50206     ac_cpp_err=
50207   fi
50208 else
50209   ac_cpp_err=yes
50210 fi
50211 if test -z "$ac_cpp_err"; then
50212   ac_header_preproc=yes
50213 else
50214   echo "$as_me: failed program was:" >&5
50215 sed 's/^/| /' conftest.$ac_ext >&5
50216
50217   ac_header_preproc=no
50218 fi
50219 rm -f conftest.err conftest.$ac_ext
50220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50221 echo "${ECHO_T}$ac_header_preproc" >&6
50222
50223 # So?  What about this header?
50224 case $ac_header_compiler:$ac_header_preproc in
50225   yes:no )
50226     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50228     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50230     (
50231       cat <<\_ASBOX
50232 ## ------------------------------------ ##
50233 ## Report this to bug-autoconf@gnu.org. ##
50234 ## ------------------------------------ ##
50235 _ASBOX
50236     ) |
50237       sed "s/^/$as_me: WARNING:     /" >&2
50238     ;;
50239   no:yes )
50240     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50242     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50244     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50246     (
50247       cat <<\_ASBOX
50248 ## ------------------------------------ ##
50249 ## Report this to bug-autoconf@gnu.org. ##
50250 ## ------------------------------------ ##
50251 _ASBOX
50252     ) |
50253       sed "s/^/$as_me: WARNING:     /" >&2
50254     ;;
50255 esac
50256 echo "$as_me:$LINENO: checking for $ac_header" >&5
50257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50259   echo $ECHO_N "(cached) $ECHO_C" >&6
50260 else
50261   eval "$as_ac_Header=$ac_header_preproc"
50262 fi
50263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50265
50266 fi
50267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50268   cat >>confdefs.h <<_ACEOF
50269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50270 _ACEOF
50271  ac_has_wctype_h=yes
50272 else
50273   ac_has_wctype_h=no
50274 fi
50275
50276 done
50277
50278
50279   # Only continue checking if the ISO C99 headers exist and support is on.
50280   if test x"$ac_has_wchar_h" = xyes &&
50281      test x"$ac_has_wctype_h" = xyes &&
50282      test x"$enable_c_mbchar" != xno; then
50283
50284     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50285     # numeric_limits can instantiate type_traits<wchar_t>
50286     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50287 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50288     cat >conftest.$ac_ext <<_ACEOF
50289 #line $LINENO "configure"
50290 /* confdefs.h.  */
50291 _ACEOF
50292 cat confdefs.h >>conftest.$ac_ext
50293 cat >>conftest.$ac_ext <<_ACEOF
50294 /* end confdefs.h.  */
50295 #include <wchar.h>
50296 int
50297 main ()
50298 {
50299 int i = WCHAR_MIN; int j = WCHAR_MAX;
50300   ;
50301   return 0;
50302 }
50303 _ACEOF
50304 rm -f conftest.$ac_objext
50305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50306   (eval $ac_compile) 2>&5
50307   ac_status=$?
50308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50309   (exit $ac_status); } &&
50310          { ac_try='test -s conftest.$ac_objext'
50311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50312   (eval $ac_try) 2>&5
50313   ac_status=$?
50314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50315   (exit $ac_status); }; }; then
50316   has_wchar_minmax=yes
50317 else
50318   echo "$as_me: failed program was:" >&5
50319 sed 's/^/| /' conftest.$ac_ext >&5
50320
50321 has_wchar_minmax=no
50322 fi
50323 rm -f conftest.$ac_objext conftest.$ac_ext
50324     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50325 echo "${ECHO_T}$has_wchar_minmax" >&6
50326
50327     # Test wchar.h for WEOF, which is what we use to determine whether
50328     # to specialize for char_traits<wchar_t> or not.
50329     echo "$as_me:$LINENO: checking for WEOF" >&5
50330 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50331     cat >conftest.$ac_ext <<_ACEOF
50332 #line $LINENO "configure"
50333 /* confdefs.h.  */
50334 _ACEOF
50335 cat confdefs.h >>conftest.$ac_ext
50336 cat >>conftest.$ac_ext <<_ACEOF
50337 /* end confdefs.h.  */
50338
50339       #include <wchar.h>
50340       #include <stddef.h>
50341 int
50342 main ()
50343 {
50344 wint_t i = WEOF;
50345   ;
50346   return 0;
50347 }
50348 _ACEOF
50349 rm -f conftest.$ac_objext
50350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50351   (eval $ac_compile) 2>&5
50352   ac_status=$?
50353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354   (exit $ac_status); } &&
50355          { ac_try='test -s conftest.$ac_objext'
50356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50357   (eval $ac_try) 2>&5
50358   ac_status=$?
50359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50360   (exit $ac_status); }; }; then
50361   has_weof=yes
50362 else
50363   echo "$as_me: failed program was:" >&5
50364 sed 's/^/| /' conftest.$ac_ext >&5
50365
50366 has_weof=no
50367 fi
50368 rm -f conftest.$ac_objext conftest.$ac_ext
50369     echo "$as_me:$LINENO: result: $has_weof" >&5
50370 echo "${ECHO_T}$has_weof" >&6
50371
50372     # Tests for wide character functions used in char_traits<wchar_t>.
50373     ac_wfuncs=yes
50374
50375
50376
50377
50378
50379
50380 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50381 do
50382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50383 echo "$as_me:$LINENO: checking for $ac_func" >&5
50384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50385 if eval "test \"\${$as_ac_var+set}\" = set"; then
50386   echo $ECHO_N "(cached) $ECHO_C" >&6
50387 else
50388   cat >conftest.$ac_ext <<_ACEOF
50389 #line $LINENO "configure"
50390 /* confdefs.h.  */
50391 _ACEOF
50392 cat confdefs.h >>conftest.$ac_ext
50393 cat >>conftest.$ac_ext <<_ACEOF
50394 /* end confdefs.h.  */
50395 /* System header to define __stub macros and hopefully few prototypes,
50396     which can conflict with char $ac_func (); below.
50397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50398     <limits.h> exists even on freestanding compilers.  */
50399 #ifdef __STDC__
50400 # include <limits.h>
50401 #else
50402 # include <assert.h>
50403 #endif
50404 /* Override any gcc2 internal prototype to avoid an error.  */
50405 #ifdef __cplusplus
50406 extern "C"
50407 {
50408 #endif
50409 /* We use char because int might match the return type of a gcc2
50410    builtin and then its argument prototype would still apply.  */
50411 char $ac_func ();
50412 /* The GNU C library defines this for functions which it implements
50413     to always fail with ENOSYS.  Some functions are actually named
50414     something starting with __ and the normal name is an alias.  */
50415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50416 choke me
50417 #else
50418 char (*f) () = $ac_func;
50419 #endif
50420 #ifdef __cplusplus
50421 }
50422 #endif
50423
50424 int
50425 main ()
50426 {
50427 return f != $ac_func;
50428   ;
50429   return 0;
50430 }
50431 _ACEOF
50432 rm -f conftest.$ac_objext conftest$ac_exeext
50433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50434   (eval $ac_link) 2>&5
50435   ac_status=$?
50436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50437   (exit $ac_status); } &&
50438          { ac_try='test -s conftest$ac_exeext'
50439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50440   (eval $ac_try) 2>&5
50441   ac_status=$?
50442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50443   (exit $ac_status); }; }; then
50444   eval "$as_ac_var=yes"
50445 else
50446   echo "$as_me: failed program was:" >&5
50447 sed 's/^/| /' conftest.$ac_ext >&5
50448
50449 eval "$as_ac_var=no"
50450 fi
50451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50452 fi
50453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50455 if test `eval echo '${'$as_ac_var'}'` = yes; then
50456   cat >>confdefs.h <<_ACEOF
50457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50458 _ACEOF
50459
50460 else
50461   ac_wfuncs=no
50462 fi
50463 done
50464
50465
50466     # Checks for names injected into std:: by the c_std headers.
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50518     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
50519     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50520     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
50521     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50522     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50523 do
50524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50525 echo "$as_me:$LINENO: checking for $ac_func" >&5
50526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50527 if eval "test \"\${$as_ac_var+set}\" = set"; then
50528   echo $ECHO_N "(cached) $ECHO_C" >&6
50529 else
50530   cat >conftest.$ac_ext <<_ACEOF
50531 #line $LINENO "configure"
50532 /* confdefs.h.  */
50533 _ACEOF
50534 cat confdefs.h >>conftest.$ac_ext
50535 cat >>conftest.$ac_ext <<_ACEOF
50536 /* end confdefs.h.  */
50537 /* System header to define __stub macros and hopefully few prototypes,
50538     which can conflict with char $ac_func (); below.
50539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50540     <limits.h> exists even on freestanding compilers.  */
50541 #ifdef __STDC__
50542 # include <limits.h>
50543 #else
50544 # include <assert.h>
50545 #endif
50546 /* Override any gcc2 internal prototype to avoid an error.  */
50547 #ifdef __cplusplus
50548 extern "C"
50549 {
50550 #endif
50551 /* We use char because int might match the return type of a gcc2
50552    builtin and then its argument prototype would still apply.  */
50553 char $ac_func ();
50554 /* The GNU C library defines this for functions which it implements
50555     to always fail with ENOSYS.  Some functions are actually named
50556     something starting with __ and the normal name is an alias.  */
50557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50558 choke me
50559 #else
50560 char (*f) () = $ac_func;
50561 #endif
50562 #ifdef __cplusplus
50563 }
50564 #endif
50565
50566 int
50567 main ()
50568 {
50569 return f != $ac_func;
50570   ;
50571   return 0;
50572 }
50573 _ACEOF
50574 rm -f conftest.$ac_objext conftest$ac_exeext
50575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50576   (eval $ac_link) 2>&5
50577   ac_status=$?
50578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579   (exit $ac_status); } &&
50580          { ac_try='test -s conftest$ac_exeext'
50581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50582   (eval $ac_try) 2>&5
50583   ac_status=$?
50584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50585   (exit $ac_status); }; }; then
50586   eval "$as_ac_var=yes"
50587 else
50588   echo "$as_me: failed program was:" >&5
50589 sed 's/^/| /' conftest.$ac_ext >&5
50590
50591 eval "$as_ac_var=no"
50592 fi
50593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50594 fi
50595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50597 if test `eval echo '${'$as_ac_var'}'` = yes; then
50598   cat >>confdefs.h <<_ACEOF
50599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50600 _ACEOF
50601
50602 else
50603   ac_wfuncs=no
50604 fi
50605 done
50606
50607
50608     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50609 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50610     if test x"$has_weof" = xyes &&
50611        test x"$has_wchar_minmax" = xyes &&
50612        test x"$ac_wfuncs" = xyes;
50613     then
50614       ac_isoC99_wchar_t=yes
50615     else
50616       ac_isoC99_wchar_t=no
50617     fi
50618     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50619 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50620
50621     # Use iconv for wchar_t to char conversions. As such, check for
50622     # X/Open Portability Guide, version 2 features (XPG2).
50623     if test "${ac_cv_header_iconv_h+set}" = set; then
50624   echo "$as_me:$LINENO: checking for iconv.h" >&5
50625 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50626 if test "${ac_cv_header_iconv_h+set}" = set; then
50627   echo $ECHO_N "(cached) $ECHO_C" >&6
50628 fi
50629 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50630 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50631 else
50632   # Is the header compilable?
50633 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50634 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50635 cat >conftest.$ac_ext <<_ACEOF
50636 #line $LINENO "configure"
50637 /* confdefs.h.  */
50638 _ACEOF
50639 cat confdefs.h >>conftest.$ac_ext
50640 cat >>conftest.$ac_ext <<_ACEOF
50641 /* end confdefs.h.  */
50642 $ac_includes_default
50643 #include <iconv.h>
50644 _ACEOF
50645 rm -f conftest.$ac_objext
50646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50647   (eval $ac_compile) 2>&5
50648   ac_status=$?
50649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650   (exit $ac_status); } &&
50651          { ac_try='test -s conftest.$ac_objext'
50652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50653   (eval $ac_try) 2>&5
50654   ac_status=$?
50655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50656   (exit $ac_status); }; }; then
50657   ac_header_compiler=yes
50658 else
50659   echo "$as_me: failed program was:" >&5
50660 sed 's/^/| /' conftest.$ac_ext >&5
50661
50662 ac_header_compiler=no
50663 fi
50664 rm -f conftest.$ac_objext conftest.$ac_ext
50665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50666 echo "${ECHO_T}$ac_header_compiler" >&6
50667
50668 # Is the header present?
50669 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50670 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50671 cat >conftest.$ac_ext <<_ACEOF
50672 #line $LINENO "configure"
50673 /* confdefs.h.  */
50674 _ACEOF
50675 cat confdefs.h >>conftest.$ac_ext
50676 cat >>conftest.$ac_ext <<_ACEOF
50677 /* end confdefs.h.  */
50678 #include <iconv.h>
50679 _ACEOF
50680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50681   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50682   ac_status=$?
50683   grep -v '^ *+' conftest.er1 >conftest.err
50684   rm -f conftest.er1
50685   cat conftest.err >&5
50686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50687   (exit $ac_status); } >/dev/null; then
50688   if test -s conftest.err; then
50689     ac_cpp_err=$ac_c_preproc_warn_flag
50690   else
50691     ac_cpp_err=
50692   fi
50693 else
50694   ac_cpp_err=yes
50695 fi
50696 if test -z "$ac_cpp_err"; then
50697   ac_header_preproc=yes
50698 else
50699   echo "$as_me: failed program was:" >&5
50700 sed 's/^/| /' conftest.$ac_ext >&5
50701
50702   ac_header_preproc=no
50703 fi
50704 rm -f conftest.err conftest.$ac_ext
50705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50706 echo "${ECHO_T}$ac_header_preproc" >&6
50707
50708 # So?  What about this header?
50709 case $ac_header_compiler:$ac_header_preproc in
50710   yes:no )
50711     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50712 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50713     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50714 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50715     (
50716       cat <<\_ASBOX
50717 ## ------------------------------------ ##
50718 ## Report this to bug-autoconf@gnu.org. ##
50719 ## ------------------------------------ ##
50720 _ASBOX
50721     ) |
50722       sed "s/^/$as_me: WARNING:     /" >&2
50723     ;;
50724   no:yes )
50725     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50726 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50727     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50728 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50729     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50730 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50731     (
50732       cat <<\_ASBOX
50733 ## ------------------------------------ ##
50734 ## Report this to bug-autoconf@gnu.org. ##
50735 ## ------------------------------------ ##
50736 _ASBOX
50737     ) |
50738       sed "s/^/$as_me: WARNING:     /" >&2
50739     ;;
50740 esac
50741 echo "$as_me:$LINENO: checking for iconv.h" >&5
50742 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50743 if test "${ac_cv_header_iconv_h+set}" = set; then
50744   echo $ECHO_N "(cached) $ECHO_C" >&6
50745 else
50746   ac_cv_header_iconv_h=$ac_header_preproc
50747 fi
50748 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50749 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50750
50751 fi
50752 if test $ac_cv_header_iconv_h = yes; then
50753   ac_has_iconv_h=yes
50754 else
50755   ac_has_iconv_h=no
50756 fi
50757
50758
50759     if test "${ac_cv_header_langinfo_h+set}" = set; then
50760   echo "$as_me:$LINENO: checking for langinfo.h" >&5
50761 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50762 if test "${ac_cv_header_langinfo_h+set}" = set; then
50763   echo $ECHO_N "(cached) $ECHO_C" >&6
50764 fi
50765 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50766 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50767 else
50768   # Is the header compilable?
50769 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50770 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50771 cat >conftest.$ac_ext <<_ACEOF
50772 #line $LINENO "configure"
50773 /* confdefs.h.  */
50774 _ACEOF
50775 cat confdefs.h >>conftest.$ac_ext
50776 cat >>conftest.$ac_ext <<_ACEOF
50777 /* end confdefs.h.  */
50778 $ac_includes_default
50779 #include <langinfo.h>
50780 _ACEOF
50781 rm -f conftest.$ac_objext
50782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50783   (eval $ac_compile) 2>&5
50784   ac_status=$?
50785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50786   (exit $ac_status); } &&
50787          { ac_try='test -s conftest.$ac_objext'
50788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50789   (eval $ac_try) 2>&5
50790   ac_status=$?
50791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792   (exit $ac_status); }; }; then
50793   ac_header_compiler=yes
50794 else
50795   echo "$as_me: failed program was:" >&5
50796 sed 's/^/| /' conftest.$ac_ext >&5
50797
50798 ac_header_compiler=no
50799 fi
50800 rm -f conftest.$ac_objext conftest.$ac_ext
50801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50802 echo "${ECHO_T}$ac_header_compiler" >&6
50803
50804 # Is the header present?
50805 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50806 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50807 cat >conftest.$ac_ext <<_ACEOF
50808 #line $LINENO "configure"
50809 /* confdefs.h.  */
50810 _ACEOF
50811 cat confdefs.h >>conftest.$ac_ext
50812 cat >>conftest.$ac_ext <<_ACEOF
50813 /* end confdefs.h.  */
50814 #include <langinfo.h>
50815 _ACEOF
50816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50817   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50818   ac_status=$?
50819   grep -v '^ *+' conftest.er1 >conftest.err
50820   rm -f conftest.er1
50821   cat conftest.err >&5
50822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50823   (exit $ac_status); } >/dev/null; then
50824   if test -s conftest.err; then
50825     ac_cpp_err=$ac_c_preproc_warn_flag
50826   else
50827     ac_cpp_err=
50828   fi
50829 else
50830   ac_cpp_err=yes
50831 fi
50832 if test -z "$ac_cpp_err"; then
50833   ac_header_preproc=yes
50834 else
50835   echo "$as_me: failed program was:" >&5
50836 sed 's/^/| /' conftest.$ac_ext >&5
50837
50838   ac_header_preproc=no
50839 fi
50840 rm -f conftest.err conftest.$ac_ext
50841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50842 echo "${ECHO_T}$ac_header_preproc" >&6
50843
50844 # So?  What about this header?
50845 case $ac_header_compiler:$ac_header_preproc in
50846   yes:no )
50847     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50848 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50849     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50850 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50851     (
50852       cat <<\_ASBOX
50853 ## ------------------------------------ ##
50854 ## Report this to bug-autoconf@gnu.org. ##
50855 ## ------------------------------------ ##
50856 _ASBOX
50857     ) |
50858       sed "s/^/$as_me: WARNING:     /" >&2
50859     ;;
50860   no:yes )
50861     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50862 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50863     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50864 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50865     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50866 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50867     (
50868       cat <<\_ASBOX
50869 ## ------------------------------------ ##
50870 ## Report this to bug-autoconf@gnu.org. ##
50871 ## ------------------------------------ ##
50872 _ASBOX
50873     ) |
50874       sed "s/^/$as_me: WARNING:     /" >&2
50875     ;;
50876 esac
50877 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50878 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50879 if test "${ac_cv_header_langinfo_h+set}" = set; then
50880   echo $ECHO_N "(cached) $ECHO_C" >&6
50881 else
50882   ac_cv_header_langinfo_h=$ac_header_preproc
50883 fi
50884 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50885 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50886
50887 fi
50888 if test $ac_cv_header_langinfo_h = yes; then
50889   ac_has_langinfo_h=yes
50890 else
50891   ac_has_langinfo_h=no
50892 fi
50893
50894
50895
50896     # Check for existence of libiconv.a providing XPG2 wchar_t support.
50897     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50898 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50899 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50900   echo $ECHO_N "(cached) $ECHO_C" >&6
50901 else
50902   ac_check_lib_save_LIBS=$LIBS
50903 LIBS="-liconv  $LIBS"
50904 cat >conftest.$ac_ext <<_ACEOF
50905 #line $LINENO "configure"
50906 /* confdefs.h.  */
50907 _ACEOF
50908 cat confdefs.h >>conftest.$ac_ext
50909 cat >>conftest.$ac_ext <<_ACEOF
50910 /* end confdefs.h.  */
50911
50912 /* Override any gcc2 internal prototype to avoid an error.  */
50913 #ifdef __cplusplus
50914 extern "C"
50915 #endif
50916 /* We use char because int might match the return type of a gcc2
50917    builtin and then its argument prototype would still apply.  */
50918 char iconv ();
50919 int
50920 main ()
50921 {
50922 iconv ();
50923   ;
50924   return 0;
50925 }
50926 _ACEOF
50927 rm -f conftest.$ac_objext conftest$ac_exeext
50928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50929   (eval $ac_link) 2>&5
50930   ac_status=$?
50931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50932   (exit $ac_status); } &&
50933          { ac_try='test -s conftest$ac_exeext'
50934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50935   (eval $ac_try) 2>&5
50936   ac_status=$?
50937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50938   (exit $ac_status); }; }; then
50939   ac_cv_lib_iconv_iconv=yes
50940 else
50941   echo "$as_me: failed program was:" >&5
50942 sed 's/^/| /' conftest.$ac_ext >&5
50943
50944 ac_cv_lib_iconv_iconv=no
50945 fi
50946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50947 LIBS=$ac_check_lib_save_LIBS
50948 fi
50949 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50950 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50951 if test $ac_cv_lib_iconv_iconv = yes; then
50952   libiconv="-liconv"
50953 fi
50954
50955     ac_save_LIBS="$LIBS"
50956     LIBS="$LIBS $libiconv"
50957
50958
50959
50960
50961
50962 for ac_func in iconv_open iconv_close iconv nl_langinfo
50963 do
50964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50965 echo "$as_me:$LINENO: checking for $ac_func" >&5
50966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50967 if eval "test \"\${$as_ac_var+set}\" = set"; then
50968   echo $ECHO_N "(cached) $ECHO_C" >&6
50969 else
50970   cat >conftest.$ac_ext <<_ACEOF
50971 #line $LINENO "configure"
50972 /* confdefs.h.  */
50973 _ACEOF
50974 cat confdefs.h >>conftest.$ac_ext
50975 cat >>conftest.$ac_ext <<_ACEOF
50976 /* end confdefs.h.  */
50977 /* System header to define __stub macros and hopefully few prototypes,
50978     which can conflict with char $ac_func (); below.
50979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50980     <limits.h> exists even on freestanding compilers.  */
50981 #ifdef __STDC__
50982 # include <limits.h>
50983 #else
50984 # include <assert.h>
50985 #endif
50986 /* Override any gcc2 internal prototype to avoid an error.  */
50987 #ifdef __cplusplus
50988 extern "C"
50989 {
50990 #endif
50991 /* We use char because int might match the return type of a gcc2
50992    builtin and then its argument prototype would still apply.  */
50993 char $ac_func ();
50994 /* The GNU C library defines this for functions which it implements
50995     to always fail with ENOSYS.  Some functions are actually named
50996     something starting with __ and the normal name is an alias.  */
50997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50998 choke me
50999 #else
51000 char (*f) () = $ac_func;
51001 #endif
51002 #ifdef __cplusplus
51003 }
51004 #endif
51005
51006 int
51007 main ()
51008 {
51009 return f != $ac_func;
51010   ;
51011   return 0;
51012 }
51013 _ACEOF
51014 rm -f conftest.$ac_objext conftest$ac_exeext
51015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51016   (eval $ac_link) 2>&5
51017   ac_status=$?
51018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51019   (exit $ac_status); } &&
51020          { ac_try='test -s conftest$ac_exeext'
51021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51022   (eval $ac_try) 2>&5
51023   ac_status=$?
51024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51025   (exit $ac_status); }; }; then
51026   eval "$as_ac_var=yes"
51027 else
51028   echo "$as_me: failed program was:" >&5
51029 sed 's/^/| /' conftest.$ac_ext >&5
51030
51031 eval "$as_ac_var=no"
51032 fi
51033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51034 fi
51035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51037 if test `eval echo '${'$as_ac_var'}'` = yes; then
51038   cat >>confdefs.h <<_ACEOF
51039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51040 _ACEOF
51041  ac_XPG2funcs=yes
51042 else
51043   ac_XPG2funcs=no
51044 fi
51045 done
51046
51047
51048     LIBS="$ac_save_LIBS"
51049
51050     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
51051 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
51052     if test x"$ac_has_iconv_h" = xyes &&
51053        test x"$ac_has_langinfo_h" = xyes &&
51054        test x"$ac_XPG2funcs" = xyes;
51055     then
51056       ac_XPG2_wchar_t=yes
51057     else
51058       ac_XPG2_wchar_t=no
51059     fi
51060     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
51061 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
51062
51063     # At the moment, only enable wchar_t specializations if all the
51064     # above support is present.
51065     if test x"$ac_isoC99_wchar_t" = xyes &&
51066        test x"$ac_XPG2_wchar_t" = xyes;
51067     then
51068       cat >>confdefs.h <<\_ACEOF
51069 #define _GLIBCXX_USE_WCHAR_T 1
51070 _ACEOF
51071
51072       enable_wchar_t=yes
51073     fi
51074   fi
51075   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51076 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51077   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51078 echo "${ECHO_T}$enable_wchar_t" >&6
51079
51080     cat >>confdefs.h <<\_ACEOF
51081 #define HAVE_COPYSIGN 1
51082 _ACEOF
51083
51084     cat >>confdefs.h <<\_ACEOF
51085 #define HAVE_COPYSIGNF 1
51086 _ACEOF
51087
51088     cat >>confdefs.h <<\_ACEOF
51089 #define HAVE_FINITE 1
51090 _ACEOF
51091
51092     cat >>confdefs.h <<\_ACEOF
51093 #define HAVE_FINITEF 1
51094 _ACEOF
51095
51096     cat >>confdefs.h <<\_ACEOF
51097 #define HAVE_FREXPF 1
51098 _ACEOF
51099
51100     cat >>confdefs.h <<\_ACEOF
51101 #define HAVE_HYPOTF 1
51102 _ACEOF
51103
51104     cat >>confdefs.h <<\_ACEOF
51105 #define HAVE_ISINF 1
51106 _ACEOF
51107
51108     cat >>confdefs.h <<\_ACEOF
51109 #define HAVE_ISINFF 1
51110 _ACEOF
51111
51112     cat >>confdefs.h <<\_ACEOF
51113 #define HAVE_ISNAN 1
51114 _ACEOF
51115
51116     cat >>confdefs.h <<\_ACEOF
51117 #define HAVE_ISNANF 1
51118 _ACEOF
51119
51120     cat >>confdefs.h <<\_ACEOF
51121 #define HAVE_SINCOS 1
51122 _ACEOF
51123
51124     cat >>confdefs.h <<\_ACEOF
51125 #define HAVE_SINCOSF 1
51126 _ACEOF
51127
51128     if test x"long_double_math_on_this_cpu" = x"yes"; then
51129       cat >>confdefs.h <<\_ACEOF
51130 #define HAVE_FINITEL 1
51131 _ACEOF
51132
51133       cat >>confdefs.h <<\_ACEOF
51134 #define HAVE_HYPOTL 1
51135 _ACEOF
51136
51137       cat >>confdefs.h <<\_ACEOF
51138 #define HAVE_ISINFL 1
51139 _ACEOF
51140
51141       cat >>confdefs.h <<\_ACEOF
51142 #define HAVE_ISNANL 1
51143 _ACEOF
51144
51145     fi
51146     ;;
51147   *-mingw32*)
51148     #os_include_dir="os/mingw32"
51149
51150
51151
51152 for ac_header in sys/types.h locale.h float.h
51153 do
51154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51156   echo "$as_me:$LINENO: checking for $ac_header" >&5
51157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51159   echo $ECHO_N "(cached) $ECHO_C" >&6
51160 fi
51161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51163 else
51164   # Is the header compilable?
51165 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51167 cat >conftest.$ac_ext <<_ACEOF
51168 #line $LINENO "configure"
51169 /* confdefs.h.  */
51170 _ACEOF
51171 cat confdefs.h >>conftest.$ac_ext
51172 cat >>conftest.$ac_ext <<_ACEOF
51173 /* end confdefs.h.  */
51174 $ac_includes_default
51175 #include <$ac_header>
51176 _ACEOF
51177 rm -f conftest.$ac_objext
51178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51179   (eval $ac_compile) 2>&5
51180   ac_status=$?
51181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51182   (exit $ac_status); } &&
51183          { ac_try='test -s conftest.$ac_objext'
51184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51185   (eval $ac_try) 2>&5
51186   ac_status=$?
51187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51188   (exit $ac_status); }; }; then
51189   ac_header_compiler=yes
51190 else
51191   echo "$as_me: failed program was:" >&5
51192 sed 's/^/| /' conftest.$ac_ext >&5
51193
51194 ac_header_compiler=no
51195 fi
51196 rm -f conftest.$ac_objext conftest.$ac_ext
51197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51198 echo "${ECHO_T}$ac_header_compiler" >&6
51199
51200 # Is the header present?
51201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51203 cat >conftest.$ac_ext <<_ACEOF
51204 #line $LINENO "configure"
51205 /* confdefs.h.  */
51206 _ACEOF
51207 cat confdefs.h >>conftest.$ac_ext
51208 cat >>conftest.$ac_ext <<_ACEOF
51209 /* end confdefs.h.  */
51210 #include <$ac_header>
51211 _ACEOF
51212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51213   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51214   ac_status=$?
51215   grep -v '^ *+' conftest.er1 >conftest.err
51216   rm -f conftest.er1
51217   cat conftest.err >&5
51218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51219   (exit $ac_status); } >/dev/null; then
51220   if test -s conftest.err; then
51221     ac_cpp_err=$ac_c_preproc_warn_flag
51222   else
51223     ac_cpp_err=
51224   fi
51225 else
51226   ac_cpp_err=yes
51227 fi
51228 if test -z "$ac_cpp_err"; then
51229   ac_header_preproc=yes
51230 else
51231   echo "$as_me: failed program was:" >&5
51232 sed 's/^/| /' conftest.$ac_ext >&5
51233
51234   ac_header_preproc=no
51235 fi
51236 rm -f conftest.err conftest.$ac_ext
51237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51238 echo "${ECHO_T}$ac_header_preproc" >&6
51239
51240 # So?  What about this header?
51241 case $ac_header_compiler:$ac_header_preproc in
51242   yes:no )
51243     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51245     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51247     (
51248       cat <<\_ASBOX
51249 ## ------------------------------------ ##
51250 ## Report this to bug-autoconf@gnu.org. ##
51251 ## ------------------------------------ ##
51252 _ASBOX
51253     ) |
51254       sed "s/^/$as_me: WARNING:     /" >&2
51255     ;;
51256   no:yes )
51257     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51259     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51263     (
51264       cat <<\_ASBOX
51265 ## ------------------------------------ ##
51266 ## Report this to bug-autoconf@gnu.org. ##
51267 ## ------------------------------------ ##
51268 _ASBOX
51269     ) |
51270       sed "s/^/$as_me: WARNING:     /" >&2
51271     ;;
51272 esac
51273 echo "$as_me:$LINENO: checking for $ac_header" >&5
51274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51276   echo $ECHO_N "(cached) $ECHO_C" >&6
51277 else
51278   eval "$as_ac_Header=$ac_header_preproc"
51279 fi
51280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51282
51283 fi
51284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51285   cat >>confdefs.h <<_ACEOF
51286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51287 _ACEOF
51288
51289 fi
51290
51291 done
51292
51293
51294   # If we're not using GNU ld, then there's no point in even trying these
51295   # tests.  Check for that first.  We should have already tested for gld
51296   # by now (in libtool), but require it now just to be safe...
51297   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51298   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51299
51300
51301
51302   # The name set by libtool depends on the version of libtool.  Shame on us
51303   # for depending on an impl detail, but c'est la vie.  Older versions used
51304   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51305   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51306   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51307   # set (hence we're using an older libtool), then set it.
51308   if test x${with_gnu_ld+set} != xset; then
51309     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51310       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51311       with_gnu_ld=no
51312     else
51313       with_gnu_ld=$ac_cv_prog_gnu_ld
51314     fi
51315   fi
51316
51317   # Start by getting the version number.  I think the libtool test already
51318   # does some of this, but throws away the result.
51319
51320   ldver=`$LD --version 2>/dev/null | head -1 | \
51321          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51322
51323   glibcxx_gnu_ld_version=`echo $ldver | \
51324          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51325
51326   # Set --gc-sections.
51327   if test "$with_gnu_ld" = "notbroken"; then
51328     # GNU ld it is!  Joy and bunny rabbits!
51329
51330     # All these tests are for C++; save the language and the compiler flags.
51331     # Need to do this so that g++ won't try to link in libstdc++
51332     ac_test_CFLAGS="${CFLAGS+set}"
51333     ac_save_CFLAGS="$CFLAGS"
51334     CFLAGS='-x c++  -Wl,--gc-sections'
51335
51336     # Check for -Wl,--gc-sections
51337     # XXX This test is broken at the moment, as symbols required for linking
51338     # are now in libsupc++ (not built yet).  In addition, this test has
51339     # cored on solaris in the past.  In addition, --gc-sections doesn't
51340     # really work at the moment (keeps on discarding used sections, first
51341     # .eh_frame and now some of the glibc sections for iconv).
51342     # Bzzzzt.  Thanks for playing, maybe next time.
51343     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51345     if test "$cross_compiling" = yes; then
51346   ac_sectionLDflags=yes
51347 else
51348   cat >conftest.$ac_ext <<_ACEOF
51349 #line $LINENO "configure"
51350 /* confdefs.h.  */
51351 _ACEOF
51352 cat confdefs.h >>conftest.$ac_ext
51353 cat >>conftest.$ac_ext <<_ACEOF
51354 /* end confdefs.h.  */
51355
51356      int main(void)
51357      {
51358        try { throw 1; }
51359        catch (...) { };
51360        return 0;
51361      }
51362
51363 _ACEOF
51364 rm -f conftest$ac_exeext
51365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51366   (eval $ac_link) 2>&5
51367   ac_status=$?
51368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51369   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51371   (eval $ac_try) 2>&5
51372   ac_status=$?
51373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51374   (exit $ac_status); }; }; then
51375   ac_sectionLDflags=yes
51376 else
51377   echo "$as_me: program exited with status $ac_status" >&5
51378 echo "$as_me: failed program was:" >&5
51379 sed 's/^/| /' conftest.$ac_ext >&5
51380
51381 ( exit $ac_status )
51382 ac_sectionLDflags=no
51383 fi
51384 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51385 fi
51386     if test "$ac_test_CFLAGS" = set; then
51387       CFLAGS="$ac_save_CFLAGS"
51388     else
51389       # this is the suspicious part
51390       CFLAGS=''
51391     fi
51392     if test "$ac_sectionLDflags" = "yes"; then
51393       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51394     fi
51395     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51396 echo "${ECHO_T}$ac_sectionLDflags" >&6
51397   fi
51398
51399   # Set linker optimization flags.
51400   if test x"$with_gnu_ld" = x"yes"; then
51401     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51402   fi
51403
51404
51405
51406
51407
51408
51409 echo "$as_me:$LINENO: checking for main in -lm" >&5
51410 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51411 if test "${ac_cv_lib_m_main+set}" = set; then
51412   echo $ECHO_N "(cached) $ECHO_C" >&6
51413 else
51414   ac_check_lib_save_LIBS=$LIBS
51415 LIBS="-lm  $LIBS"
51416 cat >conftest.$ac_ext <<_ACEOF
51417 #line $LINENO "configure"
51418 /* confdefs.h.  */
51419 _ACEOF
51420 cat confdefs.h >>conftest.$ac_ext
51421 cat >>conftest.$ac_ext <<_ACEOF
51422 /* end confdefs.h.  */
51423
51424
51425 int
51426 main ()
51427 {
51428 main ();
51429   ;
51430   return 0;
51431 }
51432 _ACEOF
51433 rm -f conftest.$ac_objext conftest$ac_exeext
51434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51435   (eval $ac_link) 2>&5
51436   ac_status=$?
51437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51438   (exit $ac_status); } &&
51439          { ac_try='test -s conftest$ac_exeext'
51440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51441   (eval $ac_try) 2>&5
51442   ac_status=$?
51443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444   (exit $ac_status); }; }; then
51445   ac_cv_lib_m_main=yes
51446 else
51447   echo "$as_me: failed program was:" >&5
51448 sed 's/^/| /' conftest.$ac_ext >&5
51449
51450 ac_cv_lib_m_main=no
51451 fi
51452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51453 LIBS=$ac_check_lib_save_LIBS
51454 fi
51455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51456 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51457 if test $ac_cv_lib_m_main = yes; then
51458   cat >>confdefs.h <<_ACEOF
51459 #define HAVE_LIBM 1
51460 _ACEOF
51461
51462   LIBS="-lm $LIBS"
51463
51464 fi
51465
51466
51467
51468 for ac_func in nan copysignf
51469 do
51470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51471 echo "$as_me:$LINENO: checking for $ac_func" >&5
51472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51473 if eval "test \"\${$as_ac_var+set}\" = set"; then
51474   echo $ECHO_N "(cached) $ECHO_C" >&6
51475 else
51476   cat >conftest.$ac_ext <<_ACEOF
51477 #line $LINENO "configure"
51478 /* confdefs.h.  */
51479 _ACEOF
51480 cat confdefs.h >>conftest.$ac_ext
51481 cat >>conftest.$ac_ext <<_ACEOF
51482 /* end confdefs.h.  */
51483 /* System header to define __stub macros and hopefully few prototypes,
51484     which can conflict with char $ac_func (); below.
51485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51486     <limits.h> exists even on freestanding compilers.  */
51487 #ifdef __STDC__
51488 # include <limits.h>
51489 #else
51490 # include <assert.h>
51491 #endif
51492 /* Override any gcc2 internal prototype to avoid an error.  */
51493 #ifdef __cplusplus
51494 extern "C"
51495 {
51496 #endif
51497 /* We use char because int might match the return type of a gcc2
51498    builtin and then its argument prototype would still apply.  */
51499 char $ac_func ();
51500 /* The GNU C library defines this for functions which it implements
51501     to always fail with ENOSYS.  Some functions are actually named
51502     something starting with __ and the normal name is an alias.  */
51503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51504 choke me
51505 #else
51506 char (*f) () = $ac_func;
51507 #endif
51508 #ifdef __cplusplus
51509 }
51510 #endif
51511
51512 int
51513 main ()
51514 {
51515 return f != $ac_func;
51516   ;
51517   return 0;
51518 }
51519 _ACEOF
51520 rm -f conftest.$ac_objext conftest$ac_exeext
51521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51522   (eval $ac_link) 2>&5
51523   ac_status=$?
51524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51525   (exit $ac_status); } &&
51526          { ac_try='test -s conftest$ac_exeext'
51527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51528   (eval $ac_try) 2>&5
51529   ac_status=$?
51530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531   (exit $ac_status); }; }; then
51532   eval "$as_ac_var=yes"
51533 else
51534   echo "$as_me: failed program was:" >&5
51535 sed 's/^/| /' conftest.$ac_ext >&5
51536
51537 eval "$as_ac_var=no"
51538 fi
51539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51540 fi
51541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51543 if test `eval echo '${'$as_ac_var'}'` = yes; then
51544   cat >>confdefs.h <<_ACEOF
51545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51546 _ACEOF
51547
51548 else
51549   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51550 fi
51551 done
51552
51553
51554
51555 for ac_func in __signbit
51556 do
51557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51558 echo "$as_me:$LINENO: checking for $ac_func" >&5
51559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51560 if eval "test \"\${$as_ac_var+set}\" = set"; then
51561   echo $ECHO_N "(cached) $ECHO_C" >&6
51562 else
51563   cat >conftest.$ac_ext <<_ACEOF
51564 #line $LINENO "configure"
51565 /* confdefs.h.  */
51566 _ACEOF
51567 cat confdefs.h >>conftest.$ac_ext
51568 cat >>conftest.$ac_ext <<_ACEOF
51569 /* end confdefs.h.  */
51570 /* System header to define __stub macros and hopefully few prototypes,
51571     which can conflict with char $ac_func (); below.
51572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51573     <limits.h> exists even on freestanding compilers.  */
51574 #ifdef __STDC__
51575 # include <limits.h>
51576 #else
51577 # include <assert.h>
51578 #endif
51579 /* Override any gcc2 internal prototype to avoid an error.  */
51580 #ifdef __cplusplus
51581 extern "C"
51582 {
51583 #endif
51584 /* We use char because int might match the return type of a gcc2
51585    builtin and then its argument prototype would still apply.  */
51586 char $ac_func ();
51587 /* The GNU C library defines this for functions which it implements
51588     to always fail with ENOSYS.  Some functions are actually named
51589     something starting with __ and the normal name is an alias.  */
51590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51591 choke me
51592 #else
51593 char (*f) () = $ac_func;
51594 #endif
51595 #ifdef __cplusplus
51596 }
51597 #endif
51598
51599 int
51600 main ()
51601 {
51602 return f != $ac_func;
51603   ;
51604   return 0;
51605 }
51606 _ACEOF
51607 rm -f conftest.$ac_objext conftest$ac_exeext
51608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51609   (eval $ac_link) 2>&5
51610   ac_status=$?
51611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51612   (exit $ac_status); } &&
51613          { ac_try='test -s conftest$ac_exeext'
51614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51615   (eval $ac_try) 2>&5
51616   ac_status=$?
51617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51618   (exit $ac_status); }; }; then
51619   eval "$as_ac_var=yes"
51620 else
51621   echo "$as_me: failed program was:" >&5
51622 sed 's/^/| /' conftest.$ac_ext >&5
51623
51624 eval "$as_ac_var=no"
51625 fi
51626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51627 fi
51628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51630 if test `eval echo '${'$as_ac_var'}'` = yes; then
51631   cat >>confdefs.h <<_ACEOF
51632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51633 _ACEOF
51634
51635 else
51636   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51637 fi
51638 done
51639
51640
51641 for ac_func in __signbitf
51642 do
51643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51644 echo "$as_me:$LINENO: checking for $ac_func" >&5
51645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51646 if eval "test \"\${$as_ac_var+set}\" = set"; then
51647   echo $ECHO_N "(cached) $ECHO_C" >&6
51648 else
51649   cat >conftest.$ac_ext <<_ACEOF
51650 #line $LINENO "configure"
51651 /* confdefs.h.  */
51652 _ACEOF
51653 cat confdefs.h >>conftest.$ac_ext
51654 cat >>conftest.$ac_ext <<_ACEOF
51655 /* end confdefs.h.  */
51656 /* System header to define __stub macros and hopefully few prototypes,
51657     which can conflict with char $ac_func (); below.
51658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51659     <limits.h> exists even on freestanding compilers.  */
51660 #ifdef __STDC__
51661 # include <limits.h>
51662 #else
51663 # include <assert.h>
51664 #endif
51665 /* Override any gcc2 internal prototype to avoid an error.  */
51666 #ifdef __cplusplus
51667 extern "C"
51668 {
51669 #endif
51670 /* We use char because int might match the return type of a gcc2
51671    builtin and then its argument prototype would still apply.  */
51672 char $ac_func ();
51673 /* The GNU C library defines this for functions which it implements
51674     to always fail with ENOSYS.  Some functions are actually named
51675     something starting with __ and the normal name is an alias.  */
51676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51677 choke me
51678 #else
51679 char (*f) () = $ac_func;
51680 #endif
51681 #ifdef __cplusplus
51682 }
51683 #endif
51684
51685 int
51686 main ()
51687 {
51688 return f != $ac_func;
51689   ;
51690   return 0;
51691 }
51692 _ACEOF
51693 rm -f conftest.$ac_objext conftest$ac_exeext
51694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51695   (eval $ac_link) 2>&5
51696   ac_status=$?
51697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51698   (exit $ac_status); } &&
51699          { ac_try='test -s conftest$ac_exeext'
51700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51701   (eval $ac_try) 2>&5
51702   ac_status=$?
51703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51704   (exit $ac_status); }; }; then
51705   eval "$as_ac_var=yes"
51706 else
51707   echo "$as_me: failed program was:" >&5
51708 sed 's/^/| /' conftest.$ac_ext >&5
51709
51710 eval "$as_ac_var=no"
51711 fi
51712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51713 fi
51714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51716 if test `eval echo '${'$as_ac_var'}'` = yes; then
51717   cat >>confdefs.h <<_ACEOF
51718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51719 _ACEOF
51720
51721 else
51722   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51723 fi
51724 done
51725
51726
51727           if test x$ac_cv_func_copysignl = x"yes"; then
51728
51729 for ac_func in __signbitl
51730 do
51731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51732 echo "$as_me:$LINENO: checking for $ac_func" >&5
51733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51734 if eval "test \"\${$as_ac_var+set}\" = set"; then
51735   echo $ECHO_N "(cached) $ECHO_C" >&6
51736 else
51737   cat >conftest.$ac_ext <<_ACEOF
51738 #line $LINENO "configure"
51739 /* confdefs.h.  */
51740 _ACEOF
51741 cat confdefs.h >>conftest.$ac_ext
51742 cat >>conftest.$ac_ext <<_ACEOF
51743 /* end confdefs.h.  */
51744 /* System header to define __stub macros and hopefully few prototypes,
51745     which can conflict with char $ac_func (); below.
51746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51747     <limits.h> exists even on freestanding compilers.  */
51748 #ifdef __STDC__
51749 # include <limits.h>
51750 #else
51751 # include <assert.h>
51752 #endif
51753 /* Override any gcc2 internal prototype to avoid an error.  */
51754 #ifdef __cplusplus
51755 extern "C"
51756 {
51757 #endif
51758 /* We use char because int might match the return type of a gcc2
51759    builtin and then its argument prototype would still apply.  */
51760 char $ac_func ();
51761 /* The GNU C library defines this for functions which it implements
51762     to always fail with ENOSYS.  Some functions are actually named
51763     something starting with __ and the normal name is an alias.  */
51764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51765 choke me
51766 #else
51767 char (*f) () = $ac_func;
51768 #endif
51769 #ifdef __cplusplus
51770 }
51771 #endif
51772
51773 int
51774 main ()
51775 {
51776 return f != $ac_func;
51777   ;
51778   return 0;
51779 }
51780 _ACEOF
51781 rm -f conftest.$ac_objext conftest$ac_exeext
51782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51783   (eval $ac_link) 2>&5
51784   ac_status=$?
51785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51786   (exit $ac_status); } &&
51787          { ac_try='test -s conftest$ac_exeext'
51788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51789   (eval $ac_try) 2>&5
51790   ac_status=$?
51791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51792   (exit $ac_status); }; }; then
51793   eval "$as_ac_var=yes"
51794 else
51795   echo "$as_me: failed program was:" >&5
51796 sed 's/^/| /' conftest.$ac_ext >&5
51797
51798 eval "$as_ac_var=no"
51799 fi
51800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51801 fi
51802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51804 if test `eval echo '${'$as_ac_var'}'` = yes; then
51805   cat >>confdefs.h <<_ACEOF
51806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51807 _ACEOF
51808
51809 else
51810   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51811 fi
51812 done
51813
51814   fi
51815
51816   # XXX Review this.  Nothing uses it.
51817   if test -n "$LIBMATHOBJS"; then
51818     need_libmath=yes
51819   fi
51820
51821
51822
51823   # Test wchar.h for mbstate_t, which is needed for char_traits and
51824   # others even if wchar_t support is not on.
51825   echo "$as_me:$LINENO: checking for mbstate_t" >&5
51826 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51827   cat >conftest.$ac_ext <<_ACEOF
51828 #line $LINENO "configure"
51829 /* confdefs.h.  */
51830 _ACEOF
51831 cat confdefs.h >>conftest.$ac_ext
51832 cat >>conftest.$ac_ext <<_ACEOF
51833 /* end confdefs.h.  */
51834 #include <wchar.h>
51835 int
51836 main ()
51837 {
51838 mbstate_t teststate;
51839   ;
51840   return 0;
51841 }
51842 _ACEOF
51843 rm -f conftest.$ac_objext
51844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51845   (eval $ac_compile) 2>&5
51846   ac_status=$?
51847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51848   (exit $ac_status); } &&
51849          { ac_try='test -s conftest.$ac_objext'
51850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51851   (eval $ac_try) 2>&5
51852   ac_status=$?
51853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854   (exit $ac_status); }; }; then
51855   have_mbstate_t=yes
51856 else
51857   echo "$as_me: failed program was:" >&5
51858 sed 's/^/| /' conftest.$ac_ext >&5
51859
51860 have_mbstate_t=no
51861 fi
51862 rm -f conftest.$ac_objext conftest.$ac_ext
51863   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51864 echo "${ECHO_T}$have_mbstate_t" >&6
51865   if test x"$have_mbstate_t" = xyes; then
51866     cat >>confdefs.h <<\_ACEOF
51867 #define HAVE_MBSTATE_T 1
51868 _ACEOF
51869
51870   fi
51871
51872   # Sanity check for existence of ISO C99 headers for extended encoding.
51873
51874 for ac_header in wchar.h
51875 do
51876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51878   echo "$as_me:$LINENO: checking for $ac_header" >&5
51879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51881   echo $ECHO_N "(cached) $ECHO_C" >&6
51882 fi
51883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51885 else
51886   # Is the header compilable?
51887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51889 cat >conftest.$ac_ext <<_ACEOF
51890 #line $LINENO "configure"
51891 /* confdefs.h.  */
51892 _ACEOF
51893 cat confdefs.h >>conftest.$ac_ext
51894 cat >>conftest.$ac_ext <<_ACEOF
51895 /* end confdefs.h.  */
51896 $ac_includes_default
51897 #include <$ac_header>
51898 _ACEOF
51899 rm -f conftest.$ac_objext
51900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51901   (eval $ac_compile) 2>&5
51902   ac_status=$?
51903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51904   (exit $ac_status); } &&
51905          { ac_try='test -s conftest.$ac_objext'
51906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51907   (eval $ac_try) 2>&5
51908   ac_status=$?
51909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51910   (exit $ac_status); }; }; then
51911   ac_header_compiler=yes
51912 else
51913   echo "$as_me: failed program was:" >&5
51914 sed 's/^/| /' conftest.$ac_ext >&5
51915
51916 ac_header_compiler=no
51917 fi
51918 rm -f conftest.$ac_objext conftest.$ac_ext
51919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51920 echo "${ECHO_T}$ac_header_compiler" >&6
51921
51922 # Is the header present?
51923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51925 cat >conftest.$ac_ext <<_ACEOF
51926 #line $LINENO "configure"
51927 /* confdefs.h.  */
51928 _ACEOF
51929 cat confdefs.h >>conftest.$ac_ext
51930 cat >>conftest.$ac_ext <<_ACEOF
51931 /* end confdefs.h.  */
51932 #include <$ac_header>
51933 _ACEOF
51934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51935   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51936   ac_status=$?
51937   grep -v '^ *+' conftest.er1 >conftest.err
51938   rm -f conftest.er1
51939   cat conftest.err >&5
51940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941   (exit $ac_status); } >/dev/null; then
51942   if test -s conftest.err; then
51943     ac_cpp_err=$ac_c_preproc_warn_flag
51944   else
51945     ac_cpp_err=
51946   fi
51947 else
51948   ac_cpp_err=yes
51949 fi
51950 if test -z "$ac_cpp_err"; then
51951   ac_header_preproc=yes
51952 else
51953   echo "$as_me: failed program was:" >&5
51954 sed 's/^/| /' conftest.$ac_ext >&5
51955
51956   ac_header_preproc=no
51957 fi
51958 rm -f conftest.err conftest.$ac_ext
51959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51960 echo "${ECHO_T}$ac_header_preproc" >&6
51961
51962 # So?  What about this header?
51963 case $ac_header_compiler:$ac_header_preproc in
51964   yes:no )
51965     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51967     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51969     (
51970       cat <<\_ASBOX
51971 ## ------------------------------------ ##
51972 ## Report this to bug-autoconf@gnu.org. ##
51973 ## ------------------------------------ ##
51974 _ASBOX
51975     ) |
51976       sed "s/^/$as_me: WARNING:     /" >&2
51977     ;;
51978   no:yes )
51979     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51981     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51983     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51985     (
51986       cat <<\_ASBOX
51987 ## ------------------------------------ ##
51988 ## Report this to bug-autoconf@gnu.org. ##
51989 ## ------------------------------------ ##
51990 _ASBOX
51991     ) |
51992       sed "s/^/$as_me: WARNING:     /" >&2
51993     ;;
51994 esac
51995 echo "$as_me:$LINENO: checking for $ac_header" >&5
51996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51998   echo $ECHO_N "(cached) $ECHO_C" >&6
51999 else
52000   eval "$as_ac_Header=$ac_header_preproc"
52001 fi
52002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52004
52005 fi
52006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52007   cat >>confdefs.h <<_ACEOF
52008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52009 _ACEOF
52010  ac_has_wchar_h=yes
52011 else
52012   ac_has_wchar_h=no
52013 fi
52014
52015 done
52016
52017
52018 for ac_header in wctype.h
52019 do
52020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52022   echo "$as_me:$LINENO: checking for $ac_header" >&5
52023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52025   echo $ECHO_N "(cached) $ECHO_C" >&6
52026 fi
52027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52029 else
52030   # Is the header compilable?
52031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52033 cat >conftest.$ac_ext <<_ACEOF
52034 #line $LINENO "configure"
52035 /* confdefs.h.  */
52036 _ACEOF
52037 cat confdefs.h >>conftest.$ac_ext
52038 cat >>conftest.$ac_ext <<_ACEOF
52039 /* end confdefs.h.  */
52040 $ac_includes_default
52041 #include <$ac_header>
52042 _ACEOF
52043 rm -f conftest.$ac_objext
52044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52045   (eval $ac_compile) 2>&5
52046   ac_status=$?
52047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52048   (exit $ac_status); } &&
52049          { ac_try='test -s conftest.$ac_objext'
52050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52051   (eval $ac_try) 2>&5
52052   ac_status=$?
52053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52054   (exit $ac_status); }; }; then
52055   ac_header_compiler=yes
52056 else
52057   echo "$as_me: failed program was:" >&5
52058 sed 's/^/| /' conftest.$ac_ext >&5
52059
52060 ac_header_compiler=no
52061 fi
52062 rm -f conftest.$ac_objext conftest.$ac_ext
52063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52064 echo "${ECHO_T}$ac_header_compiler" >&6
52065
52066 # Is the header present?
52067 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52069 cat >conftest.$ac_ext <<_ACEOF
52070 #line $LINENO "configure"
52071 /* confdefs.h.  */
52072 _ACEOF
52073 cat confdefs.h >>conftest.$ac_ext
52074 cat >>conftest.$ac_ext <<_ACEOF
52075 /* end confdefs.h.  */
52076 #include <$ac_header>
52077 _ACEOF
52078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52079   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52080   ac_status=$?
52081   grep -v '^ *+' conftest.er1 >conftest.err
52082   rm -f conftest.er1
52083   cat conftest.err >&5
52084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52085   (exit $ac_status); } >/dev/null; then
52086   if test -s conftest.err; then
52087     ac_cpp_err=$ac_c_preproc_warn_flag
52088   else
52089     ac_cpp_err=
52090   fi
52091 else
52092   ac_cpp_err=yes
52093 fi
52094 if test -z "$ac_cpp_err"; then
52095   ac_header_preproc=yes
52096 else
52097   echo "$as_me: failed program was:" >&5
52098 sed 's/^/| /' conftest.$ac_ext >&5
52099
52100   ac_header_preproc=no
52101 fi
52102 rm -f conftest.err conftest.$ac_ext
52103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52104 echo "${ECHO_T}$ac_header_preproc" >&6
52105
52106 # So?  What about this header?
52107 case $ac_header_compiler:$ac_header_preproc in
52108   yes:no )
52109     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52111     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52113     (
52114       cat <<\_ASBOX
52115 ## ------------------------------------ ##
52116 ## Report this to bug-autoconf@gnu.org. ##
52117 ## ------------------------------------ ##
52118 _ASBOX
52119     ) |
52120       sed "s/^/$as_me: WARNING:     /" >&2
52121     ;;
52122   no:yes )
52123     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52125     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52127     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52129     (
52130       cat <<\_ASBOX
52131 ## ------------------------------------ ##
52132 ## Report this to bug-autoconf@gnu.org. ##
52133 ## ------------------------------------ ##
52134 _ASBOX
52135     ) |
52136       sed "s/^/$as_me: WARNING:     /" >&2
52137     ;;
52138 esac
52139 echo "$as_me:$LINENO: checking for $ac_header" >&5
52140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52142   echo $ECHO_N "(cached) $ECHO_C" >&6
52143 else
52144   eval "$as_ac_Header=$ac_header_preproc"
52145 fi
52146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52148
52149 fi
52150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52151   cat >>confdefs.h <<_ACEOF
52152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52153 _ACEOF
52154  ac_has_wctype_h=yes
52155 else
52156   ac_has_wctype_h=no
52157 fi
52158
52159 done
52160
52161
52162   # Only continue checking if the ISO C99 headers exist and support is on.
52163   if test x"$ac_has_wchar_h" = xyes &&
52164      test x"$ac_has_wctype_h" = xyes &&
52165      test x"$enable_c_mbchar" != xno; then
52166
52167     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52168     # numeric_limits can instantiate type_traits<wchar_t>
52169     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52170 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52171     cat >conftest.$ac_ext <<_ACEOF
52172 #line $LINENO "configure"
52173 /* confdefs.h.  */
52174 _ACEOF
52175 cat confdefs.h >>conftest.$ac_ext
52176 cat >>conftest.$ac_ext <<_ACEOF
52177 /* end confdefs.h.  */
52178 #include <wchar.h>
52179 int
52180 main ()
52181 {
52182 int i = WCHAR_MIN; int j = WCHAR_MAX;
52183   ;
52184   return 0;
52185 }
52186 _ACEOF
52187 rm -f conftest.$ac_objext
52188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52189   (eval $ac_compile) 2>&5
52190   ac_status=$?
52191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52192   (exit $ac_status); } &&
52193          { ac_try='test -s conftest.$ac_objext'
52194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52195   (eval $ac_try) 2>&5
52196   ac_status=$?
52197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52198   (exit $ac_status); }; }; then
52199   has_wchar_minmax=yes
52200 else
52201   echo "$as_me: failed program was:" >&5
52202 sed 's/^/| /' conftest.$ac_ext >&5
52203
52204 has_wchar_minmax=no
52205 fi
52206 rm -f conftest.$ac_objext conftest.$ac_ext
52207     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52208 echo "${ECHO_T}$has_wchar_minmax" >&6
52209
52210     # Test wchar.h for WEOF, which is what we use to determine whether
52211     # to specialize for char_traits<wchar_t> or not.
52212     echo "$as_me:$LINENO: checking for WEOF" >&5
52213 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52214     cat >conftest.$ac_ext <<_ACEOF
52215 #line $LINENO "configure"
52216 /* confdefs.h.  */
52217 _ACEOF
52218 cat confdefs.h >>conftest.$ac_ext
52219 cat >>conftest.$ac_ext <<_ACEOF
52220 /* end confdefs.h.  */
52221
52222       #include <wchar.h>
52223       #include <stddef.h>
52224 int
52225 main ()
52226 {
52227 wint_t i = WEOF;
52228   ;
52229   return 0;
52230 }
52231 _ACEOF
52232 rm -f conftest.$ac_objext
52233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52234   (eval $ac_compile) 2>&5
52235   ac_status=$?
52236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237   (exit $ac_status); } &&
52238          { ac_try='test -s conftest.$ac_objext'
52239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52240   (eval $ac_try) 2>&5
52241   ac_status=$?
52242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52243   (exit $ac_status); }; }; then
52244   has_weof=yes
52245 else
52246   echo "$as_me: failed program was:" >&5
52247 sed 's/^/| /' conftest.$ac_ext >&5
52248
52249 has_weof=no
52250 fi
52251 rm -f conftest.$ac_objext conftest.$ac_ext
52252     echo "$as_me:$LINENO: result: $has_weof" >&5
52253 echo "${ECHO_T}$has_weof" >&6
52254
52255     # Tests for wide character functions used in char_traits<wchar_t>.
52256     ac_wfuncs=yes
52257
52258
52259
52260
52261
52262
52263 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52264 do
52265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52266 echo "$as_me:$LINENO: checking for $ac_func" >&5
52267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52268 if eval "test \"\${$as_ac_var+set}\" = set"; then
52269   echo $ECHO_N "(cached) $ECHO_C" >&6
52270 else
52271   cat >conftest.$ac_ext <<_ACEOF
52272 #line $LINENO "configure"
52273 /* confdefs.h.  */
52274 _ACEOF
52275 cat confdefs.h >>conftest.$ac_ext
52276 cat >>conftest.$ac_ext <<_ACEOF
52277 /* end confdefs.h.  */
52278 /* System header to define __stub macros and hopefully few prototypes,
52279     which can conflict with char $ac_func (); below.
52280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52281     <limits.h> exists even on freestanding compilers.  */
52282 #ifdef __STDC__
52283 # include <limits.h>
52284 #else
52285 # include <assert.h>
52286 #endif
52287 /* Override any gcc2 internal prototype to avoid an error.  */
52288 #ifdef __cplusplus
52289 extern "C"
52290 {
52291 #endif
52292 /* We use char because int might match the return type of a gcc2
52293    builtin and then its argument prototype would still apply.  */
52294 char $ac_func ();
52295 /* The GNU C library defines this for functions which it implements
52296     to always fail with ENOSYS.  Some functions are actually named
52297     something starting with __ and the normal name is an alias.  */
52298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52299 choke me
52300 #else
52301 char (*f) () = $ac_func;
52302 #endif
52303 #ifdef __cplusplus
52304 }
52305 #endif
52306
52307 int
52308 main ()
52309 {
52310 return f != $ac_func;
52311   ;
52312   return 0;
52313 }
52314 _ACEOF
52315 rm -f conftest.$ac_objext conftest$ac_exeext
52316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52317   (eval $ac_link) 2>&5
52318   ac_status=$?
52319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52320   (exit $ac_status); } &&
52321          { ac_try='test -s conftest$ac_exeext'
52322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52323   (eval $ac_try) 2>&5
52324   ac_status=$?
52325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52326   (exit $ac_status); }; }; then
52327   eval "$as_ac_var=yes"
52328 else
52329   echo "$as_me: failed program was:" >&5
52330 sed 's/^/| /' conftest.$ac_ext >&5
52331
52332 eval "$as_ac_var=no"
52333 fi
52334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52335 fi
52336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52338 if test `eval echo '${'$as_ac_var'}'` = yes; then
52339   cat >>confdefs.h <<_ACEOF
52340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52341 _ACEOF
52342
52343 else
52344   ac_wfuncs=no
52345 fi
52346 done
52347
52348
52349     # Checks for names injected into std:: by the c_std headers.
52350
52351
52352
52353
52354
52355
52356
52357
52358
52359
52360
52361
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52401     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
52402     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52403     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
52404     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52405     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52406 do
52407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52408 echo "$as_me:$LINENO: checking for $ac_func" >&5
52409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52410 if eval "test \"\${$as_ac_var+set}\" = set"; then
52411   echo $ECHO_N "(cached) $ECHO_C" >&6
52412 else
52413   cat >conftest.$ac_ext <<_ACEOF
52414 #line $LINENO "configure"
52415 /* confdefs.h.  */
52416 _ACEOF
52417 cat confdefs.h >>conftest.$ac_ext
52418 cat >>conftest.$ac_ext <<_ACEOF
52419 /* end confdefs.h.  */
52420 /* System header to define __stub macros and hopefully few prototypes,
52421     which can conflict with char $ac_func (); below.
52422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52423     <limits.h> exists even on freestanding compilers.  */
52424 #ifdef __STDC__
52425 # include <limits.h>
52426 #else
52427 # include <assert.h>
52428 #endif
52429 /* Override any gcc2 internal prototype to avoid an error.  */
52430 #ifdef __cplusplus
52431 extern "C"
52432 {
52433 #endif
52434 /* We use char because int might match the return type of a gcc2
52435    builtin and then its argument prototype would still apply.  */
52436 char $ac_func ();
52437 /* The GNU C library defines this for functions which it implements
52438     to always fail with ENOSYS.  Some functions are actually named
52439     something starting with __ and the normal name is an alias.  */
52440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52441 choke me
52442 #else
52443 char (*f) () = $ac_func;
52444 #endif
52445 #ifdef __cplusplus
52446 }
52447 #endif
52448
52449 int
52450 main ()
52451 {
52452 return f != $ac_func;
52453   ;
52454   return 0;
52455 }
52456 _ACEOF
52457 rm -f conftest.$ac_objext conftest$ac_exeext
52458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52459   (eval $ac_link) 2>&5
52460   ac_status=$?
52461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52462   (exit $ac_status); } &&
52463          { ac_try='test -s conftest$ac_exeext'
52464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52465   (eval $ac_try) 2>&5
52466   ac_status=$?
52467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52468   (exit $ac_status); }; }; then
52469   eval "$as_ac_var=yes"
52470 else
52471   echo "$as_me: failed program was:" >&5
52472 sed 's/^/| /' conftest.$ac_ext >&5
52473
52474 eval "$as_ac_var=no"
52475 fi
52476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52477 fi
52478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52480 if test `eval echo '${'$as_ac_var'}'` = yes; then
52481   cat >>confdefs.h <<_ACEOF
52482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52483 _ACEOF
52484
52485 else
52486   ac_wfuncs=no
52487 fi
52488 done
52489
52490
52491     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52492 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52493     if test x"$has_weof" = xyes &&
52494        test x"$has_wchar_minmax" = xyes &&
52495        test x"$ac_wfuncs" = xyes;
52496     then
52497       ac_isoC99_wchar_t=yes
52498     else
52499       ac_isoC99_wchar_t=no
52500     fi
52501     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52502 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52503
52504     # Use iconv for wchar_t to char conversions. As such, check for
52505     # X/Open Portability Guide, version 2 features (XPG2).
52506     if test "${ac_cv_header_iconv_h+set}" = set; then
52507   echo "$as_me:$LINENO: checking for iconv.h" >&5
52508 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52509 if test "${ac_cv_header_iconv_h+set}" = set; then
52510   echo $ECHO_N "(cached) $ECHO_C" >&6
52511 fi
52512 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52513 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52514 else
52515   # Is the header compilable?
52516 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52517 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52518 cat >conftest.$ac_ext <<_ACEOF
52519 #line $LINENO "configure"
52520 /* confdefs.h.  */
52521 _ACEOF
52522 cat confdefs.h >>conftest.$ac_ext
52523 cat >>conftest.$ac_ext <<_ACEOF
52524 /* end confdefs.h.  */
52525 $ac_includes_default
52526 #include <iconv.h>
52527 _ACEOF
52528 rm -f conftest.$ac_objext
52529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52530   (eval $ac_compile) 2>&5
52531   ac_status=$?
52532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52533   (exit $ac_status); } &&
52534          { ac_try='test -s conftest.$ac_objext'
52535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52536   (eval $ac_try) 2>&5
52537   ac_status=$?
52538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52539   (exit $ac_status); }; }; then
52540   ac_header_compiler=yes
52541 else
52542   echo "$as_me: failed program was:" >&5
52543 sed 's/^/| /' conftest.$ac_ext >&5
52544
52545 ac_header_compiler=no
52546 fi
52547 rm -f conftest.$ac_objext conftest.$ac_ext
52548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52549 echo "${ECHO_T}$ac_header_compiler" >&6
52550
52551 # Is the header present?
52552 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52553 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52554 cat >conftest.$ac_ext <<_ACEOF
52555 #line $LINENO "configure"
52556 /* confdefs.h.  */
52557 _ACEOF
52558 cat confdefs.h >>conftest.$ac_ext
52559 cat >>conftest.$ac_ext <<_ACEOF
52560 /* end confdefs.h.  */
52561 #include <iconv.h>
52562 _ACEOF
52563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52564   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52565   ac_status=$?
52566   grep -v '^ *+' conftest.er1 >conftest.err
52567   rm -f conftest.er1
52568   cat conftest.err >&5
52569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52570   (exit $ac_status); } >/dev/null; then
52571   if test -s conftest.err; then
52572     ac_cpp_err=$ac_c_preproc_warn_flag
52573   else
52574     ac_cpp_err=
52575   fi
52576 else
52577   ac_cpp_err=yes
52578 fi
52579 if test -z "$ac_cpp_err"; then
52580   ac_header_preproc=yes
52581 else
52582   echo "$as_me: failed program was:" >&5
52583 sed 's/^/| /' conftest.$ac_ext >&5
52584
52585   ac_header_preproc=no
52586 fi
52587 rm -f conftest.err conftest.$ac_ext
52588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52589 echo "${ECHO_T}$ac_header_preproc" >&6
52590
52591 # So?  What about this header?
52592 case $ac_header_compiler:$ac_header_preproc in
52593   yes:no )
52594     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52595 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52596     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52597 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52598     (
52599       cat <<\_ASBOX
52600 ## ------------------------------------ ##
52601 ## Report this to bug-autoconf@gnu.org. ##
52602 ## ------------------------------------ ##
52603 _ASBOX
52604     ) |
52605       sed "s/^/$as_me: WARNING:     /" >&2
52606     ;;
52607   no:yes )
52608     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52609 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52610     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52611 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52612     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52613 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52614     (
52615       cat <<\_ASBOX
52616 ## ------------------------------------ ##
52617 ## Report this to bug-autoconf@gnu.org. ##
52618 ## ------------------------------------ ##
52619 _ASBOX
52620     ) |
52621       sed "s/^/$as_me: WARNING:     /" >&2
52622     ;;
52623 esac
52624 echo "$as_me:$LINENO: checking for iconv.h" >&5
52625 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52626 if test "${ac_cv_header_iconv_h+set}" = set; then
52627   echo $ECHO_N "(cached) $ECHO_C" >&6
52628 else
52629   ac_cv_header_iconv_h=$ac_header_preproc
52630 fi
52631 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52632 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52633
52634 fi
52635 if test $ac_cv_header_iconv_h = yes; then
52636   ac_has_iconv_h=yes
52637 else
52638   ac_has_iconv_h=no
52639 fi
52640
52641
52642     if test "${ac_cv_header_langinfo_h+set}" = set; then
52643   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52644 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52645 if test "${ac_cv_header_langinfo_h+set}" = set; then
52646   echo $ECHO_N "(cached) $ECHO_C" >&6
52647 fi
52648 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52649 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52650 else
52651   # Is the header compilable?
52652 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52653 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52654 cat >conftest.$ac_ext <<_ACEOF
52655 #line $LINENO "configure"
52656 /* confdefs.h.  */
52657 _ACEOF
52658 cat confdefs.h >>conftest.$ac_ext
52659 cat >>conftest.$ac_ext <<_ACEOF
52660 /* end confdefs.h.  */
52661 $ac_includes_default
52662 #include <langinfo.h>
52663 _ACEOF
52664 rm -f conftest.$ac_objext
52665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52666   (eval $ac_compile) 2>&5
52667   ac_status=$?
52668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52669   (exit $ac_status); } &&
52670          { ac_try='test -s conftest.$ac_objext'
52671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52672   (eval $ac_try) 2>&5
52673   ac_status=$?
52674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52675   (exit $ac_status); }; }; then
52676   ac_header_compiler=yes
52677 else
52678   echo "$as_me: failed program was:" >&5
52679 sed 's/^/| /' conftest.$ac_ext >&5
52680
52681 ac_header_compiler=no
52682 fi
52683 rm -f conftest.$ac_objext conftest.$ac_ext
52684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52685 echo "${ECHO_T}$ac_header_compiler" >&6
52686
52687 # Is the header present?
52688 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52689 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52690 cat >conftest.$ac_ext <<_ACEOF
52691 #line $LINENO "configure"
52692 /* confdefs.h.  */
52693 _ACEOF
52694 cat confdefs.h >>conftest.$ac_ext
52695 cat >>conftest.$ac_ext <<_ACEOF
52696 /* end confdefs.h.  */
52697 #include <langinfo.h>
52698 _ACEOF
52699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52700   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52701   ac_status=$?
52702   grep -v '^ *+' conftest.er1 >conftest.err
52703   rm -f conftest.er1
52704   cat conftest.err >&5
52705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52706   (exit $ac_status); } >/dev/null; then
52707   if test -s conftest.err; then
52708     ac_cpp_err=$ac_c_preproc_warn_flag
52709   else
52710     ac_cpp_err=
52711   fi
52712 else
52713   ac_cpp_err=yes
52714 fi
52715 if test -z "$ac_cpp_err"; then
52716   ac_header_preproc=yes
52717 else
52718   echo "$as_me: failed program was:" >&5
52719 sed 's/^/| /' conftest.$ac_ext >&5
52720
52721   ac_header_preproc=no
52722 fi
52723 rm -f conftest.err conftest.$ac_ext
52724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52725 echo "${ECHO_T}$ac_header_preproc" >&6
52726
52727 # So?  What about this header?
52728 case $ac_header_compiler:$ac_header_preproc in
52729   yes:no )
52730     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52731 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52732     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52733 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52734     (
52735       cat <<\_ASBOX
52736 ## ------------------------------------ ##
52737 ## Report this to bug-autoconf@gnu.org. ##
52738 ## ------------------------------------ ##
52739 _ASBOX
52740     ) |
52741       sed "s/^/$as_me: WARNING:     /" >&2
52742     ;;
52743   no:yes )
52744     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52745 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52746     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52747 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52748     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52749 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52750     (
52751       cat <<\_ASBOX
52752 ## ------------------------------------ ##
52753 ## Report this to bug-autoconf@gnu.org. ##
52754 ## ------------------------------------ ##
52755 _ASBOX
52756     ) |
52757       sed "s/^/$as_me: WARNING:     /" >&2
52758     ;;
52759 esac
52760 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52761 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52762 if test "${ac_cv_header_langinfo_h+set}" = set; then
52763   echo $ECHO_N "(cached) $ECHO_C" >&6
52764 else
52765   ac_cv_header_langinfo_h=$ac_header_preproc
52766 fi
52767 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52768 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52769
52770 fi
52771 if test $ac_cv_header_langinfo_h = yes; then
52772   ac_has_langinfo_h=yes
52773 else
52774   ac_has_langinfo_h=no
52775 fi
52776
52777
52778
52779     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52780     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52781 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52782 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52783   echo $ECHO_N "(cached) $ECHO_C" >&6
52784 else
52785   ac_check_lib_save_LIBS=$LIBS
52786 LIBS="-liconv  $LIBS"
52787 cat >conftest.$ac_ext <<_ACEOF
52788 #line $LINENO "configure"
52789 /* confdefs.h.  */
52790 _ACEOF
52791 cat confdefs.h >>conftest.$ac_ext
52792 cat >>conftest.$ac_ext <<_ACEOF
52793 /* end confdefs.h.  */
52794
52795 /* Override any gcc2 internal prototype to avoid an error.  */
52796 #ifdef __cplusplus
52797 extern "C"
52798 #endif
52799 /* We use char because int might match the return type of a gcc2
52800    builtin and then its argument prototype would still apply.  */
52801 char iconv ();
52802 int
52803 main ()
52804 {
52805 iconv ();
52806   ;
52807   return 0;
52808 }
52809 _ACEOF
52810 rm -f conftest.$ac_objext conftest$ac_exeext
52811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52812   (eval $ac_link) 2>&5
52813   ac_status=$?
52814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52815   (exit $ac_status); } &&
52816          { ac_try='test -s conftest$ac_exeext'
52817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52818   (eval $ac_try) 2>&5
52819   ac_status=$?
52820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52821   (exit $ac_status); }; }; then
52822   ac_cv_lib_iconv_iconv=yes
52823 else
52824   echo "$as_me: failed program was:" >&5
52825 sed 's/^/| /' conftest.$ac_ext >&5
52826
52827 ac_cv_lib_iconv_iconv=no
52828 fi
52829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52830 LIBS=$ac_check_lib_save_LIBS
52831 fi
52832 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52833 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52834 if test $ac_cv_lib_iconv_iconv = yes; then
52835   libiconv="-liconv"
52836 fi
52837
52838     ac_save_LIBS="$LIBS"
52839     LIBS="$LIBS $libiconv"
52840
52841
52842
52843
52844
52845 for ac_func in iconv_open iconv_close iconv nl_langinfo
52846 do
52847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52848 echo "$as_me:$LINENO: checking for $ac_func" >&5
52849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52850 if eval "test \"\${$as_ac_var+set}\" = set"; then
52851   echo $ECHO_N "(cached) $ECHO_C" >&6
52852 else
52853   cat >conftest.$ac_ext <<_ACEOF
52854 #line $LINENO "configure"
52855 /* confdefs.h.  */
52856 _ACEOF
52857 cat confdefs.h >>conftest.$ac_ext
52858 cat >>conftest.$ac_ext <<_ACEOF
52859 /* end confdefs.h.  */
52860 /* System header to define __stub macros and hopefully few prototypes,
52861     which can conflict with char $ac_func (); below.
52862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52863     <limits.h> exists even on freestanding compilers.  */
52864 #ifdef __STDC__
52865 # include <limits.h>
52866 #else
52867 # include <assert.h>
52868 #endif
52869 /* Override any gcc2 internal prototype to avoid an error.  */
52870 #ifdef __cplusplus
52871 extern "C"
52872 {
52873 #endif
52874 /* We use char because int might match the return type of a gcc2
52875    builtin and then its argument prototype would still apply.  */
52876 char $ac_func ();
52877 /* The GNU C library defines this for functions which it implements
52878     to always fail with ENOSYS.  Some functions are actually named
52879     something starting with __ and the normal name is an alias.  */
52880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52881 choke me
52882 #else
52883 char (*f) () = $ac_func;
52884 #endif
52885 #ifdef __cplusplus
52886 }
52887 #endif
52888
52889 int
52890 main ()
52891 {
52892 return f != $ac_func;
52893   ;
52894   return 0;
52895 }
52896 _ACEOF
52897 rm -f conftest.$ac_objext conftest$ac_exeext
52898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52899   (eval $ac_link) 2>&5
52900   ac_status=$?
52901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902   (exit $ac_status); } &&
52903          { ac_try='test -s conftest$ac_exeext'
52904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52905   (eval $ac_try) 2>&5
52906   ac_status=$?
52907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52908   (exit $ac_status); }; }; then
52909   eval "$as_ac_var=yes"
52910 else
52911   echo "$as_me: failed program was:" >&5
52912 sed 's/^/| /' conftest.$ac_ext >&5
52913
52914 eval "$as_ac_var=no"
52915 fi
52916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52917 fi
52918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52920 if test `eval echo '${'$as_ac_var'}'` = yes; then
52921   cat >>confdefs.h <<_ACEOF
52922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52923 _ACEOF
52924  ac_XPG2funcs=yes
52925 else
52926   ac_XPG2funcs=no
52927 fi
52928 done
52929
52930
52931     LIBS="$ac_save_LIBS"
52932
52933     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52934 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52935     if test x"$ac_has_iconv_h" = xyes &&
52936        test x"$ac_has_langinfo_h" = xyes &&
52937        test x"$ac_XPG2funcs" = xyes;
52938     then
52939       ac_XPG2_wchar_t=yes
52940     else
52941       ac_XPG2_wchar_t=no
52942     fi
52943     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52944 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52945
52946     # At the moment, only enable wchar_t specializations if all the
52947     # above support is present.
52948     if test x"$ac_isoC99_wchar_t" = xyes &&
52949        test x"$ac_XPG2_wchar_t" = xyes;
52950     then
52951       cat >>confdefs.h <<\_ACEOF
52952 #define _GLIBCXX_USE_WCHAR_T 1
52953 _ACEOF
52954
52955       enable_wchar_t=yes
52956     fi
52957   fi
52958   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52959 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52960   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52961 echo "${ECHO_T}$enable_wchar_t" >&6
52962
52963     ;;
52964   *-netbsd*)
52965     #os_include_dir="os/bsd/netbsd"
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977
52978 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
52979       machine/endian.h machine/param.h sys/machine.h sys/types.h \
52980       fp.h locale.h float.h inttypes.h
52981 do
52982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52984   echo "$as_me:$LINENO: checking for $ac_header" >&5
52985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52987   echo $ECHO_N "(cached) $ECHO_C" >&6
52988 fi
52989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52991 else
52992   # Is the header compilable?
52993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52995 cat >conftest.$ac_ext <<_ACEOF
52996 #line $LINENO "configure"
52997 /* confdefs.h.  */
52998 _ACEOF
52999 cat confdefs.h >>conftest.$ac_ext
53000 cat >>conftest.$ac_ext <<_ACEOF
53001 /* end confdefs.h.  */
53002 $ac_includes_default
53003 #include <$ac_header>
53004 _ACEOF
53005 rm -f conftest.$ac_objext
53006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53007   (eval $ac_compile) 2>&5
53008   ac_status=$?
53009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53010   (exit $ac_status); } &&
53011          { ac_try='test -s conftest.$ac_objext'
53012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53013   (eval $ac_try) 2>&5
53014   ac_status=$?
53015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016   (exit $ac_status); }; }; then
53017   ac_header_compiler=yes
53018 else
53019   echo "$as_me: failed program was:" >&5
53020 sed 's/^/| /' conftest.$ac_ext >&5
53021
53022 ac_header_compiler=no
53023 fi
53024 rm -f conftest.$ac_objext conftest.$ac_ext
53025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53026 echo "${ECHO_T}$ac_header_compiler" >&6
53027
53028 # Is the header present?
53029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53031 cat >conftest.$ac_ext <<_ACEOF
53032 #line $LINENO "configure"
53033 /* confdefs.h.  */
53034 _ACEOF
53035 cat confdefs.h >>conftest.$ac_ext
53036 cat >>conftest.$ac_ext <<_ACEOF
53037 /* end confdefs.h.  */
53038 #include <$ac_header>
53039 _ACEOF
53040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53041   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53042   ac_status=$?
53043   grep -v '^ *+' conftest.er1 >conftest.err
53044   rm -f conftest.er1
53045   cat conftest.err >&5
53046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047   (exit $ac_status); } >/dev/null; then
53048   if test -s conftest.err; then
53049     ac_cpp_err=$ac_c_preproc_warn_flag
53050   else
53051     ac_cpp_err=
53052   fi
53053 else
53054   ac_cpp_err=yes
53055 fi
53056 if test -z "$ac_cpp_err"; then
53057   ac_header_preproc=yes
53058 else
53059   echo "$as_me: failed program was:" >&5
53060 sed 's/^/| /' conftest.$ac_ext >&5
53061
53062   ac_header_preproc=no
53063 fi
53064 rm -f conftest.err conftest.$ac_ext
53065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53066 echo "${ECHO_T}$ac_header_preproc" >&6
53067
53068 # So?  What about this header?
53069 case $ac_header_compiler:$ac_header_preproc in
53070   yes:no )
53071     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53073     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53075     (
53076       cat <<\_ASBOX
53077 ## ------------------------------------ ##
53078 ## Report this to bug-autoconf@gnu.org. ##
53079 ## ------------------------------------ ##
53080 _ASBOX
53081     ) |
53082       sed "s/^/$as_me: WARNING:     /" >&2
53083     ;;
53084   no:yes )
53085     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53087     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53089     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53091     (
53092       cat <<\_ASBOX
53093 ## ------------------------------------ ##
53094 ## Report this to bug-autoconf@gnu.org. ##
53095 ## ------------------------------------ ##
53096 _ASBOX
53097     ) |
53098       sed "s/^/$as_me: WARNING:     /" >&2
53099     ;;
53100 esac
53101 echo "$as_me:$LINENO: checking for $ac_header" >&5
53102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53104   echo $ECHO_N "(cached) $ECHO_C" >&6
53105 else
53106   eval "$as_ac_Header=$ac_header_preproc"
53107 fi
53108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53110
53111 fi
53112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53113   cat >>confdefs.h <<_ACEOF
53114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53115 _ACEOF
53116
53117 fi
53118
53119 done
53120
53121     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53122
53123
53124   # If we're not using GNU ld, then there's no point in even trying these
53125   # tests.  Check for that first.  We should have already tested for gld
53126   # by now (in libtool), but require it now just to be safe...
53127   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53128   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53129
53130
53131
53132   # The name set by libtool depends on the version of libtool.  Shame on us
53133   # for depending on an impl detail, but c'est la vie.  Older versions used
53134   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53135   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53136   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53137   # set (hence we're using an older libtool), then set it.
53138   if test x${with_gnu_ld+set} != xset; then
53139     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53140       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53141       with_gnu_ld=no
53142     else
53143       with_gnu_ld=$ac_cv_prog_gnu_ld
53144     fi
53145   fi
53146
53147   # Start by getting the version number.  I think the libtool test already
53148   # does some of this, but throws away the result.
53149
53150   ldver=`$LD --version 2>/dev/null | head -1 | \
53151          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53152
53153   glibcxx_gnu_ld_version=`echo $ldver | \
53154          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53155
53156   # Set --gc-sections.
53157   if test "$with_gnu_ld" = "notbroken"; then
53158     # GNU ld it is!  Joy and bunny rabbits!
53159
53160     # All these tests are for C++; save the language and the compiler flags.
53161     # Need to do this so that g++ won't try to link in libstdc++
53162     ac_test_CFLAGS="${CFLAGS+set}"
53163     ac_save_CFLAGS="$CFLAGS"
53164     CFLAGS='-x c++  -Wl,--gc-sections'
53165
53166     # Check for -Wl,--gc-sections
53167     # XXX This test is broken at the moment, as symbols required for linking
53168     # are now in libsupc++ (not built yet).  In addition, this test has
53169     # cored on solaris in the past.  In addition, --gc-sections doesn't
53170     # really work at the moment (keeps on discarding used sections, first
53171     # .eh_frame and now some of the glibc sections for iconv).
53172     # Bzzzzt.  Thanks for playing, maybe next time.
53173     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53174 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53175     if test "$cross_compiling" = yes; then
53176   ac_sectionLDflags=yes
53177 else
53178   cat >conftest.$ac_ext <<_ACEOF
53179 #line $LINENO "configure"
53180 /* confdefs.h.  */
53181 _ACEOF
53182 cat confdefs.h >>conftest.$ac_ext
53183 cat >>conftest.$ac_ext <<_ACEOF
53184 /* end confdefs.h.  */
53185
53186      int main(void)
53187      {
53188        try { throw 1; }
53189        catch (...) { };
53190        return 0;
53191      }
53192
53193 _ACEOF
53194 rm -f conftest$ac_exeext
53195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53196   (eval $ac_link) 2>&5
53197   ac_status=$?
53198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53199   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53201   (eval $ac_try) 2>&5
53202   ac_status=$?
53203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53204   (exit $ac_status); }; }; then
53205   ac_sectionLDflags=yes
53206 else
53207   echo "$as_me: program exited with status $ac_status" >&5
53208 echo "$as_me: failed program was:" >&5
53209 sed 's/^/| /' conftest.$ac_ext >&5
53210
53211 ( exit $ac_status )
53212 ac_sectionLDflags=no
53213 fi
53214 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53215 fi
53216     if test "$ac_test_CFLAGS" = set; then
53217       CFLAGS="$ac_save_CFLAGS"
53218     else
53219       # this is the suspicious part
53220       CFLAGS=''
53221     fi
53222     if test "$ac_sectionLDflags" = "yes"; then
53223       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53224     fi
53225     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53226 echo "${ECHO_T}$ac_sectionLDflags" >&6
53227   fi
53228
53229   # Set linker optimization flags.
53230   if test x"$with_gnu_ld" = x"yes"; then
53231     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53232   fi
53233
53234
53235
53236
53237
53238
53239 echo "$as_me:$LINENO: checking for main in -lm" >&5
53240 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53241 if test "${ac_cv_lib_m_main+set}" = set; then
53242   echo $ECHO_N "(cached) $ECHO_C" >&6
53243 else
53244   ac_check_lib_save_LIBS=$LIBS
53245 LIBS="-lm  $LIBS"
53246 cat >conftest.$ac_ext <<_ACEOF
53247 #line $LINENO "configure"
53248 /* confdefs.h.  */
53249 _ACEOF
53250 cat confdefs.h >>conftest.$ac_ext
53251 cat >>conftest.$ac_ext <<_ACEOF
53252 /* end confdefs.h.  */
53253
53254
53255 int
53256 main ()
53257 {
53258 main ();
53259   ;
53260   return 0;
53261 }
53262 _ACEOF
53263 rm -f conftest.$ac_objext conftest$ac_exeext
53264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53265   (eval $ac_link) 2>&5
53266   ac_status=$?
53267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53268   (exit $ac_status); } &&
53269          { ac_try='test -s conftest$ac_exeext'
53270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53271   (eval $ac_try) 2>&5
53272   ac_status=$?
53273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274   (exit $ac_status); }; }; then
53275   ac_cv_lib_m_main=yes
53276 else
53277   echo "$as_me: failed program was:" >&5
53278 sed 's/^/| /' conftest.$ac_ext >&5
53279
53280 ac_cv_lib_m_main=no
53281 fi
53282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53283 LIBS=$ac_check_lib_save_LIBS
53284 fi
53285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53286 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53287 if test $ac_cv_lib_m_main = yes; then
53288   cat >>confdefs.h <<_ACEOF
53289 #define HAVE_LIBM 1
53290 _ACEOF
53291
53292   LIBS="-lm $LIBS"
53293
53294 fi
53295
53296
53297
53298 for ac_func in nan copysignf
53299 do
53300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53301 echo "$as_me:$LINENO: checking for $ac_func" >&5
53302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53303 if eval "test \"\${$as_ac_var+set}\" = set"; then
53304   echo $ECHO_N "(cached) $ECHO_C" >&6
53305 else
53306   cat >conftest.$ac_ext <<_ACEOF
53307 #line $LINENO "configure"
53308 /* confdefs.h.  */
53309 _ACEOF
53310 cat confdefs.h >>conftest.$ac_ext
53311 cat >>conftest.$ac_ext <<_ACEOF
53312 /* end confdefs.h.  */
53313 /* System header to define __stub macros and hopefully few prototypes,
53314     which can conflict with char $ac_func (); below.
53315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53316     <limits.h> exists even on freestanding compilers.  */
53317 #ifdef __STDC__
53318 # include <limits.h>
53319 #else
53320 # include <assert.h>
53321 #endif
53322 /* Override any gcc2 internal prototype to avoid an error.  */
53323 #ifdef __cplusplus
53324 extern "C"
53325 {
53326 #endif
53327 /* We use char because int might match the return type of a gcc2
53328    builtin and then its argument prototype would still apply.  */
53329 char $ac_func ();
53330 /* The GNU C library defines this for functions which it implements
53331     to always fail with ENOSYS.  Some functions are actually named
53332     something starting with __ and the normal name is an alias.  */
53333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53334 choke me
53335 #else
53336 char (*f) () = $ac_func;
53337 #endif
53338 #ifdef __cplusplus
53339 }
53340 #endif
53341
53342 int
53343 main ()
53344 {
53345 return f != $ac_func;
53346   ;
53347   return 0;
53348 }
53349 _ACEOF
53350 rm -f conftest.$ac_objext conftest$ac_exeext
53351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53352   (eval $ac_link) 2>&5
53353   ac_status=$?
53354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53355   (exit $ac_status); } &&
53356          { ac_try='test -s conftest$ac_exeext'
53357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53358   (eval $ac_try) 2>&5
53359   ac_status=$?
53360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53361   (exit $ac_status); }; }; then
53362   eval "$as_ac_var=yes"
53363 else
53364   echo "$as_me: failed program was:" >&5
53365 sed 's/^/| /' conftest.$ac_ext >&5
53366
53367 eval "$as_ac_var=no"
53368 fi
53369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53370 fi
53371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53373 if test `eval echo '${'$as_ac_var'}'` = yes; then
53374   cat >>confdefs.h <<_ACEOF
53375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53376 _ACEOF
53377
53378 else
53379   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53380 fi
53381 done
53382
53383
53384
53385 for ac_func in __signbit
53386 do
53387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53388 echo "$as_me:$LINENO: checking for $ac_func" >&5
53389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53390 if eval "test \"\${$as_ac_var+set}\" = set"; then
53391   echo $ECHO_N "(cached) $ECHO_C" >&6
53392 else
53393   cat >conftest.$ac_ext <<_ACEOF
53394 #line $LINENO "configure"
53395 /* confdefs.h.  */
53396 _ACEOF
53397 cat confdefs.h >>conftest.$ac_ext
53398 cat >>conftest.$ac_ext <<_ACEOF
53399 /* end confdefs.h.  */
53400 /* System header to define __stub macros and hopefully few prototypes,
53401     which can conflict with char $ac_func (); below.
53402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53403     <limits.h> exists even on freestanding compilers.  */
53404 #ifdef __STDC__
53405 # include <limits.h>
53406 #else
53407 # include <assert.h>
53408 #endif
53409 /* Override any gcc2 internal prototype to avoid an error.  */
53410 #ifdef __cplusplus
53411 extern "C"
53412 {
53413 #endif
53414 /* We use char because int might match the return type of a gcc2
53415    builtin and then its argument prototype would still apply.  */
53416 char $ac_func ();
53417 /* The GNU C library defines this for functions which it implements
53418     to always fail with ENOSYS.  Some functions are actually named
53419     something starting with __ and the normal name is an alias.  */
53420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53421 choke me
53422 #else
53423 char (*f) () = $ac_func;
53424 #endif
53425 #ifdef __cplusplus
53426 }
53427 #endif
53428
53429 int
53430 main ()
53431 {
53432 return f != $ac_func;
53433   ;
53434   return 0;
53435 }
53436 _ACEOF
53437 rm -f conftest.$ac_objext conftest$ac_exeext
53438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53439   (eval $ac_link) 2>&5
53440   ac_status=$?
53441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53442   (exit $ac_status); } &&
53443          { ac_try='test -s conftest$ac_exeext'
53444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53445   (eval $ac_try) 2>&5
53446   ac_status=$?
53447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53448   (exit $ac_status); }; }; then
53449   eval "$as_ac_var=yes"
53450 else
53451   echo "$as_me: failed program was:" >&5
53452 sed 's/^/| /' conftest.$ac_ext >&5
53453
53454 eval "$as_ac_var=no"
53455 fi
53456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53457 fi
53458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53460 if test `eval echo '${'$as_ac_var'}'` = yes; then
53461   cat >>confdefs.h <<_ACEOF
53462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53463 _ACEOF
53464
53465 else
53466   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53467 fi
53468 done
53469
53470
53471 for ac_func in __signbitf
53472 do
53473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53474 echo "$as_me:$LINENO: checking for $ac_func" >&5
53475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53476 if eval "test \"\${$as_ac_var+set}\" = set"; then
53477   echo $ECHO_N "(cached) $ECHO_C" >&6
53478 else
53479   cat >conftest.$ac_ext <<_ACEOF
53480 #line $LINENO "configure"
53481 /* confdefs.h.  */
53482 _ACEOF
53483 cat confdefs.h >>conftest.$ac_ext
53484 cat >>conftest.$ac_ext <<_ACEOF
53485 /* end confdefs.h.  */
53486 /* System header to define __stub macros and hopefully few prototypes,
53487     which can conflict with char $ac_func (); below.
53488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53489     <limits.h> exists even on freestanding compilers.  */
53490 #ifdef __STDC__
53491 # include <limits.h>
53492 #else
53493 # include <assert.h>
53494 #endif
53495 /* Override any gcc2 internal prototype to avoid an error.  */
53496 #ifdef __cplusplus
53497 extern "C"
53498 {
53499 #endif
53500 /* We use char because int might match the return type of a gcc2
53501    builtin and then its argument prototype would still apply.  */
53502 char $ac_func ();
53503 /* The GNU C library defines this for functions which it implements
53504     to always fail with ENOSYS.  Some functions are actually named
53505     something starting with __ and the normal name is an alias.  */
53506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53507 choke me
53508 #else
53509 char (*f) () = $ac_func;
53510 #endif
53511 #ifdef __cplusplus
53512 }
53513 #endif
53514
53515 int
53516 main ()
53517 {
53518 return f != $ac_func;
53519   ;
53520   return 0;
53521 }
53522 _ACEOF
53523 rm -f conftest.$ac_objext conftest$ac_exeext
53524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53525   (eval $ac_link) 2>&5
53526   ac_status=$?
53527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53528   (exit $ac_status); } &&
53529          { ac_try='test -s conftest$ac_exeext'
53530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53531   (eval $ac_try) 2>&5
53532   ac_status=$?
53533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53534   (exit $ac_status); }; }; then
53535   eval "$as_ac_var=yes"
53536 else
53537   echo "$as_me: failed program was:" >&5
53538 sed 's/^/| /' conftest.$ac_ext >&5
53539
53540 eval "$as_ac_var=no"
53541 fi
53542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53543 fi
53544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53546 if test `eval echo '${'$as_ac_var'}'` = yes; then
53547   cat >>confdefs.h <<_ACEOF
53548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53549 _ACEOF
53550
53551 else
53552   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53553 fi
53554 done
53555
53556
53557           if test x$ac_cv_func_copysignl = x"yes"; then
53558
53559 for ac_func in __signbitl
53560 do
53561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53562 echo "$as_me:$LINENO: checking for $ac_func" >&5
53563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53564 if eval "test \"\${$as_ac_var+set}\" = set"; then
53565   echo $ECHO_N "(cached) $ECHO_C" >&6
53566 else
53567   cat >conftest.$ac_ext <<_ACEOF
53568 #line $LINENO "configure"
53569 /* confdefs.h.  */
53570 _ACEOF
53571 cat confdefs.h >>conftest.$ac_ext
53572 cat >>conftest.$ac_ext <<_ACEOF
53573 /* end confdefs.h.  */
53574 /* System header to define __stub macros and hopefully few prototypes,
53575     which can conflict with char $ac_func (); below.
53576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53577     <limits.h> exists even on freestanding compilers.  */
53578 #ifdef __STDC__
53579 # include <limits.h>
53580 #else
53581 # include <assert.h>
53582 #endif
53583 /* Override any gcc2 internal prototype to avoid an error.  */
53584 #ifdef __cplusplus
53585 extern "C"
53586 {
53587 #endif
53588 /* We use char because int might match the return type of a gcc2
53589    builtin and then its argument prototype would still apply.  */
53590 char $ac_func ();
53591 /* The GNU C library defines this for functions which it implements
53592     to always fail with ENOSYS.  Some functions are actually named
53593     something starting with __ and the normal name is an alias.  */
53594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53595 choke me
53596 #else
53597 char (*f) () = $ac_func;
53598 #endif
53599 #ifdef __cplusplus
53600 }
53601 #endif
53602
53603 int
53604 main ()
53605 {
53606 return f != $ac_func;
53607   ;
53608   return 0;
53609 }
53610 _ACEOF
53611 rm -f conftest.$ac_objext conftest$ac_exeext
53612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53613   (eval $ac_link) 2>&5
53614   ac_status=$?
53615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53616   (exit $ac_status); } &&
53617          { ac_try='test -s conftest$ac_exeext'
53618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53619   (eval $ac_try) 2>&5
53620   ac_status=$?
53621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53622   (exit $ac_status); }; }; then
53623   eval "$as_ac_var=yes"
53624 else
53625   echo "$as_me: failed program was:" >&5
53626 sed 's/^/| /' conftest.$ac_ext >&5
53627
53628 eval "$as_ac_var=no"
53629 fi
53630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53631 fi
53632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53634 if test `eval echo '${'$as_ac_var'}'` = yes; then
53635   cat >>confdefs.h <<_ACEOF
53636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53637 _ACEOF
53638
53639 else
53640   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53641 fi
53642 done
53643
53644   fi
53645
53646   # XXX Review this.  Nothing uses it.
53647   if test -n "$LIBMATHOBJS"; then
53648     need_libmath=yes
53649   fi
53650
53651
53652
53653   # Test wchar.h for mbstate_t, which is needed for char_traits and
53654   # others even if wchar_t support is not on.
53655   echo "$as_me:$LINENO: checking for mbstate_t" >&5
53656 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53657   cat >conftest.$ac_ext <<_ACEOF
53658 #line $LINENO "configure"
53659 /* confdefs.h.  */
53660 _ACEOF
53661 cat confdefs.h >>conftest.$ac_ext
53662 cat >>conftest.$ac_ext <<_ACEOF
53663 /* end confdefs.h.  */
53664 #include <wchar.h>
53665 int
53666 main ()
53667 {
53668 mbstate_t teststate;
53669   ;
53670   return 0;
53671 }
53672 _ACEOF
53673 rm -f conftest.$ac_objext
53674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53675   (eval $ac_compile) 2>&5
53676   ac_status=$?
53677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53678   (exit $ac_status); } &&
53679          { ac_try='test -s conftest.$ac_objext'
53680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53681   (eval $ac_try) 2>&5
53682   ac_status=$?
53683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53684   (exit $ac_status); }; }; then
53685   have_mbstate_t=yes
53686 else
53687   echo "$as_me: failed program was:" >&5
53688 sed 's/^/| /' conftest.$ac_ext >&5
53689
53690 have_mbstate_t=no
53691 fi
53692 rm -f conftest.$ac_objext conftest.$ac_ext
53693   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53694 echo "${ECHO_T}$have_mbstate_t" >&6
53695   if test x"$have_mbstate_t" = xyes; then
53696     cat >>confdefs.h <<\_ACEOF
53697 #define HAVE_MBSTATE_T 1
53698 _ACEOF
53699
53700   fi
53701
53702   # Sanity check for existence of ISO C99 headers for extended encoding.
53703
53704 for ac_header in wchar.h
53705 do
53706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53708   echo "$as_me:$LINENO: checking for $ac_header" >&5
53709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53711   echo $ECHO_N "(cached) $ECHO_C" >&6
53712 fi
53713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53715 else
53716   # Is the header compilable?
53717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53719 cat >conftest.$ac_ext <<_ACEOF
53720 #line $LINENO "configure"
53721 /* confdefs.h.  */
53722 _ACEOF
53723 cat confdefs.h >>conftest.$ac_ext
53724 cat >>conftest.$ac_ext <<_ACEOF
53725 /* end confdefs.h.  */
53726 $ac_includes_default
53727 #include <$ac_header>
53728 _ACEOF
53729 rm -f conftest.$ac_objext
53730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53731   (eval $ac_compile) 2>&5
53732   ac_status=$?
53733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734   (exit $ac_status); } &&
53735          { ac_try='test -s conftest.$ac_objext'
53736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53737   (eval $ac_try) 2>&5
53738   ac_status=$?
53739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53740   (exit $ac_status); }; }; then
53741   ac_header_compiler=yes
53742 else
53743   echo "$as_me: failed program was:" >&5
53744 sed 's/^/| /' conftest.$ac_ext >&5
53745
53746 ac_header_compiler=no
53747 fi
53748 rm -f conftest.$ac_objext conftest.$ac_ext
53749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53750 echo "${ECHO_T}$ac_header_compiler" >&6
53751
53752 # Is the header present?
53753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53755 cat >conftest.$ac_ext <<_ACEOF
53756 #line $LINENO "configure"
53757 /* confdefs.h.  */
53758 _ACEOF
53759 cat confdefs.h >>conftest.$ac_ext
53760 cat >>conftest.$ac_ext <<_ACEOF
53761 /* end confdefs.h.  */
53762 #include <$ac_header>
53763 _ACEOF
53764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53765   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53766   ac_status=$?
53767   grep -v '^ *+' conftest.er1 >conftest.err
53768   rm -f conftest.er1
53769   cat conftest.err >&5
53770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53771   (exit $ac_status); } >/dev/null; then
53772   if test -s conftest.err; then
53773     ac_cpp_err=$ac_c_preproc_warn_flag
53774   else
53775     ac_cpp_err=
53776   fi
53777 else
53778   ac_cpp_err=yes
53779 fi
53780 if test -z "$ac_cpp_err"; then
53781   ac_header_preproc=yes
53782 else
53783   echo "$as_me: failed program was:" >&5
53784 sed 's/^/| /' conftest.$ac_ext >&5
53785
53786   ac_header_preproc=no
53787 fi
53788 rm -f conftest.err conftest.$ac_ext
53789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53790 echo "${ECHO_T}$ac_header_preproc" >&6
53791
53792 # So?  What about this header?
53793 case $ac_header_compiler:$ac_header_preproc in
53794   yes:no )
53795     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53797     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53799     (
53800       cat <<\_ASBOX
53801 ## ------------------------------------ ##
53802 ## Report this to bug-autoconf@gnu.org. ##
53803 ## ------------------------------------ ##
53804 _ASBOX
53805     ) |
53806       sed "s/^/$as_me: WARNING:     /" >&2
53807     ;;
53808   no:yes )
53809     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53811     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53813     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53814 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53815     (
53816       cat <<\_ASBOX
53817 ## ------------------------------------ ##
53818 ## Report this to bug-autoconf@gnu.org. ##
53819 ## ------------------------------------ ##
53820 _ASBOX
53821     ) |
53822       sed "s/^/$as_me: WARNING:     /" >&2
53823     ;;
53824 esac
53825 echo "$as_me:$LINENO: checking for $ac_header" >&5
53826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53828   echo $ECHO_N "(cached) $ECHO_C" >&6
53829 else
53830   eval "$as_ac_Header=$ac_header_preproc"
53831 fi
53832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53834
53835 fi
53836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53837   cat >>confdefs.h <<_ACEOF
53838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53839 _ACEOF
53840  ac_has_wchar_h=yes
53841 else
53842   ac_has_wchar_h=no
53843 fi
53844
53845 done
53846
53847
53848 for ac_header in wctype.h
53849 do
53850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53852   echo "$as_me:$LINENO: checking for $ac_header" >&5
53853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53855   echo $ECHO_N "(cached) $ECHO_C" >&6
53856 fi
53857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53859 else
53860   # Is the header compilable?
53861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53863 cat >conftest.$ac_ext <<_ACEOF
53864 #line $LINENO "configure"
53865 /* confdefs.h.  */
53866 _ACEOF
53867 cat confdefs.h >>conftest.$ac_ext
53868 cat >>conftest.$ac_ext <<_ACEOF
53869 /* end confdefs.h.  */
53870 $ac_includes_default
53871 #include <$ac_header>
53872 _ACEOF
53873 rm -f conftest.$ac_objext
53874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53875   (eval $ac_compile) 2>&5
53876   ac_status=$?
53877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53878   (exit $ac_status); } &&
53879          { ac_try='test -s conftest.$ac_objext'
53880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53881   (eval $ac_try) 2>&5
53882   ac_status=$?
53883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53884   (exit $ac_status); }; }; then
53885   ac_header_compiler=yes
53886 else
53887   echo "$as_me: failed program was:" >&5
53888 sed 's/^/| /' conftest.$ac_ext >&5
53889
53890 ac_header_compiler=no
53891 fi
53892 rm -f conftest.$ac_objext conftest.$ac_ext
53893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53894 echo "${ECHO_T}$ac_header_compiler" >&6
53895
53896 # Is the header present?
53897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53899 cat >conftest.$ac_ext <<_ACEOF
53900 #line $LINENO "configure"
53901 /* confdefs.h.  */
53902 _ACEOF
53903 cat confdefs.h >>conftest.$ac_ext
53904 cat >>conftest.$ac_ext <<_ACEOF
53905 /* end confdefs.h.  */
53906 #include <$ac_header>
53907 _ACEOF
53908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53909   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53910   ac_status=$?
53911   grep -v '^ *+' conftest.er1 >conftest.err
53912   rm -f conftest.er1
53913   cat conftest.err >&5
53914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53915   (exit $ac_status); } >/dev/null; then
53916   if test -s conftest.err; then
53917     ac_cpp_err=$ac_c_preproc_warn_flag
53918   else
53919     ac_cpp_err=
53920   fi
53921 else
53922   ac_cpp_err=yes
53923 fi
53924 if test -z "$ac_cpp_err"; then
53925   ac_header_preproc=yes
53926 else
53927   echo "$as_me: failed program was:" >&5
53928 sed 's/^/| /' conftest.$ac_ext >&5
53929
53930   ac_header_preproc=no
53931 fi
53932 rm -f conftest.err conftest.$ac_ext
53933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53934 echo "${ECHO_T}$ac_header_preproc" >&6
53935
53936 # So?  What about this header?
53937 case $ac_header_compiler:$ac_header_preproc in
53938   yes:no )
53939     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53941     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53943     (
53944       cat <<\_ASBOX
53945 ## ------------------------------------ ##
53946 ## Report this to bug-autoconf@gnu.org. ##
53947 ## ------------------------------------ ##
53948 _ASBOX
53949     ) |
53950       sed "s/^/$as_me: WARNING:     /" >&2
53951     ;;
53952   no:yes )
53953     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53955     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53959     (
53960       cat <<\_ASBOX
53961 ## ------------------------------------ ##
53962 ## Report this to bug-autoconf@gnu.org. ##
53963 ## ------------------------------------ ##
53964 _ASBOX
53965     ) |
53966       sed "s/^/$as_me: WARNING:     /" >&2
53967     ;;
53968 esac
53969 echo "$as_me:$LINENO: checking for $ac_header" >&5
53970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53972   echo $ECHO_N "(cached) $ECHO_C" >&6
53973 else
53974   eval "$as_ac_Header=$ac_header_preproc"
53975 fi
53976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53978
53979 fi
53980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53981   cat >>confdefs.h <<_ACEOF
53982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53983 _ACEOF
53984  ac_has_wctype_h=yes
53985 else
53986   ac_has_wctype_h=no
53987 fi
53988
53989 done
53990
53991
53992   # Only continue checking if the ISO C99 headers exist and support is on.
53993   if test x"$ac_has_wchar_h" = xyes &&
53994      test x"$ac_has_wctype_h" = xyes &&
53995      test x"$enable_c_mbchar" != xno; then
53996
53997     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
53998     # numeric_limits can instantiate type_traits<wchar_t>
53999     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54000 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54001     cat >conftest.$ac_ext <<_ACEOF
54002 #line $LINENO "configure"
54003 /* confdefs.h.  */
54004 _ACEOF
54005 cat confdefs.h >>conftest.$ac_ext
54006 cat >>conftest.$ac_ext <<_ACEOF
54007 /* end confdefs.h.  */
54008 #include <wchar.h>
54009 int
54010 main ()
54011 {
54012 int i = WCHAR_MIN; int j = WCHAR_MAX;
54013   ;
54014   return 0;
54015 }
54016 _ACEOF
54017 rm -f conftest.$ac_objext
54018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54019   (eval $ac_compile) 2>&5
54020   ac_status=$?
54021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54022   (exit $ac_status); } &&
54023          { ac_try='test -s conftest.$ac_objext'
54024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54025   (eval $ac_try) 2>&5
54026   ac_status=$?
54027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54028   (exit $ac_status); }; }; then
54029   has_wchar_minmax=yes
54030 else
54031   echo "$as_me: failed program was:" >&5
54032 sed 's/^/| /' conftest.$ac_ext >&5
54033
54034 has_wchar_minmax=no
54035 fi
54036 rm -f conftest.$ac_objext conftest.$ac_ext
54037     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54038 echo "${ECHO_T}$has_wchar_minmax" >&6
54039
54040     # Test wchar.h for WEOF, which is what we use to determine whether
54041     # to specialize for char_traits<wchar_t> or not.
54042     echo "$as_me:$LINENO: checking for WEOF" >&5
54043 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54044     cat >conftest.$ac_ext <<_ACEOF
54045 #line $LINENO "configure"
54046 /* confdefs.h.  */
54047 _ACEOF
54048 cat confdefs.h >>conftest.$ac_ext
54049 cat >>conftest.$ac_ext <<_ACEOF
54050 /* end confdefs.h.  */
54051
54052       #include <wchar.h>
54053       #include <stddef.h>
54054 int
54055 main ()
54056 {
54057 wint_t i = WEOF;
54058   ;
54059   return 0;
54060 }
54061 _ACEOF
54062 rm -f conftest.$ac_objext
54063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54064   (eval $ac_compile) 2>&5
54065   ac_status=$?
54066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54067   (exit $ac_status); } &&
54068          { ac_try='test -s conftest.$ac_objext'
54069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54070   (eval $ac_try) 2>&5
54071   ac_status=$?
54072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54073   (exit $ac_status); }; }; then
54074   has_weof=yes
54075 else
54076   echo "$as_me: failed program was:" >&5
54077 sed 's/^/| /' conftest.$ac_ext >&5
54078
54079 has_weof=no
54080 fi
54081 rm -f conftest.$ac_objext conftest.$ac_ext
54082     echo "$as_me:$LINENO: result: $has_weof" >&5
54083 echo "${ECHO_T}$has_weof" >&6
54084
54085     # Tests for wide character functions used in char_traits<wchar_t>.
54086     ac_wfuncs=yes
54087
54088
54089
54090
54091
54092
54093 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54094 do
54095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54096 echo "$as_me:$LINENO: checking for $ac_func" >&5
54097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54098 if eval "test \"\${$as_ac_var+set}\" = set"; then
54099   echo $ECHO_N "(cached) $ECHO_C" >&6
54100 else
54101   cat >conftest.$ac_ext <<_ACEOF
54102 #line $LINENO "configure"
54103 /* confdefs.h.  */
54104 _ACEOF
54105 cat confdefs.h >>conftest.$ac_ext
54106 cat >>conftest.$ac_ext <<_ACEOF
54107 /* end confdefs.h.  */
54108 /* System header to define __stub macros and hopefully few prototypes,
54109     which can conflict with char $ac_func (); below.
54110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54111     <limits.h> exists even on freestanding compilers.  */
54112 #ifdef __STDC__
54113 # include <limits.h>
54114 #else
54115 # include <assert.h>
54116 #endif
54117 /* Override any gcc2 internal prototype to avoid an error.  */
54118 #ifdef __cplusplus
54119 extern "C"
54120 {
54121 #endif
54122 /* We use char because int might match the return type of a gcc2
54123    builtin and then its argument prototype would still apply.  */
54124 char $ac_func ();
54125 /* The GNU C library defines this for functions which it implements
54126     to always fail with ENOSYS.  Some functions are actually named
54127     something starting with __ and the normal name is an alias.  */
54128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54129 choke me
54130 #else
54131 char (*f) () = $ac_func;
54132 #endif
54133 #ifdef __cplusplus
54134 }
54135 #endif
54136
54137 int
54138 main ()
54139 {
54140 return f != $ac_func;
54141   ;
54142   return 0;
54143 }
54144 _ACEOF
54145 rm -f conftest.$ac_objext conftest$ac_exeext
54146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54147   (eval $ac_link) 2>&5
54148   ac_status=$?
54149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54150   (exit $ac_status); } &&
54151          { ac_try='test -s conftest$ac_exeext'
54152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54153   (eval $ac_try) 2>&5
54154   ac_status=$?
54155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54156   (exit $ac_status); }; }; then
54157   eval "$as_ac_var=yes"
54158 else
54159   echo "$as_me: failed program was:" >&5
54160 sed 's/^/| /' conftest.$ac_ext >&5
54161
54162 eval "$as_ac_var=no"
54163 fi
54164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54165 fi
54166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54168 if test `eval echo '${'$as_ac_var'}'` = yes; then
54169   cat >>confdefs.h <<_ACEOF
54170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54171 _ACEOF
54172
54173 else
54174   ac_wfuncs=no
54175 fi
54176 done
54177
54178
54179     # Checks for names injected into std:: by the c_std headers.
54180
54181
54182
54183
54184
54185
54186
54187
54188
54189
54190
54191
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54231     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
54232     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54233     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
54234     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54235     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54236 do
54237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54238 echo "$as_me:$LINENO: checking for $ac_func" >&5
54239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54240 if eval "test \"\${$as_ac_var+set}\" = set"; then
54241   echo $ECHO_N "(cached) $ECHO_C" >&6
54242 else
54243   cat >conftest.$ac_ext <<_ACEOF
54244 #line $LINENO "configure"
54245 /* confdefs.h.  */
54246 _ACEOF
54247 cat confdefs.h >>conftest.$ac_ext
54248 cat >>conftest.$ac_ext <<_ACEOF
54249 /* end confdefs.h.  */
54250 /* System header to define __stub macros and hopefully few prototypes,
54251     which can conflict with char $ac_func (); below.
54252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54253     <limits.h> exists even on freestanding compilers.  */
54254 #ifdef __STDC__
54255 # include <limits.h>
54256 #else
54257 # include <assert.h>
54258 #endif
54259 /* Override any gcc2 internal prototype to avoid an error.  */
54260 #ifdef __cplusplus
54261 extern "C"
54262 {
54263 #endif
54264 /* We use char because int might match the return type of a gcc2
54265    builtin and then its argument prototype would still apply.  */
54266 char $ac_func ();
54267 /* The GNU C library defines this for functions which it implements
54268     to always fail with ENOSYS.  Some functions are actually named
54269     something starting with __ and the normal name is an alias.  */
54270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54271 choke me
54272 #else
54273 char (*f) () = $ac_func;
54274 #endif
54275 #ifdef __cplusplus
54276 }
54277 #endif
54278
54279 int
54280 main ()
54281 {
54282 return f != $ac_func;
54283   ;
54284   return 0;
54285 }
54286 _ACEOF
54287 rm -f conftest.$ac_objext conftest$ac_exeext
54288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54289   (eval $ac_link) 2>&5
54290   ac_status=$?
54291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54292   (exit $ac_status); } &&
54293          { ac_try='test -s conftest$ac_exeext'
54294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54295   (eval $ac_try) 2>&5
54296   ac_status=$?
54297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54298   (exit $ac_status); }; }; then
54299   eval "$as_ac_var=yes"
54300 else
54301   echo "$as_me: failed program was:" >&5
54302 sed 's/^/| /' conftest.$ac_ext >&5
54303
54304 eval "$as_ac_var=no"
54305 fi
54306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54307 fi
54308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54310 if test `eval echo '${'$as_ac_var'}'` = yes; then
54311   cat >>confdefs.h <<_ACEOF
54312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54313 _ACEOF
54314
54315 else
54316   ac_wfuncs=no
54317 fi
54318 done
54319
54320
54321     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54322 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54323     if test x"$has_weof" = xyes &&
54324        test x"$has_wchar_minmax" = xyes &&
54325        test x"$ac_wfuncs" = xyes;
54326     then
54327       ac_isoC99_wchar_t=yes
54328     else
54329       ac_isoC99_wchar_t=no
54330     fi
54331     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54332 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54333
54334     # Use iconv for wchar_t to char conversions. As such, check for
54335     # X/Open Portability Guide, version 2 features (XPG2).
54336     if test "${ac_cv_header_iconv_h+set}" = set; then
54337   echo "$as_me:$LINENO: checking for iconv.h" >&5
54338 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54339 if test "${ac_cv_header_iconv_h+set}" = set; then
54340   echo $ECHO_N "(cached) $ECHO_C" >&6
54341 fi
54342 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54343 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54344 else
54345   # Is the header compilable?
54346 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54347 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54348 cat >conftest.$ac_ext <<_ACEOF
54349 #line $LINENO "configure"
54350 /* confdefs.h.  */
54351 _ACEOF
54352 cat confdefs.h >>conftest.$ac_ext
54353 cat >>conftest.$ac_ext <<_ACEOF
54354 /* end confdefs.h.  */
54355 $ac_includes_default
54356 #include <iconv.h>
54357 _ACEOF
54358 rm -f conftest.$ac_objext
54359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54360   (eval $ac_compile) 2>&5
54361   ac_status=$?
54362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54363   (exit $ac_status); } &&
54364          { ac_try='test -s conftest.$ac_objext'
54365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54366   (eval $ac_try) 2>&5
54367   ac_status=$?
54368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54369   (exit $ac_status); }; }; then
54370   ac_header_compiler=yes
54371 else
54372   echo "$as_me: failed program was:" >&5
54373 sed 's/^/| /' conftest.$ac_ext >&5
54374
54375 ac_header_compiler=no
54376 fi
54377 rm -f conftest.$ac_objext conftest.$ac_ext
54378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54379 echo "${ECHO_T}$ac_header_compiler" >&6
54380
54381 # Is the header present?
54382 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54383 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54384 cat >conftest.$ac_ext <<_ACEOF
54385 #line $LINENO "configure"
54386 /* confdefs.h.  */
54387 _ACEOF
54388 cat confdefs.h >>conftest.$ac_ext
54389 cat >>conftest.$ac_ext <<_ACEOF
54390 /* end confdefs.h.  */
54391 #include <iconv.h>
54392 _ACEOF
54393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54394   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54395   ac_status=$?
54396   grep -v '^ *+' conftest.er1 >conftest.err
54397   rm -f conftest.er1
54398   cat conftest.err >&5
54399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54400   (exit $ac_status); } >/dev/null; then
54401   if test -s conftest.err; then
54402     ac_cpp_err=$ac_c_preproc_warn_flag
54403   else
54404     ac_cpp_err=
54405   fi
54406 else
54407   ac_cpp_err=yes
54408 fi
54409 if test -z "$ac_cpp_err"; then
54410   ac_header_preproc=yes
54411 else
54412   echo "$as_me: failed program was:" >&5
54413 sed 's/^/| /' conftest.$ac_ext >&5
54414
54415   ac_header_preproc=no
54416 fi
54417 rm -f conftest.err conftest.$ac_ext
54418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54419 echo "${ECHO_T}$ac_header_preproc" >&6
54420
54421 # So?  What about this header?
54422 case $ac_header_compiler:$ac_header_preproc in
54423   yes:no )
54424     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
54425 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54426     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54427 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54428     (
54429       cat <<\_ASBOX
54430 ## ------------------------------------ ##
54431 ## Report this to bug-autoconf@gnu.org. ##
54432 ## ------------------------------------ ##
54433 _ASBOX
54434     ) |
54435       sed "s/^/$as_me: WARNING:     /" >&2
54436     ;;
54437   no:yes )
54438     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
54439 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
54440     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
54441 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
54442     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54443 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54444     (
54445       cat <<\_ASBOX
54446 ## ------------------------------------ ##
54447 ## Report this to bug-autoconf@gnu.org. ##
54448 ## ------------------------------------ ##
54449 _ASBOX
54450     ) |
54451       sed "s/^/$as_me: WARNING:     /" >&2
54452     ;;
54453 esac
54454 echo "$as_me:$LINENO: checking for iconv.h" >&5
54455 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54456 if test "${ac_cv_header_iconv_h+set}" = set; then
54457   echo $ECHO_N "(cached) $ECHO_C" >&6
54458 else
54459   ac_cv_header_iconv_h=$ac_header_preproc
54460 fi
54461 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54462 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54463
54464 fi
54465 if test $ac_cv_header_iconv_h = yes; then
54466   ac_has_iconv_h=yes
54467 else
54468   ac_has_iconv_h=no
54469 fi
54470
54471
54472     if test "${ac_cv_header_langinfo_h+set}" = set; then
54473   echo "$as_me:$LINENO: checking for langinfo.h" >&5
54474 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54475 if test "${ac_cv_header_langinfo_h+set}" = set; then
54476   echo $ECHO_N "(cached) $ECHO_C" >&6
54477 fi
54478 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54479 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54480 else
54481   # Is the header compilable?
54482 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54483 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54484 cat >conftest.$ac_ext <<_ACEOF
54485 #line $LINENO "configure"
54486 /* confdefs.h.  */
54487 _ACEOF
54488 cat confdefs.h >>conftest.$ac_ext
54489 cat >>conftest.$ac_ext <<_ACEOF
54490 /* end confdefs.h.  */
54491 $ac_includes_default
54492 #include <langinfo.h>
54493 _ACEOF
54494 rm -f conftest.$ac_objext
54495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54496   (eval $ac_compile) 2>&5
54497   ac_status=$?
54498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54499   (exit $ac_status); } &&
54500          { ac_try='test -s conftest.$ac_objext'
54501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54502   (eval $ac_try) 2>&5
54503   ac_status=$?
54504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54505   (exit $ac_status); }; }; then
54506   ac_header_compiler=yes
54507 else
54508   echo "$as_me: failed program was:" >&5
54509 sed 's/^/| /' conftest.$ac_ext >&5
54510
54511 ac_header_compiler=no
54512 fi
54513 rm -f conftest.$ac_objext conftest.$ac_ext
54514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54515 echo "${ECHO_T}$ac_header_compiler" >&6
54516
54517 # Is the header present?
54518 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54519 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54520 cat >conftest.$ac_ext <<_ACEOF
54521 #line $LINENO "configure"
54522 /* confdefs.h.  */
54523 _ACEOF
54524 cat confdefs.h >>conftest.$ac_ext
54525 cat >>conftest.$ac_ext <<_ACEOF
54526 /* end confdefs.h.  */
54527 #include <langinfo.h>
54528 _ACEOF
54529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54530   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54531   ac_status=$?
54532   grep -v '^ *+' conftest.er1 >conftest.err
54533   rm -f conftest.er1
54534   cat conftest.err >&5
54535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536   (exit $ac_status); } >/dev/null; then
54537   if test -s conftest.err; then
54538     ac_cpp_err=$ac_c_preproc_warn_flag
54539   else
54540     ac_cpp_err=
54541   fi
54542 else
54543   ac_cpp_err=yes
54544 fi
54545 if test -z "$ac_cpp_err"; then
54546   ac_header_preproc=yes
54547 else
54548   echo "$as_me: failed program was:" >&5
54549 sed 's/^/| /' conftest.$ac_ext >&5
54550
54551   ac_header_preproc=no
54552 fi
54553 rm -f conftest.err conftest.$ac_ext
54554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54555 echo "${ECHO_T}$ac_header_preproc" >&6
54556
54557 # So?  What about this header?
54558 case $ac_header_compiler:$ac_header_preproc in
54559   yes:no )
54560     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54561 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54562     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54563 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54564     (
54565       cat <<\_ASBOX
54566 ## ------------------------------------ ##
54567 ## Report this to bug-autoconf@gnu.org. ##
54568 ## ------------------------------------ ##
54569 _ASBOX
54570     ) |
54571       sed "s/^/$as_me: WARNING:     /" >&2
54572     ;;
54573   no:yes )
54574     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54575 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54576     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54577 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54578     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54579 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54580     (
54581       cat <<\_ASBOX
54582 ## ------------------------------------ ##
54583 ## Report this to bug-autoconf@gnu.org. ##
54584 ## ------------------------------------ ##
54585 _ASBOX
54586     ) |
54587       sed "s/^/$as_me: WARNING:     /" >&2
54588     ;;
54589 esac
54590 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54591 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54592 if test "${ac_cv_header_langinfo_h+set}" = set; then
54593   echo $ECHO_N "(cached) $ECHO_C" >&6
54594 else
54595   ac_cv_header_langinfo_h=$ac_header_preproc
54596 fi
54597 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54598 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54599
54600 fi
54601 if test $ac_cv_header_langinfo_h = yes; then
54602   ac_has_langinfo_h=yes
54603 else
54604   ac_has_langinfo_h=no
54605 fi
54606
54607
54608
54609     # Check for existence of libiconv.a providing XPG2 wchar_t support.
54610     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54611 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54612 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54613   echo $ECHO_N "(cached) $ECHO_C" >&6
54614 else
54615   ac_check_lib_save_LIBS=$LIBS
54616 LIBS="-liconv  $LIBS"
54617 cat >conftest.$ac_ext <<_ACEOF
54618 #line $LINENO "configure"
54619 /* confdefs.h.  */
54620 _ACEOF
54621 cat confdefs.h >>conftest.$ac_ext
54622 cat >>conftest.$ac_ext <<_ACEOF
54623 /* end confdefs.h.  */
54624
54625 /* Override any gcc2 internal prototype to avoid an error.  */
54626 #ifdef __cplusplus
54627 extern "C"
54628 #endif
54629 /* We use char because int might match the return type of a gcc2
54630    builtin and then its argument prototype would still apply.  */
54631 char iconv ();
54632 int
54633 main ()
54634 {
54635 iconv ();
54636   ;
54637   return 0;
54638 }
54639 _ACEOF
54640 rm -f conftest.$ac_objext conftest$ac_exeext
54641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54642   (eval $ac_link) 2>&5
54643   ac_status=$?
54644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54645   (exit $ac_status); } &&
54646          { ac_try='test -s conftest$ac_exeext'
54647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54648   (eval $ac_try) 2>&5
54649   ac_status=$?
54650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54651   (exit $ac_status); }; }; then
54652   ac_cv_lib_iconv_iconv=yes
54653 else
54654   echo "$as_me: failed program was:" >&5
54655 sed 's/^/| /' conftest.$ac_ext >&5
54656
54657 ac_cv_lib_iconv_iconv=no
54658 fi
54659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54660 LIBS=$ac_check_lib_save_LIBS
54661 fi
54662 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
54663 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
54664 if test $ac_cv_lib_iconv_iconv = yes; then
54665   libiconv="-liconv"
54666 fi
54667
54668     ac_save_LIBS="$LIBS"
54669     LIBS="$LIBS $libiconv"
54670
54671
54672
54673
54674
54675 for ac_func in iconv_open iconv_close iconv nl_langinfo
54676 do
54677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54678 echo "$as_me:$LINENO: checking for $ac_func" >&5
54679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54680 if eval "test \"\${$as_ac_var+set}\" = set"; then
54681   echo $ECHO_N "(cached) $ECHO_C" >&6
54682 else
54683   cat >conftest.$ac_ext <<_ACEOF
54684 #line $LINENO "configure"
54685 /* confdefs.h.  */
54686 _ACEOF
54687 cat confdefs.h >>conftest.$ac_ext
54688 cat >>conftest.$ac_ext <<_ACEOF
54689 /* end confdefs.h.  */
54690 /* System header to define __stub macros and hopefully few prototypes,
54691     which can conflict with char $ac_func (); below.
54692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54693     <limits.h> exists even on freestanding compilers.  */
54694 #ifdef __STDC__
54695 # include <limits.h>
54696 #else
54697 # include <assert.h>
54698 #endif
54699 /* Override any gcc2 internal prototype to avoid an error.  */
54700 #ifdef __cplusplus
54701 extern "C"
54702 {
54703 #endif
54704 /* We use char because int might match the return type of a gcc2
54705    builtin and then its argument prototype would still apply.  */
54706 char $ac_func ();
54707 /* The GNU C library defines this for functions which it implements
54708     to always fail with ENOSYS.  Some functions are actually named
54709     something starting with __ and the normal name is an alias.  */
54710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54711 choke me
54712 #else
54713 char (*f) () = $ac_func;
54714 #endif
54715 #ifdef __cplusplus
54716 }
54717 #endif
54718
54719 int
54720 main ()
54721 {
54722 return f != $ac_func;
54723   ;
54724   return 0;
54725 }
54726 _ACEOF
54727 rm -f conftest.$ac_objext conftest$ac_exeext
54728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54729   (eval $ac_link) 2>&5
54730   ac_status=$?
54731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732   (exit $ac_status); } &&
54733          { ac_try='test -s conftest$ac_exeext'
54734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54735   (eval $ac_try) 2>&5
54736   ac_status=$?
54737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54738   (exit $ac_status); }; }; then
54739   eval "$as_ac_var=yes"
54740 else
54741   echo "$as_me: failed program was:" >&5
54742 sed 's/^/| /' conftest.$ac_ext >&5
54743
54744 eval "$as_ac_var=no"
54745 fi
54746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54747 fi
54748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54750 if test `eval echo '${'$as_ac_var'}'` = yes; then
54751   cat >>confdefs.h <<_ACEOF
54752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54753 _ACEOF
54754  ac_XPG2funcs=yes
54755 else
54756   ac_XPG2funcs=no
54757 fi
54758 done
54759
54760
54761     LIBS="$ac_save_LIBS"
54762
54763     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
54764 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
54765     if test x"$ac_has_iconv_h" = xyes &&
54766        test x"$ac_has_langinfo_h" = xyes &&
54767        test x"$ac_XPG2funcs" = xyes;
54768     then
54769       ac_XPG2_wchar_t=yes
54770     else
54771       ac_XPG2_wchar_t=no
54772     fi
54773     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
54774 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
54775
54776     # At the moment, only enable wchar_t specializations if all the
54777     # above support is present.
54778     if test x"$ac_isoC99_wchar_t" = xyes &&
54779        test x"$ac_XPG2_wchar_t" = xyes;
54780     then
54781       cat >>confdefs.h <<\_ACEOF
54782 #define _GLIBCXX_USE_WCHAR_T 1
54783 _ACEOF
54784
54785       enable_wchar_t=yes
54786     fi
54787   fi
54788   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
54789 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
54790   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
54791 echo "${ECHO_T}$enable_wchar_t" >&6
54792
54793     cat >>confdefs.h <<\_ACEOF
54794 #define HAVE_COPYSIGN 1
54795 _ACEOF
54796
54797     cat >>confdefs.h <<\_ACEOF
54798 #define HAVE_COPYSIGNF 1
54799 _ACEOF
54800
54801     cat >>confdefs.h <<\_ACEOF
54802 #define HAVE_FINITEF 1
54803 _ACEOF
54804
54805     cat >>confdefs.h <<\_ACEOF
54806 #define HAVE_FINITE 1
54807 _ACEOF
54808
54809     cat >>confdefs.h <<\_ACEOF
54810 #define HAVE_FREXPF 1
54811 _ACEOF
54812
54813     cat >>confdefs.h <<\_ACEOF
54814 #define HAVE_HYPOTF 1
54815 _ACEOF
54816
54817     cat >>confdefs.h <<\_ACEOF
54818 #define HAVE_ISINF 1
54819 _ACEOF
54820
54821     cat >>confdefs.h <<\_ACEOF
54822 #define HAVE_ISINFF 1
54823 _ACEOF
54824
54825     cat >>confdefs.h <<\_ACEOF
54826 #define HAVE_ISNAN 1
54827 _ACEOF
54828
54829     cat >>confdefs.h <<\_ACEOF
54830 #define HAVE_ISNANF 1
54831 _ACEOF
54832
54833     if test x"long_double_math_on_this_cpu" = x"yes"; then
54834       cat >>confdefs.h <<\_ACEOF
54835 #define HAVE_FINITEL 1
54836 _ACEOF
54837
54838       cat >>confdefs.h <<\_ACEOF
54839 #define HAVE_ISINFL 1
54840 _ACEOF
54841
54842       cat >>confdefs.h <<\_ACEOF
54843 #define HAVE_ISNANL 1
54844 _ACEOF
54845
54846     fi
54847     ;;
54848   *-qnx6.1* | *-qnx6.2*)
54849     #os_include_dir="os/qnx/qnx6.1"
54850     SECTION_FLAGS='-ffunction-sections -fdata-sections'
54851
54852
54853   # If we're not using GNU ld, then there's no point in even trying these
54854   # tests.  Check for that first.  We should have already tested for gld
54855   # by now (in libtool), but require it now just to be safe...
54856   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54857   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54858
54859
54860
54861   # The name set by libtool depends on the version of libtool.  Shame on us
54862   # for depending on an impl detail, but c'est la vie.  Older versions used
54863   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54864   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54865   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54866   # set (hence we're using an older libtool), then set it.
54867   if test x${with_gnu_ld+set} != xset; then
54868     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54869       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54870       with_gnu_ld=no
54871     else
54872       with_gnu_ld=$ac_cv_prog_gnu_ld
54873     fi
54874   fi
54875
54876   # Start by getting the version number.  I think the libtool test already
54877   # does some of this, but throws away the result.
54878
54879   ldver=`$LD --version 2>/dev/null | head -1 | \
54880          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54881
54882   glibcxx_gnu_ld_version=`echo $ldver | \
54883          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54884
54885   # Set --gc-sections.
54886   if test "$with_gnu_ld" = "notbroken"; then
54887     # GNU ld it is!  Joy and bunny rabbits!
54888
54889     # All these tests are for C++; save the language and the compiler flags.
54890     # Need to do this so that g++ won't try to link in libstdc++
54891     ac_test_CFLAGS="${CFLAGS+set}"
54892     ac_save_CFLAGS="$CFLAGS"
54893     CFLAGS='-x c++  -Wl,--gc-sections'
54894
54895     # Check for -Wl,--gc-sections
54896     # XXX This test is broken at the moment, as symbols required for linking
54897     # are now in libsupc++ (not built yet).  In addition, this test has
54898     # cored on solaris in the past.  In addition, --gc-sections doesn't
54899     # really work at the moment (keeps on discarding used sections, first
54900     # .eh_frame and now some of the glibc sections for iconv).
54901     # Bzzzzt.  Thanks for playing, maybe next time.
54902     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54903 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54904     if test "$cross_compiling" = yes; then
54905   ac_sectionLDflags=yes
54906 else
54907   cat >conftest.$ac_ext <<_ACEOF
54908 #line $LINENO "configure"
54909 /* confdefs.h.  */
54910 _ACEOF
54911 cat confdefs.h >>conftest.$ac_ext
54912 cat >>conftest.$ac_ext <<_ACEOF
54913 /* end confdefs.h.  */
54914
54915      int main(void)
54916      {
54917        try { throw 1; }
54918        catch (...) { };
54919        return 0;
54920      }
54921
54922 _ACEOF
54923 rm -f conftest$ac_exeext
54924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54925   (eval $ac_link) 2>&5
54926   ac_status=$?
54927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54928   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
54929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54930   (eval $ac_try) 2>&5
54931   ac_status=$?
54932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54933   (exit $ac_status); }; }; then
54934   ac_sectionLDflags=yes
54935 else
54936   echo "$as_me: program exited with status $ac_status" >&5
54937 echo "$as_me: failed program was:" >&5
54938 sed 's/^/| /' conftest.$ac_ext >&5
54939
54940 ( exit $ac_status )
54941 ac_sectionLDflags=no
54942 fi
54943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54944 fi
54945     if test "$ac_test_CFLAGS" = set; then
54946       CFLAGS="$ac_save_CFLAGS"
54947     else
54948       # this is the suspicious part
54949       CFLAGS=''
54950     fi
54951     if test "$ac_sectionLDflags" = "yes"; then
54952       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54953     fi
54954     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
54955 echo "${ECHO_T}$ac_sectionLDflags" >&6
54956   fi
54957
54958   # Set linker optimization flags.
54959   if test x"$with_gnu_ld" = x"yes"; then
54960     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54961   fi
54962
54963
54964
54965
54966
54967
54968 echo "$as_me:$LINENO: checking for main in -lm" >&5
54969 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54970 if test "${ac_cv_lib_m_main+set}" = set; then
54971   echo $ECHO_N "(cached) $ECHO_C" >&6
54972 else
54973   ac_check_lib_save_LIBS=$LIBS
54974 LIBS="-lm  $LIBS"
54975 cat >conftest.$ac_ext <<_ACEOF
54976 #line $LINENO "configure"
54977 /* confdefs.h.  */
54978 _ACEOF
54979 cat confdefs.h >>conftest.$ac_ext
54980 cat >>conftest.$ac_ext <<_ACEOF
54981 /* end confdefs.h.  */
54982
54983
54984 int
54985 main ()
54986 {
54987 main ();
54988   ;
54989   return 0;
54990 }
54991 _ACEOF
54992 rm -f conftest.$ac_objext conftest$ac_exeext
54993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54994   (eval $ac_link) 2>&5
54995   ac_status=$?
54996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54997   (exit $ac_status); } &&
54998          { ac_try='test -s conftest$ac_exeext'
54999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55000   (eval $ac_try) 2>&5
55001   ac_status=$?
55002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55003   (exit $ac_status); }; }; then
55004   ac_cv_lib_m_main=yes
55005 else
55006   echo "$as_me: failed program was:" >&5
55007 sed 's/^/| /' conftest.$ac_ext >&5
55008
55009 ac_cv_lib_m_main=no
55010 fi
55011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55012 LIBS=$ac_check_lib_save_LIBS
55013 fi
55014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55015 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55016 if test $ac_cv_lib_m_main = yes; then
55017   cat >>confdefs.h <<_ACEOF
55018 #define HAVE_LIBM 1
55019 _ACEOF
55020
55021   LIBS="-lm $LIBS"
55022
55023 fi
55024
55025
55026
55027 for ac_func in nan copysignf
55028 do
55029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55030 echo "$as_me:$LINENO: checking for $ac_func" >&5
55031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55032 if eval "test \"\${$as_ac_var+set}\" = set"; then
55033   echo $ECHO_N "(cached) $ECHO_C" >&6
55034 else
55035   cat >conftest.$ac_ext <<_ACEOF
55036 #line $LINENO "configure"
55037 /* confdefs.h.  */
55038 _ACEOF
55039 cat confdefs.h >>conftest.$ac_ext
55040 cat >>conftest.$ac_ext <<_ACEOF
55041 /* end confdefs.h.  */
55042 /* System header to define __stub macros and hopefully few prototypes,
55043     which can conflict with char $ac_func (); below.
55044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55045     <limits.h> exists even on freestanding compilers.  */
55046 #ifdef __STDC__
55047 # include <limits.h>
55048 #else
55049 # include <assert.h>
55050 #endif
55051 /* Override any gcc2 internal prototype to avoid an error.  */
55052 #ifdef __cplusplus
55053 extern "C"
55054 {
55055 #endif
55056 /* We use char because int might match the return type of a gcc2
55057    builtin and then its argument prototype would still apply.  */
55058 char $ac_func ();
55059 /* The GNU C library defines this for functions which it implements
55060     to always fail with ENOSYS.  Some functions are actually named
55061     something starting with __ and the normal name is an alias.  */
55062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55063 choke me
55064 #else
55065 char (*f) () = $ac_func;
55066 #endif
55067 #ifdef __cplusplus
55068 }
55069 #endif
55070
55071 int
55072 main ()
55073 {
55074 return f != $ac_func;
55075   ;
55076   return 0;
55077 }
55078 _ACEOF
55079 rm -f conftest.$ac_objext conftest$ac_exeext
55080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55081   (eval $ac_link) 2>&5
55082   ac_status=$?
55083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55084   (exit $ac_status); } &&
55085          { ac_try='test -s conftest$ac_exeext'
55086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55087   (eval $ac_try) 2>&5
55088   ac_status=$?
55089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55090   (exit $ac_status); }; }; then
55091   eval "$as_ac_var=yes"
55092 else
55093   echo "$as_me: failed program was:" >&5
55094 sed 's/^/| /' conftest.$ac_ext >&5
55095
55096 eval "$as_ac_var=no"
55097 fi
55098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55099 fi
55100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55102 if test `eval echo '${'$as_ac_var'}'` = yes; then
55103   cat >>confdefs.h <<_ACEOF
55104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55105 _ACEOF
55106
55107 else
55108   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55109 fi
55110 done
55111
55112
55113
55114 for ac_func in __signbit
55115 do
55116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55117 echo "$as_me:$LINENO: checking for $ac_func" >&5
55118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55119 if eval "test \"\${$as_ac_var+set}\" = set"; then
55120   echo $ECHO_N "(cached) $ECHO_C" >&6
55121 else
55122   cat >conftest.$ac_ext <<_ACEOF
55123 #line $LINENO "configure"
55124 /* confdefs.h.  */
55125 _ACEOF
55126 cat confdefs.h >>conftest.$ac_ext
55127 cat >>conftest.$ac_ext <<_ACEOF
55128 /* end confdefs.h.  */
55129 /* System header to define __stub macros and hopefully few prototypes,
55130     which can conflict with char $ac_func (); below.
55131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55132     <limits.h> exists even on freestanding compilers.  */
55133 #ifdef __STDC__
55134 # include <limits.h>
55135 #else
55136 # include <assert.h>
55137 #endif
55138 /* Override any gcc2 internal prototype to avoid an error.  */
55139 #ifdef __cplusplus
55140 extern "C"
55141 {
55142 #endif
55143 /* We use char because int might match the return type of a gcc2
55144    builtin and then its argument prototype would still apply.  */
55145 char $ac_func ();
55146 /* The GNU C library defines this for functions which it implements
55147     to always fail with ENOSYS.  Some functions are actually named
55148     something starting with __ and the normal name is an alias.  */
55149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55150 choke me
55151 #else
55152 char (*f) () = $ac_func;
55153 #endif
55154 #ifdef __cplusplus
55155 }
55156 #endif
55157
55158 int
55159 main ()
55160 {
55161 return f != $ac_func;
55162   ;
55163   return 0;
55164 }
55165 _ACEOF
55166 rm -f conftest.$ac_objext conftest$ac_exeext
55167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55168   (eval $ac_link) 2>&5
55169   ac_status=$?
55170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55171   (exit $ac_status); } &&
55172          { ac_try='test -s conftest$ac_exeext'
55173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55174   (eval $ac_try) 2>&5
55175   ac_status=$?
55176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55177   (exit $ac_status); }; }; then
55178   eval "$as_ac_var=yes"
55179 else
55180   echo "$as_me: failed program was:" >&5
55181 sed 's/^/| /' conftest.$ac_ext >&5
55182
55183 eval "$as_ac_var=no"
55184 fi
55185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55186 fi
55187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55189 if test `eval echo '${'$as_ac_var'}'` = yes; then
55190   cat >>confdefs.h <<_ACEOF
55191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55192 _ACEOF
55193
55194 else
55195   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55196 fi
55197 done
55198
55199
55200 for ac_func in __signbitf
55201 do
55202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55203 echo "$as_me:$LINENO: checking for $ac_func" >&5
55204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55205 if eval "test \"\${$as_ac_var+set}\" = set"; then
55206   echo $ECHO_N "(cached) $ECHO_C" >&6
55207 else
55208   cat >conftest.$ac_ext <<_ACEOF
55209 #line $LINENO "configure"
55210 /* confdefs.h.  */
55211 _ACEOF
55212 cat confdefs.h >>conftest.$ac_ext
55213 cat >>conftest.$ac_ext <<_ACEOF
55214 /* end confdefs.h.  */
55215 /* System header to define __stub macros and hopefully few prototypes,
55216     which can conflict with char $ac_func (); below.
55217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55218     <limits.h> exists even on freestanding compilers.  */
55219 #ifdef __STDC__
55220 # include <limits.h>
55221 #else
55222 # include <assert.h>
55223 #endif
55224 /* Override any gcc2 internal prototype to avoid an error.  */
55225 #ifdef __cplusplus
55226 extern "C"
55227 {
55228 #endif
55229 /* We use char because int might match the return type of a gcc2
55230    builtin and then its argument prototype would still apply.  */
55231 char $ac_func ();
55232 /* The GNU C library defines this for functions which it implements
55233     to always fail with ENOSYS.  Some functions are actually named
55234     something starting with __ and the normal name is an alias.  */
55235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55236 choke me
55237 #else
55238 char (*f) () = $ac_func;
55239 #endif
55240 #ifdef __cplusplus
55241 }
55242 #endif
55243
55244 int
55245 main ()
55246 {
55247 return f != $ac_func;
55248   ;
55249   return 0;
55250 }
55251 _ACEOF
55252 rm -f conftest.$ac_objext conftest$ac_exeext
55253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55254   (eval $ac_link) 2>&5
55255   ac_status=$?
55256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55257   (exit $ac_status); } &&
55258          { ac_try='test -s conftest$ac_exeext'
55259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55260   (eval $ac_try) 2>&5
55261   ac_status=$?
55262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55263   (exit $ac_status); }; }; then
55264   eval "$as_ac_var=yes"
55265 else
55266   echo "$as_me: failed program was:" >&5
55267 sed 's/^/| /' conftest.$ac_ext >&5
55268
55269 eval "$as_ac_var=no"
55270 fi
55271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55272 fi
55273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55275 if test `eval echo '${'$as_ac_var'}'` = yes; then
55276   cat >>confdefs.h <<_ACEOF
55277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55278 _ACEOF
55279
55280 else
55281   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55282 fi
55283 done
55284
55285
55286           if test x$ac_cv_func_copysignl = x"yes"; then
55287
55288 for ac_func in __signbitl
55289 do
55290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55291 echo "$as_me:$LINENO: checking for $ac_func" >&5
55292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55293 if eval "test \"\${$as_ac_var+set}\" = set"; then
55294   echo $ECHO_N "(cached) $ECHO_C" >&6
55295 else
55296   cat >conftest.$ac_ext <<_ACEOF
55297 #line $LINENO "configure"
55298 /* confdefs.h.  */
55299 _ACEOF
55300 cat confdefs.h >>conftest.$ac_ext
55301 cat >>conftest.$ac_ext <<_ACEOF
55302 /* end confdefs.h.  */
55303 /* System header to define __stub macros and hopefully few prototypes,
55304     which can conflict with char $ac_func (); below.
55305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55306     <limits.h> exists even on freestanding compilers.  */
55307 #ifdef __STDC__
55308 # include <limits.h>
55309 #else
55310 # include <assert.h>
55311 #endif
55312 /* Override any gcc2 internal prototype to avoid an error.  */
55313 #ifdef __cplusplus
55314 extern "C"
55315 {
55316 #endif
55317 /* We use char because int might match the return type of a gcc2
55318    builtin and then its argument prototype would still apply.  */
55319 char $ac_func ();
55320 /* The GNU C library defines this for functions which it implements
55321     to always fail with ENOSYS.  Some functions are actually named
55322     something starting with __ and the normal name is an alias.  */
55323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55324 choke me
55325 #else
55326 char (*f) () = $ac_func;
55327 #endif
55328 #ifdef __cplusplus
55329 }
55330 #endif
55331
55332 int
55333 main ()
55334 {
55335 return f != $ac_func;
55336   ;
55337   return 0;
55338 }
55339 _ACEOF
55340 rm -f conftest.$ac_objext conftest$ac_exeext
55341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55342   (eval $ac_link) 2>&5
55343   ac_status=$?
55344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55345   (exit $ac_status); } &&
55346          { ac_try='test -s conftest$ac_exeext'
55347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55348   (eval $ac_try) 2>&5
55349   ac_status=$?
55350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351   (exit $ac_status); }; }; then
55352   eval "$as_ac_var=yes"
55353 else
55354   echo "$as_me: failed program was:" >&5
55355 sed 's/^/| /' conftest.$ac_ext >&5
55356
55357 eval "$as_ac_var=no"
55358 fi
55359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55360 fi
55361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55363 if test `eval echo '${'$as_ac_var'}'` = yes; then
55364   cat >>confdefs.h <<_ACEOF
55365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55366 _ACEOF
55367
55368 else
55369   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55370 fi
55371 done
55372
55373   fi
55374
55375   # XXX Review this.  Nothing uses it.
55376   if test -n "$LIBMATHOBJS"; then
55377     need_libmath=yes
55378   fi
55379
55380
55381
55382   # Test wchar.h for mbstate_t, which is needed for char_traits and
55383   # others even if wchar_t support is not on.
55384   echo "$as_me:$LINENO: checking for mbstate_t" >&5
55385 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
55386   cat >conftest.$ac_ext <<_ACEOF
55387 #line $LINENO "configure"
55388 /* confdefs.h.  */
55389 _ACEOF
55390 cat confdefs.h >>conftest.$ac_ext
55391 cat >>conftest.$ac_ext <<_ACEOF
55392 /* end confdefs.h.  */
55393 #include <wchar.h>
55394 int
55395 main ()
55396 {
55397 mbstate_t teststate;
55398   ;
55399   return 0;
55400 }
55401 _ACEOF
55402 rm -f conftest.$ac_objext
55403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55404   (eval $ac_compile) 2>&5
55405   ac_status=$?
55406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55407   (exit $ac_status); } &&
55408          { ac_try='test -s conftest.$ac_objext'
55409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55410   (eval $ac_try) 2>&5
55411   ac_status=$?
55412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55413   (exit $ac_status); }; }; then
55414   have_mbstate_t=yes
55415 else
55416   echo "$as_me: failed program was:" >&5
55417 sed 's/^/| /' conftest.$ac_ext >&5
55418
55419 have_mbstate_t=no
55420 fi
55421 rm -f conftest.$ac_objext conftest.$ac_ext
55422   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55423 echo "${ECHO_T}$have_mbstate_t" >&6
55424   if test x"$have_mbstate_t" = xyes; then
55425     cat >>confdefs.h <<\_ACEOF
55426 #define HAVE_MBSTATE_T 1
55427 _ACEOF
55428
55429   fi
55430
55431   # Sanity check for existence of ISO C99 headers for extended encoding.
55432
55433 for ac_header in wchar.h
55434 do
55435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55437   echo "$as_me:$LINENO: checking for $ac_header" >&5
55438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55440   echo $ECHO_N "(cached) $ECHO_C" >&6
55441 fi
55442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55444 else
55445   # Is the header compilable?
55446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55448 cat >conftest.$ac_ext <<_ACEOF
55449 #line $LINENO "configure"
55450 /* confdefs.h.  */
55451 _ACEOF
55452 cat confdefs.h >>conftest.$ac_ext
55453 cat >>conftest.$ac_ext <<_ACEOF
55454 /* end confdefs.h.  */
55455 $ac_includes_default
55456 #include <$ac_header>
55457 _ACEOF
55458 rm -f conftest.$ac_objext
55459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55460   (eval $ac_compile) 2>&5
55461   ac_status=$?
55462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463   (exit $ac_status); } &&
55464          { ac_try='test -s conftest.$ac_objext'
55465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55466   (eval $ac_try) 2>&5
55467   ac_status=$?
55468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55469   (exit $ac_status); }; }; then
55470   ac_header_compiler=yes
55471 else
55472   echo "$as_me: failed program was:" >&5
55473 sed 's/^/| /' conftest.$ac_ext >&5
55474
55475 ac_header_compiler=no
55476 fi
55477 rm -f conftest.$ac_objext conftest.$ac_ext
55478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55479 echo "${ECHO_T}$ac_header_compiler" >&6
55480
55481 # Is the header present?
55482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55484 cat >conftest.$ac_ext <<_ACEOF
55485 #line $LINENO "configure"
55486 /* confdefs.h.  */
55487 _ACEOF
55488 cat confdefs.h >>conftest.$ac_ext
55489 cat >>conftest.$ac_ext <<_ACEOF
55490 /* end confdefs.h.  */
55491 #include <$ac_header>
55492 _ACEOF
55493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55494   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55495   ac_status=$?
55496   grep -v '^ *+' conftest.er1 >conftest.err
55497   rm -f conftest.er1
55498   cat conftest.err >&5
55499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55500   (exit $ac_status); } >/dev/null; then
55501   if test -s conftest.err; then
55502     ac_cpp_err=$ac_c_preproc_warn_flag
55503   else
55504     ac_cpp_err=
55505   fi
55506 else
55507   ac_cpp_err=yes
55508 fi
55509 if test -z "$ac_cpp_err"; then
55510   ac_header_preproc=yes
55511 else
55512   echo "$as_me: failed program was:" >&5
55513 sed 's/^/| /' conftest.$ac_ext >&5
55514
55515   ac_header_preproc=no
55516 fi
55517 rm -f conftest.err conftest.$ac_ext
55518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55519 echo "${ECHO_T}$ac_header_preproc" >&6
55520
55521 # So?  What about this header?
55522 case $ac_header_compiler:$ac_header_preproc in
55523   yes:no )
55524     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55526     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55528     (
55529       cat <<\_ASBOX
55530 ## ------------------------------------ ##
55531 ## Report this to bug-autoconf@gnu.org. ##
55532 ## ------------------------------------ ##
55533 _ASBOX
55534     ) |
55535       sed "s/^/$as_me: WARNING:     /" >&2
55536     ;;
55537   no:yes )
55538     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55540     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55542     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55544     (
55545       cat <<\_ASBOX
55546 ## ------------------------------------ ##
55547 ## Report this to bug-autoconf@gnu.org. ##
55548 ## ------------------------------------ ##
55549 _ASBOX
55550     ) |
55551       sed "s/^/$as_me: WARNING:     /" >&2
55552     ;;
55553 esac
55554 echo "$as_me:$LINENO: checking for $ac_header" >&5
55555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55557   echo $ECHO_N "(cached) $ECHO_C" >&6
55558 else
55559   eval "$as_ac_Header=$ac_header_preproc"
55560 fi
55561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55563
55564 fi
55565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55566   cat >>confdefs.h <<_ACEOF
55567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55568 _ACEOF
55569  ac_has_wchar_h=yes
55570 else
55571   ac_has_wchar_h=no
55572 fi
55573
55574 done
55575
55576
55577 for ac_header in wctype.h
55578 do
55579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55581   echo "$as_me:$LINENO: checking for $ac_header" >&5
55582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55584   echo $ECHO_N "(cached) $ECHO_C" >&6
55585 fi
55586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55588 else
55589   # Is the header compilable?
55590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55592 cat >conftest.$ac_ext <<_ACEOF
55593 #line $LINENO "configure"
55594 /* confdefs.h.  */
55595 _ACEOF
55596 cat confdefs.h >>conftest.$ac_ext
55597 cat >>conftest.$ac_ext <<_ACEOF
55598 /* end confdefs.h.  */
55599 $ac_includes_default
55600 #include <$ac_header>
55601 _ACEOF
55602 rm -f conftest.$ac_objext
55603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55604   (eval $ac_compile) 2>&5
55605   ac_status=$?
55606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55607   (exit $ac_status); } &&
55608          { ac_try='test -s conftest.$ac_objext'
55609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55610   (eval $ac_try) 2>&5
55611   ac_status=$?
55612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55613   (exit $ac_status); }; }; then
55614   ac_header_compiler=yes
55615 else
55616   echo "$as_me: failed program was:" >&5
55617 sed 's/^/| /' conftest.$ac_ext >&5
55618
55619 ac_header_compiler=no
55620 fi
55621 rm -f conftest.$ac_objext conftest.$ac_ext
55622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55623 echo "${ECHO_T}$ac_header_compiler" >&6
55624
55625 # Is the header present?
55626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55628 cat >conftest.$ac_ext <<_ACEOF
55629 #line $LINENO "configure"
55630 /* confdefs.h.  */
55631 _ACEOF
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h.  */
55635 #include <$ac_header>
55636 _ACEOF
55637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55638   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55639   ac_status=$?
55640   grep -v '^ *+' conftest.er1 >conftest.err
55641   rm -f conftest.er1
55642   cat conftest.err >&5
55643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55644   (exit $ac_status); } >/dev/null; then
55645   if test -s conftest.err; then
55646     ac_cpp_err=$ac_c_preproc_warn_flag
55647   else
55648     ac_cpp_err=
55649   fi
55650 else
55651   ac_cpp_err=yes
55652 fi
55653 if test -z "$ac_cpp_err"; then
55654   ac_header_preproc=yes
55655 else
55656   echo "$as_me: failed program was:" >&5
55657 sed 's/^/| /' conftest.$ac_ext >&5
55658
55659   ac_header_preproc=no
55660 fi
55661 rm -f conftest.err conftest.$ac_ext
55662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55663 echo "${ECHO_T}$ac_header_preproc" >&6
55664
55665 # So?  What about this header?
55666 case $ac_header_compiler:$ac_header_preproc in
55667   yes:no )
55668     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55670     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55672     (
55673       cat <<\_ASBOX
55674 ## ------------------------------------ ##
55675 ## Report this to bug-autoconf@gnu.org. ##
55676 ## ------------------------------------ ##
55677 _ASBOX
55678     ) |
55679       sed "s/^/$as_me: WARNING:     /" >&2
55680     ;;
55681   no:yes )
55682     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55684     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55686     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55688     (
55689       cat <<\_ASBOX
55690 ## ------------------------------------ ##
55691 ## Report this to bug-autoconf@gnu.org. ##
55692 ## ------------------------------------ ##
55693 _ASBOX
55694     ) |
55695       sed "s/^/$as_me: WARNING:     /" >&2
55696     ;;
55697 esac
55698 echo "$as_me:$LINENO: checking for $ac_header" >&5
55699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55701   echo $ECHO_N "(cached) $ECHO_C" >&6
55702 else
55703   eval "$as_ac_Header=$ac_header_preproc"
55704 fi
55705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55707
55708 fi
55709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55710   cat >>confdefs.h <<_ACEOF
55711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55712 _ACEOF
55713  ac_has_wctype_h=yes
55714 else
55715   ac_has_wctype_h=no
55716 fi
55717
55718 done
55719
55720
55721   # Only continue checking if the ISO C99 headers exist and support is on.
55722   if test x"$ac_has_wchar_h" = xyes &&
55723      test x"$ac_has_wctype_h" = xyes &&
55724      test x"$enable_c_mbchar" != xno; then
55725
55726     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
55727     # numeric_limits can instantiate type_traits<wchar_t>
55728     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
55729 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
55730     cat >conftest.$ac_ext <<_ACEOF
55731 #line $LINENO "configure"
55732 /* confdefs.h.  */
55733 _ACEOF
55734 cat confdefs.h >>conftest.$ac_ext
55735 cat >>conftest.$ac_ext <<_ACEOF
55736 /* end confdefs.h.  */
55737 #include <wchar.h>
55738 int
55739 main ()
55740 {
55741 int i = WCHAR_MIN; int j = WCHAR_MAX;
55742   ;
55743   return 0;
55744 }
55745 _ACEOF
55746 rm -f conftest.$ac_objext
55747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55748   (eval $ac_compile) 2>&5
55749   ac_status=$?
55750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55751   (exit $ac_status); } &&
55752          { ac_try='test -s conftest.$ac_objext'
55753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55754   (eval $ac_try) 2>&5
55755   ac_status=$?
55756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55757   (exit $ac_status); }; }; then
55758   has_wchar_minmax=yes
55759 else
55760   echo "$as_me: failed program was:" >&5
55761 sed 's/^/| /' conftest.$ac_ext >&5
55762
55763 has_wchar_minmax=no
55764 fi
55765 rm -f conftest.$ac_objext conftest.$ac_ext
55766     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
55767 echo "${ECHO_T}$has_wchar_minmax" >&6
55768
55769     # Test wchar.h for WEOF, which is what we use to determine whether
55770     # to specialize for char_traits<wchar_t> or not.
55771     echo "$as_me:$LINENO: checking for WEOF" >&5
55772 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
55773     cat >conftest.$ac_ext <<_ACEOF
55774 #line $LINENO "configure"
55775 /* confdefs.h.  */
55776 _ACEOF
55777 cat confdefs.h >>conftest.$ac_ext
55778 cat >>conftest.$ac_ext <<_ACEOF
55779 /* end confdefs.h.  */
55780
55781       #include <wchar.h>
55782       #include <stddef.h>
55783 int
55784 main ()
55785 {
55786 wint_t i = WEOF;
55787   ;
55788   return 0;
55789 }
55790 _ACEOF
55791 rm -f conftest.$ac_objext
55792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55793   (eval $ac_compile) 2>&5
55794   ac_status=$?
55795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55796   (exit $ac_status); } &&
55797          { ac_try='test -s conftest.$ac_objext'
55798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55799   (eval $ac_try) 2>&5
55800   ac_status=$?
55801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55802   (exit $ac_status); }; }; then
55803   has_weof=yes
55804 else
55805   echo "$as_me: failed program was:" >&5
55806 sed 's/^/| /' conftest.$ac_ext >&5
55807
55808 has_weof=no
55809 fi
55810 rm -f conftest.$ac_objext conftest.$ac_ext
55811     echo "$as_me:$LINENO: result: $has_weof" >&5
55812 echo "${ECHO_T}$has_weof" >&6
55813
55814     # Tests for wide character functions used in char_traits<wchar_t>.
55815     ac_wfuncs=yes
55816
55817
55818
55819
55820
55821
55822 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
55823 do
55824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55825 echo "$as_me:$LINENO: checking for $ac_func" >&5
55826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55827 if eval "test \"\${$as_ac_var+set}\" = set"; then
55828   echo $ECHO_N "(cached) $ECHO_C" >&6
55829 else
55830   cat >conftest.$ac_ext <<_ACEOF
55831 #line $LINENO "configure"
55832 /* confdefs.h.  */
55833 _ACEOF
55834 cat confdefs.h >>conftest.$ac_ext
55835 cat >>conftest.$ac_ext <<_ACEOF
55836 /* end confdefs.h.  */
55837 /* System header to define __stub macros and hopefully few prototypes,
55838     which can conflict with char $ac_func (); below.
55839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55840     <limits.h> exists even on freestanding compilers.  */
55841 #ifdef __STDC__
55842 # include <limits.h>
55843 #else
55844 # include <assert.h>
55845 #endif
55846 /* Override any gcc2 internal prototype to avoid an error.  */
55847 #ifdef __cplusplus
55848 extern "C"
55849 {
55850 #endif
55851 /* We use char because int might match the return type of a gcc2
55852    builtin and then its argument prototype would still apply.  */
55853 char $ac_func ();
55854 /* The GNU C library defines this for functions which it implements
55855     to always fail with ENOSYS.  Some functions are actually named
55856     something starting with __ and the normal name is an alias.  */
55857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55858 choke me
55859 #else
55860 char (*f) () = $ac_func;
55861 #endif
55862 #ifdef __cplusplus
55863 }
55864 #endif
55865
55866 int
55867 main ()
55868 {
55869 return f != $ac_func;
55870   ;
55871   return 0;
55872 }
55873 _ACEOF
55874 rm -f conftest.$ac_objext conftest$ac_exeext
55875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55876   (eval $ac_link) 2>&5
55877   ac_status=$?
55878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55879   (exit $ac_status); } &&
55880          { ac_try='test -s conftest$ac_exeext'
55881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55882   (eval $ac_try) 2>&5
55883   ac_status=$?
55884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55885   (exit $ac_status); }; }; then
55886   eval "$as_ac_var=yes"
55887 else
55888   echo "$as_me: failed program was:" >&5
55889 sed 's/^/| /' conftest.$ac_ext >&5
55890
55891 eval "$as_ac_var=no"
55892 fi
55893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55894 fi
55895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55897 if test `eval echo '${'$as_ac_var'}'` = yes; then
55898   cat >>confdefs.h <<_ACEOF
55899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55900 _ACEOF
55901
55902 else
55903   ac_wfuncs=no
55904 fi
55905 done
55906
55907
55908     # Checks for names injected into std:: by the c_std headers.
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
55960     fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
55961     vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
55962     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
55963     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
55964     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
55965 do
55966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55967 echo "$as_me:$LINENO: checking for $ac_func" >&5
55968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55969 if eval "test \"\${$as_ac_var+set}\" = set"; then
55970   echo $ECHO_N "(cached) $ECHO_C" >&6
55971 else
55972   cat >conftest.$ac_ext <<_ACEOF
55973 #line $LINENO "configure"
55974 /* confdefs.h.  */
55975 _ACEOF
55976 cat confdefs.h >>conftest.$ac_ext
55977 cat >>conftest.$ac_ext <<_ACEOF
55978 /* end confdefs.h.  */
55979 /* System header to define __stub macros and hopefully few prototypes,
55980     which can conflict with char $ac_func (); below.
55981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55982     <limits.h> exists even on freestanding compilers.  */
55983 #ifdef __STDC__
55984 # include <limits.h>
55985 #else
55986 # include <assert.h>
55987 #endif
55988 /* Override any gcc2 internal prototype to avoid an error.  */
55989 #ifdef __cplusplus
55990 extern "C"
55991 {
55992 #endif
55993 /* We use char because int might match the return type of a gcc2
55994    builtin and then its argument prototype would still apply.  */
55995 char $ac_func ();
55996 /* The GNU C library defines this for functions which it implements
55997     to always fail with ENOSYS.  Some functions are actually named
55998     something starting with __ and the normal name is an alias.  */
55999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56000 choke me
56001 #else
56002 char (*f) () = $ac_func;
56003 #endif
56004 #ifdef __cplusplus
56005 }
56006 #endif
56007
56008 int
56009 main ()
56010 {
56011 return f != $ac_func;
56012   ;
56013   return 0;
56014 }
56015 _ACEOF
56016 rm -f conftest.$ac_objext conftest$ac_exeext
56017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56018   (eval $ac_link) 2>&5
56019   ac_status=$?
56020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56021   (exit $ac_status); } &&
56022          { ac_try='test -s conftest$ac_exeext'
56023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56024   (eval $ac_try) 2>&5
56025   ac_status=$?
56026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56027   (exit $ac_status); }; }; then
56028   eval "$as_ac_var=yes"
56029 else
56030   echo "$as_me: failed program was:" >&5
56031 sed 's/^/| /' conftest.$ac_ext >&5
56032
56033 eval "$as_ac_var=no"
56034 fi
56035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56036 fi
56037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56039 if test `eval echo '${'$as_ac_var'}'` = yes; then
56040   cat >>confdefs.h <<_ACEOF
56041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56042 _ACEOF
56043
56044 else
56045   ac_wfuncs=no
56046 fi
56047 done
56048
56049
56050     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56051 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56052     if test x"$has_weof" = xyes &&
56053        test x"$has_wchar_minmax" = xyes &&
56054        test x"$ac_wfuncs" = xyes;
56055     then
56056       ac_isoC99_wchar_t=yes
56057     else
56058       ac_isoC99_wchar_t=no
56059     fi
56060     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56061 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56062
56063     # Use iconv for wchar_t to char conversions. As such, check for
56064     # X/Open Portability Guide, version 2 features (XPG2).
56065     if test "${ac_cv_header_iconv_h+set}" = set; then
56066   echo "$as_me:$LINENO: checking for iconv.h" >&5
56067 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56068 if test "${ac_cv_header_iconv_h+set}" = set; then
56069   echo $ECHO_N "(cached) $ECHO_C" >&6
56070 fi
56071 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56072 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56073 else
56074   # Is the header compilable?
56075 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56076 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56077 cat >conftest.$ac_ext <<_ACEOF
56078 #line $LINENO "configure"
56079 /* confdefs.h.  */
56080 _ACEOF
56081 cat confdefs.h >>conftest.$ac_ext
56082 cat >>conftest.$ac_ext <<_ACEOF
56083 /* end confdefs.h.  */
56084 $ac_includes_default
56085 #include <iconv.h>
56086 _ACEOF
56087 rm -f conftest.$ac_objext
56088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56089   (eval $ac_compile) 2>&5
56090   ac_status=$?
56091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56092   (exit $ac_status); } &&
56093          { ac_try='test -s conftest.$ac_objext'
56094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56095   (eval $ac_try) 2>&5
56096   ac_status=$?
56097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56098   (exit $ac_status); }; }; then
56099   ac_header_compiler=yes
56100 else
56101   echo "$as_me: failed program was:" >&5
56102 sed 's/^/| /' conftest.$ac_ext >&5
56103
56104 ac_header_compiler=no
56105 fi
56106 rm -f conftest.$ac_objext conftest.$ac_ext
56107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56108 echo "${ECHO_T}$ac_header_compiler" >&6
56109
56110 # Is the header present?
56111 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56112 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56113 cat >conftest.$ac_ext <<_ACEOF
56114 #line $LINENO "configure"
56115 /* confdefs.h.  */
56116 _ACEOF
56117 cat confdefs.h >>conftest.$ac_ext
56118 cat >>conftest.$ac_ext <<_ACEOF
56119 /* end confdefs.h.  */
56120 #include <iconv.h>
56121 _ACEOF
56122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56123   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56124   ac_status=$?
56125   grep -v '^ *+' conftest.er1 >conftest.err
56126   rm -f conftest.er1
56127   cat conftest.err >&5
56128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129   (exit $ac_status); } >/dev/null; then
56130   if test -s conftest.err; then
56131     ac_cpp_err=$ac_c_preproc_warn_flag
56132   else
56133     ac_cpp_err=
56134   fi
56135 else
56136   ac_cpp_err=yes
56137 fi
56138 if test -z "$ac_cpp_err"; then
56139   ac_header_preproc=yes
56140 else
56141   echo "$as_me: failed program was:" >&5
56142 sed 's/^/| /' conftest.$ac_ext >&5
56143
56144   ac_header_preproc=no
56145 fi
56146 rm -f conftest.err conftest.$ac_ext
56147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56148 echo "${ECHO_T}$ac_header_preproc" >&6
56149
56150 # So?  What about this header?
56151 case $ac_header_compiler:$ac_header_preproc in
56152   yes:no )
56153     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56154 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56155     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56156 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56157     (
56158       cat <<\_ASBOX
56159 ## ------------------------------------ ##
56160 ## Report this to bug-autoconf@gnu.org. ##
56161 ## ------------------------------------ ##
56162 _ASBOX
56163     ) |
56164       sed "s/^/$as_me: WARNING:     /" >&2
56165     ;;
56166   no:yes )
56167     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56168 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56169     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56170 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56171     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56172 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56173     (
56174       cat <<\_ASBOX
56175 ## ------------------------------------ ##
56176 ## Report this to bug-autoconf@gnu.org. ##
56177 ## ------------------------------------ ##
56178 _ASBOX
56179     ) |
56180       sed "s/^/$as_me: WARNING:     /" >&2
56181     ;;
56182 esac
56183 echo "$as_me:$LINENO: checking for iconv.h" >&5
56184 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56185 if test "${ac_cv_header_iconv_h+set}" = set; then
56186   echo $ECHO_N "(cached) $ECHO_C" >&6
56187 else
56188   ac_cv_header_iconv_h=$ac_header_preproc
56189 fi
56190 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56191 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56192
56193 fi
56194 if test $ac_cv_header_iconv_h = yes; then
56195   ac_has_iconv_h=yes
56196 else
56197   ac_has_iconv_h=no
56198 fi
56199
56200
56201     if test "${ac_cv_header_langinfo_h+set}" = set; then
56202   echo "$as_me:$LINENO: checking for langinfo.h" >&5
56203 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56204 if test "${ac_cv_header_langinfo_h+set}" = set; then
56205   echo $ECHO_N "(cached) $ECHO_C" >&6
56206 fi
56207 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56208 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56209 else
56210   # Is the header compilable?
56211 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
56212 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
56213 cat >conftest.$ac_ext <<_ACEOF
56214 #line $LINENO "configure"
56215 /* confdefs.h.  */
56216 _ACEOF
56217 cat confdefs.h >>conftest.$ac_ext
56218 cat >>conftest.$ac_ext <<_ACEOF
56219 /* end confdefs.h.  */
56220 $ac_includes_default
56221 #include <langinfo.h>
56222 _ACEOF
56223 rm -f conftest.$ac_objext
56224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56225   (eval $ac_compile) 2>&5
56226   ac_status=$?
56227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56228   (exit $ac_status); } &&
56229          { ac_try='test -s conftest.$ac_objext'
56230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56231   (eval $ac_try) 2>&5
56232   ac_status=$?
56233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56234   (exit $ac_status); }; }; then
56235   ac_header_compiler=yes
56236 else
56237   echo "$as_me: failed program was:" >&5
56238 sed 's/^/| /' conftest.$ac_ext >&5
56239
56240 ac_header_compiler=no
56241 fi
56242 rm -f conftest.$ac_objext conftest.$ac_ext
56243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56244 echo "${ECHO_T}$ac_header_compiler" >&6
56245
56246 # Is the header present?
56247 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
56248 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
56249 cat >conftest.$ac_ext <<_ACEOF
56250 #line $LINENO "configure"
56251 /* confdefs.h.  */
56252 _ACEOF
56253 cat confdefs.h >>conftest.$ac_ext
56254 cat >>conftest.$ac_ext <<_ACEOF
56255 /* end confdefs.h.  */
56256 #include <langinfo.h>
56257 _ACEOF
56258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56259   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56260   ac_status=$?
56261   grep -v '^ *+' conftest.er1 >conftest.err
56262   rm -f conftest.er1
56263   cat conftest.err >&5
56264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56265   (exit $ac_status); } >/dev/null; then
56266   if test -s conftest.err; then
56267     ac_cpp_err=$ac_c_preproc_warn_flag
56268   else
56269     ac_cpp_err=
56270   fi
56271 else
56272   ac_cpp_err=yes
56273 fi
56274 if test -z "$ac_cpp_err"; then
56275   ac_header_preproc=yes
56276 else
56277   echo "$as_me: failed program was:" >&5
56278 sed 's/^/| /' conftest.$ac_ext >&5
56279
56280   ac_header_preproc=no
56281 fi
56282 rm -f conftest.err conftest.$ac_ext
56283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56284 echo "${ECHO_T}$ac_header_preproc" >&6
56285
56286 # So?  What about this header?
56287 case $ac_header_compiler:$ac_header_preproc in
56288   yes:no )
56289     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
56290 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56291     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56292 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56293     (
56294       cat <<\_ASBOX
56295 ## ------------------------------------ ##
56296 ## Report this to bug-autoconf@gnu.org. ##
56297 ## ------------------------------------ ##
56298 _ASBOX
56299     ) |
56300       sed "s/^/$as_me: WARNING:     /" >&2
56301     ;;
56302   no:yes )
56303     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
56304 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
56305     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
56306 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
56307     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56308 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56309     (
56310       cat <<\_ASBOX
56311 ## ------------------------------------ ##
56312 ## Report this to bug-autoconf@gnu.org. ##
56313 ## ------------------------------------ ##
56314 _ASBOX
56315     ) |
56316       sed "s/^/$as_me: WARNING:     /" >&2
56317     ;;
56318 esac
56319 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56320 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56321 if test "${ac_cv_header_langinfo_h+set}" = set; then
56322   echo $ECHO_N "(cached) $ECHO_C" >&6
56323 else
56324   ac_cv_header_langinfo_h=$ac_header_preproc
56325 fi
56326 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56327 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56328
56329 fi
56330 if test $ac_cv_header_langinfo_h = yes; then
56331   ac_has_langinfo_h=yes
56332 else
56333   ac_has_langinfo_h=no
56334 fi
56335
56336
56337
56338     # Check for existence of libiconv.a providing XPG2 wchar_t support.
56339     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56340 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56341 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56342   echo $ECHO_N "(cached) $ECHO_C" >&6
56343 else
56344   ac_check_lib_save_LIBS=$LIBS
56345 LIBS="-liconv  $LIBS"
56346 cat >conftest.$ac_ext <<_ACEOF
56347 #line $LINENO "configure"
56348 /* confdefs.h.  */
56349 _ACEOF
56350 cat confdefs.h >>conftest.$ac_ext
56351 cat >>conftest.$ac_ext <<_ACEOF
56352 /* end confdefs.h.  */
56353
56354 /* Override any gcc2 internal prototype to avoid an error.  */
56355 #ifdef __cplusplus
56356 extern "C"
56357 #endif
56358 /* We use char because int might match the return type of a gcc2
56359    builtin and then its argument prototype would still apply.  */
56360 char iconv ();
56361 int
56362 main ()
56363 {
56364 iconv ();
56365   ;
56366   return 0;
56367 }
56368 _ACEOF
56369 rm -f conftest.$ac_objext conftest$ac_exeext
56370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56371   (eval $ac_link) 2>&5
56372   ac_status=$?
56373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56374   (exit $ac_status); } &&
56375          { ac_try='test -s conftest$ac_exeext'
56376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56377   (eval $ac_try) 2>&5
56378   ac_status=$?
56379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56380   (exit $ac_status); }; }; then
56381   ac_cv_lib_iconv_iconv=yes
56382 else
56383   echo "$as_me: failed program was:" >&5
56384 sed 's/^/| /' conftest.$ac_ext >&5
56385
56386 ac_cv_lib_iconv_iconv=no
56387 fi
56388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56389 LIBS=$ac_check_lib_save_LIBS
56390 fi
56391 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
56392 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
56393 if test $ac_cv_lib_iconv_iconv = yes; then
56394   libiconv="-liconv"
56395 fi
56396
56397     ac_save_LIBS="$LIBS"
56398     LIBS="$LIBS $libiconv"
56399
56400
56401
56402
56403
56404 for ac_func in iconv_open iconv_close iconv nl_langinfo
56405 do
56406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56407 echo "$as_me:$LINENO: checking for $ac_func" >&5
56408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56409 if eval "test \"\${$as_ac_var+set}\" = set"; then
56410   echo $ECHO_N "(cached) $ECHO_C" >&6
56411 else
56412   cat >conftest.$ac_ext <<_ACEOF
56413 #line $LINENO "configure"
56414 /* confdefs.h.  */
56415 _ACEOF
56416 cat confdefs.h >>conftest.$ac_ext
56417 cat >>conftest.$ac_ext <<_ACEOF
56418 /* end confdefs.h.  */
56419 /* System header to define __stub macros and hopefully few prototypes,
56420     which can conflict with char $ac_func (); below.
56421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56422     <limits.h> exists even on freestanding compilers.  */
56423 #ifdef __STDC__
56424 # include <limits.h>
56425 #else
56426 # include <assert.h>
56427 #endif
56428 /* Override any gcc2 internal prototype to avoid an error.  */
56429 #ifdef __cplusplus
56430 extern "C"
56431 {
56432 #endif
56433 /* We use char because int might match the return type of a gcc2
56434    builtin and then its argument prototype would still apply.  */
56435 char $ac_func ();
56436 /* The GNU C library defines this for functions which it implements
56437     to always fail with ENOSYS.  Some functions are actually named
56438     something starting with __ and the normal name is an alias.  */
56439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56440 choke me
56441 #else
56442 char (*f) () = $ac_func;
56443 #endif
56444 #ifdef __cplusplus
56445 }
56446 #endif
56447
56448 int
56449 main ()
56450 {
56451 return f != $ac_func;
56452   ;
56453   return 0;
56454 }
56455 _ACEOF
56456 rm -f conftest.$ac_objext conftest$ac_exeext
56457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56458   (eval $ac_link) 2>&5
56459   ac_status=$?
56460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56461   (exit $ac_status); } &&
56462          { ac_try='test -s conftest$ac_exeext'
56463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56464   (eval $ac_try) 2>&5
56465   ac_status=$?
56466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56467   (exit $ac_status); }; }; then
56468   eval "$as_ac_var=yes"
56469 else
56470   echo "$as_me: failed program was:" >&5
56471 sed 's/^/| /' conftest.$ac_ext >&5
56472
56473 eval "$as_ac_var=no"
56474 fi
56475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56476 fi
56477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56479 if test `eval echo '${'$as_ac_var'}'` = yes; then
56480   cat >>confdefs.h <<_ACEOF
56481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56482 _ACEOF
56483  ac_XPG2funcs=yes
56484 else
56485   ac_XPG2funcs=no
56486 fi
56487 done
56488
56489
56490     LIBS="$ac_save_LIBS"
56491
56492     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
56493 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
56494     if test x"$ac_has_iconv_h" = xyes &&
56495        test x"$ac_has_langinfo_h" = xyes &&
56496        test x"$ac_XPG2funcs" = xyes;
56497     then
56498       ac_XPG2_wchar_t=yes
56499     else
56500       ac_XPG2_wchar_t=no
56501     fi
56502     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
56503 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
56504
56505     # At the moment, only enable wchar_t specializations if all the
56506     # above support is present.
56507     if test x"$ac_isoC99_wchar_t" = xyes &&
56508        test x"$ac_XPG2_wchar_t" = xyes;
56509     then
56510       cat >>confdefs.h <<\_ACEOF
56511 #define _GLIBCXX_USE_WCHAR_T 1
56512 _ACEOF
56513
56514       enable_wchar_t=yes
56515     fi
56516   fi
56517   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
56518 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
56519   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
56520 echo "${ECHO_T}$enable_wchar_t" >&6
56521
56522     cat >>confdefs.h <<\_ACEOF
56523 #define HAVE_COSF 1
56524 _ACEOF
56525
56526     cat >>confdefs.h <<\_ACEOF
56527 #define HAVE_COSL 1
56528 _ACEOF
56529
56530     cat >>confdefs.h <<\_ACEOF
56531 #define HAVE_COSHF 1
56532 _ACEOF
56533
56534     cat >>confdefs.h <<\_ACEOF
56535 #define HAVE_COSHL 1
56536 _ACEOF
56537
56538     cat >>confdefs.h <<\_ACEOF
56539 #define HAVE_LOGF 1
56540 _ACEOF
56541
56542     cat >>confdefs.h <<\_ACEOF
56543 #define HAVE_LOGL 1
56544 _ACEOF
56545
56546     cat >>confdefs.h <<\_ACEOF
56547 #define HAVE_LOG10F 1
56548 _ACEOF
56549
56550     cat >>confdefs.h <<\_ACEOF
56551 #define HAVE_LOG10L 1
56552 _ACEOF
56553
56554     cat >>confdefs.h <<\_ACEOF
56555 #define HAVE_SINF 1
56556 _ACEOF
56557
56558     cat >>confdefs.h <<\_ACEOF
56559 #define HAVE_SINL 1
56560 _ACEOF
56561
56562     cat >>confdefs.h <<\_ACEOF
56563 #define HAVE_SINHF 1
56564 _ACEOF
56565
56566     cat >>confdefs.h <<\_ACEOF
56567 #define HAVE_SINHL 1
56568 _ACEOF
56569
56570     ;;
56571   *-solaris*)
56572     #case "$target" in
56573     #  *-solaris2.5)
56574     #    os_include_dir="os/solaris/solaris2.5"
56575     #    ;;
56576     #  *-solaris2.6)
56577     #    os_include_dir="os/solaris/solaris2.6"
56578     #    ;;
56579     #  *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
56580     #    os_include_dir="os/solaris/solaris2.7"
56581     #    ;;
56582     #esac
56583     cat >>confdefs.h <<\_ACEOF
56584 #define HAVE_STRTOF 1
56585 _ACEOF
56586
56587     cat >>confdefs.h <<\_ACEOF
56588 #define HAVE_STRTOLD 1
56589 _ACEOF
56590
56591     cat >>confdefs.h <<\_ACEOF
56592 #define HAVE_MMAP 1
56593 _ACEOF
56594
56595     cat >>confdefs.h <<\_ACEOF
56596 #define HAVE_COPYSIGN 1
56597 _ACEOF
56598
56599     cat >>confdefs.h <<\_ACEOF
56600 #define HAVE_ISNAN 1
56601 _ACEOF
56602
56603     cat >>confdefs.h <<\_ACEOF
56604 #define HAVE_ISNANF 1
56605 _ACEOF
56606
56607     cat >>confdefs.h <<\_ACEOF
56608 #define HAVE_MODFF 1
56609 _ACEOF
56610
56611     cat >>confdefs.h <<\_ACEOF
56612 #define HAVE_HYPOT 1
56613 _ACEOF
56614
56615     ;;
56616   *-windiss*)
56617     #os_include_dir="os/windiss"
56618     cat >>confdefs.h <<\_ACEOF
56619 #define HAVE_ACOSF 1
56620 _ACEOF
56621
56622     cat >>confdefs.h <<\_ACEOF
56623 #define HAVE_ASINF 1
56624 _ACEOF
56625
56626     cat >>confdefs.h <<\_ACEOF
56627 #define HAVE_ATAN2F 1
56628 _ACEOF
56629
56630     cat >>confdefs.h <<\_ACEOF
56631 #define HAVE_ATANF 1
56632 _ACEOF
56633
56634     cat >>confdefs.h <<\_ACEOF
56635 #define HAVE_CEILF 1
56636 _ACEOF
56637
56638     cat >>confdefs.h <<\_ACEOF
56639 #define HAVE_COPYSIGN 1
56640 _ACEOF
56641
56642     cat >>confdefs.h <<\_ACEOF
56643 #define HAVE_COPYSIGNF 1
56644 _ACEOF
56645
56646     cat >>confdefs.h <<\_ACEOF
56647 #define HAVE_COSF 1
56648 _ACEOF
56649
56650     cat >>confdefs.h <<\_ACEOF
56651 #define HAVE_COSHF 1
56652 _ACEOF
56653
56654     cat >>confdefs.h <<\_ACEOF
56655 #define HAVE_EXPF 1
56656 _ACEOF
56657
56658     cat >>confdefs.h <<\_ACEOF
56659 #define HAVE_FABSF 1
56660 _ACEOF
56661
56662     cat >>confdefs.h <<\_ACEOF
56663 #define HAVE_FLOORF 1
56664 _ACEOF
56665
56666     cat >>confdefs.h <<\_ACEOF
56667 #define HAVE_FMODF 1
56668 _ACEOF
56669
56670     cat >>confdefs.h <<\_ACEOF
56671 #define HAVE_FREXPF 1
56672 _ACEOF
56673
56674     cat >>confdefs.h <<\_ACEOF
56675 #define HAVE_LDEXPF 1
56676 _ACEOF
56677
56678     cat >>confdefs.h <<\_ACEOF
56679 #define HAVE_LOG10F 1
56680 _ACEOF
56681
56682     cat >>confdefs.h <<\_ACEOF
56683 #define HAVE_LOGF 1
56684 _ACEOF
56685
56686     cat >>confdefs.h <<\_ACEOF
56687 #define HAVE_MODFF 1
56688 _ACEOF
56689
56690     cat >>confdefs.h <<\_ACEOF
56691 #define HAVE_POWF 1
56692 _ACEOF
56693
56694     cat >>confdefs.h <<\_ACEOF
56695 #define HAVE_SINF 1
56696 _ACEOF
56697
56698     cat >>confdefs.h <<\_ACEOF
56699 #define HAVE_SINHF 1
56700 _ACEOF
56701
56702     cat >>confdefs.h <<\_ACEOF
56703 #define HAVE_SQRTF 1
56704 _ACEOF
56705
56706     cat >>confdefs.h <<\_ACEOF
56707 #define HAVE_TANF 1
56708 _ACEOF
56709
56710     cat >>confdefs.h <<\_ACEOF
56711 #define HAVE_TANHF 1
56712 _ACEOF
56713
56714     ;;
56715   *)
56716     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
56717 echo "$as_me: error: No support for this host/target combination." >&2;}
56718    { (exit 1); exit 1; }; }
56719    ;;
56720 esac
56721
56722
56723   fi
56724
56725   # At some point, we should differentiate between architectures
56726   # like x86, which have long double versions, and alpha/powerpc/etc.,
56727   # which don't. For the time being, punt.
56728   if test x"long_double_math_on_this_cpu" = x"yes"; then
56729     cat >>confdefs.h <<\_ACEOF
56730 #define HAVE_ACOSL 1
56731 _ACEOF
56732
56733     cat >>confdefs.h <<\_ACEOF
56734 #define HAVE_ASINL 1
56735 _ACEOF
56736
56737     cat >>confdefs.h <<\_ACEOF
56738 #define HAVE_ATAN2L 1
56739 _ACEOF
56740
56741     cat >>confdefs.h <<\_ACEOF
56742 #define HAVE_ATANL 1
56743 _ACEOF
56744
56745     cat >>confdefs.h <<\_ACEOF
56746 #define HAVE_CEILL 1
56747 _ACEOF
56748
56749     cat >>confdefs.h <<\_ACEOF
56750 #define HAVE_COPYSIGNL 1
56751 _ACEOF
56752
56753     cat >>confdefs.h <<\_ACEOF
56754 #define HAVE_COSL 1
56755 _ACEOF
56756
56757     cat >>confdefs.h <<\_ACEOF
56758 #define HAVE_COSHL 1
56759 _ACEOF
56760
56761     cat >>confdefs.h <<\_ACEOF
56762 #define HAVE_EXPL 1
56763 _ACEOF
56764
56765     cat >>confdefs.h <<\_ACEOF
56766 #define HAVE_FABSL 1
56767 _ACEOF
56768
56769     cat >>confdefs.h <<\_ACEOF
56770 #define HAVE_FLOORL 1
56771 _ACEOF
56772
56773     cat >>confdefs.h <<\_ACEOF
56774 #define HAVE_FMODL 1
56775 _ACEOF
56776
56777     cat >>confdefs.h <<\_ACEOF
56778 #define HAVE_FREXPL 1
56779 _ACEOF
56780
56781     cat >>confdefs.h <<\_ACEOF
56782 #define HAVE_LDEXPL 1
56783 _ACEOF
56784
56785     cat >>confdefs.h <<\_ACEOF
56786 #define HAVE_LOG10L 1
56787 _ACEOF
56788
56789     cat >>confdefs.h <<\_ACEOF
56790 #define HAVE_LOGL 1
56791 _ACEOF
56792
56793     cat >>confdefs.h <<\_ACEOF
56794 #define HAVE_MODFL 1
56795 _ACEOF
56796
56797     cat >>confdefs.h <<\_ACEOF
56798 #define HAVE_POWL 1
56799 _ACEOF
56800
56801     cat >>confdefs.h <<\_ACEOF
56802 #define HAVE_SINCOSL 1
56803 _ACEOF
56804
56805     cat >>confdefs.h <<\_ACEOF
56806 #define HAVE_SINL 1
56807 _ACEOF
56808
56809     cat >>confdefs.h <<\_ACEOF
56810 #define HAVE_SINHL 1
56811 _ACEOF
56812
56813     cat >>confdefs.h <<\_ACEOF
56814 #define HAVE_SQRTL 1
56815 _ACEOF
56816
56817     cat >>confdefs.h <<\_ACEOF
56818 #define HAVE_TANL 1
56819 _ACEOF
56820
56821     cat >>confdefs.h <<\_ACEOF
56822 #define HAVE_TANHL 1
56823 _ACEOF
56824
56825   fi
56826
56827 fi
56828
56829 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
56830
56831
56832  # Check whether --enable-symvers or --disable-symvers was given.
56833 if test "${enable_symvers+set}" = set; then
56834   enableval="$enable_symvers"
56835
56836       case "$enableval" in
56837        yes|no|gnu) ;;
56838        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
56839 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
56840    { (exit 1); exit 1; }; } ;;
56841                           esac
56842
56843 else
56844   enable_symvers=yes
56845 fi;
56846
56847
56848 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
56849 # don't know enough about $LD to do tricks...
56850
56851 # FIXME  The following test is too strict, in theory.
56852 if test $enable_shared = no ||
56853         test "x$LD" = x ||
56854         test x$glibcxx_gnu_ld_version = x; then
56855   enable_symvers=no
56856 fi
56857
56858 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
56859 if test $enable_symvers != no; then
56860   echo "$as_me:$LINENO: checking for shared libgcc" >&5
56861 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
56862   ac_save_CFLAGS="$CFLAGS"
56863   CFLAGS=' -lgcc_s'
56864   cat >conftest.$ac_ext <<_ACEOF
56865 #line $LINENO "configure"
56866 /* confdefs.h.  */
56867 _ACEOF
56868 cat confdefs.h >>conftest.$ac_ext
56869 cat >>conftest.$ac_ext <<_ACEOF
56870 /* end confdefs.h.  */
56871
56872 int
56873 main ()
56874 {
56875 return 0;
56876   ;
56877   return 0;
56878 }
56879 _ACEOF
56880 rm -f conftest.$ac_objext conftest$ac_exeext
56881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56882   (eval $ac_link) 2>&5
56883   ac_status=$?
56884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885   (exit $ac_status); } &&
56886          { ac_try='test -s conftest$ac_exeext'
56887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56888   (eval $ac_try) 2>&5
56889   ac_status=$?
56890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891   (exit $ac_status); }; }; then
56892   glibcxx_shared_libgcc=yes
56893 else
56894   echo "$as_me: failed program was:" >&5
56895 sed 's/^/| /' conftest.$ac_ext >&5
56896
56897 glibcxx_shared_libgcc=no
56898 fi
56899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56900   CFLAGS="$ac_save_CFLAGS"
56901   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
56902 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
56903 fi
56904
56905 # For GNU ld, we need at least this version.  The format is described in
56906 # GLIBCXX_CHECK_LINKER_FEATURES above.
56907 glibcxx_min_gnu_ld_version=21400
56908 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
56909
56910 # Check to see if unspecified "yes" value can win, given results above.
56911 # Change "yes" into either "no" or a style name.
56912 if test $enable_symvers = yes; then
56913   if test $with_gnu_ld = yes &&
56914      test $glibcxx_shared_libgcc = yes;
56915   then
56916     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
56917       enable_symvers=gnu
56918     else
56919       # The right tools, the right setup, but too old.  Fallbacks?
56920       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
56921 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
56922       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
56923 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
56924       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
56925 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
56926       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
56927 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
56928       if test $glibcxx_gnu_ld_version -ge 21200 ; then
56929         # Globbing fix is present, proper block support is not.
56930                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
56931 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
56932         enable_symvers=no
56933       else
56934         # 2.11 or older.
56935         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
56936 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
56937         enable_symvers=no
56938       fi
56939     fi
56940   else
56941     # just fail for now
56942     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
56943 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
56944     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
56945 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
56946     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
56947 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
56948     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
56949 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
56950     enable_symvers=no
56951   fi
56952 fi
56953
56954 # Everything parsed; figure out what file to use.
56955 case $enable_symvers in
56956   no)
56957     SYMVER_MAP=config/linker-map.dummy
56958     ;;
56959   gnu)
56960     SYMVER_MAP=config/linker-map.gnu
56961     cat >>confdefs.h <<\_ACEOF
56962 #define _GLIBCXX_SYMVER 1
56963 _ACEOF
56964
56965     ;;
56966 esac
56967
56968
56969
56970
56971 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
56972 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
56973
56974
56975 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
56976
56977   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
56978     # Do checks for memory limit functions.
56979
56980   setrlimit_have_headers=yes
56981
56982
56983
56984 for ac_header in unistd.h sys/time.h sys/resource.h
56985 do
56986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56988   echo "$as_me:$LINENO: checking for $ac_header" >&5
56989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56991   echo $ECHO_N "(cached) $ECHO_C" >&6
56992 fi
56993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56995 else
56996   # Is the header compilable?
56997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56999 cat >conftest.$ac_ext <<_ACEOF
57000 #line $LINENO "configure"
57001 /* confdefs.h.  */
57002 _ACEOF
57003 cat confdefs.h >>conftest.$ac_ext
57004 cat >>conftest.$ac_ext <<_ACEOF
57005 /* end confdefs.h.  */
57006 $ac_includes_default
57007 #include <$ac_header>
57008 _ACEOF
57009 rm -f conftest.$ac_objext
57010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57011   (eval $ac_compile) 2>&5
57012   ac_status=$?
57013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57014   (exit $ac_status); } &&
57015          { ac_try='test -s conftest.$ac_objext'
57016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57017   (eval $ac_try) 2>&5
57018   ac_status=$?
57019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57020   (exit $ac_status); }; }; then
57021   ac_header_compiler=yes
57022 else
57023   echo "$as_me: failed program was:" >&5
57024 sed 's/^/| /' conftest.$ac_ext >&5
57025
57026 ac_header_compiler=no
57027 fi
57028 rm -f conftest.$ac_objext conftest.$ac_ext
57029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57030 echo "${ECHO_T}$ac_header_compiler" >&6
57031
57032 # Is the header present?
57033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57035 cat >conftest.$ac_ext <<_ACEOF
57036 #line $LINENO "configure"
57037 /* confdefs.h.  */
57038 _ACEOF
57039 cat confdefs.h >>conftest.$ac_ext
57040 cat >>conftest.$ac_ext <<_ACEOF
57041 /* end confdefs.h.  */
57042 #include <$ac_header>
57043 _ACEOF
57044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57045   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57046   ac_status=$?
57047   grep -v '^ *+' conftest.er1 >conftest.err
57048   rm -f conftest.er1
57049   cat conftest.err >&5
57050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57051   (exit $ac_status); } >/dev/null; then
57052   if test -s conftest.err; then
57053     ac_cpp_err=$ac_c_preproc_warn_flag
57054   else
57055     ac_cpp_err=
57056   fi
57057 else
57058   ac_cpp_err=yes
57059 fi
57060 if test -z "$ac_cpp_err"; then
57061   ac_header_preproc=yes
57062 else
57063   echo "$as_me: failed program was:" >&5
57064 sed 's/^/| /' conftest.$ac_ext >&5
57065
57066   ac_header_preproc=no
57067 fi
57068 rm -f conftest.err conftest.$ac_ext
57069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57070 echo "${ECHO_T}$ac_header_preproc" >&6
57071
57072 # So?  What about this header?
57073 case $ac_header_compiler:$ac_header_preproc in
57074   yes:no )
57075     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57077     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57079     (
57080       cat <<\_ASBOX
57081 ## ------------------------------------ ##
57082 ## Report this to bug-autoconf@gnu.org. ##
57083 ## ------------------------------------ ##
57084 _ASBOX
57085     ) |
57086       sed "s/^/$as_me: WARNING:     /" >&2
57087     ;;
57088   no:yes )
57089     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57091     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57093     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57095     (
57096       cat <<\_ASBOX
57097 ## ------------------------------------ ##
57098 ## Report this to bug-autoconf@gnu.org. ##
57099 ## ------------------------------------ ##
57100 _ASBOX
57101     ) |
57102       sed "s/^/$as_me: WARNING:     /" >&2
57103     ;;
57104 esac
57105 echo "$as_me:$LINENO: checking for $ac_header" >&5
57106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57108   echo $ECHO_N "(cached) $ECHO_C" >&6
57109 else
57110   eval "$as_ac_Header=$ac_header_preproc"
57111 fi
57112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57114
57115 fi
57116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57117   cat >>confdefs.h <<_ACEOF
57118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57119 _ACEOF
57120
57121 else
57122   setrlimit_have_headers=no
57123 fi
57124
57125 done
57126
57127   # If don't have the headers, then we can't run the tests now, and we
57128   # won't be seeing any of these during testsuite compilation.
57129   if test $setrlimit_have_headers = yes; then
57130     # Can't do these in a loop, else the resulting syntax is wrong.
57131
57132   cat >conftest.$ac_ext <<_ACEOF
57133 #line $LINENO "configure"
57134 /* confdefs.h.  */
57135 _ACEOF
57136 cat confdefs.h >>conftest.$ac_ext
57137 cat >>conftest.$ac_ext <<_ACEOF
57138 /* end confdefs.h.  */
57139 #include <unistd.h>
57140      #include <sys/time.h>
57141      #include <sys/resource.h>
57142
57143 int
57144 main ()
57145 {
57146  int f = RLIMIT_DATA ;
57147   ;
57148   return 0;
57149 }
57150 _ACEOF
57151 rm -f conftest.$ac_objext
57152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57153   (eval $ac_compile) 2>&5
57154   ac_status=$?
57155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156   (exit $ac_status); } &&
57157          { ac_try='test -s conftest.$ac_objext'
57158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57159   (eval $ac_try) 2>&5
57160   ac_status=$?
57161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57162   (exit $ac_status); }; }; then
57163   glibcxx_mresult=1
57164 else
57165   echo "$as_me: failed program was:" >&5
57166 sed 's/^/| /' conftest.$ac_ext >&5
57167
57168 glibcxx_mresult=0
57169 fi
57170 rm -f conftest.$ac_objext conftest.$ac_ext
57171
57172 cat >>confdefs.h <<_ACEOF
57173 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
57174 _ACEOF
57175
57176
57177
57178   cat >conftest.$ac_ext <<_ACEOF
57179 #line $LINENO "configure"
57180 /* confdefs.h.  */
57181 _ACEOF
57182 cat confdefs.h >>conftest.$ac_ext
57183 cat >>conftest.$ac_ext <<_ACEOF
57184 /* end confdefs.h.  */
57185 #include <unistd.h>
57186      #include <sys/time.h>
57187      #include <sys/resource.h>
57188
57189 int
57190 main ()
57191 {
57192  int f = RLIMIT_RSS ;
57193   ;
57194   return 0;
57195 }
57196 _ACEOF
57197 rm -f conftest.$ac_objext
57198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57199   (eval $ac_compile) 2>&5
57200   ac_status=$?
57201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57202   (exit $ac_status); } &&
57203          { ac_try='test -s conftest.$ac_objext'
57204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57205   (eval $ac_try) 2>&5
57206   ac_status=$?
57207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57208   (exit $ac_status); }; }; then
57209   glibcxx_mresult=1
57210 else
57211   echo "$as_me: failed program was:" >&5
57212 sed 's/^/| /' conftest.$ac_ext >&5
57213
57214 glibcxx_mresult=0
57215 fi
57216 rm -f conftest.$ac_objext conftest.$ac_ext
57217
57218 cat >>confdefs.h <<_ACEOF
57219 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
57220 _ACEOF
57221
57222
57223
57224   cat >conftest.$ac_ext <<_ACEOF
57225 #line $LINENO "configure"
57226 /* confdefs.h.  */
57227 _ACEOF
57228 cat confdefs.h >>conftest.$ac_ext
57229 cat >>conftest.$ac_ext <<_ACEOF
57230 /* end confdefs.h.  */
57231 #include <unistd.h>
57232      #include <sys/time.h>
57233      #include <sys/resource.h>
57234
57235 int
57236 main ()
57237 {
57238  int f = RLIMIT_VMEM ;
57239   ;
57240   return 0;
57241 }
57242 _ACEOF
57243 rm -f conftest.$ac_objext
57244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57245   (eval $ac_compile) 2>&5
57246   ac_status=$?
57247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57248   (exit $ac_status); } &&
57249          { ac_try='test -s conftest.$ac_objext'
57250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57251   (eval $ac_try) 2>&5
57252   ac_status=$?
57253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57254   (exit $ac_status); }; }; then
57255   glibcxx_mresult=1
57256 else
57257   echo "$as_me: failed program was:" >&5
57258 sed 's/^/| /' conftest.$ac_ext >&5
57259
57260 glibcxx_mresult=0
57261 fi
57262 rm -f conftest.$ac_objext conftest.$ac_ext
57263
57264 cat >>confdefs.h <<_ACEOF
57265 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
57266 _ACEOF
57267
57268
57269
57270   cat >conftest.$ac_ext <<_ACEOF
57271 #line $LINENO "configure"
57272 /* confdefs.h.  */
57273 _ACEOF
57274 cat confdefs.h >>conftest.$ac_ext
57275 cat >>conftest.$ac_ext <<_ACEOF
57276 /* end confdefs.h.  */
57277 #include <unistd.h>
57278      #include <sys/time.h>
57279      #include <sys/resource.h>
57280
57281 int
57282 main ()
57283 {
57284  int f = RLIMIT_AS ;
57285   ;
57286   return 0;
57287 }
57288 _ACEOF
57289 rm -f conftest.$ac_objext
57290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57291   (eval $ac_compile) 2>&5
57292   ac_status=$?
57293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294   (exit $ac_status); } &&
57295          { ac_try='test -s conftest.$ac_objext'
57296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57297   (eval $ac_try) 2>&5
57298   ac_status=$?
57299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57300   (exit $ac_status); }; }; then
57301   glibcxx_mresult=1
57302 else
57303   echo "$as_me: failed program was:" >&5
57304 sed 's/^/| /' conftest.$ac_ext >&5
57305
57306 glibcxx_mresult=0
57307 fi
57308 rm -f conftest.$ac_objext conftest.$ac_ext
57309
57310 cat >>confdefs.h <<_ACEOF
57311 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
57312 _ACEOF
57313
57314
57315
57316     # Check for rlimit, setrlimit.
57317     if test "${ac_setrlimit+set}" = set; then
57318   echo $ECHO_N "(cached) $ECHO_C" >&6
57319 else
57320
57321       cat >conftest.$ac_ext <<_ACEOF
57322 #line $LINENO "configure"
57323 /* confdefs.h.  */
57324 _ACEOF
57325 cat confdefs.h >>conftest.$ac_ext
57326 cat >>conftest.$ac_ext <<_ACEOF
57327 /* end confdefs.h.  */
57328 #include <unistd.h>
57329          #include <sys/time.h>
57330          #include <sys/resource.h>
57331
57332 int
57333 main ()
57334 {
57335 struct rlimit r;
57336          setrlimit(0, &r);
57337   ;
57338   return 0;
57339 }
57340 _ACEOF
57341 rm -f conftest.$ac_objext
57342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57343   (eval $ac_compile) 2>&5
57344   ac_status=$?
57345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57346   (exit $ac_status); } &&
57347          { ac_try='test -s conftest.$ac_objext'
57348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57349   (eval $ac_try) 2>&5
57350   ac_status=$?
57351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57352   (exit $ac_status); }; }; then
57353   ac_setrlimit=yes
57354 else
57355   echo "$as_me: failed program was:" >&5
57356 sed 's/^/| /' conftest.$ac_ext >&5
57357
57358 ac_setrlimit=no
57359 fi
57360 rm -f conftest.$ac_objext conftest.$ac_ext
57361
57362 fi
57363
57364   fi
57365
57366   echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
57367 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
57368   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
57369     ac_mem_limits=yes
57370     cat >>confdefs.h <<\_ACEOF
57371 #define _GLIBCXX_MEM_LIMITS 1
57372 _ACEOF
57373
57374   else
57375     ac_mem_limits=no
57376   fi
57377   echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
57378 echo "${ECHO_T}$ac_mem_limits" >&6
57379
57380
57381     # Look for setenv, so that extended locale tests can be performed.
57382
57383   echo "$as_me:$LINENO: checking for setenv declaration" >&5
57384 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
57385   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
57386     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
57387   echo $ECHO_N "(cached) $ECHO_C" >&6
57388 else
57389
57390
57391
57392       ac_ext=cc
57393 ac_cpp='$CXXCPP $CPPFLAGS'
57394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57397
57398       cat >conftest.$ac_ext <<_ACEOF
57399 #line $LINENO "configure"
57400 /* confdefs.h.  */
57401 _ACEOF
57402 cat confdefs.h >>conftest.$ac_ext
57403 cat >>conftest.$ac_ext <<_ACEOF
57404 /* end confdefs.h.  */
57405 #include <stdlib.h>
57406 int
57407 main ()
57408 {
57409  setenv(0, 0, 0);
57410   ;
57411   return 0;
57412 }
57413 _ACEOF
57414 rm -f conftest.$ac_objext
57415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57416   (eval $ac_compile) 2>&5
57417   ac_status=$?
57418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57419   (exit $ac_status); } &&
57420          { ac_try='test -s conftest.$ac_objext'
57421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57422   (eval $ac_try) 2>&5
57423   ac_status=$?
57424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57425   (exit $ac_status); }; }; then
57426   glibcxx_cv_func_setenv_use=yes
57427 else
57428   echo "$as_me: failed program was:" >&5
57429 sed 's/^/| /' conftest.$ac_ext >&5
57430
57431 glibcxx_cv_func_setenv_use=no
57432 fi
57433 rm -f conftest.$ac_objext conftest.$ac_ext
57434       ac_ext=c
57435 ac_cpp='$CPP $CPPFLAGS'
57436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57439
57440
57441 fi
57442
57443   fi
57444   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
57445 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
57446   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
57447
57448 for ac_func in setenv
57449 do
57450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57451 echo "$as_me:$LINENO: checking for $ac_func" >&5
57452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57453 if eval "test \"\${$as_ac_var+set}\" = set"; then
57454   echo $ECHO_N "(cached) $ECHO_C" >&6
57455 else
57456   cat >conftest.$ac_ext <<_ACEOF
57457 #line $LINENO "configure"
57458 /* confdefs.h.  */
57459 _ACEOF
57460 cat confdefs.h >>conftest.$ac_ext
57461 cat >>conftest.$ac_ext <<_ACEOF
57462 /* end confdefs.h.  */
57463 /* System header to define __stub macros and hopefully few prototypes,
57464     which can conflict with char $ac_func (); below.
57465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57466     <limits.h> exists even on freestanding compilers.  */
57467 #ifdef __STDC__
57468 # include <limits.h>
57469 #else
57470 # include <assert.h>
57471 #endif
57472 /* Override any gcc2 internal prototype to avoid an error.  */
57473 #ifdef __cplusplus
57474 extern "C"
57475 {
57476 #endif
57477 /* We use char because int might match the return type of a gcc2
57478    builtin and then its argument prototype would still apply.  */
57479 char $ac_func ();
57480 /* The GNU C library defines this for functions which it implements
57481     to always fail with ENOSYS.  Some functions are actually named
57482     something starting with __ and the normal name is an alias.  */
57483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57484 choke me
57485 #else
57486 char (*f) () = $ac_func;
57487 #endif
57488 #ifdef __cplusplus
57489 }
57490 #endif
57491
57492 int
57493 main ()
57494 {
57495 return f != $ac_func;
57496   ;
57497   return 0;
57498 }
57499 _ACEOF
57500 rm -f conftest.$ac_objext conftest$ac_exeext
57501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57502   (eval $ac_link) 2>&5
57503   ac_status=$?
57504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57505   (exit $ac_status); } &&
57506          { ac_try='test -s conftest$ac_exeext'
57507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57508   (eval $ac_try) 2>&5
57509   ac_status=$?
57510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57511   (exit $ac_status); }; }; then
57512   eval "$as_ac_var=yes"
57513 else
57514   echo "$as_me: failed program was:" >&5
57515 sed 's/^/| /' conftest.$ac_ext >&5
57516
57517 eval "$as_ac_var=no"
57518 fi
57519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57520 fi
57521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57523 if test `eval echo '${'$as_ac_var'}'` = yes; then
57524   cat >>confdefs.h <<_ACEOF
57525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57526 _ACEOF
57527
57528 fi
57529 done
57530
57531   fi
57532
57533   fi
57534
57535   # Export file names for ABI checking.
57536   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
57537
57538
57539   # Determine if checking the ABI is desirable.
57540   if test $enable_symvers = no || test $is_hosted = no; then
57541     enable_abi_check=no
57542   else
57543     case "$host" in
57544       *-*-cygwin*)
57545         enable_abi_check=no ;;
57546       *)
57547         enable_abi_check=yes ;;
57548     esac
57549   fi
57550
57551
57552
57553
57554
57555 # Propagate the target-specific source directories through the build chain.
57556 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
57557 # uses it, and it only gets used in this file.)
57558 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
57559 OS_INC_SRCDIR=config/${os_include_dir}
57560 FPOS_INC_SRCDIR=config/${fpos_include_dir}
57561
57562
57563
57564
57565 # Determine cross-compile flags and AM_CONDITIONALs.
57566 #AC_SUBST(GLIBCXX_IS_NATIVE)
57567 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
57568 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
57569 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
57570
57571
57572 if test $is_hosted = yes; then
57573   GLIBCXX_HOSTED_TRUE=
57574   GLIBCXX_HOSTED_FALSE='#'
57575 else
57576   GLIBCXX_HOSTED_TRUE='#'
57577   GLIBCXX_HOSTED_FALSE=
57578 fi
57579
57580
57581
57582
57583 if test $enable_libstdcxx_pch = yes; then
57584   GLIBCXX_BUILD_PCH_TRUE=
57585   GLIBCXX_BUILD_PCH_FALSE='#'
57586 else
57587   GLIBCXX_BUILD_PCH_TRUE='#'
57588   GLIBCXX_BUILD_PCH_FALSE=
57589 fi
57590
57591
57592
57593
57594 if test $enable_cheaders = c; then
57595   GLIBCXX_C_HEADERS_C_TRUE=
57596   GLIBCXX_C_HEADERS_C_FALSE='#'
57597 else
57598   GLIBCXX_C_HEADERS_C_TRUE='#'
57599   GLIBCXX_C_HEADERS_C_FALSE=
57600 fi
57601
57602
57603
57604
57605 if test $enable_cheaders = c_std; then
57606   GLIBCXX_C_HEADERS_C_STD_TRUE=
57607   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
57608 else
57609   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
57610   GLIBCXX_C_HEADERS_C_STD_FALSE=
57611 fi
57612
57613
57614
57615
57616 if test $c_compatibility = yes; then
57617   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
57618   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
57619 else
57620   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
57621   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
57622 fi
57623
57624
57625
57626
57627 if test $enable_libstdcxx_debug = yes; then
57628   GLIBCXX_BUILD_DEBUG_TRUE=
57629   GLIBCXX_BUILD_DEBUG_FALSE='#'
57630 else
57631   GLIBCXX_BUILD_DEBUG_TRUE='#'
57632   GLIBCXX_BUILD_DEBUG_FALSE=
57633 fi
57634
57635
57636
57637
57638 if test $enable_symvers != no; then
57639   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
57640   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
57641 else
57642   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
57643   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
57644 fi
57645
57646
57647
57648
57649 if test $enable_wchar_t = yes; then
57650   GLIBCXX_TEST_WCHAR_T_TRUE=
57651   GLIBCXX_TEST_WCHAR_T_FALSE='#'
57652 else
57653   GLIBCXX_TEST_WCHAR_T_TRUE='#'
57654   GLIBCXX_TEST_WCHAR_T_FALSE=
57655 fi
57656
57657
57658
57659
57660 if test $enable_abi_check = yes; then
57661   GLIBCXX_TEST_ABI_TRUE=
57662   GLIBCXX_TEST_ABI_FALSE='#'
57663 else
57664   GLIBCXX_TEST_ABI_TRUE='#'
57665   GLIBCXX_TEST_ABI_FALSE=
57666 fi
57667
57668
57669
57670
57671 cat >confcache <<\_ACEOF
57672 # This file is a shell script that caches the results of configure
57673 # tests run on this system so they can be shared between configure
57674 # scripts and configure runs, see configure's option --config-cache.
57675 # It is not useful on other systems.  If it contains results you don't
57676 # want to keep, you may remove or edit it.
57677 #
57678 # config.status only pays attention to the cache file if you give it
57679 # the --recheck option to rerun configure.
57680 #
57681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
57682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57683 # following values.
57684
57685 _ACEOF
57686
57687 # The following way of writing the cache mishandles newlines in values,
57688 # but we know of no workaround that is simple, portable, and efficient.
57689 # So, don't put newlines in cache variables' values.
57690 # Ultrix sh set writes to stderr and can't be redirected directly,
57691 # and sets the high bit in the cache file unless we assign to the vars.
57692 {
57693   (set) 2>&1 |
57694     case `(ac_space=' '; set | grep ac_space) 2>&1` in
57695     *ac_space=\ *)
57696       # `set' does not quote correctly, so add quotes (double-quote
57697       # substitution turns \\\\ into \\, and sed turns \\ into \).
57698       sed -n \
57699         "s/'/'\\\\''/g;
57700           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57701       ;;
57702     *)
57703       # `set' quotes correctly as required by POSIX, so do not add quotes.
57704       sed -n \
57705         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
57706       ;;
57707     esac;
57708 } |
57709   sed '
57710      t clear
57711      : clear
57712      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57713      t end
57714      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57715      : end' >>confcache
57716 if diff $cache_file confcache >/dev/null 2>&1; then :; else
57717   if test -w $cache_file; then
57718     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
57719     cat confcache >$cache_file
57720   else
57721     echo "not updating unwritable cache $cache_file"
57722   fi
57723 fi
57724 rm -f confcache
57725
57726 if test ${multilib} = yes; then
57727   multilib_arg="--enable-multilib"
57728 else
57729   multilib_arg=
57730 fi
57731
57732 # Export all the install information.
57733
57734   glibcxx_toolexecdir=no
57735   glibcxx_toolexeclibdir=no
57736   glibcxx_prefixdir=$prefix
57737
57738   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
57739 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
57740
57741 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
57742 if test "${with_gxx_include_dir+set}" = set; then
57743   withval="$with_gxx_include_dir"
57744   case "$withval" in
57745       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
57746 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
57747    { (exit 1); exit 1; }; } ;;
57748       no)  gxx_include_dir=no ;;
57749       *)   gxx_include_dir=$withval ;;
57750      esac
57751 else
57752   gxx_include_dir=no
57753 fi;
57754   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
57755 echo "${ECHO_T}$gxx_include_dir" >&6
57756
57757   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
57758 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
57759   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
57760 if test "${enable_version_specific_runtime_libs+set}" = set; then
57761   enableval="$enable_version_specific_runtime_libs"
57762   case "$enableval" in
57763       yes) version_specific_libs=yes ;;
57764       no)  version_specific_libs=no ;;
57765       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
57766 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
57767    { (exit 1); exit 1; }; };;
57768      esac
57769 else
57770   version_specific_libs=no
57771 fi;
57772   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
57773 echo "${ECHO_T}$version_specific_libs" >&6
57774
57775   # Default case for install directory for include files.
57776   if test $version_specific_libs = no && test $gxx_include_dir = no; then
57777     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
57778   fi
57779
57780   # Version-specific runtime libs processing.
57781   if test $version_specific_libs = yes; then
57782     # Need the gcc compiler version to know where to install libraries
57783     # and header files if --enable-version-specific-runtime-libs option
57784     # is selected.
57785     if test x"$gxx_include_dir" = x"no"; then
57786       gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
57787     fi
57788     glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
57789     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
57790   fi
57791
57792   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
57793   # Install a library built with a cross compiler in tooldir, not libdir.
57794   if test x"$glibcxx_toolexecdir" = x"no"; then
57795     if test -n "$with_cross_host" &&
57796        test x"$with_cross_host" != x"no"; then
57797       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
57798       glibcxx_toolexeclibdir='${toolexecdir}/lib'
57799     else
57800       glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
57801       glibcxx_toolexeclibdir='${libdir}'
57802     fi
57803     multi_os_directory=`$CXX -print-multi-os-directory`
57804     case $multi_os_directory in
57805       .) ;; # Avoid trailing /.
57806       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
57807     esac
57808   fi
57809
57810   echo "$as_me:$LINENO: checking for install location" >&5
57811 echo $ECHO_N "checking for install location... $ECHO_C" >&6
57812   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
57813 echo "${ECHO_T}$gxx_include_dir" >&6
57814
57815
57816
57817
57818
57819
57820
57821 # Export all the include and flag information to Makefiles.
57822
57823   # Used for every C++ compile we perform.
57824   GLIBCXX_INCLUDES="\
57825 -I$glibcxx_builddir/include/$host_alias \
57826 -I$glibcxx_builddir/include \
57827 -I$glibcxx_srcdir/libsupc++"
57828
57829   # For Canadian crosses, pick this up too.
57830   if test $CANADIAN = yes; then
57831     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES '-I${includedir}'"
57832   fi
57833
57834   # Stuff in the actual top level.  Currently only used by libsupc++ to
57835   # get unwind* headers from the gcc dir.
57836   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
57837   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
57838
57839   # Now, export this to all the little Makefiles....
57840
57841
57842
57843
57844   # Optimization flags that are probably a good idea for thrill-seekers. Just
57845   # uncomment the lines below and make, everything else is ready to go...
57846   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
57847   OPTIMIZE_CXXFLAGS=
57848
57849
57850   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
57851
57852
57853
57854 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
57855    grep "enable shared" > /dev/null;
57856 then
57857   LIBSUPCXX_PICFLAGS=-prefer-pic
57858 else
57859   LIBSUPCXX_PICFLAGS=
57860 fi
57861
57862
57863                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
57864
57865           ac_config_files="$ac_config_files scripts/check_survey"
57866
57867           ac_config_files="$ac_config_files scripts/testsuite_flags"
57868
57869
57870           ac_config_commands="$ac_config_commands default"
57871
57872
57873 cat >confcache <<\_ACEOF
57874 # This file is a shell script that caches the results of configure
57875 # tests run on this system so they can be shared between configure
57876 # scripts and configure runs, see configure's option --config-cache.
57877 # It is not useful on other systems.  If it contains results you don't
57878 # want to keep, you may remove or edit it.
57879 #
57880 # config.status only pays attention to the cache file if you give it
57881 # the --recheck option to rerun configure.
57882 #
57883 # `ac_cv_env_foo' variables (set or unset) will be overridden when
57884 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57885 # following values.
57886
57887 _ACEOF
57888
57889 # The following way of writing the cache mishandles newlines in values,
57890 # but we know of no workaround that is simple, portable, and efficient.
57891 # So, don't put newlines in cache variables' values.
57892 # Ultrix sh set writes to stderr and can't be redirected directly,
57893 # and sets the high bit in the cache file unless we assign to the vars.
57894 {
57895   (set) 2>&1 |
57896     case `(ac_space=' '; set | grep ac_space) 2>&1` in
57897     *ac_space=\ *)
57898       # `set' does not quote correctly, so add quotes (double-quote
57899       # substitution turns \\\\ into \\, and sed turns \\ into \).
57900       sed -n \
57901         "s/'/'\\\\''/g;
57902           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57903       ;;
57904     *)
57905       # `set' quotes correctly as required by POSIX, so do not add quotes.
57906       sed -n \
57907         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
57908       ;;
57909     esac;
57910 } |
57911   sed '
57912      t clear
57913      : clear
57914      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57915      t end
57916      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57917      : end' >>confcache
57918 if diff $cache_file confcache >/dev/null 2>&1; then :; else
57919   if test -w $cache_file; then
57920     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
57921     cat confcache >$cache_file
57922   else
57923     echo "not updating unwritable cache $cache_file"
57924   fi
57925 fi
57926 rm -f confcache
57927
57928 test "x$prefix" = xNONE && prefix=$ac_default_prefix
57929 # Let make expand exec_prefix.
57930 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
57931
57932 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57933 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57934 # trailing colons and then remove the whole line if VPATH becomes empty
57935 # (actually we leave an empty line to preserve line numbers).
57936 if test "x$srcdir" = x.; then
57937   ac_vpsub='/^[         ]*VPATH[        ]*=/{
57938 s/:*\$(srcdir):*/:/;
57939 s/:*\${srcdir}:*/:/;
57940 s/:*@srcdir@:*/:/;
57941 s/^\([^=]*=[    ]*\):*/\1/;
57942 s/:*$//;
57943 s/^[^=]*=[      ]*$//;
57944 }'
57945 fi
57946
57947 DEFS=-DHAVE_CONFIG_H
57948
57949 ac_libobjs=
57950 ac_ltlibobjs=
57951 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
57952   # 1. Remove the extension, and $U if already installed.
57953   ac_i=`echo "$ac_i" |
57954          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
57955   # 2. Add them.
57956   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
57957   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
57958 done
57959 LIBOBJS=$ac_libobjs
57960
57961 LTLIBOBJS=$ac_ltlibobjs
57962
57963
57964 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
57965   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
57966 Usually this means the macro was only invoked conditionally." >&5
57967 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
57968 Usually this means the macro was only invoked conditionally." >&2;}
57969    { (exit 1); exit 1; }; }
57970 fi
57971 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
57972   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
57973 Usually this means the macro was only invoked conditionally." >&5
57974 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
57975 Usually this means the macro was only invoked conditionally." >&2;}
57976    { (exit 1); exit 1; }; }
57977 fi
57978 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
57979   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
57980 Usually this means the macro was only invoked conditionally." >&5
57981 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
57982 Usually this means the macro was only invoked conditionally." >&2;}
57983    { (exit 1); exit 1; }; }
57984 fi
57985 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
57986   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
57987 Usually this means the macro was only invoked conditionally." >&5
57988 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
57989 Usually this means the macro was only invoked conditionally." >&2;}
57990    { (exit 1); exit 1; }; }
57991 fi
57992 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
57993   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
57994 Usually this means the macro was only invoked conditionally." >&5
57995 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
57996 Usually this means the macro was only invoked conditionally." >&2;}
57997    { (exit 1); exit 1; }; }
57998 fi
57999 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
58000   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
58001 Usually this means the macro was only invoked conditionally." >&5
58002 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
58003 Usually this means the macro was only invoked conditionally." >&2;}
58004    { (exit 1); exit 1; }; }
58005 fi
58006 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
58007   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
58008 Usually this means the macro was only invoked conditionally." >&5
58009 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
58010 Usually this means the macro was only invoked conditionally." >&2;}
58011    { (exit 1); exit 1; }; }
58012 fi
58013 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
58014   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
58015 Usually this means the macro was only invoked conditionally." >&5
58016 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
58017 Usually this means the macro was only invoked conditionally." >&2;}
58018    { (exit 1); exit 1; }; }
58019 fi
58020 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
58021   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
58022 Usually this means the macro was only invoked conditionally." >&5
58023 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
58024 Usually this means the macro was only invoked conditionally." >&2;}
58025    { (exit 1); exit 1; }; }
58026 fi
58027 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
58028   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
58029 Usually this means the macro was only invoked conditionally." >&5
58030 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
58031 Usually this means the macro was only invoked conditionally." >&2;}
58032    { (exit 1); exit 1; }; }
58033 fi
58034
58035 : ${CONFIG_STATUS=./config.status}
58036 ac_clean_files_save=$ac_clean_files
58037 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
58038 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
58039 echo "$as_me: creating $CONFIG_STATUS" >&6;}
58040 cat >$CONFIG_STATUS <<_ACEOF
58041 #! $SHELL
58042 # Generated by $as_me.
58043 # Run this file to recreate the current configuration.
58044 # Compiler output produced by configure, useful for debugging
58045 # configure, is in config.log if it exists.
58046
58047 debug=false
58048 ac_cs_recheck=false
58049 ac_cs_silent=false
58050 SHELL=\${CONFIG_SHELL-$SHELL}
58051 _ACEOF
58052
58053 cat >>$CONFIG_STATUS <<\_ACEOF
58054 ## --------------------- ##
58055 ## M4sh Initialization.  ##
58056 ## --------------------- ##
58057
58058 # Be Bourne compatible
58059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
58060   emulate sh
58061   NULLCMD=:
58062   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
58063   # is contrary to our usage.  Disable this feature.
58064   alias -g '${1+"$@"}'='"$@"'
58065 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
58066   set -o posix
58067 fi
58068
58069 # Support unset when possible.
58070 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
58071   as_unset=unset
58072 else
58073   as_unset=false
58074 fi
58075
58076
58077 # Work around bugs in pre-3.0 UWIN ksh.
58078 $as_unset ENV MAIL MAILPATH
58079 PS1='$ '
58080 PS2='> '
58081 PS4='+ '
58082
58083 # NLS nuisances.
58084 for as_var in \
58085   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
58086   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
58087   LC_TELEPHONE LC_TIME
58088 do
58089   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
58090     eval $as_var=C; export $as_var
58091   else
58092     $as_unset $as_var
58093   fi
58094 done
58095
58096 # Required to use basename.
58097 if expr a : '\(a\)' >/dev/null 2>&1; then
58098   as_expr=expr
58099 else
58100   as_expr=false
58101 fi
58102
58103 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58104   as_basename=basename
58105 else
58106   as_basename=false
58107 fi
58108
58109
58110 # Name of the executable.
58111 as_me=`$as_basename "$0" ||
58112 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
58113          X"$0" : 'X\(//\)$' \| \
58114          X"$0" : 'X\(/\)$' \| \
58115          .     : '\(.\)' 2>/dev/null ||
58116 echo X/"$0" |
58117     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
58118           /^X\/\(\/\/\)$/{ s//\1/; q; }
58119           /^X\/\(\/\).*/{ s//\1/; q; }
58120           s/.*/./; q'`
58121
58122
58123 # PATH needs CR, and LINENO needs CR and PATH.
58124 # Avoid depending upon Character Ranges.
58125 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
58126 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58127 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
58128 as_cr_digits='0123456789'
58129 as_cr_alnum=$as_cr_Letters$as_cr_digits
58130
58131 # The user is always right.
58132 if test "${PATH_SEPARATOR+set}" != set; then
58133   echo "#! /bin/sh" >conf$$.sh
58134   echo  "exit 0"   >>conf$$.sh
58135   chmod +x conf$$.sh
58136   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
58137     PATH_SEPARATOR=';'
58138   else
58139     PATH_SEPARATOR=:
58140   fi
58141   rm -f conf$$.sh
58142 fi
58143
58144
58145   as_lineno_1=$LINENO
58146   as_lineno_2=$LINENO
58147   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
58148   test "x$as_lineno_1" != "x$as_lineno_2" &&
58149   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
58150   # Find who we are.  Look in the path if we contain no path at all
58151   # relative or not.
58152   case $0 in
58153     *[\\/]* ) as_myself=$0 ;;
58154     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58155 for as_dir in $PATH
58156 do
58157   IFS=$as_save_IFS
58158   test -z "$as_dir" && as_dir=.
58159   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
58160 done
58161
58162        ;;
58163   esac
58164   # We did not find ourselves, most probably we were run as `sh COMMAND'
58165   # in which case we are not to be found in the path.
58166   if test "x$as_myself" = x; then
58167     as_myself=$0
58168   fi
58169   if test ! -f "$as_myself"; then
58170     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
58171 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
58172    { (exit 1); exit 1; }; }
58173   fi
58174   case $CONFIG_SHELL in
58175   '')
58176     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58177 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
58178 do
58179   IFS=$as_save_IFS
58180   test -z "$as_dir" && as_dir=.
58181   for as_base in sh bash ksh sh5; do
58182          case $as_dir in
58183          /*)
58184            if ("$as_dir/$as_base" -c '
58185   as_lineno_1=$LINENO
58186   as_lineno_2=$LINENO
58187   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
58188   test "x$as_lineno_1" != "x$as_lineno_2" &&
58189   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
58190              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
58191              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
58192              CONFIG_SHELL=$as_dir/$as_base
58193              export CONFIG_SHELL
58194              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
58195            fi;;
58196          esac
58197        done
58198 done
58199 ;;
58200   esac
58201
58202   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
58203   # uniformly replaced by the line number.  The first 'sed' inserts a
58204   # line-number line before each line; the second 'sed' does the real
58205   # work.  The second script uses 'N' to pair each line-number line
58206   # with the numbered line, and appends trailing '-' during
58207   # substitution so that $LINENO is not a special case at line end.
58208   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
58209   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
58210   sed '=' <$as_myself |
58211     sed '
58212       N
58213       s,$,-,
58214       : loop
58215       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
58216       t loop
58217       s,-$,,
58218       s,^['$as_cr_digits']*\n,,
58219     ' >$as_me.lineno &&
58220   chmod +x $as_me.lineno ||
58221     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
58222 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
58223    { (exit 1); exit 1; }; }
58224
58225   # Don't try to exec as it changes $[0], causing all sort of problems
58226   # (the dirname of $[0] is not the place where we might find the
58227   # original and so on.  Autoconf is especially sensible to this).
58228   . ./$as_me.lineno
58229   # Exit status is that of the last command.
58230   exit
58231 }
58232
58233
58234 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
58235   *c*,-n*) ECHO_N= ECHO_C='
58236 ' ECHO_T='      ' ;;
58237   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
58238   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
58239 esac
58240
58241 if expr a : '\(a\)' >/dev/null 2>&1; then
58242   as_expr=expr
58243 else
58244   as_expr=false
58245 fi
58246
58247 rm -f conf$$ conf$$.exe conf$$.file
58248 echo >conf$$.file
58249 if ln -s conf$$.file conf$$ 2>/dev/null; then
58250   # We could just check for DJGPP; but this test a) works b) is more generic
58251   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
58252   if test -f conf$$.exe; then
58253     # Don't use ln at all; we don't have any links
58254     as_ln_s='cp -p'
58255   else
58256     as_ln_s='ln -s'
58257   fi
58258 elif ln conf$$.file conf$$ 2>/dev/null; then
58259   as_ln_s=ln
58260 else
58261   as_ln_s='cp -p'
58262 fi
58263 rm -f conf$$ conf$$.exe conf$$.file
58264
58265 if mkdir -p . 2>/dev/null; then
58266   as_mkdir_p=:
58267 else
58268   as_mkdir_p=false
58269 fi
58270
58271 as_executable_p="test -f"
58272
58273 # Sed expression to map a string onto a valid CPP name.
58274 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
58275
58276 # Sed expression to map a string onto a valid variable name.
58277 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
58278
58279
58280 # IFS
58281 # We need space, tab and new line, in precisely that order.
58282 as_nl='
58283 '
58284 IFS="   $as_nl"
58285
58286 # CDPATH.
58287 $as_unset CDPATH
58288
58289 exec 6>&1
58290
58291 # Open the log real soon, to keep \$[0] and so on meaningful, and to
58292 # report actual input values of CONFIG_FILES etc. instead of their
58293 # values after options handling.  Logging --version etc. is OK.
58294 exec 5>>config.log
58295 {
58296   echo
58297   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
58298 ## Running $as_me. ##
58299 _ASBOX
58300 } >&5
58301 cat >&5 <<_CSEOF
58302
58303 This file was extended by package-unused $as_me version-unused, which was
58304 generated by GNU Autoconf 2.57.  Invocation command line was
58305
58306   CONFIG_FILES    = $CONFIG_FILES
58307   CONFIG_HEADERS  = $CONFIG_HEADERS
58308   CONFIG_LINKS    = $CONFIG_LINKS
58309   CONFIG_COMMANDS = $CONFIG_COMMANDS
58310   $ $0 $@
58311
58312 _CSEOF
58313 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
58314 echo >&5
58315 _ACEOF
58316
58317 # Files that config.status was made for.
58318 if test -n "$ac_config_files"; then
58319   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
58320 fi
58321
58322 if test -n "$ac_config_headers"; then
58323   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
58324 fi
58325
58326 if test -n "$ac_config_links"; then
58327   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
58328 fi
58329
58330 if test -n "$ac_config_commands"; then
58331   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
58332 fi
58333
58334 cat >>$CONFIG_STATUS <<\_ACEOF
58335
58336 ac_cs_usage="\
58337 \`$as_me' instantiates files from templates according to the
58338 current configuration.
58339
58340 Usage: $0 [OPTIONS] [FILE]...
58341
58342   -h, --help       print this help, then exit
58343   -V, --version    print version number, then exit
58344   -q, --quiet      do not print progress messages
58345   -d, --debug      don't remove temporary files
58346       --recheck    update $as_me by reconfiguring in the same conditions
58347   --file=FILE[:TEMPLATE]
58348                    instantiate the configuration file FILE
58349   --header=FILE[:TEMPLATE]
58350                    instantiate the configuration header FILE
58351
58352 Configuration files:
58353 $config_files
58354
58355 Configuration headers:
58356 $config_headers
58357
58358 Configuration commands:
58359 $config_commands
58360
58361 Report bugs to <bug-autoconf@gnu.org>."
58362 _ACEOF
58363
58364 cat >>$CONFIG_STATUS <<_ACEOF
58365 ac_cs_version="\\
58366 package-unused config.status version-unused
58367 configured by $0, generated by GNU Autoconf 2.57,
58368   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
58369
58370 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
58371 Free Software Foundation, Inc.
58372 This config.status script is free software; the Free Software Foundation
58373 gives unlimited permission to copy, distribute and modify it."
58374 srcdir=$srcdir
58375 INSTALL="$INSTALL"
58376 _ACEOF
58377
58378 cat >>$CONFIG_STATUS <<\_ACEOF
58379 # If no file are specified by the user, then we need to provide default
58380 # value.  By we need to know if files were specified by the user.
58381 ac_need_defaults=:
58382 while test $# != 0
58383 do
58384   case $1 in
58385   --*=*)
58386     ac_option=`expr "x$1" : 'x\([^=]*\)='`
58387     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
58388     ac_shift=:
58389     ;;
58390   -*)
58391     ac_option=$1
58392     ac_optarg=$2
58393     ac_shift=shift
58394     ;;
58395   *) # This is not an option, so the user has probably given explicit
58396      # arguments.
58397      ac_option=$1
58398      ac_need_defaults=false;;
58399   esac
58400
58401   case $ac_option in
58402   # Handling of the options.
58403 _ACEOF
58404 cat >>$CONFIG_STATUS <<\_ACEOF
58405   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
58406     ac_cs_recheck=: ;;
58407   --version | --vers* | -V )
58408     echo "$ac_cs_version"; exit 0 ;;
58409   --he | --h)
58410     # Conflict between --help and --header
58411     { { echo "$as_me:$LINENO: error: ambiguous option: $1
58412 Try \`$0 --help' for more information." >&5
58413 echo "$as_me: error: ambiguous option: $1
58414 Try \`$0 --help' for more information." >&2;}
58415    { (exit 1); exit 1; }; };;
58416   --help | --hel | -h )
58417     echo "$ac_cs_usage"; exit 0 ;;
58418   --debug | --d* | -d )
58419     debug=: ;;
58420   --file | --fil | --fi | --f )
58421     $ac_shift
58422     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
58423     ac_need_defaults=false;;
58424   --header | --heade | --head | --hea )
58425     $ac_shift
58426     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
58427     ac_need_defaults=false;;
58428   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
58429   | -silent | --silent | --silen | --sile | --sil | --si | --s)
58430     ac_cs_silent=: ;;
58431
58432   # This is an error.
58433   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
58434 Try \`$0 --help' for more information." >&5
58435 echo "$as_me: error: unrecognized option: $1
58436 Try \`$0 --help' for more information." >&2;}
58437    { (exit 1); exit 1; }; } ;;
58438
58439   *) ac_config_targets="$ac_config_targets $1" ;;
58440
58441   esac
58442   shift
58443 done
58444
58445 ac_configure_extra_args=
58446
58447 if $ac_cs_silent; then
58448   exec 6>/dev/null
58449   ac_configure_extra_args="$ac_configure_extra_args --silent"
58450 fi
58451
58452 _ACEOF
58453 cat >>$CONFIG_STATUS <<_ACEOF
58454 if \$ac_cs_recheck; then
58455   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
58456   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
58457 fi
58458
58459 _ACEOF
58460
58461 cat >>$CONFIG_STATUS <<_ACEOF
58462 #
58463 # INIT-COMMANDS section.
58464 #
58465
58466
58467 srcdir="$srcdir"
58468 host="$host"
58469 target="$target"
58470 with_multisubdir="$with_multisubdir"
58471 with_multisrctop="$with_multisrctop"
58472 with_target_subdir="$with_target_subdir"
58473 ac_configure_args="${multilib_arg} ${ac_configure_args}"
58474 multi_basedir="$multi_basedir"
58475 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
58476 CC="$CC"
58477
58478 # Variables needed in config.status (file generation) which aren't already
58479 # passed by autoconf.
58480 SUBDIRS="$SUBDIRS"
58481
58482
58483 _ACEOF
58484
58485
58486
58487 cat >>$CONFIG_STATUS <<\_ACEOF
58488 for ac_config_target in $ac_config_targets
58489 do
58490   case "$ac_config_target" in
58491   # Handling of arguments.
58492   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
58493   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
58494   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
58495   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
58496   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
58497   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
58498   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
58499   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
58500   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
58501   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
58502   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
58503   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
58504   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
58505 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
58506    { (exit 1); exit 1; }; };;
58507   esac
58508 done
58509
58510 # If the user did not use the arguments to specify the items to instantiate,
58511 # then the envvar interface is used.  Set only those that are not.
58512 # We use the long form for the default assignment because of an extremely
58513 # bizarre bug on SunOS 4.1.3.
58514 if $ac_need_defaults; then
58515   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
58516   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
58517   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
58518 fi
58519
58520 # Have a temporary directory for convenience.  Make it in the build tree
58521 # simply because there is no reason to put it here, and in addition,
58522 # creating and moving files from /tmp can sometimes cause problems.
58523 # Create a temporary directory, and hook for its removal unless debugging.
58524 $debug ||
58525 {
58526   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
58527   trap '{ (exit 1); exit 1; }' 1 2 13 15
58528 }
58529
58530 # Create a (secure) tmp directory for tmp files.
58531
58532 {
58533   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
58534   test -n "$tmp" && test -d "$tmp"
58535 }  ||
58536 {
58537   tmp=./confstat$$-$RANDOM
58538   (umask 077 && mkdir $tmp)
58539 } ||
58540 {
58541    echo "$me: cannot create a temporary directory in ." >&2
58542    { (exit 1); exit 1; }
58543 }
58544
58545 _ACEOF
58546
58547 cat >>$CONFIG_STATUS <<_ACEOF
58548
58549 #
58550 # CONFIG_FILES section.
58551 #
58552
58553 # No need to generate the scripts if there are no CONFIG_FILES.
58554 # This happens for instance when ./config.status config.h
58555 if test -n "\$CONFIG_FILES"; then
58556   # Protect against being on the right side of a sed subst in config.status.
58557   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
58558    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
58559 s,@SHELL@,$SHELL,;t t
58560 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
58561 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
58562 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
58563 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
58564 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
58565 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
58566 s,@exec_prefix@,$exec_prefix,;t t
58567 s,@prefix@,$prefix,;t t
58568 s,@program_transform_name@,$program_transform_name,;t t
58569 s,@bindir@,$bindir,;t t
58570 s,@sbindir@,$sbindir,;t t
58571 s,@libexecdir@,$libexecdir,;t t
58572 s,@datadir@,$datadir,;t t
58573 s,@sysconfdir@,$sysconfdir,;t t
58574 s,@sharedstatedir@,$sharedstatedir,;t t
58575 s,@localstatedir@,$localstatedir,;t t
58576 s,@libdir@,$libdir,;t t
58577 s,@includedir@,$includedir,;t t
58578 s,@oldincludedir@,$oldincludedir,;t t
58579 s,@infodir@,$infodir,;t t
58580 s,@mandir@,$mandir,;t t
58581 s,@build_alias@,$build_alias,;t t
58582 s,@host_alias@,$host_alias,;t t
58583 s,@target_alias@,$target_alias,;t t
58584 s,@DEFS@,$DEFS,;t t
58585 s,@ECHO_C@,$ECHO_C,;t t
58586 s,@ECHO_N@,$ECHO_N,;t t
58587 s,@ECHO_T@,$ECHO_T,;t t
58588 s,@LIBS@,$LIBS,;t t
58589 s,@libtool_VERSION@,$libtool_VERSION,;t t
58590 s,@multi_basedir@,$multi_basedir,;t t
58591 s,@build@,$build,;t t
58592 s,@build_cpu@,$build_cpu,;t t
58593 s,@build_vendor@,$build_vendor,;t t
58594 s,@build_os@,$build_os,;t t
58595 s,@host@,$host,;t t
58596 s,@host_cpu@,$host_cpu,;t t
58597 s,@host_vendor@,$host_vendor,;t t
58598 s,@host_os@,$host_os,;t t
58599 s,@target@,$target,;t t
58600 s,@target_cpu@,$target_cpu,;t t
58601 s,@target_vendor@,$target_vendor,;t t
58602 s,@target_os@,$target_os,;t t
58603 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
58604 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
58605 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
58606 s,@CYGPATH_W@,$CYGPATH_W,;t t
58607 s,@PACKAGE@,$PACKAGE,;t t
58608 s,@VERSION@,$VERSION,;t t
58609 s,@ACLOCAL@,$ACLOCAL,;t t
58610 s,@AUTOCONF@,$AUTOCONF,;t t
58611 s,@AUTOMAKE@,$AUTOMAKE,;t t
58612 s,@AUTOHEADER@,$AUTOHEADER,;t t
58613 s,@MAKEINFO@,$MAKEINFO,;t t
58614 s,@AMTAR@,$AMTAR,;t t
58615 s,@install_sh@,$install_sh,;t t
58616 s,@STRIP@,$STRIP,;t t
58617 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
58618 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
58619 s,@AWK@,$AWK,;t t
58620 s,@SET_MAKE@,$SET_MAKE,;t t
58621 s,@am__leading_dot@,$am__leading_dot,;t t
58622 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
58623 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
58624 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
58625 s,@CC@,$CC,;t t
58626 s,@ac_ct_CC@,$ac_ct_CC,;t t
58627 s,@EXEEXT@,$EXEEXT,;t t
58628 s,@OBJEXT@,$OBJEXT,;t t
58629 s,@CXX@,$CXX,;t t
58630 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
58631 s,@CFLAGS@,$CFLAGS,;t t
58632 s,@CXXFLAGS@,$CXXFLAGS,;t t
58633 s,@LN_S@,$LN_S,;t t
58634 s,@AS@,$AS,;t t
58635 s,@ac_ct_AS@,$ac_ct_AS,;t t
58636 s,@AR@,$AR,;t t
58637 s,@ac_ct_AR@,$ac_ct_AR,;t t
58638 s,@RANLIB@,$RANLIB,;t t
58639 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
58640 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
58641 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
58642 s,@MAINT@,$MAINT,;t t
58643 s,@LIBTOOL@,$LIBTOOL,;t t
58644 s,@CXXCPP@,$CXXCPP,;t t
58645 s,@CPPFLAGS@,$CPPFLAGS,;t t
58646 s,@enable_shared@,$enable_shared,;t t
58647 s,@enable_static@,$enable_static,;t t
58648 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
58649 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
58650 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
58651 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
58652 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
58653 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
58654 s,@CSTDIO_H@,$CSTDIO_H,;t t
58655 s,@FPOS_H@,$FPOS_H,;t t
58656 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
58657 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
58658 s,@CPP@,$CPP,;t t
58659 s,@EGREP@,$EGREP,;t t
58660 s,@check_msgfmt@,$check_msgfmt,;t t
58661 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
58662 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
58663 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
58664 s,@USE_NLS@,$USE_NLS,;t t
58665 s,@CLOCALE_H@,$CLOCALE_H,;t t
58666 s,@CCODECVT_H@,$CCODECVT_H,;t t
58667 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
58668 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
58669 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
58670 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
58671 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
58672 s,@CMONEY_CC@,$CMONEY_CC,;t t
58673 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
58674 s,@CTIME_H@,$CTIME_H,;t t
58675 s,@CTIME_CC@,$CTIME_CC,;t t
58676 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
58677 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
58678 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
58679 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
58680 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
58681 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
58682 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
58683 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
58684 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
58685 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
58686 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
58687 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
58688 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
58689 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
58690 s,@WERROR@,$WERROR,;t t
58691 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
58692 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
58693 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
58694 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
58695 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
58696 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
58697 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
58698 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
58699 s,@baseline_dir@,$baseline_dir,;t t
58700 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
58701 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
58702 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
58703 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
58704 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
58705 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
58706 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
58707 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
58708 s,@gxx_include_dir@,$gxx_include_dir,;t t
58709 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
58710 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
58711 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
58712 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
58713 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
58714 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
58715 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
58716 s,@LIBOBJS@,$LIBOBJS,;t t
58717 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
58718 CEOF
58719
58720 _ACEOF
58721
58722   cat >>$CONFIG_STATUS <<\_ACEOF
58723   # Split the substitutions into bite-sized pieces for seds with
58724   # small command number limits, like on Digital OSF/1 and HP-UX.
58725   ac_max_sed_lines=48
58726   ac_sed_frag=1 # Number of current file.
58727   ac_beg=1 # First line for current file.
58728   ac_end=$ac_max_sed_lines # Line after last line for current file.
58729   ac_more_lines=:
58730   ac_sed_cmds=
58731   while $ac_more_lines; do
58732     if test $ac_beg -gt 1; then
58733       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
58734     else
58735       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
58736     fi
58737     if test ! -s $tmp/subs.frag; then
58738       ac_more_lines=false
58739     else
58740       # The purpose of the label and of the branching condition is to
58741       # speed up the sed processing (if there are no `@' at all, there
58742       # is no need to browse any of the substitutions).
58743       # These are the two extra sed commands mentioned above.
58744       (echo ':t
58745   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
58746       if test -z "$ac_sed_cmds"; then
58747         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
58748       else
58749         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
58750       fi
58751       ac_sed_frag=`expr $ac_sed_frag + 1`
58752       ac_beg=$ac_end
58753       ac_end=`expr $ac_end + $ac_max_sed_lines`
58754     fi
58755   done
58756   if test -z "$ac_sed_cmds"; then
58757     ac_sed_cmds=cat
58758   fi
58759 fi # test -n "$CONFIG_FILES"
58760
58761 _ACEOF
58762 cat >>$CONFIG_STATUS <<\_ACEOF
58763 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
58764   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
58765   case $ac_file in
58766   - | *:- | *:-:* ) # input from stdin
58767         cat >$tmp/stdin
58768         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58769         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58770   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58771         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58772   * )   ac_file_in=$ac_file.in ;;
58773   esac
58774
58775   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
58776   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
58777 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58778          X"$ac_file" : 'X\(//\)[^/]' \| \
58779          X"$ac_file" : 'X\(//\)$' \| \
58780          X"$ac_file" : 'X\(/\)' \| \
58781          .     : '\(.\)' 2>/dev/null ||
58782 echo X"$ac_file" |
58783     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
58784           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
58785           /^X\(\/\/\)$/{ s//\1/; q; }
58786           /^X\(\/\).*/{ s//\1/; q; }
58787           s/.*/./; q'`
58788   { if $as_mkdir_p; then
58789     mkdir -p "$ac_dir"
58790   else
58791     as_dir="$ac_dir"
58792     as_dirs=
58793     while test ! -d "$as_dir"; do
58794       as_dirs="$as_dir $as_dirs"
58795       as_dir=`(dirname "$as_dir") 2>/dev/null ||
58796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58797          X"$as_dir" : 'X\(//\)[^/]' \| \
58798          X"$as_dir" : 'X\(//\)$' \| \
58799          X"$as_dir" : 'X\(/\)' \| \
58800          .     : '\(.\)' 2>/dev/null ||
58801 echo X"$as_dir" |
58802     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
58803           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
58804           /^X\(\/\/\)$/{ s//\1/; q; }
58805           /^X\(\/\).*/{ s//\1/; q; }
58806           s/.*/./; q'`
58807     done
58808     test ! -n "$as_dirs" || mkdir $as_dirs
58809   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
58810 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
58811    { (exit 1); exit 1; }; }; }
58812
58813   ac_builddir=.
58814
58815 if test "$ac_dir" != .; then
58816   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
58817   # A "../" for each directory in $ac_dir_suffix.
58818   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
58819 else
58820   ac_dir_suffix= ac_top_builddir=
58821 fi
58822
58823 case $srcdir in
58824   .)  # No --srcdir option.  We are building in place.
58825     ac_srcdir=.
58826     if test -z "$ac_top_builddir"; then
58827        ac_top_srcdir=.
58828     else
58829        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
58830     fi ;;
58831   [\\/]* | ?:[\\/]* )  # Absolute path.
58832     ac_srcdir=$srcdir$ac_dir_suffix;
58833     ac_top_srcdir=$srcdir ;;
58834   *) # Relative path.
58835     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
58836     ac_top_srcdir=$ac_top_builddir$srcdir ;;
58837 esac
58838 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
58839 # absolute.
58840 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
58841 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
58842 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
58843 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
58844
58845
58846   case $INSTALL in
58847   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
58848   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
58849   esac
58850
58851   if test x"$ac_file" != x-; then
58852     { echo "$as_me:$LINENO: creating $ac_file" >&5
58853 echo "$as_me: creating $ac_file" >&6;}
58854     rm -f "$ac_file"
58855   fi
58856   # Let's still pretend it is `configure' which instantiates (i.e., don't
58857   # use $as_me), people would be surprised to read:
58858   #    /* config.h.  Generated by config.status.  */
58859   if test x"$ac_file" = x-; then
58860     configure_input=
58861   else
58862     configure_input="$ac_file.  "
58863   fi
58864   configure_input=$configure_input"Generated from `echo $ac_file_in |
58865                                      sed 's,.*/,,'` by configure."
58866
58867   # First look for the input files in the build tree, otherwise in the
58868   # src tree.
58869   ac_file_inputs=`IFS=:
58870     for f in $ac_file_in; do
58871       case $f in
58872       -) echo $tmp/stdin ;;
58873       [\\/$]*)
58874          # Absolute (can't be DOS-style, as IFS=:)
58875          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58876 echo "$as_me: error: cannot find input file: $f" >&2;}
58877    { (exit 1); exit 1; }; }
58878          echo $f;;
58879       *) # Relative
58880          if test -f "$f"; then
58881            # Build tree
58882            echo $f
58883          elif test -f "$srcdir/$f"; then
58884            # Source tree
58885            echo $srcdir/$f
58886          else
58887            # /dev/null tree
58888            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58889 echo "$as_me: error: cannot find input file: $f" >&2;}
58890    { (exit 1); exit 1; }; }
58891          fi;;
58892       esac
58893     done` || { (exit 1); exit 1; }
58894 _ACEOF
58895 cat >>$CONFIG_STATUS <<_ACEOF
58896   sed "$ac_vpsub
58897 $extrasub
58898 _ACEOF
58899 cat >>$CONFIG_STATUS <<\_ACEOF
58900 :t
58901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58902 s,@configure_input@,$configure_input,;t t
58903 s,@srcdir@,$ac_srcdir,;t t
58904 s,@abs_srcdir@,$ac_abs_srcdir,;t t
58905 s,@top_srcdir@,$ac_top_srcdir,;t t
58906 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
58907 s,@builddir@,$ac_builddir,;t t
58908 s,@abs_builddir@,$ac_abs_builddir,;t t
58909 s,@top_builddir@,$ac_top_builddir,;t t
58910 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
58911 s,@INSTALL@,$ac_INSTALL,;t t
58912 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
58913   rm -f $tmp/stdin
58914   if test x"$ac_file" != x-; then
58915     mv $tmp/out $ac_file
58916   else
58917     cat $tmp/out
58918     rm -f $tmp/out
58919   fi
58920
58921   # Run the commands associated with the file.
58922   case $ac_file in
58923     scripts/check_survey ) chmod +x scripts/check_survey ;;
58924     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
58925   esac
58926 done
58927 _ACEOF
58928 cat >>$CONFIG_STATUS <<\_ACEOF
58929
58930 #
58931 # CONFIG_HEADER section.
58932 #
58933
58934 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
58935 # NAME is the cpp macro being defined and VALUE is the value it is being given.
58936 #
58937 # ac_d sets the value in "#define NAME VALUE" lines.
58938 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
58939 ac_dB='[        ].*$,\1#\2'
58940 ac_dC=' '
58941 ac_dD=',;t'
58942 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
58943 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
58944 ac_uB='$,\1#\2define\3'
58945 ac_uC=' '
58946 ac_uD=',;t'
58947
58948 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
58949   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
58950   case $ac_file in
58951   - | *:- | *:-:* ) # input from stdin
58952         cat >$tmp/stdin
58953         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58954         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58955   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
58956         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
58957   * )   ac_file_in=$ac_file.in ;;
58958   esac
58959
58960   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
58961 echo "$as_me: creating $ac_file" >&6;}
58962
58963   # First look for the input files in the build tree, otherwise in the
58964   # src tree.
58965   ac_file_inputs=`IFS=:
58966     for f in $ac_file_in; do
58967       case $f in
58968       -) echo $tmp/stdin ;;
58969       [\\/$]*)
58970          # Absolute (can't be DOS-style, as IFS=:)
58971          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58972 echo "$as_me: error: cannot find input file: $f" >&2;}
58973    { (exit 1); exit 1; }; }
58974          echo $f;;
58975       *) # Relative
58976          if test -f "$f"; then
58977            # Build tree
58978            echo $f
58979          elif test -f "$srcdir/$f"; then
58980            # Source tree
58981            echo $srcdir/$f
58982          else
58983            # /dev/null tree
58984            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
58985 echo "$as_me: error: cannot find input file: $f" >&2;}
58986    { (exit 1); exit 1; }; }
58987          fi;;
58988       esac
58989     done` || { (exit 1); exit 1; }
58990   # Remove the trailing spaces.
58991   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
58992
58993 _ACEOF
58994
58995 # Transform confdefs.h into two sed scripts, `conftest.defines' and
58996 # `conftest.undefs', that substitutes the proper values into
58997 # config.h.in to produce config.h.  The first handles `#define'
58998 # templates, and the second `#undef' templates.
58999 # And first: Protect against being on the right side of a sed subst in
59000 # config.status.  Protect against being in an unquoted here document
59001 # in config.status.
59002 rm -f conftest.defines conftest.undefs
59003 # Using a here document instead of a string reduces the quoting nightmare.
59004 # Putting comments in sed scripts is not portable.
59005 #
59006 # `end' is used to avoid that the second main sed command (meant for
59007 # 0-ary CPP macros) applies to n-ary macro definitions.
59008 # See the Autoconf documentation for `clear'.
59009 cat >confdef2sed.sed <<\_ACEOF
59010 s/[\\&,]/\\&/g
59011 s,[\\$`],\\&,g
59012 t clear
59013 : clear
59014 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
59015 t end
59016 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
59017 : end
59018 _ACEOF
59019 # If some macros were called several times there might be several times
59020 # the same #defines, which is useless.  Nevertheless, we may not want to
59021 # sort them, since we want the *last* AC-DEFINE to be honored.
59022 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
59023 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
59024 rm -f confdef2sed.sed
59025
59026 # This sed command replaces #undef with comments.  This is necessary, for
59027 # example, in the case of _POSIX_SOURCE, which is predefined and required
59028 # on some systems where configure will not decide to define it.
59029 cat >>conftest.undefs <<\_ACEOF
59030 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
59031 _ACEOF
59032
59033 # Break up conftest.defines because some shells have a limit on the size
59034 # of here documents, and old seds have small limits too (100 cmds).
59035 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
59036 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
59037 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
59038 echo '  :' >>$CONFIG_STATUS
59039 rm -f conftest.tail
59040 while grep . conftest.defines >/dev/null
59041 do
59042   # Write a limited-size here document to $tmp/defines.sed.
59043   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
59044   # Speed up: don't consider the non `#define' lines.
59045   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
59046   # Work around the forget-to-reset-the-flag bug.
59047   echo 't clr' >>$CONFIG_STATUS
59048   echo ': clr' >>$CONFIG_STATUS
59049   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
59050   echo 'CEOF
59051   sed -f $tmp/defines.sed $tmp/in >$tmp/out
59052   rm -f $tmp/in
59053   mv $tmp/out $tmp/in
59054 ' >>$CONFIG_STATUS
59055   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
59056   rm -f conftest.defines
59057   mv conftest.tail conftest.defines
59058 done
59059 rm -f conftest.defines
59060 echo '  fi # grep' >>$CONFIG_STATUS
59061 echo >>$CONFIG_STATUS
59062
59063 # Break up conftest.undefs because some shells have a limit on the size
59064 # of here documents, and old seds have small limits too (100 cmds).
59065 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
59066 rm -f conftest.tail
59067 while grep . conftest.undefs >/dev/null
59068 do
59069   # Write a limited-size here document to $tmp/undefs.sed.
59070   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
59071   # Speed up: don't consider the non `#undef'
59072   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
59073   # Work around the forget-to-reset-the-flag bug.
59074   echo 't clr' >>$CONFIG_STATUS
59075   echo ': clr' >>$CONFIG_STATUS
59076   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
59077   echo 'CEOF
59078   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
59079   rm -f $tmp/in
59080   mv $tmp/out $tmp/in
59081 ' >>$CONFIG_STATUS
59082   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
59083   rm -f conftest.undefs
59084   mv conftest.tail conftest.undefs
59085 done
59086 rm -f conftest.undefs
59087
59088 cat >>$CONFIG_STATUS <<\_ACEOF
59089   # Let's still pretend it is `configure' which instantiates (i.e., don't
59090   # use $as_me), people would be surprised to read:
59091   #    /* config.h.  Generated by config.status.  */
59092   if test x"$ac_file" = x-; then
59093     echo "/* Generated by configure.  */" >$tmp/config.h
59094   else
59095     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
59096   fi
59097   cat $tmp/in >>$tmp/config.h
59098   rm -f $tmp/in
59099   if test x"$ac_file" != x-; then
59100     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
59101       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
59102 echo "$as_me: $ac_file is unchanged" >&6;}
59103     else
59104       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
59105 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59106          X"$ac_file" : 'X\(//\)[^/]' \| \
59107          X"$ac_file" : 'X\(//\)$' \| \
59108          X"$ac_file" : 'X\(/\)' \| \
59109          .     : '\(.\)' 2>/dev/null ||
59110 echo X"$ac_file" |
59111     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59112           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59113           /^X\(\/\/\)$/{ s//\1/; q; }
59114           /^X\(\/\).*/{ s//\1/; q; }
59115           s/.*/./; q'`
59116       { if $as_mkdir_p; then
59117     mkdir -p "$ac_dir"
59118   else
59119     as_dir="$ac_dir"
59120     as_dirs=
59121     while test ! -d "$as_dir"; do
59122       as_dirs="$as_dir $as_dirs"
59123       as_dir=`(dirname "$as_dir") 2>/dev/null ||
59124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59125          X"$as_dir" : 'X\(//\)[^/]' \| \
59126          X"$as_dir" : 'X\(//\)$' \| \
59127          X"$as_dir" : 'X\(/\)' \| \
59128          .     : '\(.\)' 2>/dev/null ||
59129 echo X"$as_dir" |
59130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59131           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59132           /^X\(\/\/\)$/{ s//\1/; q; }
59133           /^X\(\/\).*/{ s//\1/; q; }
59134           s/.*/./; q'`
59135     done
59136     test ! -n "$as_dirs" || mkdir $as_dirs
59137   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
59138 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
59139    { (exit 1); exit 1; }; }; }
59140
59141       rm -f $ac_file
59142       mv $tmp/config.h $ac_file
59143     fi
59144   else
59145     cat $tmp/config.h
59146     rm -f $tmp/config.h
59147   fi
59148 # Compute $ac_file's index in $config_headers.
59149 _am_stamp_count=1
59150 for _am_header in $config_headers :; do
59151   case $_am_header in
59152     $ac_file | $ac_file:* )
59153       break ;;
59154     * )
59155       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
59156   esac
59157 done
59158 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
59159 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59160          X$ac_file : 'X\(//\)[^/]' \| \
59161          X$ac_file : 'X\(//\)$' \| \
59162          X$ac_file : 'X\(/\)' \| \
59163          .     : '\(.\)' 2>/dev/null ||
59164 echo X$ac_file |
59165     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59166           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59167           /^X\(\/\/\)$/{ s//\1/; q; }
59168           /^X\(\/\).*/{ s//\1/; q; }
59169           s/.*/./; q'`/stamp-h$_am_stamp_count
59170 done
59171 _ACEOF
59172 cat >>$CONFIG_STATUS <<\_ACEOF
59173
59174 #
59175 # CONFIG_COMMANDS section.
59176 #
59177 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
59178   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
59179   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
59180   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
59181 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59182          X"$ac_dest" : 'X\(//\)[^/]' \| \
59183          X"$ac_dest" : 'X\(//\)$' \| \
59184          X"$ac_dest" : 'X\(/\)' \| \
59185          .     : '\(.\)' 2>/dev/null ||
59186 echo X"$ac_dest" |
59187     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59188           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59189           /^X\(\/\/\)$/{ s//\1/; q; }
59190           /^X\(\/\).*/{ s//\1/; q; }
59191           s/.*/./; q'`
59192   ac_builddir=.
59193
59194 if test "$ac_dir" != .; then
59195   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
59196   # A "../" for each directory in $ac_dir_suffix.
59197   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
59198 else
59199   ac_dir_suffix= ac_top_builddir=
59200 fi
59201
59202 case $srcdir in
59203   .)  # No --srcdir option.  We are building in place.
59204     ac_srcdir=.
59205     if test -z "$ac_top_builddir"; then
59206        ac_top_srcdir=.
59207     else
59208        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
59209     fi ;;
59210   [\\/]* | ?:[\\/]* )  # Absolute path.
59211     ac_srcdir=$srcdir$ac_dir_suffix;
59212     ac_top_srcdir=$srcdir ;;
59213   *) # Relative path.
59214     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
59215     ac_top_srcdir=$ac_top_builddir$srcdir ;;
59216 esac
59217 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
59218 # absolute.
59219 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
59220 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
59221 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
59222 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
59223
59224
59225   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
59226 echo "$as_me: executing $ac_dest commands" >&6;}
59227   case $ac_dest in
59228     default-1 )
59229 # Only add multilib support code if we just rebuilt the top-level
59230 # Makefile.
59231 case " $CONFIG_FILES " in
59232  *" Makefile "*)
59233    ac_file=Makefile . ${multi_basedir}/config-ml.in
59234    ;;
59235 esac ;;
59236     default ) if test -n "$CONFIG_FILES"; then
59237    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59238    # that multilib installs will end up installed in the correct place.
59239    # The testsuite needs it for multilib-aware ABI baseline files.
59240    # To work around this not being passed down from config-ml.in ->
59241    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59242    # append it here.  Only modify Makefiles that have just been created.
59243    #
59244    # Also, get rid of this simulated-VPATH thing that automake does.
59245    cat > vpsed << \_EOF
59246 s!`test -f '$<' || echo '$(srcdir)/'`!!
59247 _EOF
59248    for i in $SUBDIRS; do
59249     case $CONFIG_FILES in
59250      *${i}/Makefile*)
59251        #echo "Adding MULTISUBDIR to $i/Makefile"
59252        sed -f vpsed $i/Makefile > tmp
59253        grep '^MULTISUBDIR =' Makefile >> tmp
59254        mv tmp $i/Makefile
59255        ;;
59256     esac
59257    done
59258    rm vpsed
59259  fi
59260  (cd include && ${MAKE-make})
59261  ;;
59262   esac
59263 done
59264 _ACEOF
59265
59266 cat >>$CONFIG_STATUS <<\_ACEOF
59267
59268 { (exit 0); exit 0; }
59269 _ACEOF
59270 chmod +x $CONFIG_STATUS
59271 ac_clean_files=$ac_clean_files_save
59272
59273
59274 # configure is writing to config.log, and then calls config.status.
59275 # config.status does its own redirection, appending to config.log.
59276 # Unfortunately, on DOS this fails, as config.log is still kept open
59277 # by configure, so config.status won't be able to write to it; its
59278 # output is simply discarded.  So we exec the FD to /dev/null,
59279 # effectively closing config.log, so it can be properly (re)opened and
59280 # appended to by config.status.  When coming back to configure, we
59281 # need to make the FD available again.
59282 if test "$no_create" != yes; then
59283   ac_cs_success=:
59284   ac_config_status_args=
59285   test "$silent" = yes &&
59286     ac_config_status_args="$ac_config_status_args --quiet"
59287   exec 5>/dev/null
59288   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
59289   exec 5>>config.log
59290   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
59291   # would make configure fail if this is the last instruction.
59292   $ac_cs_success || { (exit 1); exit 1; }
59293 fi
59294